Commit graph

1035 commits

Author SHA1 Message Date
Albert Tang
859d381258 dre: overlay: Remove keyguard_indication_margin_bottom
This was mainly for UDFPS, which we do not have.

Change-Id: I5d6c984328d50515498d48fd1926c581fb61f7f2
2022-11-06 17:12:05 -06:00
Albert Tang
b9d9126ad0 dre: init: Load WLAN module during boot
Change-Id: I358d8e580996f9c5eb0bbd60f523ffcf160aea39
2022-11-06 17:12:05 -06:00
Albert Tang
4292f08385 dre: nfc: Use modified libnfc-hal-st.conf
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -06:00
Albert Tang
0a5706caf6 dre: audio: Fix audio policy configuration
Change-Id: I671912f888065474b85eb8515193a18abb8bed12
2022-11-06 17:12:05 -06:00
Albert Tang
adaa58d2ca dre: Update from OOS 11.C.16
Change-Id: Iadfe003a3ee0a7303de279debbd1708238877bf1
2022-11-06 17:12:03 -06:00
Albert Tang
5d02516f7a dre: Switch to oplus fingerprint HAL
The generic fingerprint HAL no longer works here.

Change-Id: Ibe16dd5f1e5c30de179c034e15b68ffb4a6f72ec
2022-11-06 17:11:02 -06:00
Albert Tang
da0d89af57 dre: overlay: Decommonize and restore from DE2117_11.C.15
Change-Id: Ib311d07854c7168668bd5d22d8c78eab74ac5af5
2022-11-06 17:11:02 -06:00
Albert Tang
cd0b7722b2 dre: Set faceunlock and enginner HALs as optional
Change-Id: Ia331733bd67701c2e58fb9e5df75d2801ee44efc
2022-11-06 17:11:02 -06:00
Albert Tang
44e20470d2 dre: Sync modules.load with DE2117_11.C.15
Change-Id: If6e9b7fcc8fa8fa355848ee8fb6f3dbb46ab777a
2022-11-06 17:11:02 -06:00
LuK1337
51d6e79867 dre: Extract hotword apps to correct directory
Fixes device blobs extract.

Change-Id: Ibdff2fcb3e49497733487c58b34404cb62e95280
2022-11-06 17:11:02 -06:00
Alexander Koskovich
6f00df6960 dre: Drop debug.sf.latch_unsignaled from system_ext.prop
* Already exists in vendor.prop

Change-Id: I4b98724aadf261e5b06c0135e305ffce455c14ae
2022-11-06 17:11:02 -06:00
Santiago Seifert
b80212bdfc dre: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-11-06 17:11:02 -06:00
Jayachandran C
b59ef5ea4a dre: Move default network property to vendor partition
This fixes GSI image overriding the default value

Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
2022-11-06 17:11:02 -06:00
LuK1337
fdd6de8d14 dre: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.

Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
2022-11-06 17:11:02 -06:00
LuK1337
64700b2cd1 dre: Register IHighTouchPollingRate interface
Change-Id: I3c48324cd201e810f04ccaa39898d7c8e43fa2e5
2022-11-06 17:11:02 -06:00
LuK1337
cfed861db7 dre: overlay: Add VZW MMS UA profile config
config_mms_user_agent_profile_url seems dead but nonetheless stock still
seems to use it.

Change-Id: I78efbbfb5e2012f54905565e208a3b75fa05bf56
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f5ba6792a2 dre: overlay: Move OPlusWifiResCommon to hardware/oplus
Change-Id: I0751a3271fcdeed3a5e43cf37ae49f67f75285b4
2022-11-06 17:11:02 -06:00
kocolin
c948487909 dre: Add some libraries to pinner list
Add some librart which will load during camera launch to reduce camera
launch time in I/O busy case.

Bug: 165825997
Test: Camera_checklist, dumpsys pinner
Change-Id: I48b5503ad674dc19cda940c44878291171fa4536
2022-11-06 17:11:02 -06:00
Alexander Koskovich
5f56fa086c dre: overlay: Don't translate some strings
Change-Id: I1ea88f84af03f157894c11f857fc59ad0a4bae88
2022-11-06 17:11:02 -06:00
Alexander Koskovich
ad5ad0568b dre: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2022-11-06 17:11:02 -06:00
Alexander Koskovich
9da020832f dre: Don't disable inband ringing as per OOS
Change-Id: Id424be6405464348d64410e91ca1d38f208ee465
2022-11-06 17:11:02 -06:00
Alexander Koskovich
d4135351bf dre: Define OPA device model ID for GMS
Change-Id: I3098054e9176fd3c4962791858e1047bbb94964a
2022-11-06 17:11:02 -06:00
Alexander Koskovich
93f3520fc8 dre: Add some relevant properties wanted by RMT storage
Change-Id: Ie354fd5a07e3673bcd5dcb4e067af55f20ba45a1
2022-11-06 17:11:02 -06:00
LuK1337
211108ed5e dre: Use hardware/oplus/sepolicy/qti
Keep certain policies here for now.

Change-Id: I8d1f4c402a4e9ce8d97cf315d32148f88089c4c5
2022-11-06 17:11:02 -06:00
Alexander Koskovich
0edc4e9c42 dre: Drop unused audio properties
* ro.vendor.audio.sdk.ssr: False is default
   vendor.audio.enable.mirrorlink: Unused in AOSP
   vendor.audio.safx.pbe.enabled: False is default

Change-Id: If30194f5bcd4f69edf7ac43fe3725db4fe9b3da1
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f651152569 dre: Move oplus specific properties to /odm
* Easier to track changes if we know everything in
   vendor.prop is from QCOM.

Change-Id: I02e65c4d4e4df344672fb4c04cf7ccace3b07b60
2022-11-06 17:11:02 -06:00
Alexander Koskovich
6db1973e9a dre: Update to Boot Control HAL v1.2
Change-Id: Ib5d06c9b0c7e2ed000eb03a9bf18e4d78cc8740d
2022-11-06 17:11:02 -06:00
Alexander Koskovich
cfbc0ffd45 dre: Move bootctrl and gpt-utils to hardware/oplus
Change-Id: Icccbb163ab5b1678a7e6a6b042afbf52ec1e6c85
2022-11-06 17:11:02 -06:00
Michael Bestas
28bd6e8beb dre: bootctrl: Remove bootctrl.holi target
* This is no longer used after switching to QTI 1.1 impl

Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-11-06 17:11:02 -06:00
Alexander Koskovich
8a48076979 dre: Disable WiFi Aware & RTT for unsupported target
* Lahaina is supposed to be a supported target, but
   some CTS tests fail. Oplus also disables these in
   OOS.

Change-Id: I5921e0f4ecb2140a5610059bdd16cc6e99d7d725
2022-11-06 17:11:02 -06:00
Alexander Koskovich
612812765a dre: Move DTC_EXT definition to vendor/lineage
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-11-06 17:11:02 -06:00
Alexander Koskovich
e57cbb4e30 dre: Move LLVM=1 and LLVM_IAS=1 to BoardConfigKernel
Change-Id: I994ed59207aaad159d8f5363be21a0a1357374e6
2022-11-06 17:11:02 -06:00
Pratham Pratap
6dba679fe2 dre: Set sys.usb.mtp.batchcancel for MTP over FFS
* Currently, cancelEvents in MTP will cancel the requests one by
   one, and it will check each response to confirm success or
   failure. However, if kernel usb controller driver got the
   cancel request, the driver will handle all requests in the same
   endpoint so that the second io_cancel in cancelEvents will be
   useless causing the cancelEvents to return error and fail the
   transfer.

 * Fix this by setting sys.usb.mtp.batchcancel for the targets
   using MTP over FFS.

Change-Id: Icea9a2815c79ff710ee887d02e4c99dfe5ad6361
2022-11-06 17:11:02 -06:00
Alexander Koskovich
e34cc81234 dre: Drop vendor.media.vpp.oplus.version
* Used by system_ext/lib64/liboplusstagefright.so
   and Oplus' surfaceflinger, neither of which we
   have.

Change-Id: Id04538d5c7ed3424fbb8aab9031aa929c7e2fe01
2022-11-06 17:11:02 -06:00
Alexander Koskovich
433a1d18eb dre: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-11-06 17:11:02 -06:00
Alexander Koskovich
edd6ad958f dre: Set media performance class to 30, per OOS
Change-Id: I17b658aeaaabd7159f9fcc4d04e73f45a3980069
2022-11-06 17:11:02 -06:00
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