Commit graph

5072 commits

Author SHA1 Message Date
Cyan_Hsieh
750d77c19f Switch makefile owners to MK_OWNERS am: 86e9f51a58
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3106782

Change-Id: If1a015f6f3bba24c4f5e2fa3b8f2f610d57a7903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:14 +00:00
Cyan_Hsieh
86e9f51a58 Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:621df82f7af10ff85fa290af75c729f734cb2938)
Merged-In: I7c3083ad4d881334c6f8f78d89b6a31fcd46c42e
Change-Id: I7c3083ad4d881334c6f8f78d89b6a31fcd46c42e
2024-05-29 10:00:58 +00:00
chenkris
090928722e Add sepolicy for fingerprint HAL to check NSP file
Fix the following avc denials:
avc:  denied  { search } for  name="copied" dev="dm-58" ino=428
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:modem_efs_image_file:s0 tclass=dir

avc:  denied  { search } for  name="persist" dev="dm-58" ino=443
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_file:s0 tclass=dir

avc:  denied  { search } for  name="ss" dev="dm-58" ino=445
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=dir

avc:  denied  { read } for  name="nsp" dev="dm-58" ino=15500
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=file

avc:  denied  { open } for  path="/data/vendor/copied/persist/ss/nsp"
dev="dm-58" ino=15500
scontext=u:r:hal_fingerprint_default:s0
tcontext=u:object_r:persist_ss_file:s0 tclass=file

Bug: 335525798
Test: Use UDFPS repair tool to update calibration files
Change-Id: Ic233a07ced8fd828c0e4b4ae1cffa93763a83b42
2024-05-29 04:39:37 +00:00
Dmitry Skiba
ef68e9b578 Restrict kcompactd thread to middle/little cores.
Bug: 340872453
Test: Confirmed kcompactd affinity with taskset -p
Change-Id: I1cc92927dfc22d878819010aa2e9f01b5a3b8851
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-05-28 23:50:44 +00:00
Leo Chen
7c30487eff Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: I5f6fb353f1096d600ddbe3a985bd30caf1df97b6
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-23 06:42:16 +00:00
Android Build Coastguard Worker
804c39b6fc Snap for 11859356 from ba614b35b9 to 24Q3-release
Change-Id: Ifa43f35c8f6cf58642f140f1e7ffb2557a0cb641
2024-05-18 03:03:23 +00:00
Sungtak Lee
ba614b35b9 Merge "Remove codec2 hidl fragments" into main 2024-05-17 06:25:28 +00:00
Android Build Coastguard Worker
3271f0670d Snap for 11853201 from 80cb09b4c4 to 24Q3-release
Change-Id: I08bec837c6023583099ae9f028ba742cb0a43833
2024-05-17 01:03:18 +00:00
Sungtak Lee
629eabc6c5 Remove codec2 hidl fragments
Bug: 321808716
Change-Id: Iaf80f2c61cb3d9f1b1761e33ecf92ccc27ad3423
2024-05-16 21:31:54 +00:00
Jerry Huang
80cb09b4c4 Merge "zuma: update performance point based on AP3A.240513.001" into main 2024-05-16 06:34:42 +00:00
Android Build Coastguard Worker
5ddd7b5615 Snap for 11847214 from cdc4acc647 to 24Q3-release
Change-Id: I92a3c51fda5a9033640caa6fdfecd5577b58a8f9
2024-05-16 01:03:55 +00:00
Android Build Coastguard Worker
0145d37546 Snap for 11847214 from ab17b46c51 to 24Q3-release
Change-Id: Id969f480868fbd9f08ead7b3f9d94798ca9dfa0b
2024-05-16 01:03:54 +00:00
Kelvin Zhang
ab17b46c51 Merge "Allow devices to pick ext4 as default fs at build time" into main 2024-05-15 06:08:46 +00:00
Wilson Sung
cdc4acc647 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 340722729
Change-Id: I8f11ea5848724f18765cca2dda91a7d916b82f72
2024-05-15 03:50:08 +00:00
Treehugger Robot
1f3594dafe Merge "Split zuma fstab into two files" into main 2024-05-14 23:05:08 +00:00
Android Build Coastguard Worker
95a907c784 Snap for 11840485 from b15e00e8f5 to 24Q3-release
Change-Id: Iea27b67ac59b9aafefc8ac6951eb4e971c7d7249
2024-05-14 23:03:43 +00:00
Kelvin Zhang
5a679bbf76 Allow devices to pick ext4 as default fs at build time
Products using 16KB kernel may wish to boot into 16KB mode
directly. To do this, these targets would need to use ext4
as their default fs type for /data and /metadata . Add
a build time flag which would install ext4 fstabs.

Test: th
Bug: 339337171
Change-Id: I53de1599bbff583b45ca2bf6d3e3efb83957913e
2024-05-14 15:42:14 -07:00
Kelvin Zhang
c542bcfd03 Split zuma fstab into two files
Common fstab entries(everything but /metadata and /data) are
moved to a separate fstab file.
This allows us to create an ext4 variant of the same fstab later.

Test: device boots
Bug: 339337171
Change-Id: I3129551c98b14473c776f2cf3dee1b81fc0c84b3
2024-05-14 10:03:27 -07:00
Jerry Huang
f6025c54da zuma: update performance point based on AP3A.240513.001
Bug: 335350051
Test: CtsMediaDecoderTestCases android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: I54a234ec6f3b1ed59087aacb0e2855477492584e
2024-05-14 09:25:51 +00:00
Joerg Wagner
b15e00e8f5 Merge "Use 2024-03-01 deqp levels for GLES and Vulkan" into main 2024-05-14 08:55:11 +00:00
Treehugger Robot
fe169c6406 Merge "Set default pin amount for home app" into main 2024-05-13 22:59:01 +00:00
Edgar Arriaga
f8a1670819 Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: I86a1bd0a82513e8b45247b6fc12d4cd7a552d7db
2024-05-13 19:55:06 +00:00
Android Build Coastguard Worker
7d3783cafd Snap for 11828632 from 213da03c2b to 24Q3-release
Change-Id: Ic9661412ad8dd5fd52d5bee81a4ccc61244e2fc0
2024-05-11 01:03:49 +00:00
Pawan Wagh
213da03c2b Use lzo-rle for 16kb page kernel
Test: Checked zram compression with 4KB and 16KB kernel
======== Using 4KB kernel================
$ adb shell getconf PAGE_SIZE
4096
$ adb shell cat  /sys/block/zram0/comp_algorithm
[lz77eh] zstd deflate lz4 lzo-rle lzo
======== Using 16KB kernel================
$ adb root
restarting adbd as root
$ adb shell cat  /sys/block/zram0/comp_algorithm
lz77eh zstd deflate lz4 [lzo-rle] lzo
$ adb shell getconf PAGE_SIZE
16384

Bug: 316158358
Change-Id: I068cf4f9ab9a1fdc36f141a1de6f4ea293db9d6f
2024-05-10 01:13:39 +00:00
Android Build Coastguard Worker
3cf66743b8 Snap for 11822896 from 0455a656b7 to 24Q3-release
Change-Id: I0fde4ac1f034c84f2816e6a93e1b2fb149bdbeeb
2024-05-09 23:08:20 +00:00
Android Build Coastguard Worker
76b26c58c0 Snap for 11822896 from 0f9fe30938 to 24Q3-release
Change-Id: I70540a24dca25195966a4087120cfb70075cebbf
2024-05-09 23:08:20 +00:00
Shiyong Li
0f9fe30938 Merge "Add sepolicy for power_state node" into 24D1-dev am: eaa2a2ee8c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/27056931

Change-Id: Ib3a211c40b3ce8fbade8ceb2c72b99ef2277191c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 05:21:44 +00:00
Shiyong Li
0455a656b7 Merge "Add sepolicy for power_state node" into 24D1-dev am: 7107af6af0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/27057168

Change-Id: Iebbdf2275b4d0460ac58100db1ab1b865ed63d04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 05:21:38 +00:00
Shiyong Li
7107af6af0 Merge "Add sepolicy for power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Shiyong Li
eaa2a2ee8c Merge "Add sepolicy for power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Android Build Coastguard Worker
484aa51f46 Snap for 11816316 from 3cbe2de42c to 24Q3-release
Change-Id: Ie8473a1799c576146469fb16e1b69fee74368d13
2024-05-08 23:03:38 +00:00
Android Build Coastguard Worker
e6a84d76eb Snap for 11816316 from b41d97bc37 to 24Q3-release
Change-Id: I175dae19ad4c205f92add3c661c769eac9029607
2024-05-08 23:03:38 +00:00
Jörg Wagner
76717decdc Use 2024-03-01 deqp levels for GLES and Vulkan
Bug: 327589279
Change-Id: If76465a473a582a7c5f2502872876b3a682eacc0
2024-05-08 18:46:13 +00:00
Treehugger Robot
fbf479dae5 Merge changes from topic "revert-27206172-revert-26822004-SXUPLCUANW-MLEHIGOHIM" into main
* changes:
  Reland: Copy persist partition files to /data on boot
  Reland: Copy files on EFS partition to /data on boot
2024-05-08 16:13:27 +00:00
Treehugger Robot
bc68fdd684 Merge "Reland: Add necessary sepolicy for convert_modem_to_ext4" into main 2024-05-08 16:13:27 +00:00
Treehugger Robot
b41d97bc37 Merge "Update IDisplay to V11-V12" into main 2024-05-08 10:02:13 +00:00
Leo Chen
388bdee3f5 Update IDisplay to V11-V12
V12 is not frozen yet. We should still allow V11 for `next` build.

Test: trigger test build
Bug: 309897479
Bug: 303162192
Change-Id: I14582a51cde66698013b275ec1d668f858ad7cba
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-08 08:48:46 +00:00
KRIS CHEN
3cbe2de42c Merge "Allow fingerprint to access the folder /data/vendor/fingerprint" into main 2024-05-08 08:46:30 +00:00
chenkris
4035d467ad Allow fingerprint to access the folder /data/vendor/fingerprint
Fix the following avc denial:
android.hardwar: type=1400 audit(0.0:20): avc:  denied  { write } for  name="fingerprint" dev="dm-56" ino=36703 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=dir permissive=0

Bug: 267766859
Test: Tested fingerprint under enforcing mode
Change-Id: Iadd058432b7db8c20a949aeda1df5f8309663004
2024-05-08 06:48:41 +00:00
Kelvin Zhang
4bc3f5a338 Reland: Copy persist partition files to /data on boot
Since /persisit was previously mounted during eraly-init stage,
this CL delays the /persist mount to post-fs-data stage.
Actions which depends on the /persist partition are also moved.

Bug: 319335586
Change-Id: I6bcc775f16331905c6896f3a2ec5bbea9e20744f
2024-05-07 21:31:13 -07:00
Kelvin Zhang
b08f8dbf23 Reland: Copy files on EFS partition to /data on boot
During boot, this CL adds the following sequence of actions:

1. mount original efs partitions(most likely f2fs) on /mnt/vendor/efs
2. copy files in /mnt/vendor/efs to /data/vendor/copied/efs.img
3. fsync all the files in /data/vendor/copied/efs.img
4. rename /data/vendor/copied/efs.img to /data/vendor/copied/efs
5. bind-mount /data/vendor/copied/efs to /mnt/vendor/efs
6. repeat 1-5 for efs_backup and modem_userdata

The original EFS partitions are mounted and only used for file
copying, no destructive action done on original efs partitions.

Test: reformat /data as ext4, boot the device
Bug: 319335586
Change-Id: Ide78be316778acfc5c582c4a7b78853796cf4c1e
2024-05-07 21:31:13 -07:00
Android Build Coastguard Worker
285014e29f Snap for 11811809 from 7c7e028271 to 24Q3-release
Change-Id: Ibab44877c605889491073f4547e5ccd70ded8270
2024-05-07 23:03:59 +00:00
Android Build Coastguard Worker
fe3d51e4fe Snap for 11811809 from 4053a85fe7 to 24Q3-release
Change-Id: Icab9527fb8247df2b17ebe1b4697d5e98934fc66
2024-05-07 23:03:58 +00:00
Kelvin Zhang
be41aa688e Reland: Add necessary sepolicy for convert_modem_to_ext4
The original CL was reverted because it references
enable_16k_pages_prop, which is only available on board API level >
202504.

This reland removes enable_16k_pages_prop usage, and worked around it by
reading PRODUCT_16K_DEVELOPER_OPTION at build time.

Test: reformat data as ext4, reboot
Bug: 293313353
Change-Id: Ibd8f57d1ef4fd2b0fd8b4170153d57fe9a9cefc2
2024-05-07 13:24:15 -07:00
Pechetty Sravani
7c7e028271 Merge "Revert "Add necessary sepolicy for convert_modem_to_ext4"" into main 2024-05-07 13:08:44 +00:00
Pechetty Sravani
2bf59857da Revert "Add necessary sepolicy for convert_modem_to_ext4"
Revert submission 26822004

Reason for revert: <Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:26822004

Change-Id: I90e3bf5ecbdf6c058c56293cfba59c628ccc7aba
2024-05-07 08:50:45 +00:00
Pechetty Sravani
4053a85fe7 Revert "Copy files on EFS partition to /data on boot"
Revert submission 26822004

Reason for revert: Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:26822004

Change-Id: Ie9598a3b3b56c8ce26f475079798c44314696f44
2024-05-07 07:19:37 +00:00
Pechetty Sravani
327973016e Revert "Copy persist partition files to /data on boot"
Revert submission 26822004

Reason for revert: Potential culprit for b/339099720- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:26822004

Change-Id: I744fccbf1aacd817ca1a0c6f4a121393307c8797
2024-05-07 07:19:37 +00:00
Treehugger Robot
20f1383abd Merge "Add necessary sepolicy for convert_modem_to_ext4" into main 2024-05-06 23:19:28 +00:00
Android Build Coastguard Worker
84c5f5e3b5 Snap for 11806096 from 76caf6b954 to 24Q3-release
Change-Id: Ibfcb4a23bbb9d2fe1a0c6512ec65ef2c95ef360e
2024-05-06 23:03:44 +00:00