48 lines
1.5 KiB
Text
Executable file
48 lines
1.5 KiB
Text
Executable file
on early-init
|
|
mount debugfs debugfs /sys/kernel/debug
|
|
chmod 0755 /sys/kernel/debug
|
|
|
|
service charger /charger
|
|
class charger
|
|
seclabel u:r:healthd:s0
|
|
|
|
# bugreport is triggered by holding down volume down, volume up and power
|
|
|
|
service bugreport /system/bin/dumpstate -d -p -B -z \
|
|
-o /data/user_de/0/com.android.shell/files/bugreports/bugreport
|
|
class main
|
|
disabled
|
|
oneshot
|
|
keycodes 114 115 116
|
|
|
|
|
|
on property:sys.drop_cache=1
|
|
write /proc/sys/vm/drop_caches 3
|
|
setprop sys.drop_cache 0
|
|
|
|
# broadcom wifi sta p2p concurrent service
|
|
service wpa_supplicant_broadcom /system/vendor/bin/hw/wpa_supplicant \
|
|
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
|
-I/vendor/etc/wifi/wpa_supplicant_overlay.conf \
|
|
-puse_p2p_group_interface=1p2p_device=1use_multi_chan_concurrent=1 \
|
|
-m/data/misc/wifi/p2p_supplicant.conf \
|
|
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 \
|
|
-O/data/misc/wifi/sockets \
|
|
class main
|
|
socket wpa_wlan0 dgram 660 wifi wifi
|
|
disabled
|
|
oneshot
|
|
|
|
# realtek & eagle wifi service
|
|
service wpa_supplicant_realtek /system/vendor/bin/hw/wpa_supplicant \
|
|
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
|
|
-I/vendor/etc/wifi/p2p_supplicant_overlay.conf \
|
|
-e/data/misc/wifi/entropy.bin -N \
|
|
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
|
-I/vendor/etc/wifi/wpa_supplicant_overlay.conf \
|
|
-O/data/misc/wifi/sockets \
|
|
-g@android:wpa_wlan0
|
|
socket wpa_wlan0 dgram 660 wifi wifi
|
|
class main
|
|
disabled
|
|
oneshot
|