android_device_samsung_c1-c.../init.c1.rc
2011-06-10 15:05:04 -07:00

46 lines
1.0 KiB
Plaintext
Executable File

on boot
setprop ro.build.product smdkc210
setprop ro.product.device smdkc210
setprop ro.radio.noril yes
# fake some battery state
setprop status.battery.state Slow
setprop status.battery.level 5
setprop status.battery.level_raw 50
setprop status.battery.level_scale 9
# wi-fi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
# DHCPCD
# wi-fi
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL eth0
disabled
oneshot
# IP Renew
# wi-fi
service iprenew_eth0 /system/bin/dhcpcd -n
disabled
oneshot
service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
--baudrate 3000000 --patchram /system/bin/BCM4330B1_002.001.003.0043.0077.hcd /dev/s3c2410_serial0
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
service dumpstate /system/bin/dumpstate -s
socket dumpstate stream 0660 shell log
disabled
oneshot
service tvout /system/bin/tvoutserver
user system
group graphics
start tvout