Konsta
9f3de1e955
Merge remote-tracking branch 'TeamWin/android-11' into android-11
...
Change-Id: I421c59cdcc81ccf591fd52966d1f10cf5d876a0f
Conflicts:
Android.mk
2022-02-19 12:01:46 +02:00
Captain Throwback
fcb99a2cb5
twres: fix folder copy on dirty builds
...
Add MkdirAll before trying to copy to twres folder
Change-Id: I66f150828f804fd36bbcfd2bc9ee17c54761d672
2022-02-18 12:55:42 -05:00
sekaiacg
2a8dc0dd8e
language: Update Chinese Simplified translation
...
Change-Id: I86e6a61b29e5d4b70356daa6ae2ce528fef0cb1f
2022-02-05 15:11:36 +00:00
Captain Throwback
a1317fc7bb
theme: move TW_THEME_VERSION to variables.h
...
Automatically add the current theme version to the
splash and ui xmls during the build
Change-Id: I52f8cb41fabe34a8849ecc54ece3c0fb645dcd74
2022-01-29 14:12:02 -05:00
Konsta
438a85efcf
Merge remote-tracking branch 'TeamWin/android-11' into android-11
...
Change-Id: Id1d534cce0969c98e2b8b6484278342201dd562d
2022-01-12 16:55:24 +02:00
Konsta
88d598c8c3
Revert "Revert "keymaster restore: warn when pin, password or pattern is enabled""
...
This reverts commit 59a8bd388e .
2022-01-12 16:55:18 +02:00
Captain Throwback
2e5abc3ecc
gui: fix restore_keymaster page in landscape and watch themes
...
Change-Id: If182e7fc7c50b063542c9a4a058a599f05c8e685
2022-01-10 21:20:35 +00:00
sekaiacg
cf77cb357c
keymaster restore: Do not enter the keymaster_restore page repeatedly
...
Change-Id: I0c7ca541d52d923067537adb561ca5a61bde7f08
2022-01-10 20:34:02 +00:00
nebrassy
7007c999f9
correct condition for change TWRP folder
...
Change-Id: I3549d3be3bf2d4557055b9ca48a84f88db44eca7
2021-12-26 20:53:06 +00:00
kirillsvk
82fba90680
Russian language: fix spaces
...
Change-Id: I2e8a52421c4120cbdbc08de78a402c81fc3d73fd
(cherry picked from commit 8d6dbd86c9bc0396b6300dd19d1a7f4d96761bfb)
2021-12-03 23:05:04 +00:00
Konsta
59a8bd388e
Revert "keymaster restore: warn when pin, password or pattern is enabled"
...
This reverts commit 8f5fad3741 .
2021-11-23 14:32:23 +02:00
Konsta
d60db18ac1
Merge remote-tracking branch 'TeamWin/android-11' into android-11
...
Change-Id: Ifd35e85f6e2e18b4cdf77006138b60a6ede82e3e
Conflicts:
gui/theme/common/landscape.xml
gui/theme/common/portrait.xml
2021-11-19 15:55:34 +02:00
LinkBoi00
7ebe82a950
gui: theme: Switch to larger buttons in the reboot menu
...
Since the TWRP app button is gone from the reboot menu,
it would make sense to switch back to the larger buttons
for the slots and move down the active slot information
to fit the screen better
Change-Id: Iabf891da8799b063bb4902d583b67f0594b4fc19
2021-11-16 23:38:32 +00:00
bigbiff
5bcc1408c6
Merge "gui: theme: Remove the TWRP app button from the reboot menu" into android-11
2021-11-16 23:27:43 +00:00
LinkBoi00
f5547386da
action: Only unmount /vendor if it actually exists
...
* Since commit 168bc4caaedfdf655a71ba24a1c5a7f2b905a122 the vendor partition gets unmounted prior to switching the slots. However, devices without a vendor partition (e.g. tissot's stock partition table) will have errors since the partition doesn't actually exist
* Therefore, it should be only mounted if that partition exists in the partition table
Change-Id: Id16ab55e25d05964ca0de1bf218914d66c2b0205
2021-11-16 16:37:42 +00:00
LinkBoi00
79f434efc4
gui: theme: Remove the TWRP app button from the reboot menu
...
* The TWRP app button results in a big delay to open the reboot page
Change-Id: I7390d5bff2142214dfb3e2aad821859ac03e8c2f
2021-11-16 10:39:11 +02:00
Ctapchuk
803f860a60
Update Russian language, sync with en.xml
...
Change-Id: Iefa42509dfecdb282563c305086c18342520f939
2021-11-13 13:07:45 +07:00
bigbiff
8f5fad3741
keymaster restore: warn when pin, password or pattern is enabled
...
Starting in Android 10, zygote relies on stored inodes in order
to find packages in the user's CE directories. Since TWRP cannot
force inode creation on restore, we warn the user to remove their
pin before restoring their backup. Otherwise zygote may not load
properly in Android. This will force the system to update the
inode cache.
The user can then re-add their security settings to android.
Change-Id: I8f07962d07304dee54c08318efc500dca424b6c0
2021-11-10 23:21:46 +00:00
Aseem Athale
dd81b9a8d7
theme: Capitalize EDL
...
TWRP used 'Edl', but everywhere else, it is 'EDL'.
Change-Id: I4f63185ffb96797da0d695b34857ee242cfa33e8
2021-11-08 13:21:50 +05:30
Captain Throwback
fec0c3bf53
keyboard: add num template for PIN input
...
Credit for the xml updates:
fordownloads (vnukov.d03@gmail.com )
MrYacha (yacha@orangefox.tech )
Change-Id: Ie776b7de206dbeda122184052d474ebf5fbd7d68
2021-11-05 17:03:16 -04:00
Konsta
3e011f0984
fix dalvik button placement
...
Change-Id: I25fbee89f94227f01927b55a5d0c9ad738ce3cfd
2021-11-02 15:18:05 +02:00
nailyk-fr
e6b2d9fa71
add an option to exclude the TWRP app
...
* Allow device maintainer to exclude the twrp app and disable
the installation prompt. Mostly the app is useless for
every unofficially supported devices.
* BoardConfig flag: 'TW_EXCLUDE_TWRPAPP := true'
Original commit: https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/27694/
Change-Id: I0aa1fb2ebe03ceb19c766178544039a82497cdd4
2021-11-02 15:18:05 +02:00
bigbiff
83298f5375
custom theme: fix libziparchive loading of custom themes
...
Change-Id: Ia23a9dcd24fcbb61cb5e1df366a4325d20d777b2
2021-10-22 21:19:28 +00:00
Captain Throwback
4b9a9298ae
gui: allow MTP even if media storage isn't present
...
Change-Id: I6766f804fa7f116ddc436d566d9647206b0d2e69
2021-10-17 15:08:29 -04:00
bigbiff
ab76bd7324
vab: correct default properties when vab is enabled
...
- do not show vab options in advanced
- do not perform merges when vab is disabled
Change-Id: I20997eca515600cb07fe896305b861ee9418c326
2021-10-16 16:29:46 +00:00
bigbiff
b640d972a6
readonly: fix condition showing readonly checkbox
...
Non dynamic partition devices need this if accidentally
turned off.
Change-Id: I0a212a8fc6446dfa6d82cf1103f4e4e80e680f89
2021-10-13 17:35:31 +00:00
Captain Throwback
63573b550f
mtp: don't create storage device after format data
...
Since we don't re-create data/media on FBE devices,
don't create an MTP storage device for it.
This fixes the bug when, after formatting data on
and FBE device, an empty Internal Storage appears
on the PC.
This also prevents an empty storage device from
being created if recovery is rebooted after formatting
data before booting to Android. A warning will appear
in the console that MTP is disabled in that case.
Currently the path is hardcoded to data/media; this
should probably be adjusted for cases where adoptable
storage is being used.
Change-Id: Iaafc5e3cde54c3ef6ffaf33f76d14c626b6e590d
2021-10-05 22:53:07 +00:00
Captain Throwback
210ebe3d46
repacker: add root overwrite warning
...
Change-Id: Ica03c62a04872cb0ff4705810a0e85efde0b0b54
2021-10-05 22:33:00 +00:00
bigbiff
d21252f1b5
merges: allow user to perform snapshot merges in advanced menu
...
Change-Id: I894a0ef5a0ec8e208053358f09a6b8a6d4ee408a
2021-10-05 22:32:19 +00:00
Captain Throwback
8f71b5a7ec
en.xml: fix capitalization
...
Change-Id: Ib67db5eb0ab7cf2b54622d69299edbb2e216a210
2021-10-01 18:23:41 -04:00
bigbiff
b2cce1055e
screen blank: maintainer should specify in Board whether to disable
...
Change-Id: Id7dfea1ed9391d5a5f617b72a25fdb74dc235537
2021-09-25 15:33:19 +00:00
Captain Throwback
bc2cfa36ec
Add exclusion criteria for "Fix Recovery Bootloop"
...
Should only be included on devices that use initramfs,
i.e. legacy SAR, recovery-in-boot
Change-Id: I2408fcd993e1e381f49b3d5ae860694b2fade4d2
2021-09-16 10:42:06 -04:00
Captain Throwback
529789380b
copy log: add option to include logcat
...
Change-Id: I9689df4560d5209f385fbbc3e233859754b3ebbd
2021-09-07 03:03:16 +00:00
nebrassy
ac29e691d8
Add an option to one click flash current booted TWRP ramdisk
...
Change-Id: I12303696698a5feaa43401bcac9e30d5b3b99a0c
2021-08-09 23:05:14 +00:00
bigbiff
cfa875c4d4
vab support: merges and unmapping super devices
...
- check for merges before formatting data
- add advanced option for unmapping super devices
Change-Id: I38d4d3bbdfa071969016c3e000c86a4d03c71e45
2021-08-09 23:04:33 +00:00
Ctapchuk
5c10257865
Update Russian language, sync with en.xml
...
Change-Id: I8af2239735a800a7c883931ac3531440cc7f7758
2021-07-17 14:51:32 +00:00
bigbiff
2d54867daa
fbe formatting: add warning for fbe devices and remove unused string
...
Change-Id: Id7af18a4c39932d8685e3265bfa158494ffd10f0
2021-07-17 00:14:21 +00:00
bigbiff
70cf814036
gui makefile: this file is redundant and handled by Android.bp
...
Change-Id: Ia51a0300709b88636125b7131b769000254a40db
2021-07-07 20:20:14 +00:00
HemanthJabalpuri
c6512446af
gui: Fix TW_SCREEN_BLANK_ON_BOOT var in 6e0ca7dbed
...
Change-Id: I51ba03e13cd805f8aba6978e05fb3404b5ac0d7d
2021-07-05 11:32:29 +00:00
bigbiff
ab036619a4
apex: unmount flattened apex directory before installing zips
...
Change-Id: Idd1cadedcab94e81e30a487bd09f9173e5fe577e
2021-06-26 19:00:30 +00:00
epicX
9597b840bc
Normalized digest check before installing zip
...
Change-Id: I5a3e82f103e7a80800be7790f1c8dc33c76413da
(cherry picked from commit 646f4f0c66a918f12e12784b22e7dc9a89837c37)
2021-06-06 13:54:41 +00:00
bigbiff
6e0ca7dbed
themes: convert theme copying to a golang module
...
Change-Id: I0a1e4b79109cf9db93acb0575200f4ec8f72d3a2
2021-04-24 19:16:53 -04:00
bigbiff
d81833a5e5
libtwrpgui: convert gui to use new ziparchive library
...
Change-Id: Iea94855257c6d02c2f663c25d390cb1cfb91a727
2021-04-24 18:56:46 -04:00
Xdisk
28653c98b0
languages: add indonesian language
...
Change-Id: I49732e59711cdc2ff0900cd8d3d7b1a0ea1d2011
(cherry picked from commit 1a7bc78a32c65f99fb8d40eb0fe8695f83c7e7b0)
(cherry picked from commit a5a124141f9af569d32cd5ef1c5b5a3b8c3cddce)
2021-04-24 22:26:58 +00:00
Mohd Faraz
16c32046ec
gui: Fix mis merge
...
* Fix up not loading directly
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com >
Change-Id: I5a39c5a93aaa8f32855799f84a748ef5554b2481
2021-04-24 18:18:05 -04:00
Mohd Faraz
648ab676c0
gui: Reland TW_SCREEN_BLANK_ON_BOOT
...
* After bad merge c387622389
libguitwrp module get reloaded into the makefile, to fix this merge this patch added and TW_SCREEN_BLANK_ON_BOOT is
set in golang module
Change-Id: I68d2b9b93959a9b7a35251ed2118b8d5d2b84c90
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com >
2021-04-23 15:48:35 +00:00
bigbiff
7d7d0855d4
gui: fix bad merge
...
Change-Id: I67dc921a35e6dbc419bd9cfebcca66296b65d8e6
2021-03-27 17:03:43 -04:00
megafon929
9754a0771c
Updated Russian language
...
Change-Id: I0951175abdef591fe6b2089660ac822c2fbc9cce
(cherry picked from commit 050a22a861e0e35a1bea49a3db713848a7b62b8d)
2021-03-22 19:04:16 -04:00
Sean hoyt
c387622389
bootable: Change how blank screen works
...
This is required on some devices where previous to 8.1/8.0 the blank
screen flag worked but don't now.
Test: Tested on begonia, screen is now no longer black
Change-Id: Ib4ff607d220bcb1aa5166fea23cc7ecb0e012fdd
(cherry picked from commit 28d8dec40d60a31309fcf6259dad38cd328f0717)
2021-03-22 18:59:18 -04:00
epicX
9d80efa884
Allow all extension while checking for digest verification
...
Change-Id: Ie17582f144e0a5b5a68e2c6d88c26cb9f5a29ee6
(cherry picked from commit 57366118181ad8f78251dc034f55835e6947cc0a)
2021-03-12 23:47:05 +00:00