| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 1 | on boot |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 2 | setprop ro.build.product smdkc110 |
| 3 | setprop ro.product.device smdkc110 |
| 4 | setprop ro.radio.noril yes |
| hyungseoung.yoo | 393fc37 | 2010-09-02 22:50:35 +0900 | [diff] [blame] | 5 | setprop ro.bt.bdaddr_path "/data/misc/bluetoothd/bt_addr" |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 6 | |
| 7 | # fake some battery state |
| 8 | setprop status.battery.state Slow |
| 9 | setprop status.battery.level 5 |
| 10 | setprop status.battery.level_raw 50 |
| 11 | setprop status.battery.level_scale 9 |
| 12 | |
| Choi jonghwan | 043350a | 2010-09-05 19:41:25 -0700 | [diff] [blame] | 13 | # ko files for 3D |
| 14 | insmod /modules/pvrsrvkm.ko |
| 15 | insmod /modules/s3c_lcd.ko |
| 16 | insmod /modules/s3c_bc.ko |
| 17 | |
| JIKWANG KANG | 44732f1 | 2010-08-31 12:42:55 -0700 | [diff] [blame] | 18 | # wi-fi |
| 19 | mkdir /data/misc/wifi/sockets 0770 wifi wifi |
| 20 | mkdir /data/misc/dhcp 0770 dhcp dhcp |
| 21 | |
| Ed Heyl | 0f26a39 | 2010-09-02 11:40:57 -0700 | [diff] [blame] | 22 | # create data/gps for GPS demon |
| 23 | chown root system /dev/s3c2410_serial1 |
| 24 | chmod 664 /dev/s3c2410_serial1 |
| 25 | mkdir /data/gps 771 system system |
| 26 | chown system system /data/gps |
| 27 | chown root system /sys/class/sec/gps/GPS_PWR_EN/value |
| 28 | chmod 664 /sys/class/sec/gps/GPS_PWR_EN/value |
| 29 | chown root system /sys/class/gpio/gpio104/value |
| 30 | chmod 664 /sys/class/gpio/gpio104/value |
| 31 | chown root system /sys/class/gpio/gpio105/value |
| 32 | chmod 664 /sys/class/gpio/gpio105/value |
| hyungseoung.yoo | 393fc37 | 2010-09-02 22:50:35 +0900 | [diff] [blame] | 33 | |
| Brian Swetland | cd5494b | 2010-09-07 16:49:32 -0700 | [diff] [blame] | 34 | |
| 35 | on fs |
| 36 | mkdir /efs 0775 radio radio |
| 37 | mount yaffs2 mtd@efs /efs nosuid nodev |
| 38 | |
| 39 | |
| Ed Heyl | 0f26a39 | 2010-09-02 11:40:57 -0700 | [diff] [blame] | 40 | service glgps /system/bin/gpsd/glgps_samsungJupiter -c /system/etc/jupiter.xml |
| 41 | user system |
| 42 | group system inet |
| hyungseoung.yoo | 393fc37 | 2010-09-02 22:50:35 +0900 | [diff] [blame] | 43 | |
| Choi jonghwan | 043350a | 2010-09-05 19:41:25 -0700 | [diff] [blame] | 44 | # 3D init |
| 45 | service pvrsrvinit /system/bin/pvrsrvinit |
| 46 | user root |
| 47 | group root |
| 48 | oneshot |
| 49 | |
| hyungseoung.yoo | 393fc37 | 2010-09-02 22:50:35 +0900 | [diff] [blame] | 50 | # permissions for bluetooth. |
| 51 | chown bluetooth bluetooth ro.bt.bdaddr_path |
| 52 | chown bluetooth bluetooth /dev/s3c2410_serial0 |
| 53 | chmod 0600 /dev/s3c2410_serial0 |
| 54 | chmod 0660 /sys/class/rfkill/rfkill0/state |
| 55 | chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state |
| 56 | chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type |
| 57 | |
| JIKWANG KANG | 44732f1 | 2010-08-31 12:42:55 -0700 | [diff] [blame] | 58 | service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf |
| 59 | socket wpa_eth0 dgram 0660 wifi wifi |
| 60 | disabled |
| 61 | oneshot |
| 62 | |
| 63 | service dhcpcd /system/bin/dhcpcd -ABKL |
| 64 | disabled |
| 65 | oneshot |
| Ed Heyl | 2eae63c | 2010-09-02 20:37:11 -0700 | [diff] [blame] | 66 | |
| 67 | # Permissions for System Server and daemons. |
| 68 | chown system system /sys/class/backlight/s5p_bl/brightness |
| hyungseoung.yoo | 393fc37 | 2010-09-02 22:50:35 +0900 | [diff] [blame] | 69 | |
| 70 | service hciattach /system/bin/bcm_attach -d --enable_hci \ |
| 71 | --baudrate 921600 --patchram system/etc/firmware/bcm4329.hcd /dev/s3c2410_serial0 |
| 72 | user bluetooth |
| 73 | group bluetooth net_bt_admin |
| 74 | disabled |
| 75 | oneshot |
| Ed Heyl | d1c4091 | 2010-09-07 18:13:00 -0700 | [diff] [blame^] | 76 | |
| 77 | # sensor service |
| 78 | service akmd8973 /system/bin/akmd8973 |
| 79 | enabled |
| 80 | oneshot |