Commit Graph

962 Commits

Author SHA1 Message Date
Bruno Martins
2aabc95617 sm8550-common: Update from OOS 11.A.23
Change-Id: If752235e0976f47c9564524840b25499857c64c5
2023-07-10 22:59:12 +01:00
LuK1337
bedeca1b57 sm8550-common: Override available touchscreen gestures list
Change-Id: I14b0e034094c0cf4b60a86f5f26fc8d77ab50e43
2023-07-10 22:59:12 +01:00
Bruno Martins
0a1926fd9c sm8550-common: Dynamically set Pixelworks feature prop
This fixes color modes.

Change-Id: Icea2d572f8e24de5b7aac23550f5022c8e2c4d7b
2023-07-10 22:59:12 +01:00
Bruno Martins
3e43cec4aa sm8550-common: Temporarily ship without IMS packages
Change-Id: I23a2956c6f55038be2aee482b67965fe0127296b
2023-07-10 22:59:12 +01:00
Bruno Martins
849790b13c sm8550-common: Update list of vendor kernel modules
This is a syncronization with vendor_dlkm/modules.load
generated by kernel-platform.

Change-Id: I0328e31811cc3e3d8da1e420df438eb6fa3ad066
2023-07-10 22:59:12 +01:00
Mayank Rana
8df8254e11 sm8550-common: Set vendor.usb.controller value
Update vendor.usb.controller as a600000.dwc3 as default USB
gadget controller.

Change-Id: If97dc4e087a73fd767bd59be5d75b3d205704e59
2023-07-10 22:59:12 +01:00
PRANAY BHARGAV BHAVARAJU
a5df19aa11 sm8550-common: init: Avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2023-07-10 22:59:12 +01:00
Naman Jain
3300949c3e sm8550-common: init: Set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file.

Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e
2023-07-10 22:59:12 +01:00
Chandan Gera
c32befde2b sm8550-common: init: Add Permission for HDMI bridge driver
Change-Id: I6402686d44e7349dbc313f8b53071a7aed5a1d16
2023-07-10 22:59:12 +01:00
Pritama Biswas
eb94530bdd sm8550-common: init: Add permission for HDMI CEC.
Change-Id: I7ee3146aa0d24468061c89ce8702e8c174fbe172
2023-07-10 22:59:12 +01:00
Shashank Sivakumar
8d6a934602 sm8550-common: Modified the VABc compresison makefile
The compression makefile currently being used has modules which do not
need to be picked for latest versions. There is a new mandate to use
newer makefile for newer version. This change is to align with the
request of moving to these new makefile for VABc.

gbug reference: 243911353

Change-Id: I3a064ee730e63ce3ebbd57c7c9d0df95d665fa5c
2023-07-10 22:59:12 +01:00
Roopesh Nataraja
f125c68252 sm8550-common: Enable compressed snapshots with virtual A/B
Virtual A/B compression helps to reduce snapshot size on /data.
Enable compression by inheriting virtual_ab_ota/compression.mk.

Change-Id: I47f241c966285243cdc379ce971c08603ffc575d
2023-07-10 22:59:12 +01:00
Bruno Martins
7ded511893 sm8550-common: Match CPU arch configs with CLO
Change-Id: Ia89ccc051db555c6fd041369990edbefdd6c59cc
2023-07-10 22:59:12 +01:00
Bruno Martins
b5a04db1e2 sm8550-common: init: Load .default fstab
The one in the device tree is named fstab.default,
so allow Android to pick it automatically.

Change-Id: Ib0eac47f3428fe1135ba00ee9fe1f83d2f019d32
2023-07-10 22:59:12 +01:00
Bruno Martins
c440c3acd4 sm8550-common: Update list of kernel modules loaded in first-stage
Change-Id: I178988b53f99637e0cc16971cde17ed874e8a1e4
2023-07-10 22:59:12 +01:00
Bruno Martins
ff58bf3107 sm8550-common: Drop missing oplus kernel modules
Change-Id: Ifabaa63461bb438df9c35a58f46934ffcd1075fd
2023-07-10 22:59:12 +01:00
Chandu Dyavanapelli
88f97ee0a4 sm8550-common: Sync vbmeta_system and vbmeta_vendor with OOS
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
Bruno Martins
4a30a3370f sm8550-common: Fix VINTF parsing errors
These entries are already provided in split manifests.

Change-Id: Iae62702679462b73fc00ceb34c7a17034fb0b65c
2023-07-10 22:59:12 +01:00
Bruno Martins
64cf4b208b sm8550-common: Force prebuilt kernel usage
Change-Id: I952a82d324ae17149effbb8a652fbb665c8b9729
2023-07-10 22:59:12 +01:00
Bruno Martins
652a61ac1a sm8550-common: Remove powershare and wireless charging support
Quite sadly. :(

Change-Id: I0b75615bb016da60288fa429f99a6f035a5df943
2023-07-10 22:59:12 +01:00
Bruno Martins
6b17667e5d sm8550-common: Update from OOS 11.A.10
Change-Id: Iafbc0295a7f0f9cf5261cad2d3d32cad28e6d7cc
2023-07-10 22:59:12 +01:00
chandu078
801e2bf81f sm8550-common: Set SELinux to permissive during bringup 2023-07-10 22:59:12 +01:00
chandu078
b36824d334 sm8550-common: Fix WiFi firmware symlinks
Change-Id: I6071fc7f938c0fcc9bcf72c623df3b99542e44d6
2023-07-10 22:59:12 +01:00
SGCMarkus
64e270cced sm8550-common: Add stock EGL symlinks
Change-Id: I590b4d284fcbbe78bf860573c02287e536f090bf
2023-07-10 22:59:12 +01:00
Andrzej Perczak
2cb61f42fb sm8550-common: Symlink libvndfwk_detect_jni.qti_vendor for CneApp
Change-Id: I702e7f0200b91695b3727ee2b163e796c5a7d438
2023-07-10 22:59:12 +01:00
Bruno Martins
a428cad900 sm8550-common: Include required secure MSM kernel modules
Change-Id: Ia4bc2b6e30a48b19bef55696c5590e93d4f9eeab
2023-07-10 22:59:12 +01:00
Bruno Martins
0647bb7329 sm8550-common: Get kernel going a bit further
Fully disable LTO during bringup as well.

Change-Id: I3bfcf0b66df09bc9e2be7366c852398dc9bb7459
2023-07-10 22:59:12 +01:00
Chandu Dyavanapelli
20a3e2ad2b sm8550-common: Sync properties with OOS
Change-Id: I9493c3ec97bb05b1e8d83928d53b5fdfb73adfdf
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
Bruno Martins
eccf3d30ce sm8550-common: init: Set model and region for OnePlus 11
Change-Id: I21d9559a81f9b0a46da4ec2ba2d7ebf73c9a47a0
2023-07-10 22:59:12 +01:00
chandu078
b9e9ceca45 sm8550-common: Drop multi-SIM init script
Until further notice, it's assumed that all variants
have dual SIM support.

Change-Id: I6c60230dff2b09c94208a6ec61c070c96dd803cd
2023-07-10 22:59:12 +01:00
chandu078
9c37336207 sm8550-common: Change GPS NFW client to Google Carrier Location
* OPLUS changed it to com.oplus.locationproxy.
   This is apart of the framework 'oplus-lbs-services',
   which we don't use in AOSP.
2023-07-10 22:59:12 +01:00
chandu078
ee728279ec sm8550-common: Update GPS configuration to CPH2449_11.A.09 2023-07-10 22:59:12 +01:00
chandu078
aa7fb5387c sm8550-common: Update matrix and manifest to LA.VENDOR.13.2.3.r1-01800-KAILUA.0
Include the network manifest separately, just like it is now shipped
in the newest devices.

Change-Id: I491fc3c022f8f6117ef729802a8fd20840911ac4
2023-07-10 22:59:12 +01:00
chandu078
9353ef4f09 sm8550-common: Set board API and shipping API level to 33
* 55e9026aa2.

Change-Id: Ie98c42d3e9c5d31341b326fe791ab8f6ef52a8e4
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
chandu078
24bdae2b40 sm8550-common: Update product shipping API level to 33
Change-Id: I46da59dc6c8176d5f80db361c139e773dd95bd25
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
Yifan Hong
b0d1a627c2 sm8550-common: Enforce generic ramdisk allow list
This change enforces that only the list of files on the generic
ramdisk can be installed to the ramdisk of this device.

This is required for all devices using generic ramdisk.

Test: m nothing
Bug: 173742069
Change-Id: Icff7f30b5aef9fdc59b3060316576f1f50b2a92c
2023-07-10 22:59:12 +01:00
micky387
167dfdff55 sm8550-common: Move GSI AVB keys to vendor ramdisk
Change-Id: I9d4b95dfa040db98e3805ce9689c6ba73d97cb44
2023-07-10 22:59:12 +01:00
Alexander Koskovich
58fd3cedf3 sm8550-common: Set BOARD_USES_GENERIC_KERNEL_IMAGE
* We don't really use GKI but our target is a 'GKI'
   one according to Google. Useful for this guard in
   system/core;

   LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_RAMDISK_OUT)/,$(my_ramdisk_dirs))
   ifeq (true,$(BOARD_USES_GENERIC_KERNEL_IMAGE))
       LOCAL_POST_INSTALL_CMD += $(addprefix $(TARGET_RAMDISK_OUT)/first_stage_ramdisk/,$(my_ramdisk_dirs))
   endif

Change-Id: I0d79ab24eafeb0fe74d5963538b6bcc3e85edff6
2023-07-10 22:59:12 +01:00
Chandu Dyavanapelli
b9c81932d0 sm8550-common: Update module list to OPLUS kernel
Change-Id: I0427e4c089e2d55a0362b01dfdfc49194cb73adb
2023-07-10 22:59:12 +01:00
chandu078
9c1e6be05f sm8550-common: Define modules to load for vendor ramdisk 2023-07-10 22:59:12 +01:00
chandu078
7f58a63161 sm8550-common: Update partitions size from OOS
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
Arthur Shuai
807c004c36 sm8550-common: Add hashtree footer args
Config hash algorithm to sha256

Change-Id: Ic09f5da123a9a9224821ea6bac51c4dc79bb70a0
2023-07-10 22:59:12 +01:00
Gokul krishna Krishnakumar
1350def0fb sm8550-common: Enable V4 boot header
Enable the V4 boot header for kalama. The V4 boot header includes several
android features, including a bootconfig and a signed boot image.

Change-Id: I2b971cebfb4ad8b05bb754bd1b3214b6de7394d7
2023-07-10 22:59:12 +01:00
chandu078
1563e51670 sm8550-common: Import bootconfig from LA.VENDOR.13.2.3.r1-01800-KAILUA.0
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2023-07-10 22:59:12 +01:00
chandu078
c03683cc64 sm8550-common: Enable compilation of recovery partition
* OnePlus 11 have dedicated A/B recovery partition.
2023-07-10 22:59:12 +01:00
Roopesh Nataraja
1683c640de sm8550-common: Enable compilation of init_boot partition
Devices launching with Android 13 or higher and shipping with
Android 13 must have an init_boot static partition. The generic
ramdisk is no longer be contained in the boot.img file that goes
in the boot partition. This generic ramdisk will be placed in a
new init_boot.img to be installed in a new init_boot partition.

Change-Id: I0434ef0cee209bb7709474c6db15b2c4fcb40a03
2023-07-10 22:59:12 +01:00
Roopesh Nataraja
2feade7e18 sm8550-common: Enable system_dlkm partition to host GKI modules
* Enable compilation of system_dlkm image to package GKI modules.
   It provides the flexibility to update GKI driver post KMI freeze.

 * Use sha256 to build hashtree for system_dlkm partition since it
   provides robustness against malicious attacks.

Change-Id: Icb3a5ab44d39f8b55324b7d8c47ea3c01f94f066
2023-07-10 22:59:12 +01:00
chandu078
e3510779f6 sm8550-common: Bring in OPLUS init script changes
Change-Id: I18c235b17640c87ab774510f6e9cb00accb94565
2023-07-10 22:59:12 +01:00
chandu078
e2b8f2a37f sm8550-common: Update QCOM scripts to LA.VENDOR.13.2.3.r1-01800-KAILUA.0
Change-Id: I05a6d6fbc150bac73bf1eaff1a6af32d8db598e2
2023-07-10 22:59:06 +01:00
chandu078
7602262c86 sm8550-common: Revert old recovery mode fixes for lahaina
This reverts commits a1fe460 and 6b755c7.

Change-Id: I54a4e62fea2f74aebb32eab55115f42d66d1334b
2023-07-08 10:20:25 +01:00