summaryrefslogtreecommitdiffstats
path: root/twrp.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve SELinux support checkDees Troy2013-12-191-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
* Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.bigbiff bigbiff2013-12-191-13/+14
| | | | | | Moved Get_Folder_Size to this new class. Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
* Add check during boot for SELinux supportDees Troy2013-11-261-0/+12
| | | | Change-Id: Ib02867c403d1baa665dfb1d4f3137204e64a813c
* Skip the = or \n before grabbing Zip_File.Kevin Steck2013-10-221-0/+3
| | | | Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
* fix getting and setting contexts in selinuxbigbiff bigbiff2013-10-171-1/+9
| | | | | | recreate lost+found with selinux contexts Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
* Add TWFunc::Exec_Cmd() with no 'result' agrumentVojtech Bocek2013-09-121-3/+2
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
* Make fixing su perms automaticDees Troy2013-09-121-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
* Pull ROM info from build.prop for backup namesDees Troy2013-09-121-1/+1
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Update to latest AOSP masterDees_Troy2013-09-041-0/+12
| | | | Merge in latest commits from AOSP master and fix merge conflicts
* Use twrp.fstab if presentDees_Troy2013-08-291-0/+8
|
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-6/+6
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Add SELinux supportDees_Troy2013-08-241-0/+16
| | | | Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
* Fix handling of AOSP recovery commandsDees_Troy2013-04-081-241/+252
|
* Fix handling of subpartitionsDees_Troy2013-04-051-1/+1
|
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-0/+241
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0