mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: add Samsungparts
* It is based on XiaomiParts usually found on Xiaomi device trees Change-Id: If34ba79bba05ede0ce98bbedf14a1c318bee8fc4 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
71ff7a7017
commit
651386dfff
75 changed files with 3094 additions and 723 deletions
11
universal7885-common/SamsungParts/SamsungParts.rc
Normal file
11
universal7885-common/SamsungParts/SamsungParts.rc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
on property:sys.boot_completed=1
|
||||
chmod 664 /sys/devices/platform/11500000.mali/tmu
|
||||
chown system system /sys/devices/platform/11500000.mali/tmu
|
||||
chmod 664 /sys/class/camera/flash/torch_brightness_lvl
|
||||
chown system system /sys/class/camera/flash/torch_brightness_lvl
|
||||
chmod 664 /sys/class/camera/flash/torch_brightness_lvl_enable
|
||||
chown system system /sys/class/camera/flash/torch_brightness_lvl_enable
|
||||
chmod 664 /sys/devices/platform/battery/power_supply/battery/batt_slate_mode
|
||||
chmod system system /sys/devices/platform/battery/power_supply/battery/batt_slate_mode
|
||||
chmod 644 /sys/class/sec/switch/afc_disable
|
||||
chmod system system /sys/class/sec/switch/afc_disable
|
||||
Loading…
Reference in a new issue