Watch This Now!

[Q] Simple script please...

15 posts
Thanks Meter: 1
By Odlanyer22, Junior Member on 30th August 2014, 06:14 AM
Post Reply Subscribe to Thread Email Thread
I am trying to create my own flashable icon pack based on flahable zip for Galaxy Y...

But I wonder if the written command line to mount /data, /sdcard and /system on updater-script is for all device?

mount("rfs", "EMMC", "/dev/block/stl9", "/system");
mount("rfs", "EMMC", "/dev/block/stl9", "/system");
mount("rfs", "EMMC", "/dev/block/stl2", "/data");
mount("rfs", "EMMC", "/dev/block/stl11", "/data");
mount("rfs", "EMMC", "/dev/block/mmcblk0p2", "/sd-ext");

So, I have to checked on other flashable zip (flashable SuperSU) that I have used if it's the same, but I found:

mount /system
mount /data
mount -o rw,remount /system
mount -o rw,remount /system /system
mount -o rw,remount /
mount -o rw,remount / / how can I really mount (in read/write) /data, /sdcard and /sysem in writing in <name>.sh
Last edited by Odlanyer22; 30th August 2014 at 08:02 AM. Reason: Update
30th August 2014, 10:53 PM |#2  
samsungrockz's Avatar
Flag Kolkata
Thanks Meter: 11
The flashable SuperSU uses a different approach, a shell script to flash packages.
However, for most of the flashable zips, people use the first method i.e updater script method

include a busybox command in a sbin folder,
Now mount /system using
run_program("/sbin/busybox", "mount", "-o", "remount,rw", "/system");
and mount /data and /sdcard similarly

Hope it helps
Last edited by samsungrockz; 30th August 2014 at 10:56 PM.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes