diff options
author | Ziyan <jaraidaniel@gmail.com> | 2015-05-06 22:30:29 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-05-06 22:30:29 +0200 |
commit | f27610481b44e155d866a19fa63b89972ceb5acb (patch) | |
tree | 317aeae48663c1c20fa47171c27166ea0e465b47 /rootdir | |
parent | b3dc7b0671a2dfcaef1127778e713c9336c6a65f (diff) | |
download | device_samsung_tuna-f27610481b44e155d866a19fa63b89972ceb5acb.zip device_samsung_tuna-f27610481b44e155d866a19fa63b89972ceb5acb.tar.gz device_samsung_tuna-f27610481b44e155d866a19fa63b89972ceb5acb.tar.bz2 |
Mount /system in charging mode
This eliminates the inital 60 second blocking in the kernel while trying to load firmwares.
It also makes adb avaliable, which can be handy in some situations.
Change-Id: I4c8a64aafbcdc07b6cc206dda001af5ed1aad48d
Diffstat (limited to 'rootdir')
-rwxr-xr-x | rootdir/init.tuna.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index 7d1e4c3..1f7d52b 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -131,6 +131,9 @@ on fs # Gamma chmod 0666 /sys/devices/platform/omapdss/manager0/gamma +on charger + mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ro + on property:persist.sys.tuna.off_mode=* write /d/pm_debug/enable_off_mode ${persist.sys.tuna.off_mode} |