chaptsand
7fa7447129
sm8550-common: Initial device specific properties
...
* from dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys
Change-Id: I9ca943ae69f0bf9a71d8fd3dec40c5f40e9edaed
2023-10-06 23:20:54 +08:00
chaptsand
2f72cf973c
sm8550-common: init: Update init scripts from S9160ZHU2AWH1
...
Change-Id: I23d408c9b1845fe563c8b7cbdd3052effe1c0d1e
2023-10-06 23:20:54 +08:00
PRANAY BHARGAV BHAVARAJU
2590d1bf37
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-10-06 23:20:54 +08:00
chaptsand
5e520fa720
sm8550-common: Update blobs from S9160ZHU2AWH1
...
* dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys
Change-Id: I613ae499a5fb1bf57a3b45a17d164a9de03f352d
2023-10-06 23:20:54 +08:00
Jiyong Park
c4b96529d6
sm8550-common: Add updatable_apex.mk
...
The product abstracts configs that need to be set to support updating of APEXes.
Change-Id: I441fa7535c3b8bcb5897337e5c85b02f3e34053e
2023-10-06 23:20:54 +08:00
Bruno Martins
2229f3fc4e
sm8550-common: Use device-specific data-ipa-cfg-mgr
...
This is a workaround to deal with the fact that QCOM has moved
libipanat out of data-ipa-cfg-mgr for kalama.
Change-Id: I66a01d115546af415dc7956831ea41d1e2902863
2023-10-06 23:20:54 +08:00
Bruno Martins
c709a7d3f0
sm8550-common: Enable extended compress format
...
It's enabled in kalama platform, as observed in stock libtinycompress.
Change-Id: I3183faced679ab433ed1ce30ac7df6c7c511e476
2023-10-06 23:20:54 +08:00
Bruno Martins
d92ed51954
sm8550-common: Skip building agm test binaries
...
Change-Id: I6e0f4f37b4ae465700dfd4d20e54858a8241dcf4
2023-10-06 23:20:54 +08:00
Aaron Kling
dd154e2379
sm8550-common: Move most agm and pal targets to source built
...
Change-Id: I6ca0c5396a3b583b37e029f5c98ff13127db65a6
2023-10-06 23:20:54 +08:00
Bruno Martins
d0711c5fe1
sm8550-common: Build misc deps and dynamic_sensor_hal from sources
...
Change-Id: Ifed734fc01282467b6ae7a9c893e8f474038eaaf
2023-10-06 23:20:54 +08:00
Bruno Martins
74875478ad
sm8550-common: Update audio-HAL path
...
It has been moved to a subdir and the structure is now as follows:
hardware/qcom-caf/$(QCOM_HARDWARE_VARIANT)/audio
├─ agm (clo:platform/vendor/qcom/opensource/agm)
├─ pal (clo:platform/vendor/qcom/opensource/arpal-lx)
└─ primary_hal (clo:platform/hardware/qcom/audio-ar)
Change-Id: Icfce2884a482b498e97f931732d37974161cf620
2023-10-06 23:20:54 +08:00
Chandu Dyavanapelli
799f647588
sm8550-common: Update media packages
...
Change-Id: I27f1da2f9e4f7bad9635e34ae13f97c56394382c
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com >
2023-10-06 23:20:54 +08:00
Chandu Dyavanapelli
fd38da7a44
sm8550-common: Wire up display
...
Change-Id: I0e0398f3b883ff4248d8462ff04109c6f723a300
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com >
2023-10-06 23:20:54 +08:00
Arian
67a105fe95
sm8550-common: Enable 64bit audio HAL
...
Change-Id: If4734e561ff5f32aabbc5c8a31cbc40813c50650
2023-10-06 23:20:54 +08:00
Bruno Martins
7a580e0750
sm8550-common: Wire up audio and update configurations
...
Change-Id: I3da040b9709cd0c57baacd2808b1a09d627506eb
2023-10-06 23:20:54 +08:00
chaptsand
cf9c4297f2
sm8550-common: Initial proprietary blobs list and bringup HALs
...
Co-authored-by: Bruno Martins <bgcngm@gmail.com >
Co-authored-by: Simon1511 <simon2002.schoenmackers@gmail.com >
Change-Id: I4ead5aa47d892e1516acb42dcebaaf424733c815
2023-10-06 23:20:54 +08:00
Anvisha
1c93458aa4
sm8550-common: Generate boot as chained partition
...
This change adds necessary configuration to generate boot
and init_boot as chained partition.
Change-Id: I05b5e8fa8b6154f8191c82df574a9c535a174e8d
2023-10-06 23:20:54 +08:00
rakegand
b2ff44d25f
sm8550-common: init.target.rc: Move SPU NVM directories creation to earlier stage.
...
Change-Id: Ic6d1a83c7fc7a54d6f8d78f91e5f3167dd7017fe
2023-10-06 23:20:54 +08:00
rakegand
ab8c9496f1
sm8550-common: Remove Strongbox manifest entry for Kalama
...
Strongbox entry is added as vintf fragment as device can
either support support Keymaster or Keymint based on
the configuration.
Change-Id: I07f5b891b17d8c33b25dba22c41cb60406cebed8
2023-10-06 23:20:54 +08:00
chaptsand
67551b389e
sm8550-common: Import QCOM common vintf manifests
...
* from LA.VENDOR.13.2.0.r1-15000-KAILUA.0
Change-Id: Ic9facc620bf440d031471525735a13c13615f37e
2023-10-06 23:20:54 +08:00
chaptsand
b3a7376b75
sm8550-common: Import QCOM common configs
...
* from LA.VENDOR.13.2.0.r1-15000-KAILUA.0
Change-Id: Ieeecba00d5baa96988911218f00774b1efb8618a
2023-10-06 23:20:54 +08:00
chaptsand
261461ec6a
sm8550-common: Import proprietary extract scripts from templates
...
Change-Id: I85162a0465519b019123fccaba69ca99f8a5c54b
2023-10-06 23:20:54 +08:00
chaptsand
987e12102c
sm8550-common: Build QTI bootctrl HAL
...
Change-Id: I1d35fe73deaef39ab71dd627a17f72d60e53d717
2023-10-06 23:20:54 +08:00
Luofan Chen
19efac81bb
sm8550-common: gpt-utils: Check ufs device first before checking partition names
...
Change-Id: I51663ff8e074681191ac708fcd7b4d28e890deaf
2023-10-06 23:20:23 +08:00
LuK1337
0594357c7c
sm8550-common: gpt-utils: Fix build errors.
...
Change-Id: Ie8245d1637e12b5979a8af1b864cc713135b5c95
2023-10-06 11:17:39 +08:00
LuK1337
db5f2b0f9d
sm8550-common: gpt-utils: Drop unnecessary includes
...
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
* When using generated_kernel_headers including
stdio.h will cause errors due to redefined macros.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
2023-10-06 11:17:39 +08:00
Tao Bao
dc5129cc17
sm8550-common: gpt-utils: Address the warnings
...
[ 11% 2/18] target C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
struct stat ufs_dir_stat;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
int r, fd;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
int r, fd;
^
4 warnings generated.
Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2023-10-06 11:17:39 +08:00
chaptsand
d2cfad2633
sm8550-common: Import gpt-utils from LA.VENDOR.13.2.0.r1-15000-KAILUA.0
...
Change-Id: I7f311639ad78c4bb4e1ba3e83eeb1cbc2114b106
2023-10-06 10:57:52 +08:00
Hridya Valsaraju
fe7d7c17ee
sm8550-common: Build fastboot daemon for recovery
...
* So we can flash our relevant dynamic partitions.
Change-Id: I372dd9457a824868ef7344dcd861b5b56af408c0
2023-10-06 10:57:52 +08:00
Nicolas Geoffray
da1a6d1bf3
sm8550-common: Remove odex/oat files from pinner list
...
* The pinner now asks the runtime for these files.
Change-Id: Ida94093db4485907f78167d0b3a247cdf2795908
2023-10-06 10:57:52 +08:00
Kevin Jeon
e963aa088a
sm8550-common: Update SurfaceFlinger pinned path to system/bin
...
* This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Change-Id: I8bab7d447ed24c8476087871ace9018413ad8f04
2023-10-06 10:57:52 +08:00
kocolin
2d862988f0
sm8550-common: overlay: Add some libraries to pinner list for camera
...
* This will help to reduce camera launch time in I/O
busy cases.
Change-Id: I817751155e5a137ba6895049e59526bb8484e433
2023-10-06 10:57:52 +08:00
Lisa Liu
55d016395f
sm8550-common: overlay: Add pinner configuration from legacy projects
...
Change-Id: Ief469d2510b0aa5a0c57285120f3e0e6cf7e8526
2023-10-06 10:57:52 +08:00
chaptsand
2b378cf846
sm8550-common: Import kalama vendor overlays
...
Change-Id: Ie9eabba9841ce8bded3998e99ce473a4bd60035b
2023-10-06 10:57:52 +08:00
Lucas Dupin
95f270572a
sm8550-common: overlay: Rename config_dozeAfterScreenOff
...
* New name is config_dozeAfterScreenOffByDefault.
Bug: 73178121
Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2023-10-06 10:57:52 +08:00
chaptsand
96dbb64317
sm8550-common: Import cleaned QSSI overlays
...
Change-Id: I65e227a73105e8fca1ddd5a1406ee685a5bd047e
2023-10-06 10:57:52 +08:00
Jaekyun Seok
2b44e6f613
sm8550-common: Enforce RROs for all build-time overlays.
...
Change-Id: I8f0cad5dae869545eda2b2ec70971e54cef0b777
2023-10-06 10:57:52 +08:00
Jeff Gaston
2245c9964c
sm8550-common: Create a device specific Soong namespace.
...
Change-Id: Ide70e1a2c12ce975cdcec25f9dfea412f8fb993d
2023-10-06 10:57:52 +08:00
ysr
363619850f
sm8550-common: Set board api,shipping api levels to 33
...
Change-Id: I0d10e8380b863d8201c005757a7f498db55b3679
2023-10-06 10:57:52 +08:00
chaptsand
a0f579ec47
sm8550-common: Import device specific init modifications
...
Change-Id: I1d3aa5c661f169b6585924471e91c8d166e0e7ab
2023-10-06 10:57:52 +08:00
Abhiprayah Tiwari
5641b7815d
sm8550-common: Move testscripts file from main rc to test rc
...
Moving init.qcom.testscripts.sh service start from
init.qcom.rc to init.test.rc to prevent it from having
any signature in user builds.
Change-Id: Ifa69537f8394e0919d26d6db300910620278ed76
2023-10-06 10:57:52 +08:00
chaptsand
9422979f9c
sm8550-common: Import Samsung specific init scripts from S9160ZHU1AWCA
...
Change-Id: I210ba149729bac8bc84020347c734be3c8d0d2a7
2023-10-06 10:57:46 +08:00
chaptsand
7bbddae53a
sm8550-common: Import QCOM init scripts from LA.VENDOR.13.2.0.r1-15000-KAILUA.0
...
Change-Id: I43f08ebf85177675166116e41f761677446675dc
2023-10-06 09:51:15 +08:00
chaptsand
4ac68624a5
sm8550-common: Create RFS MSM symlinks
...
Change-Id: I2b139fa4b73e39a7001d20b9eadc4e0453173ab7
2023-10-06 09:51:05 +08:00
chaptsand
8ef5093440
sm8550-common: Create vm-system mount point
...
Change-Id: Ia756db8fd40ed2b49798f5381d2d27a903bcb9ae
2023-10-06 09:45:23 +08:00
chaptsand
19ffe79ca2
sm8550-common: Create modem firmware mount point
...
Change-Id: Ia1442ea3014b8bca496fe6f2972bb21dfd185111
2023-10-06 09:45:11 +08:00
Ameya Thakur
528639e478
sm8550-common: Generate non-HLOS image mount points for A/B builds
...
* On builds where A/B support is enabled the system image
acts as the rootfs. In this case we can no longer create
the non-HLOS image mount points at run time as we used
to, we now create them as part of the build itself.
Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
2023-10-06 09:43:48 +08:00
Roopesh Nataraja
37a686bf8a
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-10-06 09:36:01 +08:00
Arthur Shuai
23d88f9af5
sm8550-common: BoardConfig.mk: add hashtree footer args
...
Config hash algorithm to sha256
Change-Id: Ic09f5da123a9a9224821ea6bac51c4dc79bb70a0
2023-10-06 09:35:53 +08:00
Roopesh Nataraja
46632f72cc
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-10-06 09:35:43 +08:00