Commit graph

1234 commits

Author SHA1 Message Date
Adam Shih
a02589a19f modularize pktrouter am: 8f21a02138 am: 22f1034c84 am: fb83d93e06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861

Change-Id: I13c958efe5af8bca5b89433be42b22ff34977862
2021-06-24 08:12:05 +00:00
Adam Shih
eb87d0289a modularize pktrouter am: 8f21a02138 am: 22f1034c84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861

Change-Id: I740f3691c2bb0c70d0b50261f2e2fc57f142fa6d
2021-06-24 07:57:35 +00:00
Adam Shih
5dd7d659cd modularize pktrouter am: 8f21a02138
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056861

Change-Id: Id237ceafa13470fe305ec4e84629231bb387783f
2021-06-24 07:41:02 +00:00
Adam Shih
c7884a192e modularize pktrouter
Bug: 190331212
Test: make sure pktrouter gets initialized
06-23 13:21:19.372  1 1 I init : Parsing file /vendor/etc/init/pktrouter.rc...
06-23 13:21:23.510     1     1 I init    : processing action (vendor.pktrouter=1) from (/vendor/etc/init/pktrouter.rc:7)
06-23 13:21:23.510     1     1 I init    : starting service 'pktrouter'...
Change-Id: I89de2b2dd151bba877dea0bd5db0df1048b2ab6b
2021-06-24 07:24:45 +00:00
Minchan Kim
a5a14fe77d dumpstate: dump cma information into bugreport am: 6ea9513a0d am: d2c391e98b am: 006b5cbbe6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15083602

Change-Id: I7d6454a26a300726df838845dcdbd76f5142f117
2021-06-24 02:53:05 +00:00
Minchan Kim
ff2868cf02 dumpstate: dump cma information into bugreport am: 6ea9513a0d am: d2c391e98b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15083602

Change-Id: Iec072d1c00ab1428128e1a4d0d1e95d459122a2b
2021-06-24 02:38:41 +00:00
SongFerngWang
9aade07fb2 "Erase Downloaded sims" Checkbox is not visible am: a8acce09fd am: 2029f229c2 am: 077bd4d214
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068250

Change-Id: I3fc3635033a08a687e87085dbabe9f1d5f3567e4
2021-06-24 02:23:10 +00:00
Minchan Kim
5e2473d15d dumpstate: dump cma information into bugreport am: 6ea9513a0d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15083602

Change-Id: I493e2a42003f6dbb5fdb8a9a63ffd0ff91752fc4
2021-06-24 02:18:49 +00:00
SongFerngWang
659e74a1df "Erase Downloaded sims" Checkbox is not visible am: a8acce09fd am: 2029f229c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068250

Change-Id: I4987ab87dc54133e798122b3766adeb6ae782f0a
2021-06-24 02:04:04 +00:00
Minchan Kim
48a283b16e dumpstate: dump cma information into bugreport
Dump pixel cma metric into dumpstate_board.txt
It hepls to find cma allocation latency issues.

output example)
..

Change-Id: I697ade197617e3c19be1d83d38f2f93b44905ff8
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/alloc_pages_attempts
0
..
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_low
0
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_low_bound
10
--- /sys/kernel/pixel_stat/mm/cma/faceauth_tpu/latency_mid
0
..
--- /sys/kernel/pixel_stat/mm/cma/reserved/alloc_pages_attempts
1162
--- /sys/kernel/pixel_stat/mm/cma/reserved/alloc_pages_failfast_attempts
0
..

Change-Id: I08e34841617768f53e38f25a1b8035ade886d008
Bug: 191904985
Test: Run "adb bugreport <zip>" and verify it contains the output
      from dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
2021-06-24 01:45:11 +00:00
SongFerngWang
39a1fd41d2 "Erase Downloaded sims" Checkbox is not visible am: a8acce09fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068250

Change-Id: Ifff4d394c7fcb09c9608d527e30620efbb002840
2021-06-24 01:32:54 +00:00
SongFerngWang
c6a7602790 "Erase Downloaded sims" Checkbox is not visible
Enable the masterclear.allow_retain_esim_profiles_after_fdr for
checkbox is visible

Bug: 188093779
Test: build pass
Change-Id: I5745d152642d14c9a28d1831a59f64fb65d95394
2021-06-24 01:19:33 +00:00
TeYuan Wang
f3c36b6f98 thermal: move gs101 thermal permission commands to device folder am: 97ece7d1b3 am: 090aa52a08 am: 51e6df8817
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15045016

Change-Id: I4ee3585d8c79fbae48bc130449b35b9baa502d92
2021-06-23 23:55:03 +00:00
TeYuan Wang
9ec1369b42 thermal: move gs101 thermal permission commands to device folder am: 97ece7d1b3 am: 090aa52a08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15045016

Change-Id: I64a9f0ff78e6f7991ba3c5ff039b7c9bcd7ac106
2021-06-23 23:38:36 +00:00
TeYuan Wang
0e9366630a thermal: move gs101 thermal permission commands to device folder am: 97ece7d1b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15045016

Change-Id: I12e86dce0aaefcd5b32e7fc56b811f0ff7e76b76
2021-06-23 23:25:27 +00:00
TeYuan Wang
4c97453535 thermal: move gs101 thermal permission commands to device folder
Bug: 182970733
Test: check the thermal sysfs permission on O6
Change-Id: I80c0571aca9cbff1881c884350a5ca39e6beef6b
2021-06-23 23:09:44 +00:00
Denny cy Lee
aeb35cbf24 Pixestat: add battery info am: 1cf072038b am: ee78240150 am: 72fe3ef95b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14617774

Change-Id: I152b0bf39e13224f7b72b7954edab08c3b195d42
2021-06-23 09:17:35 +00:00
Denny cy Lee
3ac1c7b9b4 init.hardware.rc: add permission for battery eeprom am: b316d5cc65 am: 2846a8f379 am: c05c69c9b1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14701130

Change-Id: I7c275735f45d888788170e5575526f85173ab92e
2021-06-23 09:17:34 +00:00
Denny cy Lee
40b6d84d5e Pixestat: add battery info am: 1cf072038b am: ee78240150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14617774

Change-Id: Ia72c9319bf59020a0da424d818db5f34aea1d9b6
2021-06-23 08:57:51 +00:00
Denny cy Lee
03ff1d31f0 init.hardware.rc: add permission for battery eeprom am: b316d5cc65 am: 2846a8f379
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14701130

Change-Id: Ib0c2a845ef117bfd40f654ad6b3a71e1226cd4cf
2021-06-23 08:57:50 +00:00
Denny cy Lee
6fb6154097 Pixestat: add battery info am: 1cf072038b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14617774

Change-Id: Idc11b511b67e2c25bcc22831a8da0ef240cee89c
2021-06-23 08:33:26 +00:00
Denny cy Lee
fb73d0e546 init.hardware.rc: add permission for battery eeprom am: b316d5cc65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14701130

Change-Id: Ib00ee39918c0fcfee5ef4ba1c931978c2496ade8
2021-06-23 08:33:25 +00:00
Denny cy Lee
8101fbcec0 Pixestat: add battery info
Bug: 171947164
Test: manually, no read fail found
Change-Id: I35bbca1aec39e6fb6133386b96efd727a9f74099
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 08:22:41 +00:00
Denny cy Lee
294e58b1b2 init.hardware.rc: add permission for battery eeprom
Bug: 189050725
Test: manually, file mod owner: 644 system
Change-Id: Iff5bb544f9fb76556ef783d04abd363240c6bd3b
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2021-06-23 08:22:41 +00:00
Automerger Merge Worker
51ff1e63ff Merge "Use modprobe --all to load all modules in modules.load am: 6050457e19 am: 0b135e0be0" into sc-v2-dev-plus-aosp am: 15f14282b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092

Change-Id: I669ba8197c09baa77a966bfa3cdb5560a2e1d2ef
2021-06-23 07:05:41 +00:00
Daniel Mentz
97e62cba0e Use modprobe --all to load all modules in modules.load am: 6050457e19 am: 5829da001e am: c36fcb55b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092

Change-Id: I88c9440597de2ca80cf0eb3fa1065d0892b36e1e
2021-06-23 07:05:35 +00:00
Taehwan Kim
0e13ddda94 add ro.vendor.gpu.dataspace am: cf7285bb99 am: 20e1816bd9 am: 2bd5891310
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090

Change-Id: I13d3fd503f4bb3e082d1575f662f7ad3333cd0f4
2021-06-23 07:04:26 +00:00
Automerger Merge Worker
38ac32b0d9 Merge "Use modprobe --all to load all modules in modules.load am: 6050457e19 am: 0b135e0be0" into sc-v2-dev-plus-aosp 2021-06-23 06:41:27 +00:00
Daniel Mentz
ed08ddd103 Use modprobe --all to load all modules in modules.load am: 6050457e19 am: 5829da001e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092

Change-Id: I4f9f81dab9f6f8c20a8d992197f5095b88355ff2
2021-06-23 06:41:25 +00:00
Daniel Mentz
caba0c9c94 Use modprobe --all to load all modules in modules.load am: 6050457e19 am: 0b135e0be0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092

Change-Id: I2d0bad37ae53a0c91ddde20088a211b57702adf1
2021-06-23 06:41:25 +00:00
Taehwan Kim
57538926ca add ro.vendor.gpu.dataspace am: cf7285bb99 am: 20e1816bd9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090

Change-Id: If3185ddd6a7d0c1bf1d6931737f471c6e526d333
2021-06-23 06:41:00 +00:00
Daniel Mentz
6076106978 Use modprobe --all to load all modules in modules.load am: 6050457e19
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543092

Change-Id: I2fd7af6da1be910efc3c53e1a6312a7026e88da5
2021-06-23 06:26:10 +00:00
Taehwan Kim
cd9e4deafe add ro.vendor.gpu.dataspace am: cf7285bb99
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877090

Change-Id: If92884363fce9816eeb13d8e837009ab5d4acfc1
2021-06-23 06:24:55 +00:00
Adam Shih
4e90077b04 modulize init.radio.sh am: b708e2ccc2 am: 7724a0a793 am: 0cc73c6d17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857

Change-Id: I074ed7de7f6c2d8e4d049f1508b733eac93b8972
2021-06-23 05:38:15 +00:00
Daniel Mentz
fe798d9f4f Use modprobe --all to load all modules in modules.load
Previously, we ran modprobe command for every .ko file listed in
init.insmod.*.cfg. Let's move to a different approach where we call
modprobe with the following command line.

modprobe -b --all=/vendor/lib/modules/modules.load

This will insmod all modules listed in modules.load except for those
that are mentioned in the blocklist at
/vendor/lib/modules/modules.blocklist

A common reason for a module to be on the blocklist is that it must only
be loaded under a certain condition like when a specific service is
launched.

Bug: 190652328
Change-Id: I37dfc83cbc90534243765f6985bc53f3fa83aef0
2021-06-23 05:10:36 +00:00
Taehwan Kim
71bf42f42d add ro.vendor.gpu.dataspace
Bug: 176415285
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I6d6780f81ae05fc22793d97373a49b86e289cd0c
2021-06-23 04:51:40 +00:00
Adam Shih
bc56431925 modulize init.radio.sh am: b708e2ccc2 am: 7724a0a793
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857

Change-Id: I12d7669820a0b38d7b07ca6430a8b65776def018
2021-06-23 03:30:58 +00:00
Adam Shih
077c62afc0 modulize init.radio.sh am: b708e2ccc2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056857

Change-Id: I8d42020cafdad56f98ad6f67fc91cde68e11f865
2021-06-23 03:17:47 +00:00
Adam Shih
5de199eca7 modulize init.radio.sh
Bug: 190331600
Test: build ROM and make sure the file is there and functional.
Change-Id: Id8fdeab9a79724ba77044274f2005935ffe00c99
2021-06-23 02:55:22 +00:00
Roger Wang
002458af94 wifi: update interface combination. am: e4ca96c8e8 am: 15582b7815 am: 3892560a25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023707

Change-Id: I3e9432342228a539b13c7c2acd20e5bd1c24f607
2021-06-22 17:58:52 +00:00
Roger Wang
b69c713e4c dumpstate: remove wifi fw symbol table am: f83b6cfad9 am: f8cf56451d am: 35d10b2bcf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023708

Change-Id: I81f1025f226df349cff2e7d33b933052ce44cbd3
2021-06-22 17:58:46 +00:00
Roger Wang
356015346b wifi: update interface combination. am: e4ca96c8e8 am: 15582b7815
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023707

Change-Id: I9f9b786681cb58831fae235f3589b059f3690a65
2021-06-22 17:44:38 +00:00
Roger Wang
68b1d9aaab dumpstate: remove wifi fw symbol table am: f83b6cfad9 am: f8cf56451d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023708

Change-Id: I1900a380550e55ae03b2f328a148624122e1d739
2021-06-22 17:44:24 +00:00
Roger Wang
2bca1370f5 wifi: update interface combination. am: e4ca96c8e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023707

Change-Id: I292dcd18321ad4367d5951dea6f671fde2099063
2021-06-22 17:28:49 +00:00
Roger Wang
d327ab2a8f dumpstate: remove wifi fw symbol table am: f83b6cfad9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023708

Change-Id: Ic5d4389c11df3eaf5439c995c1989c6f57a33c30
2021-06-22 17:28:41 +00:00
Roger Wang
2b65b15e7c wifi: update interface combination.
In this commit, we update the interface combination
for P21.

Bug: 191020902
Test: local test on PP23935602 build.
      Check STA+STA, STA+SAP, STA+P2P and STA+NAN are workable.
Change-Id: I424c4ea854f3a4f7b615038db8d63729fd32adda
2021-06-22 17:03:54 +00:00
Roger Wang
b9d3e85359 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: 191429306
Test: build pass, device can connect to AP.
Change-Id: I54a012f619f113a2567a93707731b5c4802b1da8
2021-06-22 17:00:35 +00:00
eddielan
738f1ea76b fp_test: add command binary for fp test am: cdb78894f0 am: e7b526aa66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661990

Change-Id: I1647f3cd51b666d31660909d9da0f7be5754937a
2021-06-22 13:52:51 +00:00
eddielan
338c516285 fp_test: add command binary for fp test am: cdb78894f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661990

Change-Id: I1680805c8346fb33af897172d65567bba1a1161a
2021-06-22 13:41:15 +00:00
eddielan
807e460cd4 fp_test: add command binary for fp test
Bug: 188014250
Test: Build pass, verify on device

Change-Id: Ia3a8a17597fbc90cd0499e03fe0fe607323fdf90
2021-06-22 16:05:07 +08:00