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
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
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
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
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
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
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
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
Maciej Żenczykowski
d5e6f7beab
support both rndis and ncm, but not rndis + ncm am: 49a13bff74
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012
Change-Id: I70616d47d2b41c1d8d1cf926d6a0bb7e5c872987
2021-06-22 04:51:26 +00:00
Maciej Żenczykowski
e0ccd8fe6d
support both rndis and ncm, but not rndis + ncm
...
Bug: 172793258
Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6ac656d5eec27fadf76391fc3318b9d29d253a89
2021-06-22 02:53:55 +00:00
Chris.CC Lee
39758bc260
[Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993
Change-Id: I0657338e7a79fbe42285b06565b51e8fcbd2d48a
2021-06-22 01:58:56 +00:00
Chris.CC Lee
00d640335c
[Gs101] Update pregrant permissions for Restore APK
...
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.
Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I518275717ebd2b81bb888eaddc58222fe92b92c1
2021-06-22 01:37:45 +00:00
Daniel Mentz
d3f341b7d2
Add cl_dsp, input-cs40l26-i2c to kernel module blocklist file
...
The kernel modules cl_dsp and input-cs40l26-i2c are specific to some
devices. We don't want them to be loaded on other gs101 devices when we
run "modprobe -a".
Bug: 190652328
Change-Id: If5bd77dd9138177f0c66f64b7a273c177472a062
2021-06-21 23:32:39 +00:00
Shawn Willden
03b6bbda27
Revert^2 "Activate KeyMint" am: 0cdcb9aa18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15053361
Change-Id: Ifffabd8196361fa42ea6ed322b78e2682e2cc558
2021-06-21 23:30:40 +00:00
Lokesh Gidra
9229cd6dd6
Use 6GB dalvik-heap config for WHI series phones am: a04605d473
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890
Change-Id: Id68fc8df04fc3e694c7ca504c586845575223190
2021-06-21 23:30:26 +00:00
Shawn Willden
ebf4d9934a
Revert^2 "Activate KeyMint"
...
8f0cd15159b5a3f7d0ddb5cc78d2a364d1982244
Bug: 177729159
Test: VtsAidlKeyMintTargetTest & CtsKeystoreTestCases
Change-Id: I1f6f4c27562104ee650cc085e977ebd4fecdfdf2
2021-06-21 23:12:32 +00:00
Lokesh Gidra
42c5499945
Use 6GB dalvik-heap config for WHI series phones
...
Since all the WHI phones have 6GB+ RAM, we should be using at least a
6GB dalvik-heap config, as being done in pixel5 and older devices.
Test: build and boot
Bug: 189738006
Change-Id: I5a232d2901dec819b225812d023d2e5a43d3e0a6
2021-06-21 23:05:40 +00:00
Ioannis Ilkos
41cbd060e1
Revert "Activate KeyMint" am: 8f0cd15159
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825
Change-Id: I9dbe3f7a53b64f62ff87eb34b07ba22972235c72
2021-06-21 19:55:43 +00:00
Ioannis Ilkos
fb95660824
Revert "Activate KeyMint"
...
Revert submission 14947110-activate_keymint
Reason for revert: Likely b/191652216
Reverted Changes:
I6c5210356:Activate KeyMint
I784d39383:Activate KeyMint.
Bug: b/191652216
Change-Id: I5f6d69f7657180c09a6ec8e8afad09bbd63cdc32
2021-06-21 15:44:48 +00:00
Shawn Willden
766d335728
Activate KeyMint am: 1174c80fd3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947110
Change-Id: I5fa7b35b0fd2868da07b7a33a953af3e731f03ab
2021-06-21 13:14:49 +00:00
Shawn Willden
e1b88a2894
Activate KeyMint
...
This CL also removes wait_for_strongbox, which is broken because it
looks only for keymaster implementations, not keymint. But it's also
unnecessary due to reorganization of the way keystore and vold start
up.
Bug: 177729159
Test: boot & VtsAidlKeyMintTargetTest
Change-Id: I6c5210356396b2079e036e94bb909f3a1a31e6c6
2021-06-21 12:51:58 +00:00
vincenttew
3adb87d7ff
create audio folder to store calibration data am: 17a7f20619
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440216
Change-Id: I4898c0916340dd26a2065337492f063136d48916
2021-06-21 12:15:27 +00:00
Alex Hong
f8406ea3dc
Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391
Change-Id: I7add0ee8eeda63380ae97417edd73fb65f910a6d
2021-06-21 12:14:53 +00:00
Franklin He
0e490fbcd8
Add ML_ACC powerhint to gs101 am: d071109769
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997393
Change-Id: I404e1254c891d5ae72d278788b910dff7400f740
2021-06-21 12:06:34 +00:00
Jimmy Shiu
d1ef906204
adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732
Change-Id: I10a0a072b47deaac59a7fc40b2d658449e44687c
2021-06-21 11:56:03 +00:00
vincenttew
4b566654f4
create audio folder to store calibration data
...
Test: build pass
Bug: 188503612
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I5b3bfbd854d62ea8eddea0017fd8654476ae8a20
2021-06-21 10:04:14 +00:00
Alex Hong
b7b25bb84a
Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S)
...
PRODUCT_SHIPPING_API_LEVEL: 31
Target FCM version: 5
Kernel FCM version: 6
TO-DO: Upgrade "Target FCM version" from 5 to 6
"Target FCM version" must be 6 if PRODUCT_SHIPPING_API_LEVEL is 31.
Bug: 167997902
Bug: 186723740
Bug: 184801854
Bug: 186500818
Test: The device can boot to home.
$ adb shell getprop ro.product.first_api_level
[ro.product.first_api_level]: [31]
$ adb shell ls /sys/kernel/debug
$ adb root && adb shell getprop ro.product.debugfs_restrictions.enabled
Change-Id: I79a9d3835b9d3c508e647c1bbf53bd1c1465de05
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-21 08:01:31 +00:00
Franklin He
8cd280099d
Add ML_ACC powerhint to gs101
...
Add ML_ACC parameters agreed in ag/14877105 as a powerhint
Test: pushed powerhint.json to device, sent ML_ACC powerhint, observed a
change to /sys/kernel/vendor_sched/nnapi_uclamp_min
Bug: 191241561
Change-Id: Ic974cd0b3bbcb98532940520cfd2684d156b9330
2021-06-21 04:05:39 +00:00
Jimmy Shiu
f0280a99f4
adpf: move the vendor.powerhal.adpf.rate to raviole
...
The property should be based on device max refresh rate.
Move to raviole config files.
Bug: 177493042
Test: build
Change-Id: I34c42c87e92208e9f8140197e00f713aafaa63ba
2021-06-19 04:00:51 +00:00
Jack Wu
fa8bba4d3f
add permission for wireless charge_stats access am: 6eda19cc34
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731875
Change-Id: Id8820ec32ad5972eb3f3a2639161c11789a83ca4
2021-06-19 02:58:13 +00:00
Jack Wu
31d5416e15
add permission for wireless charge_stats access
...
Bug: 176195960
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia70c110de8bc1b6166c57e9c3df3d4f43f23a428
2021-06-19 00:33:13 +00:00
Daniel Mentz
cf36b3d9c2
Add pktgen.ko to kernel module blocklist file am: 493c321945
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15027507
Change-Id: Icec036fe0c62120a1969c2c29c7c66c2422a7f4d
2021-06-19 00:21:53 +00:00
Daniel Mentz
eaf85625c4
Add pktgen.ko to kernel module blocklist file
...
The Packet Generator module should not be loaded under normal
circumstances.
Bug: 190652328
Change-Id: Idfd65c9bb1f540e21ef1c51116ee6ca7d3a8eb46
2021-06-18 15:13:40 -07:00
yihsiangpeng
2c45f234a7
Add permission for WirelessCharger HAL am: 6f297d4707
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14731873
Change-Id: Ibf9fc4707ec0360ec6dca19af3e1e6c753c076ff
2021-06-18 17:14:14 +00:00
yihsiangpeng
eb215e398b
Add permission for WirelessCharger HAL
...
Bug: 186797309
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I8cd9d8c7e7acb35149a73a8beba8bb4be5a7ce1e
2021-06-18 17:01:00 +00:00
Daniel Mentz
5cd9a33d20
Add a kernel module blocklist file am: 76a571236e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14543091
Change-Id: I613331e779d2bf5607cd9dffcc6370e853152aa5
2021-06-18 15:57:26 +00:00
Daniel Mentz
24b12e2935
Add a kernel module blocklist file
...
Kernel modules on the blocklist are not automatically loaded during
second stage init. Modules are often put on the blocklist if we want
them to get loaded only under certain circumstances.
Bug: 190652328
Change-Id: Ib67463555f498f4dc85d5d175e0bf9e4150771dd
2021-06-18 15:41:21 +00:00
Adam Shih
3c679e5d0d
organize confirmationui settings am: 62efe878ba
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017735
Change-Id: Ieec700add5ed987e5e5fa9a46c6ffb3118f6f618
2021-06-18 06:57:36 +00:00
Adam Shih
56978d9961
organize confirmationui settings
...
Bug: 190331547
Bug: 190331370
Test: build ROM and make sure file and sepolicy is still there
Change-Id: Ifc2bcf1616d3ee2df3943f0f1b3523ce485b689c
2021-06-18 06:47:38 +00:00