summaryrefslogtreecommitdiffstats
path: root/twrp-functions.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-22Support encrypted backup filesDees_Troy1-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
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-128/+106
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-03-07use md5.c for computation of md5sumsbigbiff bigbiff1-43/+15
create a framework for computing digests and reading digests in TWRP add space for backwards compatibility with bb md5sum Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
2013-02-27fixes for fakeflash zipsjt11341-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
2013-02-22Fix compiling on CM7Dees_Troy1-1/+5
2013-02-21Check for root and root perms and offer to install/fixDees_Troy1-62/+265
Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
2013-02-13This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff1-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
2013-02-07Add write buffer for tar writesDees_Troy1-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
2013-02-02Use only std::string in TWFunc::Get_Folder_SizeVojtech Bocek1-14/+5
* Fixes crash which could occur with too deep path because of too much memory allocated on stack
2013-02-01Fix fail over to vfat from exfatDees_Troy1-2/+1
Fix issues with MD5 checking using chdir and leaving the working dir in a subfolder that prevented unmounting sometimes. Change-Id: I01a563d722f474297ed3f7a30064c3a61748ade3
2013-01-28exFAT improvements, fixesDees_Troy1-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
2013-01-28file manager updates for exFATDees_Troy1-0/+21
Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
2013-01-20Remove sockets and FIFOS when removing filesbigbiff bigbiff1-1/+1
2013-01-09Fix wiping problems and save ecrypt keyDees_Troy1-26/+26
Fix problems with the wiping of data/media devices Save and restore the ecryptfs key for external sdcard on Samsung encrypted devices.
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-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
2012-12-20Increase array size to fix crashes on some devicesDees_Troy1-1/+1
2012-10-01Fix output of version numberDees_Troy1-25/+0
2012-09-28Fix compiler warningsDees_Troy1-1/+1
2012-09-27Save version number to storageDees_Troy1-0/+26
2012-09-27Port reboot functions to C++Dees_Troy1-0/+128
2012-09-26Add backup size checkingDees_Troy1-2/+10
Converted bootloader.cpp to TWRP and removed AOSP fstab parsing from startup
2012-09-26Unify portrait layouts againDees_Troy1-0/+23
2012-09-20Fix fstab and unmount problemsDees_Troy1-4/+3
Fix a problem parsing some recovery.fstab files. Fixed a problem with MD5 checking that prevented unmounting after md5 checking.
2012-09-18Cleanup extra-functionsDees_Troy1-19/+14
2012-09-17Update backup and restore code, adb sideloadDees_Troy1-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.
2012-09-14Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy1-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