Vojtech Bocek
d0e38bc2f4
Load RTC offset on Qualcomm Krait chips, fixes the broken time & date
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
2014-02-04 18:27:05 +01:00
Dees Troy
8d0eb1361e
Improve SELinux support check
...
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-19 19:06:06 +01:00
bigbiff bigbiff
34684ff313
Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.
...
Moved Get_Folder_Size to this new class.
Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
2013-12-19 18:02:44 +00:00
Dees Troy
995e88cfbe
Add check during boot for SELinux support
...
Change-Id: Ib02867c403d1baa665dfb1d4f3137204e64a813c
2013-11-26 21:39:14 +00:00
Kevin Steck
7b69e9d111
Skip the = or \n before grabbing Zip_File.
...
Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
2013-10-22 14:03:30 +00:00
bigbiff bigbiff
c49d706903
fix getting and setting contexts in selinux
...
recreate lost+found with selinux contexts
Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-10-17 16:49:49 +00:00
Vojtech Bocek
05534209f1
Add TWFunc::Exec_Cmd() with no 'result' agrument
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12 15:36:40 +00:00
Dees Troy
f193f88e6d
Make fixing su perms automatic
...
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-12 09:11:32 -05:00
Dees Troy
b21cc64ca8
Pull ROM info from build.prop for backup names
...
Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
2013-09-12 09:11:13 -05:00
Dees_Troy
1669f89dd2
Update to latest AOSP master
...
Merge in latest commits from AOSP master and fix merge conflicts
2013-09-04 19:00:58 +00:00
Dees_Troy
329383e593
Use twrp.fstab if present
2013-08-29 14:16:06 +00:00
Vojtech Bocek
fafb0c541b
Unify indentation and little clean-up in TWRP files
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-08-24 07:56:48 -05:00
Dees_Troy
a95f55c3ef
Add SELinux support
...
Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
2013-08-24 07:42:30 -05:00
Dees_Troy
a449a6f504
Fix handling of AOSP recovery commands
2013-04-07 17:53:34 -05:00
Dees_Troy
91862e618e
Fix handling of subpartitions
2013-04-04 23:48:21 +00:00
Dees_Troy
2673cec07a
Move all AOSP code out of recovery binary
...
Improves license compatibility between GPL and Apache
Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-04-04 18:57:34 +00:00