Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,920 Members 42,247 Now Online
XDA Developers Android and Mobile Development Forum

How to exchange memories

Tip us?
 
Roker1
Old
(Last edited by Roker1; 26th May 2013 at 12:10 PM.)
#1  
Senior Member - OP
Thanks Meter 62
Posts: 255
Join Date: Jan 2013
Default How to exchange memories

Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitab78, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:

ICS:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd


The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in system/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!

Congratulations
All rights reserved to Danitab78

JELLYBEAN:

I copied kumas post, so thanks to him here and here

ROOT IS REQUIRED and Jelly Bean
I made/copied (lol) this script by combining Artas182x and Mateo1111 scripts
this is how you would save it as script (.sh file)
Code:

#!/system/bin/sh

SU

busybox mount -o remount,rw /

busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
if busybox mount | busybox grep vold/179:61; then
busybox mount -o bind /data/media /storage/external_SD
busybox rm /storage/external_SD/external_sd
busybox chmod -R 777 /storage/external_SD
fi


Or just download the attachment and unzip to your sdcard and run with smanger or similar app (and set to boot at startup if you want)

Note:
1.When using the camera and video recorder, change settings storage to internal memory (if you don't, you will have to reboot the phone to see your pic/vid you just took)

2.This script will allow you to install large size games (ex. Asphalt 7) but you will still need link2sd (to move apps to your external_SD)
Now if you use the link2sd app, select the "create symbolic link"
lol one more thing, you will need to partition your sdcard to use link2sd.

3.If y'all have busybox installed properly this script should work fine. In addition, this script is all set for init.d (but i have problems using this method). You will get an error for SU, because it's set for init.d. However, the script still works fine through a terminal.


Warning, using Android Tuner app can mess up your L9 and I'm not responsible if you do!
Or if you don't want to use link2sd and partition your Sdcard, you can use Android Tuner However, this app is really advance and you should make a CWM backup (thanks to Artas182x) before messing with this app. It has a lot of options and you could mess the phone up.

I did it for a better english, i hope
Attached Files
File Type: txt extsd2internalsd.txt - [Click for QR Code] (168 Bytes, 4391 views)
File Type: zip 97extsd2sdjelly.zip - [Click for QR Code] (482 Bytes, 1911 views)
The Following 34 Users Say Thank You to Roker1 For This Useful Post: [ Click to Expand ]
 
hkfree
Old
#2  
hkfree's Avatar
Senior Member
Thanks Meter 56
Posts: 200
Join Date: Feb 2012
Location: Hong kong
Default Re: How to exchange memories

Will it take the apps into it!?

Sent from my LG-P765 using xda premium
Phone: LG L9 p765
Baseband version: v20e hk p765
Build number: Kitkat CM11
 
Roker1
Old
#3  
Senior Member - OP
Thanks Meter 62
Posts: 255
Join Date: Jan 2013
Quote:
Originally Posted by hkfree View Post
Will it take the apps into it!?

Sent from my LG-P765 using xda premium
I did it and i installed NFS Most Wanted and Asphalt 7, so definetly yes
 
itoit
Old
(Last edited by itoit; 20th January 2013 at 04:16 PM.)
#4  
itoit's Avatar
Member
Thanks Meter 2
Posts: 31
Join Date: Feb 2011
it works, my internal now states 16gb

but i still don`t understand " The only thing to do is create a "external_sd" folder in external_sd"

does it means i have make folder external_sd after all the process?
in process so should be like this
1. install script manager
2. load script
3. check internal sd now should be as big as our mmc
4. create a "external_sd" folder in external_sd

does it right?
 
Roker1
Old
(Last edited by Roker1; 20th January 2013 at 04:47 PM.)
#5  
Senior Member - OP
Thanks Meter 62
Posts: 255
Join Date: Jan 2013
Normally, in /mnt/sdcard there is a folder named "external_sd" that is your microsd card, you have to create a folder named "external_sd" in it.
It doesnt matter if you create it before or after the script, i did it after and it worked but i think it would have worked in any case
 
inotis
Old
#6  
inotis's Avatar
Member
Thanks Meter 4
Posts: 53
Join Date: Jun 2012
Default Re: How to exchange memories

Perfect it worked!!!

Sent from my LG-P760 using xda app-developers app
 
itoit
Old
(Last edited by itoit; 21st January 2013 at 08:39 AM.)
#7  
itoit's Avatar
Member
Thanks Meter 2
Posts: 31
Join Date: Feb 2011
it really is move data of the application..

but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"

is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
 
sunnydsouza
Old
#8  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jan 2013
Quote:
Originally Posted by Roker1 View Post
Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitba87, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:

mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd

The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in sys/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!

Congratulations
All rights reserved to Danitba87

I did it for a better english, i hope


Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone...
 
itoit
Old
#9  
itoit's Avatar
Member
Thanks Meter 2
Posts: 31
Join Date: Feb 2011
Quote:
Originally Posted by sunnydsouza View Post
Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone...
nope, you must have access to /system by rooting ur phone
 
danitab78
Old
#10  
Junior Member
Thanks Meter 15
Posts: 21
Join Date: Sep 2007
Quote:
Originally Posted by itoit View Post
it really is move data of the application..

but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"

is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
the script work only for swith internal sd card whit external.
No need move apk in sdcard

The Following 2 Users Say Thank You to danitab78 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes