Tianjie Xu
f552eceec1
Merge "Revert "Add mechanism for device-specific loop images"" am: fff38d9446 am: df59e19ca3
...
am: 1c194f2a81
Change-Id: Id4d83094f00bc424278ac5811676cc0ca8b7233e
2019-12-09 14:41:30 -08:00
Tianjie Xu
1c194f2a81
Merge "Revert "Add mechanism for device-specific loop images"" am: fff38d9446
...
am: df59e19ca3
Change-Id: I4a1953e72c1e63082bc89844930c9482dba97ce7
2019-12-09 14:38:57 -08:00
Tianjie Xu
df59e19ca3
Merge "Revert "Add mechanism for device-specific loop images""
...
am: fff38d9446
Change-Id: Ia86a156bbb90c39edf470b04892842bb27251348
2019-12-09 14:36:27 -08:00
Tianjie Xu
fff38d9446
Merge "Revert "Add mechanism for device-specific loop images""
2019-12-09 22:33:15 +00:00
Joshua Lambert
94a83be42a
Revert "Add mechanism for device-specific loop images"
...
This reverts commit fd6a2c226d .
Reason for revert: Mechanism already exists:
https://source.android.com/devices/tech/ota/nonab/device_code#recovery-ui-images
Change-Id: Ic7b640b5d435cfb6f5c2610a2534405fb9415936
2019-12-09 20:24:18 +00:00
Tianjie Xu
517c86e68a
Merge "Add mechanism for device-specific loop images" am: d81bb36b5b am: 5446037552
...
am: f165c5c4be
Change-Id: Iad6d72f2d7eae27f593165cf8e994ec291970a90
2019-12-06 14:58:34 -08:00
Tianjie Xu
f165c5c4be
Merge "Add mechanism for device-specific loop images" am: d81bb36b5b
...
am: 5446037552
Change-Id: I5c3afdc9453e9c06fb7f6a51af2503905e83ac9f
2019-12-06 14:56:03 -08:00
Tianjie Xu
5446037552
Merge "Add mechanism for device-specific loop images"
...
am: d81bb36b5b
Change-Id: I12e9dc1f21185040bdae10fa5c63e08f3cfccb9a
2019-12-06 14:53:32 -08:00
Tianjie Xu
d81bb36b5b
Merge "Add mechanism for device-specific loop images"
2019-12-06 22:46:01 +00:00
Joshua Lambert
fd6a2c226d
Add mechanism for device-specific loop images
...
Bug: 144974129
Test: Manual - Testing OTA and Factory Reset
1) Tested with matching device name ({devicename}00000.png)
2) Tested with no matching device name (uses loop00000.png default)
3) Tested with empty string device name (uses loop00000.png default)
Change-Id: I4c73af82ab8826d1a43fe193a7616bc219d536e4
2019-12-06 12:56:50 -08:00
Automerger Merge Worker
f08ecf44a1
Merge "Merge Android10 QPR1 into AOSP master" am: 2a9ddbb108 am: 9cc8880f6e
...
Change-Id: Idc43039d398b2b9782ead62a3214cde439c937fb
2019-12-04 16:57:41 +00:00
Xin Li
9cc8880f6e
Merge "Merge Android10 QPR1 into AOSP master" am: 2a9ddbb108
...
am: 5af5b037db
Change-Id: Ia6ef910a5d17f1cf28e80503d2f9e12103350ca0
2019-12-04 08:07:30 -08:00
Xin Li
5af5b037db
Merge "Merge Android10 QPR1 into AOSP master"
...
am: 2a9ddbb108
Change-Id: I2adee5408e91984a7bbd357a7b925155c496c028
2019-12-03 16:07:23 -08:00
Treehugger Robot
2a9ddbb108
Merge "Merge Android10 QPR1 into AOSP master"
2019-12-03 23:14:58 +00:00
Xin Li
9a6db8d62d
Merge Android10 QPR1 into AOSP master
...
Bug: 145570283
Change-Id: I630eb6403a72db8b7db6857d8c12284aa9ffa1ef
2019-12-02 21:25:01 -08:00
Tianjie Xu
8c1e2f2425
Merge "Move misc_writer to hardare/google/pixel" am: 21d3b89cc5 am: 8295228a79
...
am: 1ebc897872
Change-Id: I7e083a054d472b5730a80e814d9204c87eeca7d5
2019-12-02 15:52:08 -08:00
Tianjie Xu
1ebc897872
Merge "Move misc_writer to hardare/google/pixel" am: 21d3b89cc5
...
am: 8295228a79
Change-Id: Iaa38917e84f6ce47054fb1b6b5f952d91aa8b90f
2019-12-02 15:45:02 -08:00
Tianjie Xu
8295228a79
Merge "Move misc_writer to hardare/google/pixel"
...
am: 21d3b89cc5
Change-Id: I031db0c335c66db5a976064995570c81e92246e0
2019-12-02 15:40:26 -08:00
Tianjie Xu
21d3b89cc5
Merge "Move misc_writer to hardare/google/pixel"
2019-12-02 23:34:11 +00:00
David Anderson
6199cb2aa8
Merge "bootloader_message: Add a magic header to the Virtual A/B message block." am: f78b7a7b94 am: da8658b78b
...
am: 1c4c878740
Change-Id: I1695e2b4d6f05cf0e9eba9ed0f7da11f53c193ae
2019-11-22 12:25:12 -08:00
David Anderson
1c4c878740
Merge "bootloader_message: Add a magic header to the Virtual A/B message block." am: f78b7a7b94
...
am: da8658b78b
Change-Id: I18f6a1a71df38fc6ae6347830a27d6f5dddc3287
2019-11-22 12:22:11 -08:00
David Anderson
da8658b78b
Merge "bootloader_message: Add a magic header to the Virtual A/B message block."
...
am: f78b7a7b94
Change-Id: I81378cf209b929390c88bc83e51fd1f7bfa6fcb3
2019-11-22 12:16:10 -08:00
David Anderson
f78b7a7b94
Merge "bootloader_message: Add a magic header to the Virtual A/B message block."
2019-11-22 20:02:36 +00:00
David Anderson
682d2a5db2
bootloader_message: Add a magic header to the Virtual A/B message block.
...
This adds a sanity check in addition to the version number in case misc
contains random bits.
Bug: 139156011
Test: manual test
Change-Id: Ie4f3731d2b1795340881c88e0c4eec9cd4432653
2019-11-20 16:23:52 -08:00
Tianjie Xu
7d00475162
Merge "Clear the warm_reset flag after boot is successful" am: ca18e7fe5a am: 6ca0488c4a
...
am: f6c107d1ea
Change-Id: Idf0656eb88c1a5db992d3a6ebfe719075071aaf8
2019-11-18 15:55:12 -08:00
Tianjie Xu
f6c107d1ea
Merge "Clear the warm_reset flag after boot is successful" am: ca18e7fe5a
...
am: 6ca0488c4a
Change-Id: If68e37558967a323705ba9b229ed64ca553ae21f
2019-11-18 15:43:13 -08:00
Tianjie Xu
6ca0488c4a
Merge "Clear the warm_reset flag after boot is successful"
...
am: ca18e7fe5a
Change-Id: I6253c40ca4649f62ac8383acdbbdc712dde98609
2019-11-18 15:39:42 -08:00
Tianjie Xu
ca18e7fe5a
Merge "Clear the warm_reset flag after boot is successful"
2019-11-18 23:15:43 +00:00
David Anderson
b72291bd20
Merge "Force merges to complete before wiping data or metadata." am: 8444dec7ac am: bc4b39efff
...
am: 49c03e1bab
Change-Id: Ibb9a2c341982e8d39a5163e527472b5faf526d73
2019-11-14 20:46:34 -08:00
David Anderson
49c03e1bab
Merge "Force merges to complete before wiping data or metadata." am: 8444dec7ac
...
am: bc4b39efff
Change-Id: Iac20a6d65d48b2014aea4d118d730e933950e2e1
2019-11-14 20:42:33 -08:00
David Anderson
bc4b39efff
Merge "Force merges to complete before wiping data or metadata."
...
am: 8444dec7ac
Change-Id: If50fd0536584c8e1271ea6212c9fe76e9b208b22
2019-11-14 20:38:26 -08:00
David Anderson
8444dec7ac
Merge "Force merges to complete before wiping data or metadata."
2019-11-15 04:27:59 +00:00
Tianjie Xu
88bf6d20eb
Clear the warm_reset flag after boot is successful
...
The property is set to inform kernel to do a warm_reset on the next
reboot. This is useful to persist the logs to debug device boot
failures. After the slot has been marked as boot successful, we can drop
the warm_reset flag to avoid the performance overhead on the next
reboot.
Bug: 143489994
Test: check the property is set to 0 by update_verifier
Change-Id: I722fb1906e6efa56dfc4ad7beccd5e2ba7e0ef7c
2019-11-14 17:43:56 -08:00
Tianjie Xu
28064ccf0b
Move misc_writer to hardare/google/pixel
...
Because the library is pixel specific.
Bug: 131775112
Test: build
Change-Id: Ib62230bb2ab4d67864827e08375250fbfe189ed4
2019-11-13 15:59:55 -08:00
Tianjie Xu
5d1f8cdc82
Merge "Consolidate the vendor space misc usage for Pixels" am: 423f0d109b am: 85808f6a69
...
am: f0f95decb3
Change-Id: Id682d2089c3f0a0c56670e5e81fad6513e2fc46c
2019-11-13 14:41:58 -08:00
Tianjie Xu
f0f95decb3
Merge "Consolidate the vendor space misc usage for Pixels" am: 423f0d109b
...
am: 85808f6a69
Change-Id: I52ea38012af730ad58426e9238b6a5d59184ac29
2019-11-13 14:38:27 -08:00
Tianjie Xu
85808f6a69
Merge "Consolidate the vendor space misc usage for Pixels"
...
am: 423f0d109b
Change-Id: Iebafc18e0ae8ee54aab3008a7767a3901bb038cd
2019-11-13 14:35:07 -08:00
Tianjie Xu
423f0d109b
Merge "Consolidate the vendor space misc usage for Pixels"
2019-11-13 22:24:19 +00:00
Tom Cherry
26dde7e04d
Merge "Fixed typo during stopping fastboot" am: 8834b4ea0a am: cfcadc3b33
...
am: da369dd305
Change-Id: I0b023670ea67b0e72c49b50a838e8169367650f3
2019-11-13 12:40:21 -08:00
Tom Cherry
da369dd305
Merge "Fixed typo during stopping fastboot" am: 8834b4ea0a
...
am: cfcadc3b33
Change-Id: Ie29311740033f6581f4fdcfe66cb65c970de7ebe
2019-11-13 12:36:21 -08:00
Tom Cherry
cfcadc3b33
Merge "Fixed typo during stopping fastboot"
...
am: 8834b4ea0a
Change-Id: I80d1cf7fb447f4377b3cac7fd495289af1c961a9
2019-11-13 12:32:20 -08:00
Tom Cherry
8834b4ea0a
Merge "Fixed typo during stopping fastboot"
2019-11-13 20:18:22 +00:00
Tom Cherry
e57fdb72f2
[automerger skipped] Merge "Move init and ueventd scripts from / to /system/etc" am: 154f7e9b79 am: 054861f9eb -s ours
...
am: 038282ddfb -s ours
am skip reason: change_id I1fb6690d4302a1884d8521c21a9754b2ca710d5a with SHA1 24dd3146e1 is in history
Change-Id: I47bc5a96164ccb51882b6237b46497b107d31542
2019-11-13 08:21:18 -08:00
Tom Cherry
038282ddfb
[automerger skipped] Merge "Move init and ueventd scripts from / to /system/etc" am: 154f7e9b79
...
am: 054861f9eb -s ours
am skip reason: change_id I1fb6690d4302a1884d8521c21a9754b2ca710d5a with SHA1 24dd3146e1 is in history
Change-Id: I6f54fad5521da4145893b3ad9dc70548ffbc4f08
2019-11-13 08:13:36 -08:00
Tom Cherry
054861f9eb
Merge "Move init and ueventd scripts from / to /system/etc"
...
am: 154f7e9b79
Change-Id: I60b076de3aefa8dc40cac3b36965857ab48429f8
2019-11-13 08:05:59 -08:00
Tom Cherry
154f7e9b79
Merge "Move init and ueventd scripts from / to /system/etc"
2019-11-13 14:36:47 +00:00
Dmytro Prokopchuk
df35405a4b
Fixed typo during stopping fastboot
...
Change-Id: I0a589d068807e255654c7e62831423f944b5cdc3
Signed-off-by: Dmytro Prokopchuk <dmytro.prokopchuk@globallogic.com >
2019-11-13 13:30:17 +02:00
Tianjie Xu
3d57c84476
Consolidate the vendor space misc usage for Pixels
...
The layout of the vendor space /misc partition was pretty confusing and
lead to some usage conflicts. To formalize the layout, we create a pixel
specific library with the definition & offset of various flags. The new
library also handles the R/W. As a result, we will leave system domain
/misc definitions in the libbootloader_message.
We also switch the misc_writer binary to use more specific options
instead of writing an arbitrary hex string. So we can avoid redefining
the string & offset in both init script and recovery ui.
Bug: 131775112
Test: unit tests pass, run misc_writer and check contents of /misc
Change-Id: I00f8842a81d1929e31a1de4d5eb09575ffad47c0
2019-11-12 10:53:04 -08:00
Tom Cherry
a762387a5b
Merge "Move init and ueventd scripts from / to /system/etc" into qt-qpr1-dev-plus-aosp
...
am: e5939e8297
Change-Id: If9b38a494e6385ccd2e5ae31c15d5d429b082efc
2019-11-12 07:57:06 -08:00
Tom Cherry
e5939e8297
Merge "Move init and ueventd scripts from / to /system/etc" into qt-qpr1-dev-plus-aosp
2019-11-12 15:46:21 +00:00