Commit graph

10040 commits

Author SHA1 Message Date
fredchiou
b44702a80a recovery_ui:Add support for multiple connectors switch
Bug: 199253219
Test: display can switch in recovery
Change-Id: If58ea5423f64420db3e5bd9307194b56129d6543
2022-08-29 13:16:29 +00:00
Treehugger Robot
c685fe9be8 Merge "Update static libs deps in recovery" 2022-06-30 00:15:42 +00:00
Treehugger Robot
ab532fdfc7 Merge "Convert recovery to use AIDL bootcontrol HAL" 2022-06-29 16:38:58 +00:00
Kelvin Zhang
58bbe3c959 Update static libs deps in recovery
Transitive dependency, need to add lz4 as static lib.

Test: th
Bug: 228478555
Change-Id: Ic73ad115c2def057f1e1bcb84b8bed8cdc08c1e6
2022-06-28 12:05:05 -07:00
Florian Mayer
a2a93106b7 Merge "[MTE] Reset memtag message on factory reset." 2022-06-28 18:21:12 +00:00
Florian Mayer
21d50b280f [MTE] Reset memtag message on factory reset.
Bug: 235255174
Test: https://gist.github.com/fmayer/8900b52636574ee079fa1943e5da918e
Change-Id: If42faa0417f9717d66eaa4247a88de61985b21b0
2022-06-23 13:39:22 -07:00
Kelvin Zhang
fa554fed44 Convert recovery to use AIDL bootcontrol HAL
Test: th
Bug; 227536004

Change-Id: I14c0c337c931d10c9b9865a1c15eaff8fedf191e
2022-06-22 14:46:05 -07:00
Florian Mayer
6adffc35b6 Merge "Add MISC_MEMTAG_MODE_MEMTAG_OFF." 2022-06-22 17:55:18 +00:00
Treehugger Robot
9d6ba81589 Merge "DO NOT MERGE - Skip SQ3A.220605.009" 2022-06-17 14:29:01 +00:00
Xin Li
b8042c8705 DO NOT MERGE - Skip SQ3A.220605.009
Bug: 236045730
Merged-In: I1a3e3f0be9b79ec4c309be8e257afbacd1336cdc
Change-Id: Ib017b0dfa357aaeabd24d7b0f44059b804de36ae
2022-06-16 22:50:38 -07:00
Florian Mayer
29ace0ba4c Add MISC_MEMTAG_MODE_MEMTAG_OFF.
This can be used as a killswitch to disable MTE from userspace.

Change-Id: I28ab4357c9ac3e088776f92a0e1f7d390b4b0bdc
2022-06-15 00:02:16 +00:00
Treehugger Robot
3dbcd4bfd7 Merge "Adding adbd module OWNERS for minadbd compilation unit as well." 2022-06-14 23:19:36 +00:00
Shaju Mathew
7a4ba1956a Adding adbd module OWNERS for minadbd compilation unit as well.
Test: N/A (applicable only for source management).

Signed-off-by: Shaju Mathew <shaju@google.com>
Change-Id: I644993fb09f1aa9b983b3eab94ed16826a1df39d
2022-06-13 23:31:09 +00:00
Treehugger Robot
305cc54c0b Merge "Track API change." am: 8318e3087b
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1955382

Change-Id: I99c19dbd03f9bbc459538040d1b1ab5cae015c91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 17:41:18 +00:00
Treehugger Robot
8318e3087b Merge "Track API change." 2022-06-13 17:14:01 +00:00
Treehugger Robot
f6f84d04b2 Merge "Fix logical bugs around access() POSIX call" am: e50efc781a
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2118747

Change-Id: Ic3c0ce1161b34d3edc2966d4622fc45460ca335d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 23:11:02 +00:00
Akilesh Kailash
b71f7757be Merge "update_verifier: Verify blocks" am: 5614437de3
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2039129

Change-Id: I53d5a16f78d647dbec57abc51b5d5208313443e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 23:03:33 +00:00
Treehugger Robot
e50efc781a Merge "Fix logical bugs around access() POSIX call" 2022-06-09 22:50:35 +00:00
Akilesh Kailash
5614437de3 Merge "update_verifier: Verify blocks" 2022-06-09 22:43:32 +00:00
Akilesh Kailash
dc1f6dadef update_verifier: Verify blocks
Check if the block verification was already done
by snapuserd daemon - If so, skip the verification
process. If daemon failed to verify the block,
update_verifier will fallback and continue
the verification.

Bug: 193863442
Test: OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I18946fb730376f19cce0738bd6765d5f5d0248b6
2022-06-08 06:28:08 +00:00
Artem Yudin
0cd72a9b62 Fix logical bugs around access() POSIX call
According to docs of access():
If the specified access is permitted, access() returns 0.
If the given file cannot be accessed in the specified way, access() returns -1

See my comment: https://android-review.googlesource.com/c/platform/bootable/recovery/+/883392/comments/e9b76d97_f4cab88d

Test: builds
Bug: 234887937
Change-Id: I5712d61e967566246603f23a62e2c7b708130b0d
2022-06-07 17:19:23 -07:00
Treehugger Robot
03ddefaaca [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 94bb8a80c7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I69ed2c017c42ceb5481ce5b18d07cfcbc3d24016
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-06 19:19:22 +00:00
Bill Yi
0a0ee7645c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dff2898c21 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I05542624f07e56108ba947438e870363b551a1f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-06 19:19:06 +00:00
Treehugger Robot
94bb8a80c7 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-06-06 18:31:02 +00:00
Bill Yi
dff2898c21 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I743e703cb2c2e449d4f51cea3e86e4575da0e9cf
2022-06-05 22:04:18 -07:00
Bill Yi
13a9313958 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9adb95505d8382d46b08cc3daf52f8640610f76b
2022-06-05 21:40:37 -07:00
Treehugger Robot
efc4279944 Merge "Fix memory leak in OTA verifier code" am: 65162cd9b0
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2106828

Change-Id: I1bf6b0d986f44aac1a34ed60a9147d5e051a88cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 23:09:27 +00:00
Treehugger Robot
65162cd9b0 Merge "Fix memory leak in OTA verifier code" 2022-05-25 22:38:57 +00:00
Kelvin Zhang
063bc24564 Fix memory leak in OTA verifier code
StartIteration() allocates some memory, which are release in
EndIteration(). Since we never called EndIteration(), these
memories are leaked.

Test: th
Bug: 233209345
Change-Id: I71c1d6eec16b8ac20c35e180f34fec50d0baec1a
2022-05-25 14:05:48 -07:00
Treehugger Robot
a53fa18a23 Merge "Log a copy of recovery log to kernel logs" am: 7c4d5accbf
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2070207

Change-Id: Ibef5beb86b9a3119af0b22bc40ce49c9a5a16dd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 07:21:54 +00:00
Treehugger Robot
7c4d5accbf Merge "Log a copy of recovery log to kernel logs" 2022-04-21 06:56:28 +00:00
Kelvin Zhang
3d0d9c35f6 Log a copy of recovery log to kernel logs
Currently, recovery logs are only saved to /tmp/recovery.log . That's
bad, because /tmp/recovery.log would not be available after reboot. To
help debugging recovery issues, log a copy to kernel log, which will be
saved in pstore after device reboots.

Bug: 228893064
Change-Id: I0f97b402726ecabe644f3ff5182f71bd16d0b111
2022-04-20 14:53:19 -07:00
Android Build Coastguard Worker
198786755a Snap for 8426946 from 0f3b76b764 to sc-qpr3-release
Change-Id: Idde56ebf605d08ca7e08a9150dd1fa57d74bf84e
2022-04-09 01:00:33 +00:00
Bill Yi
c6f9bd237c [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0f3b76b764
Blank merge reason: commit message contains skip directive

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

Change-Id: I1cc661f292d77c7ec2cd95fd0ed95cd1c2794fbc
2022-04-06 22:18:53 +00:00
Bill Yi
0f3b76b764 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a3e3f0be9b79ec4c309be8e257afbacd1336cdc
2022-04-06 22:18:45 +00:00
Xin Li
822cf94aa0 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: b58d4fcf35 -s ours
am skip reason: Merged-In I348aac2cfcf84032e2526d03cc0adc989d3d0153 with SHA-1 db22144a52 is already in history

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

Change-Id: Ibe43263c0331367cc4d9d3b724a641d66a8d4695
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 07:11:36 +00:00
Xin Li
b58d4fcf35 Merge Android 12 QPR3 ab/8391262
Bug: 226662282
Merged-In: I348aac2cfcf84032e2526d03cc0adc989d3d0153
Change-Id: I3655929e9307512167df285c48f9de934586821e
2022-04-01 20:31:48 +00:00
Treehugger Robot
db22144a52 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 5887c94640 -s ours am: 15526e76d2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I348aac2cfcf84032e2526d03cc0adc989d3d0153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 07:36:51 +00:00
Bill Yi
2f240eb127 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4a90a95898 -s ours am: 4b1d99057d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I985182b7889a158ea1fafcd360378b5c7ecd0654
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 07:36:49 +00:00
Treehugger Robot
15526e76d2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 5887c94640 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If7ea2e6851196f899936394d8d6bb8023d25ea5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 07:02:22 +00:00
Bill Yi
4b1d99057d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4a90a95898 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie7d68d9e9f951cf0c9ccff937657fa387c0d9cf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 07:02:20 +00:00
Bill Yi
95ca15af7c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 74358b5a15 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icdcd16a699b354da4d167a9eef38a9d9983f13b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 06:53:06 +00:00
Treehugger Robot
5887c94640 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-03-28 06:27:28 +00:00
Bill Yi
4a90a95898 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieeffbbc34b4a5187b46bf6fe561855128a25f002
2022-03-27 03:54:06 +00:00
Bill Yi
74358b5a15 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0ef125e2a7561cb05450853215ac168a2e946f30
2022-03-26 23:43:07 +00:00
Shikha Malhotra
7c606c05ed Merge "Enable ProjectID by default." am: 29e218afd6 am: de26b580d7
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2030163

Change-Id: I88c6a5c56b59df3fd6330f824f7add50010e7883
2022-03-22 17:04:53 +00:00
Shikha Malhotra
de26b580d7 Merge "Enable ProjectID by default." am: 29e218afd6
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2030163

Change-Id: Id87779000ce07048864c0959cdb682b861529810
2022-03-22 16:49:24 +00:00
Shikha Malhotra
29e218afd6 Merge "Enable ProjectID by default." 2022-03-22 16:32:39 +00:00
Eric Biggers
41475f64f7 Merge "Remove support for converting from FDE to FBE" am: 37a4f4d243 am: a062eda2e8
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2026966

Change-Id: I8511caaee264218ca6fa1aaa310488b0446fa43d
2022-03-17 22:42:57 +00:00
Eric Biggers
a062eda2e8 Merge "Remove support for converting from FDE to FBE" am: 37a4f4d243
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2026966

Change-Id: I00095ffbebe62f5e1816fae41625f36b7171dd1c
2022-03-17 22:19:14 +00:00