Commit Graph

82 Commits

Author SHA1 Message Date
Josh Wu
f02d0093bd topaz: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-12-02 17:01:05 +07:00
boedhack99
6e6e2e2eea topaz: Fix boot usbcontroller configs
Change-Id: I4d38708d4406dea73752db88bc83f8bde3e91b0b
2023-12-02 17:01:05 +07:00
boedhack99
db6e2dd6ce topaz: vintf: Declare missing network manifest
E HidlServiceManagement: Service android.hardware.radio@1.2::ISap/slot1 must be in VINTF manifest in order to register/get.

E HidlServiceManagement: Service vendor.qti.hardware.radio.lpa@1.3::IUimLpa/UimLpa0 must be in VINTF manifest in order to register/get.

Change-Id: Ica39f3fb22470801d10aded2aeb1144c9ff2908e
2023-12-02 17:01:05 +07:00
boedhack99
ea774130ff topaz: vintf: secure_element: Add SIM2 full qualified name interface
07-12 01:22:03.291  1615  1807 E HidlServiceManagement: Service android.hardware.secure_element@1.2::ISecureElement/SIM2 must be in VINTF manifest in order to register/get.

Change-Id: I5079c0e854ca2d39cb462ba7b1788714e9463344
2023-12-02 17:01:05 +07:00
boedhack99
fd06271afc topaz: vintf: Move NFC to device-manifest
Change-Id: Iab8069da707ab06f55c48c570e3cc927f505e780
2023-12-02 17:01:05 +07:00
boedhack99
112a255472 topaz: Add display screenBrightnessMap configs
* Build to vendor

Change-Id: Ia004e2ecf2dc788e8b0bf66c884da17e6d6ac418
2023-12-02 17:01:05 +07:00
Bruno Martins
c56e9960f7 topaz: Modify OpenGL and Vulkan dEQP level to 2022
Stock declares that device passes dEQP tests associated with date 2022-03-01.

Change-Id: I01a780bf6519bb2003e730610d2efe88e4cd47d0
2023-12-02 17:01:05 +07:00
Bruno Martins
c052fb840a topaz: 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-12-02 17:01:05 +07:00
boedhack99
8587dd1144 topaz: Don't split audio policy engine for odm
* copy from vendor file
* it's same configurations

Change-Id: I5aa02544118fdec0198c54ecdb5e5db32470848d
2023-12-02 17:01:05 +07:00
boedhack99
8c983bfdd8 topaz: Drop prebuilt libeffect*
Change-Id: Iab16eee8d7b35085ee52a54954c74c3b9757100d
2023-12-02 17:01:05 +07:00
boedhack99
e3d0679f7c topaz: Update init scripts from qcom/common
* from https://github.com/AOSPA/android_device_qcom_common/tree/topaz/vendor/init
* Taken bengal 5.xx kernel version
* Remove xiaomi init.extra_free_kbytes

Change-Id: I560b0337c9ffaad86657c63de775686ad608b697
2023-12-02 17:01:05 +07:00
boedhack99
fbba603490 topaz: Import full init kernel scripts
Change-Id: I2e9439a2e86528f985d6cbd2fdf7b5ee44400963
2023-12-02 17:01:05 +07:00
boedhack99
89b7fc4ded topaz: Move init scripts to default rootdir
Change-Id: I10dee62615c2cb6dadfc988418fac50ebe399ee7
2023-12-02 17:01:05 +07:00
boedhack99
14f9036434 topaz: Copy IR permissions from source
Change-Id: I493b1628de0f7bbb1c0124707b1ed0267521110b
2023-12-02 17:01:05 +07:00
Arian
d472306f2b topaz: Build required NDK libs
* Needed by some HALs

Change-Id: Ifd9f15555de39eed3b6b79c53e2f180fc0c79c4f
2023-12-02 17:01:05 +07:00
Alexander Koskovich
43e3c9eea4 topaz: init: Disable QCOM system daemon
* For factory use only and has real performance costs.

Change-Id: I399ac77da76a1d0fd7a42982e6d97c0ffe7b6722
2023-12-02 17:01:05 +07:00
Sreekanth Palakurthi
ee4847a583 topaz: init: Remove useless sensingdaemon
Change-Id: If3015b06a15cf24bb979f89abcfbde5ab4460934
2023-12-02 17:01:05 +07:00
Cosmin Tanislav
cc499491a1 topaz: init: Remove non-existent services
Change-Id: I8adccbae6c740fcba1087e7ab7ff9e587303c58d
2023-12-02 17:01:05 +07:00
coduxer
dcd0271078 topaz: init: Fix fingerprint goodix events
[1] - this fixing the goodix issue when long press the powerbutton due
annoying kernel events

Change-Id: I8d3e867de2f0c30a46c371a36b691cb9011bd519
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-12-02 17:01:05 +07:00
boedhack99
f2b267aa9d topaz: Set TARGET_BOARD_SUFFIX for bengal_515
Change-Id: I367299c1e5b26cdc1f45c17624f16f9a61e23846
2023-12-02 17:01:05 +07:00
chrisl7
174ec023c7 topaz: init: Configure AVB stuff correctly
[1] - According to Kalama device tree

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I1e4cdb9b63e1321d101a029a2a5e029fa44b2bd1
2023-12-02 17:01:05 +07:00
chrisl7
03f6668a7b topaz: Add system_dlkm on BOARD_AVB_VBMETA_SYSTEM
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: Ic16e8f35d72c1f2b4c80637077328a98279007a6
2023-12-02 17:01:05 +07:00
Adithya R
782b759cda topaz: init: fstab: Add entry for mounting sdcard in recovery
Taken from lahaina tree [1], this is required for qcom's
custom logic for mounting sdcard in recovery [2][3].

[1]: https://git.codelinaro.org/clo/la/device/qcom/bengal_515/-/blob/qcom-devices.lnx.13.0.r5-rel/recovery_AB_dynamic_partition.fstab#L42
[2]: 812c1a92f8
[3]: 2e15090c02

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-12-02 17:01:05 +07:00
CHRISL7
1ab44229ed topaz: init: fstab: Import xiaomi changes
* from topaz MIUI V14.0.7.0.TMGMIXM

Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
Change-Id: I9a819aefc7b3ee3000ea6ca7ac31b6ec4d947641
2023-12-02 17:01:05 +07:00
Adithya R
8068733ef9 [DNM]topaz: Make selinux permissive
Change-Id: I09dc0fe0e0fe6c0240c348d261ddac89bc825233
2023-12-02 17:01:05 +07:00
boedhack99
3fb2a1ff0b topaz: Import initial device sepolicy
* Adapt from xiaomi_sm8450-common ( cupid )

Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I8c1ba7c16159463191e71ba1e77b31fdc71e7cf8
2023-12-02 17:01:05 +07:00
boedhack99
d16658bff7 topaz: Include QCOM SEPolicy vndr makefiles
Change-Id: I59ae63628fb13ea941a5abed5ec93375ba272040
2023-12-02 17:01:05 +07:00
chrisl7
b4d90ba3e8 topaz: init: Add topaz libinit
Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
Change-Id: I28be7a86b021a8f638239eda568d1ac93ff2a7d2
2023-12-02 17:01:05 +07:00
Alexander Koskovich
3c2f9b14a6 topaz: Switch to SHA256_RSA4096 for vbmeta system
Change-Id: I9309c6ee4ea0f9085fe2bac1372f30476b404faa
2023-12-02 17:01:05 +07:00
Alexander Koskovich
10fde4ed5c topaz: Match chained vbmeta images
Change-Id: Ic2b8c7101d3734747221d5fc66fa26f11c7b06b2
2023-12-02 17:01:05 +07:00
boedhack99
2cd71a7128 topaz: vintf: Cleanup useless entries
Change-Id: I20bf44595e534f28359e6874ba4143bd2cfc2ea1
2023-12-02 17:01:05 +07:00
boedhack99
341616a274 topaz: Import device VINTF from stock
* From topaz MIUI V14.0.7.0.TMGMIXM

Change-Id: I831486a490af916a79472bdcf4e3c4ae35c3651f
2023-12-02 17:01:05 +07:00
boedhack99
6189c8181e topaz: Set force prebuilt kernel|modules
Change-Id: If49fe066614df2ccd3914cd172e88bab693bedf2
2023-12-02 17:01:05 +07:00
Roger Ellis
50de8c7b5b topaz: Allow ELF prebuilts in PRODUCT_COPY_FILES
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
   May 11th. See b/156534160 for long-term fix which should
   override this change.

Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2023-12-02 17:01:05 +07:00
Dan Willemsen
6e7723da2d topaz: Build with overriding commands.
* To allow turning these into errors on other devices,
   and incrementally fix these issue, set BUILD_BROKEN_DUP_RULES.

Change-Id: I93637252a4cbe2e8b37648d5c0c0051a7696e13d
2023-12-02 17:01:05 +07:00
Arian
4394a41655 topaz: Enable 64bit audio HAL
Change-Id: If4734e561ff5f32aabbc5c8a31cbc40813c50650
2023-12-02 17:01:05 +07:00
boedhack99
c551532aad topaz: Create device-specifics build of proprietary files
Build everthing else from sources

Change-Id: I9e30b6beb556bb7ab619e438e545714070bcd8ec
2023-12-02 17:01:05 +07:00
chandu078
e285f023ce topaz: Import proprietary extract scripts from templates
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Change-Id: Ieb8172c0036e318dd3e23a224dd08f3e6c651295
2023-12-02 17:01:05 +07:00
Danny Baumann
40c4abc064 topaz: overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2023-12-02 17:01:05 +07:00
LuK1337
bfc8381b59 topaz: overlay: Add reboot_fastboot action to power menu 2023-12-02 17:01:05 +07:00
Jesse Chan
07226c6bd7 topaz: overlay: Enable option for full screen aspect rati
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2023-12-02 17:01:05 +07:00
LuK1337
a0181f08fb topaz: overlay: Define device Hardware keys 2023-12-02 17:01:05 +07:00
LuK1337
3bfd72b75d topaz: Set default clock position to left
Change-Id: I2b597579851434972cd29510ff90dfa8ddc6564f
2023-12-02 17:01:05 +07:00
Dan Pasanen
332466a8dc topaz: overlay: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2023-12-02 17:01:05 +07:00
Nicolas Geoffray
c249eb8c3b topaz: overlay: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2023-12-02 17:01:05 +07:00
Santiago Seifert
755cc00313 topaz: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2023-12-02 17:01:05 +07:00
Kevin Jeon
c0f0cb165c topaz: overlay: 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-12-02 17:01:05 +07:00
kocolin
61fd5aafad topaz: 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-12-02 17:01:05 +07:00
Lisa Liu
64595b686c topaz: overlay: Update pinner configuration from legacy projects
Change-Id: Ief469d2510b0aa5a0c57285120f3e0e6cf7e8526
2023-12-02 17:01:05 +07:00
boedhack99
40cd1a4a45 topaz: Import device-specifics overlays
Change-Id: Ie9eabba9841ce8bded3998e99ce473a4bd60035b
2023-12-02 17:01:05 +07:00