Dees Troy
0cd27a85bc
Clean up init.rc
2013-10-18 17:10:12 +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
Dees Troy
0241670122
Merge "Ensure root folders get added in split archives" into twrp2.7
2013-10-17 11:45:09 -05:00
Dees Troy
c01ed9e9e2
Merge "Add toolbox_recovery rules" into twrp2.7
2013-10-17 11:44:11 -05:00
Dees Troy
e6ddddca76
Merge "Add conditions support to GUIImage" into twrp2.7
2013-10-17 11:43:44 -05:00
Dees Troy
ed40077534
Ensure root folders get added in split archives
...
Make sure that we add the root folder itself to get the perms and
SELinux contexts before splitting to a second archive.
Change-Id: Id93a9f9b4767b61bba38eb0cf7306c81a8540a3c
2013-10-17 11:42:05 -05:00
Dees Troy
a829d5deb2
Remove trailing spaces on auto generated backup names
...
Trailing spaces sometimes cause folder creation depending on what
file system is in use (e.g. vfat).
2013-10-17 00:26:34 +00:00
Dees Troy
8d66f8bda9
Add toolbox_recovery rules
...
Build special limited toolbox with SELinux tools for recovery
Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2
2013-10-16 19:46:29 +00:00
Vojtech Bocek
6041a78f8f
Add conditions support to GUIImage
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-10-11 14:41:39 +02:00
Dees Troy
7e176dab1b
Merge "check for space after = too" into twrp2.7
2013-10-01 10:34:50 -05:00
Dees Troy
0221bd9c4d
Merge "Improvements to Update_Log_File" into twrp2.7
2013-10-01 10:34:15 -05:00
Dees Troy
e34c9070a5
Merge "Fix checking for file_contexts in updater" into twrp2.7
2013-10-01 10:24:08 -05:00
Dees Troy
d29b3361f0
Fix checking for file_contexts in updater
2013-10-01 15:21:12 +00:00
Dees Troy
9d7fdf5274
Improvements to Update_Log_File
...
Change-Id: I5596759b0cb39e4448b6be382f9224feed70a5ea
2013-09-19 20:52:45 +00:00
bigbiff bigbiff
a6c5f4e633
check for space after = too
2013-09-17 20:01:14 -04:00
Dees Troy
fd44bf2c05
Merge "Remove unneeded images" into twrp2.7
2013-09-17 15:09:00 -05:00
Dees Troy
a9e49d3d85
Remove unneeded images
2013-09-17 20:06:14 +00:00
Vojtech Bocek
a2e7016ee1
Never generate empty backup name
...
* Backup would then go to /sdcard/TWRP/*serial_num*/
(without any subfolder) and restore would not be able to find it.
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-09-17 17:06:09 +02:00
Dees Troy
bb20778f7e
2.6.3.0
2013-09-12 15:49:25 +00:00
Vojtech Bocek
1239ee8b34
Add 1200x1920 theme
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I558c988c94f750607f58aa3dd22736447c78a214
2013-09-12 15:40:22 +00:00
Dees Troy
4bf3b0d804
Make SELinux automatic if present
2013-09-12 10:38:15 -05: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
893136dc45
Merge "Kang in older minzip for building in CM9 & CM7" into twrp2.7
2013-09-12 09:10:49 -05:00
Dees Troy
237b83b54c
Merge "print out md5s to recovery.log" into twrp2.7
2013-09-12 09:10:01 -05:00
Dees Troy
b7ae098e21
Kang in older minzip for building in CM9 & CM7
...
CM7 and CM9 do not have libselinux needed in the newer minzip.
2013-09-10 20:47:46 +00:00
bigbiff bigbiff
6b059548df
print out md5s to recovery.log
2013-09-10 10:28:26 -04:00
Dees Troy
abaa9ca8f3
Merge "Hack-fix build with different system/core/charger versions" into twrp2.7
2013-09-10 08:46:29 -05:00
Dees Troy
bc365b5e44
Merge "another fix to ignore space then = sign" into twrp2.7
2013-09-10 08:45:23 -05:00
Dees Troy
c2e9bc74a1
Fix zip folder selection when storage path is similar
...
If internal is /sdcard and external is /sdcard-ext then the zip
path used to stay on /sdcard-ext when trying to switch to internal
storage. Using Get_Root_Path instead of resizing will ensure that
the path changes properly.
2013-09-10 00:16:31 +00:00
bigbiff bigbiff
c03121d2ac
another fix to ignore space then = sign
2013-09-09 19:14:35 -04:00
Vojtech Bocek
65fdcddec6
Hack-fix build with different system/core/charger versions
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-09-06 21:32:22 +02:00
Dees_Troy
84f683a322
Merge "Add more args to make_ext4fs command" into twrp2.7
2013-09-06 11:41:05 -05:00
Dees_Troy
5295d581a5
Add more args to make_ext4fs command
2013-09-06 15:51:08 +00:00
Dees_Troy
399f480dc7
Fix libselinx flags in libtar
2013-09-06 15:16:00 +00:00
Dees Troy
8807a1ead6
Merge "libtar: store SELinux file context in tar archives" into twrp2.7
2013-09-05 14:53:36 -05:00
Vojtech Bocek
25fd68d098
libtar: store SELinux file context in tar archives
...
* Using RedHat's "RHT.security.selinux=" tag in extended
tar header (type 'x')
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I102e492e4fa5b8a08fae4d34eb36386862509b4d
2013-09-05 21:43:52 +02:00
Dees_Troy
512376ccc7
Extract file_contexts from zips if it exists
...
Update binary will now extract file_contexts if it exists in the
root of the zip to /tmp
Recovery will replace the existing /file_contexts in the ramdisk
if file_contexts exists in the root of the zip.
This ensure that the proper contexts are used during zip installs.
Change-Id: If22c41101868643b67e6dba6177677c078fcd877
2013-09-05 13:06:16 +00: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
Vojtech Bocek
1dc3098a5c
Initialize TWPartition::User_Rm_Rf to false in constructor
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-08-30 21:49:30 +02:00
Hashcode
dabfd49bd4
implement "usermrf" fstab flag to force rm -rf * deletion on specific partitions
...
Change-Id: I58f4a8cedf31e6b6efd88f96a43ed525603ae311
2013-08-30 10:28:15 -07:00
Dees_Troy
b3265ab358
Better compatibility by fixing up ext4 & selinux flags
2013-08-30 02:59:14 +00:00
Vojtech Bocek
37aeb8d678
Really fix TWFunc::tw_chmod() for 3-character mode string
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I8f03d46235e1c71e8ee510309c9418cde802f50b
2013-08-29 21:35:02 -05:00
bigbiff bigbiff
72e9554261
ignore extra = on install cmd
...
Change-Id: If9a0e6d4c00f6dd79f76c68ed0370a3101211801
2013-08-30 02:27:25 +00:00
Dees_Troy
7abb7a5813
Fix backup list height on 1080x1920
2013-08-30 02:07:19 +00:00
Dees_Troy
a7939bbdc8
Update SuperSU for 4.3 SELinux, 2.6.1.0
...
Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
2013-08-30 01:53:54 +00:00
Dees_Troy
e3850a3fa6
Change to use HAVE_SELINUX build flag
2013-08-29 18:33:47 +00:00
Dees_Troy
e5017045b5
Initial f2fs support
...
Need to add this to your source tree:
https://github.com/razrqcom-dev-team/android_external_f2fs-tools
Change-Id: I3ee9ebbb617259655518f8ea356ce7b8c246cd4d
2013-08-29 16:58:38 +00:00
Dees_Troy
329383e593
Use twrp.fstab if present
2013-08-29 14:16:06 +00:00