mvaisakh
0533b4c54d
LG8n: Enable EAS instead of HMP
...
EAS is better on power and perf
The node accepts 3 values
0: Unknown
1: EAS
2: HMP
Signed-off-by: SayuZX <todraihan95@gmail.com>
Signed-off-by: gtw xtr <fajarslebew31@gmail.com>
Signed-off-by: fjrneedayang aww <fajarslebew31@gmail.com>
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:53:13 +08:00
fjrXTR
0f64e0ba6c
LG8n: rootdir: Drop useless service
...
Change-Id: Id40e1f2a8136f12f8ade87d79bfe1525f83ffa39
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:52:14 +08:00
TheMalachite
a1d19367db
LG8n: rootdir: Remove sdcard symlink and iso mount
...
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:51:51 +08:00
Ash Blake
e07e944fba
LG8n: rootdir: Fix ownership for /dev/video{0,1}
...
Mediacodec did not have access and video recording didn't work.
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:32:07 +08:00
TheMalachite
3bbc6a1428
LG8n: rootdir: Drop on property:vold.decrypt
...
- We don't use FDE encryption
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Icd9c16a5f5b92992e8e41539971302a09cdde9be
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:31:48 +08:00
Vaisakh Murali
4a4d563117
LG8n: rootdir: Elevate read permissions for mtk_cmdq and mdp_sync
...
Apparently on AOSP builds, these nodes when read by the hals
with O_RDONLY attribute, need an elevated read permission, which
is apparently unneeded on mtk builds/stock rom.
This fixes video playback/OMX
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:31:30 +08:00
Kshitij Gupta
21f9644fad
LG8n: rootdir: Correct mode for video0 and video1
...
- init services fail to setup encoders on boot and camera and
screenrecord fails to open video1 when trying to encode a video.
- While we may wanna consider looking through services that make use of
these devs and correct their groups for AOSP, this gets the job done
for now.
Change-Id: I0278efe201a9cbaa20c650fdc32bed6f9ecfd017
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:31:09 +08:00
Minchan Kim
33f5215929
LG8n: rootdir: Add zram parameter
...
* We also changed zram_loopback_size with zram_backingdev_size so correct it.
Bug: 145116439
Test: confirmed there is no warning and zram backing device was configured
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I51be34c59203813a2f493eee6ab442c9940b75d7
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:30:54 +08:00
Wei Wang
5983bbb725
LG8n: rootdir: Tune zram performance
...
-Set max_comp_streams to num of cores since upstream also moves this to percpu.
Bug: 38249616
Test: boot and run zram-perf showing better performance
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:54 +08:00
bengris32
c6eedc41a1
LG8n: rootdir: Add ZRAM entry from fstab.enableswap
...
Change-Id: I84333394bd27f67fcd30e054f0446e7c45f39bde
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:37 +08:00
dmpstr
3801a8d5f5
Revert "LG8n: fstab.mt6789: Switch to ext4"
...
This reverts commit c5d0901849
.
2024-05-25 22:54:45 +08:00
aubrey
c5d0901849
LG8n: fstab.mt6789: Switch to ext4
2024-05-24 08:46:09 +08:00
dodyirawan85
d054191528
X6833B: Add ext4 filesystem to product
and system_ext
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
dodyirawan85
3aa2b1f112
X6833B: power: Adapt to our device usage
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Arian
440e178dcb
X6833B: Add power HAL extension and use xiaomi-touch to handle dt2w
...
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32
6aee8c69cc
X6833B: Clean up USB init rc and remove uneeded special vendor functions
...
Change-Id: I282135678f4931f81469272109b7286efb92026b
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
bengris32
481e664097
X6833B: rootdir: Remove bypass
USB mode
...
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib885e119cdcd67f0ab15588095a94eed2c95e5cf
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85
9b5848a12c
X6833B: Configure offline charging
...
Refs:
436747685d
0951b5b378
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:59 +07:00
TheMalachite
4abe19d90e
X6833B: rootdir: Fixup /data/vendor/audiohal directories creation
...
- Set correct perm for /data/vendor/audiohal
- Create /data/vendor/audiohal/audio_param for shut logspam about it
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:57 +07:00
dodyirawan85
9e3ab39265
X6833B: rootdir: Build fstab to vendor
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
fa8f6e4d47
X6833B: rootdir: Cleanup non-existance and unused service import
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
Sushrut1101
35cb24fd47
X6833B: Replace ro.vendor.init.sensor.rc with full path
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
992874ff2b
X6833B: rootdir: Replace ro.vendor.rc
with full path
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
b38e1df29a
X6833B: rootdir: Drop undefined tran_factory_reset
service
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
5103b6e0df
X6833B: Import rootdir from 231102V2897
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
1f96867457
X6833B: Kang init usb recovery from yunluo
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85
f559c6e678
X6833B: rootdir: Convert to blueprint configuration
...
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
Woomymy
5634ef65c7
X6833B: Install fstab.mt6789 into first_stage_ramdisk
...
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I6a0a98dcd8e5ff73dc8a934d1ea9fe43fd5107ca
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:44 +07:00
Woomymy
bf2a36e7cf
X6833B: Add recovery init scripts and required flags
...
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I6a3b4ba0037d9fec49e8445ed8e615b2d14e8c7f
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:44 +07:00