Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

How to exchange memories

OP Roker1

20th January 2013, 01:04 PM   |  #1  
OP Senior Member
Thanks Meter: 62
 
257 posts
Join Date:Joined: Jan 2013
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, 4706 views)
File Type: zip 97extsd2sdjelly.zip - [Click for QR Code] (482 Bytes, 2227 views)
Last edited by Roker1; 26th May 2013 at 01:10 PM.
The Following 34 Users Say Thank You to Roker1 For This Useful Post: [ View ]
20th January 2013, 02:22 PM   |  #2  
hkfree's Avatar
Senior Member
Flag Hong kong
Thanks Meter: 56
 
200 posts
Join Date:Joined: Feb 2012
More
Re: How to exchange memories
Will it take the apps into it!?

Sent from my LG-P765 using xda premium
20th January 2013, 02:27 PM   |  #3  
OP Senior Member
Thanks Meter: 62
 
257 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by hkfree

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
20th January 2013, 05:12 PM   |  #4  
itoit's Avatar
Member
Thanks Meter: 2
 
33 posts
Join Date:Joined: 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?
Last edited by itoit; 20th January 2013 at 05:16 PM.
20th January 2013, 05:42 PM   |  #5  
OP Senior Member
Thanks Meter: 62
 
257 posts
Join Date:Joined: 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
Last edited by Roker1; 20th January 2013 at 05:47 PM.
20th January 2013, 05:49 PM   |  #6  
inotis's Avatar
Member
Thanks Meter: 4
 
54 posts
Join Date:Joined: Jun 2012
Re: How to exchange memories
Perfect it worked!!!

Sent from my LG-P760 using xda app-developers app
21st January 2013, 09:02 AM   |  #7  
itoit's Avatar
Member
Thanks Meter: 2
 
33 posts
Join Date:Joined: 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" ??
Last edited by itoit; 21st January 2013 at 09:39 AM.
21st January 2013, 09:10 AM   |  #8  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by Roker1

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...
21st January 2013, 09:20 AM   |  #9  
itoit's Avatar
Member
Thanks Meter: 2
 
33 posts
Join Date:Joined: Feb 2011
Quote:
Originally Posted by sunnydsouza

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
21st January 2013, 12:43 PM   |  #10  
Junior Member
Thanks Meter: 15
 
21 posts
Join Date:Joined: Sep 2007
More
Quote:
Originally Posted by itoit

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes