Commit graph

949 commits

Author SHA1 Message Date
Alexander Koskovich
5a3e4cce50 dre: Remove unused Bluetooth property
Change-Id: I1fa94bd94dad1a091091497d57b6d2698cef0c04
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f4b1c659d9 dre: init: Update display panel firmware if newer
[TP0]touchpanel: tp_fw_update_work: fw_name = tp/19825/FW_S6SY792_SAMSUNG.bin
[TP0]touchpanel: fw_name_fae is tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
sec-s6sy792 2-0048: Direct firmware load for tp/19825/FW_S6SY792_SAMSUNG_FAE.bin failed with error -2
sec-s6sy792 2-0048: Falling back to sysfs fallback for: tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
[TP0]touchpanel: retry times 0
[TP]sec-s6sy792: sec_fw_update is called, force update:0
[TP]sec-s6sy792: img version in bin is 0x28240117, img version in ic is 0x28240117
[TP]sec-s6sy792: config version in bin is 0x28240108, config version in ic is 0x28240108
[TP]touch_interface: read block_1, free once.
[TP]touch_interface: read block_1, kzalloc success(len:1152, buf_size:1152).
[TP]sec-s6sy792: update firmware state: no need update!
[TP0]touchpanel: release all touch point and key, clear tp touch down flag
[TP]touch_interface: read block_2, kzalloc success(len:1, buf_size:256).
[TP]sec-s6sy792: sec_change_to_np_mode: change to np_mode time: 0 success!
[TP]sec-s6sy792: sec_enable_fingerprint_mode: touchhold_enable: 0 success!
[TP]sec-s6sy792: sec_enable_black_gesture, enable = 0
[TP]sec-s6sy792: sec_enable_black_gesture: 0 times change black gesture success
[TP]sec-s6sy792: limit_switch is 1
[TP]sec-s6sy792: sec_enable_charge_mode: state: 0 success!
[TP]sec-s6sy792: sec_enable_headset_mode: state: 0 success!
[TP0]touchpanel: add qos request in touch driver.
[TP0]touchpanel: fw update finished

Change-Id: Iba517b59fe2856ed6f991c07e0362b1be203af45
2022-11-06 17:11:02 -06:00
LuK1337
e141fe303f dre: overlay: Set max network scan search time to 254
Matches value found in stock TeleServiceQcom.

Change-Id: If2b224298ffe731f8ccfd0b4f3b6d8a257b6f968
2022-11-06 17:11:02 -06:00
hpnightowl
4060e892f5 dre: Drop audio.a2dp.default
-
5be591a6f6

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-11-06 17:11:02 -06:00
Alexander Koskovich
dd92adce89 dre: Define boot image security patch
Change-Id: I2471d3412577fee8e7bca40743b38a2fc765884c
2022-11-06 17:11:02 -06:00
Alexander Koskovich
70b87d266d dre: Match chained vbmeta images with OOS
Change-Id: Ic2b8c7101d3734747221d5fc66fa26f11c7b06b2
2022-11-06 17:11:02 -06:00
Alexander Koskovich
97c072f261 dre: Switch to SHA256_RSA4096 to match OOS
Change-Id: I9309c6ee4ea0f9085fe2bac1372f30476b404faa
2022-11-06 17:11:02 -06:00
Alexander Koskovich
fddc7ebf3b dre: Enable LLVM integrated assembler
* Disabled by default even with LLVM=1, but this is
   another GCC dependency we can remove. Google has
   been doing this for a while now.

   https://android.googlesource.com/kernel/msm/+/b009f0a1a

Change-Id: I1ca23607682299182da0a6e14594ba2e2de00a4a
2022-11-06 17:11:02 -06:00
Alexander Koskovich
312af2154e dre: overlay: Define audio safety overlays
* From android_framework_res_overlay.audio.product.2083C

Change-Id: Ib7be879ccce9d152ad4baaa6948b6d7141699d08
2022-11-06 17:11:02 -06:00
Alexander Koskovich
7ddab57b20 dre: overlay: Import some WiFi overlays from OplusWifiResource
Change-Id: I6a8354276467b95bb02c9a8b30b5952094be6f2e
2022-11-06 17:11:02 -06:00
LuK1337
7ddea65881 dre: overlay: Declare eUICC device capabilities
From framework_res_overlay.network.fussi.2083C.

Change-Id: Ia0a23bbacd4d5e89fac4f784719a52f60d5ceeb5
2022-11-06 17:11:02 -06:00
Dyneteve
83c6461ee7 dre: CarrierConfig: Remove "SIM x is HD capable" message
sed -i '/config_update_service_status/ s/true/false/g' \
       overlay/CarrierConfigResCommon/res/xml/vendor.xml

Change-Id: I26ce187483d6d8c18bcd1901cd6d71ca6ec1e31f
2022-11-06 17:11:02 -06:00
LuK1337
4a51b5df89 dre: Use correct rollback index location for vbmeta_system
Change-Id: I022d7670290e0a1a9649c5d7d479e3763ec7d166
2022-10-11 08:31:24 -05:00
Sebastiano Barezzi
1e9df7a732 dre: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-10-11 08:31:24 -05:00
LuK1337
6cf14d3057 dre: init: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-10-11 08:31:24 -05:00
Michael Bestas
835ab39661 dre: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-10-11 08:31:24 -05:00
Alexander Koskovich
0a16cb3286 dre: Change GPS proxy app to default one
* This was the default in CAF before OnePlus changed
   it to com.oplus.locationproxy. This is apart of the
   framework 'oplus-lbs-services', which we don't use
   in Lineage.

Change-Id: I5144d32a6f63de5109ca2cc408bc895f621c1260
2022-10-11 08:31:24 -05:00
Albert Tang
fa0473e516 dre: Move GNSS files back to proprietary-files.txt
They won't be edited, so don't store them locally.

Change-Id: I4fb340553442e1ddaf09c9ea81743c0745999e1a
2022-10-11 08:31:24 -05:00
Alexander Koskovich
61cd2f935a dre: Import GPS configuration from DE2117_11_C.15
Change-Id: I64c78ddc6af425117af8dd85f2fc9a49ac3bb942
2022-10-11 08:31:24 -05:00
Cassie
94795728d8 dre: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2022-10-11 08:31:24 -05:00
Alexander Koskovich
7d1a1c52a7 dre: Switch to SPDX license identifiers
* Might as well be consistent.

Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
2022-10-11 08:31:24 -05:00
LuK1337
0988c92cb4 dre: overlay: Restore default config_proximityCheckTimeout
Apparently we can no longer expect proximity sensor to reply within
100ms...

Change-Id: Ifdeda8b9a310da9bd19b7d000b6ac7aa060ae742
2022-10-11 08:31:24 -05:00
Vishalcj17
e7b7c5a976 dre: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Change-Id: I878eb5cd7acb1fa322b28fce61ea59d8bfa47932
2022-10-11 08:31:24 -05:00
Alexander Koskovich
8e8185245e dre: Sync display properties with holi
* Remove properties that aren't referenced anywhere
   and ones where the value is the default.

Change-Id: I0b68179c7d8d32ca5bde0b959e57e2146b8537a3
2022-10-11 08:31:24 -05:00
Lisa Liu
8c02147eeb dre: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-10-11 08:31:24 -05:00
Alexander Koskovich
48c9c3d2b2 dre: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
2022-10-11 08:31:24 -05:00
Deevana Murthy Bandaru
8f6bbb0444 dre: Enable suspend while charging
Change-Id: I1b0258b1ae80d35a104ef976738ad843c053f60f
2022-10-11 08:31:24 -05:00
Alexander Koskovich
57d7ef06b4 dre: Drop ro.charger.disable_init_blank
* Don't need this on a modern platform like holi.

Change-Id: I567429a34059247a488bf513217dccefd60bb1d3
2022-10-11 08:31:24 -05:00
Alexander Koskovich
7d88bbcf44 dre: Drop persist.vendor.overlay.izat.optin
* Not used by anything.

Change-Id: Ia726deecdfe9bc07fbfe758ed006bf39e154a834
2022-10-11 08:31:24 -05:00
Alexander Koskovich
2157b4f312 dre: Drop camera.disable_zsl_mode
* Set as apart of calibrationOutput_uw.rc.

Change-Id: I7ac6c4ad993509c40b42518a574f8945a2934127
2022-10-11 08:31:24 -05:00
Alexander Koskovich
426a9e28f5 dre: Remove radio properties where the value is the default
Change-Id: I46a4fd1bc358fa7503a470054e8c6cd14ccfd1c0
2022-10-11 08:31:24 -05:00
Alexander Koskovich
89c8af1e55 dre: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-10-11 08:31:24 -05:00
Alexander Koskovich
73bd7212e4 dre: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-10-11 08:31:24 -05:00
Alexander Koskovich
45d6b0b943 dre: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-10-11 08:31:24 -05:00
Alexander Koskovich
13c31dcd58 dre: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
2022-10-11 08:31:24 -05:00
Alexander Koskovich
b2de3cc369 dre: Drop vendor camera properties
* Unused, at least for us.

Change-Id: Icf0f599db2ed1d19be2a93f3ee362686333a2792
2022-10-11 08:31:24 -05:00
Alexander Koskovich
0225f34c01 dre: Drop some audio packages
* All of these are implied, except libcirrusspkrprot
   which was removed as we are not using any Cirrus
   hardware, and even hardware supported by it is hard
   to find in production.

Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-10-11 08:31:24 -05:00
Alexander Koskovich
5a36ce2a00 dre: Sync audio properties with QSSI & MANNAR
* Remove all values that are assumed false.

Change-Id: I8885cb0af27c66aabdc4b2561e0eef48c60220cd
2022-10-11 08:31:24 -05:00
Revathi Uddaraju
ca1f276b3d dre: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-10-11 08:31:24 -05:00
Alexander Koskovich
165f9ed5ec dre: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-10-11 08:31:24 -05:00
Etan Cohen
51993dba27 dre: overlay: Depend on carrier provisioning for WFC
Change-Id: I2cdeb1e39a68922dc8489998f65dcc6c891da31c
2022-10-11 08:31:24 -05:00
Glen Kuhne
54eee440db dre: overlay: Set default hotspot SSID prefix
Change-Id: I2b5310c2acfd4e0110244fb17cf6bd5552bf81d7
2022-10-11 08:31:24 -05:00
LuK1337
cf7ca4e244 dre: overlay: Disable AOD by default
Change-Id: I474ec8ab718140c30c1032adca6946461bba593e
2022-10-11 08:31:24 -05:00
Pavan Kumar M
eb6ffeace8 dre: hidl: Add v1.0 MwqemAdapter HIDL entry
Change-Id: I78a1b779d762f34856215397d879908df748fa3c
CRs-Fixed: 2823635
2022-10-11 08:31:24 -05:00
Alexander Koskovich
edf1762796 dre: Update IMS from SKQ1.220303.001
* Closest QSSI tag is LA.QSSI.12.0.r1-06800-qssi.0.

Change-Id: Ief930b8b8eae1da02cc22185e3709c53ee69ca70
2022-10-11 08:31:23 -05:00
Alexander Koskovich
22fa99ecf3 dre: overlay: Import relevant custom changes made prior to RROs
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
2022-10-11 08:31:23 -05:00
Alexander Koskovich
7919db86e7 dre: overlay: Import CarrierConfig changes from DE2117_11.C.15
Change-Id: If5dbeed7534c80db6712044e6898f59b11f17941
2022-10-11 08:31:23 -05:00
Alexander Koskovich
a438632768 dre: overlay: Use CarrierConfig DTMF & CSP booleans
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2022-10-11 08:31:23 -05:00
Jake Weinstein
6d68cf9ffa dre: overlay: Disable global mode and CDMA choices
* Cleans up mobile network settings.

 * CAF already disables world mode in CarrierConfig
   which is the proper way to do it, so remove the
   overlay entierly since it's deprecated anyways.

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
380b359fd0 dre: Import cleaned MANNAR RROs from DE2117_11.C.15
Change-Id: I6c668a7fb81fbe69fbdb9c75725bb586010c75d9
2022-10-11 08:31:23 -05:00