Commit graph

583 commits

Author SHA1 Message Date
Kevios12
c3fc930bf3
universal7885: Fix wrong LCD Density 2022-03-22 19:03:18 +09:00
Gabriel
d17077817c
vendor_detect: blacklist xtras 2022-03-22 19:03:18 +09:00
Gabriel2392
7df1122f77
[squash] a10: update stuffs 2022-03-22 19:03:18 +09:00
roynatech2544
8d0cd32875
universal7885: build strace
* System call debugger

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:18 +09:00
roynatech2544
56797db83d
universal7885: debug_daemon: correct wrong-pointing initrc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:18 +09:00
roynatech2544
3a9920df46
universal7885: debug_daemon: remove liblog deps
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:18 +09:00
roynatech2544
b298ccb96f
universal7885: address logcat exec denials
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:18 +09:00
roynatech2544
3b84359b35
universal7885: remove debug.rc
* Now we have binary for that (debug_daemon)
2022-03-22 19:03:14 +09:00
roynatech2544
d43cd6b584
universal7885: debug_daemon: use sperate std::thread for logging
* If not using sperate thread, one of those two logs will not be logged

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
f9eb06e899
universal7885: fixup sepolicy denials
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
4cb2ee8e37
universal7885: debug_daemon: move mkdir down to post-fs-data
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
941eae5af8
universal7885: debug_daemon: fix duplicate symbols
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
7db5c03bac
universal7885: debug_daemon: run clang-format
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
c4f1f10454
universal7885: fixup errors
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:52 +09:00
roynatech2544
439e02b93b
universal7885: compile debug_daemon
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
667610e1fb
universal7885: fixup sepolicy neverallows
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
8fcc87eaf2
universal7885: add needed sepolicy for it
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
f679a720b0
universal7885: add cc binary for logging
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
846b03764e
universal7885: CamLightSensor: resolve a typo
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
cab7cfd593
universal7885: CamLightSensor: use ACTION_USER_PRESENT
...instead of ACTION_SCREEN_ON

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:51 +09:00
roynatech2544
897280850b
universal7885: Add Sub makefile for keymaster
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
dffab3bb92
universal7885: tidy up tree
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
098179eabb
universal7885: run clang-format based on system-clang-format
* On every *.cpp *.h files

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
6bc1c25485
universal7885: import clang format, replace the symlink
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
f2bb09bac3
universal7885: hidl: remove useless guards and convert to bp
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
76a69f9276
[DNM] universal7885: import hardware/samsung deps
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
Bruno Martins
c25cedb10c
universal7885: Unset BOARD_VNDK_VERSION
PRODUCT_USE_VNDK will be true in Android-P or later launching devices
and consequently BOARD_VNDK_VERSION will be set to 'current'.

Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
P.Adarsh Reddy
4aa696c82e
universal7885: Enforce android-S new launch debugfs restrictions
This removes the default mounting of debugfs, as
it is no longer allowed from android-S new-launch.

Change-Id: I3e2e65315854d72de21239bd5a7edec5584494e0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
kubersharma001
569649d2ec
universal7885: overlay: Allow to be rotated in all 4 rotations
Change-Id: I6cfb702d55b1d1cc79aada6fc9eed32f1a79c497
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
roynatech2544
127f17a0be
universal7885: move cpuset mkdir up to init
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
rdx420
bd34a05a17
universal7885: Add 'V' Shaped Notch
Kang from OOS port https://t.me/violet_oos/185110

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
Murat Kozan
2793fa9155
universal7885: Enable vibration multiple intensities
* Activates some options on Settings>accessibility>vibration

Change-Id: Id31094e2c0212020fe53a92a04bc754ebf3e368e
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
Palakurthi Sreekanth
36f35bcc26
universal7885: Set an overlay to indicate power button FPS
* This is required for the ripple unlock animation introduced with S

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:49 +09:00
UtsavBalar1231
2c760529f1
universal7885: overlay: Use coral vibration configuration
Change-Id: I2a27ee1cf17d8c81eaa01a2fc7b5a64348d44a9b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
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