Commit graph

21 commits

Author SHA1 Message Date
Michael Bestas
8ed68258b6
sm6225-common: Decommonize fstab
Change-Id: Ibe837811e364cb3b8fe189bf91474ae3dbf2989a
2023-05-10 23:36:33 +03:00
Dhina17
a544c2b81f sm6225-common: Correct the fstab.qcom_ufs src file
Change-Id: Ieed55ca0e5c91d5d98daad4de20d95daa63cef56
2023-05-10 03:07:39 +05:30
Michael Bestas
df61000153
sm6225-common: Add fstab support for emmc devices
Change-Id: Id8d2838dd747f02107116cda761cb364b3a626d3
2023-05-07 01:03:32 +03:00
Michael Bestas
f7bdf6f7f8
sm6225-common: Decommonize some init scripts
Change-Id: I4a5045970032c0578257b9acefa5aafb05d24f0c
2023-04-24 23:41:31 +03:00
Mohammed Mirza Mandayappurath Manzoor
b4daae51b7
sm6225-common: ueventd: Set permissions for KGSL sysfs node
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.

Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
2023-04-24 23:08:45 +03:00
Michael Bestas
91036a08a8
sm6225-common: Get rid of hardware_revisions.sh
This is useless for us and requires a bunch of SEPolicy changes.

Change-Id: I760cb419612f0a196a863f6bf1869e11341ab8d3
2023-04-19 20:35:11 +03:00
Michael Bestas
458f933282
sm6225-common: init.mmi: Drop setprop ro.vendor.build.fingerprint
This doesn't work and it would be wrong if it worked.

Change-Id: I0d4123eb33c3a18eea36e01308df21764e2df3ac
2023-04-19 20:35:11 +03:00
Michael Bestas
28e3cb2afe
sm6225-common: init.oem.hw: Drop set_ro_vendor_incremental
Change-Id: Ic4d3d1775c437847f2aaecd87e504ba39bf93ac5
2023-04-19 20:35:11 +03:00
Michael Bestas
a44f1a0a7a
sm6225-common: init.mmi.touch: Drop SELinux permissive check
This part of the script causes unnecessary denials to show up when
we are in permissive mode.

Change-Id: I4b1fd469d0f37e8f31c998ee480b51078edd8a99
2023-04-19 20:35:10 +03:00
Jimmy Chen
c2e0639266
sm6225-common: Move WiFi supplicant service definition to dedicated RC
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2023-04-14 05:04:29 +03:00
Michael Bestas
7e41610385
sm6225-common: Disable ramdumps
This should not be enabled in production builds.
Also resolves SELinux denials.

Change-Id: Idcfe7301a96d5831c61c02e5f5f448cd46a9481b
2023-04-14 05:01:56 +03:00
Hridya Valsaraju
a108236cca
sm6225-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-04-14 05:01:50 +03:00
Michael Bestas
122c791486
sm6225-common: init: Drop unused property triggers
Resolve SELinux denials.

Change-Id: I457c7ba325ce597cc56bf851236eeb2a00abb074
2023-04-10 19:18:18 +03:00
Alexander Koskovich
9b4c50d809
sm6225-common: init: Don't mount TraceFS twice
* AOSP already mounts TraceFS in system init, so mounting it twice
   causes SEPolicy denials. See the comments in this change.

   https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195

Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2023-04-10 19:18:18 +03:00
Ethan Chen
459eba2f23
sm6225-common: Remove cnss_diag
* This is for debug use only

Change-Id: I1977c3495a3467702b87ed6b3428514e15d487c3
2023-04-10 19:18:18 +03:00
Albert I
863f1ffcc7 sm6225-common: fstab: Handle avb= fs_mgr flags correctly
Specifying avb=<vbmeta-partition> is only necessary for first entry of
partition groups that use same vbmeta partition. The following entry can have
<vbmeta-parititon> part omitted.

Test: None
Link: https://source.android.com/devices/architecture/kernel/mounting-partitions-early#fstab-entries
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I5a42fd3de72c400acfae56d6a1e1b85c22a79537
2023-04-09 01:09:24 +05:30
Dhina17
cae638f112 sm6225-common: Build QTI USB 1.3
Change-Id: Ic5be4a49c8b31099820b46a95026221f411b45de
2023-03-30 22:51:57 +05:30
Dhina17
c5327f4fe1 sm6225-common: Import rootdir from hawao S2SE32.28-41-1
Change-Id: I99ed9854b90396e594714124719ecb37d6cf5eae
2023-02-17 00:18:46 +05:30
Dhina17
222684d0fb sm6225-common: Import init.recovery.qcom.rc from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: If491cd9a8b2e80a5b80f542a4a27186f253fd0dd
2023-02-17 00:18:46 +05:30
Dhina17
24692fc6e2 sm6225-common: Setup recovery
Change-Id: Iec167d51191bc5ff3ba8dcc1864ac7bfee23cfe1
2023-02-12 01:30:43 +05:30
Dhina17
7ba856aaeb sm6225-common: Build vendor boot partition
with:
- DTB image
- first_stage_ramdisk fstab

Change-Id: I7cf72994a49b1b49ba7bf2079537697fb6fd20fa
2023-02-12 01:30:43 +05:30