18 Commits

Author SHA1 Message Date
Alexander Koskovich
7418db2fcf
sm6250-common: overlay: Use CarrierConfig DTMF & CSP booleans.
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2022-08-29 19:13:09 +00:00
Alexander Winkowski
b881fdf77e
sm6250-common: overlay: Update from V13.0.2.0.SJWMIXM
All the changes made before have been preserved.

Change-Id: I902672256791b00a94dcea982093d6af2f817a68
2022-08-29 19:12:44 +00:00
Alexander Winkowski
540fdefa95
sm6250-common: Convert overlays to RROs
Change-Id: I3cf5c896c713a32b3206acdb83b9d17fd21a1dee
2022-08-29 19:12:06 +00:00
Alexander Winkowski
ed9375b52e
sm6250-common: Mark only strings as untranslatable
Change-Id: I0dc0fa82312f335c3b06c7dd8a1819775460950c
2022-08-26 18:44:06 +00:00
Dyneteve
2126713403
sm6250-common: CarrierConfig: Remove "SIM x is HD capable" message
* sed -i 's/"config_update_service_status" value="true"/"config_update_service_status" value="false"/g' overlay/packages/apps/CarrierConfig/res/xml/vendor.xml

Change-Id: I26ce187483d6d8c18bcd1901cd6d71ca6ec1e31f
2022-08-26 18:27:20 +00:00
Sebastiano Barezzi
207392078d
sm6250-common: overlay: Enable Wide Color Gamut support
Change-Id: Ia50a03cd8ac32ce4bb1c1a8691d57c674b9cfb40
2022-08-26 18:27:19 +00:00
Michael Wright
d5a1b3751f
sm6250-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-08-26 18:27:19 +00:00
Santiago Seifert
401d2588f3
sm6250-common: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-08-26 18:27:18 +00:00
Nicolas Geoffray
d6bffe1e2f
sm6250-common: overlay: 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: Ibd947491961e4e78f1996c04dcec62d5b16c2d1d
2022-08-26 18:27:18 +00:00
Kevin Jeon
89ab71d106
sm6250-common: overlay: Update SurfaceFlinger pin
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
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService
      - no longer shows a file-not-found error in PinnerService
Change-Id: I8ef5d556d6a1bff9793336259242f2b928ff18ff
2022-08-26 18:27:18 +00:00
Alexander Winkowski
73be6dca46
sm6250-common: Remove zram writeback leftovers
It has been disabled in kernel because of memory corruption.

Change-Id: I50e4cdc39b38a510d39032253606ddec3e41d22c
2022-05-26 13:14:35 +00:00
Albert I
e313f8855a
sm6250-common: Set up display color compositions
* Switch to "Adaptive" mode and Display P3 color by default

* Use default color mode for Natural and Boosted

* Enable QDCM combined mode and disable factory mode

* Drop LiveDisplay's color mode support as it conflicts with AOSP display
  color adjustment

* Rest of configuration is kanged off Pixel's overlay

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ib26033fe00a6cc1e8c7d8f93da417516e31a52e3
2021-09-09 18:46:22 +02:00
Randall Huang
835a05445a
sm6250-common: Enable ZRAM-writeback job
This patch enables zram-writeback job. It will run idle marking
at 60m since the device is boot. After that, it will do first
writeback after 3hour to sweep initiallized cold pages out.
After that, it periodically write out every 24hour.

Bug: 117682284
Bug: 127185055
Test: confirm with manual testing

Signed-off-by: Randall Huang <huangrandall@google.com>
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I6b8f537faf2ffff1a93170aad763f2be4dcaba42
2021-09-09 18:46:09 +02:00
kdrag0n
5da641c4ce
sm6250-common: overlay: 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 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 precious RAM on this
device.

Change-Id: Ic2f9edd811879e3f18876a508273a9544d8a23e0
2021-09-09 18:46:03 +02:00
Jesse Chan
b132da2af9
sm6250-common: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
2021-09-09 18:46:02 +02:00
Jody Yuantoro
72d90a6218
sm6250-common: overlay: Set navigation gestures as default
Change-Id: I6b321cc0eff8869ce78cac843ddadfb73abe41f2
2021-09-09 18:46:02 +02:00
Sebastiano Barezzi
46e33f7d4a
sm6250-common: Import CarrierConfig from CAF
* From LA.UM.9.12.r1-10300-SMxx50.0

Change-Id: Iac0ff2be55bb3b8a942e450010bf90776a6c5733
2021-09-09 18:46:02 +02:00
Sebastiano Barezzi
a2f4c15be9
sm6250-common: Initial AOSP overlay
[dereference23: Take values from curtana-user 11 RKQ1.200826.002 V12.0.4.0.RJWMIXM release-keys]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: I4153efdbd5ac95a32607d8aba1b6bbbdb02765c0
2021-09-09 18:46:02 +02:00