Compare commits

...
Sign in to create a new pull request.

261 commits

Author SHA1 Message Date
b80c71d208 Jelly_Max: Increase vibration duration even more 2024-10-08 17:23:32 -04:00
f7f88183ab Jelly_Max: Define software vibrator effects 2024-10-07 22:10:45 -04:00
a14693b73c Jelly_Max: set default vibration strength to high 2024-10-07 20:08:53 -04:00
94445cc536 Add overlay for Unihertz Jelly Max
Most stuff already available in vendor overlay is not included.
2024-10-05 09:28:22 -04:00
947e4ee31b Merge remote-tracking branch 'td/pie' into aosp15 2024-10-05 08:26:24 -04:00
Andy CrossGate Yan
ceeec2db29 Add resources for Meizu 21 (M2461)
Change-Id: Ib4a3ac6b5a41d7063b7404c417c5c762b9a02b9a
2024-08-17 21:25:59 +08:00
Andy CrossGate Yan
20db43b0d4 Add resources for OnePlus Nord 4
Change-Id: I2db85884220058d4834c62c2a85f93e894f5f564
2024-08-17 21:25:58 +08:00
Pierre-Hugues HUSSON
663b1a4873
Merge pull request #123 from wildbeetle/pie
Fixup for Redmi 9
2024-07-30 17:55:48 +02:00
Pierre-Hugues HUSSON
5f4ed0a19d
Merge pull request #122 from ryenyuku/pie
Define more codenames for some Infinix device models
2024-07-30 15:30:02 +02:00
wildbeetle
e2467e3f7f Fixup for Redmi 9
Changeset:

* Status bar
Change status_bar_padding_top value
Convert dp to px for keyguard_carrier_text_margin
Add rounded_corner_content_padding
Change status_bar_padding_start value to match rounded_corner_content_padding

* Fix navigation bar being too close to the dock (just use the AOSP defaults)
Remove:
navigation_bar_height
navigation_bar_height_landscape
navigation_bar_width

* Remove redundant and unneeded resources (just use the AOSP defaults)
Remove:
config_screenBrightnessDoze
config_screenBrightnessDim
config_mainBuiltInDisplayCutoutRectApproximation
config_fillMainBuiltInDisplayCutout
status_bar_height_default
status_bar_height
status_bar_height_landscape
quick_qs_offset_height
rounded_corner_radius

* Fix indentation on config_biometric_sensors
2024-07-28 22:28:24 +07:00
ryenyuku
23167d6cbd feat: Define more codenames for some Infinix device models 2024-07-27 23:40:50 +07:00
Pierre-Hugues HUSSON
3429e25bcc
Merge pull request #118 from wildbeetle/pie
Redmi 9: Rewrite overlay based on official LineageOS
2024-07-25 08:51:08 +02:00
wildbeetle
6f813de8fb Redmi 9: Rewrite overlay based on official LineageOS
The main change is to improve auto brightness.
Slight tweaks to the status bar and added other things.
2024-07-22 18:52:29 +07:00
github-actions[bot]
9d7b90b474 Up TrebleApp to TrebleDroid/treble_app@afccc44 2024-07-14 12:54:38 +00:00
github-actions[bot]
37deb28700 Up TrebleApp to TrebleDroid/treble_app@c12920a 2024-07-14 05:49:15 +00:00
github-actions[bot]
f64157a5c7 Up TrebleApp to TrebleDroid/treble_app@77730a4 2024-07-14 05:47:40 +00:00
github-actions[bot]
5cd2e01ac1 Up TrebleApp to TrebleDroid/treble_app@088d1e8 2024-07-13 16:04:22 +00:00
wildbeetle
e4b8ce98eb Clean up and reorder Redmi 9 overlays.
Changeset:
* Fix status bar padding. Fixes phhusson/treble_experimentations#2631
* Set keyguard_carrier_text_margin
* Cleanup power_profile.xml
* Set quick_qs_offset_height to height of the cutout.
* Reorder based on https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/core/res/res/values/config.xml https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/core/res/res/values/dimens.xml https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/packages/SystemUI/res/values/dimens.xml
2024-07-04 15:15:11 +01:00
Andy CrossGate Yan
2bc9412139 Add resources for Xiaomi Civi 4 Pro (chenfeng)
Change-Id: I9f331cd08afaacba083e44a34ec1fe743f8fef00
2024-06-30 17:10:07 +08:00
Pierre-Hugues HUSSON
24b4042908
Merge pull request #114 from ryenyuku/pie
Declare config_is_powerbutton_fps for Infinix Note 30
2024-06-12 13:13:30 +02:00
リェンーゆく
b4b21cf70b
Remove duplicate config_is_powerbutton_fps in Infinix Note 30 Pro 2024-06-12 18:06:52 +07:00
ryenyuku
fdbc312712 Declare config_is_powerbutton_fps for Infinix Note 30 2024-06-12 17:38:14 +07:00
Pierre-Hugues HUSSON
3a2764c49d
Merge pull request #113 from ryenyuku/pie
Check device's codename instead of the device's fingerprint for Infinix devices
2024-06-10 14:28:33 +02:00
ryenyuku
cfc7ef857b Check ro.product.vendor.device instead of the device's fingerprint for Infinix devices 2024-06-10 08:20:17 +07:00
Pierre-Hugues HUSSON
1831577197
Merge pull request #112 from Vgdn1942/pie
Add overlay for Doogee V Max
2024-06-02 22:32:11 +02:00
v.kovalev
216894f5a3 Add overlay for Doogee V Max 2024-06-02 14:38:02 +03:00
github-actions[bot]
edf6745825 Up TrebleApp to TrebleDroid/treble_app@4aa13c1 2024-06-01 11:02:30 +00:00
github-actions[bot]
27a6c762be Up TrebleApp to TrebleDroid/treble_app@282ef75 2024-05-31 13:37:37 +00:00
github-actions[bot]
717e722fd5 Up TrebleApp to TrebleDroid/treble_app@80669c5 2024-05-31 10:03:02 +00:00
github-actions[bot]
823207b8c9 Up TrebleApp to TrebleDroid/treble_app@5f04112 2024-05-21 14:27:11 +00:00
Andy CrossGate Yan
bead18c6a0 Add resources for Xiaomi Redmi Note 13 Pro 4G (emerald) 2024-05-17 08:18:29 +08:00
Pierre-Hugues HUSSON
adab8ea650
Merge pull request #111 from MisterZtr/pie
Add overlay for Blackview SHARK8
2024-05-12 12:58:13 +02:00
MisterZtr
8532bb6e88 Add overlay for Blackview SHARK8 2024-05-11 12:40:50 +03:00
Alberto Ponces
3e30e28f65
Merge pull request #106 from mtsxyz/pie
Fix A14 QPR2 status bar on Redmi 9
2024-05-10 17:52:01 +01:00
mtsxyz
24b368dc8e Fix A14 QPR2 status bar on Redmi 9 2024-05-09 11:41:21 +07:00
Pierre-Hugues HUSSON
72f59fb879
Merge pull request #107 from medkintos/pie
Add overlay for Galaxy Tab S8 5G (gts8)
2024-04-25 21:54:38 +02:00
Medio Rahmat
086a5719b4 Add overlay for Galaxy Tab S8 5G (gts8) 2024-04-24 23:53:10 +07:00
Andy CrossGate Yan
03867d2817 Add resources for Xiaomi Redmi K70 (vermeer)
Change-Id: I480ca04d69ef2a17fcc2d079242b253f7b625df8
2024-04-18 22:32:02 +08:00
Andy CrossGate Yan
01c8a96bd5 Add resources for Lenovo Legion Y700 (2023)
Change-Id: I8188b8bc72b6451983042df47e66455358863b75
2024-04-18 22:32:00 +08:00
Alberto Ponces
aa8fbc66a2 renoir: fix DT2W on AOD 2024-04-06 10:17:00 +00:00
Pierre-Hugues HUSSON
4071a26530
Merge pull request #100 from mtsxyz/pie
Redmi 9: update overlays
2024-04-03 15:57:06 +02:00
mtsxyz
e3424ff1ea Update Redmi 9 overlays 2024-04-03 19:35:33 +07:00
github-actions[bot]
a525c4c5df Up TrebleApp to TrebleDroid/treble_app@361c153 2024-04-02 21:14:28 +00:00
github-actions[bot]
e5e09aadba Up TrebleApp to TrebleDroid/treble_app@ef1049f 2024-04-01 14:28:46 +00:00
github-actions[bot]
0bebade167 Up TrebleApp to TrebleDroid/treble_app@2f24f01 2024-04-01 14:26:36 +00:00
653da97030 Tank_Mini: remove tcp buffers settings 2024-03-31 18:28:06 -04:00
Pierre-Hugues HUSSON
f5bbd24f1b
Merge pull request #104 from thisdialynx/pie
Add overlays for Redmi Note 12 Pro 5G
2024-03-29 15:11:03 +01:00
Pierre-Hugues HUSSON
a1606706a8
Merge pull request #103 from ryenyuku/ryenyuku-patches
Various changes for Tecno Camon 20 Pro, Infinix Note 30 & Pro and Infinix Note 8
2024-03-29 15:06:56 +01:00
ryenyuku
db20f97dd5 feat: Little refactor for Infinix Note 8 2024-03-29 16:53:03 +07:00
ryenyuku
f5abec9923 feat: Re-adjust fingerprint location (Infinix Note 30 & Pro) 2024-03-29 16:45:36 +07:00
ryenyuku
c306a3a4d1 feat: Add SystemUI overlay for Tecno Camon 20 Pro 2024-03-29 14:13:35 +07:00
ryenyuku
0308724bca feat: Cleanups and added some missing keys (Tecno Camon 20 Pro) 2024-03-29 13:47:37 +07:00
Pierre-Hugues HUSSON
9c465d91c1
Merge pull request #101 from ryenyuku/pie
Enable AOD & Reposition Fingerprint Scanner (Infinix Note 30 & Pro)
2024-03-28 23:33:32 +01:00
ryenyuku
c49c27ebf9 feat: Reposition fingerprint and power button to the correct one (Infinix Note 30 & Pro) 2024-03-28 22:50:49 +07:00
a7a40b80e6 Add overlay for 8849 (Unihertz) Tank Mini 2024-03-27 22:00:59 -04:00
5bff65552f Merge remote-tracking branch 'td/pie' into aosp14
Conflicts:
	Unihertz/Luna/res/values/config.xml
	overlay.mk
2024-03-27 20:19:57 -04:00
thisdialynx
b9f616df40 Add overlays for Redmi Note 12 Pro 5G 2024-03-25 16:10:58 +02:00
リェンーゆく
1d29289180
chore: Remove duplicate space in Note30/res/values/bools.xml 2024-03-24 10:10:30 +07:00
ryenyuku
2017010235 feat: Enable AOD for Infinix Note 30 (& Pro) 2024-03-24 09:52:15 +07:00
github-actions[bot]
993493c362 Up TrebleApp to TrebleDroid/treble_app@037f9eb 2024-03-23 23:31:41 +00:00
github-actions[bot]
ddf05b8a00 Up TrebleApp to 131224b 2024-03-21 17:12:07 +00:00
Pierre-Hugues HUSSON
860b0a82e2
Merge pull request #98 from mtsxxx/redmi9_status_bar
Make Redmi 9 status bar more symmetric. (Take 3)
2024-03-16 19:46:44 +01:00
mtsxxx
2fdb38cded
Make Redmi 9 status bar more symmetric. (Take 3)
Change the value of "status_bar_padding_start".
2024-03-17 01:32:32 +07:00
Pierre-Hugues HUSSON
2c105d341d
Merge pull request #97 from mtsxxx/redmi9_status_bar
Make Redmi 9 status bar more symmetric. (Take 2)
2024-03-16 14:38:53 +01:00
Pierre-Hugues Husson
c2fe2a994c Fix build + tests 2024-03-16 09:38:23 -04:00
mtsxxx
374db43be0
Make Redmi 9 status bar more symmetric. (Take 2)
Even though the previous status bar configuration was symmetrical, I felt there was a slight oddity in the position of the status bar items.

MIUI has items:
"statusbar_padding_end" instead of "status_bar_padding_end"
also
"statusbar_padding_start" instead of "status_bar_padding_start"

Let's replace:
statusbar_padding_end -> status_bar_padding_end
statusbar_padding_start -> status_bar_padding_start

And return "rounded_corner_content_padding" to default value (19.0dip)

All values are based on MIUI defaults.
2024-03-16 19:23:53 +07:00
Pierre-Hugues HUSSON
e1291f4d3a
Merge pull request #96 from mtsxxx/redmi9_status_bar
Make Redmi 9 status bar more symmetric.
2024-03-14 21:04:20 +01:00
mtsxxx
32a206fb4b
Make Redmi 9 status bar more symmetric. 2024-03-15 01:55:23 +07:00
mtsxxx
1cef30790b
Delete Xiaomi/Redmi9-SystemUI/res directory 2024-03-15 01:52:25 +07:00
Pierre-Hugues HUSSON
a4fccf8398
Merge pull request #95 from mtsxxx/add_galahad
Add galahad
2024-03-12 20:59:09 +01:00
mtsxxx
f3650fbc33
Redmi 9: Added galahad 2024-03-13 01:30:23 +07:00
mtsxxx
bff1cc8a92
Redmi 9: Added galahad 2024-03-13 01:29:37 +07:00
Pierre-Hugues HUSSON
91062b3054
Merge pull request #94 from vbbot/pie
Add Hisense A9 overlay
2024-03-11 20:36:50 +01:00
Vasu Bhatia
9288a4f094 Add Hisense A9 overlay 2024-03-11 18:41:17 +00:00
Pierre-Hugues HUSSON
7015098d97
Merge pull request #93 from mtsxxx/power_profile
Added power_profile.xml
2024-03-10 21:06:54 +01:00
mtsxxx
ab64f2b913
Added power_profile.xml
Update deprecated power items.
* ambient.on -> ambient.on.display0
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0
2024-03-10 18:20:01 +07:00
Pierre-Hugues HUSSON
0ddb9c1ddd
Merge pull request #92 from kaii-lb/pie
added spark 10 pro overlay
2024-03-08 00:39:26 +01:00
kaii
050512e22a
added spark 10 pro overlay
fixes a bunch of issues with the statusbar mainly.
2024-03-07 22:24:00 +02:00
Pierre-Hugues HUSSON
4717405e94
Merge pull request #89 from ildar/pie
Add overlay for gta4l: Samsung A7 tablet model SM-T50x
2024-02-26 12:04:15 +01:00
Ildar Mulyukov
1ee9071074 Add overlay for gta4l: Samsung A7 tablet model SM-T50x
fixes brightness/autobrightness issues
2024-02-26 14:29:38 +06:00
Pierre-Hugues Husson
0f9ba44177 A10s has a 4Ah battery 2024-02-25 16:03:52 -05:00
Pierre-Hugues Husson
706f8c88e5 Up TrebleApp to 57c4d84 2024-02-25 13:25:13 -05:00
Pierre-Hugues HUSSON
81bacc7d93
Merge pull request #84 from melontini/pie
realme 8 pro updates
2024-02-23 21:58:30 +01:00
melontini
a81e2dab25 Remove broken realme power profiles 2024-02-24 02:39:29 +07:00
melontini
20f2f85ab1
Merge branch 'TrebleDroid:pie' into pie 2024-02-24 02:33:31 +07:00
melontini
7bdb6f8212 remove config_availableColorModes 2024-02-24 02:06:01 +07:00
Pierre-Hugues HUSSON
aea1027076
Merge pull request #87 from gawasvedraj/pie
Overlay For Redmi Note 12 5G
2024-02-23 18:47:33 +01:00
Vedraj Gawas
2d24400fff Init Overlay For Redmi Note 12 5G 2024-02-23 23:08:58 +05:30
melontini
634800cc0c realme 8 pro fixes.
Removed most odm, vendor and system/framework copy-paste.
Added source comments
2024-02-22 17:24:10 +07:00
melontini
08a30371f9
Merge branch 'TrebleDroid:pie' into pie 2024-02-22 15:01:28 +07:00
Pierre-Hugues Husson
2564f78e85 Up treble app to 97ae00 2024-02-21 17:29:27 -05:00
Pierre-Hugues Husson
2d8c74368c Up TrebleApp to 14fc0 2024-02-21 17:24:01 -05:00
Pierre-Hugues HUSSON
c956e6d784
Merge pull request #86 from rama982/note12v2023
Add overlays for Infinix Note 12 2023 (X676C)
2024-02-19 15:47:19 +01:00
Pierre-Hugues HUSSON
1cdcb34ee9
Merge pull request #85 from rama982/note30series
Make Infinix Note 30 series status bar item more symmetric
2024-02-19 11:00:10 +01:00
Rama Bondan Prakoso
cbfa089477 Add overlays for Infinix Note 12 2023 (X676C)
Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2024-02-19 16:30:08 +07:00
Rama Bondan Prakoso
6d1cb379a2 Make Infinix Note 30 series status bar item more symmetric
Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2024-02-19 16:08:21 +07:00
Pierre-Hugues HUSSON
b4ccba23b7
Merge pull request #82 from shunceyb/pie
Xiaomi 13T Overlay
2024-02-18 14:21:39 +01:00
melontini
6a73bdbb11
Proper realme 8 pro power profile 2024-02-15 12:28:23 +07:00
Pierre-Hugues Husson
2a3ebd32c0 Fix indentation and test 2024-02-07 04:47:59 -05:00
Shuncey Balba
7cf0d6285c add Xiaomi 13T Overlay(for punch hole and statusbar width/height) 2024-02-04 21:55:49 +07:00
Pierre-Hugues Husson
fed37d7cd0 Up TrebleApp to c161cd 2024-02-01 22:51:01 +08:00
Andy CrossGate Yan
8691254875 Add resources for OnePlus 12
Change-Id: I1a3d58dd622c7108a522c14bb7fa1e3e1898aeba
2024-02-01 22:51:01 +08:00
Andy CrossGate Yan
fc790f56fc Add resources for OnePlus Ace 3 / 12R
Change-Id: Ibb0d814e4b7f9bf15a3e8e14f3f41cdbaf275f91
2024-02-01 22:50:58 +08:00
MisterZtr
0f0003584b Realme C3: Take overlay values from device specific rom, and fix device definition 2024-02-01 22:50:47 +08:00
Rama Bondan Prakoso
5fe3d9fdda Add overlays for Infinix Note 30/Pro (X6833B/X678B)
rework:
Add overlay
Add SystemUI Overlay
Declare SFPS

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2024-02-01 22:50:47 +08:00
ponces
0b5abb3d21
fix(renoir): improve brightness and gamma on low light scenarios 2024-01-09 16:16:38 +00:00
Pierre-Hugues HUSSON
a50bf777f0
Merge pull request #68 from Shirayuki39/pie
Added Overlay for TECNO POVA 4(LG7n),TECNO POVA 5(LH7n), POVA 5 Pro(LH8n) and SystemUI Overlay for POVA 4 Pro
2024-01-07 20:46:12 +01:00
Shirayuki39
1126ce0af1
POVA 5 Pro: Added Overlay 2023-12-26 23:07:12 +08:00
Shirayuki39
229a995585
Pova 4 non-Pro: Disable AOD(SystemUI Overlay) 2023-12-20 16:07:55 +08:00
Shirayuki39
8ce480bd6d
Pova 4 non-Pro: Disable AOD 2023-12-20 16:05:30 +08:00
Shirayuki39
9ace099e08
Remove config.xml from Pova4Pro-SystemUI 2023-12-15 21:05:43 +08:00
Shirayuki39
4b7f35a6cc
Declare SFPS for Pova 4 and Pova 5 2023-12-15 21:04:28 +08:00
Shirayuki39
e662939c17
SFPS for Pova 4 Pro 2023-12-15 20:57:38 +08:00
Shirayuki39
7cfbc90468
Make tests.sh stop complaining when config_is_powerbutton_fps is set 2023-12-15 20:41:02 +08:00
Ren
2f47d5b9ae
Merge branch 'TrebleDroid:pie' into pie 2023-12-15 20:02:01 +08:00
Pierre-Hugues Husson
2a9a7b43c5 Up TrebleApp @ 2a4e2a6 2023-12-07 19:15:52 -05:00
Pierre-Hugues Husson
a33f45cf94 Make tests happy 2023-12-03 15:07:47 -05:00
ponces
568764aea5 Rename WifiOverlay package to prevent conflicts 2023-12-01 01:04:10 +00:00
Pierre-Hugues Husson
e24e7c4a8f Up TrebleApp to cc203d 2023-11-25 10:00:36 -05:00
Pierre-Hugues Husson
4dffba9be9 Include WifiOverlay in build. Also declare 5GHz support (useful for selecting tethering) 2023-11-25 09:47:35 -05:00
Pierre-Hugues Husson
bf64593a20 Include WifiOverlay from ponces' vendor_ponces for ca-less eap-entreprise 2023-11-25 09:28:12 -05:00
Shirayuki39
bcf4307426
Add Overlay for TECNO POVA 5 LH7n 2023-11-24 13:54:38 +08:00
Pierre-Hugues Husson
28c4250946 Up TrebleApp to 42a89f 2023-11-23 11:49:15 -05:00
Pierre-Hugues HUSSON
1bbceba473
Merge pull request #72 from boydaihungst/pie
perf(nubia): Using vendor power_profile (Global rom)
2023-11-17 13:53:34 +01:00
MrHereAndThere
1eb46615b8
perf(nubia): Using vendor power_profile (Global rom)
In the previous power_profile.xml is taken from chinese rom.
2023-11-17 09:37:24 +07:00
Pierre-Hugues HUSSON
799895c9c0
Merge pull request #70 from kholk/pie
Add overlays for Xiaomi Mi 14 Pro (Shennong)
2023-11-10 12:47:21 +01:00
AngeloGioacchino Del Regno
ef29b9e2ad
Add overlays for Xiaomi Mi 14 Pro (Shennong)
Add framework-res and SystemUI overlays for the Xiaomi 14 Pro.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
2023-11-10 12:15:30 +01:00
Pierre-Hugues Husson
7b6599e67b Include floss ims overlay to support floss ims implementation 2023-11-09 17:20:28 -05:00
Pierre-Hugues HUSSON
fc6853ea3f
Merge pull request #69 from TrebleDroid/revert-67-pie
Revert "A32: Update from latest framework-res"
2023-11-06 13:58:46 +01:00
Pierre-Hugues HUSSON
31626d0228
Revert "A32: Update from latest framework-res" 2023-11-06 13:58:34 +01:00
Pierre-Hugues HUSSON
8ef79ed017
Merge pull request #67 from ahnet-69/pie
A32: Update from latest framework-res
2023-11-05 22:22:00 +01:00
ahnet-69
89557f6c9c Remove non existent files from config_defaultPinnerServiceFiles
These do not exist so remove them.
2023-11-03 21:51:20 +05:00
ahnet-69
059a288d12 Revert 'config_availableColorModes' to '-1'
Causes lag in this lowEnd device
2023-11-03 21:38:41 +05:00
LordDemecrius83
40d3370610 Add Tecno Pova 4 non-Pro variant overlay and clean up messy commit pile 2023-11-03 22:28:40 +08:00
ahnet-69
f624cdf009 Rebase arrays.xml on new framework-res.apk 2023-11-03 18:56:26 +05:00
ahnet-69
a43c08c27b Import changes from newer fw 2023-11-03 17:48:42 +05:00
ahnet-69
01301c1090 Remove temp files 2023-11-03 17:03:23 +05:00
ahnet-69
4bae1c88e7 Import bools and integers from latest framework-res apk 2023-11-03 17:02:23 +05:00
Pierre-Hugues Husson
fb4e637e65 Up treble app to 7bdc7 2023-10-30 19:33:04 -04:00
Pierre-Hugues HUSSON
0e96636ddd
Merge pull request #63 from ponces/patch-trans-pointer
Add transparent pointer overlay
2023-10-26 11:34:57 +02:00
Alberto Ponces
8689bf86f9 Add transparent pointer overlay
Credits to @tabletseeker
2023-10-25 15:09:57 +00:00
Pierre-Hugues Husson
384700c0a8 Up TrebleApp to ba32a76e 2023-10-25 08:28:14 -04:00
Pierre-Hugues Husson
45100f1605 Up to TrebleApp 0d4fb5e 2023-10-18 18:09:51 -04:00
Pierre-Hugues HUSSON
3a0eb9b678
Merge pull request #60 from boydaihungst/pie
Add overlay files for Nubia red magic 6 series (6 6s 6 pro 6s pro)
2023-10-17 18:10:07 +00:00
Huy Hoang
4ecf815342 fix package name 2023-10-15 05:24:18 +07:00
Huy Hoang
0b61ddeb63 add nubia 6 series overlay 2023-10-13 17:47:11 +07:00
Huy Hoang
770a4738f4 add nubia 6 series overlay 2023-10-13 17:41:03 +07:00
Huy Hoang
785bbd4cf6 Revert "add nubia 6 series overlay"
This reverts commit 12c591d749.
2023-10-13 17:37:59 +07:00
Huy Hoang
12c591d749 add nubia 6 series overlay 2023-10-13 17:36:09 +07:00
Pierre-Hugues Husson
fee64ff80d Up TrebleApp to 6aede 2023-10-11 04:25:11 -04:00
Pierre-Hugues HUSSON
133c33333c
Merge pull request #58 from LordDemecrius83/pie
Fix overlay not getting applied on some ROMs in Camon 20 Pro 4G and Pova 4 Pro
2023-09-26 22:22:04 +02:00
LordDemecrius83
3814e70e8b Camon 20 Pro 4G and POVA 4 Pro: check ro.product.vendor.device instead of ro.vendor.build.fingerprint to fix overlay not being applied in some GSIs 2023-09-27 03:52:13 +08:00
Pierre-Hugues HUSSON
e957bcbffe
Merge pull request #54 from ungeskriptet/p11_pro_plus
Add overlay for Lenovo Xiaoxin Pad Pro 2021
2023-08-30 11:42:19 +02:00
David Wronek
44e182e93b
p11_pro_plus: Add initial overlay
Add an overlay for the Lenovo Xiaoxin Pad Pro 2021 (TB-J716F) to fix
automatic brightness.
2023-08-29 17:38:02 +02:00
Pierre-Hugues HUSSON
84fddfb954
Merge pull request #53 from LordDemecrius83/pie
Add Overlay for Tecno Camon 20 Pro 4G
2023-08-28 11:29:39 +02:00
Andy CrossGate Yan
037cbe3d83 Up TrebleApp to 733d1b9
Change-Id: I59c0e88a1db293fec63262e5fd04d78fb9890aa9
2023-08-27 13:53:58 +08:00
LordDemecrius83
0180249a12
Add Overlay for Tecno Camon 20 Pro 4G 2023-08-24 03:53:15 +08:00
Pierre-Hugues HUSSON
0d5fab0e28
Merge pull request #51 from MisterZtr/pie
Added colors settings and fixed status bar padding for POCO M5
2023-08-17 15:38:30 +02:00
Pierre-Hugues HUSSON
e5d46cde5b
Merge pull request #52 from LordDemecrius83/pie
Enable AOD for Tecno Pova 4 Pro
2023-08-16 19:51:22 +02:00
LordDemecrius83
6fbd1ed84b
Enable AOD for Tecno Pova 4 Pro 2023-08-17 01:41:42 +08:00
MisterZtr
c0a78dfe9c Add SystemUI overlay for POCO M5 2023-08-05 12:26:56 +03:00
MisterZtr
c4658e1316 POCO M5: Enable display color profile options 2023-08-05 08:06:16 +03:00
MisterZtr
5f9c8df5d8 POCO M5: Merge overlay values in config.xml 2023-08-05 08:04:36 +03:00
Pierre-Hugues HUSSON
664db7f010
Merge pull request #50 from ponces/renoir-overlay-improve-1
renoir: Improve brightness overlay
2023-08-01 12:29:23 +02:00
Alberto Ponces
d41ae7158a renoir: Improve brightness overlay 2023-07-17 10:25:22 +01:00
Andy Yan
c0187dc9f0
Merge pull request #47 from ponces/fix-overlay-mk
a40: Fix missing a40-systemui overlay
2023-07-10 18:45:04 +08:00
Alberto Ponces
809a3b3fb4 a40: Fix missing a40-systemui overlay 2023-07-10 11:41:22 +01:00
Andy Yan
cfaaded523
Merge pull request #46 from ponces/renoir-improve-overlay
renoir: Improve overlay based on LineageOS
2023-07-10 14:39:37 +08:00
Andy Yan
70791ba789
Merge pull request #45 from ponces/a40-rounded-corners
a40: Set rounded corners padding
2023-07-10 14:39:17 +08:00
Andy CrossGate Yan
bc21366df9 Support OnePlus Nord 3 using Ace 2V's resources 2023-07-10 08:42:12 +08:00
Alberto Ponces
6057fae1d1 renoir: Improve overlay based on LineageOS 2023-07-09 09:42:37 +01:00
Alberto Ponces
2430eeb266 a40: Set rounded corners padding 2023-07-08 21:34:41 +01:00
Pierre-Hugues Husson
57f200aad2 Up treble app to f2c8c3f1 2023-07-06 14:08:16 -04:00
Pierre-Hugues Husson
2de305eb28 Up TrebleApp to 95c29 2023-06-27 15:02:30 -04:00
Andy CrossGate Yan
02d6583375 Add resources for Motorola Edge (2022, tesla) 2023-06-19 20:32:53 +08:00
Pierre-Hugues HUSSON
0854222fbf
Merge pull request #41 from Rikkaawa/patch-1
Match cn fingerprint
2023-06-18 15:55:42 +02:00
Rikkaawa
71ca0eeb77
Match cn fingerprint 2023-06-18 09:50:47 +08:00
Pierre-Hugues Husson
52049307e8 Up TrebleApp to a3bcbd 2023-06-17 08:46:40 -04:00
Andy CrossGate Yan
910c67baa8 Add resources for Xiaomi Redmi Note 8/T (ginkgo/willow)
- Skeleton from Redmi Note 8 Pro
- Notch/SB/brightness/power_profile from LineageOS for ginkgo
- Priority high to avoid having to disable vendor overlays

Tested by Mika L (TG @huuhaa_tm)

Change-Id: I6d28fa898702f2e5ef30cd147638917930b62bb1
2023-06-14 21:07:18 +08:00
Pierre-Hugues Husson
f87ce047f0 Revert "Don't override stock updater"
This reverts commit fd94a9a2a2.
2023-06-10 15:24:24 +02:00
Danilka Terentyev
61596f0726 Update Android.mk for nokia 3.2 2023-06-10 14:59:55 +02:00
ac973k
02ca466125 Update Nokia 3.2 overlay 2023-06-10 14:59:55 +02:00
Pierre-Hugues Husson
563ae0fd3a [Realme 8pro PR] Remove non-sense power-profile 2023-06-10 14:59:06 +02:00
Pierre-Hugues Husson
9deba25055 Merge commit 'refs/pull/28/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:58:14 +02:00
Pierre-Hugues Husson
d00cc7ff70 Merge commit 'refs/pull/21/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:55:32 +02:00
Pierre-Hugues Husson
0fcf6f6640 Forbid setting color_extraction.xml, this is an OS choice 2023-06-10 14:55:04 +02:00
Pierre-Hugues Husson
ab4f0cfd9b [Realme 9i PR] Fix overlay/remove color_extraction 2023-06-10 14:54:50 +02:00
Pierre-Hugues Husson
fd9755206c Merge commit 'refs/pull/20/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:52:01 +02:00
creativchic
5f388c8fdc Update Redmi Note 5 overlay 2023-06-10 14:50:55 +02:00
IverCoder
513dbb5435 Add overlay for Samsung Galaxy A03 2023-06-10 14:48:53 +02:00
IverCoder
177091ba0a **Experimental** overlay for SM-A035F 2023-06-10 14:48:37 +02:00
Pierre-Hugues Husson
76389be6b4 [Samsung A10s PR] Fix priority 2023-06-10 14:47:21 +02:00
ItzKaguya
fd94a9a2a2 Don't override stock updater 2023-06-10 14:44:33 +02:00
ItzKaguya
d57af5e42c a10s: add a10s overlay to overlay.mk 2023-06-10 14:44:22 +02:00
ItzKaguya
0ccabf7939 a10s: power_profile.xml 2023-06-10 14:44:04 +02:00
ItzKaguya
3ab2a6b2ed a10s: config.xml 2023-06-10 14:44:04 +02:00
ItzKaguya
21e4d7d7e1 a10s: AndroidManifest.xml 2023-06-10 14:44:04 +02:00
ItzKaguya
fde4be26f4 a10s: Android.mk 2023-06-10 14:44:04 +02:00
Pierre-Hugues Husson
1e933a1fb3 Add a known key post Unihertz Luna 2023-06-10 14:42:02 +02:00
Pierre-Hugues Husson
edb4ebca77 Merge commit 'refs/pull/22/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:41:10 +02:00
Pierre-Hugues Husson
ee8d90eab8 [Tecno Pova4Pro MR] Fix overlay.mk sorting 2023-06-10 14:40:08 +02:00
Pierre-Hugues Husson
57c515c94e Merge commit 'refs/pull/31/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:38:55 +02:00
Pierre-Hugues Husson
18ed904fea [Alldocube X-Neo] Fix -- remove power_profile_test and add in overlay.mk 2023-06-10 14:35:25 +02:00
Pierre-Hugues Husson
625455012c Merge commit 'refs/pull/34/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:33:48 +02:00
Pierre-Hugues Husson
02f2e7daa2 Ensure that there is no public.xml 2023-06-10 14:31:54 +02:00
Pierre-Hugues Husson
b9412351fa Fix tests 2023-06-10 14:31:47 +02:00
Pierre-Hugues Husson
252bcae33c [Oppo Findx] Fix tests 2023-06-10 14:24:19 +02:00
Pierre-Hugues Husson
569163889d Never allow config_unplugTurnsOnScreen this is an OS choice 2023-06-10 14:23:56 +02:00
Pierre-Hugues Husson
1fbb06ace4 Merge commit 'refs/pull/33/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:20:51 +02:00
Pierre-Hugues Husson
731bc01f03 Merge commit 'refs/pull/24/head' of ssh://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 14:19:07 +02:00
Pierre-Hugues Husson
938c1e6c6c Remove broken automatic brightness and broken power profiles values 2023-06-10 14:16:43 +02:00
Pierre-Hugues Husson
61015b67e9 Remove non-sense power_profiles 2023-06-10 14:12:02 +02:00
Pierre-Hugues Husson
28d32eb91c Merge branch 'refs/pull/30/head' into pie 2023-06-10 13:58:47 +02:00
Pierre-Hugues Husson
3e247d0fd5 Fix some non-sense 2023-06-10 13:58:24 +02:00
Pierre-Hugues Husson
c44564e570 Add some new tests regarding auto backlight and power_profile 2023-06-10 13:57:54 +02:00
ImaiNobuo
4a493a7297 Set lowest brightness & Remove useless array 2023-06-10 13:32:37 +02:00
ImaiNobuo
85b890634c added SystemUI. Fix fingerprint button position. 2023-06-10 13:32:37 +02:00
ImaiNobuo
812b31dba4 Sync file structure just like MIUI did. 2023-06-10 13:32:37 +02:00
ImaiNobuo
5ee03b6bee enable 3.5mm headphone jack 2023-06-10 13:32:37 +02:00
ImaiNobuo
0b999f1585 Updated rounded radius & status bar height 2023-06-10 13:32:37 +02:00
ImaiNobuo
3556dd6caf Add overlay for Xiaomi PocoF5/ Redmi Note12Turbo 2023-06-10 13:32:37 +02:00
Pierre-Hugues Husson
88bfb7e835 Merge commit 'refs/pull/27/head' of https://github.com/trebledroid/vendor_hardware_overlay into pie 2023-06-10 13:27:15 +02:00
Kuaipz
b80f6d0a0a
Merge branch 'TrebleDroid:pie' into pie 2023-06-05 08:37:08 +08:00
Pierre-Hugues HUSSON
b985bf8f7b
Merge pull request #19 from Ryker0603/pie
Add the Overlay for Huawei JKM
2023-06-02 22:40:14 +02:00
LordDemecrius83
da50b07c18
Reduce landscape mode status bar height 2023-06-01 07:18:50 +08:00
Kuaipz
70eca1ef0c
Merge branch 'TrebleDroid:pie' into pie 2023-05-31 09:51:38 +08:00
Pierre-Hugues Husson
ee84cee405 Up treble app to a639f7 2023-05-30 18:17:11 -04:00
Andy CrossGate Yan
7b7cb2dcbe Add resources for Realme 10 Pro (RMX3660/1/3)
Change-Id: I91df819857081539149364fb4cf93386215a6448
2023-05-30 00:37:27 +00:00
Boris Nazaroff
fec80f38f4 Fixes for stock vendor values (network and brightness)
1. Fixed autbrightness curve to lower values (default one is too bright - possible made for wow impression in the store)
2. Fixes to allow dim/doze to go darker
3. Removed some network-related vendor values - it looks like it interferes with VPN somehow on Android 12
2023-05-28 14:10:54 +03:00
Boris Nazaroff
fe0f2df188 Stock values
Vendor hardware overlay from the stock framework-res.apk. Tested on GSI PE Plus 12.1 v416 (ponces).
2023-05-28 14:06:58 +03:00
Kuaipz
95fee4dd04 add overlay for findx 2023-05-28 16:04:50 +08:00
LordDemecrius83
3f79867c40
Added some values from framework-res__auto_generated_rro_product 2023-05-28 12:48:49 +08:00
LordDemecrius83
cc28c75587
Seperated notch configuration from config.xml 2023-05-26 12:15:13 +08:00
LordDemecrius83
ab2c56a325
Fixed Landscape mode 2023-05-26 12:13:33 +08:00
LordDemecrius83
cc15275cee
Cleaned up the messy commit pile 2023-05-26 11:41:48 +08:00
melontini
dd21a37fc0 fix AOD 2023-05-26 00:55:15 +07:00
melontini
30fba9eb14 battery capacity 2023-05-24 15:15:21 +07:00
melontini
7debb899db rmx3081 overlay 2023-05-24 15:01:34 +07:00
Tangy
24bfde2d78 Added Overlay for Samsung A02s
Overlay fixes notch, battery capacity, cpu speeds etc...
System-UI overlay fixes status bar.
2023-05-21 18:40:42 +04:00
Pierre-Hugues HUSSON
b34b88c74f
Merge pull request #23 from PeterCxy/patch-qin3ultra
Tune status bar layout for Qin 3 Ultra
2023-05-19 15:40:23 +02:00
Pierre-Hugues Husson
0c4489fb08 Up TrebleApp to 968684 2023-05-17 14:34:24 -04:00
Pierre-Hugues HUSSON
1c98d498b6
Merge pull request #26 from ponces/spen-pointer-overlay
Add SPenPointerOverlay
2023-05-15 16:16:29 +02:00
Andy CrossGate Yan
20c16c04f6 Add SPenPointerOverlay
Toggle this overlay with property "persist.sys.overlay.spen_pointer"
2023-05-15 11:43:34 +01:00
85b03fffe1 Luna: Remove unused overlay configs 2023-05-04 17:41:58 -04:00
ca007b4f56 Luna: Remove non-existent quick_qs_total_height
This does not exist anymore on T
2023-05-04 17:28:26 -04:00
420f2a05ac Luna: Fix order on overlay.mk 2023-05-04 17:24:57 -04:00
captaincookie200
e86d560361 Tweak burn in protection a bit more 2023-05-04 23:43:48 +05:00
OHaiiBuzzle
13c46e5ddc fix: lge-lm_v500n: tweaking Doze brightness 2023-05-03 17:22:12 +07:00
Pierre-Hugues Husson
218189adb5 Up treble app to 5db8d3 2023-05-02 08:46:02 -04:00
802fb92adf Tune status bar layout for Qin 3 Ultra
- Reduce the height of status bar
- Pad the top of status bar so that the text aligns with the
  front-facing camera.
- keyguard_carrier_text_margin needs to include padding induced by
  cutout; otherwise it is going to be reset to 0 in fwb.
2023-04-30 13:44:41 -04:00
a5a6c47c8c Luna: Increase status bar height to center the cutout
We have enough screen real estate to do this.
2023-04-30 13:43:29 -04:00
181e58a694 Add overlay for Unihertz Luna 2023-04-30 13:43:25 -04:00
Pierre-Hugues Husson
b6d750a3c4 Up TrebleApp to 4a5deccc 2023-04-28 12:44:10 -04:00
OHaiiBuzzle
fa29d4bc87 fix: lge-lm_v500n: enable AoD 2023-04-28 20:15:12 +07:00
OHaiiBuzzle
a9736fd62a added: LG V50 (flashlmdd) overlay 2023-04-28 17:39:05 +07:00
Oracle-GSI
b8a10f8801
Add files via upload 2023-04-22 11:41:32 +03:00
Ryker Lim
8d7fc22b0d
Add the Overlay for Huawei JKM 2023-04-21 23:10:22 +08:00
Ryker Lim
82c9940e90
Add the Overlay for Huawei JKM
Add the Overlay for Huawei JKM, the test model is JKM-LX2, it works well. Other models should work as long as they are JKM.
2023-04-21 23:06:25 +08:00
captaincookie200
eea3cac125 Realign Power button location 2023-04-08 00:16:31 +05:00
captaincookie200
8e2541ba3e Device supports double tap to wake 2023-04-07 22:57:01 +05:00
captaincookie200
b542a3f3b9 Fix AOD Doze and add burn in protection 2023-04-07 22:56:07 +05:00
447 changed files with 14985 additions and 2147 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-8849-tank-mini
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.eight_eight_four_nine.tank_mini"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+8849/TANK_MINI_1*"
android:priority="8849"
android:isStatic="true" />
</manifest>

View file

@ -1,5 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M 0,0 L -30, 0 L -30, 37 L 30, 37 L 30, 0 Z @dp</string>
<dimen name="status_bar_height_portrait">60px</dimen>
<dimen name="status_bar_icon_size">15dp</dimen>
<dimen name="status_bar_icon_size_sp">15sp</dimen>
<item type="dimen" name="config_screenBrightnessSettingDefaultFloat">0.35</item>
<item type="dimen" name="config_screenBrightnessSettingMaximumFloat">1.0</item>
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.0</item>
<integer name="config_screenBrightnessDoze">5</integer>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>8</item>
<item>64</item>

View file

@ -0,0 +1,246 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">67.6</item>
<item name="screen.full">159.5</item>
<item name="bluetooth.active">20.7</item>
<item name="bluetooth.on">0.82</item>
<item name="wifi.on">0.07</item>
<item name="wifi.active">127.5</item>
<item name="wifi.scan">27</item>
<item name="audio">35.6</item>
<item name="video">49</item>
<item name="camera.flashlight">48</item>
<item name="camera.avg">732</item>
<item name="gps.on">28</item>
<item name="radio.active">110</item>
<item name="radio.scanning">6.1</item>
<array name="radio.on">
<value>6.1</value>
<value>6.1</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.active.cluster0">
<value>10.6</value>
<value>11.4</value>
<value>12.4</value>
<value>13.2</value>
<value>14.0</value>
<value>14.2</value>
<value>15.2</value>
<value>16.2</value>
<value>17.4</value>
<value>18.4</value>
<value>19.8</value>
<value>21.2</value>
<value>22.6</value>
<value>23.4</value>
<value>25.0</value>
<value>26.8</value>
<value>27.8</value>
<value>30.0</value>
<value>31.6</value>
<value>35.8</value>
<value>40.0</value>
<value>44.2</value>
<value>49.0</value>
<value>54.4</value>
</array>
<array name="cpu.speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.active.cluster1">
<value>44</value>
<value>48</value>
<value>54</value>
<value>62</value>
<value>71</value>
<value>82</value>
<value>93</value>
<value>102</value>
<value>118</value>
<value>131</value>
<value>142</value>
<value>159</value>
<value>185</value>
<value>196</value>
<value>221</value>
<value>240</value>
</array>
<item name="cpu.idle">7.0</item>
<item name="cpu.suspend">5</item>
<item name="cpu.active">2.55</item>. <item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.core_power.cluster0">
<value>10.6</value>
<value>11.4</value>
<value>12.4</value>
<value>13.2</value>
<value>14.0</value>
<value>14.2</value>
<value>15.2</value>
<value>16.2</value>
<value>17.4</value>
<value>18.4</value>
<value>19.8</value>
<value>21.2</value>
<value>22.6</value>
<value>23.4</value>
<value>25.0</value>
<value>26.8</value>
<value>27.8</value>
<value>30.0</value>
<value>31.6</value>
<value>35.8</value>
<value>40.0</value>
<value>44.2</value>
<value>49.0</value>
<value>54.4</value>
</array>
<array name="cpu.core_power.cluster1">
<value>44</value>
<value>48</value>
<value>54</value>
<value>62</value>
<value>71</value>
<value>82</value>
<value>93</value>
<value>102</value>
<value>118</value>
<value>131</value>
<value>142</value>
<value>159</value>
<value>185</value>
<value>196</value>
<value>221</value>
<value>240</value>
</array>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">5800</item>
<item name="wifi.controller.idle">0</item>
<item name="wifi.controller.rx">0</item>
<item name="wifi.controller.tx">0</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">3.3</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">0</item>
<item name="modem.controller.rx">0</item>
<array name="modem.controller.tx">
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
<array name="custom.campinglamp.on">
<value>1734</value>
<value>888</value>
<value>458</value>
<value>721</value>
<value>880</value>
</array>
<item name="custom.warning_lights.on">44</item>
</device>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-alldocube-xneo
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.alldocube.xneo"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+iWaylink/MC401/MC401_GWL*"
android:priority="614"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,145 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="config_autoBrightnessButtonBacklightValues" />
<array name="config_autoBrightnessDisplayValuesNits" />
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>3</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>7</item>
<item>9</item>
<item>13</item>
<item>22</item>
<item>37</item>
<item>47</item>
<item>55</item>
<item>69</item>
<item>87</item>
<item>101</item>
<item>113</item>
<item>130</item>
<item>145</item>
<item>158</item>
<item>170</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>5</item>
<item>15</item>
<item>30</item>
<item>60</item>
<item>100</item>
<item>165</item>
<item>250</item>
<item>400</item>
<item>600</item>
<item>750</item>
<item>850</item>
<item>1000</item>
<item>1200</item>
<item>1350</item>
<item>1500</item>
<item>1750</item>
<item>2000</item>
<item>2200</item>
<item>2400</item>
</integer-array>
<array name="config_availableColorModes" />
<integer-array name="config_defaultNotificationVibePattern">
<item>0</item>
<item>350</item>
<item>250</item>
<item>350</item>
</integer-array>
<array name="config_defaultPinnerServiceFiles" />
<integer-array name="config_dynamicHysteresisBrightLevels">
<item>100</item>
</integer-array>
<integer-array name="config_dynamicHysteresisDarkLevels">
<item>200</item>
</integer-array>
<array name="config_dynamicHysteresisLuxLevels" />
<string-array name="config_ephemeralResolverPackage">
<item>com.google.android.gms</item>
</string-array>
<string-array name="config_gpsParameters">
<item>SUPL_HOST=supl.google.com</item>
<item>SUPL_PORT=7275</item>
<item>SUPL_VER=0x20000</item>
<item>SUPL_MODE=1</item>
<item>SUPL_ES=0</item>
<item>LPP_PROFILE=0</item>
<item>USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1</item>
<item>A_GLONASS_POS_PROTOCOL_SELECT=0</item>
<item>GPS_LOCK=0</item>
</string-array>
<integer-array name="config_keyboardTapVibePattern">
<item>40</item>
</integer-array>
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>1</item>
<item>20</item>
<item>21</item>
</integer-array>
<integer-array name="config_lteDbmThresholds">
<item>-140</item>
<item>-128</item>
<item>-118</item>
<item>-108</item>
<item>-98</item>
<item>-44</item>
</integer-array>
<integer-array name="config_notificationFallbackVibePattern">
<item>0</item>
<item>100</item>
<item>150</item>
<item>100</item>
</integer-array>
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>1</item>
<item>20</item>
<item>21</item>
<item>500</item>
<item>600</item>
</integer-array>
<array name="config_screenBrightnessBacklight" />
<array name="config_screenBrightnessNits" />
<integer-array name="config_scrollBarrierVibePattern">
<item>0</item>
<item>15</item>
<item>10</item>
<item>10</item>
</integer-array>
<string-array name="config_tether_bluetooth_regexs">
<item>bnep\\d</item>
<item>bt-pan</item>
</string-array>
<integer-array name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>
<string-array name="config_tether_usb_regexs">
<item>usb\\d</item>
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>wigig0</item>
<item>softap0</item>
</string-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>10</item>
<item>20</item>
<item>30</item>
</integer-array>
<string-array name="radioAttributes">
<item>1,1</item>
<item>0,1</item>
<item>7,1</item>
</string-array>
</resources>

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_allowAutoBrightnessWhileDozing">false</bool>
<bool name="config_autoBrightnessResetAmbientLuxAfterWarmUp">true</bool>
<bool name="config_auto_attach_data_on_creation">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">false</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_carrier_wfc_ims_available">false</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_displayBlanksAfterDoze">false</bool>
<bool name="config_displayBrightnessBucketsInDoze">false</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">false</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_dozePulsePickup">false</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_enableBurnInProtection">false</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<bool name="config_enableNetworkLocationOverlay">false</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_fingerprintSupportsGestures">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_intrusiveNotificationLed">false</bool>
<bool name="config_lidControlsSleep">true</bool>
<item type="bool" name="config_nightDisplayAvailable">@bool/config_setColorTransformAccelerated</item>
<bool name="config_pinnerCameraApp">false</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<bool name="config_supportAudioSourceUnprocessed">true</bool>
<bool name="config_supportDoubleTapWake">false</bool>
<bool name="config_supportSystemNavigationKeys">false</bool>
<bool name="config_suspendWhenScreenOffDueToProximity">false</bool>
<bool name="config_sustainedPerformanceModeSupported">false</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_use_sim_language_file">false</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_enable_disconnection_debounce">true</bool>
<bool name="config_wifi_enable_wifi_firmware_debugging">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
</resources>

View file

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_autoBrightnessBrighteningLightDebounce">4000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
<integer name="config_autoBrightnessInitialLightSensorRate">-1</integer>
<integer name="config_autoBrightnessLightSensorRate">250</integer>
<integer name="config_autoPowerModeAnyMotionSensor">0</integer>
<integer name="config_bluetooth_idle_cur_ma">0</integer>
<integer name="config_bluetooth_max_connected_audio_devices">5</integer>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_bluetooth_rx_cur_ma">0</integer>
<integer name="config_bluetooth_tx_cur_ma">0</integer>
<integer name="config_brightness_ramp_rate_fast">180</integer>
<integer name="config_brightness_ramp_rate_slow">60</integer>
<integer name="config_burnInProtectionMaxHorizontalOffset">0</integer>
<integer name="config_burnInProtectionMaxRadius">-1</integer>
<integer name="config_burnInProtectionMaxVerticalOffset">0</integer>
<integer name="config_burnInProtectionMinHorizontalOffset">0</integer>
<integer name="config_burnInProtectionMinVerticalOffset">0</integer>
<integer name="config_cameraLaunchGestureSensorType">-1</integer>
<integer name="config_lightSensorWarmupTime">0</integer>
<integer name="config_mobile_mtu">1500</integer>
<integer name="config_overrideHasPermanentMenuKey">0</integer>
<integer name="config_previousVibrationsDumpLimit">50</integer>
<integer name="config_screenBrightnessSettingDefault">102</integer>
<integer name="config_screenBrightnessSettingMaximum">230</integer>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">8</integer>
<integer name="config_screenBrightnessDoze">10</integer>
<integer name="config_screenBrightnessForVrSettingDefault">86</integer>
<integer name="config_screenBrightnessForVrSettingMaximum">255</integer>
<integer name="config_screenBrightnessForVrSettingMinimum">79</integer>
<integer name="config_shutdownBatteryTemperature">550</integer>
</resources>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_cameraLaunchGestureSensorStringType" />
<string name="config_ims_package">org.codeaurora.ims</string>
<string name="config_mainBuiltInDisplayCutout" />
<string name="wifi_localhotspot_configure_ssid_default">AndroidShare</string>
<string name="wifi_tether_configure_ssid_default">X_Neo</string>
</resources>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">63</item>
<item name="screen.full">261</item>
<array name="cpu.clusters.cores">
<value>4</value>
<value>4</value>
</array>
<array name="cpu.speeds.cluster0">
<value>633000</value>
<value>902000</value>
<value>1113000</value>
<value>1401000</value>
<value>1536000</value>
<value>1747000</value>
<value>1843000</value>
</array>
<array name="cpu.active.cluster0">
<value>34</value>
<value>60</value>
<value>85</value>
<value>128</value>
<value>163</value>
<value>202</value>
<value>253</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1113000</value>
<value>1401000</value>
<value>1747000</value>
<value>1958000</value>
<value>2150000</value>
</array>
<array name="cpu.active.cluster1">
<value>226</value>
<value>331</value>
<value>497</value>
<value>614</value>
<value>777</value>
</array>
<item name="cpu.awake">1.6</item>
<item name="cpu.idle">0.1</item>
<item name="battery.capacity">7700</item>
</device>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-blackview-shark8-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.blackview.shark8.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Shark8|Tiger12)"
android:priority="683"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_height_landscape">28.0dip</dimen>
<dimen name="status_bar_height_portrait">36.0dip</dimen>
<dimen name="status_bar_padding_end">8.0dip</dimen>
<dimen name="status_bar_padding_start">18.0dip</dimen>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-blackview-shark8
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.blackview.shark8"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Shark8|Tiger12)"
android:priority="356"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--Display-->
<integer name="config_defaultPeakRefreshRate">120</integer>
<integer name="config_defaultRefreshRate">120</integer>
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<!--Brightness-->
<bool name="config_automatic_brightness_available">true</bool>
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300.0%</fraction>
<fraction name="config_maximumScreenDimRatio">29.999996%</fraction>
<fraction name="config_screenAutoBrightnessDozeScaleFactor">100.0%</fraction>
<integer name="config_screenBrightnessDoze">5</integer>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>10</item>
<item>70</item>
<item>98</item>
<item>122</item>
<item>128</item>
<item>134</item>
<item>140</item>
<item>146</item>
<item>152</item>
<item>158</item>
<item>182</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>10</item>
<item>64</item>
<item>128</item>
<item>256</item>
<item>384</item>
<item>512</item>
<item>640</item>
<item>768</item>
<item>896</item>
<item>1024</item>
<item>2048</item>
<item>4096</item>
<item>6144</item>
<item>8192</item>
<item>10240</item>
<item>12288</item>
<item>14336</item>
<item>16384</item>
<item>18432</item>
</integer-array>
<!--Other-->
<string-array name="config_defaultPinnerServiceFiles">
<item>/system/framework/arm/boot-mediatek-framework.vdex</item>
<item>/system/lib/libjavacrypto.so</item>
<item>/system/lib/libhidltransport.so</item>
<item>/system/framework/arm/boot-core-libart.oat</item>
<item>/system/framework/arm/boot-conscrypt.oat</item>
<item>/system/framework/arm/boot-core-libart.vdex</item>
<item>/system/framework/arm/boot-ext.vdex</item>
<item>/system/framework/arm/boot.vdex</item>
<item>/system/framework/arm/boot-framework.vdex</item>
</string-array>
<string-array name="config_tether_bluetooth_regexs">
<item>bt-pan</item>
<item>bt-dun</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
<bool name="config_showNavigationBar">true</bool>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M 0,0 L -16, 0 L -16, 36 L 16, 36 L 16, 0 Z @dp</string>
</resources>

View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">0.1</item>
<item name="screen.full">0.1</item>
<item name="screen.on">66.06</item>
<item name="screen.full">272.285</item>
<item name="bluetooth.active">0.1</item>
<item name="bluetooth.on">0.1</item>
<item name="wifi.on">0.1</item>
<item name="wifi.active">0.1</item>
<item name="wifi.scan">0.1</item>
<item name="audio">0.1</item>
<item name="video">0.1</item>
<item name="camera.flashlight">0.1</item>
<item name="camera.avg">0.1</item>
<item name="audio">2.83</item>
<item name="video">30.473</item>
<item name="camera.flashlight">2310</item>
<item name="camera.avg">275.34</item>
<item name="gps.on">0.1</item>
<item name="radio.active">0.1</item>
<item name="radio.scanning">0.1</item>
@ -20,7 +20,8 @@
<value>0.1</value>
</array>
<array name="cpu.clusters.cores">
<value>1</value>
<value>4</value>
<value>4</value>
</array>
<array name="cpu.speeds.cluster0">
<value>400000</value>
@ -28,14 +29,14 @@
<array name="cpu.active.cluster0">
<value>0.1</value>
</array>
<item name="cpu.idle">0.1</item>
<item name="cpu.idle">1.11</item>
<item name="cpu.suspend">5</item>
<item name="cpu.active">2.55</item>. <item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">1000</item>
<item name="battery.capacity">5000</item>
<item name="wifi.controller.idle">0</item>
<item name="wifi.controller.rx">0</item>
<item name="wifi.controller.tx">0</item>

8
Doogee/VMax/Android.mk Normal file
View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-doogee-vmax
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.doogee.vmax"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+DOOGEE/M23H*"
android:priority="479"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_tether_bluetooth_regexs">
<item>bt-pan</item>
<item>bt-dun</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="config_biometric_sensors">
<item>0:2:15</item>
<item>1:8:4095</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingDefault">255</integer>
</resources>

View file

@ -1,14 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="battery.capacity">3000</item>
<item name="ambient.on">0.5</item>
<item name="screen.on">100</item>
<item name="screen.full">800</item>
<item name="camera.flashlight">500</item>
<item name="camera.avg">600</item>
<item name="audio">100.0</item>
<item name="video">150.0</item>
<item name="gps.on">10</item>
<item name="radio.active">60</item>
<item name="radio.scanning">3</item>
<array name="radio.on">
<value>6</value>
<value>5</value>
<value>4</value>
<value>3</value>
<value>3</value>
</array>
<array name="cpu.clusters.cores">
<value>4</value>
<value>4</value>
</array>
<item name="cpu.suspend">5</item>
<array name="cpu.speeds.cluster0">
<value>400000</value>
</array>
<array name="cpu.active.cluster0">
<value>0.1</value>
</array>
<item name="cpu.idle">1.11</item>
<item name="cpu.active">2.55</item>
<item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.suspend">5</item>
<item name="cpu.active">2.55</item>. <item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>300000</value>
@ -32,21 +53,15 @@
<value>50</value>
<value>60</value>
</array>
<item name="ambient.on">0.5</item>
<item name="screen.on">100</item>
<item name="screen.full">800</item>
<item name="camera.flashlight">500</item>
<item name="camera.avg">600</item>
<item name="audio">100.0</item>
<item name="video">150.0</item>
<item name="gps.on">10</item>
<item name="radio.active">60</item>
<item name="radio.scanning">3</item>
<array name="radio.on">
<value>6</value>
<value>5</value>
<value>4</value>
<value>3</value>
<value>3</value>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">22000</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View file

@ -333,9 +333,6 @@
<!-- Flag specifying whether or not IMS will use the ImsResolver dynamically -->
<bool name="config_dynamic_bind_ims">true</bool>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<!-- <bool name="config_unplugTurnsOnScreen">true</bool>
-->
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-Hisense-HLTE556N
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.Hisense.HLTE556N"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+*Hisense/HLTE556N*"
android:priority="803"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>29</item>
<item>60</item>
<item>66</item>
<item>77</item>
<item>89</item>
<item>102</item>
<item>117</item>
<item>135</item>
<item>156</item>
<item>181</item>
<item>210</item>
<item>242</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>3</item>
<item>6</item>
<item>13</item>
<item>21</item>
<item>30</item>
<item>41</item>
<item>52</item>
<item>66</item>
<item>83</item>
<item>102</item>
<item>124</item>
<item>150</item>
</integer-array>
<integer-array name="config_availableColorModes">
<item>0</item>
<item>1</item>
<item>3</item>
<item>256</item>
<item>257</item>
<item>258</item>
<item>259</item>
<item>260</item>
<item>261</item>
<item>262</item>
<item>263</item>
<item>264</item>
<item>265</item>
</integer-array>
<string-array name="config_mobile_tcp_buffers">
<item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
<item>lte_ca:4096,6291456,12582912,4096,1048576,2097152</item>
<item>umts:4094,87380,1220608,4096,16384,1220608</item>
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
<item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
<item>edge:4093,26280,35040,4096,16384,35040</item>
<item>gprs:4092,8760,11680,4096,8760,11680</item>
<item>evdo:4094,87380,524288,4096,16384,262144</item>
</string-array>
<string-array name="config_tether_bluetooth_regexs">
<item>bnep\\d</item>
<item>bt-pan</item>
</string-array>
<integer-array name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>
<string-array name="config_tether_usb_regexs">
<item>usb\\d</item>
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>softap0</item>
<item>wlan0</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,4,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,2,60000,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>bluetooth,7,7,2,-1,true</item>
<item>mobile_emergency,15,0,5,-1,true</item>
<item>ethernet,9,9,9,-1,true</item>
</string-array>
<string-array name="radioAttributes">
<item>1,1</item>
<item>0,1</item>
<item>7,1</item>
</string-array>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<bool name="config_supportAudioSourceUnprocessed">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<integer name="config_bluetooth_idle_cur_ma">3</integer>
<integer name="config_bluetooth_operating_voltage_mv">3700</integer>
<integer name="config_bluetooth_rx_cur_ma">20</integer>
<integer name="config_bluetooth_tx_cur_ma">33</integer>
<integer name="config_defaultPeakRefreshRate">180</integer>
<integer name="config_defaultRefreshRate">0</integer>
<integer name="config_screenBrightnessDoze">17</integer>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-huawei-JKM
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.huawei.JKM"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.hw.oemName"
android:requiredSystemPropertyValue="+JKM*"
android:priority="916"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_height">5.439972mm</dimen>
</resources>

View file

@ -0,0 +1,219 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate.
NOTE: The naming convention is "config_camelCaseValue". Some legacy
entries do not follow the convention, but all new entries should. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: (0, value[1]): lux <= 0
Point 2: (level[1], value[2]): 0 < lux <= level[1]
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if LUX == level[1] (first element of the levels array)
then the brightness will be determined by value[2] (second element
of the brightness values array).
Spline interpolation is used to determine the auto-brightness
backlight values for LUX levels between these control points.
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>8</item>
<item>55</item>
<item>350</item>
<item>1600</item>
<item>2550</item>
</integer-array>
<!-- Array of output values for LCD backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
The brightness values must be between 0 and 255 and be non-decreasing.
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>6</item>
<item>47</item>
<item>150</item>
<item>180</item>
<item>250</item>
<item>255</item>
</integer-array>
<integer name="config_screenBrightnessDark">4</integer>
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">4</integer>
<integer name="config_screenBrightnessSettingDefault">33</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">false</bool>
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
device from the display on/off state.
When false, autosuspend_disable() will be called before the display is turned on
and autosuspend_enable() will be called after the display is turned off.
This mode provides best compatibility for devices using legacy power management
features such as early suspend / late resume.
When true, autosuspend_display() and autosuspend_enable() will be called
independently of whether the display is being turned on or off. This mode
enables the power manager to suspend the application processor while the
display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to autosuspend.h for details.
-->
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
Otherwise, the device may fail to wake out of suspend reliably.
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">false</bool>
<!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state.
When false, setInteractive(..., true) will be called before the display is turned on
and setInteractive(..., false) will be called after the display is turned off.
This mode provides best compatibility for devices that expect the interactive
state to be tied to the display state.
When true, setInteractive(...) will be called independently of whether the display
is being turned on or off. This mode enables the power manager to reduce
clocks and disable the touch controller while the display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to power.h for details.
-->
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDoze">4</integer>
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tething over USB this should
be empty. An example would be "usb.*" -->
<string-array translatable="false" name="config_tether_usb_regexs">
<item>"rndis0"</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs">
<item>wlan0|ap0</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
should be empty. -->
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bt-pan"</item>
</string-array>
<!-- Array of allowable ConnectivityManager network types for tethering -->
<!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
[0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
<integer-array translatable="false" name="config_tether_upstream_types">
<item>1</item>
<item>7</item>
<item>0</item>
</integer-array>
<!-- Is the device capable of hot swapping an UICC Card -->
<bool name="config_hotswapCapable">false</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
<!-- Flag specifying whether VoLTE is available on device -->
<bool name="config_device_volte_available">true</bool>
<!-- Flag specifying whether VoLTE should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
<bool name="config_carrier_volte_available">true</bool>
<!-- Flag specifying whether WFC over IMS is available on device -->
<bool name="config_device_wfc_ims_available">true</bool>
<!-- Flag specifying whether WFC over IMS should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
<bool name="config_carrier_wfc_ims_available">true</bool>
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
on the headphone/microphone jack. When false use the older uevent framework. -->
<!-- Brightness -->
<integer name="config_screenBrightnessForVrSettingDefault">86</integer>
<integer name="config_screenBrightnessForVrSettingMaximum">255</integer>
<integer name="config_screenBrightnessForVrSettingMinimum">79</integer>
<!-- Wifi -->
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
This mechanism allows the host to remain in suspend state and the dongle to actively
scan and wake the host when a configured SSID is detected by the dongle. This chipset
capability can provide power savings when wifi needs to be always kept on. -->
<bool name="config_wifi_background_scan_support">true</bool>
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_batched_scan_supported">false</bool>
<bool name="config_wifi_enable_disconnection_debounce">true</bool>
<bool name="config_wifi_enable_wifi_firmware_debugging">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">false</bool>
</resources>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2017, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>
<!-- Height of the status bar -->
<dimen name="status_bar_height">5.439972mm</dimen>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">5.439972mm</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">5.439972mm</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">M145.908595,0.116 C145.907595,0.077 145.906596,0.039 145.905597,0 L-144.691732,0 C-144.692731,0.039 -144.693731,0.077 -144.69473,0.116 L-168,0.116 C-155.241064,0.116 -144.301978,8.866 -144.801662,23.329 L-144.708721,23.089 L-144.708721,30.71 C-141.803557,66.116 -120.452053,85 -90.5289654,85 L91.7428302,85 C123.278898,85 144.765317,61.616 145.922586,30.71 L145.922586,20.96 C147.11883,9.294 157.03956,0.116 169,0.116 L145.908595,0.116 Z</string>
</resources>

View file

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License")
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<device name="Android">
<!-- All values are in mA except as noted -->
<item name="none">0</item>
<item name="screen.on">135</item> <!-- min brite -->
<item name="bluetooth.active">86</item>
<item name="bluetooth.on">0.6</item>
<item name="bluetooth.at">0.6</item> <!-- TBD -->
<item name="screen.full">400</item> <!-- backlight 16 leds -->
<item name="wifi.on">0.6</item>
<item name="wifi.active">128</item>
<item name="wifi.scan">146</item>
<item name="dsp.audio">43</item>
<item name="dsp.video">176</item>
<item name="radio.active">190</item>
<item name="gps.on">70</item>
<item name="battery.capacity">4000</item> <!-- 3750mAh -->
<item name="radio.scanning">65</item> <!-- TBD -->
<!-- Current consumed by the radio at different signal strengths, when paging -->
<array name="radio.on"> <!-- 1 entry per signal strength bin, TBD -->
<value>13.0</value>
<value>10.0</value>
<value>10.0</value>
<value>10.0</value>
<value>10.0</value>
</array>
<array name="cpu.clusters.cores">
<value>4</value> <!-- cluster 0 has cpu0, cpu1, cpu2, cpu3 -->
<value>4</value> <!-- cluster 1 has cpu4, cpu5, cpu6, cpu7 -->
</array>
<array name="cpu.speeds.cluster0">
<value>480000</value> <!-- 480 MHz CPU speed -->
<value>960000</value> <!-- 960 MHz CPU speed -->
<value>1152000</value> <!-- 1.1 GHz CPU speed -->
<value>1325000</value> <!-- 1.3 GHz CPU speed -->
<value>1440000</value> <!-- 1.4 GHz CPU speed -->
<value>1536000</value> <!-- 1.5 GHz CPU speed -->
<value>1709000</value> <!-- 1.7 GHz CPU speed -->
</array>
<!-- Power consumption at different speeds -->
<array name="cpu.active.cluster0">
<value>23</value>
<value>61</value>
<value>80</value>
<value>106</value>
<value>126</value>
<value>140</value>
<value>183</value>
</array>
<array name="cpu.speeds.cluster1">
<value>807000</value> <!-- 807 MHz CPU speed -->
<value>1037000</value><!-- 1.0 GHz CPU speed -->
<value>1268000</value><!-- 1.2 GHz CPU speed -->
<value>1460000</value><!-- 1.4 GHz CPU speed -->
<value>1671000</value><!-- 1.6 GHz CPU speed -->
<value>1824000</value><!-- 1.8 GHz CPU speed -->
<value>1997000</value><!-- 2.0 GHz CPU speed -->
<value>2189000</value><!-- 2.2 GHz CPU speed -->
</array>
<array name="cpu.active.cluster1">
<value>119</value>
<value>177</value>
<value>238</value>
<value>313</value>
<value>408</value>
<value>496</value>
<value>608</value>
<value>836</value>
</array>
<!-- Power consumption in suspend -->
<item name="cpu.idle">5</item>
<!-- Power consumption due to wake lock held -->
<item name="cpu.awake">35</item>
</device>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/X693-GL/Infinix-X693*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X693"
android:priority="932"
android:isStatic="true" />
</manifest>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/X695*/Infinix-X695*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X695|Infinix-X695D)"
android:priority="547"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note12v2023-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note12v2023.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X676C"
android:priority="954"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="physical_power_button_center_screen_location_y">620.0px</dimen>
<dimen name="rounded_corner_content_padding">55px</dimen>
<dimen name="status_bar_padding_start">0px</dimen>
<dimen name="status_bar_padding_end">0px</dimen>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note12v2023
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note12v2023"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X676C"
android:priority="771"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_tether_bluetooth_regexs">
<item>bt-pan</item>
<item>bt-dun</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
<string-array name="config_biometric_sensors">
<item>0:2:15</item>
</string-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>8</item>
<item>64</item>
<item>98</item>
<item>104</item>
<item>110</item>
<item>116</item>
<item>122</item>
<item>128</item>
<item>134</item>
<item>182</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>128</item>
<item>256</item>
<item>384</item>
<item>512</item>
<item>640</item>
<item>768</item>
<item>896</item>
<item>1024</item>
<item>2048</item>
<item>4096</item>
<item>6144</item>
<item>8192</item>
<item>10240</item>
<item>12288</item>
<item>14336</item>
<item>16384</item>
<item>18432</item>
</integer-array>
</resources>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<bool name="config_is_powerbutton_fps">true</bool>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="quick_qs_offset_height">36.0dip</dimen>
<dimen name="rounded_corner_radius">39.0dip</dimen>
<dimen name="status_bar_height_landscape">28.0dip</dimen>
<dimen name="status_bar_height_portrait">36.0dip</dimen>
<item type="dimen" name="config_screenBrightnessSettingDefaultFloat">0.4</item>
<item type="dimen" name="config_screenBrightnessSettingMaximumFloat">1.0</item>
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.003921569</item>
</resources>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_screenBrightnessDoze">5</integer>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">3000</integer>
<integer name="config_defaultPeakRefreshRate">121</integer>
<integer name="config_defaultRefreshRate">121</integer>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M -24,0 L -24,36 L 24,36 L 24,0 Z @dp</string>
</resources>

View file

@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">86.72</item>
<item name="screen.full">678.9</item>
<item name="bluetooth.active">16.82</item>
<item name="bluetooth.on">1.06</item>
<item name="wifi.on">0.46</item>
<item name="wifi.active">234.3</item>
<item name="wifi.scan">52.68</item>
<item name="audio">28.12</item>
<item name="video">82.42</item>
<item name="camera.flashlight">174.77</item>
<item name="camera.avg">917.78</item>
<item name="gps.on">30.85</item>
<item name="radio.active">15</item>
<item name="radio.scanning">29.17</item>
<array name="radio.on">
<value>6.25</value>
<value>6.25</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.active.cluster0">
<value>7.07</value>
<value>9.12</value>
<value>10.26</value>
<value>11.25</value>
<value>12.31</value>
<value>13.16</value>
<value>14.58</value>
<value>15.98</value>
<value>16.98</value>
<value>18.62</value>
<value>20.53</value>
<value>22.59</value>
<value>24.42</value>
<value>25.71</value>
<value>27.39</value>
<value>29.67</value>
<value>31.37</value>
<value>33.76</value>
<value>36.06</value>
<value>41.22</value>
<value>46.95</value>
<value>53.20</value>
<value>60.44</value>
<value>67.66</value>
</array>
<array name="cpu.active.cluster1">
<value>30.46</value>
<value>30.57</value>
<value>35.65</value>
<value>40.91</value>
<value>47.32</value>
<value>54.05</value>
<value>63.44</value>
<value>71.50</value>
<value>82.76</value>
<value>94.39</value>
<value>103.98</value>
<value>121.36</value>
<value>131.37</value>
<value>147.10</value>
<value>167.57</value>
<value>177.02</value>
</array>
<item name="cpu.idle">5.07</item>
<item name="cpu.suspend">5.07</item>
<item name="cpu.active">9.89</item>
<item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.core_power.cluster0">
<value>7.07</value>
<value>9.12</value>
<value>10.26</value>
<value>11.25</value>
<value>12.31</value>
<value>13.16</value>
<value>14.58</value>
<value>15.98</value>
<value>16.98</value>
<value>18.62</value>
<value>20.53</value>
<value>22.59</value>
<value>24.42</value>
<value>25.71</value>
<value>27.39</value>
<value>29.67</value>
<value>31.37</value>
<value>33.76</value>
<value>36.06</value>
<value>41.22</value>
<value>46.95</value>
<value>53.20</value>
<value>60.44</value>
<value>67.66</value>
</array>
<array name="cpu.core_power.cluster1">
<value>30.46</value>
<value>30.57</value>
<value>35.65</value>
<value>40.91</value>
<value>47.32</value>
<value>54.05</value>
<value>63.44</value>
<value>71.50</value>
<value>82.76</value>
<value>94.39</value>
<value>103.98</value>
<value>121.36</value>
<value>131.37</value>
<value>147.10</value>
<value>167.57</value>
<value>177.02</value>
</array>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">5000</item>
<item name="wifi.controller.idle">15.2</item>
<item name="wifi.controller.rx">296.22</item>
<item name="wifi.controller.tx">426.91</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">4.0</item>
<array name="wifi.batchedscan">
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">96.36</item>
<item name="modem.controller.rx">676.3</item>
<array name="modem.controller.tx">
<value>676.3</value>
<value>430.7</value>
<value>157.3</value>
<value>111.2</value>
<value>106.4</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
</device>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note30-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note30.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X6833B|Infinix-X6716B)"
android:priority="984"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor.
By default, this is set to @null to use the horizontal center of the screen. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1130px</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">@dimen/physical_fingerprint_sensor_center_screen_location_y</dimen>
<dimen name="rounded_corner_content_padding">55px</dimen>
<dimen name="status_bar_padding_end">0px</dimen>
<dimen name="status_bar_padding_start">0px</dimen>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note30
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note30"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X6833B|Infinix-X6716B)"
android:priority="304"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="config_autoBrightnessDisplayValuesNits">
<item>4.522</item>
<item>20.246</item>
<item>55.509</item>
<item>74.653</item>
<item>82.757</item>
<item>93.15</item>
<item>117.678</item>
<item>138.666</item>
<item>164.847</item>
<item>189.157</item>
<item>207.656</item>
<item>221.191</item>
<item>277.164</item>
<item>350.798</item>
<item>391.524</item>
<item>414.81</item>
<item>434.151</item>
<item>455.291</item>
<item>490.922</item>
<item>500</item>
<item>580</item>
</array>
<integer-array name="config_autoBrightnessLevels">
<item>6</item>
<item>18</item>
<item>34</item>
<item>82</item>
<item>128</item>
<item>256</item>
<item>384</item>
<item>512</item>
<item>640</item>
<item>768</item>
<item>896</item>
<item>1536</item>
<item>2560</item>
<item>3584</item>
<item>4608</item>
<item>5632</item>
<item>7168</item>
<item>8192</item>
<item>8704</item>
<item>9728</item>
</integer-array>
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>15</item>
<item>30</item>
<item>45</item>
<item>60</item>
<item>75</item>
<item>90</item>
<item>105</item>
<item>120</item>
<item>135</item>
<item>150</item>
<item>165</item>
<item>180</item>
<item>195</item>
<item>210</item>
<item>225</item>
<item>240</item>
<item>255</item>
</integer-array>
<array name="config_screenBrightnessNits">
<item>4.5215</item>
<item>33.37784</item>
<item>69.09702</item>
<item>105.53111</item>
<item>141.15657</item>
<item>177.40657</item>
<item>212.14172</item>
<item>247.64085</item>
<item>282.03754</item>
<item>317.2586</item>
<item>351.1292</item>
<item>384.87363</item>
<item>418.19705</item>
<item>451.90884</item>
<item>485.0235</item>
<item>517.10864</item>
<item>548.933</item>
<item>580</item>
</array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
</resources>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_is_powerbutton_fps">true</bool>
</resources>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.001960785</item>
<dimen name="navigation_bar_height">40.0dip</dimen>
<dimen name="navigation_bar_height_landscape">40.0dip</dimen>
<dimen name="navigation_bar_width">40.0dip</dimen>
<dimen name="quick_qs_offset_height">36.0dip</dimen>
<dimen name="rounded_corner_radius">26.0dip</dimen>
<dimen name="status_bar_height_landscape">28.0dip</dimen>
<dimen name="status_bar_height_portrait">36.0dip</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M -24,0 L -24,36 L 24,36 L 24,0 Z @dp</string>
</resources>

View file

@ -0,0 +1,207 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">64.45</item>
<item name="screen.full">383.95</item>
<item name="bluetooth.active">9</item>
<item name="bluetooth.on">0.8</item>
<item name="wifi.on">0.1</item>
<item name="wifi.active">254.73</item>
<item name="wifi.scan">39.5</item>
<item name="audio">40.2</item>
<item name="video">91.1</item>
<item name="camera.flashlight">237.4</item>
<item name="camera.avg">1038.4</item>
<item name="gps.on">24.5</item>
<item name="radio.active">15</item>
<item name="radio.scanning">40</item>
<array name="radio.on">
<value>3.3</value>
<value>3.3</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>500000</value>
<value>774000</value>
<value>875000</value>
<value>975000</value>
<value>1075000</value>
<value>1175000</value>
<value>1275000</value>
<value>1375000</value>
<value>1500000</value>
<value>1618000</value>
<value>1666000</value>
<value>1733000</value>
<value>1800000</value>
<value>1866000</value>
<value>1933000</value>
<value>2000000</value>
</array>
<array name="cpu.speeds.cluster1">
<value>774000</value>
<value>835000</value>
<value>919000</value>
<value>1002000</value>
<value>1085000</value>
<value>1169000</value>
<value>1308000</value>
<value>1419000</value>
<value>1530000</value>
<value>1670000</value>
<value>1733000</value>
<value>1796000</value>
<value>1860000</value>
<value>1923000</value>
<value>1986000</value>
<value>2050000</value>
</array>
<array name="cpu.active.cluster0">
<value>6.76</value>
<value>9.47</value>
<value>11.18</value>
<value>12.95</value>
<value>15.27</value>
<value>18.73</value>
<value>22.00</value>
<value>25.15</value>
<value>30.29</value>
<value>35.78</value>
<value>38.37</value>
<value>41.35</value>
<value>45.00</value>
<value>49.04</value>
<value>53.58</value>
<value>55.65</value>
</array>
<array name="cpu.active.cluster1">
<value>34.42</value>
<value>36.76</value>
<value>42.69</value>
<value>49.41</value>
<value>56.50</value>
<value>69.44</value>
<value>80.24</value>
<value>107.99</value>
<value>129.97</value>
<value>156.56</value>
<value>168.90</value>
<value>176.07</value>
<value>178.23</value>
<value>200.59</value>
<value>203.88</value>
<value>210.66</value>
</array>
<item name="cpu.idle">7.2</item>
<item name="cpu.suspend">5</item>
<item name="cpu.active">9.89</item>
<item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>500000</value>
<value>774000</value>
<value>875000</value>
<value>975000</value>
<value>1075000</value>
<value>1175000</value>
<value>1275000</value>
<value>1375000</value>
<value>1500000</value>
<value>1618000</value>
<value>1666000</value>
<value>1733000</value>
<value>1800000</value>
<value>1866000</value>
<value>1933000</value>
<value>2000000</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>774000</value>
<value>835000</value>
<value>919000</value>
<value>1002000</value>
<value>1085000</value>
<value>1169000</value>
<value>1308000</value>
<value>1419000</value>
<value>1530000</value>
<value>1670000</value>
<value>1733000</value>
<value>1796000</value>
<value>1860000</value>
<value>1923000</value>
<value>1986000</value>
<value>2050000</value>
</array>
<array name="cpu.core_power.cluster0">
<value>6.76</value>
<value>9.47</value>
<value>11.18</value>
<value>12.95</value>
<value>15.27</value>
<value>18.73</value>
<value>22.00</value>
<value>25.15</value>
<value>30.29</value>
<value>35.78</value>
<value>38.37</value>
<value>41.35</value>
<value>45.00</value>
<value>49.04</value>
<value>53.58</value>
<value>55.65</value>
</array>
<array name="cpu.core_power.cluster1">
<value>34.42</value>
<value>36.76</value>
<value>42.69</value>
<value>49.41</value>
<value>56.50</value>
<value>69.44</value>
<value>80.24</value>
<value>107.99</value>
<value>129.97</value>
<value>156.56</value>
<value>168.90</value>
<value>176.07</value>
<value>178.23</value>
<value>200.59</value>
<value>203.88</value>
<value>210.66</value>
</array>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">5000</item>
<item name="wifi.controller.idle">15.2</item>
<item name="wifi.controller.rx">296.22</item>
<item name="wifi.controller.tx">426.91</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">4.0</item>
<array name="wifi.batchedscan">
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">96.36</item>
<item name="modem.controller.rx">676.3</item>
<array name="modem.controller.tx">
<value>676.3</value>
<value>430.7</value>
<value>157.3</value>
<value>111.2</value>
<value>106.4</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
</device>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note30pro-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note30pro.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X678B"
android:priority="983"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor.
By default, this is set to @null to use the horizontal center of the screen. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</dimen>
<!-- Location on the screen of the center of the fingerprint sensor. For devices with under
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1140px</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">@dimen/physical_fingerprint_sensor_center_screen_location_y</dimen>
<dimen name="rounded_corner_content_padding">55px</dimen>
<dimen name="status_bar_padding_end">0px</dimen>
<dimen name="status_bar_padding_start">0px</dimen>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-infinix-note30pro
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.infinix.note30pro"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X678B"
android:priority="346"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="config_autoBrightnessDisplayValuesNits">
<item>4.522</item>
<item>20.246</item>
<item>55.509</item>
<item>74.653</item>
<item>82.757</item>
<item>93.15</item>
<item>117.678</item>
<item>138.666</item>
<item>164.847</item>
<item>189.157</item>
<item>207.656</item>
<item>221.191</item>
<item>277.164</item>
<item>350.798</item>
<item>391.524</item>
<item>414.81</item>
<item>434.151</item>
<item>455.291</item>
<item>490.922</item>
<item>500</item>
</array>
<integer-array name="config_autoBrightnessLevels">
<item>6</item>
<item>18</item>
<item>34</item>
<item>82</item>
<item>128</item>
<item>256</item>
<item>384</item>
<item>512</item>
<item>640</item>
<item>768</item>
<item>896</item>
<item>1536</item>
<item>2560</item>
<item>3584</item>
<item>4608</item>
<item>5632</item>
<item>7168</item>
<item>8192</item>
<item>8704</item>
</integer-array>
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>15</item>
<item>30</item>
<item>45</item>
<item>60</item>
<item>75</item>
<item>90</item>
<item>105</item>
<item>120</item>
<item>135</item>
<item>150</item>
<item>165</item>
<item>180</item>
<item>195</item>
<item>210</item>
<item>225</item>
<item>240</item>
<item>255</item>
</integer-array>
<array name="config_screenBrightnessNits">
<item>4.5225</item>
<item>28.774</item>
<item>59.5664</item>
<item>90.9751</item>
<item>121.6867</item>
<item>152.9367</item>
<item>182.8808</item>
<item>213.4835</item>
<item>243.1358</item>
<item>273.4988</item>
<item>302.6976</item>
<item>331.7876</item>
<item>360.5147</item>
<item>389.5766</item>
<item>418.1237</item>
<item>445.7833</item>
<item>473.2181</item>
<item>500</item>
</array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
</resources>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_is_powerbutton_fps">true</bool>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.001960785</item>
<dimen name="navigation_bar_height">40.0dip</dimen>
<dimen name="navigation_bar_height_landscape">40.0dip</dimen>
<dimen name="navigation_bar_width">40.0dip</dimen>
<dimen name="quick_qs_offset_height">36.0dip</dimen>
<dimen name="status_bar_height_landscape">28.0dip</dimen>
<dimen name="status_bar_height_portrait">36.0dip</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M -24,0 L -24,36 L 24,36 L 24,0 Z @dp</string>
</resources>

View file

@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">86.72</item>
<item name="screen.full">678.9</item>
<item name="bluetooth.active">16.82</item>
<item name="bluetooth.on">1.06</item>
<item name="wifi.on">0.46</item>
<item name="wifi.active">234.3</item>
<item name="wifi.scan">52.68</item>
<item name="audio">28.12</item>
<item name="video">82.42</item>
<item name="camera.flashlight">174.77</item>
<item name="camera.avg">917.78</item>
<item name="gps.on">30.85</item>
<item name="radio.active">15</item>
<item name="radio.scanning">29.17</item>
<array name="radio.on">
<value>6.25</value>
<value>6.25</value>
</array>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<array name="cpu.speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.active.cluster0">
<value>7.07</value>
<value>9.12</value>
<value>10.26</value>
<value>11.25</value>
<value>12.31</value>
<value>13.16</value>
<value>14.58</value>
<value>15.98</value>
<value>16.98</value>
<value>18.62</value>
<value>20.53</value>
<value>22.59</value>
<value>24.42</value>
<value>25.71</value>
<value>27.39</value>
<value>29.67</value>
<value>31.37</value>
<value>33.76</value>
<value>36.06</value>
<value>41.22</value>
<value>46.95</value>
<value>53.20</value>
<value>60.44</value>
<value>67.66</value>
</array>
<array name="cpu.active.cluster1">
<value>30.46</value>
<value>30.57</value>
<value>35.65</value>
<value>40.91</value>
<value>47.32</value>
<value>54.05</value>
<value>63.44</value>
<value>71.50</value>
<value>82.76</value>
<value>94.39</value>
<value>103.98</value>
<value>121.36</value>
<value>131.37</value>
<value>147.10</value>
<value>167.57</value>
<value>177.02</value>
</array>
<item name="cpu.idle">5.07</item>
<item name="cpu.suspend">5.07</item>
<item name="cpu.active">9.89</item>
<item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>500000</value>
<value>650000</value>
<value>700000</value>
<value>750000</value>
<value>800000</value>
<value>850000</value>
<value>900000</value>
<value>950000</value>
<value>1000000</value>
<value>1050000</value>
<value>1100000</value>
<value>1150000</value>
<value>1200000</value>
<value>1250000</value>
<value>1300000</value>
<value>1350000</value>
<value>1400000</value>
<value>1450000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>725000</value>
<value>800000</value>
<value>900000</value>
<value>1000000</value>
<value>1100000</value>
<value>1200000</value>
<value>1300000</value>
<value>1400000</value>
<value>1500000</value>
<value>1600000</value>
<value>1700000</value>
<value>1800000</value>
<value>1900000</value>
<value>2000000</value>
<value>2100000</value>
<value>2200000</value>
</array>
<array name="cpu.core_power.cluster0">
<value>7.07</value>
<value>9.12</value>
<value>10.26</value>
<value>11.25</value>
<value>12.31</value>
<value>13.16</value>
<value>14.58</value>
<value>15.98</value>
<value>16.98</value>
<value>18.62</value>
<value>20.53</value>
<value>22.59</value>
<value>24.42</value>
<value>25.71</value>
<value>27.39</value>
<value>29.67</value>
<value>31.37</value>
<value>33.76</value>
<value>36.06</value>
<value>41.22</value>
<value>46.95</value>
<value>53.20</value>
<value>60.44</value>
<value>67.66</value>
</array>
<array name="cpu.core_power.cluster1">
<value>30.46</value>
<value>30.57</value>
<value>35.65</value>
<value>40.91</value>
<value>47.32</value>
<value>54.05</value>
<value>63.44</value>
<value>71.50</value>
<value>82.76</value>
<value>94.39</value>
<value>103.98</value>
<value>121.36</value>
<value>131.37</value>
<value>147.10</value>
<value>167.57</value>
<value>177.02</value>
</array>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">5000</item>
<item name="wifi.controller.idle">15.2</item>
<item name="wifi.controller.rx">296.22</item>
<item name="wifi.controller.tx">426.91</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">4.0</item>
<array name="wifi.batchedscan">
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
<value>30.7</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">96.36</item>
<item name="modem.controller.rx">676.3</item>
<array name="modem.controller.tx">
<value>676.3</value>
<value>430.7</value>
<value>157.3</value>
<value>111.2</value>
<value>106.4</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
</device>

View file

@ -4,7 +4,7 @@
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/H633/Infinix-X604_sprout*"
android:requiredSystemPropertyValue="+(Infinix/*/Infinix-X604*|Infinix/*/Infinix-X605*)"
android:priority="110"
android:isStatic="true" />
</manifest>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/X690B-GL/Infinix-X690B*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X656|Infinix-X690|Infinix-X690B)"
android:priority="115"
android:isStatic="true" />
</manifest>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/X692-GL/Infinix-X692*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="Infinix-X692"
android:priority="116"
android:isStatic="true" />
</manifest>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- arrays.xml -->
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
@ -26,12 +27,11 @@
<item>rndis\\d</item>
</string-array>
<string name="config_ims_package">com.mediatek.ims</string>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<!-- bools.xml -->
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
@ -42,12 +42,16 @@
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_enableNetworkLocationOverlay">true</bool>
<bool name="config_enableFusedLocationOverlay">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<!-- fractsions.xml -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300.0%</fraction>
<fraction name="config_maximumScreenDimRatio">20.000004%</fraction>
<!-- integers.xml -->
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">3000</integer>
<integer name="config_screenBrightnessDim">10</integer>
@ -56,7 +60,4 @@
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer name="config_screenBrightnessDark">1</integer>
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
</resources>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/H624/Infinix-X626*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X626*|Infinix-X610B)"
android:priority="24"
android:isStatic="true" />
</manifest>

View file

@ -4,7 +4,7 @@
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+*Infinix/Q6361A/Infinix-X620*"
android:requiredSystemPropertyValue="+Infinix/*/Infinix-X620*"
android:priority="99"
android:isStatic="true" />
</manifest>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Infinix/X6811*/Infinix-X6811*"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(Infinix-X6810|Infinix-X6811*)"
android:priority="447"
android:isStatic="true" />
</manifest>

View file

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">0.1</item>
<item name="screen.full">0.1</item>
<item name="bluetooth.active">0.1</item>
<item name="bluetooth.on">0.1</item>
<item name="wifi.on">0.1</item>
<item name="wifi.active">0.1</item>
<item name="wifi.scan">0.1</item>
<item name="audio">0.1</item>
<item name="video">0.1</item>
<item name="camera.flashlight">0.1</item>
<item name="camera.avg">0.1</item>
<item name="gps.on">0.1</item>
<item name="radio.active">0.1</item>
<item name="radio.scanning">0.1</item>
<array name="radio.on">
<value>0.2</value>
<value>0.1</value>
</array>
<array name="cpu.clusters.cores">
<value>1</value>
</array>
<array name="cpu.speeds.cluster0">
<value>400000</value>
</array>
<array name="cpu.active.cluster0">
<value>0.1</value>
</array>
<item name="cpu.idle">0.1</item>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">1000</item>
<item name="wifi.controller.idle">0</item>
<item name="wifi.controller.rx">0</item>
<item name="wifi.controller.tx">0</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">0</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">0</item>
<item name="modem.controller.rx">0</item>
<array name="modem.controller.tx">
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
</device>

8
LG/lm_v500n/Android.mk Normal file
View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-lge-lm_v500n
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.lge.lm_v500n"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+lge/flashlmdd_lao_com/flashlmdd*"
android:priority="196"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_ambientBrighteningThresholds">
<item>5000</item>
<item>4000</item>
<item>3000</item>
<item>2000</item>
<item>1000</item>
<item>500</item>
<item>500</item>
</integer-array>
<integer-array name="config_ambientDarkeningThresholds">
<item>950</item>
<item>950</item>
<item>950</item>
<item>950</item>
<item>950</item>
<item>950</item>
<item>900</item>
</integer-array>
<integer-array name="config_ambientThresholdLevels">
<item>10</item>
<item>20</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>1000</item>
</integer-array>
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>255</item>
<item>255</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<array name="config_autoBrightnessDisplayValuesNits">
<item>7.9</item>
<item>21.4</item>
<item>43.0</item>
<item>112.2</item>
<item>138.3</item>
<item>219.9</item>
<item>241.2</item>
<item>384.4</item>
<item>550.0</item>
</array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>40</item>
<item>63</item>
<item>85</item>
<item>128</item>
<item>140</item>
<item>171</item>
<item>178</item>
<item>218</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>13</item>
<item>45</item>
<item>100</item>
<item>400</item>
<item>800</item>
<item>1500</item>
<item>3000</item>
</integer-array>
<string-array name="config_biometric_sensors">
<item>0:2:15</item>
</string-array>
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
<string-array name="config_mobile_tcp_buffers">
<item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
<item>lte_ca:4096,6291456,12582912,4096,1048576,2097152</item>
<item>umts:4094,87380,1220608,4096,16384,1220608</item>
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
<item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
<item>edge:4093,26280,35040,4096,16384,35040</item>
<item>gprs:4092,8760,11680,4096,8760,11680</item>
<item>evdo:4094,87380,524288,4096,16384,262144</item>
</string-array>
<integer-array name="config_screenBrighteningThresholds">
<item>0</item>
</integer-array>
<integer-array name="config_screenBrightnessBacklight">
<item>10</item>
<item>40</item>
<item>63</item>
<item>85</item>
<item>128</item>
<item>140</item>
<item>171</item>
<item>178</item>
<item>218</item>
<item>255</item>
</integer-array>
<array name="config_screenBrightnessNits">
<item>2.5</item>
<item>7.9</item>
<item>21.4</item>
<item>43.0</item>
<item>112.2</item>
<item>138.3</item>
<item>219.9</item>
<item>241.2</item>
<item>384.4</item>
<item>550.0</item>
</array>
<integer-array name="config_screenDarkeningThresholds">
<item>0</item>
</integer-array>
<string-array name="config_tether_bluetooth_regexs">
<item>bt-pan</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>wlan0</item>
<item>wlan1</item>
</string-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
</resources>

View file

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_dynamic_bind_ims">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<bool name="config_sustainedPerformanceModeSupported">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">false</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_enable_wifi_firmware_debugging">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">3000</integer>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_lightSensorWarmupTime">500</integer>
<integer name="config_screenBrightnessDim">10</integer>
<integer name="config_screenBrightnessDoze">30</integer>
<integer name="config_screenBrightnessSettingDefault">102</integer>
</resources>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_ims_package">com.lge.ims</string>
<string name="config_mainBuiltInDisplayCutout">M 0,0 L -68.57, 0 L -68.57, 25.71 L 68.57, 25.71 L 68.57, 0 Z @dp</string>
</resources>

View file

@ -0,0 +1,244 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="ambient.on">0.1</item>
<item name="screen.on">120.9</item>
<item name="screen.full">157.0</item>
<item name="bluetooth.active">79.0</item>
<item name="bluetooth.on">1.0</item>
<item name="wifi.on">0.8</item>
<item name="wifi.active">167.2</item>
<item name="wifi.scan">205.5</item>
<item name="audio">0.1</item>
<item name="video">0.1</item>
<item name="camera.flashlight">183.3</item>
<item name="camera.avg">817.3</item>
<item name="gps.on">45.4</item>
<item name="radio.active">129.4</item>
<item name="radio.scanning">5.0</item>
<array name="radio.on">
<value>2.1</value>
<value>1.1</value>
</array>
<array name="cpu.clusters.cores">
<value>4</value>
<value>3</value>
<value>1</value>
</array>
<array name="cpu.core_speeds.cluster0">
<value>300000</value>
<value>403200</value>
<value>499200</value>
<value>576000</value>
<value>672000</value>
<value>768000</value>
<value>844800</value>
<value>940800</value>
<value>1036800</value>
<value>1113600</value>
<value>1209600</value>
<value>1305600</value>
<value>1382400</value>
<value>1478400</value>
<value>1555200</value>
<value>1632000</value>
<value>1708800</value>
<value>1785600</value>
</array>
<array name="cpu.core_power.cluster0">
<value>16.4</value>
<value>19.4</value>
<value>20.6</value>
<value>21.6</value>
<value>22.7</value>
<value>24.3</value>
<value>25.6</value>
<value>27.4</value>
<value>29.5</value>
<value>31.0</value>
<value>33.3</value>
<value>35.8</value>
<value>38.0</value>
<value>41.5</value>
<value>42.8</value>
<value>44.7</value>
<value>47.9</value>
<value>50.8</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>710400</value>
<value>825600</value>
<value>940800</value>
<value>1056000</value>
<value>1171200</value>
<value>1286400</value>
<value>1401600</value>
<value>1497600</value>
<value>1612800</value>
<value>1708800</value>
<value>1804800</value>
<value>1920000</value>
<value>2016000</value>
<value>2131200</value>
<value>2227200</value>
<value>2323200</value>
<value>2419200</value>
</array>
<array name="cpu.core_power.cluster1">
<value>46.6</value>
<value>50.2</value>
<value>52.9</value>
<value>56.9</value>
<value>60.6</value>
<value>65.3</value>
<value>69.1</value>
<value>75.2</value>
<value>82.3</value>
<value>90.2</value>
<value>101.7</value>
<value>107.7</value>
<value>132.5</value>
<value>146.2</value>
<value>161.4</value>
<value>175.0</value>
<value>194.6</value>
</array>
<array name="cpu.core_speeds.cluster2">
<value>825600</value>
<value>940800</value>
<value>1056000</value>
<value>1171200</value>
<value>1286400</value>
<value>1401600</value>
<value>1497600</value>
<value>1612800</value>
<value>1708800</value>
<value>1804800</value>
<value>1920000</value>
<value>2016000</value>
<value>2131200</value>
<value>2227200</value>
<value>2323200</value>
<value>2419200</value>
<value>2534400</value>
<value>2649600</value>
<value>2745600</value>
<value>2841600</value>
</array>
<array name="cpu.core_power.cluster2">
<value>60.8</value>
<value>65.8</value>
<value>70.7</value>
<value>78.7</value>
<value>83.2</value>
<value>87.1</value>
<value>96.2</value>
<value>103.9</value>
<value>113.4</value>
<value>123.2</value>
<value>146.0</value>
<value>159.9</value>
<value>174.9</value>
<value>179.3</value>
<value>190.6</value>
<value>204.8</value>
<value>219.4</value>
<value>236.1</value>
<value>252.6</value>
<value>291.0</value>
</array>
<item name="cpu.idle">36.9</item>
<item name="cpu.suspend">28.9</item>
<item name="cpu.active">0</item>
<item name="cpu.cluster_power.cluster0">0</item>
<item name="cpu.cluster_power.cluster1">0</item>
<item name="cpu.cluster_power.cluster2">0</item>
<array name="memory.bandwidths">
<value>22.7</value>
</array>
<item name="battery.capacity">4000</item>
<item name="wifi.controller.idle">1.0</item>
<item name="wifi.controller.rx">3.5</item>
<item name="wifi.controller.tx">9.0</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">1800</item>
<item name="modem.controller.idle">4.9</item>
<item name="modem.controller.rx">183.1</item>
<item name="modem.controller.tx">183.1</item>
<item name="modem.controller.voltage">825</item>
<item name="bluetooth.controller.idle">3.9</item>
<item name="bluetooth.controller.rx">38.0</item>
<item name="bluetooth.controller.tx">38.0</item>
<item name="bluetooth.controller.voltage">3300</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">0</item>
<item name="modem.controller.rx">0</item>
<array name="modem.controller.tx">
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
<value>0</value>
</array>
<item name="modem.controller.voltage">0</item>
<array name="gps.signalqualitybased">
<value>0</value>
<value>0</value>
</array>
<item name="gps.voltage">0</item>
<item name="ext_saving">0.025</item>
<item name="max_saving">0.137</item>
<array name="ext_screen_resolution">
<value>0</value>
<value>0</value>
<value>0</value>
</array>
<array name="max_screen_resolution">
<value>0.08</value>
<value>0.04</value>
<value>0</value>
</array>
<array name="ext_maximum_brightness">
<value>0.084</value>
<value>0.061</value>
<value>0.048</value>
<value>0.021</value>
<value>0</value>
</array>
<array name="max_maximum_brightness">
<value>0.068</value>
<value>0.052</value>
<value>0.034</value>
<value>0.017</value>
<value>0</value>
</array>
<array name="block_aod">
<value>0</value>
<value>0</value>
</array>
<item name="max_restrict_frame_rate">0.12</item>
<array name="block_haptic">
<value>0.01</value>
<value>0.01</value>
</array>
<array name="restrict_cpu_gpu">
<value>0</value>
<value>0</value>
</array>
<array name="restrict_apps">
<value>0.24</value>
<value>0.52</value>
</array>
<array name="restrict_network_location">
<value>0.01</value>
<value>1.00</value>
<value>0.01</value>
<value>0.01</value>
</array>
</device>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-lenovo-p11_pro_plus
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.lenovo.p11_pro_plus"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="p11_pro_plus"
android:priority="767"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_autoBrightnessLevels">
<item>10</item>
<item>30</item>
<item>60</item>
<item>90</item>
<item>150</item>
<item>200</item>
<item>350</item>
<item>450</item>
<item>550</item>
<item>720</item>
<item>950</item>
<item>1100</item>
<item>1500</item>
<item>2000</item>
<item>3500</item>
</integer-array>
<integer-array name="config_screenBrightnessBacklight">
<item>25</item>
<item>45</item>
<item>76</item>
<item>120</item>
<item>145</item>
<item>195</item>
<item>230</item>
<item>240</item>
<item>255</item>
</integer-array>
<integer-array name="config_screenBrightnessNits">
<item>6</item>
<item>13</item>
<item>30</item>
<item>80</item>
<item>119</item>
<item>224</item>
<item>320</item>
<item>351</item>
<item>420</item>
</integer-array>
<integer-array name="config_autoBrightnessDisplayValuesNits">
<item>10</item>
<item>45</item>
<item>65</item>
<item>85</item>
<item>85</item>
<item>85</item>
<item>110</item>
<item>140</item>
<item>180</item>
<item>210</item>
<item>250</item>
<item>280</item>
<item>320</item>
<item>340</item>
<item>360</item>
<item>420</item>
</integer-array>
</resources>

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<bool name="config_supportAudioSourceUnprocessed">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
</resources>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_defaultPeakRefreshRate">120</integer>
<integer name="config_defaultRefreshRate">0</integer>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessSettingMinimum">29</integer>
</resources>

View file

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="battery.capacity">8400</item>
<item name="screen.on">79.01</item>
<item name="screen.full">479.19</item>
<item name="camera.flashlight">158</item>
<item name="camera.avg">300</item>
<item name="video">53.25</item>
<item name="audio">35.94</item>
<array name="cpu.clusters.cores">
<value>6</value>
<value>2</value>
</array>
<item name="cpu.suspend">5.43</item>
<item name="cpu.idle">3.61</item>
<item name="cpu.active">19.87</item>
<item name="cpu.cluster_power.cluster0">12</item>
<item name="cpu.cluster_power.cluster1">12</item>
<array name="cpu.core_speeds.cluster0">
<value>300000</value>
<value>576000</value>
<value>768000</value>
<value>1017600</value>
<value>1248000</value>
<value>1324800</value>
<value>1497600</value>
<value>1612800</value>
<value>1708800</value>
<value>1804800</value>
</array>
<array name="cpu.core_power.cluster0">
<value>11</value>
<value>23</value>
<value>28</value>
<value>43</value>
<value>52</value>
<value>79</value>
<value>90</value>
<value>108</value>
<value>128</value>
<value>149</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>300000</value>
<value>652800</value>
<value>806400</value>
<value>979200</value>
<value>1094400</value>
<value>1209600</value>
<value>1324800</value>
<value>1555200</value>
<value>1708800</value>
<value>1843200</value>
<value>1939200</value>
<value>2169600</value>
<value>2208000</value>
</array>
<array name="cpu.core_power.cluster1">
<value>243</value>
<value>297</value>
<value>312</value>
<value>362</value>
<value>389</value>
<value>448</value>
<value>586</value>
<value>696</value>
<value>876</value>
<value>900</value>
<value>948</value>
<value>1180</value>
<value>1300</value>
</array>
<item name="cpu.awake">1.6</item>
<item name="wifi.controller.idle">2</item>
<item name="wifi.controller.rx">140</item>
<item name="wifi.controller.tx">260</item>
<item name="wifi.controller.voltage">3700</item>
<item name="modem.controller.sleep">0</item>
<item name="modem.controller.idle">3</item>
<item name="modem.controller.rx">150</item>
<array name="modem.controller.tx">
<value>150</value>
<value>180</value>
<value>230</value>
<value>300</value>
<value>390</value>
</array>
<item name="modem.controller.voltage">3700</item>
<array name="gps.signalqualitybased">
<value>49</value>
<value>8</value>
</array>
<item name="gps.voltage">3700</item>
<item name="bluetooth.controller.idle">0.01</item>
<item name="bluetooth.controller.rx">9</item>
<item name="bluetooth.controller.tx">7</item>
<item name="bluetooth.controller.voltage">3300</item>
</device>

View file

@ -85,7 +85,6 @@
<bool name="config_showNavigationBar">true</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-lenovo-y700_2023-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.lenovo.y700_2023.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="TB320FC"
android:priority="320"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_end">20.000001px</dimen>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_start">20px</dimen>
<dimen name="status_bar_padding_end">20px</dimen>
<dimen name="status_bar_header_height_keyguard">32dp</dimen>
<dimen name="keyguard_carrier_text_margin">20px</dimen>
<dimen name="system_icons_keyguard_padding_end">20px</dimen>
<dimen name="large_screen_shade_header_height">32dp</dimen>
<dimen name="large_screen_shade_header_min_height">32dp</dimen>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-lenovo-y700_2023
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.lenovo.y700_2023"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="TB320FC"
android:priority="320"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<dimen name="status_bar_height_default">32dp</dimen>
<dimen name="status_bar_height">32dp</dimen>
<dimen name="status_bar_height_portrait">32dp</dimen>
<dimen name="quick_qs_offset_height">32dp</dimen>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer-array name="config_autoBrightnessLevels">
<item>10</item>
<item>60</item>
<item>210</item>
<item>350</item>
<item>420</item>
<item>1000</item>
<item>1001</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>77</item>
<item>77</item>
<item>120</item>
<item>144</item>
<item>198</item>
<item>230</item>
<item>247</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessDisplayValuesNits">
<item>40</item>
<item>40</item>
<item>100</item>
<item>150</item>
<item>300</item>
<item>420</item>
<item>490</item>
<item>500</item>
</integer-array>
<integer-array name="config_screenBrightnessNits">
<item>0</item>
<item>40</item>
<item>100</item>
<item>150</item>
<item>300</item>
<item>420</item>
<item>490</item>
<item>500</item>
</integer-array>
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>20</item>
<item>51</item>
<item>77</item>
<item>153</item>
<item>214</item>
<item>250</item>
<item>255</item>
</integer-array>
</resources>

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-meizu-m2461-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.meizu.m2461.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="meizu21"
android:priority="2461"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_header_height_keyguard">28dp</dimen>
<dimen name="large_screen_shade_header_height">28dp</dimen>
<dimen name="large_screen_shade_header_min_height">28dp</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="physical_power_button_center_screen_location_y">1069px</dimen>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_start">50px</dimen>
<dimen name="status_bar_padding_end">50px</dimen>
<dimen name="status_bar_header_height_keyguard">92px</dimen>
<dimen name="keyguard_carrier_text_margin">50px</dimen>
<dimen name="system_icons_keyguard_padding_end">50px</dimen>
<dimen name="large_screen_shade_header_height">92px</dimen>
<dimen name="large_screen_shade_header_min_height">92px</dimen>
</resources>

Some files were not shown because too many files have changed in this diff Show more