Commit graph

10907 commits

Author SHA1 Message Date
Florian Mayer
9ff5549670 Add flag whether MTE state was forced
This will be used by mtectrl to remember whether the MTE state was
overriden using the force_on / force_off flags or set by the user. We
need that information when the force_on / force_off flag is reset.

Bug: 291106070
Change-Id: I6178f0b88b718e96e5c8ee39113848f422e5fb6d
2023-07-14 11:07:30 -07:00
Chuong Hoang
1937b3fd30 Merge "Read brightness-related properties from ro.recovery.ui" 2023-07-06 02:23:16 +00:00
Chuong Hoang
0b6c017613 Read brightness-related properties from ro.recovery.ui
This allows configurable brightness levels and file paths through
BoardConfig.

Bug: 221048336
Test: brightness file paths and levels are successfully overwritten on
devices that don't use default values.

Change-Id: I357dc58b7b3d9784554c68cbb86fe345a5587735
2023-06-30 04:38:53 +00:00
Elliott Hughes
c4e7b82c44 Merge "Use the hermetic gzip instead of minigzip." 2023-06-29 14:23:54 +00:00
Elliott Hughes
da675a945f Use the hermetic gzip instead of minigzip.
Bug: http://b/288169261
Test: treehugger
Change-Id: I7cb3d5468a79faedcae13d75913f11f5a8ea9e80
2023-06-21 10:10:42 -07:00
Abhishek Nigam
2b4e47be5a Merge "Wear Recovery UI: Adjust for round screens" am: a7d1d0256c
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2623222

Change-Id: Ibb46a19cb1420a1cea952958b75a34b85b50d464
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:09 +00:00
Abhishek Nigam
a7d1d0256c Merge "Wear Recovery UI: Adjust for round screens" 2023-06-16 03:10:14 +00:00
Abhishek Nigam
ebc02271ec Wear Recovery UI: Adjust for round screens
Change-Id: Ice4b8d4fcdc37ee1ca44ef195cb870b141862f08
2023-06-16 01:45:53 +00:00
Treehugger Robot
277d749be1 Merge "Reclassify OFL as notice per cl/537072410" am: 1551e6a0a4
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2611893

Change-Id: I99b173f3868b5d07c6ed65004b0cfece331ff112
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 17:38:59 +00:00
Treehugger Robot
1551e6a0a4 Merge "Reclassify OFL as notice per cl/537072410" 2023-06-08 16:33:00 +00:00
Treehugger Robot
86bdd15b0d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 75174e01fc -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2614849

Change-Id: I6c55c3328b6eea8587ee4482f43fdf8e1aaf9817
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:53:21 +00:00
Bill Yi
505f285d9c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4e82387e76 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2614849

Change-Id: I6b283f213f09349f0bebccb3ea38c03e83eaa684
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:53:19 +00:00
Treehugger Robot
75174e01fc Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-06-05 18:31:41 +00:00
Bill Yi
4e82387e76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I17765c3053bc4aa4393dd29ae24a1e8661260b88
2023-06-04 19:25:21 -07:00
Bill Yi
ba65232a4e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I869a134a4ffc469c2dd2a62c95c37e90c3ab94ad
2023-06-04 12:14:27 -07:00
Bob Badour
033f943eef Reclassify OFL as notice per cl/537072410
Test: m droid dist

Change-Id: If296ee54462755b7f8b0657df317cf27b43a381a
2023-06-01 22:11:19 +00:00
Treehugger Robot
be4883c025 Merge "Rotate logs on every boot" am: 08ddd4179a
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2606292

Change-Id: Iacf2711d418ba06d8c1f6047d969e34f61954c21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 13:27:33 +00:00
Treehugger Robot
08ddd4179a Merge "Rotate logs on every boot" 2023-06-01 12:43:52 +00:00
Kelvin Zhang
55a0bb8856 Rotate logs on every boot
Currently, recovery-persist only rotates the logs if it can parse
/sys/fs/pstore/pmsg-ramoops-0 . Change this behavior to always rotate
last kernel log if present. This helps collect more debug logs when
troubleshooting boot failures.

Test: reboot device, make sure logs are rotated
Change-Id: I41da2eda3c6c241e90208af888e9e35bec0474fe
2023-05-30 06:39:56 -07:00
Treehugger Robot
44442d388c Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2023-04-24 21:17:15 +00:00
Steven Moreland
ae8c829600 Merge "Explicit init .rc user." am: 0e8d497ee1
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2536854

Change-Id: I5f65abeb8fd5139516e6870053f5a027d7ebe8a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-24 18:28:31 +00:00
Steven Moreland
0e8d497ee1 Merge "Explicit init .rc user." 2023-04-24 18:19:00 +00:00
Bill Yi
3857521cc5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a311c04f27090927dc67692c3fcfc076c58ca6d
2023-04-21 23:29:06 -07:00
Xin Li
76dff2b45b Merge Android 13 QPR3 tm-qpr-dev-plus-aosp-without-vendor@9936994
Bug: 275386652
Merged-In: I14709252f2cd771891cfacbbba7ce4372c78efa9
Change-Id: Id30afd0dfafba9d57bb32f238a98aee5cff62d91
2023-04-18 16:31:48 -07:00
Steven Moreland
98322a3775 Explicit init .rc user.
Set the user explicitly.
Bug: 276813155
Test: boot

Change-Id: I26ee9db2a82dc89b35e551782b6b1d942e72c8cd
2023-04-14 16:12:23 +00:00
Roy Luo
66f35e60a5 Merge "Configure USB gadget maximum power" am: 772939db8b am: db04d6a1e9
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2525019

Change-Id: I01d58a5b5d9f1dc54863f92420c8e014fa4d89ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 08:53:48 +00:00
Roy Luo
db04d6a1e9 Merge "Configure USB gadget maximum power" am: 772939db8b
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2525019

Change-Id: I759fb17d25a36a1e118076f32d60ccd7f986852d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 08:23:59 +00:00
Roy Luo
772939db8b Merge "Configure USB gadget maximum power" 2023-04-06 08:00:18 +00:00
Roy Luo
fe37b5ebbc Configure USB gadget maximum power
The default 2mA would be applied if the field is left
unconfigured. Configure the gadget to use full power.

Test: boot to userspace fastbootd and recovery
Bug: 277022505
Change-Id: I18abd98b62f5ce8d35062debad8100d87140bdba
2023-04-06 00:27:51 +00:00
Bill Yi
875c09e85f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 36956e3bb8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/22391284

Change-Id: Icac43b64c33ba49f501225bf1250562860f810c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-02 04:25:57 +00:00
Bill Yi
36956e3bb8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I14709252f2cd771891cfacbbba7ce4372c78efa9
2023-03-31 16:46:15 -07:00
Treehugger Robot
935ccea458 Merge "Add ZSTD dependency for recovery" am: d97f317e0d am: 9a6e61051c
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2439633

Change-Id: Ia94873c92de074dace8a8c58a176190505ce0c3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 20:15:41 +00:00
Treehugger Robot
9a6e61051c Merge "Add ZSTD dependency for recovery" am: d97f317e0d
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2439633

Change-Id: I57ebdcc415bdf0a124aba447a16005f2a315f682
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 19:40:33 +00:00
Treehugger Robot
d97f317e0d Merge "Add ZSTD dependency for recovery" 2023-03-17 18:55:07 +00:00
Kelvin Zhang
04a9449c30 Add ZSTD dependency for recovery
In prepartion for adding ZSTD support to OTA.

Bug: 274129758

Change-Id: I036a6a21eaac2eb5b31aaec072f2eb28bbc622aa
2023-03-17 17:23:30 +00:00
Treehugger Robot
2643880e5d Merge "Allow brick OTA package to be sideloaded in recovery" am: aff08259ec am: 2f5744f57e
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2486129

Change-Id: Ifa99533458d7a01e2a0a736ef2929f220adce9b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 04:17:35 +00:00
Treehugger Robot
2f5744f57e Merge "Allow brick OTA package to be sideloaded in recovery" am: aff08259ec
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2486129

Change-Id: I14bd01d88930021d2c9f074016616daabf5ac39f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 03:41:05 +00:00
Treehugger Robot
aff08259ec Merge "Allow brick OTA package to be sideloaded in recovery" 2023-03-15 02:55:18 +00:00
Kelvin Zhang
d528b41591 Merge "Require serialno field for brick OTA package on release-key devices" am: 00bfe128f9 am: 421625f458
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2486120

Change-Id: Iaa057500b6fd0dd67caee2dd3b45f2ca953b4060
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 01:00:26 +00:00
Kelvin Zhang
421625f458 Merge "Require serialno field for brick OTA package on release-key devices" am: 00bfe128f9
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2486120

Change-Id: I58087c7e132a714cdedf3984906e49f78e233b85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:20:45 +00:00
Kelvin Zhang
170ad59954 Allow brick OTA package to be sideloaded in recovery
Makes testing easier, brick packaegs can now be tested directly in
recovery w/o having to go through GOTA.

Test: adb sideload brick_ota.zip
Bug: 273561331
Change-Id: I48214dc03e63b69e61fc217bc3f58923bb90a9a6
2023-03-14 17:10:42 -07:00
Kelvin Zhang
00bfe128f9 Merge "Require serialno field for brick OTA package on release-key devices" 2023-03-14 23:42:36 +00:00
Kelvin Zhang
2a8c6e0842 Require serialno field for brick OTA package on release-key devices
Bug: 273561331
Test: th
Change-Id: Ifba030dca61275bb05bc5a8b62413830d28ba2d4
2023-03-14 12:29:52 -07:00
Jaewan Kim
89ece764fe Merge "Stop mentioning about ALLOW_ADBD_NO_AUTH" am: 19e9af0a99 am: 6f24f52f79
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2477204

Change-Id: I96fa04320210deae914d1a22ed37abbac6971445
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 18:33:55 +00:00
Jaewan Kim
6f24f52f79 Merge "Stop mentioning about ALLOW_ADBD_NO_AUTH" am: 19e9af0a99
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2477204

Change-Id: I4ab6209dd454424ad149a7275b9e2e7e7623ba9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 17:59:56 +00:00
Jaewan Kim
19e9af0a99 Merge "Stop mentioning about ALLOW_ADBD_NO_AUTH" 2023-03-08 17:34:24 +00:00
Elliott Hughes
a3954457b0 Stop mentioning about ALLOW_ADBD_NO_AUTH
ALLOW_ADBD_NO_AUTH is removed, so better not mention it.

Test: Build
Change-Id: Id9d730475165a38cf340e10febffe2e5a9da6725
2023-03-08 16:00:37 +00:00
Bill Yi
75487a6670 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 643d8b4bf9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/21604884

Change-Id: I2e34c9471b34a0d291eb02a403fcfbe2f26cfeb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 05:10:59 +00:00
Bill Yi
643d8b4bf9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie22d022ae68259aa2740b6ce8b74796cf5a006b3
2023-02-26 20:26:23 -08:00
Treehugger Robot
1d35655b87 Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eaccd3 am: 4139617b9e
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2434913

Change-Id: I2aef5f1d6e87d8544da2c6064b9838dc8e092113
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 09:07:30 +00:00