Commit graph

549 commits

Author SHA1 Message Date
roynatech2544
b6bfca414e
universal7885: tune zram parmameters
* Increase swappiness to 160
* Comp algorithm to lz4

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
Martin Liu
9c38b26463
universal7885: mm: adjust zram write back policy
The first default zram write back time is 3 hours which
is for go device to quickly save more ram. For Pixel
devices, we have more working set and could bring launch
time impact if we write back too fast. Thus, adjust the
first time write back time to 24 hours which is aligned
with periodic write back time.

EDIT: Adjust to 6h.

Bug: 166739872
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I2388dd6d75ab0a938fe0edae0563fd26e48c9908
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
YH_Lin
236e59d4da
universal7885: fstab: correct zram parameter names
[libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
[libfs_mgr]Warning: unknown flag: zram_loopback_size=512M

We don't use zram_loopback_path any longer so remove it.
We also changed zram_loopback_size with zram_backingdev_size so correct it.

Bug: 145330273
Bug: 145116439
Test: confirmed there is no warning and zram backing device was configured

Change-Id: I51be34c59203813a2f493eee6ab442c9940b75d7
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: YH_Lin <yhli@google.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
Jenhao Chen
30db4a7d90
universal7885: enable zram writeback
Enable Zram writeback feature to allow unused pages in zram be written to flash.

Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
Aman Singh
480df06f05
universal7885: overlay: disable wallpaper zooming
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
Bruno Martins
672deba398
universal7885: Build offline charging daemon dependency
This must be explicitly built as of R. Fixes off mode charging.

Change-Id: Ie013d25d55105b4eb2191b9fd625ed8e02c863c5
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
roynatech2544
772644b37d
universal7885: stop avc log spamming with zygote writing to cgroupv2
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
Michael Bestas
a03f1d9d0e
universal7885: Set androidboot.init_fatal_reboot_target=recovery
* Don't crash to bootloader, users can access pstore in recovery in order to debug the issue.

Change-Id: I33e91fa31477785ba9c14a56d1c7ee9110fcc0c9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
nato6613
a1c0496cbb
universal7885: Add pixel_2016_exclusive.xml
- This allows us to use unlimited backup in Google Photos infinitely.

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
7a3b4163b0
Revert "universal7885: revert bt hal changes"
This reverts commit 81e5ff004f08c81cacf65332ca39b08026c739af.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
581387e4c1
Revert "universal7885: remove unsupported HALs"
This reverts commit e019bb575fa24e9586a5253c0fdafd0cf1d09cfa.
2022-03-22 19:02:44 +09:00
Soo-Hwan Na
e0d5faa85c
universal7885: resolve selinux neverallows
* vendor services can't set system prop, why did I forget that
2022-03-22 19:02:19 +09:00
roynatech2544
6420fb45b0
universal7885: address some selinux denials
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:19 +09:00
roynatech2544
86c53bd578
universal7885: parts: add Indonesian translation
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:19 +09:00
Gabriel
efbeb5a946
vendor_detect: add overlays to blacklist 2022-03-22 19:02:18 +09:00
Soo-Hwan Na
149cc87774
universal7885: vendorsetup: track patched wifi hal repo 2022-03-22 19:02:18 +09:00
roynatech2544
3d42e54162
universal7885: parts: add es,ro,ru translation
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:18 +09:00
roynatech2544
38da56064d
universal7885: parts: add pt-BR translation
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:18 +09:00
roynatech2544
235ef07826
universal7885: parts: add German translation
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:18 +09:00
roynatech2544
519a07715a
universal7885: switch to unified vt
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:18 +09:00
roynatech2544
4bc4078a13
a10: update vendor pathes for vt
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
Tim Zimmermann
cd2039b47a
universal7885: Switch to opensource secril_config_svc
* Depend on https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/319921

Change-Id: Ife2b16a2df2549ed298d3c2f866861379428366e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
Soo-Hwan Na
af843a7a34
universal7885: label light aidl 2022-03-22 19:02:17 +09:00
roynatech2544
70bce4e81e
Revert "universal7885: remove screen density config on common boardconfig"
This reverts commit 3031235885932091cd581d9d4595b8f0a45e8503.
2022-03-22 19:02:17 +09:00
roynatech2544
b4b885dc21
universal7885: remove duplicate entry
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
roynatech2544
eca4a6eb4c
universal7885: label new AIDLs
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
Tim Zimmermann
a3850a3ba8
universal7885: Switch to new AIDL vibrator HAL
Change-Id: If10972cce06dd5128729d4d7409c57f79775b09b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
Tim Zimmermann
8034522881
universal7885: Switch to new AIDL light HAL
Change-Id: I7917b1da162e28187216fc8f55f164fae2ec8eef
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
Soo-Hwan Na
56341c6d2c
universal7885: vendorsetup: track NEW_NUKE_ALL 2022-03-22 19:02:16 +09:00
roynatech2544
366d425cc0
universal7885: fingerprint: match latest changes from lineage
* remove fingerprint vintf entry
* Uprev to 2.3

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
Soo-Hwan Na
94138f7ccb
universal7885: props: set latch_unsignaled to 1 again
* December SPL fixed screen flicker
2022-03-22 19:02:16 +09:00
roynatech2544
ba4f5671b1
universal7885: enable nfc for all a202f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
3e8358f7a2
universal7885: import thermal-symlinks sepolicy
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
Soo-Hwan Na
acc922ef39
universal7885: props: remove nonexistent props
<11>[   14.195920]  [6:           init:    1] init: Do not have permissions to set 'ro.sys.fw.dex2oat_thread_count' to '8' in property file '/vendor/build.prop': SELinux permission check failed
<11>[   14.196075]  [6:           init:    1] init: Do not have permissions to set 'renderthread.skia.reduceopstasksplitting' to 'true' in property file '/vendor/build.prop': SELinux permission check failed

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
roynatech2544
8b8df6d333
universal7885: don't copy com.android.nfc_extras.xml
* It was already being copied

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
roynatech2544
ee9fca37fd
universal7885: parts: try fixing nullptr
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
Kevios12
4897ff7354
universal7885: fixup broken rils 2022-03-22 19:02:15 +09:00
roynatech2544
eefeec3768
universal7885: parts: adapt to S style
* Inspired by 3cc1a02bf5
2022-03-22 19:02:15 +09:00
roynatech2544
d77d80d2c5
universal7885: re-commonize fingerprint hal 2022-03-22 19:02:15 +09:00
Soo-Hwan Na
056872d830
universal7885: fingerprint: Move to redfin 2022-03-22 19:02:14 +09:00
Soo-Hwan Na
413906cf74
universal7885: remove duplicate entry 2022-03-22 19:02:14 +09:00
Soo-Hwan Na
3f5a4ea98d
universal7885: vendor.prop: add ro.build.PDA entry 2022-03-22 19:02:14 +09:00
roynatech2544
59e0ac89e7
universal7885: props: add ro.csc. 2022-03-22 19:02:14 +09:00
roynatech2544
3cb0ede6bb
universal7885: movee codec3035 keylayout to /vendor 2022-03-22 19:02:14 +09:00
roynatech2544
70a1a5c55b
universal7885: fix undefined sepolicy error 2022-03-22 19:02:14 +09:00
SamarV-121
42af248738
universal7885: Remove obsolete debug.sf.disable_backpressure property
* It has been removed in Android S
 * 2ec5391acf

Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:13 +09:00
Tim Zimmermann
a096bb29ed
universal7885: Enable fingerprint gestures
Change-Id: I3289fac865b8d7bf5900d8fa8b3f5b03b818a230
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:13 +09:00
roynatech2544
6ef9da0b1e
universal7885: address camera selinux denials 2022-03-22 19:02:13 +09:00
Soo-Hwan Na
3d5c62859f
universal78885: props: update to raven SQ1A.211205.008 2022-03-22 19:02:13 +09:00
roynatech2544
6c55caa493
universal7885: sepolicy: Add another rule for thermal hal 2022-03-22 19:02:13 +09:00