113 Commits

Author SHA1 Message Date
ahmedtohamy1
af35ffd62f apollo: Kernel: Switch to apollo_defconfig for kernel compilation 2024-05-12 11:59:55 +00:00
ahmedtohamy1
78748f6932 apollo: Initialize for Evolution X 9.x 2024-05-12 11:58:22 +00:00
ahmedtohamy1
a399a9a56d apollo: apollon -> apollo 2024-05-12 11:50:04 +00:00
SGCMarkus
a2f754f730 Apollo: Set BOARD_[SHIPPING]_API_LEVEL to 30 2024-04-23 14:40:00 +00:00
ahmedtohamy1
5e7f3519be apollo: Readd megavii blobs 2024-04-23 14:39:47 +00:00
ahmedtohamy1
2008703376 apollo: Import missing Audio-Hardware libs
- Part of libs are using to overwrite OSS libs with Propietary with OEM changes
2024-04-23 14:39:03 +00:00
ahmedtohamy1
de14e3568c apollon: prop: Import stock HVDCP props 2024-04-23 14:38:25 +00:00
ahmedtohamy1
53a1e092d7 apollon: overlay: Force FaceUnlockService to use cameraid 1 2024-04-23 14:38:22 +00:00
Dobsgw
19b8b8ef19 apollo: opt-out of dialer's incoming call proximity sensor check
This feature can't be used on devices with proximity sensors that don't
work when the screen is off, e.g. sensors using ultrasound technology.
The result in those cases is a black screen with just the status bar
showing, instead of the normal incoming call UI.

Opt-out with this overlay
2024-04-16 15:45:56 +00:00
ahmedtohamy1
656482c853 apollo: ovelay: enable notification led support 2024-04-16 15:45:52 +00:00
kubersharma001
3c6ac9ac57 apollo: props: Set frame rate multiple threshold to 144
Also fixes the Netflix 144hz stuck issue

test: Play a Netflix or YT video; it goes down to lowest refresh rate.

Change-Id: Ie4d5c8c9a45079306ad51e1607ae72eb9493ee0c
2024-04-16 15:45:10 +00:00
Dobsgw
6c788ef124 apollo: reconfigure refreshrate switching timers
Increase idle timer to hold max refresh rate for 1 second after inactivity.
Decrease touch timer to ramp refresh rate after 100ms of touch input.

Should give a smoother and less choppy refresh switching experience.
2024-04-16 15:45:10 +00:00
ahmedtohamy1
b91cb59bca Revert "apollon: Initiate rebrand"
This reverts commit eb43dafe4f.
2024-04-16 15:42:08 +00:00
Pig
08b6b0a86d apollon: Suppress CamX debug
Change-Id: I001be38a19664bcf4994fc88fa1f4448c8cc7891
2023-08-30 17:48:50 +00:00
Ramii Ahmed
009e1c2483 apollon: bump fingerprint and description to latest Global
* from apollo_global-user 12 RKQ1.211001.001 V14.0.4.0.SJDMIXM release-keys

Change-Id: I7bae3038cc32bba2ad4db8af292eefe0a8c13ed7
2023-08-19 10:32:27 +00:00
Bartłomiej Rudecki
b6f055dc94 apollon: overlay: Set status_bar_padding_{start,end} to 0dp
Change-Id: If29456bad69631e1ca7ca28ee662bbfb48892591
2023-08-19 05:14:54 +00:00
Dobsgw
67f21758d0 apollon: remove status bar top padding
No longer required with our new status bar dimensions

Change-Id: I4dba80219633ed631b5c670dc339cc1de1823ebc
2023-08-19 05:14:49 +00:00
Ramii Ahmed
0844b8b787 apollon: update proprietary blobs to latest global
* from apollo_global-user 12 RKQ1.211001.001 V14.0.4.0.SJDMIXM release-keys

Change-Id: I9e690c35ea7942003efedeebfebcfc6a35286d66
2023-08-17 04:16:47 +00:00
Alexander Koskovich
2e3996fbe8 apollon: overlay-lineage: Drop kg_security_container_min_bottom_margin
* No longer used.

Change-Id: I25ab6da7e1f10f3d7694ad3c97e4c7e24ed908ee
2023-08-11 05:39:09 +00:00
Ramii Zaki
af34b3ddb7 apollon: qdcm: Rework calibration profiles
* standard_native -> native
* standard_hdr -> HDR
* video11 -> P3
* standard -> sRGB
* All the other modes have been removed

Validated using the following script:
https://gist.github.com/SebaUbuntu/1d625c5aba3761c366a26e8cf56fc895

Change-Id: I236147693d9ea5f9bc1cde749b217e5ef35b3932
2023-08-11 05:39:09 +00:00
Sebastiano Barezzi
0626a03e7a apollon: Import QDCM calibration config
Change-Id: Ifc8d7c4bab926f34b9f1ce154f05b6408ed1fc27
2023-08-11 05:39:09 +00:00
Sebastiano Barezzi
1d8fb610cd apollon: overlay-lineage: Configure additional camera framerates
Change-Id: Ic9b3e4f7d2117922243ecb53e9bf99292f74d719
2023-08-11 05:39:09 +00:00
Sebastiano Barezzi
2c32cf2a4b apollon: Commonize AOSP colors, HDR and WCG props
Change-Id: I926bca8f7653c23aa688ead44e36735ba7ea938c
2023-08-11 05:39:09 +00:00
LuK1337
02a5c73041 apollon: overlay-lineage: Configure aux camera for Aperture
Change-Id: Ib98518c7ba992e89b033f01af61c41089bd89d47
2023-08-11 05:39:09 +00:00
althafvly
f2e000ac3a apollon: Add libpiex_shim for com.mi.node.watermark.so
Change-Id: I9a08feeb75de29f9b7ae2cf15c3f6b226af19c58
2023-08-11 05:39:09 +00:00
Sebastiano Barezzi
04ebd17b1d apollon: Include apollo config fragment
Change-Id: Ic595a2905608807bbb070b5c2ccc833fa809b857
2023-03-12 23:21:46 +00:00
Mike Ma
895bc21a64 apollon: overlay: Power profile audio & video support
Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest

Change-Id: I6aaae76bc01dcf4801ed2ea95683197037b02a13
2023-03-12 23:21:38 +00:00
Bruno Martins
9906e842f1 apollon: overlay: Set BT controller voltage in the power profile
This was usually set in frameworks/base, but the overlay has been
deprecated in Android 13.

Change-Id: Ia039d31ae11647f06c776700f3c1218152ee39bc
2023-03-12 23:21:30 +00:00
Ramii Ahmed
40e7076f9f apollon: overlay: correct cutout paths
* correct dimensions
* correct center in config_mainBuiltInDisplayCutout (to center cutout)
* correct center in config_frontBuiltInDisplayCutoutProtection (it starts from left, don't assume it starts from the middle)

Change-Id: I3b56163ac88c5ff76aa24ca443b2a893b4cff16c
2022-09-26 01:33:29 +00:00
Ramii Ahmed
4d379af486 apollon: releasetools: flash to proper abl partition
Change-Id: Iee0abb078bb940e78689161ee2a0afb5f8c41c53
2022-09-24 06:28:35 +00:00
Ramii Ahmed
08e472595d apollon: update blobs to latest global
* apollo_global-user 12 RKQ1.211001.001 V13.0.6.0.SJDMIXM release-keys

Change-Id: I504d64a31bf26f9d1e3781d2a6d9e52cc66d9c37
2022-09-21 05:54:25 +00:00
Erfan Abdi
ddcfe86614 apollon: Add check for existence of radio firmware files
Change-Id: I145e9fa6fa90ff4d27689bc06c96e9512c7723ec
2022-09-12 12:08:34 +00:00
Kuba Wojciechowski
cce1cdcb49 apollon: releasetools: Update firmware images
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: I3c2fdc4a5941d3b4e6034f5fa1d2eaa1e158af81
2022-09-12 12:08:34 +00:00
Ramii Ahmed
206ff160c5 apollon: override releasetools extensions
Change-Id: Ie728f2ada043d3533edefa9a553fba4f60f43fcb
2022-09-12 12:08:34 +00:00
althafvly
56f43287a3 apollon: Add front-facing camera protection
* Extra padding for front facing camera cutout when camera is in use
* Remove flares on high brightness while using front camera

Change-Id: I68acb0deecbecd916be90de0a9043ea4703553df
2022-09-12 12:08:31 +00:00
Ramii Ahmed
c245c78662 apollon: switch to elliptical paths for cutout
* set config_mainBuiltInDisplayCutoutRectApproximation to adjusted/reworked old value

Change-Id: I8b42634d161d4675550ee9f11e7c34c9564c5aa9
2022-09-12 12:06:32 +00:00
Ramii Ahmed
9a957abdc1 apollon: update blobs to latest global
* apollo_global-user 12 RKQ1.211001.001 V13.0.5.0.SJDMIXM release-keys

Change-Id: Ib7379501f1b0e2f1fbed288418b1dddb867c5a2d
2022-09-12 12:06:32 +00:00
Ramii Ahmed
f2e4505cdc apollon: correct displayID
* old value was of alioth's, so side fingerprint sensor pointer coordinates wouldn't load

Change-Id: I1c69544fdbf54e7db36ba9439967726179211d0e
2022-09-12 12:06:31 +00:00
Dyneteve
10fde902ae apollon: overlays: correct fingerprint sensor coordinates
Change-Id: Idffb35a48ee2b1841e523ec8c1e2b851a25b803f
2022-09-09 07:16:48 +00:00
Ramii Ahmed
83937f2294 apollon: overlay: increase status bar portrait height
* and switch to pixels

Change-Id: Ifc070958e52ba88979366c9d67397958ead04ec2
2022-09-09 07:11:45 +00:00
Sebastiano Barezzi
8f0a6ef44c apollon: Move ACDB calibration files to Tutu
* That's what munch acdbloader wants

Change-Id: I32f509db4722ace64ecdb1d30bd88ba2fc5662b5
2022-09-03 18:08:19 +02:00
Sebastiano Barezzi
b15271f6c1 apollon: Decommonize NFC configs and firmware
Change-Id: Ic12935684be8c5e1d2e695b54467b25faece3abe
2022-09-03 18:08:19 +02:00
Sebastiano Barezzi
6b6996d760 apollon: Decommonize IPA and charger blobs
Change-Id: Ie4137aa04950a20f17e7d2dd5a74b5b2d98598aa
2022-08-21 03:51:13 +02:00
Alexander Winkowski
1545d80863 apollon: Fix AAPT config
According to AOSP docs [1] apps should use xxhdpi resources
for 440 dpi density.

[1] https://developer.android.com/reference/android/util/DisplayMetrics#DENSITY_440

Change-Id: Ib591e11a93b9814fabf772136096bde69e202e77
2022-08-21 03:50:13 +02:00
Sebastiano Barezzi
44f4e9c2ca apollon: Reorder device.mk
Change-Id: I3ea58b9e86e61280811a919265662dbbf336f06a
2022-08-21 03:49:28 +02:00
shawnlin
bf9dd98643 apollon: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2022-06-28 10:14:49 +02:00
Georg Veichtlbauer
d792258fe4 apollon: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2022-05-27 15:03:37 +05:30
Jaideep Sharma
f7d9a3a354 apollon: provide support for callscreening for kona/lito.
- missed on a12 update

add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2022-05-20 11:33:30 +05:30
Ramii Ahmed
9b15b64072 apollon: switch to Android 12 blobs
* from V13.0.2.0.SJDEUXM

Change-Id: Iec5c177008ddf323c1fce686272b9ed2ab52d7af
2022-05-09 23:38:56 +02:00
Sebastiano Barezzi
851c55b29c apollon: Patch vendor.qti.hardware.camera.postproc@1.0-service-impl.so
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.

Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
2022-05-09 23:38:56 +02:00