Commit Graph

915 Commits

Author SHA1 Message Date
Dees Troy
237b83b54c Merge "print out md5s to recovery.log" into twrp2.7 2013-09-12 09:10:01 -05: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
bigbiff bigbiff
86e77bcbb2 skip checking size on links
skip google music cache

Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
2013-08-28 16:10:36 +00:00
Dees Troy
de307148cf Merge "update exfat to latest commits for io issues" into twrp2.5 2013-08-28 11:00:58 -05:00
bigbiff bigbiff
616afed985 ignore lost+found in all the places 2013-08-28 15:06:18 +00:00
John Reck
5c4e1dac0b Merge "Update libpng API usage" 2013-08-27 16:49:39 +00:00
John Reck
94fd07ba6d Update libpng API usage
Remove usage of deprecated methods

Change-Id: I747568a2c8c0c65ecbc9a3da4bac7b9cac7708ab
2013-08-26 16:45:33 -07:00
Ricardo Gomez
c9ecd4473c Add a TW_NO_TIMEOUT option
Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
2013-08-25 21:10:08 +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
Vojtech Bocek
8b44bbda25 Clean-up in partitions.hpp
* Remove useless 'virtual' keyword
* Set proper members visibility

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-08-24 07:56:19 -05:00
Vojtech Bocek
00b260587c Fix TWFunc::tw_chmod() for 3-character mode string 2013-08-24 07:52:45 -05:00
Dees_Troy
1c8d4fb0ea Add ability to run scripts after screen timeout/wake 2013-08-24 07:45:46 -05:00
Dees_Troy
b7ecc09d93 Revert "Fix touch not working due to gr_fb_width returning 0 in some cases"
This reverts commit 70e1129612.
No longer needed after http://review.teamw.in/#/c/655/
2013-08-24 07:43:14 -05:00
Dees_Troy
29a0635b93 Revert "Rewrite TWFunc::Exec_Cmd() to use pipe() instead of popen()"
This reverts commit c5754cf935.
popen already uses fork and pipe and __popen works on more devices.
2013-08-24 07:42:48 -05:00
Dees_Troy
a95f55c3ef Add SELinux support
Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
2013-08-24 07:42:30 -05:00
Dees_Troy
728630d9e4 Merge "Fix AOSP decrypt when TouchWiz code is present" into twrp2.5 2013-08-24 07:42:03 -05:00
Dees Troy
5111611121 Merge "graphics: update BOARD_HAS_FLIPPED_SCREEN function to work with 16bpp or 32bpp" into twrp2.5 2013-08-24 07:41:42 -05:00
Dees_Troy
066eb30abf Fix AOSP decrypt when TouchWiz code is present 2013-08-23 17:22:37 +00:00
Dees_Troy
94e2a46402 Remove graphics.c from libguitwrp 2013-08-22 12:25:14 +00:00
Dees_Troy
2727b99f55 Fix problem with not waiting for pigz to exit
In some cases compressed backups would not wait for pigz to finish
leading to backup files that were 0 bytes or MD5 mismatches.
2013-08-14 20:09:34 +00:00
Dees_Troy
70e1129612 Fix touch not working due to gr_fb_width returning 0 in some cases
Change-Id: Id5ce607a181110118ebc647fc07d387a7a3dc660
2013-08-11 13:47:26 +00:00
Dees_Troy
b8934dd456 Fix conflict with getline in 4.3 tree
Change-Id: I5accf8731829229d153a657c9290a7be83f87a03
2013-08-11 13:43:12 +00:00
Dees_Troy
f2280ffd42 Add libselinux for CM10.2 tree
Change-Id: I94979806935546fa40a87611be5185c14b557377
2013-08-11 13:41:48 +00:00
Dees_Troy
bdafe306fa Merge "Remove libjpegtwrp and use CM provided libjpeg" into twrp2.5 2013-08-11 08:32:44 -05:00
Dees_Troy
52b77182d0 Merge "Rename libfuse to prevent conflicts with newer CM trees" into twrp2.5 2013-08-11 08:32:26 -05:00
Dees_Troy
d5f2b7a4d3 Merge "Fix permissions on backup files" into twrp2.5 2013-08-11 07:48:53 -05:00
Dees_Troy
930bf01caf Remove libjpegtwrp and use CM provided libjpeg 2013-08-10 22:19:03 +00:00
Dees_Troy
df09c8ba1d Rename libfuse to prevent conflicts with newer CM trees
Change-Id: I468e8556e1606b9c944292db27237026e78fb8f0
2013-08-10 22:04:47 +00:00