I've got a Galaxy Grand Prime Plus and it is really trash. After first boot (nothing installed) it had 1GB free, after setting up google account it started to update its own apps (there were 20 updates, Samsung apps, Google apps, etc) while updating its own apps it ran out of space and asked me to free space so that Google Play can continue to update and I was like "wtf, how can I free space when I didn't even start using the storage."
So long story short, I rooted the device, Installed SuperSu, modified `/system/etc/init.sec.boot.sh` context and content so that it runs as root user with `init` context, formatted my sd card as ext4. Now I can mount my sd card ~5-6 sec after init starts. I'm trying to do one of these:
1. It would be great if I could rsync contents of `/data` to sd card and somehow replace it with the mounted sdcard in early boot stages.
2. If above is not possible, it would also be great if I could rsync contents of `/data/data` and `/data/app` to my sdcard and replace them during boot.
Can I achieve one of above goals?
Related
Hey there guys...
To start with i have my S3 two days now and i absolutely love this phone...:')
But,after installing lots of games my internal memory has gone full and i can't download any data in-game because i have low storage space...
My external sd on the other hand is around 10gb free but when i try to move the data to the same folder on the external the data isn't identified by the game and it asks me to download again?
It has become really frustrating,it seems i can't do anything about it...
Any suggestions to try?
Cheers,George
As the system now uses unified storage all apps will remain on internal memory; moving the data alone to an external SD card will have no use without altering the application to look for that location for its data. i.e. in the GS2 you had a move to SD option since the phone was partitioned. With the S3 however this option is not there which means that when an application is downloaded all of its information needs to be stored on the internal storage. When the "Move to SD" option was selected within the S2 or prior phones, it informs the application that its new location is within x folder rather than the folder it was originally downloaded too. Since this option is no longer there then the application has no way of being told where its new location is.
Maybe move to SD could be an add-on with a mod/hack but I am not sure if this is possible. Maybe check with a developer?
Have you got a prior Android phone? Maybe install the application on to it; use the "Move to SD" option and see if that will allow it? It's just a suggestion; if you don't have a different Android phone I can try it for you.
Edit: Just tried it; the phone itself doesn't even check for applications stored within an external SD. Sorry man - the only way around it would be a mod/custom/hack (if possible).
T__ said:
As the system now uses unified storage all apps will remain on internal memory; moving the data alone to an external SD card will have no use without altering the application to look for that location for its data. i.e. in the GS2 you had a move to SD option since the phone was partitioned. With the S3 however this option is not there which means that when an application is downloaded all of its information needs to be stored on the internal storage. When the "Move to SD" option was selected within the S2 or prior phones, it informs the application that its new location is within x folder rather than the folder it was originally downloaded too. Since this option is no longer there then the application has no way of being told where its new location is.
Maybe move to SD could be an add-on with a mod/hack but I am not sure if this is possible. Maybe check with a developer?
Have you got a prior Android phone? Maybe install the application on to it; use the "Move to SD" option and see if that will allow it? It's just a suggestion; if you don't have a different Android phone I can try it for you.
Click to expand...
Click to collapse
Thank's for the answer...
In my galaxy s 1 i had no problem having the games data on the sd card,i havent moved and application to the sd but i had the data on sd and everything worked great...now...i don't get it....:/
nfsmw_gr said:
Thank's for the answer...
In my galaxy s 1 i had no problem having the games data on the sd card,i havent moved and application to the sd but i had the data on sd and everything worked great...now...i don't get it....:/
Click to expand...
Click to collapse
I did check for you; the S3 physically doesn't look for application data in the external SD (I edited original post after testing few things).. There probably are ways around it as mentioned but you would need to speak with developers for further insight.
If worst comes to worst application developers may have to implement a look in x location first, if no data found, look "here" in to their applications.
As the phone is unified storage you can store applications in the full ~12GB storage space (All the ones I have, have roughly 11.3GB after OS and all is on it) so have you used the phones storage itself for only applications; and the SD for media etc?
I am interested to know how you have managed to fill at least 11GB of space with applications; how many do you have? How is the performance of the phone with this many applications on it? Any lag navigating (I know there shouldn't be with quad core processor - but it's interesting to know if hundreds of applications cause lag between screen scrolling).
You can use an app called directory bind to link the game data on the SD to a mounting point on the internal SD. Search for it and you'll find it, not sure if I got it here or the play store.
Sent from my GT-I9300 using xda premium
Yup, there's directory topic on forum, as well as working 'gl to sd' app in play store. It is not just for gameloft games.
Sent from my SGH-I747M
Thank you all guys!!
Well i filled it with lots of games that's why i don't have much space available!
No the phone is flying,it doesn't lag at all!
I use Dragon Ics rom and Siyah Kernel...no oc....
I'll try directory bind and post back soon!
To put applications on the sdcard, you could use symlinking (confirmed this works myself).
Install the application, then go to /data/app and move the apk file to your sdcard (/mnt/extSdCard) or inside a folder on your sdcard.
Then type ln -s /mnt/extSdCard/your-apk.apk /data/app/your-apk.apk
Ok this is really annoying that all the app2sd apps only see the 8gig of the USB which is internal on the S1 but says its external on the tablet,
Are there any apps that can move files to the external SD card, on my samsung phone a couple of years ago i had an app installed that did this automatically when installing anything.
tonycrew said:
Ok this is really annoying that all the app2sd apps only see the 8gig of the USB which is internal on the S1 but says its external on the tablet,
Are there any apps that can move files to the external SD card, on my samsung phone a couple of years ago i had an app installed that did this automatically when installing anything.
Click to expand...
Click to collapse
ive got the exacts same problem. its really annoying. but you can make your own script for REAL App/Data 2 SD.
youll just need Scriptmanager to boot the script on start up.
This is an example for my obb folder, which is now placed on the sdcard 2. it saves storage
But dont forget, if u dont fire up the script manually or start it up on boot, your game will try to redownload every data and place it on internal sd again.
Feel free to add some paths: i.e like the gameloft data stored on /android/data/"gameloftfoler".
" #!/system/bin/sh
#OBB Folder
mount -o bind /mnt/sdcard2/Gamesrelated/obb /mnt/sdcard/Android/obb "
(without qoutes)
create a script with scriptmanager, give it root and boot rights. there you go :good:
Thanks i will try that.
Thanks!
Hi there, noob speaking... (at least in terms of Android)
Let's start with the fact that I bought rooted phone with Cyanogenmod alredy installed which is my 1st Android device. That way I omitted few steps of learning how to root, how to flash it, etc. not to mention that I'm not a Linux guy, so even the way system handles folders and files is new for me. As the problem is more phone-related than system-related I'm posting it here, on XDA.
I'm trying to learn how to partition an "internal SD card" to make it work with Link2SD. I've found lots of tutorials how to do this with an external memory card, but there is not much info about doing the same with internal storage. I've found a tutorial for a diffrent phone, but I'm worried that droid devices seem to be very diffrent and simply retyping everything without understanding what I'm actually doing may cause more harm than good.
My biggest objection is the fact that I'm alredy using my internal SD and beside various media files (photos, music, etc.) there are lots of system, or app related stuff there. There are folders like .android_secure which as I guess store app-related files (or even parts of apps that I moved to SD with build-in feature). If this was Windows, I'd simply back up everything, format it, partition into "general storage" and "app memory" and put backed up files back directly onto new partition only worrying to keep correct letters assigned to new partitions. I'm preety sure that doing same in Android (by copying everything to PC and back to phone) would not work because all those permisions, or am I wrong?
Anyway - Any advice how to do this?
Additional question is related to accessing whole phone memory via PC connected by USB. I know that Android phones are made with security in mind and "system" partition is hidden when connecting USB, but there should be some other way than browsing everything from some phone apps with root permissions. I'd really like to browse my phone both for educational reasons and to check what really takes up space on my "system storage". I'm suspecting that some app went crazy eating lots of space, because once every time I uninstalled something my storage after few minutes was again at 20mb level and it continiued for some time.
BTW: Is there any reason why having about 200mb empty space for apps is not enough to install or update some small applications, while other install even when just 100mb is left?
Tl;dr:
-How to partition internal SD to make it work with link2sd while there are some system/app files on internal SD alredy?
-How to browse "system memory" from PC via USB?
-Why some apps don't install when there is still 200mb+ free space?
I'm not by any meaning a technology, software, programming expert, please forgive my beginner language.
I have the LG P769 20h
I have rooted my phone
I have partitioned my SD card
I have installed Link2SD and App2SD
I receive an error message when I try to move apps to my SD card using Link2SD "App2SD is not supported by your device. Because your device has primary external storage which is emulated from the internal storage. You can link the app in order to move its files to your SD card"
I have successfully "linked" apps to my SD card but that hasn't created any additional storage space. I still can't download apps due to insufficient storage.
Please help!! I'm reaching the end of my sanity in trying to figure this out! I'm about to just go buy a new phone, but this one isn't even a year old yet!
Also, please respond in layman's terms, since i'm not a guru in this arena.
THANK YOU!!!
ZanyAL711 said:
I'm not by any meaning a technology, software, programming expert, please forgive my beginner language.
I have the LG P769 20h
I have rooted my phone
I have partitioned my SD card
I have installed Link2SD and App2SD
I receive an error message when I try to move apps to my SD card using Link2SD "App2SD is not supported by your device. Because your device has primary external storage which is emulated from the internal storage. You can link the app in order to move its files to your SD card"
I have successfully "linked" apps to my SD card but that hasn't created any additional storage space. I still can't download apps due to insufficient storage.
Please help!! I'm reaching the end of my sanity in trying to figure this out! I'm about to just go buy a new phone, but this one isn't even a year old yet!
Also, please respond in layman's terms, since i'm not a guru in this arena.
THANK YOU!!!
Click to expand...
Click to collapse
Hi ZanyAL711
You've pretty much done the proper steps to try and get apps to work. The reason that it's not working is that the phone, android version (not supported after 4.0+), most of the downloaded user apps and device system apps, just really doesn't support this feature.
The L9 has only 4gb total memory, which most of that is used by the "/system" partition and leaves a very limited user usable internal memory on the "/data" partition of something only like 1.6gb to 1.8gb of user stirage. Which barely leaves any room for the user to store user apps and or data on the device.
To kind of break it down to you in simple terms...
As i mention above, in android there are 2 main partitions on the devices internal memory:
The "/system" partition - This is where the OS, system apps, etc... are stored. No user data is stored on this partition.
The "/data" partition - This is where all of the user data is stored on the device.
Inside the "/data"partition you have -
"/data/apps"
"/data/data"
"/data/apps" Is where Downloaded user apps are stored and intalled to.
"/data/data" This is where the user "System settings", things that you have changed on the device (ringtones, wallpaper etc) are stored.
Also there are a several other minor partitions on the device but these really have no use to the topic at hand.
Both of these main partitions "/system" and "/data" are on the internal nand flash memory or eMMC (Embedded MultiMedia Card)
The whole data partition is used for user apps and system data only. Which leaves no where for music, movies, photos, documents etc. to be stored on the device.
This is where the external SD card comes into play and allows you to store music, movies, docs etc. off of the devices internal memory. The problem here is that, eben though the L9 has an external/removable SD card, it also has a small internal nand flash memory and it doesn't allow for much user data to be stored in the device and is causing the problem that you have, which is really the phone's lack of internal memory.
So there's not very many more options for you to try other than maybe the following.
You could try the method where you edit the build prop and run a script that allows you to add the feature to move apps to the SD card in "settings/apps/" menu
This can allow you to move some apps to the SD card. Again thought it's not a solution to the problem, but might help.
http://forum.xda-developers.com/showthread.php?t=2372172
Another option and probably the best one... Would be to install kuma82's stock modified ROM/backup. It's not custom ROM... It's slightly modified stock ROM and has extra apps, features and it's themed. Looks great too, way better than the complete stock ROM look. It also has an internal/external memory swapt script. You can read about it in the 2nd post of the ROM thread.
http://forum.xda-developers.com/showthread.php?t=2468880
It's a simple process, doesn't require the bootloader to be unlocked and kuma has directions for what you need and how to install it, in the 2nd post.
I personally have kuma's ROM running on my wife's L9 and no way would I go back to 100% stock ROM after running his.
Anyway hope this helps!
I have a Moto G6 with Android 9. My phone only has 32GB of internal storage which is basically full which is affecting the operation of the phone. I have installed a 128GB microSD of which only 14 GB is used, and have moved over the apps allowed to the card (will only let me move select apps). What else can I move the microSD to open storage on the internal memory and allow the phone to function better. Internal storage is so full many apps will not work and tell me I must update them to use but I do not have enough internal memory to update them. Help me take advantage of the ample available storage on my microSD! Thank you.
Use the SD card for critical data not apps.
All apps should be on internal memory only except for their backup files.
You may have outgrown your phone. Reduce the number of apps or files on the internal memory.
There's a limit to what you can do on a stock device.
How are you at unlocking the bootloader and flashing replacement firmware?
When you download and install apps on an Android device, they are installed in a specific slice of the internal file system. The size of that slice is is set by the device vendor in the Android image they place on the device. The size of tht slice is the amount of space you have to install apps, period. It is not user modifiable. If you run out of space your choices are normally "remove some less used apps to make room for new ones" or "Buy a new device with greater app storage and migrate everything to it."
What you probably have to do iis flash replacement firmware. This requires you to be able to unlock the boot loader, and that there be replacement firmware that does what you want. Make a complete backup of your phone before doing this sort of fiddling, so that you can reset the phone to factory defaults andr estore your backup to have a working phone if something goes wrong. (XDA Developers has lots of "please help" threads form folks who bricked their devices trying to do this sort of fiddling. Have a fallback plan.)
There should be threads here on the Moto G6 and what your options might be.
>Dennis