forked from koush/galaxys-initramfs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
fota.rc
executable file
·54 lines (38 loc) · 1.04 KB
/
fota.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
on init
# GyuTae FIX : we should not use system partition!!!!!
# export PATH /sbin:/bin
export PATH /sbin:/system/bin
export ANDROID_ROOT /system
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
mkdir /sdcard
mkdir /system
mkdir /data
mkdir /cache
mkdir /efs
mount tmpfs nodev /tmp
insmod /lib/modules/fsr.ko
insmod /lib/modules/fsr_stl.ko
insmod /lib/modules/rfs_glue.ko
insmod /lib/modules/rfs_fat.ko
insmod /lib/modules/j4fs.ko
mount j4fs /dev/block/stl6 /mnt/.lfs
insmod /lib/modules/dpram.ko
insmod /lib/modules/param.ko
mkdir /sdcard 0000 system system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mount rfs /dev/block/stl3 /efs nosuid nodev check=no
mount rfs /dev/block/stl9 /system check=no
on boot
# write /sys/class/sec/switch/usb_sel PDA
ifup lo
hostname localhost
domainname localdomain
class_start default
service recovery /sbin/recovery
service adbd /sbin/adbd recovery
on property:persist.service.adb.enable=1
start adbd
on property:persist.service.adb.enable=0
stop adbd