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
4d132cabf4
Merge "Add support for persistent variables in theme's <variables> section" into android-4.4
2013-12-19 18:27:16 +01:00
Dees Troy
504022bd8e
Merge "add fix /data/data contexts to fixPermissions only compile symbols if selinux is defined Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393" into android-4.4
2013-12-19 18:20:11 +01:00
OliverG96
06b91e7965
crypto: Fix crypto dependencies for ICS/Samsung methods
...
- libmincrypt renamed to libmincrypttwrp that is an static library
- libjpegtwrp does not exist
- libfs_mgrtwrp is for JB decryption methods
This fixes making full builds when TW_INCLUDE_CRYPTO_SAMSUNG := true and TW_INCLUDE_CRYPTO := true are set.
Somehow typing make recoveryimage doesnt push the mentioned issue.
Change-Id: I7cad5db4f51152a1a8209e619b188ca88d7c74d1
2013-12-19 17:08:31 +00:00
Hashcode
62bd9e04c7
add support for fsflags= option in twrp.fstab file
...
example userdata line (as needed by MotoX):
/data f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata flags=fsflags="inline_xattr"
Code for parsing flags/options originally based on AOSP fs_mgr sources.
Change-Id: I5fb2b5d5cdd08137e6bf71f0085a3f8aebd889a8
2013-12-19 17:04:02 +00:00
Koushik Dutta
aac4854b45
Support custom graphics.c.
...
TWRP does not use this, but is needed for other things that depend
on it like charger.
Change-Id: Ic7d10e8230151bcc4be6cfa222a1e07231e7139f
2013-12-12 20:16:50 +00:00
Vojtech Bocek
81c29dc7c4
Add support for persistent variables in theme's <variables> section
...
* Add support for variables with persist="1", which will cause
them saved into settings file and reloaded on next boot.
* This is handy for theme makers, who can use this to
implement "theme settings".
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: I6415979011b38cbb15dec9909c445b02da6eadc0
2013-12-07 23:05:10 +01:00
bigbiff bigbiff
872a3b923f
add fix /data/data contexts to fixPermissions
...
only compile symbols if selinux is defined
Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393
2013-12-06 19:40:14 -05:00
Dees Troy
4168a07310
Fix render issue when button has conditional
...
If the button has a conditional, the image render function will
return a 0 which indicated that an image was present even if it
was not if the condition was not being met during boot. When the
condition is met, mButtonImg was not set to NULL causing a render
request failure.
Change-Id: I32be0ddcdc1bf7ad22440d66018ef09484280afa
2013-11-29 05:02:40 +00:00
Dees Troy
995e88cfbe
Add check during boot for SELinux support
...
Change-Id: Ib02867c403d1baa665dfb1d4f3137204e64a813c
2013-11-26 21:39:14 +00:00
Dees Troy
8c0f06b0d3
Update partition sizes after sideload
...
Change-Id: I4dbb4677f1c3bcfa0b0a9248ae0b411c155f927e
2013-11-26 21:21:29 +00:00
Dees Troy
a2e5efba0c
Merge "Add getfooter tool for crypto debugging" into android-4.4
2013-11-19 17:10:06 +01:00
Dees Troy
bc183725cd
Merge "Update decrypt for 4.4" into android-4.4
2013-11-19 17:09:38 +01:00
bigbiff bigbiff
163d474803
Add check for making sure theme exists for device
...
Change-Id: I9b178cebbb2834cd0c86088c8e78678f55d14e62
2013-11-16 13:47:30 -05:00
bigbiff bigbiff
705f16ea4b
Add warning if DEVICE_RESOLUTION is not set in BoardConfig.mk
...
Change-Id: Ifc71c2e2078dbcd4b4893205bea9988e1e129f83
2013-11-16 10:15:46 -05:00
Dees Troy
8931007340
Add getfooter tool for crypto debugging
...
Change-Id: I3b9e5f72f3c1c77e41a45d3c94a44f36cc5cbc3c
2013-11-11 15:15:30 +00:00
Dees Troy
4dff2e6234
Update decrypt for 4.4
...
Change-Id: I8d5d7b6a49890e4707d70de8b429563de0d2ad99
2013-11-10 04:11:48 +00:00
Dees Troy
0226cd55ab
Add reboot binary if it exists to recovery
...
Change-Id: I7efdba5cf4addf0036ea04ab76a8ecc2c3456e2a
2013-11-04 14:13:07 +00:00
Dees Troy
79ff74905b
Fix merge conflicts
2013-11-04 14:01:22 +00:00
Dees Troy
d63c7643fd
Fix building of other utilities
...
Fix building all applypatch items
Fix building verifier_test (probably will not work right as-is)
but at least it builds without errors.
Change-Id: I7ab0c04d7d3d2c2e14b57480627e594f89a68b0b
2013-11-03 13:06:10 +00:00
Dees Troy
ce8d8931ce
Fix updater makefiles
...
Change-Id: Ie6262e3e80b1fd37f47b0f4a2ed343bd9f13b128
2013-11-03 02:49:35 +00:00
Dees Troy
bb4c0cbc4b
Fix merge conflicts and update for 4.4 kitkat
...
Make a copy of libmincrypt in TWRP source so we do not have to
ifdef verifier.cpp for various versions of mincrypt.
Remove reboot tool from toolbox (it was removed from 4.4 and did
not compile properly on some devices in older trees)
2013-11-02 20:43:26 +00:00
Kevin Steck
23f2c39906
Skip the = or \n before grabbing Zip_File.
...
Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
2013-10-24 20:40:22 +01:00
Dees Troy
f4766921d4
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-24 21:33:39 +02:00
Dees Troy
d8a26e0be9
Update licenses to all match
...
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-24 21:30:42 +02:00
Dees Troy
3c71347f5a
Fix spelling error
...
Change-Id: Id932ce1b99dee85feb788c513acad3384af6459e
2013-10-24 21:29:47 +02:00
Dees Troy
4c07ab3c0e
Add toolbox_recovery rules
...
Build special limited toolbox with SELinux tools for recovery
Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2
2013-10-24 21:27:54 +02:00
Dees Troy
7d5b71cbe2
Clean up init.rc
2013-10-23 20:29:55 +01:00
Dees Troy
14ca0259f9
Merge "fix getting and setting contexts in selinux" into android-4.3
2013-10-23 20:28:57 +01:00
bigbiff bigbiff
d0c24c50d9
fix getting and setting contexts in selinux
...
recreate lost+found with selinux contexts
Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-10-23 19:27:48 +00:00
Dees Troy
fb9f7f3c7f
Merge "Remove trailing spaces on auto generated backup names" into android-4.3
2013-10-23 20:10:15 +01:00
Dees Troy
3be70a897e
Update licenses to all match
2013-10-22 14:25:12 +00:00
Kevin Steck
7b69e9d111
Skip the = or \n before grabbing Zip_File.
...
Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
2013-10-22 14:03:30 +00:00
Dees Troy
d932ce1b99
Fix spelling error
2013-10-18 17:12:59 +00:00
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
The Android Automerger
91321f60ae
merge in klp-release history after reset to klp-dev
2013-10-03 06:01:22 -07:00
Michael Runge
a2a1ce823b
Allow child classes to override the overlay location for the
...
update image.
b/10952479
Change-Id: I59bb834f271f702fb529054dab7926b816fa35cc
2013-10-02 16:31:07 -07: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