Commit graph

225 commits

Author SHA1 Message Date
Marc Bourgoin
c74c687c05 dubai: Swap thermal config for dubai-game-perf
The default thermal-engine-dubai.conf is way too agressive with throttling that the performance
is way too low for any users trying to play 3D games on a Snapdragon 778G+ runs slower than
a SD 778G, so let's swap to the dubai-game-perf config as when we compared the configs it
allows for a better performance to thermal balance. We also checked dubai-perf but that one
was more of a "let's get the highest scores in a benchmark and turn the device into a
handwarmer" kind of thermal config.

Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91
2023-10-03 20:33:48 -06:00
Marc Bourgoin
08ae7e3f90 dubai: Import thermal-engine config into device tree
Change-Id: I0e1dcc5c8734f79b37e80b4a0379d4efd4068582
2023-10-03 20:33:48 -06:00
Adithya R
2220c4d409 dubai: Add missing QNN HTP libs for camera
Required for night mode in Moto Camera.

Change-Id: Iebec94ef71ebeca8c62f40e5c80d007d635fe76c
2023-10-03 20:33:47 -06:00
Adithya R
87544169ca dubai: Drop unnecessary 32bit camera libs
Change-Id: Ifa19de1472f083863656f3e9754dc2a8e0b7a412
2023-10-03 20:33:46 -06:00
Adithya R
9f9c6778da dubai: Add moto camera feature xml
Change-Id: I20f653357c95e344c182e0af18406f339212fafa
2023-10-03 20:33:44 -06:00
Marc Bourgoin
a9100a5c33 dubai: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-5_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: I1981cd74c6ad2525e518d106689f86d630d7190f
2023-10-02 23:15:50 -06:00
Marc Bourgoin
cb63042da0 dubai: MotCamera4: Disable HDR10 video recording
Unfortunately this is still broken for us

Change-Id: I9b50c8fbf2767bb042c29ef599fb502b3636b697
2023-06-14 17:54:01 -06:00
Glen Kuhne
1667e147d3 dubai: overlay: Set default hotspot SSID prefix
Added a device specific overlay that changes the default name
from "AndroidAp" to customized name

Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2023-06-14 17:54:01 -06:00
Adithya R
259d952aa0 dubai: Use WPSS firmware from android 12
The WPSS firmware in android 13 (T1RD33.116-33-3) is faulty and
causes 5 GHz wifi speeds to drop massively unless bluetooth is
turned on. This is happening to stock ROM users as well.

Revert back to last android 12 firmware for now until its fixed in
a future stock 13 release.

Change-Id: I025b4b1591a302e6b91cb2b601a50ac0503f127e
2023-06-14 17:54:01 -06:00
Adithya R
6b860264f2 dubai: overlay: Add regulatory labels
Change-Id: I5298dd027464b13f4f406c051aacbe558f4da2ff
2023-06-09 22:42:32 -06:00
Adithya R
341825c4be dubai: Drop unused firmware
Change-Id: I385a896960d000d8238d5514b4371b4e9d3ef37a
2023-06-09 22:42:27 -06:00
sb6596
08ac884cb3 dubai: Add libgui_shim for libmot_chi_desktop_helper
* Even tho libmot_chi_desktop_helper has a dependency of libgui_vendor,
  it seems to be not loading and throws missing symbol `_ZN7android7SurfaceC1ERKNS_2spINS_22IGraphicBufferProducerEEEb`

Change-Id: I10e6774467cf6bb933a63fa0455307ecdf65163f
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
2023-06-09 22:42:21 -06:00
Marc Bourgoin
53d9feb17a dubai: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I1e4c7d881e1a657f56b8b0dcce25bad049000e06
2023-06-09 22:42:17 -06:00
Andrew Hexen
0a5b6426ae dubai: import hotword from common
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I556826710d88cca4a24738f3fbd7055efdd2977e
2023-06-01 16:37:49 -06:00
Marc Bourgoin
f6c4d76535 dubai: Update blobs from DUBAI_RETAIL_12_S1RDS32.55-106-4_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: I77cb5dae8a07371d6524415a88786220175fa1fb
2023-05-10 16:52:07 -06:00
Marc Bourgoin
a2663e2c44 dubai: DEVICE_MANIFEST_YUPIK_FILES -> DEVICE_MANIFEST_FILE
Change-Id: I0b85a44e24630cc7b527c32e3bb7b4045fdf2b6e
2023-05-10 16:52:07 -06:00
Marc Bourgoin
638e62ab30 dubai: Remove media_profiles
No longer needed as we handle media completely from common tree now

Change-Id: I158630bbb1543bdfe10a51bf63e8419f81f04263
2023-04-22 03:49:19 -06:00
Marc Bourgoin
8c8be46353 dubai: sm7325.mk -> common.mk
Since we support both sm8350 and sm7325 it makes sense to just rename this

Change-Id: I0c6c113c3655816eb632c7e5fa41c38f982b87a0
2023-04-22 03:49:09 -06:00
Marc Bourgoin
ccc54417a2 Revert "dubai: Modify automatic brightness values"
This reverts commit 4a3a76f061.

Ghostrider_reborn fixed the brightness LUT via the kernel, so we can go back
to the stock ROM overlay values for brightness too

Change-Id: Ic41e70c7730ead1882263a89e31ca3d2438784fc
2023-04-09 20:21:11 -06:00
Marc Bourgoin
795e277161 dubai: Update blobs from DUBAI_RETAIL_12_S1RDS32.55-106-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: Ifc7250282a3cce0d6346da7526769bc79403c6e0
2023-03-27 22:40:38 -06:00
Georg Veichtlbauer
757a836dc5 dubai: Remove unneeded NFC package
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-03-24 20:57:11 +01:00
Georg Veichtlbauer
c007d27117 dubai: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2023-03-10 02:32:02 -07:00
Marc Bourgoin
05a7d77e7e dubai: Add readme
Change-Id: I49a3bf1a5738d0e3cdbc18d92f0a7eb3b2a24618
2023-03-08 23:08:15 -07:00
Marc Bourgoin
bc8d0a3f4a dubai: Enable super slow motion for MotCamera4
Now that the dependency commits for gerrit topic 13-camera-privapp are merged,
we can now enable super slow motion in MotCamera4

Change-Id: I020fa669311129af7f9874ce8677798628731fb8
2023-03-07 20:21:26 -07:00
Marc Bourgoin
e9e8f94d40 dubai: Update from DUBAI_G_S1RD32.55-106_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml
Build fingerprint and description taken from getprop of stock ROM

[ro.build.description]: [dubai_g-user 12 S1RD32.55-106 0cdff5-e7305 release-keys]
[ro.build.fingerprint]: [motorola/dubai_g/dubai:12/S1RD32.55-106/0cdff5-e7305:user/release-keys]

Also drop duplicated cvp blobs from sm7325-common

Change-Id: I79c471d12ca4c9edbfa39e40a8191d79701e101e
2023-03-05 08:32:56 -07:00
Cosmin Tanislav
e278f3e4ac dubai: remove unused watchdog_cpu_ctx module
Change-Id: I0adbb3a2d23836b4e159cf48541cb079f047dc2d
2023-01-27 18:41:50 +02:00
Cosmin Tanislav
97e501c51e dubai: remove unused tzlog_dump module
Change-Id: I8c174e2354ff2594ba47302bc96a6e289634f581
2023-01-27 18:41:50 +02:00
Cosmin Tanislav
8d25b34a4c dubai: use wlan.ko module name
Change-Id: Ic37b11af85affbe9723ad5a26d9634373b1fdd06
2023-01-27 18:41:50 +02:00
Cosmin Tanislav
584a2ed967 dubai: remove motorola fingerprint interface
Has been moved to motorola hardware repo.

Change-Id: I77c05ee5b31e80aa0a4765701065957d5328ed47
2023-01-27 18:41:50 +02:00
Nolen Johnson
3baa5662b0 fixup! dubai: Update from S1RDS32M.55-94-2
Change-Id: If8c72897d9093213366c4fcef72c437d0f4fc0f1
2023-01-25 15:24:24 -05:00
Marc Bourgoin
4a3a76f061 dubai: Modify automatic brightness values
The values extracted from Stock ROM are quite dim on average and the minimum brightness is low,
So let's remove the three minimum light sensor values on config_autoBrightnessLevels and the
bottom four values and then add another value near max on config_autoBrightnessDisplayValuesNits
to help increase the minimum brightness and also bump up the values for the other automatic
brightness values.

While we're at it, we shall also raise the values for DarkeningLightDebounce and
BrighteningDebounce overlays so that it takes a lot longer before our device decides to actually
lower the brightness to prevent super jarring brightness changes.

Change-Id: Iacafa69d1e27b5201d98a832305c9afc5f228dd3
2023-01-05 21:42:23 -07:00
AdarshGrewal
a664d326c3 dubai: Modify keyguard margin bottom overlay
Change-Id: I1c2211666587312e99f4c9c4db13d5cca69df505
2023-01-05 21:41:16 -07:00
AdarshGrewal
b5e47d603c dubai: Modify button locations overlay
Change-Id: I7ac25beec4da07641eed0633631debbf6d066787
2023-01-05 21:40:49 -07:00
Marc Bourgoin
d2673cf078 dubai: Remove UDFPS illumination overlay
Change-Id: Ic565b1ecc070f798bda4743c5045dcd0ba108d36
2023-01-04 10:37:59 +02:00
Cosmin Tanislav
5e81ea26d4 dubai: enable long press sensor proximity check
Change-Id: Ie10fd3561ad4acd3fc150e6ac9997653693012c2
2023-01-04 10:28:31 +02:00
Cosmin Tanislav
ec3f93036c dubai: sensors: Implement UDFPS sensor
Change-Id: I8b65e3196a7d6f158f4ff589b9755cf7c7e51c92
2023-01-04 10:28:31 +02:00
Shubham Bhise
7216cf8505 dubai: Change deep_bufer flag to AUDIO_OUTPUT_FLAG_NONE
Change-Id: I58a47b8dd08d200451623266cdd64808f423a5b4
Signed-off-by: Shubham Bhise <shubhamprince111@gmail.com>
2023-01-04 10:28:31 +02:00
Michael Bestas
2b735fffbc dubai: overlay: Drop deprecated config_udfpsHbmType
Change-Id: Ie5aec6f2046a8eb9f0abb0913b675d291a242c1a
2023-01-03 20:18:33 +00:00
Marc Bourgoin
0c983e1394 dubai: Update from S1RDS32M.55-94-2
Also remove duplicate cvp blobs which are in sm7325-common tree and Update
MotCamera4 and disable Video HDR and Night Vision. We can also leave the
required libs in the apk now that we are on lineage-20.

Change-Id: I39bd9e5daacdc525091b9391aa3a968ce10e0144
2022-12-28 16:05:21 -07:00
Marc Bourgoin
c3afbb1902 dubai: Use default refresh rate overlays
In the berlin/dubai trees we have overriding values that use the same as
the default values, so let's just revert to that.

Change-Id: I5e4ee2d89fb6c9e058db4395e50d7891c69f85d3
2022-12-27 19:18:38 -07:00
Marc Bourgoin
21eecfd901 dubai: Commonize color modes overlay
Change-Id: I1a7bfae03ac68e2ca61b8b6889a687c392375f27
2022-12-27 19:15:58 -07:00
dianlujitao
61334e2512 dubai: update-sha1sums: Handle line with opts
Change-Id: Ia41000b36f3535a3cf0ef8d7650d0d540de728de
2022-12-27 09:05:02 -07:00
dianlujitao
2acec20689 dubai: update-sha1sums: Better handle line breaks
Change-Id: I15cfda82a5bc6f05c0d7b9db209064ba498dac11
2022-12-27 09:05:02 -07:00
dianlujitao
4c74967448 dubai: Format update-sha1sums.py with yapf
Change-Id: I396ad6d79ea6e47ba8b9a56da317123c7579aa67
2022-12-27 09:05:02 -07:00
Bruno Martins
75ccd01feb dubai: Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2022-12-27 09:05:02 -07:00
LuK1337
4d5c6406f8 dubai: Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
2022-12-27 09:05:02 -07:00
LuK1337
90b6a758c3 dubai: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2022-12-27 09:05:02 -07:00
Marc Bourgoin
afa8b656d4 Revert "dubai: Add a script to reorder blobs list"
This reverts commit ca971befd9.

Reason: There's already a sort-blobs-list.py in the extract tools repo
https: //github.com/LineageOS/android_tools_extract-utils
Change-Id: I433157f6fc6d7775ed0931fb4079e76918a32348
2022-12-19 22:58:10 -07:00
sb6596
8182a18ba7 dubai: Update to S1RD32M.55-94
While we're at it, remove the duplicated camera sensormodule section that
is already included in the camera sensor section.

Change-Id: I9c78b3e2268c627494eb70a2d862b88161e56b36
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Co-authored-by: Marc Bourgoin <themard85@gmail.com>
2022-12-11 10:01:24 -07:00
Marc Bourgoin
ad5336eab7 dubai: Add more camera blobs
Including MotCamera4 dependencies

Change-Id: I63e47e19a473913d708bb1c5f7349944dd0b1b44
2022-12-11 10:00:24 -07:00