Commit graph android_device_samsung_a20/universal7885-common/rootdir
Author SHA1 Message Date
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
roynatech2544
4e8f041f6e
universal7885: address denials for 7904 2022-03-22 19:02:10 +09:00
Soo-Hwan Na
7393d54ec5
universal7885: zram: mount 100% of memory 2022-03-22 19:02:09 +09:00
roynatech2544
c5e1598aaa
treewide: decommonize sensor service 2022-03-22 19:01:48 +09:00
roynatech2544
07b209df81
universal7885: Major (de)commonize due to prev commit 2022-03-22 19:01:33 +09:00
Soo-Hwan Na
7f457b56ee
universal7885: Add support for f2fs
* /cache, /data
* Basic ideas from https://github.com/henricaodopao1/android_device_asus_X00QD
2022-03-22 18:56:53 +09:00
Tim Zimmermann
5fc20541b8
universal7885: Switch to AIDL libperfmgr power HAL
Change-Id: I56928037bf543accb3175ea50c674f80a3f60b99
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:23 +09:00
roynatech2544
c7b6d4e7b5
universal7885: rootdir: Hide Magisk Better
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

226e285aa6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:39:26 +09:00
roynatech2544
93778fc639
universal7885: Fixup merge errors 2022-03-22 18:35:49 +09:00
roynatech2544
5649875a43
universal7885: rootdir: Add back missing init rcs 2022-03-22 18:34:35 +09:00
roynatech2544
860693ece4
universal7885: Import A20e ueventd.rc
* Previous one was 7904's

Change-Id: I5dbbdf6a049624bc0933a505cf7792a60509b6e9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:31:31 +09:00
Gabriel2392
af95ebdf2b
universal7885: Import debugging script
* https://github.com/SamarV-121/android_vendor_extra/blob/android-12.0/prebuilt/init/debugging.rc
2022-03-22 18:18:36 +09:00
roynatech2544
9dc93122f1
universal7885: rootdir: Mount 75% of physical memory
Change-Id: I26b10e401b2473aca9f93bc490d59e738cbae7a0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:13:49 +09:00
SamarV-121
4210766d4d
universal7885: rootdir: Increase swappiness
Change-Id: Iecac741764c6242d350ce947581809c41db07e49
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:13:07 +09:00
roynatech2544
f8eb3e1258
universal7885: Inital port to A20/A20e
Addtitionally, Add device-specific trees as well

Change-Id: Icbbc31c063b18bce3702d0b208a0aee78148a7c0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:08:09 +09:00