Dees Troy
7ad80ecd0c
Merge "Convert 1600x2560 ui.xml to unix line endings" into android-4.4
2014-04-02 16:05:21 +02:00
Dees Troy
e65e35cc37
Merge "Fix display of .android_secure size in Backup" into android-4.4
2014-04-02 16:05:02 +02:00
Ethan Yonker
74a149bfcb
Merge changes Ia75c34ab,I5743d9b9 into android-4.4
...
* changes:
Support Qualcomm overlay graphics in recovery
Improve USB Storage handling
2014-04-02 16:04:02 +02:00
Matt Mower
05aa1352b8
Convert 1600x2560 ui.xml to unix line endings
...
Change-Id: I98dd6b25cbb1616f6032e9dcb4174461add53498
2014-04-02 04:33:20 -05:00
Matt Mower
ed426904e6
Fix display of .android_secure size in Backup
...
Setup_Settings_Storage_Partition() needs to be called before
Update_System_Details() in order for the /and-sec mount point to be
setup and size read correctly.
Change-Id: Id5394c90b6d095027c1b852764676dc6080a871d
2014-04-02 00:28:30 -05:00
Dees Troy
3a746d607e
Merge "Remove deprecated tar exclude functionality" into android-4.4
2014-04-01 20:55:40 +02:00
Dees Troy
5a05f47b20
Merge "if md5 check is not selected for subpartitions, don't check it." into android-4.4
2014-04-01 20:47:07 +02:00
Dees Troy
1ce5e3369b
Merge "Fix /data backup size if contains media subdirs" into android-4.4
2014-04-01 20:46:15 +02:00
Dees Troy
3d37eaed9d
Merge "Allow disabling legacy properties" into android-4.4
2014-04-01 20:37:14 +02:00
Dees Troy
90a203fa93
Merge "Cleanup DU Get_Folder_Size function" into android-4.4
2014-04-01 20:36:37 +02:00
Dees Troy
2ea342a55a
Merge "correctly mount tmpfs as /tmp in recovery" into android-4.4
2014-04-01 20:30:49 +02:00
Dees Troy
a7a366e4d4
Merge "Add basic error checking to legacy property init" into android-4.4
2014-04-01 20:30:03 +02:00
Ethan Yonker
4ee5ad751f
Support Qualcomm overlay graphics in recovery
...
Change-Id: Ia75c34ab1a45b7c8802c902906198517aa3437d5
2014-04-01 11:13:58 -05:00
Ethan Yonker
47360be11c
Improve USB Storage handling
...
Change-Id: I5743d9b967a8227c4bb87da01a9c67c574bf9876
2014-04-01 10:43:59 -05:00
Matt Mower
bb81e5d02d
Remove deprecated tar exclude functionality
...
twrpDU::check_skip_dirs() handles skipped folders now. Everywhere
twrpTar::setexcl() is being used to exclude files eventually calls
createTarFork(), which in turn calls Generate_TarList(), which checks
check_skip_dirs().
Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0
2014-03-31 16:10:28 -05:00
bigbiff bigbiff
0733881369
if md5 check is not selected for subpartitions, don't check it.
...
Change-Id: I7248c75f17c6f82e098831c297c0662ef6ea289f
2014-03-30 14:56:41 -04:00
Matt Mower
f77994d270
Fix /data backup size if contains media subdirs
...
/data/*/media directories are mistakenly being excluded from the size
calculation. Change to absolute dir exclude so that only /data/media is
excluded.
Change-Id: I6e97604d44e6ea2bdf7dfd8c68a2f90ba6d44415
2014-03-30 14:27:28 -04:00
Doug Zongker
55d654207a
correctly mount tmpfs as /tmp in recovery
...
The syntax of init's mount command changed in April 2008 but
recovery's init.rc was never updated, so recovery's /tmp has been on
the root fs all this time. Fix.
Also add /system/bin to the PATH in recovery, which is handy for
debugging.
Change-Id: I9e60d18803906bc75c263f12c8863cfd6a14147b
2014-03-27 16:19:41 -05:00
Matt Mower
2f1b2ab223
Cleanup DU Get_Folder_Size function
...
Change-Id: I3c686c7c3a171f130d299fae586dc811cad0d3a9
2014-03-27 16:19:09 -05:00
Matt Mower
6883d73d0d
Allow disabling legacy properties
...
Introduce TW_NO_LEGACY_PROPS flag for users that build TWRP in
non-kitkat trees and don't need the legacy prop environment.
Change-Id: Iacb2d9af7d7069acb3d0a96bb34f32ded6317a20
2014-03-27 16:14:59 -05:00
Matt Mower
cdd3b339fc
Add basic error checking to legacy property init
...
Let init and rename funcitons return success or failure values.
Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
2014-03-27 16:12:40 -05:00
bigbiff bigbiff
1131cffb36
add 1600x2560 to TWRP. Thanks to nrage123 and Gunthermic for creating
...
the theme.
Change-Id: If633af291689b2ac686c41331bb9adac34c425ad
2014-03-23 20:03:54 -04:00
Dees Troy
02a6453b75
Re-arrange handling of settings storage partition
...
Sometimes we received an error about being unable to locate
storage partition because the DataManager would attempt to access
the PartitionManager before we finished adding the storage
partitions to the vector.
Change-Id: I0ce1778938d308b1eb17de46a192ecd52489cad3
2014-03-19 15:24:01 +00:00
bigbiff bigbiff
ec8fc28866
Change to lstat so we don't count the target of symbolic links as part
...
of the tar archive size. Big thanks to Tassadar for pointing out the
fix.
Change-Id: I8894ffef54c93939b5b455634169d9c14d8ed7af
2014-03-16 20:32:50 -04:00
Ethan Yonker
c05c598b73
Improve handling of settings storage and android secure
...
Change-Id: I8af92543c2f0c201e7220267c417d74e4561038d
2014-03-13 09:19:56 -05:00
Dees Troy
863ecff610
Merge "Fix skipping of relative paths and lost+found in twrpDU" into android-4.4
2014-03-13 15:17:17 +01:00
Vojtech Bocek
05f87d6cca
Fix skipping of relative paths and lost+found in twrpDU
...
Change-Id: Ib79029fd6237502338b041a6bc2f9e539536d6ad
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2014-03-13 14:55:12 +01:00
Vojtech Bocek
2005a84b24
Run TWFunc::Fixup_Time_On_Boot() before OpenRecoveryScript
...
* Fixes possible issues with names of backups made with ORS
Change-Id: If8da1b3abb0960e527bb0eb3dd8a04d184aaea4d
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2014-03-11 19:40:34 +01:00
Dees Troy
99c8dbf215
Check to ensure that selinux_handle is populated before using
...
Change-Id: I6de4c5db3e3183229d7029fc72b957c7ef61f23a
2014-03-10 16:54:21 +00:00
Dees Troy
2f6e995b39
Merge "Fix incorrect alignment of Restore Defaults button in some themes" into android-4.4
2014-03-10 16:29:06 +01:00
Kra1o5
781e689f37
Fix incorrect alignment of Restore Defaults button in some themes
...
Change-Id: I11bd9fea2a900a92794c5c297846eb87265eeee7
2014-03-10 00:37:26 +01:00
that
7e303cfeb8
Support pre-KitKat properties for update-binary
...
Google changed the in-memory format for storing properties in 4.4.
Zips containing an older update-binary expect the old format, otherwise
assertions on properties in the update script fail.
This is just enough of the old property service to copy the properties
to the legacy format before running the updater.
Change-Id: I404680384bdc5e952609e295029ab0a0faf743a5
2014-03-09 23:17:15 +01:00
Ethan Yonker
eae4209443
Fix error handling in createList
...
Change-Id: I10211f2a20da119ae6a4a1bb2f768a3fa2ab87da
2014-03-07 15:33:13 -06:00
Ethan Yonker
6b4276f760
Remove size parameter from substr call
...
Change-Id: I2745bcf8f242fe4a1992aa547efaccf33db0fb5b
2014-03-07 06:48:45 -06:00
Vojtech Bocek
d5b26d61e7
Fix "\n\n" string in gui_print(), remove unused gui_print_overwrite()
...
Change-Id: Ib23354a706013c8cee6665c720fa3b890f3fb3de
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2014-03-06 22:59:22 +01:00
Dees Troy
5314a85194
2.7.0.0
...
Change-Id: I8e0a91ee9fe97c833a4f06ffb83b1b2e3c31f06f
2014-03-06 20:40:45 +00:00
Dees Troy
3e254b9c89
Change qcom time error messages to info
...
Change-Id: I5a22b2df87920333974d8d18fb29f4ff1627a405
2014-03-06 20:24:54 +00:00
Dees Troy
822c3beb8a
Merge "Restore capabilities to run-as binary" into android-4.4
2014-03-06 17:18:16 +01:00
Dees Troy
eacfc37083
Merge "Tweak 240x240 theme" into android-4.4
2014-03-06 17:11:22 +01:00
Dees Troy
54a69f4d59
Tweak 240x240 theme
...
Change-Id: I0801d29aeb66678157123e3630b09a2b527ad4df
2014-03-06 14:22:28 +00:00
Vojtech Bocek
c58846b200
Fix wordwrap in console eating last char if str.size() == max_line_len
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I4a23cd78bd63d63f4d6ec8f34dcc6eced824123b
2014-03-04 19:58:01 +01:00
Dees Troy
4159aedfaa
Restore capabilities to run-as binary
...
Change-Id: I9e2b8e9b69c94b94c57143c04b950530490ec33e
2014-02-28 17:59:04 +00:00
Ethan Yonker
5e73cc7703
Merge "Check crypto footer before offering to decrypt" into android-4.4
2014-02-26 21:00:54 +01:00
Ethan Yonker
9f554cee97
Merge "Check auto generated backup names for invalid characters" into android-4.4
2014-02-26 20:59:18 +01:00
Ethan Yonker
04a5b0e0e2
Merge "Allow sideloading from /tmp" into android-4.4
2014-02-26 20:58:51 +01:00
Ethan Yonker
71413f4ee9
Check crypto footer before offering to decrypt
...
Verify that we have a valid footer with proper magic before
setting things up for decryption to help prevent user confusion
when dealing with data partitions that fail to mount. Also check
to make sure that the block device for /data is present.
Change-Id: Ie87818fe4505a8bf71df7d3934c114e7328ef3ca
2014-02-26 13:37:35 -06:00
Ethan Yonker
92d48e0696
Check auto generated backup names for invalid characters
...
Change name to date/time only if the auto generated backup name
contains any invalid characters.
Change-Id: I73e9e546373088ee7852fa31015060ce95a1d020
2014-02-26 12:06:08 -06:00
Ethan Yonker
45312e551f
Allow sideloading from /tmp
...
Change-Id: I7ba9a8a496536ed55241e45e18297bd824d7e28c
2014-02-26 09:23:53 -06:00
Dees Troy
31218ec952
Add word wrap to console output and fix scrolling in console
...
Change-Id: Ibcf89952ee1391350c715f1ec82cf0cdb9b0ca7d
2014-02-26 08:52:05 -06:00
Ethan Yonker
c62b34c3ba
Remove unneeded logging
...
Change-Id: I5c7d104689ed2b578b463a6be55b3688dcc4c01a
2014-02-25 11:19:56 -06:00