-
Notifications
You must be signed in to change notification settings - Fork 1
/
lgdms.fota_update.rc
44 lines (30 loc) · 1.28 KB
/
lgdms.fota_update.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
on fota-update
export PATH /sbin
export ANDROID_ROOT /system
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
symlink /system/etc /etc
mkdir /sdcard
mkdir /system
#mkdir /data
mkdir /cache
mount /tmp /tmp tmpfs
#mount rootfs rootfs / rw remount
# mount mmc partitions
#[LGE_UPDATE_S] DMS_SYSTEM [email protected] 2012/03/13
wait /dev/block/platform/msm_sdcc.1/by-name/system
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system rw data=journal barrier=1
#wait /dev/block/platform/msm_sdcc.1/by-name/userdata
#exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/userdata
#mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev noatime barrier=1 data=journal noauto_da_alloc errors=panic
wait /dev/block/platform/msm_sdcc.1/by-name/cache
wait /dev/block/platform/msm_sdcc.1/by-name/cache
wait /dev/block/platform/msm_sdcc.1/by-name/cache
#exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/cache
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/cache /cache nosuid nodev data=journal barrier=1
#[LGE_UPDATE_E] DMS_SYSTEM [email protected] 2012/03/13
wait /dev/graphics/fb0
wait /dev/tty0
#chown system system /data
#chmod 0771 /data
mkdir /cache/fota