summaryrefslogtreecommitdiffstats
path: root/twrp-functions.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Really fix TWFunc::tw_chmod() for 3-character mode stringVojtech Bocek2013-08-301-32/+41
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I8f03d46235e1c71e8ee510309c9418cde802f50b
* Update SuperSU for 4.3 SELinux, 2.6.1.0Dees_Troy2013-08-301-0/+62
| | | | Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
* ignore lost+found in all the placesbigbiff bigbiff2013-08-281-1/+1
|
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-14/+15
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Fix TWFunc::tw_chmod() for 3-character mode stringVojtech Bocek2013-08-241-1/+2
|
* Revert "Rewrite TWFunc::Exec_Cmd() to use pipe() instead of popen()"Dees_Troy2013-08-241-43/+12
| | | | | This reverts commit c5754cf9355056ee5f2aebaa15a47b62c5cbeb42. popen already uses fork and pipe and __popen works on more devices.
* Rewrite TWFunc::Exec_Cmd() to use pipe() instead of popen()Vojtech Bocek2013-07-031-12/+43
| | | | * popen causes crashes on some devices
* Support encrypted backup filesDees_Troy2013-06-221-0/+199
| | | | | | | | | | | | | | | Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-128/+106
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* use md5.c for computation of md5sumsbigbiff bigbiff2013-03-071-43/+15
| | | | | | create a framework for computing digests and reading digests in TWRP add space for backwards compatibility with bb md5sum Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
* fixes for fakeflash zipsjt11342013-02-271-2/+2
| | | | | | | | For some reason fakeflash doesn't like to have superuser/su in /res, move it to its own subdir in /supersu. This allows a fakeflash zip built with 'make recoveryzip' to work correctly. Change-Id: I32e2e0f6dba55281d5c917e931c3ef0034964bcb
* Fix compiling on CM7Dees_Troy2013-02-221-1/+5
|
* Check for root and root perms and offer to install/fixDees_Troy2013-02-211-62/+265
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff2013-02-131-0/+49
| | | | | | | | | | | | | | | Will also set overlay to lockscreen so we don't have inadvetent screen selections. Touching the screen will bring the display back up. add back check script for poweroff move diff time function to twrp-functions.cpp make sure we chmod after copy_file add read_file and write_file functions to twrp-functions.cpp make single thread try to force update screen add forceRender drop caches after tar processing Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b
* Add write buffer for tar writesDees_Troy2013-02-071-4/+4
| | | | | | | update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96
* Use only std::string in TWFunc::Get_Folder_SizeVojtech Bocek2013-02-021-14/+5
| | | | | * Fixes crash which could occur with too deep path because of too much memory allocated on stack
* Fix fail over to vfat from exfatDees_Troy2013-02-011-2/+1
| | | | | | | Fix issues with MD5 checking using chdir and leaving the working dir in a subfolder that prevented unmounting sometimes. Change-Id: I01a563d722f474297ed3f7a30064c3a61748ade3
* exFAT improvements, fixesDees_Troy2013-01-281-4/+12
| | | | | | | | | Move Exec_Cmd to libcrecovery __popen Provide opt out build flag for exFAT Default fstype to exfat on external storage if exfat support is present and fstype is vfat or auto Fix invalid unmount errors Improve handling of unencrypted sdcards on Samsung devices
* file manager updates for exFATDees_Troy2013-01-281-0/+21
| | | | Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
* Remove sockets and FIFOS when removing filesbigbiff bigbiff2013-01-201-1/+1
|
* Fix wiping problems and save ecrypt keyDees_Troy2013-01-091-26/+26
| | | | | | Fix problems with the wiping of data/media devices Save and restore the ecryptfs key for external sdcard on Samsung encrypted devices.
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-70/+136
| | | | | | | Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
* Increase array size to fix crashes on some devicesDees_Troy2012-12-201-1/+1
|
* Fix output of version numberDees_Troy2012-10-011-25/+0
|
* Fix compiler warningsDees_Troy2012-09-281-1/+1
|
* Save version number to storageDees_Troy2012-09-271-0/+26
|
* Port reboot functions to C++Dees_Troy2012-09-271-0/+128
|
* Add backup size checkingDees_Troy2012-09-261-2/+10
| | | | | Converted bootloader.cpp to TWRP and removed AOSP fstab parsing from startup
* Unify portrait layouts againDees_Troy2012-09-261-0/+23
|
* Fix fstab and unmount problemsDees_Troy2012-09-201-4/+3
| | | | | | Fix a problem parsing some recovery.fstab files. Fixed a problem with MD5 checking that prevented unmounting after md5 checking.
* Cleanup extra-functionsDees_Troy2012-09-181-19/+14
|
* Update backup and restore code, adb sideloadDees_Troy2012-09-171-0/+71
| | | | | | | Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code.
* Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy2012-09-141-0/+164
Zip install works, had to move mincrypt code into TWRP to prevent a crash when checking the zip signature. Added wipe functions Made it compile in CM7 Made text show up in console and logging