Commit graph

38 commits

Author SHA1 Message Date
Shirayuki39 e5c90ec146 LG8n: Readd color modes
* Only for rising because the X Reality engine in rising actually works on LG8n

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-25 15:37:06 +08:00
fjrXTR 23587973eb LG8n: overlay: Add some required/tweaks on overlay
* Reduce HWUI janks issue
* Enable WFD
* And etc..

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-19 01:07:54 +08:00
Shirayuki39 1b7d96921a LG8n: Rename Overlays
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 18:48:46 +08:00
Shirayuki39 f288336fc7 LG8n: overlay: Define config_autoBrightnessLightSensorRate
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 02:51:42 +08:00
Danny Lin b8eaac78e9 LG8n: overlays: Settings: Enable Smooth Display setting
LG8n has peak refresh rates higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: If757492b40d23c6742378a1ec0c7b3ece31ad720
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 01:27:44 +08:00
Shirayuki39 b0628dc486 LG8n: Import WifiResOverlay configs from Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 20:03:18 +08:00
LuK1337 d30bee22d1 LG8n: Set default Settings.Global.DEVICE_NAME according to HiOS
HiOS uses ro.product.product.tran.device.name.default for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 01:26:30 +08:00
Łukasz Patron 6b0098d172 LG8n: overlay: Configure side fingerprint sensor properties
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:48:08 +08:00
Shirayuki39 b03fd12f64 LG8n: overlay: Rework Overlays
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 00:47:47 +08:00
Shirayuki39 83f9ac98c3 LG8n: FrameworkResOverlay: Removed Color Modes Option
* Does not really work(Atleast on transsion amoled devices)

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 08:14:39 +08:00
Shirayuki39 e9578be87b LG8n: Readd overlay from pre-Reboot Branch
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 15:31:14 +08:00
Shirayuki39 a7ccd1a3c3 LG8n: initial LG8n overlay 2024-05-22 20:58:50 +08:00
Adithya R 0265abd50e X6833B: overlay: Disable alpha compositing in WM
* Completely eliminates occasional jank in few animations

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Michael Bestas c8857ab71d X6833B: overlay: Update multiple vibration strength levels overlay for 13
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Murat Kozan 293f807ece X6833B: overlay: Enable vibration intensity control
* Activates some options on Settings>accessibility>vibration

Change-Id: I00e20f0d607736c04d5c2a0bd9c513c7f5fd8b41
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Santiago Seifert 5e2043c264 X6833B: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Nicolas Geoffray 494ce22e97 X6833B: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Kevin Jeon 6ffc1e5bae X6833B: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService

Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Danny Lin cd55dfae6b X6833B: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Bruno Martins d4a19ee64f X6833B: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Jeongik Cha 525eee2f0c X6833B: overlay: Update config overlay with new SystemUI location
The app is moving to /product

Test: m
Test: check if it can boot
Bug: 137908189
Change-Id: Ifd73ba03884543e33d61c74d933ad8171dd3b259
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Martin Stjernholm dd5b453cc9 X6833B: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: If522ab29b6c4e9aab91f5ba41e10947799315f33
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Rick Yiu 44db5a7aaa X6833B: overlay: sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Michael Wright 491b0e4fe0 X6833B: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Tim Zimmermann 3251d8058b X6833B: overlay: Set LTE+ threshold bandwidth to 0
* so LTE+ icon will show whenever it's available

Change-Id: I45a569fa52d19f4b9af370d7a18c4198e29febc6
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Luca Stefani 86e713b77d X6833B: overlay: Enable LTE+ icon
* Matches the hardcoded default value in stock

Change-Id: Iadb2a78fdb1fad971ee37e434dba616cfab172b9
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 399d533b90 X6833B: Import stock CarrierConfig overlay
* Main carrier config from MtkCarrierConfig asset default_v2.9.3.xml,
  with vendor specific settings appended to the end.

[dodyirawan85 edits]: Originaly from xiaomi ruby adapted for our device, since i can't found anything on stock

Change-Id: I7bcb5f9714720e3b42b5b1e5dc13cfe4233ac874
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 dcbc47dc22 X6833B: Configure MediaTek IMS stack
* Import required system IMS blobs from XOS X6833B-H894DEFGHI-T-GL-231102V2897.
* Set the default IMS implementation to com.mediatek.ims via overlay.
* Force enable IMS features via overlay and sysprops.
* Add MediaTek framework jars to bootjars.
* Copy priv-app permissions for MediaTek IMS.

Change-Id: Ie258bff336586919a1127c3f7241e3ef9d689dd5
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:28 +07:00
Chippa-a 02258efb1e X6833B: overlay: Enable double tap to wake
Change-Id: Ief5e93456a4c66370620409d6a9f27a53af8fe5b
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
k2wl 4485623a6a X6833B: Set config_hotswapCapable to true.
Fix phone asking for restart for adding new sim card on every boot.

Change-Id: I0163981c4713d81860f07c2b6feecfa71ae28598
Signed-off-by: Wink Saville <wink@google.com>
Signed-off-by: k2wl <kar2wlan@gmail.com>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 94c15fb7dc X6833B: overlay: Import color mode configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 b209ce4284 X6833B: overlay: Import more configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Georg Veichtlbauer 0c47ac5766 X6833B: overlay: Update deprecated screen power items
* ambient.on -> ambient.on.display0
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Craig Mautner e8daa53663 X6833B: Use /dev/input events for audio jack detection
Change-Id: I9cfd35d49dd23ad17d0934d0f0ece19b7bfbbcdb
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Michael Bestas 2b7b8271e8 X6833B: Enable peak refresh rate toggle in Settings
X6883B supports switching between 60, 90 and 120 Hz refresh rates,
so let's expose it in Settings -> Display -> Peak refresh rate for users to save
battery if necessary.

Test: visual confirmation after toggling several times
Change-Id: Ia206c495e3f40f583f8cd35e7753c30a5e917656
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 70e7c64bbf X6833B: overlay: Show min refresh rate toggle
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 cb3e6c0ec2 X6833B: overlay: Define statusbar paddings and cutout
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 69fc1fe174 X6833B: overlay: Add brightness and power profile configs from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00