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

[method] change play store download location

OP xday123

10th April 2014, 05:03 PM   |  #1  
xday123's Avatar
OP Member
Flag karachi
Thanks Meter: 20
 
37 posts
Join Date:Joined: Jan 2014
Hi guys, today i am here to tell you a method only tested on a galaxy y, but i hope it will work for all. this is a method to change the download location for play store.

WARNING!!!
1. WARRANTY IS NOW VOID.
2. NOT MY PROBLEM IF SOME APP FAIL.
3. PLEASE, PLEASE, PLEASE DO A NANDROID BACKUP BEFORE THIS.


This is a simple code but it needs root for sure. now the necessities are as follows:
1. A complete nandroid backup
2. Root Permissions
3. Any terminal emulator. e.g https://play.google.com/store/apps/d...cticman.jsterm
4. You need to know the default download location and the mount point of sd card( if that is where you want the new download location )

Now let's start.
Just know this that mnt/sdcard will have to be replaced by your sdcard mount point and data/app will have to be replaced by the default download location. i underlined them for easy understanding.

NOT MY PROBLEM IF THIS FAILS AND YOUR PLAY STORE CRASHES. JUST DO A NANDROID RESTORE.

THERE WILL ALREADY BE A $ AT START SO U DON'T HAVE TO PUT IT.

Quote:

$ su
# mkdir /mnt/sdcard/playstore
# cp -r /data/app/* /mnt/sdcard/playstore
# rm -rf /data/app
# ln -s /mnt/sdcard/playstore /data/app

what the code does:
1. Grant super user permissions
2. Make a directory in sdcard named playstore.
3. Copy all items (recursively) from data/app to sdcard/playstore
4. Delete data/app
5. Symlink the new location to fake the original.


Hitting Thanks can help.
and once again PLEASE BACKUP BEFORE THIS AND RESTORE IF NOT SUCCESSFUL.


This is based on the code used by link2sd.
Last edited by xday123; 10th April 2014 at 05:05 PM.
10th April 2014, 05:28 PM   |  #2  
cnboot's Avatar
Junior Member
Flag China
Thanks Meter: 1
 
9 posts
Join Date:Joined: Mar 2014
More
The sdcard is fat32 or ntfs, but the fat32 and ntfs doesn't support link,only ext2,ext3,ext4 and so on support the link

---------- Post added at 11:28 PM ---------- Previous post was at 11:16 PM ----------

Well,i have had a try, this code can work,and it can creat a link on /data/app, but it can't creat a link on /mnt/sdcard, i think i have made a mistake.
10th April 2014, 07:31 PM   |  #3  
ShadowTehAmazing's Avatar
Junior Member
Thanks Meter: 5
 
16 posts
Join Date:Joined: Apr 2014
More
why would you ever want to do that?
11th April 2014, 04:37 PM   |  #4  
xday123's Avatar
OP Member
Flag karachi
Thanks Meter: 20
 
37 posts
Join Date:Joined: Jan 2014
It can create a link. Try again

Sent from my GT-S5360 using Tapatalk 2
11th April 2014, 04:38 PM   |  #5  
xday123's Avatar
OP Member
Flag karachi
Thanks Meter: 20
 
37 posts
Join Date:Joined: Jan 2014
For mobiles with less internal memory

Sent from my GT-S5360 using Tapatalk 2
Post Reply Subscribe to Thread

Tags
android, galaxy y, play store, sd card
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes