summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-12Remove unused functionsEthan Yonker1-1/+0
Change-Id: I3230412e6aad7aab0f2fd034cc7b289cd4cd6a97
2014-02-12ifdef some functions that depend on other TWRP partsEthan Yonker1-8/+13
End goal is to create a twrpTar binary that can run from the command line. Change-Id: I14f07a425b7755bd09dbce95a5918da1430964fc
2014-02-08Separate out function for reading /system/build.prop valuesEthan Yonker1-0/+1
Change-Id: I9e398aa3f4f5be0728435ffdab333d4090cdab22
2014-02-06Add option to print render time of each frame to log fileVojtech Bocek1-0/+1
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id158a6375fbadf4cdf0a8c7d143759e602419e7f
2014-02-04Load RTC offset on Qualcomm Krait chips, fixes the broken time & dateVojtech Bocek1-0/+1
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
2013-12-19Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.bigbiff bigbiff1-1/+0
Moved Get_Folder_Size to this new class. Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
2013-10-24Update licenses to all matchDees Troy1-0/+18
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy1-0/+18
2013-09-12Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek1-1/+2
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12Pull ROM info from build.prop for backup namesDees Troy1-0/+2
Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
2013-08-30Really fix TWFunc::tw_chmod() for 3-character mode stringVojtech Bocek1-1/+1
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I8f03d46235e1c71e8ee510309c9418cde802f50b
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-6/+6
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-06-22Support encrypted backup filesDees_Troy1-0/+5
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-3/+6
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-03-07use md5.c for computation of md5sumsbigbiff bigbiff1-1/+1
create a framework for computing digests and reading digests in TWRP add space for backwards compatibility with bb md5sum Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
2013-02-21Check for root and root perms and offer to install/fixDees_Troy1-54/+58
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-50/+54
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-02Use only std::string in TWFunc::Get_Folder_SizeVojtech Bocek1-1/+1
* Fixes crash which could occur with too deep path because of too much memory allocated on stack
2013-01-28file manager updates for exFATDees_Troy1-0/+1
Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-0/+3
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-10-01Fix output of version numberDees_Troy1-1/+0
2012-09-27Save version number to storageDees_Troy1-3/+4
2012-09-27Port reboot functions to C++Dees_Troy1-0/+17
2012-09-26Add backup size checkingDees_Troy1-0/+1
Converted bootloader.cpp to TWRP and removed AOSP fstab parsing from startup
2012-09-26Unify portrait layouts againDees_Troy1-0/+2
2012-09-17Update backup and restore code, adb sideloadDees_Troy1-6/+9
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/+23
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