Will McVicker
f6de971bb3
gs101: recovery: add wait for dwc3 device to probe
...
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.
Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
2021-10-14 07:31:26 +00:00
Wei Wang
e87d6dbf34
Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2 am: 5ed8a0d19a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ie3366c9f5b902de63fa83b4b9d79767989d39718
2021-10-13 06:41:27 +00:00
Wei Wang
0598dd35f3
Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186 am: 6b6d813677
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I5e4e8abcccdc8ee92d0113228c2706b5eb59af02
2021-10-13 06:41:17 +00:00
Wei Wang
2ba110036d
Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ib3d18a7d227aac36c894623073c6ac6482a510e2
2021-10-13 06:31:41 +00:00
Wei Wang
f8cfca0d70
Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: Ic570e47e40cfac0944e7317b76dd55e8dafa31cb
2021-10-13 06:29:42 +00:00
Wei Wang
43c94bc18a
Use sysbg group for system background jobs am: 4599c16628
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I2c01c2614a309b1cbca412cb2dbc79cc3cb9c36e
2021-10-13 06:16:24 +00:00
Wei Wang
0d2642fa60
Use sysbg group for system background jobs am: 4599c16628
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425
Change-Id: I3e0059ec5d491b157f460a8f311ba2fe47dc8ddd
2021-10-13 06:16:23 +00:00
Wei Wang
414066f103
Use sysbg group for system background jobs
...
Bug: 201428466
Test: Build and boot check system_server's sched group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I03396b661788de0a5963e29abfd95f609e9dc7ec
2021-10-12 13:50:57 -07:00
David Brazdil
ae3c59fc0b
Revert^2: pKVM: Include pvmfw and virt APEX in gs101 builds
...
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
Also move BOARD_* variables specifying location and partition size of
pvmfw from vendor board config file here.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: build a gs101 target, check /apex/com.android.virt exists
Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
2021-10-12 16:12:39 +00:00
David Brazdil
efcaa740ad
Revert "pKVM: Include pvmfw and virt APEX in gs101 builds"
...
Revert "Include pvmfw variables in all gs101 builds"
Revert submission 16007088-pkvm-apex-gs101
Reason for revert: Fails on checkouts without vendor
Reverted Changes:
I238181780:Include pvmfw variables in all gs101 builds
Iefd7e1dc5:pKVM: Include pvmfw and virt APEX in gs101 builds
Bug: 202827425
Bug: 192819132
Change-Id: I08b0b2ac09f68847ad9bfabc39423de408fa6632
2021-10-12 13:21:18 +00:00
David Brazdil
625b010c8a
pKVM: Include pvmfw and virt APEX in gs101 builds
...
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: flash, check /apex/com.android.virt exists
Change-Id: Iefd7e1dc5e0c1f23ff66e8b282c94a3b85f7cc3e
2021-10-12 09:31:30 +00:00
eddielan
bee19e91dd
fingerprint: Enable HIDL fingerprint status flag am: 93073646f4 am: dc7447ee3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384
Change-Id: I77a96a69f2bb48bbe65c47a647374a1d5d707af7
2021-10-12 03:24:24 +00:00
eddielan
0729e90055
fingerprint: Enable HIDL fingerprint status flag am: 93073646f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384
Change-Id: Ie7c4e789f5aefd4b1a50e955cda33a24dd2c0e58
2021-10-12 03:09:20 +00:00
eddielan
01459cea67
fingerprint: Enable HIDL fingerprint status flag
...
Bug: 202485883
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I67d39a91c24e3d91a029422fd8860de6d74a8422
2021-10-12 02:58:16 +00:00
Edwin Tung
d536d3970e
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours am: 7f6deea673 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I212159980edda69a829e3de613a7ebd9edb55064
2021-10-08 15:46:17 +00:00
Edwin Tung
c3dab3018b
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours am: 024ee79b4b -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I4d2eedb83552b87cf7153ea6f4de325d44d023e9
2021-10-08 15:46:04 +00:00
Edwin Tung
bd81fb0ac2
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: Ib701c70fdaf88c9bf6a8584c55e780964f6751cf
2021-10-08 15:29:39 +00:00
Edwin Tung
4caafe9a69
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I671f059b70d2f17a8c545375d70f48271cc90be5
2021-10-08 15:28:51 +00:00
Edwin Tung
7e1adeaf82
[automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: Ib247d37517279c4acae596483ece50383299da58
2021-10-08 15:14:29 +00:00
Edwin Tung
3f7cc79132
[DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111
Change-Id: I16e4d4b540c7751a0dacdd099a2e9059fe3383d3
2021-10-08 15:10:54 +00:00
Edwin Tung
7d0d2634ef
[DO NOT MERGE] gps: update gps driver 129.20.23.516938
...
Rescale accuracy confident to 67% for AGPS NI request
Fix velocity URE in SatellitePvt
Fix scd crash
Enhance log mechanism
Fix avc denied
Force 1 sec interval in emergency mode
Bug: 199581865
Bug: 200654813
Bug: 201514516
Bug: 197196725
Bug: 201382800
Bug: 201729040
Sanity Test: 202280989
Test: build pass
Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-08 14:55:53 +00:00
David Brazdil
c439f780ee
Enable hypervisor on pKVM builds
...
gs101 builds are getting experimental support for pKVM which can be
enabled either using fastboot or with misc_writer. For _pkvm builds we
want the device to automatically enable pKVM for testing. This patch
adds a new early-init service which checks for the presence of /dev/kvm
and if not found, writes to /misc and forces a reboot.
Bug: 192819132
Bug: 202484976
Test: flash a _pkvm build, observe double-reboot, check /dev/kvm exists
Change-Id: I3834b3e4c6118b3f6e4093ce52d5b94117eca29c
2021-10-08 11:20:14 +00:00
Sayanna Chandula
d6bde6c1ce
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7 am: 5c78a030da
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I36e081fa724d5f49bb3275ed774f882a73431302
2021-10-08 05:50:37 +00:00
Sayanna Chandula
3f87fa2005
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1 am: 4e8f38a0a3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I1646e7f0f9747ba8913f0c6fc25cd5167fc64df4
2021-10-08 05:50:22 +00:00
Sayanna Chandula
476b9e44a5
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I12a8a2e85570a5f32bcef2c5333c816dab605ea4
2021-10-08 05:37:38 +00:00
Sayanna Chandula
57cc3f1086
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: Ibfd7e64cb57c5597556344143cd054d3dd87b925
2021-10-08 05:37:23 +00:00
Sayanna Chandula
611e6d7a25
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I31be22450d7f850a8f8ba274f6ba60c3a0a8a513
2021-10-08 05:27:29 +00:00
Sayanna Chandula
8ee1d91ea4
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: Ifc58cbba65ad635fa4c9dd33886d737d4c53d3b4
2021-10-08 05:25:01 +00:00
Sayanna Chandula
b4d3792d59
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I89c042150bc17229097cfae4a88b122f7f0b395d
2021-10-08 05:13:03 +00:00
Sayanna Chandula
e2da019e13
Revert "powerhint: thermal: Support powerhint to change tmu control-temp"
...
This reverts commit 7769380db2427d19bbcfad12af08818e75988068.
During debugging of b/192030129, it was observed that setting trip temp
followed by a suspend results in temperature getting struck at 10
degrees. Reverting powerhint change will disable dynamic setting of
trip temp and thus avoiding the 10 degree issue.
Bug: 192030129
Test: build and boot on device
Change-Id: I42ca12be23abf9c48fb2985f1506557d0fb93c1c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-07 21:58:17 +00:00
Wei Wang
b5d3027064
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b am: e2d1da80c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I4002c44067a3d698e997ac2778f0274412905e30
2021-10-07 20:04:12 +00:00
Wei Wang
50efa1eedd
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990 am: ad3ccecad6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I74d5b6438fa13d65ccb395d137eae5a508ce7b81
2021-10-07 20:04:04 +00:00
Wei Wang
6b85de869a
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I208140c9affe1844b739667426345809dc0a303e
2021-10-07 19:43:59 +00:00
Wei Wang
31ccc310e2
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I4861ecc4b3df9e5df9abaab87fcee8d8cb4d5727
2021-10-07 19:43:51 +00:00
Wei Wang
ca8e0700fe
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I0165f047141bc44b419b7c30feebf4ef641d3862
2021-10-07 19:29:46 +00:00
Wei Wang
5a3e0e98e9
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: If46b121ad07401849082b2db6557dbe490813b12
2021-10-07 19:29:45 +00:00
Wei Wang
a89970daa6
Remove DISABLE_TA_BOOST completely
...
Bug: 199292504
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibcdb9b5968268be9765654c691910dfe7ba549ac
2021-10-07 10:30:20 -07:00
Pierre-Clément Tosi
b7662784fc
gs101: Build pvmfw.img through the Android framework
...
Enable building pvmfw.img through PRODUCT_BUILD_PVMFW_IMAGE for products
that currently enable pKVM. Note that the board-provided
BOARD_PREBUILT_PVMFWIMAGE may still overshadow that flag.
Bug: 199831815
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I47713648b795fd7e0f4c0d5a868a1abafea47588
2021-10-07 08:40:15 +00:00
eddielan
8f0a85d99e
fingerprint: Add suez config am: 064b80a273 am: c54fb82302
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309
Change-Id: Idd6ca968223b5c350f3de4efe975fe28f2610723
2021-10-07 04:08:17 +00:00
eddielan
27e5207339
fingerprint: Add suez config am: 064b80a273
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309
Change-Id: Ibba4de5185d729ad982ae80c0c629e304fdb9daf
2021-10-07 03:59:03 +00:00
eddielan
8f4c51d3b3
fingerprint: Add suez config
...
Bug: 187663434
Test: Build pass
Test: Check log on logcat
Change-Id: I42026d13dafcfd7d32e37a1e5edb5e7f327d562d
2021-10-07 03:43:01 +00:00
Bill Lin
97f9208e1b
Revert "Add support One-handed mode in B3" am: 61d08f043f am: 98a2ef085f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15987855
Change-Id: I753eeea4487a647f0aa15154f5ee74b01beecf7d
2021-10-06 06:49:00 +00:00
Bill Lin
83525e58f0
Revert "Add support One-handed mode in B3" am: 61d08f043f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15987855
Change-Id: I5418999dc09fee409ebcc0e2e95f614594af2968
2021-10-06 06:24:59 +00:00
Bill Lin
b5f66163aa
Revert "Add support One-handed mode in B3"
...
Note : We should customize in specific device for B3, instead of
override gs101
This reverts commit d326059d567690c4b2ffbaaf3e5c3fd51e5a69aa.
Reason for revert: 201962520
Change-Id: I2be3f5bebf52ee4be4b7bf8c0ce50bb83380f8ee
2021-10-06 06:08:44 +00:00
Automerger Merge Worker
b10d74db52
[automerger skipped] Merge "Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde" into sc-v2-dev-plus-aosp am: 81990b6fc7 -s ours
...
am skip reason: Merged-In I07fb6b586b89f66fd105673d47b2d2367c30e487 with SHA-1 166f4da68c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: If94030479c4a89a597b7d36b45a92b3061dc7d96
2021-10-05 18:23:28 +00:00
Sunil Ravi
ae3ba84995
[automerger skipped] Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: b5bc254279 am: e71b47020d -s ours
...
am skip reason: Merged-In I07fb6b586b89f66fd105673d47b2d2367c30e487 with SHA-1 20c24cfd61 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: Ibde6a184302076067a64620186356389dac29a1b
2021-10-05 18:23:21 +00:00
Automerger Merge Worker
106e1a0247
Merge "Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde" into sc-v2-dev-plus-aosp
2021-10-05 18:08:59 +00:00
Sunil Ravi
b01a8685e3
Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: ba2e7c4bde
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: Iab1f9eda87f959e36bb5edb90e37f8bb026b4bf8
2021-10-05 18:08:57 +00:00
Sunil Ravi
3b812de874
Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c am: b5bc254279
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: I848d95284edc3fc0549728c744d7f821f22dcc85
2021-10-05 18:08:55 +00:00
Sunil Ravi
994197d0fb
Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: I34047578bcacfcba742242a664c94b60298616c6
2021-10-05 17:54:40 +00:00