Tianjie Xu
d3d5e54a45
Add a checker for signature boundary in verifier am: 54ea136fde am: 0a34b17c8b
...
am: fb80b4f72d
Change-Id: Iba2da78981e4bd7a2b263b2f6b18ab6c176e5fc8
2017-01-18 22:26:47 +00:00
Tianjie Xu
fb80b4f72d
Add a checker for signature boundary in verifier am: 54ea136fde
...
am: 0a34b17c8b
Change-Id: I4dbba92ea717951307dbcb6bf287edf4f6144a38
2017-01-18 22:24:16 +00:00
Tianjie Xu
0a34b17c8b
Add a checker for signature boundary in verifier
...
am: 54ea136fde
Change-Id: Ide2da96e322c6a913b7f2e950e43c4d11278338e
2017-01-18 22:22:16 +00:00
Tianjie Xu
5346da0220
DO NOT MERGE: Add a checker for signature boundary in verifier
...
am: f616da1726
Change-Id: I05a1a6775229a1041e1a93388a86262d36d6581b
2017-01-18 22:22:16 +00:00
Dees Troy
88040ccb0e
Merge "gui: bump theme version to 2" into android-7.1
2017-01-18 22:52:38 +01:00
that
74bff7f73f
gui: bump theme version to 2
...
Commit 9472ba1d introduced new behavior for KEY_POWER which
needs a corresponding change in the theme to call the
setbacklight action whenever the power button is pressed.
Change-Id: Iacd46436b04aba1ecb1adbb684c56c3ef994bfe0
2017-01-18 22:32:36 +01:00
Matt Mower
3626bdc800
bldrmsg: Only emmc /misc is supported
...
Change-Id: Ic0716557a87ec0638e2dbed1c3f743231e8b2f8e
2017-01-18 21:10:34 +01:00
Matt Mower
c39b1b4e51
gui: Initialize button render position
...
Change-Id: I716ae0664ea454706cb940d1bfd38259da53d176
2017-01-18 21:10:04 +01:00
Matt Mower
91584b2603
HardwareKeyboard: Update event logging
...
Use LOGERR(), consistent with rest of TWRP.
Change-Id: I75a44d807a17aea6027830d58c37ac130fee12a7
2017-01-18 21:09:42 +01:00
Matt Mower
b68bff01d3
GUI: Mark local flip() function as static
...
Change-Id: Ib92e294872c1408cc749fdb0db3bbf56579eb070
2017-01-18 13:04:35 -06:00
Matt Mower
908a27728c
fb2png: Update/Cleanup headers
...
* Include relevant headers for all used functions
* Add prototype for fb_dump() to fb.h since used in c-files
* Alphabetize includes
Change-Id: Ifdbaceadb12576b607b654835ae93bc88e2c3268
2017-01-18 13:04:35 -06:00
Matt Mower
18bdccb790
init: Remove duplicate trigger of load_system_props_action
...
Change-Id: I29ba5c4d78be24de3dabc0083fe291fb2b65fa54
2017-01-18 13:04:35 -06:00
Matt Mower
06543e35e0
Add missing file descriptor closes
...
Change-Id: I7154a022833a5e092facd7c5df776719b9fcc929
2017-01-18 13:04:35 -06:00
Matt Mower
173cdb9ad8
Restore TW_BACKUP_AVG_IMG_RATE handling
...
Preserving the average BPS across partitions appears to have been
wiped out by the adb backup patch set. Restore it.
Change-Id: Id05c12ff61260b642ee7acd979132a2cba026d87
2017-01-18 13:04:35 -06:00
Matt Mower
840576155a
Move sh selection out of GUI makefile
...
* The TWRP_SH_TARGET variable is only used if TW_USE_TOOLBOX == false,
so it doesn't really need to be defined.
* Move the busybox sh symlink creation nearer to the toolbox/busybox
build rules and take advantage of LOCAL_POST_INSTALL_CMD which has
been around since Android 4.3.
Change-Id: I7850f9c3e113d43ad519dd5c9a7d25e36ec1c426
2017-01-18 13:04:35 -06:00
Matt Mower
c55b9a7893
Move pigz symlinks out of GUI makefile
...
* Unify the building of pigz and its symlinks under the same module.
LOCAL_POST_INSTALL_CMD has been around since Android 4.3, use it.
Change-Id: I6a1f74216b6f5a5283fc17839b9b6f19571f3be5
2017-01-18 13:04:35 -06:00
Matt Mower
e04eee73e9
Add missing license headers
...
Change-Id: I7f807a2f140068181524d8e868d029b4d94c70e8
2017-01-18 20:02:43 +01:00
James Christopher Adduono
9eb2769841
flashutils: additional emmc check
...
Some devices are missing /proc/emmc!
Change-Id: I38ae9e01b8bb0764250998a1a6fef7c754b8e9ce
2017-01-18 20:01:29 +01:00
Matt Mower
9472ba1d39
gui: Actions: Toggle backlight on power key
...
Create GUIAction to handle KEY_POWER with a screen backlight toggle.
Change-Id: Iad0a7923b4a776e0336722db74d6fc46cd0107a2
2017-01-18 19:55:33 +01:00
Matt Mower
874136434a
SELinux can be assumed for Android 4.4+
...
Change-Id: I7410a0c8e439eec90a955ee9201efd9a92bb9635
2017-01-18 12:40:26 -06:00
Matt Mower
a0cd91d317
Restore file system type logline on restore
...
Change-Id: I2b961a75f500c657ff7a82698957060f85e95ab8
2017-01-18 17:50:55 +01:00
Matt Mower
028995512b
Do not disable performance mode too early for backup
...
Include SetPerformanceMode(false) just before every "return", and not
sooner.
Change-Id: Iefd5546865347dbd08cc9baeb98d58d26b7f4a3b
2017-01-18 17:50:35 +01:00
Matt Mower
23d8aaef29
Unused variable cleanup
...
Change-Id: I2397d0bd221dcf5c9d0f971ba157519bcf014a70
2017-01-18 17:50:05 +01:00
Matt Mower
029a82db6c
Very minor code cleanup
...
Change-Id: Ie0b97da2cce7bb93307ed49b1138bc2f36df34d0
2017-01-18 17:49:23 +01:00
Matt Mower
a8a89d1961
Whitespace cleanup
...
Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
2017-01-18 17:41:17 +01:00
that
55f2bdac06
gui: remove old unmaintained 2.x theme
...
Change-Id: I1181307989c7478ac6b84bf77732ee5dcff52ed1
2017-01-18 17:23:17 +01:00
Ethan Yonker
7118774ec9
libtar: backup and restore posix capabilities
...
This patch also allows libtar to combine data from multiple extended
tar headers into a single header.
Change-Id: I82d13e89a3622ea665b60062b1904ddbedfa41b3
2017-01-18 17:11:33 +01:00
nailyk
a083dc68c6
ADBbackups: Fix wrong owner on binary backups.
...
- Set the correct owner on binary backup files to flash storage.
Solve https://github.com/TeamWin/Team-Win-Recovery-Project/issues/749
Change-Id: I5526494c77232f524cf02a482de070b44248c4a0
2017-01-18 17:02:56 +01:00
James Christopher Adduono
1efebdc0bd
Include symlink size (path length) in Get_Folder_Size()
...
All we have to do is check for the case of a symlink as well.
st.st_size contains the length of the path the symlink points to.
Change-Id: I9a7b06ba11b5866e04599b8904fd42acf241abe2
2017-01-18 16:51:06 +01:00
niks255
d73903c8eb
gui: Detect device resolution with TARGET_SCREEN_HEIGHT/WIDTH
...
* Ease the compilation with Lineage/CM configurations
when TW_THEME or DEVICE_RESOLUTION are not defined
Change-Id: I35a8ce651ba5333c8426baa3d70fcbc42a2e5e59
2017-01-18 16:49:11 +01:00
bigbiff bigbiff
584b977489
TWRP device version string
...
For building through jenkins. Export a variable to the shell
so that we don't monkey patch variables.h and keep the git tag
clean in the version string.
Jenkins will export the variable TW_DEVICE_VERSION=n where n > 0.
The makefile will use this variable to show the device string
in twrp startup. For mass production builds, omit the
environment variable to default to 0.
Change-Id: I0d6eb764255d7069c0fb4a378522a009cfe4054f
2017-01-18 09:44:17 -06:00
gitbuildkicker
d3447484e6
merge in oc-release history after reset to master
2017-01-18 00:06:43 -08:00
Tao Bao
274e065782
Merge "minui: Export minui/minui.h." am: 13d15af08f am: ad20b76397 am: 54890af615
...
am: 397c6c5382
Change-Id: Ib72aea7ad125286d1d347ff3b25fb5f90c408bd3
2017-01-17 19:27:31 +00:00
Tao Bao
397c6c5382
Merge "minui: Export minui/minui.h." am: 13d15af08f am: ad20b76397
...
am: 54890af615
Change-Id: I3b5d457c024e46560e5f49390102e2ca66be21b0
2017-01-17 19:16:52 +00:00
Tao Bao
54890af615
Merge "minui: Export minui/minui.h." am: 13d15af08f
...
am: ad20b76397
Change-Id: I91b8a72fc334fc69ba4b907d6460c9e8c4e9dd18
2017-01-17 19:14:26 +00:00
Tao Bao
ad20b76397
Merge "minui: Export minui/minui.h."
...
am: 13d15af08f
Change-Id: I12755c0fa6b184e68b49899e1cf589161e24eb62
2017-01-17 19:12:28 +00:00
Tao Bao
13d15af08f
Merge "minui: Export minui/minui.h."
2017-01-17 19:08:48 +00:00
Tao Bao
0ecbd76b22
minui: Export minui/minui.h.
...
For libminui static and shared libraries.
Test: build
Change-Id: Ib30dc5e2ef4a3c8b3ca3a0cec68cb65e229a0c16
2017-01-16 21:28:18 -08:00
gitbuildkicker
b973ac9a2f
merge in oc-release history after reset to master
2017-01-15 00:07:00 -08:00
Tao Bao
b04905fae7
Merge "recovery: Move property_get() to android::base::GetProperty()." am: ebb4e96a71 am: 421d92707d am: 81bffbda89
...
am: 5f877b01b0
Change-Id: I22e6dca540a9099209d2cf6c74910707ca2fd8fe
2017-01-14 15:57:42 +00:00
Tao Bao
5f877b01b0
Merge "recovery: Move property_get() to android::base::GetProperty()." am: ebb4e96a71 am: 421d92707d
...
am: 81bffbda89
Change-Id: If10fa9ea7cc0254c3b38eb29c5c309ae761d53f4
2017-01-14 15:46:41 +00:00
Tao Bao
81bffbda89
Merge "recovery: Move property_get() to android::base::GetProperty()." am: ebb4e96a71
...
am: 421d92707d
Change-Id: I4f87ad321fba45f98f7adfd12937bf484025873e
2017-01-14 15:43:10 +00:00
Tao Bao
421d92707d
Merge "recovery: Move property_get() to android::base::GetProperty()."
...
am: ebb4e96a71
Change-Id: I248ed1d7e9099c5e89a758fb8d36fa5e13ab538c
2017-01-14 15:40:10 +00:00
Tao Bao
ebb4e96a71
Merge "recovery: Move property_get() to android::base::GetProperty()."
2017-01-14 15:37:01 +00:00
Tianjie Xu
86a820cb42
Merge "Update background text images in recovery" am: f0af02fea6 am: 19e4f627d8 am: e05674f93e
...
am: f92c313723
Change-Id: I36ab3a5d46758ef45854efd16dcf8285166d1dc4
2017-01-13 23:13:38 +00:00
Tianjie Xu
f92c313723
Merge "Update background text images in recovery" am: f0af02fea6 am: 19e4f627d8
...
am: e05674f93e
Change-Id: I8ea1c6c8785b7810971de14a0ea61f727ffef765
2017-01-13 23:11:07 +00:00
Tianjie Xu
e05674f93e
Merge "Update background text images in recovery" am: f0af02fea6
...
am: 19e4f627d8
Change-Id: Ic16111cc970780090827f3e2851e4df874a5d8cf
2017-01-13 23:09:07 +00:00
Tianjie Xu
19e4f627d8
Merge "Update background text images in recovery"
...
am: f0af02fea6
Change-Id: I9d287b5d0f5e7b93f77c8c5ea966e800a06a8178
2017-01-13 23:06:36 +00:00
Tianjie Xu
f0af02fea6
Merge "Update background text images in recovery"
2017-01-13 23:02:17 +00:00
Tao Bao
efc35594dd
recovery: Move property_get() to android::base::GetProperty().
...
Test: Apply two A/B incremental OTAs with the new recovery image. The
one with incorrect pre-build should be blocked, while the other
works fine.
Change-Id: I94d97eb8798599da1630f66343fb603e87464187
2017-01-13 12:08:34 -08:00