Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,460 Members 40,368 Now Online
XDA Developers Android and Mobile Development Forum

[method] change play store download location

Tip us?
 
xday123
Old
(Last edited by xday123; 10th April 2014 at 04:05 PM.)
#1  
xday123's Avatar
Member - OP
Thanks Meter 18
Posts: 37
Join Date: Jan 2014
Location: karachi
Thumbs up [method] change play store download location

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.
 
cnboot
Old
#2  
cnboot's Avatar
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Mar 2014
Location: China
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.
 
ShadowTehAmazing
Old
#3  
ShadowTehAmazing's Avatar
Junior Member
Thanks Meter 4
Posts: 13
Join Date: Apr 2014
why would you ever want to do that?
 
xday123
Old
#4  
xday123's Avatar
Member - OP
Thanks Meter 18
Posts: 37
Join Date: Jan 2014
Location: karachi
It can create a link. Try again

Sent from my GT-S5360 using Tapatalk 2
 
xday123
Old
#5  
xday123's Avatar
Member - OP
Thanks Meter 18
Posts: 37
Join Date: Jan 2014
Location: karachi
For mobiles with less internal memory

Sent from my GT-S5360 using Tapatalk 2
Tags
android, galaxy y, play store, sd card
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes