Commit graph

4925 commits

Author SHA1 Message Date
Jaegeuk Kim
aef1f11fa6 gs201: switch /modem_userdata to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ic0add0848e062774030ecf0dd23140cfaf6ab35c
2021-10-14 21:15:21 +00:00
Jaegeuk Kim
5720048e25 gs201: convert /efs_backup to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ied79a3b2c96f1123996e3e98e9d7ba77d901e74c
2021-10-14 21:15:21 +00:00
Jaegeuk Kim
c688b6214a gs201: switch /efs_backup to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I1d0c66d97eef384cd2d85c912bce4a939245b5e6
2021-10-14 21:15:21 +00:00
Ocean Chen
2095b04e76 init.rc: change the ownership of gc segment info sysfs nodes
Changed the ownership of gc segment info sysfs nodes for Pixelstats
to access these values.

Test: check the ownership of
/dev/sys/fs/by-name/userdata/<gc_segment_mode|gc_reclaimed_segments>
Bug: 201503046
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I827538be0801cd8abc26b095df56849fd2ff141a
2021-10-14 16:51:44 +00:00
Wayne Lin
b8633e8cdd gps: refine gps module in gs201
- Update gps driver to 129.20.23.516938
 - Build gps module separably

Bug: 202919589
Test: build pass and standalone GPS pass
Change-Id: I451837f2e783ab2e8890e212eb7d3897c9854ca5
2021-10-14 04:07:11 +00:00
Jaegeuk Kim
e9a8cfaf7c gs201: switch /efs to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I308b4a8d806c968b5b03b6d41285113f3086502c
2021-10-13 15:03:26 -07:00
Jaegeuk Kim
7ba733f58b gs201: convert /efs to f2fs
Bug: 201348703
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ibe766941e09205b7431f2149856f8f0998743af6
2021-10-13 15:03:25 -07:00
Konstantin Vyshetsky
7b4f21e81d gs201: add script to convert persist to f2fs
Currently the persist partition is formatted as ext4. In order to
convert the partition to f2fs without losing data, add a script which
will copy the partition contents out, format the partition as f2fs and
then copy the contents back.

Bug: 202511062
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I89502694d1e02261902525c11ac875dd7756721b
2021-10-13 14:05:17 -07:00
Jaegeuk Kim
e8d42059e6 Deprecated ext4 for RW partitions: /persist
Bug: 200853457
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I64bfce98dfa4565dff9a6fbfd6e2d843583e5e66
2021-10-07 18:50:12 -07:00
Jaegeuk Kim
d28744874b Deprecate ext4 for RW partitions: /metadata
Bug: 200853457
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Icd85b8f12cadd756fac4aded0db3b08021d644c3
2021-10-07 18:50:12 -07:00
Pierre-Clément Tosi
4dae22c494 gs201: 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: Iefd5fcf1ce04b14b37ff9555db9acabffb010cff
2021-10-07 08:40:15 +00:00
Grace Chen
5a75515a09 Config overlay to set slot 0 as non-removable eUICC.
Bug: 197252913
Test: Confirm non-removable eUICC config.
Change-Id: I01a75250943578ee7c9fd667d5ab9a659964fa40
2021-10-06 07:54:32 -07:00
Adam Shih
ad214bed2a centralize wifi_ext config
Bug: 201599426
Test: boot with wifi_ext started
Change-Id: I9a266fbb0e50326b882dc1acdbec0b8c20fe0194
2021-09-30 14:17:27 +08:00
Adam Shih
f9427b2355 use gs101 neuralnetwork armnn
Bug: 196916111
Test: boot with armnn started
Change-Id: I1c8c113621314525c46bf6572b4c5b6a613dbfef
2021-09-27 23:54:37 +00:00
Roger Fang
0d2cf52ae0 device: gs201: add speaker health stats
Add the sysfs that required by the new ATOM of VendorSpeakerStatsReported.
Copy the file sysfs from ag/15659556

Bug: 201250553
Test: Manually test with ATOM

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ic98d26ebb384e567f7016868777f951f00a0b27d
2021-09-27 15:21:37 +08:00
Roger Fang
328c3f7c98 device: google: gs201: IAudioMetricExt hidl manifest settings
Porting IAudioMetricExt manifests from ag/14281931

Bug: 201099654
Test: N/A

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I1977b88230244a1c59d333dbd076e69231130507
2021-09-27 15:11:53 +08:00
Albert Wang
3773ce8687 usb: support both rndis and ncm, but not rndis + ncm
A cherry pick from 49a13bf for gs101

Bug: 199252036
Test: Boot to home and usb hal bring up normally
Change-Id: Ia4e344aa9cf7762b71cbfe35ff9cbcccb4474b11
2021-09-24 03:44:56 +00:00
Arthur Ishiguro
210475ce59 Use Context Hub AIDL for gs201
Bug: 194285834
Test: Load on device
Change-Id: If81c1eda860b931533afaf0447ae2e7fc99532d5
2021-09-23 10:21:40 -07:00
Kevin DuBois
5875d29f23 powerhint.json: update GPU node.
GPU node was not using the correct level-lock (should be using the hint one).
a0 and a1 jsons did not have correct frequencies, correct this.

Test: check camera hints work.
Change-Id: I79263bcb0fe3f264c021e2838aac3839081b7de7
2021-09-17 21:53:28 +00:00
Ocean Chen
954b427911 Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I7eabf238bb0963af9430b47c9ffa92bb3ad3b6fc
2021-09-14 09:13:16 +00:00
Kris Chen
a90972ed73 gs201: remove the redundant config_biometric_sensors
Bug: 199760755
Test: boot on ravenclaw-userdebug
Change-Id: Ifa08e35bcb6f15d14e42d6b6f3d9e42fcaa67a73
2021-09-14 07:19:18 +00:00
chloedai
2b5427334a Remove NFC/SE settings from common gs201
Bug: 199236672
Test: Build pass
Change-Id: Ie6a6c90946bb51b2c0e8d644c2c9372b4fc9c357
2021-09-13 10:49:47 +00:00
Rex Lin
6306cd9715 uwb: add uwb diag modules into the dlkm blocklist
Bug: 199529362

Test: verified pass with local build

Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I580a666236163e3888eeed1f7d4bbb82a9000139
2021-09-11 06:51:57 +00:00
Krzysztof Kosiński
6b82c37c4c Use the correct GPU device path for gs201.
gs201 uses 28000000.mali instead of 1c500000.mali.

Bug: 196866904
Test: verified that libperfmgr logspam is gone on dev board.
Change-Id: I7e00bb67f06960bcedc29d4e98422676a651bd05
2021-09-10 21:56:31 +00:00
Adam Shih
c7d07e27e0 modularize drm
Bug: 199232842
Test: boot with drm modules started
Change-Id: I6d91d411cf2b9354d4d1cefc3184e8fefa8a9ea7
2021-09-10 01:16:19 +00:00
weichinweng
1c94ce30ef gs201: migrate Bluetooth HAL service setting to project dependent make files
Bug: 189727579
Test: Manually
Change-Id: I97e9e4b764ccf3b7896904590d00633ae206b729
2021-09-10 00:47:03 +00:00
Grace Chen
a8ddf739a5 Merge "Config overlay to support 2 physical slots" 2021-09-08 19:07:52 +00:00
Sasha Smundak
af1d890dd7 Simplify the check.
Fixes: 198503238
Test: treehugger
Change-Id: Ibebbd199391aa4c207a3cd622791008aa412828c
2021-09-03 17:55:36 -07:00
Grace Chen
eec347d23f Config overlay to support 2 physical slots
Bug: 197989438
Test: Confirm sim configuration.
Change-Id: I3972e0456d8034517cc4224ef786a9292439a8b9
2021-09-03 00:59:11 -07:00
TreeHugger Robot
22067f611c Merge "dumpstate: dump logbuffer tcpm logs in bugreport" 2021-09-03 05:58:53 +00:00
Petri Gynther
e3c25c230c gs201: clean up kernel variables
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL

Bug: 198654765
Change-Id: I3efff472e46be435fc0b845bf9b09b7d7a6311f1
2021-09-02 12:08:57 -07:00
Kyle Tso
1fc334c1c6 dumpstate: dump logbuffer tcpm logs in bugreport
(Port of ag/15018442)

Bug: 189792358
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I936028d0d3360f2611b672bdc353438fb8478ca6
2021-09-02 14:08:05 +08:00
Adam Shih
ff12044f71 Merge "gs201: use sscoredump common device.mk" 2021-09-02 04:21:47 +00:00
Adam Shih
8ef36172cc gs201: use sscoredump common device.mk
Bug: 198365717
Test: boot with sscoredump started
Change-Id: If5c881a873971f4e238b7357e6e2802c55db6029
2021-09-02 01:24:23 +00:00
Robert Lee
32270ec77b Merge "device.mk: enable cs35l41 related module for gs201" 2021-09-01 07:58:27 +00:00
Petri Gynther
d2221258ad gs201: enable vbmeta_vendor
Bug: 197026498
Test: make dist and check [vbmeta_vendor.img + img.zip + ota.zip]
Test: flash [fastboot update + remote_local_flashstation] and boot to home
Change-Id: I0f7c69218d296451da2cef6e47adf3a910ea1cb0
2021-08-31 20:37:21 -07:00
TreeHugger Robot
4d6e54e336 Merge "factory: zygote and rescue party properties" 2021-08-31 16:08:30 +00:00
Robert Lee
b693d60c7f device.mk: enable cs35l41 related module for gs201
Bug: 198260805
Test: Builds pass
Change-Id: I56f2b7d1c786ac3c821194dced16e2f43a85f2b1
Signed-off-by: Robert Lee <lerobert@google.com>
2021-08-31 11:50:42 +00:00
Ryan Chu
e8541c4ae1 factory: zygote and rescue party properties
Add the two properties to prevent rebooting due to crashing services
That will allow for better debugging of factory target builds
1) init.svc_debug.no_fatal.zygote true
2) persist.device_config.configuration.disable_rescue_party true

Bug: 198180802
Change-Id: Icc8ec4435b80fd271d563f837bde880be1ae4df8
2021-08-31 16:03:15 +08:00
TreeHugger Robot
7b08b14329 Merge "BT: gs201: Set default Bluetooth ON in non-factory build" 2021-08-31 06:38:03 +00:00
weichinweng
9262f5c6b9 BT: gs201: Set default Bluetooth ON in non-factory build
Bug: 189728903
Test: Build pass, BT can default enable after flash ROM.
Change-Id: Ie173809569ae6f52d05c483fa98fb1d3df8f653d
2021-08-31 06:32:46 +00:00
Sam Ou
8585eb45cf Merge "powerstats: correct TPU, GPU, several DVFS buckets and frequency unit" 2021-08-31 02:10:09 +00:00
Adam Shih
f67eea1947 make sepolicy available in aosp targets
Bug: 198214600
Test: build pass
Change-Id: I113d1855f8d71b3d837a3f02974079e12ed5ddec
2021-08-31 09:12:17 +08:00
samou
21623c73d0 powerstats: correct TPU, GPU, several DVFS buckets and frequency unit
Bug: 197152245
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie4f260c643e3d19f8080436b3a0197764196ccfc
2021-08-30 07:09:18 +00:00
Adam Shih
175d36ced8 Merge "modularize scd" 2021-08-27 07:17:53 +00:00
Adam Shih
76f8e12e56 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: I5cfede43239c5d49e271bdd981be2e781c5a05ba
2021-08-27 11:17:46 +08:00
Roger Wang
49d98956fc dumpstate: remove wifi fw symbol table
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.

Bug: 197849117
Test: build pass, device can connect to AP.
Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
2021-08-27 10:24:13 +08:00
Adam Shih
930b449775 review hal_audiometricext
Bug: 197585437
Test: boot with hal_audiometricext initialized
Change-Id: Ia23c3d4936d4c6e86d427fbfaeeceace57ab630b
2021-08-25 14:43:35 +08:00
Adam Shih
0f853db94c modularize aocd
Bug: 197585437
Test: boot with aoc started
Change-Id: I61560751a5d81816b7ecdc2e1be0eaae025a29e3
2021-08-24 11:48:00 +08:00
weichinweng
df5cec3e17 BT audio: gs201: set A2DP offloading default OFF
Support the A2DP offloading feature, and default OFF. So, we can
switch to ON manually without compiling.

Bug: 194607800
Test: manually
Change-Id: Ibe5f799d757344df8a3106e904ab65f74826ac96
2021-08-23 11:50:29 +00:00