Ethan Yonker
d946aa470f
Add language_helper.py
...
This script is intended to make managing the language files a
little easier.
This script reads the English and supplied other language files and
compares the 2 and reorders and rewrites the other language to a new
XML file such that all the strings are placed in the same order as
the English file. It will place commented out string lines for items
that are not present in the new file and will not include any strings
in the new file that are no longer present in the English source.
There is also a version tag that may be compared if present between
the English and other language in case a translation string changes.
Change-Id: If49d7efbf99c033d9736af971a78ed8455ac5c6f
2016-03-31 08:57:32 -05:00
James Christopher Adduono
0de3b7ed61
Flashutils: detect /dev/block/sd* as emmc
...
Change-Id: I067a58e5053748b9613ea6b4ac76a1c5285abc7d
2016-03-31 14:17:41 +01:00
Ethan Yonker
4f74d14f8c
Stop loading languages for the splash screen
...
We don't translate anything for the splash screen currently so
this will slightly reduce startup times and prevent the code from
running when it's not needed.
Change-Id: I8a8e8be5247d8e8b148db578c12bce5d370123a8
2016-03-31 08:10:40 -05:00
Ethan Yonker
86404bda2c
Stop trying to load /script/ui.xml
...
I think this feature was used way back in the very early days of
TWRP 2.0 on the Kindle Fire and has not been used since. I see no
reason to keep it around for now and we can always reinstate it
later if for some reason we need this feature again.
Change-Id: Ie9f3e5db7190732f813ae1e152aab2d85a4ca98c
2016-03-31 08:01:12 -05:00
Bill Yi
f1b2785129
Import translations. DO NOT MERGE
...
Change-Id: Id992a2cff5d431b5862f7c27f3823dbffe52f5c7
Auto-generated-cl: translation import
2016-03-30 22:15:27 -07:00
Bill Yi
452aec0c5b
Import translations. DO NOT MERGE
...
Change-Id: I96a3ebec0ab7b7400bcf8ffd2a899d291d8a4579
Auto-generated-cl: translation import
2016-03-30 20:41:15 -07:00
The Android Automerger
bcd87be5cf
merge in nyc-release history after reset to nyc-dev
2016-03-30 00:02:41 -07:00
Yabin Cui
af337d8dde
Merge "uncrypt: remove --read-bcb option." am: ebd22be am: ecc068c -s ours
...
am: f41c35d
* commit 'f41c35d774de88bc668c94ee5cfa43b60eb6eea1':
uncrypt: remove --read-bcb option.
Change-Id: I05dfeef0be5d80d717c37a9fc03b1c61cb3e5e6b
2016-03-30 02:02:50 +00:00
Yabin Cui
f41c35d774
Merge "uncrypt: remove --read-bcb option." am: ebd22be
...
am: ecc068c -s ours
* commit 'ecc068c2f83b4db891f9d479170c06cf06bb409a':
uncrypt: remove --read-bcb option.
Change-Id: I53dc530930eb95d00ea2efd51a07e34502ab63c6
2016-03-30 01:59:07 +00:00
Yabin Cui
ecc068c2f8
Merge "uncrypt: remove --read-bcb option."
...
am: ebd22be
* commit 'ebd22be4f742f5eeb32b2eeaf212b34e7605da50':
uncrypt: remove --read-bcb option.
Change-Id: I06ed6c0a36246041d03c57bc03f532de414c926f
2016-03-30 01:29:42 +00:00
Yabin Cui
ebd22be4f7
Merge "uncrypt: remove --read-bcb option."
2016-03-30 01:19:25 +00:00
Yabin Cui
6507265906
uncrypt: remove --read-bcb option.
...
Bug: 27897241
Change-Id: I4f52ada58e8f204dba8c974ea0ae03876411ecf0
(cherry picked from commit 61799baba3 )
2016-03-29 18:14:44 -07:00
Yabin Cui
08875b220d
Merge "uncrypt: fix call to close()." into nyc-dev am: 912e87e -s ours
...
am: 31d0872
* commit '31d08721194392bb8dd19fa2aee5d9720e960843':
uncrypt: fix call to close().
Change-Id: Ida59e364ac117786d996eb841d5acb89ebb7dfa7
2016-03-30 00:21:43 +00:00
Yabin Cui
31d0872119
Merge "uncrypt: fix call to close()." into nyc-dev
...
am: 912e87e -s ours
* commit '912e87e91d15c35c18ce6710bf6a0b34f50b3672':
uncrypt: fix call to close().
Change-Id: Ib9d13b4b39d64a9b7ff95429152eb9f3383ee4b3
2016-03-30 00:18:38 +00:00
Tianjie Xu
d0678147cd
Merge "Add string for Installing_security_update" am: 3568004 am: 2e21897
...
am: 0d66126
* commit '0d661262e99ae6ba6baeae6cdce05791923fe445':
Add string for Installing_security_update
Change-Id: I5a1817ff5ef8494c53441892612070274432c92a
2016-03-30 00:11:58 +00:00
Tianjie Xu
0d661262e9
Merge "Add string for Installing_security_update" am: 3568004
...
am: 2e21897
* commit '2e2189728b3172327e93825ed803768c72fe7f28':
Add string for Installing_security_update
Change-Id: I5b00f7c996c2a0653f1769790498c0a6578f6ac5
2016-03-30 00:08:55 +00:00
Tianjie Xu
2e2189728b
Merge "Add string for Installing_security_update"
...
am: 3568004
* commit '3568004cba740a466bd9731a4bb5c8a1475e6d2d':
Add string for Installing_security_update
Change-Id: I11a147726cd535e574690e01df35ec961888c5c6
2016-03-30 00:05:54 +00:00
Tianjie Xu
3568004cba
Merge "Add string for Installing_security_update"
2016-03-29 23:58:31 +00:00
Yabin Cui
2286b23373
resolve merge conflicts of 61799ba to nyc-dev-plus-aosp
...
am: 0c39203
* commit '0c39203698b904e165237f67d6bd013debd6dc47':
uncrypt: remove --read-bcb option.
Change-Id: Ic84b20a7736d6c0cd5f4e3ff07a02cbd64e285aa
2016-03-29 23:53:26 +00:00
Yabin Cui
0c39203698
resolve merge conflicts of 61799ba to nyc-dev-plus-aosp
...
Change-Id: Ib1d0afe9022ec82f05be8b56201e73505160cacc
2016-03-29 16:47:18 -07:00
Yabin Cui
912e87e91d
Merge "uncrypt: fix call to close()." into nyc-dev
2016-03-29 22:48:08 +00:00
Yabin Cui
ffa3a1c222
uncrypt: fix call to close().
...
Bug: 27897229
Change-Id: Iab5e829af1676f7fcd8a4b00a194aa679ed4e372
2016-03-29 15:35:58 -07:00
Yabin Cui
61799baba3
uncrypt: remove --read-bcb option.
...
Bug: 27897241
Change-Id: I4f52ada58e8f204dba8c974ea0ae03876411ecf0
2016-03-29 14:33:35 -07:00
Tianjie Xu
78bac9a66a
Add string for Installing_security_update am: 1ee0ff3
...
am: 0f54a46
* commit '0f54a46af3d2fa5f01fd1e37ed050b3cf697008c':
Add string for Installing_security_update
Change-Id: Ib9cc5307a030a94f7d9d6e9c52646cf1665bbe3d
2016-03-29 21:09:03 +00:00
Tianjie Xu
0f54a46af3
Add string for Installing_security_update
...
am: 1ee0ff3
* commit '1ee0ff3d78c5143d4e3307bc44e3c27792e72d1e':
Add string for Installing_security_update
Change-Id: Ied2a3b07fbf8548688759727da527fc7a994d5a0
2016-03-29 21:06:05 +00:00
Tianjie Xu
1c95c97e55
Add string for Installing_security_update
...
Bug: 27837319
Change-Id: I037158697a294c3e03f186f3b4207ea700321a8a
(cherry picked from commit 1ee0ff3d78 )
2016-03-29 13:59:22 -07:00
Elliott Hughes
ee3314d335
Fix uncrypt.cpp unique_fd build breakage.
...
am: d6ac686
* commit 'd6ac68665dcef6c12d44ee6bcd7d938ab5028150':
Fix uncrypt.cpp unique_fd build breakage.
Change-Id: Ibb0c2a7e7cc3668b2fe41e756a637043cfecc03f
2016-03-29 20:09:36 +00:00
Elliott Hughes
d6ac68665d
Fix uncrypt.cpp unique_fd build breakage.
...
Change-Id: I4654f59463d1f3e1f4450e937cd910508b64c157
2016-03-29 12:53:36 -07:00
Ethan Yonker
a5db7121ab
Improve input box text handling
...
Change-Id: I79cfaac1adf85d1ee5514bf5266930823c1a15ff
2016-03-29 20:05:35 +01:00
Ethan Yonker
20eb0bc2d1
Detect and install custom themes as part of zip installs
...
Change-Id: I7ec7133e53fca92ebe49a9a41161754a9138141e
2016-03-29 19:41:48 +01:00
that
6a89459ec1
gui: rewrite theme loading code
...
- Reduce code duplication for parsing of include files
- Fix crash when styles and templates from included files are referenced
- Fix bug with path concatenation if more than one file is included
Change-Id: I06cd720188df272180fb359097afd73a85952fa8
2016-03-29 19:38:30 +01:00
James Christopher Adduono
d6f94acc9a
Allow restoring to read-only file system
...
This allows the restoration of firmware or modems on read-only
mounted file systems. If the user is able to make a backup of
these partitions, it would only make sense they be allowed to
restore that backup. The current handling is dangerous in that
it happily wipes, but refuses to restore. :)
Note that it would be preferable to use the backup=emmc flag
instead in most cases, added by change:
https://gerrit.omnirom.org/#/c/17183
Change-Id: I32d47c8928dee61595c15a9db16d3c5b9a6d7183
2016-03-29 19:38:02 +01:00
Elliott Hughes
54937d0b59
resolve merge conflicts of 5cf4701 to nyc-dev-plus-aosp
...
am: 20ab2db
* commit '20ab2db8f1e04f4f9b4c1dc0e9377f0586bfc10a':
Switch to <android-base/unique_fd.h>.
Change-Id: I3ad1eae327ad83c82aa684e4a2846d4313fd4486
2016-03-29 18:29:55 +00:00
Elliott Hughes
20ab2db8f1
resolve merge conflicts of 5cf4701 to nyc-dev-plus-aosp
...
Change-Id: Ia69f8b070c05cfe201115de510e3c12e813e38b5
2016-03-29 11:15:47 -07:00
Elliott Hughes
5cf4701d66
Merge "Switch to <android-base/unique_fd.h>."
...
am: 5d73735
* commit '5d73735552b3eca103830bd1433ce4b74b54b2b3':
Switch to <android-base/unique_fd.h>.
Change-Id: I2f03ba036160376f03516eb7ede62229bb8e20ba
2016-03-29 18:00:38 +00:00
Elliott Hughes
5d73735552
Merge "Switch to <android-base/unique_fd.h>."
2016-03-29 17:55:47 +00:00
Elliott Hughes
bcabd09293
Switch to <android-base/unique_fd.h>.
...
Change-Id: I13ba3f40bd52b5f3e3fe9002a45a9a8630040129
2016-03-29 08:18:34 -07:00
Tianjie Xu
1ee0ff3d78
Add string for Installing_security_update
...
Bug: 27837319
Change-Id: I037158697a294c3e03f186f3b4207ea700321a8a
2016-03-28 18:16:15 -07:00
Mark Salyzyn
a4f701af93
recovery: use __android_log_pmsg_file_write for log files
...
- Add call to __android_log_pmsg_file_write for recovery logging.
- Add call to refresh pmsg if we reboot back into recovery and then
allow overwrite of those logs.
- Add a new one-time executable recovery-refresh that refreshes pmsg
in post-fs phase of init. We rely on pmsg eventually scrolling off
to age the content after recovery-persist has done its job.
- Add a new one-time executable recovery-persist that transfers from
pmsg to /data/misc/recovery/ directory if /cache is not mounted
in post-fs-data phase of init.
- Build and appropriately trigger the above two as required if
BOARD_CACHEIMAGE_PARTITION_SIZE is undefined.
- Add some simple unit tests
NB: Test failure is expected on systems that do not deliver either
the recovery-persist or recovery-refresh executables, e.g. systems
with /cache. Tests also require a timely reboot sequence of test
to truly verify, tests provide guidance on stderr to direct.
Bug: 27176738
Change-Id: I17bb95980234984f6b2087fd5941b0a3126b706b
2016-03-28 11:07:00 -07:00
The Android Automerger
ebaa0bc45a
merge in nyc-release history after reset to nyc-dev
2016-03-27 00:02:59 -07:00
Elliott Hughes
0609e14728
Move recovery_l10n here from development/tools. am: cc79490
...
am: e833769
* commit 'e833769e7be7ffa3db8a35c84fc9c6b6aea9f663':
Move recovery_l10n here from development/tools.
2016-03-26 17:11:57 +00:00
Elliott Hughes
e833769e7b
Move recovery_l10n here from development/tools.
...
am: cc79490
* commit 'cc79490fa83fe2dea6cbcd219751d346645ca7ec':
Move recovery_l10n here from development/tools.
2016-03-26 16:53:35 +00:00
Elliott Hughes
092052a6fd
Merge "Move recovery_l10n here from development/tools." am: 2dbd06c
...
am: c15adeb
* commit 'c15adeb34c6e93aa9dbb22d2336e7873249ba8bb':
Move recovery_l10n here from development/tools.
2016-03-26 15:54:37 +00:00
Elliott Hughes
c15adeb34c
Merge "Move recovery_l10n here from development/tools."
...
am: 2dbd06c
* commit '2dbd06c7ed9e753439fb2c0e17d11ca6323e5157':
Move recovery_l10n here from development/tools.
2016-03-26 15:52:06 +00:00
Elliott Hughes
cc79490fa8
Move recovery_l10n here from development/tools.
...
Bug: http://b/27837319
(cherry picked from commit 3d0153a807 )
Change-Id: Iec2cd10fa77ed1881d55ac4e0ab48e45172f0cf7
2016-03-26 08:45:51 -07:00
Elliott Hughes
2dbd06c7ed
Merge "Move recovery_l10n here from development/tools."
2016-03-26 15:45:24 +00:00
Elliott Hughes
3d0153a807
Move recovery_l10n here from development/tools.
...
Bug: http://b/27837319
Change-Id: I116fc13ae108a59b657f5c9f7efe971de72ac743
2016-03-26 08:42:49 -07:00
Tianjie Xu
ed5244dd98
Merge "Skip stashing source blocks in verify mode" am: 3123e5a
...
am: 05e76f7
* commit '05e76f7183b72fb2762472e083647a07ede9a2fa':
Skip stashing source blocks in verify mode
2016-03-25 22:18:40 +00:00
Tianjie Xu
05e76f7183
Merge "Skip stashing source blocks in verify mode"
...
am: 3123e5a
* commit '3123e5ad94350ddc3449dea3214f312c38709832':
Skip stashing source blocks in verify mode
2016-03-25 22:15:43 +00:00
Tianjie Xu
3123e5ad94
Merge "Skip stashing source blocks in verify mode"
2016-03-25 22:09:34 +00:00