upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
48
android/device/softwinner/common/init.common.rc
Executable file
48
android/device/softwinner/common/init.common.rc
Executable file
|
@ -0,0 +1,48 @@
|
|||
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 /vendor/bin/hw/wpa_supplicant \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-I/system/etc/wifi/p2p_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 \
|
||||
p2p_supported=true
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue