Remove All Ads from XDA
Honor 9 Lite

[Q] Simple script please...

34 posts
Thanks Meter: 4
By Odlanyer22, Member on 30th August 2014, 07:14 AM
Post Reply 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
30th August 2014, 11: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
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