android - What are the steps required to mount the external storage (SD card) of Samsung Galaxy S from a chroot shell -
I have received an Ubuntu.img file as well as the following script in a folder on my SD card -
/ mnt / sdcard / ubuntu / start
#! ["$ 1" == ""] if / bin / bash # Arin is compiled by http://blog.coralic.nl; Then echo "You need to specify an IMG file!" 9 exits; If `test-d / data / local / mnt`; Then export USER = Root export PATH = $ bin: / usr / bin: / usr / sbin: / bin: $ PATH mount / "/ data / local / mnt" else mkdir / data / local / mnt fi HOME = -o loop, noimate -t ext2 $ 1 / data / local / mnti sleep 3 mount -t proc proc / data / local / mnt / proc mount -t departments / data / local / mnt / dev / pts chroot / data / local / Mnt / bin / bash
/ mnt / sdcard / ubuntu / stop
#! / Bin / bash # Create Armin Colonial http://blog.coralic.nl umount / data / local / mnt / dev / pt umount / data / local / mnt / proc umount / data / local / mt start script by pre>
, I get an Ubuntu Crotated Shell, but I have not got my external storage SD card inside the chrome.
I want to know the answer to the following two questions:
1) What is the / dev / block / device file name for external SD card? Which should I mount on the Samsung Galaxy S I9000? 2) What is the exact syntax I should use for storing for read / write / execution for external SD storage /
Modify start / stop scripts with required changes.
You have / dev / block / but actually, there are several ways to address devices, for example For vold, or sys etc.
You can see a file cold vold.fstab, you should know which device is your external SD car
Comments
Post a Comment