Related
I am a fresh owner Tf300.
It annoyed me that he sees Tf300 internal memory as sdcard
and as an external Micro SD card.
I searched and znalałem Script of SG3.
Modified it - it works.
But there is a problem.
Micro SD card is mounted as sdcard
but the internal (the old SDcard) will not mount)
Maybe someone can help
Because he wants to improve both were mounted partitions correctly
script base from galaxys3 http://forum.xda-developers.com/showthread.php?t=1772234
KOD:
#!/system/bin/sh
# Wait for the system to mount the internal media and remout it as r/o
# this should prevent the system from writing to it until we make the
# switch, yet keeps the /data/media r/w, so at the end it won't be r/o
for i in $(seq 1 1 3000)
do
if ( grep -c "/storage/sdcard0" /proc/mounts ); then
mount -o remount,ro /storage/sdcard0
break;
fi
usleep 100000
done
# now wait for the external media and remount
for i in $(seq 1 1 3000)
do
if ( grep -c "/Removable/MicroSD" /proc/mounts ); then
# create new temporary mount point
mount -o remount,rw /
mkdir /storage/tmpmnt
mount -o remount,ro /
# do the rebinding using the temporary mount point
mount -o bind /data/media /storage/tmpmnt
mount -o bind /Removable/MicroSD /storage/sdcard0
mount -o bind /Removable/MicroSD /data/media
umount /Removable/MicroSD
mount -o bind /storage/tmpmnt /storage/MicroSD
umount /storage/tmpmnt
# make bind for ums mode
mkdir -p /storage/MicroSD/sdcard1
touch /storage/MicroSD/.nomedia
mount -o bind /storage/sdcard0 /storage/extSdCard/external_sd/sdcard1
# done
break;
fi
usleep 100000
done
exit
I´m no developer but that´s a start. Hope someone helps.
arcance said:
I am a fresh owner Tf300.
It annoyed me that he sees Tf300 internal memory as sdcard
and as an external Micro SD card.
I searched and znalałem Script of SG3.
Modified it - it works.
Click to expand...
Click to collapse
Trochę Polskiego się tu wkradło
Please change word "znalazłem" to "found"
It works for me after I modified it and install the latest busybox v1.21.0. ( I'm using Energy ROM 4.1.1 btw). Let me know if this works for you.
Here's the script ( I also attach the flashable zip) :
#!/system/bin/sh
# Wait for the system to mount the internal media and remout it as r/o
# this should prevent the system from writing to it until we make the
# switch, yet keeps the /data/media r/w, so at the end it won't be r/o
for i in $(seq 1 1 3000)
do
if ( grep -c "/storage/sdcard0" /proc/mounts ); then
mount -o remount,ro /storage/sdcard0
break;
fi
usleep 100000
done
# now wait for the external media and remount
for i in $(seq 1 1 3000)
do
if ( grep -c "/Removable/MicroSD" /proc/mounts ); then
# create new temporary mount point
mount -o remount,rw /
mkdir /storage/tmpmnt
mount -o remount,ro /
# do the rebinding using the temporary mount point
mount -o bind /data/media /storage/tmpmnt
mount -o bind /Removable/MicroSD /storage/sdcard0
mount -o bind /Removable/MicroSD /data/media
umount /Removable/MicroSD
mount -o bind /storage/tmpmnt /Removable/MicroSD
umount /storage/tmpmnt
# make bind for ums mode
mkdir -p /Removable/MicroSD/EXTERNAL_SD
touch /Removable/MicroSD/ EXTERNAL_SD/.nomedia
mount -o bind /storage/sdcard0 /Removable/MicroSD/EXTERNAL_SD
# done
break;
fi
usleep 100000
done
exit
Odp: [DEV] SCRIPT MOD inte2ext swap
Ok trying thanx for help
Sent from my HTC Desire Z using xda app-developers app
One question. Will this script solve the I/O problem, as now the tablet will use my class10 sdcard as internal, or didn't I understand it well?
why not just edit the vold file
Sent From My Unlocked & Rooted 4.2.2 Android Powered []D [] []V[] []D TF300T
Works
I think good solution for people ho heve only 16gb internal and sdmicro 64gb or biger
Edit vold ithink no god solution and not be save
Regards
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
arcance said:
Works
I think good solution for people ho heve only 16gb internal and sdmicro 64gb or biger
Edit vold ithink no god solution and not be save
Regards
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
you can edit the vold file and accomplish the same results. you need to use a root explorer.I have done it on every device I own at one point.yes it saves.
Hi
Trying use modification
When try flesh i see error can't find tmpmnt
I don't have idea
Use 4.2 xcromi 4.7.0
And need more space for instal soft my tf300 have 16gb only.
Or sugestion how modyfication vold.
Reagarts
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Hi,
I have a Samsung Galaxy Note 2 (SGH-T889). I found a script online which had instruction to execute with script manager (SManager). The file is called app2sdNote2.bin. When I run SManager and located the script, I select Su and Boot. When I select Run, SManager just hangs forever until I kill the process. The grant message never appears. I would like to run the script to use my 64 GB memory card as the default storage. Any help is greatly appreciated.
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3/Note 2 by Zedomax at GalaxyS3Root.com and GalaxyNote2Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
if busybox mount | busybox grep vold/179:17; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
comicrage said:
Hi,
I have a Samsung Galaxy Note 2 (SGH-T889). I found a script online which had instruction to execute with script manager (SManager). The file is called app2sdNote2.bin. When I run SManager and located the script, I select Su and Boot. When I select Run, SManager just hangs forever until I kill the process. The grant message never appears. I would like to run the script to use my 64 GB memory card as the default storage. Any help is greatly appreciated.
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3/Note 2 by Zedomax at GalaxyS3Root.com and GalaxyNote2Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
if busybox mount | busybox grep vold/179:17; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
Click to expand...
Click to collapse
Wrong device thread.
comicrage said:
Hi,
I have a Samsung Galaxy Note 2 (SGH-T889). I found a script online which had instruction to execute with script manager (SManager). The file is called app2sdNote2.bin. When I run SManager and located the script, I select Su and Boot. When I select Run, SManager just hangs forever until I kill the process. The grant message never appears. I would like to run the script to use my 64 GB memory card as the default storage. Any help is greatly appreciated.
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3/Note 2 by Zedomax at GalaxyS3Root.com and GalaxyNote2Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:17 /mnt/sdcard
if busybox mount | busybox grep vold/179:17; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
Click to expand...
Click to collapse
Script doesn't work on s4. Tried all the known scripts and so far none work.
Sent from my SGH-M919 using Tapatalk 2
Been searching for a method that works with no luck, tried editing vold.fstab, tried a couple apps from the market but no luck. Im running PAC-MAN 4.3 nightlies with ktoonsez kernel. I have a 32gb SD formatted to ext....can someone help me do this?
Here is my View attachment vold.fstab.zip if you need it.
I had to do that with my Galaxy Ace IIx s7560m. I used kylesrom SD Swap add-on flashable zip thingie.
SWAP_SCRIPT_FOR_EXTSD_AND_SDCARD.zip - 216.14 KB
It wasnt this one but it should be the same.
Sent from my Nexus 7 using XDA Premium HD app
gnome9er said:
I had to do that with my Galaxy Ace IIx s7560m. I used kylesrom SD Swap add-on flashable zip thingie.
SWAP_SCRIPT_FOR_EXTSD_AND_SDCARD.zip - 216.14 KB
It wasnt this one but it should be the same.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
tried it and it did nothing.
I'm trying scripts with Smanager...
mount -t vfat -o umask=0000 /dev/block/vold/179:33 /sdcard
mount -o bind /data/media /extSdCard
but I get this message mount: mounting /dev/block/vold/179:33 on /sdcard failed: invalid argument
k00lguy105 said:
I'm trying scripts with Smanager...
mount -t vfat -o umask=0000 /dev/block/vold/179:33 /sdcard
mount -o bind /data/media /extSdCard
but I get this message mount: mounting /dev/block/vold/179:33 on /sdcard failed: invalid argument
Click to expand...
Click to collapse
bump
No one knows?
I'm having the same problem with my sandisk 64gb (formatted exfat) since I updated to jellybean.
I never went back to icecream sandwitch to double check though.
The room doesn't seem to make any difference, so it's the kernel.
I was just about to post something similar since I ran out of ideas.
Hello People,
I have a question regarding mount bind,
I have one directory on ext-sd that I have mount bind with a directory on sdcard to save space on sdcard with the command,
Code:
mount -o bind /storage/extSdCard/WhatsApp /sdcard/WhatsApp
Now the question is how can I make it permanent as I see it gets unmounted after some time and after a device reboot.
As I see there is no /etc/init.d and I am unsure of how and where to make a start-up script, Searching has been unsuccessful so far
Thanks.
While in Kids Mode, my four-year old outsmarted the security software (not hard to do - kid's security sucks. I'm constantly finding him going where he shouldn't) and reformatted the SD card in his SM-T2105 . I managed to restore the files using PhotoRec, but it dumped the files into directories of like file types - i.e. .jpg's, .pdf's, .icn's etc. Would anyone be willing to share their SD card directory structure so I can recreate his as best as I can? I realize each one will be different, but it'll help. I promise to periodically backup the card from now on.
Also, I've found plenty of questions regarding how to move apps to the SD card, but so far have not found any solutions that work. I'm getting the message "Insufficient storage available" and he doesn't even have that many apps installed. He also has a 16G card that is mostly empty. The inability of the Samsung SM-T2105 to move apps to external storage is bewildering considering the pitifully poor space available.
Thanks.
ChipStewart said:
While in Kids Mode, my four-year old outsmarted the security software (not hard to do - kid's security sucks. I'm constantly finding him going where he shouldn't) and reformatted the SD card in his SM-T2105 . I managed to restore the files using PhotoRec, but it dumped the files into directories of like file types - i.e. .jpg's, .pdf's, .icn's etc. Would anyone be willing to share their SD card directory structure so I can recreate his as best as I can? I realize each one will be different, but it'll help. I promise to periodically backup the card from now on.
Also, I've found plenty of questions regarding how to move apps to the SD card, but so far have not found any solutions that work. I'm getting the message "Insufficient storage available" and he doesn't even have that many apps installed. He also has a 16G card that is mostly empty. The inability of the Samsung SM-T2105 to move apps to external storage is bewildering considering the pitifully poor space available.
Thanks.
Click to expand...
Click to collapse
I would like to Bump this I to have a T2105 I do not have the ability to move any apps to SD it is very frustrating.
---------- Post added at 12:43 PM ---------- Previous post was at 12:23 PM ----------
I received the following from generous fellow user @SGTDude about moving apps to sd. I haven't had time to test it, but I thought I would share it with you guys.
Quote:
Repartition the SD card with two primary partitions.
Format the first partition as FAT32.
Format the second partition as EXT4
mount the ext4 partition somewhere
mount -o rw,nosuid,nodev,noatime,discard,journal_checksum,j ournal_async_commit,noauto_da_alloc,data=ordered -t ext4 /dev/block/mmcblk1p2 /system/sd
Copy several folders over from /data
mkdir /system/sd/app
mkdir /system/sd/app-asec
mkdir /system/sd/data
mkdir /system/sd/media
cp -rp /data/app/* /system/sd/app/
cp -rp /data/app-asec/* /system/sd/app-asec/
cp -rp /data/data/* /system/sd/data/
cp -rp /data/media/* /system/sd/media/
add the following lines to /data/local/userinit.sh
mount -o rw,nosuid,nodev,noatime,discard,journal_checksum,j ournal_async_commit,noauto_da_alloc,data=ordered -t ext4 /dev/block/mmcblk1p2 /system/sd
mount -o bind /system/sd/app /data/app
mount -o bind /system/sd/app-asec /data/app-asec
mount -o bind /system/sd/data /data/data
mount -o bind /system/sd/media /data/media
Note: *"/dev/block/mmcblk1p2" is probably right on any SGT3 7" running Kids Rom, but I'd double-check if I were you.
Sent from my SM-T210R using Tapatalk
Click to expand...
Click to collapse
I saw this on http://forum.xda-developers.com/showthread.php?t=2548241 but i really don't know how to do what it ask and no one ever confirms if it works. So I am at a loss. I can't reply because I am a newb.