Commit graph

246 commits

Author SHA1 Message Date
Marc Bourgoin
19c2e47323 dubai: Update blobs from from dubai_g-user 13 T1RDS33.116-33-15-6 e089e7-b95537 release-keys - RETAIL variant
Change-Id: Id1418267fb9e0dcbddb9efe57dc66657675cec23
2024-06-09 23:23:17 -06:00
Marc Bourgoin
cb59638874 dubai: split up MotCamera4 and set target SDK to 30
8e742f928e

MotCamera4 uses this to get mLogicalCameraSettings,
otherwise the app will just crash

Change-Id: I87c4d9cae52d98cc7c349a12b2d4848ec8c46622
2024-05-22 21:20:05 -06:00
Marc Bourgoin
33062d1662 Revert "dubai: Drop MotCamera4"
This reverts commit 39867a9a5b.

Change-Id: I58de6177dde2e8f06a3031200720136bf06f0683
2024-05-11 00:50:46 -06:00
Marc Bourgoin
39867a9a5b dubai: Drop MotCamera4
Unfortunately, QPR2 seems to cause this app to randomly crash when checking
for aux cameras and I don't currently see a fix, so let's drop it for now
until a solution can be found

Change-Id: Ife2b51aac6c1f77b59cce498e29cd105a5564658
2024-04-17 08:56:51 -06:00
Nolen Johnson
70a6aea326 fixup! dubai: Update blobs from from dubai_g-user 13 T1RDS33.116-33-15-1 06f6d-c0e7b release-keys - RETAIL variant
Change-Id: I571644590868d733fd4a25de45376b8c74dae27a
2024-03-08 12:14:37 -05:00
Adithya R
3e6bd8cf18 dubai: camera: Ignore face unlock and ASI front camera usage
These use the front camera frequently but aren't critical to
functionality, so we don't need to disrupt 5G services.

Change-Id: I0d23c3bfec936ddefcabb93e6a579a5eb11b3574
2024-03-08 04:46:35 -07:00
Adithya R
9b139ed94d dubai: camera: Disable N78 5G NSA band too
Per user report.

Change-Id: I8c47711299bae06638ca12adef06ea1ceef9f79e
2024-03-08 04:46:32 -07:00
Adithya R
b9046bddf1 dubai: Disable only N78 5G SA band for front camera
We don't need to disable 5G entirely during front camera usage, because
apparently only N78 band in SA 5G (Jio) is affected. Lower bands, such
as N28, does not break front camera so let's just disable the offending
band via RIL OEM commands when front camera is active.

Reversed the band editing mechanism from stock qcom-moto-telephony-ext.
Inspired by 70eebccf64

Change-Id: I6ccb247a5d1b1521e1828304f5570269d9e3f221
2024-03-08 04:46:26 -07:00
Adithya R
8808e9b818 dubai: Disable 5G when front camera is in use
On some network(s) (confirmed on Jio), the usage of 5G kills front
camera and crashes the camera app. Logs reveal hardware or firmware
issues related to interference or bandwidth, which is out of my
expertise:

[   63.301897] CAM_ERR: CAM-ISP: cam_ife_csid_irq: 5016 CSID:2 RX_ERROR_LANE0_FIFO_OVERFLOW: Skew/Less Data on lanes/ Slow csid clock:300000000Hz

Until this can be actually fixed (if ever), a temporary workaround.

Inspired by a860cc8189

Change-Id: Ifefb36cf113a5f25feda771ea7729418553e74ed
2024-03-08 04:44:51 -07:00
Marc Bourgoin
ee1e29f6b9 dubai: Kang MotCamera4 from eqs 12
Unfortunately it seems dubai's MotCamera4 from Android 13 is a very early version and
seems to hate Android 14, so let's switch to eqs's A12 version as it contains the proper
asset configurations for dubai where-as eqs 13 and up does not

Change-Id: I7d134648aac68bf7bb666cd36b0796899e945cfc
2024-03-06 07:06:28 -07:00
Marc Bourgoin
9ea985ddab dubai: Update blobs from from dubai_g-user 13 T1RDS33.116-33-15-1 06f6d-c0e7b release-keys - RETAIL variant
Change-Id: Ib75f6fce6353edc2403307cb9a6b62da207cff2f
2024-03-06 07:06:21 -07:00
blunden
aa8d7ca464 dubai: Declare support for Mifare tags
This device uses an NXP chip
and supports Mifare tags. This adds the xml file
to make NXP's apps work properly.

Change-Id: I9f2f04d3c5c211185bf2ab0d5a797070c49d4b98
2024-03-05 12:38:05 -07:00
Marc Bourgoin
9f50c233a7 dubai: Update blobs from motorola/dubai_g/dubai:13/T1RD33.116-33-15/f0bc9-36fb4
Change-Id: I681bbd5633d09f006dfe2206f6ef580b66492b1f
2024-01-26 20:58:25 -07:00
Omkar Chandorkar
404e3fd07f dubai: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-01-22 20:10:46 -07:00
Nolen Johnson
e7d6c36fac dubai: Reserve space in common tree
Change-Id: I609f964927c3046a34ea149aa645726e913ebc05
2024-01-06 22:27:11 -05:00
Michael Bestas
3f307d29e5 dubai: Add proprietary-firmware.txt
Change-Id: I32266912d6c01d4e0b61772793f6656b959420e2
2023-12-26 22:23:41 -07:00
Marc Bourgoin
f0764ddf14 dubai: Update from T1RD33.116-33-13 441420-2d5de8
Change-Id: Id0ea100cfee33d29ef046c83106a9da64fe99a12
2023-12-26 19:04:08 -07:00
Bruno Martins
5942e57f41 dubai: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:39:59 -05:00
Nolen Johnson
66aa5ac524 dubai: Don't override Aperture
Change-Id: Id154dc2d98df4aaf4bb967bc60570ce5d9fe3ad5
2023-11-28 02:26:21 -05:00
Nolen Johnson
85a9bcfa56 dubai: Sort blobs list
Change-Id: I7da74f1c1322145cd1ff983573d4dc043112805f
2023-10-31 18:38:18 -04:00
Nolen Johnson
d33d7bfcca dubai: T1RD33M.116-33-12
Change-Id: I6ebcfa4b5e961fb6eeb6d2cf057c986e9a90f120
2023-10-31 18:29:05 -04:00
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