summaryrefslogtreecommitdiffstats
path: root/twrp.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-11Run TWFunc::Fixup_Time_On_Boot() before OpenRecoveryScriptVojtech Bocek1-2/+4
* Fixes possible issues with names of backups made with ORS Change-Id: If8da1b3abb0960e527bb0eb3dd8a04d184aaea4d Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2014-02-04Load RTC offset on Qualcomm Krait chips, fixes the broken time & dateVojtech Bocek1-0/+3
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
2013-12-19Improve SELinux support checkDees Troy1-1/+11
If the kernel does not use SELinux security then the ramdisk contents will not have contexts set on the files, however we may still have everything we need in recovery if the kernel supports EXT4 security labels, so we try to check /cache/recovery if it exists first. Change-Id: I96a4ae16418e07b0a2e83cd56e19893898d0b394
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-13/+14
Moved Get_Folder_Size to this new class. Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
2013-11-26Add check during boot for SELinux supportDees Troy1-0/+12
Change-Id: Ib02867c403d1baa665dfb1d4f3137204e64a813c
2013-10-24Skip the = or \n before grabbing Zip_File.android-4.3Kevin Steck1-0/+3
Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
2013-10-23fix getting and setting contexts in selinuxbigbiff bigbiff1-1/+9
recreate lost+found with selinux contexts Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-10-22Skip the = or \n before grabbing Zip_File.Kevin Steck1-0/+3
Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
2013-10-17fix getting and setting contexts in selinuxbigbiff bigbiff1-1/+9
recreate lost+found with selinux contexts Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-09-12Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek1-3/+2
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12Make fixing su perms automaticDees Troy1-5/+3
In 4.3+ with SELinux, su perms will be lost on every reboot so users will get the prompt to fix su perms in TWRP every time. Make fixing the su perms automatic instead of nagging the user. Change-Id: Ia8a2652018db5e1f6ffc5fec2a4ac0db3a8f32bb
2013-09-12Pull ROM info from build.prop for backup namesDees Troy1-1/+1
Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
2013-08-29Use twrp.fstab if presentDees_Troy1-0/+8
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-6/+6
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-08-24Add SELinux supportDees_Troy1-0/+16
Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
2013-04-08Fix handling of AOSP recovery commandsDees_Troy1-241/+252
2013-04-05Fix handling of subpartitionsDees_Troy1-1/+1
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-0/+241
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0