[Q] "Data2SD" app compatible to Link2SD? - General Questions and Answers

Hello, this is my first post on xda-developers.Although it is for experienced people.
These days I am experiencing a very big problem that needs to be solved.I have spent whole DAYS to find a final solution but still I am almost at 0.I was going mad...It may sound easy but its not.
The problem starts here: After downloading Link2SD and partitioning my external SD in order to save space, I realised that actually Link2SD was not so great as it didnt help that much to save space. Why? Because the most space was not held by apk,dex and lib files but by the data files!!
The result was this
I found many apps that could move data to SD, but most of them with no result: FolderMount,Titanium Backup,GL to SD , directory Bind.
FolderMount: It was the first I tried. For some very strange reason I was getting an "Unknown Error" for some app data that I was trying to move.Also it corrupted some data too.Some random times was working though.
Titanium Backup:The most famous "data2sd" app. I was surprised when I found out this one had the ability to move data to the 2nd partition of the external SD.But it failed, as there was not such an option every time I selected an app. As I understood that is because Titanium Backup can support only some specific paths of the SD card. Mine is data/sdext2 but Titanium wants /data/sd or /system/sd/ or /sd-ext/ . Many Titanium users had the same problem on other threads. But most answers recommended to mount a script in init.d folder. A guy suggested to change the folder name from sdext2 to sd. BOTH of these solutions FAILED. 1) My phone ( no ROM installed) does not support init.d and for some reason every "init.d support" app I downloaded was a waste of time.Additionally I cant even make an init.d folder in system/etc...I dont know why...I make it, but it doesnt appear.
2) When I try to rename "sdext2" folder to "sd" it disappears...
GL TO SD: This is a nice app which was working when I tried it. Though I was not able to move the app data from external SD back to the internal storage.And this is a problem.
Directory Bind: I installed it. The first time it worked, and then it stopped...But except from that it cant move data back to internal storage as GL to SD and it does not list the data which I have moved.Also I have to manually find the path of an app's data.
OK. I know that I gave too much info and some of these may be a little confusing but thats the truth. The biggest mess is Titanium Backup as you can see, which is really a mystery. FolderMount maybe tries to move the data to the 1st partition of the SD and because of the small space shows error.Not sure though.
So lets make it more clear. Are these apps compatible with Link2SD and the partitioned SD card? If not, do you have any solution for the Titanium Backup? Do you know any Link2sd friendly "data2sd" app? What I want is just to find a way to move the data to external SD while I have Link2sd. And its really amazing that Link2SD has more than 10 million downloads and there is not a standard "data2sd" app which is actually more important than Link2sd !
Secondary Question: In many threads I saw the term : "Flash this zip in Recovery"...What does it mean and how can I do it?
Waiting for some answers. If you have any questions or want a more specific explanation about something, just ask me
Thanks a lot!

I use these triple combos on all phones ive tested (Link2sd ext4-4gb on sandisk class 10 32gb + folder mount for data+obb + titanium backup /data/sd terminal mod). You can get phone memory usage as low as 200mb. All these on my past stock tipo st21i, my new stock xperia play, ninetology i9480 and stock galaxy win i8552. My usual setups: 4gb of ext4 - ics and up / ext3/ext2 - depends on phone. I use ext3 for my play. Folder mount: i mount the entire /Android/data to external sd. Titanium? Use this AFTER your link2sd mounts your ext4.
---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------
I use these triple combos on all phones ive tested (Link2sd ext4-4gb on sandisk class 10 32gb + folder mount for data+obb + titanium backup /data/sd terminal mod). You can get phone memory usage as low as 200mb. All these on my past stock tipo st21i, my new stock xperia play, ninetology i9480 and stock galaxy win i8552. My usual setups: 4gb of ext4 - ics and up / ext3/ext2 - depends on phone. I use ext3 for my play. Folder mount: i mount the entire /Android/data to external sd. Titanium? Use this AFTER your link2sd mounts your ext4.

Check these screenshots. The "ln" is little "L" its not a big "I".
Sent from my R800i using XDA Free mobile app

flash this zip in recovery ~means reboot, access your recovery menu (cwm/twrp), pick flash .zip from file (where did you put those .zip files?), flash it, reboot to normal system, done.
Sent from my R800i using XDA Free mobile app

zzztidurvirus said:
flash this zip in recovery
Click to expand...
Click to collapse
What zip file?

Related

How to get more internal space on galaxy fit

firstly I'm not responsible for any kind of damage caused to you
but I have tried all the things on my galaxy fit before explaining here
It's not copied from somewhere instead It's based on my experience on my galaxy fit.
For Non Rooted Devices
There is nothing other then using app2sd apps. Then move all the movable items to sd card. After installing app2sd all newly installed apps are automatically moved to external storege.
I uses app2sd by sam lu.
But for non rooted users I will highly recommend to root there device and make the best use of this smartphone.
for beginners everything about rooting/custom roms/nandroid backups etc is explained in this thread
http://forum.xda-developers.com/showthread.php?t=1606380
thanks a lot to A.cid for this wonderful guide
For Rooted Device
apps required
1.Root explorer or similiar
2.Link2SD (Link2sd Setup is explained later in this post)
step 1.Removing Useless system apps from stock or custom rom
go to /system/app using root explorer and mount as r/w
now delete unwanted apps
I will prefer freezing the app first using link2sd and then if phone is working fine then you can unfreeze and then delete that app
Step 2. Removing dalvik cache files
go to /data/dalvik-cache
now search for the dalvik cache files of deleted system apps
it will having name like
[email protected]@[email protected]
delete this file
Step 3. Linking files to Sd-ext or second partition of Sd card
if you have finished Link2sd setup then you can proceed further
open link2sd and then create Link for all the apps you want to linked to sd card
check all the 3 box 1. link apk 2. link dex 3. link lib files
and then your app will be moved to the sd-ext partition
if there are apps which are used very frequently then i prefer not linking dex files to sd card. link only apk for them.
currently system apps can't be linked using link2sd
In the case if app is not working properly after linking then remove links for that app.
Plz help me to improve this article.
suggestions and questions are welcomed.
forgive me for my poor english
Plz help in improving this article. If there is anything wrong in this post let me know. and if you have any other simple method to do this plz post here and help beginners to get more space. But try not to post complicated method which beginners find hard to perform
this post is for beginners
Link2SD steup on galaxy fit
Copied from A.cid main article from
http://forum.xda-developers.com/showthread.php?t=1606380
There are a lot of ways and scripts to transfer apps from your internal memory to the sd ext partition, but the most consistent method I found was Link2sd.
This method works across all roms (rooted stock and custom, both) that I’ve tried, even on all variations of CyanogenMod7 (CM7) as well as on ICS CM9, and is very easy to setup and use.
However, if a custom rom already has DarkTremor's a2sd (a2sdgui app will be present) or any similar script, then DO NOT configure them.
for example: Creeds v3 has a2sdgui, and if i want to use Link2sd, then after flashing Creeds, i SHOULD NOT run a2sdgui, and directly install (and configure) Link2sd...if you run/configure a2sdgui, then it will clash with the working of Link2sd.
Similarly, if any custom rom has any memory hack already implemented, then you cannot use Link2sd...
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.
Link2sd is also an excellent (and fast loading) app manager, with which you can freeze, uninstall, re-install…though you can move only user apps to sd-ext partition.
Also, there is no point in having your entire phone memory empty, so you probably should unlink the dex (dalvik cache) of your apps. I usually link only the apk and lib files, and leave the dex files unlinked and on the phone storage, so as to avoid any sluggishness in operation., though if your phone memory still fills up, you can link the dex of your rarely-used apps, and leave the dex of important and frequently used apps on the phone storage.
Suppose a custom rom has s2e/app2sd pre-implemented, then after a fresh install, FREEZE the app (rather than uninstall), and then install Link2sd...
Also, if you get error "mount script not created", then choose partition as ext4 (rather than ext3 mentioned below), even though your partition might be ext3...(don't know why this happens with some roms )
In some custom Roms Link2sd doesn't mount sd-ext partition even after selecting correct type of partition in that case try to select other types whether they are working or not
Like in Chocobread v3.2 it worked after selecting partition as ext4
Plz view this thread if you are still facing any problem
Go through this thread
http://forum.xda-developers.com/showthread.php?t=1698813
What happens when we install a new app??
I'm not a developer but this is what I experienced
/data directory is the space which is shown as Internal Storage in phone
/system directory has nothing to do with this internal storage
when we install a new app then it during the installation process three things happens
1.it creates an apk file in /data/app
2.creates an .dex file in /data/dalvik-cache
3.creates one folder in /data/data
when we move apps to sd that apk file moved to sd storage in
.android secure folder and creates an .asec file there
so basically that .dex file and data files are responsible for eating our internal space and for the apps which can't be moved to sd that apk file is also responsible.
we can't use widgets if app is on sd storage.
so in order to use widgets we have to move back to internal storage.
this is where Link2sd helps us
link2sd links selected files to sd-ext partition and for system it still appears in internal storage but it's not there actually.
While for system apps
.apk files remains in /system/app
only .dex files are in data/data directory
we can use widgets of system apps even apk files are not in /data/app directory
so it is recommended that if you want to use widget of the app but you don't want it on internal space(as it is using much more space while it is in internal memory)
here is the solution
create an apk file for that app using any backup app
then move that file to /system/app
change the permissions to rw-r--r--
for this simply see the permissions of any other system app and apply same here
to system
Simply partition your sd card via cwm.. U can get as much internal space as u want..
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Nikhil_G said:
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
a.cid said:
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
Click to expand...
Click to collapse
Yeah right...
Informative Thread
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
can you detail the procedure please.
vikrant prabhakar said:
can you detail the procedure please.
Click to expand...
Click to collapse
partition ur sd card through cm recovery then install s2e from play store now all cm7 rom come with pre install s2e script .
Another way is to use terminal emulator .
Download terminal emulator from the PlayStore and then run the following codes:
Code:
su
*grant/allow superuser permissions*
Code:
pm set-Install-Location 2
exit
exit
Note: sometimes if you get an error you may have to run
Code:
pm setInstallLocation 2
if it fails.
All this does is it allows moving many apps that aren't normally movable to the SD card. After running these codes you should be able to move apps to the SD card via Settings>Apps.
This code also sets the default location for apps to install into as the SD card.
What i do for more internal memory..!
Partitioning your sd card is an option. But if you have a sd card of less storage then this option is ruled out. I use a 2gb sd card and partitioning it is not very feasible for me. so...
1. If I'm on a stock gingerbread ROM i use this script http://forum.xda-developers.com/showthread.php?t=2303856 .
(I dont use it very often. Only if necessary.) And i odex the ROM if it is de-odexed by using http://forum.xda-developers.com/showthread.php?t=2303856 Universal Odex Script by MatrixDJ96. Odexing works very well!!! :good:
2. For a custom ROM not many modifications are needed. I just remove the unwanted apps using Link2SD. :good:

[GUIDE] Titanium Backup Move app data 2 sd

Hi guys,
Titanium backup is a great root tool. Apart from creating and restoring backups Titanium Backup can also move app data to sd.
[ ROOT REQUIRED ]
I tried it and faced a few problems.
"NO DATA 2 SD DIRECTORY DETECTED"
After searching for answers and not getting any i decided to create a answer my self.
So this is a step by step method to move app data to sd using Titanium Backup
(BASICALLY FOR NOOBS BUT OTHERS CAN PARTICIPATE TOO)..
1. Root your device following the tutorial for your device
2. Create 2 Ext Partition (if you have already done so please move to no. 3)
a. switch of your device and take out your sd card.
b. use a card reader to plug it in your pc ( DO NOT USE YOUR DEVICE TO ACCESS THE CARD)
c. download Mini Tool Partition Wizard
d. create to ext 2 or 3 or 4 partition..Make sure the partition are primary and not logical and the partition size b/w 1GB to 2GB
e. After partitioning insert your card in the device and reboot the device.
3. Download Titanium Backup
4. Open Titanium Backup and open the Backup and Restore Tab.
5. select a SINGLE APP and long press.
6. Select "move app data to sd". A popup will open asking to create a data 2 sd directory.
7. Select Yes.
8. Batch select all apps and move app data to sd.
9. Viola see how your internal memory jumps up..
10. Have fun :good:
PS- If anybody finds any error in the guide then please tell me.
PS- Moderators if you find this post has been discussed earlier then please close this thread.
And REMEMBER TO SAY THANKS..
hey
can't seem to find "move app data to sd" after the long press on an app.
I only get an option of "move to sd card"
im using link2sd as well. if that makes any difference!
cheers
dblane79 said:
hey
can't seem to find "move app data to sd" after the long press on an app.
I only get an option of "move to sd card"
im using link2sd as well. if that makes any difference!
cheers
Click to expand...
Click to collapse
I don't use link2sd..I use a2sdgui..but with whatever knowledge I have I don't think that should affect titanium backup..try reinstalling titanium backup and wiping dalvik cache...
I will try to find an answer as soon a possible..:thumbup:
Try long pressing on a user app like a game or something..
Sent from my HTC Explorer A310e using XDA
hey mate
sorted it out..
the answer was actually in the titanium backup website in the faq page !
for any1 with the same prob(for CM& based roms):
had to create a folder called "app" in the sd-ext partition
then relaunch titanium backup and then u see the sd-ext part in the home screen of titanium.
in backup/restore long click, as nilot said, long press on an app, now theres an option to move app data to sd !
select and it asks you if you want to create a /data2 folder ! do that, and thats it!
thanks for the help nilot!
S2e works well too
Real Contributors Dont BeG for Thanks
Cheers
Ti backup pro not showing up
prior to rooting my phone I was advised to download Titanium backup pro and i bought it through my pc and paid through google wallet and it was sent to my cell. I can see it on my phone when I go into settings and manage apps but there is no icon. I was going to back up my system before I rooted, just incase anything happened but now I m at a loss.... anybody?
thanks!!!
Will it work on my unrooted xperia mini ?
littleliz said:
prior to rooting my phone I was advised to download Titanium backup pro and i bought it through my pc and paid through google wallet and it was sent to my cell. I can see it on my phone when I go into settings and manage apps but there is no icon. I was going to back up my system before I rooted, just incase anything happened but now I m at a loss.... anybody?
thanks!!!
Click to expand...
Click to collapse
I think u can download the pro version for free as you have paid already..and titanium backup is a root only app..root permissions are required..
Sent from my HTC Explorer A310e using XDA
emadido said:
Will it work on my unrooted xperia mini ?
Click to expand...
Click to collapse
No..titanium backup needs root permissions..
Sent from my HTC Explorer A310e using XDA
avilove4u said:
S2e works well too
Real Contributors Dont BeG for Thanks
Cheers
Click to expand...
Click to collapse
Most answer seekers don't know how to say thanx..it is my way to teach them..
Sent from my HTC Explorer A310e using XDA
littleliz said:
prior to rooting my phone I was advised to download Titanium backup pro and i bought it through my pc and paid through google wallet and it was sent to my cell. I can see it on my phone when I go into settings and manage apps but there is no icon. I was going to back up my system before I rooted, just incase anything happened but now I m at a loss.... anybody?
thanks!!!
Click to expand...
Click to collapse
The pro version just unlocks additional functionality in the free version. You have to install the free version as well as the pro version.
EDIT: Anyway, I also can't find the option to move app data to SD. I guess I'd need to create the "apps" folder on my sd-ext partition (although my SD card's 2nd partition is FAT32, would that stop it working?). This would be great if I could figure out how to do it though.
SifJar said:
The pro version just unlocks additional functionality in the free version. You have to install the free version as well as the pro version.
EDIT: Anyway, I also can't find the option to move app data to SD. I guess I'd need to create the "apps" folder on my sd-ext partition (although my SD card's 2nd partition is FAT32, would that stop it working?). This would be great if I could figure out how to do it though.
Click to expand...
Click to collapse
I think titanium backup needs ext partition..never tried using fat32 partition..
Sent from my HTC Explorer A310e using XDA
nilot27 said:
I think titanium backup needs ext partition..never tried using fat32 partition..
Sent from my HTC Explorer A310e using XDA
Click to expand...
Click to collapse
I think you're right, I am using FAT32 because I use Link2SD on stock ROM, and my stock ROM doesn't support ext partitions. It'd be a bit much hassle for me to change things just for this, I'll leave it as it is for now.
SifJar said:
The pro version just unlocks additional functionality in the free version. You have to install the free version as well as the pro version.
EDIT: Anyway, I also can't find the option to move app data to SD. I guess I'd need to create the "apps" folder on my sd-ext partition (although my SD card's 2nd partition is FAT32, would that stop it working?). This would be great if I could figure out how to do it though.
Click to expand...
Click to collapse
i think 2nd partition needs to be ext3 or ext4. theres a guide in this forum how to do that. you need a pc with an sd card reader tho.
after that just follow the steps on this thread
How to add the APP folder
Ok ,, this sounds so noobish, but how can I add the folder 'app' to my 2nd partition of my SD card (which is formatted to EXT4) ...
Can't read the EXT4 folder on the SD card when plugged into the PC, and I've tried using a browser on the phone, but can't see the option where to view the EXT4 partition either ?!
EDIT: Nevermind, changed to a different ROM and S2EXT works fine now
I used NextApp's FX program with the Root Module installed (I'm sure Root Explorer would also work). I then used the "Filesystem Manager" tool and navigated all the way to the bottom looking for "Other Filesystems". I found one named "/data/sdext2" which appears to be my ext2 partition.
I think this may be my problem because I still cannot see the external partition even after adding the "app" folder. I did some digging in TB's FAQ and found the mentioned requirements for Data2SD:
http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-technical-faq.html#requirements-for-using-move-app-data-to-sd
20. What are the requirements for using the “Move app data to SD card” (Data2SD) feature?
Our Apps2SD scheme creates symbolic links (one per app) at /data/data/com.x.y that will point to somewhere within an ext2/3/4 partition on the SD card.
The supported mount points for the ext2/3/4 partition are:
/system/sd/ (“classic” sd-ext)
/sd-ext/ (“Cyanogen” sd-ext)
/data/sd/ (“MIUI” sd-ext)
So for Data2SD to work, you’ll need to ensure that your ext2/3/4 partition is mounted at one of these locations. Then create an “app” directory at that location in case it doesn’t exist. Once it’s done, you’ll see a free space gauge for it in the Titanium Backup welcome screen, and you can then long-click on an app in the list and hit the “Move app data to SD” button. Once you do that:
First, Titanium Backup will look for existing symbolic links in /data/data/ and attempt to re-use the same target location, if it lies within the ext2/3/4 partition.
If it finds no existing (or no suitable) destination, it will propose to create a “data2″ folder within the ext2/3/4 partition, and will then move the app’s data inside it.
So by default, you’ll get: /data/data/com.x.y => /system/sd/data2/com.x.y (in the “classic” sd-ext case).
Click to expand...
Click to collapse
I'm guessing that because my partition appears to be mounted at "/data/sdext2" instead of "/data/sd", that this is why TB cannot see it. However, as far as I'm aware, this was created by Link2SD without any intervention on my part. Does anyone know how I might be able to go about changing this? Or could I somehow put in a link to it elsewhere?
Thanks for any help that you can provide!
MechaBouncer said:
I'm guessing that because my partition appears to be mounted at "/data/sdext2" instead of "/data/sd", that this is why TB cannot see it. However, as far as I'm aware, this was created by Link2SD without any intervention on my part. Does anyone know how I might be able to go about changing this? Or could I somehow put in a link to it elsewhere?
Thanks for any help that you can provide!
Click to expand...
Click to collapse
It seems I have the same problem. I tried to rename the directory using Root Browser Lite (the only free root file manager I was able to find) from "/data/sdext2" to "/data/sd" but the operation failed (I'm not sure but probably the first time I partitioned my SD I called the Ext2 partition labelling it sdext2).
Thanks in advance to anybody who can help me with this issue!
Angelo XDA said:
It seems I have the same problem. I tried to rename the directory using Root Browser Lite (the only free root file manager I was able to find) from "/data/sdext2" to "/data/sd" but the operation failed (I'm not sure but probably the first time I partitioned my SD I called the Ext2 partition labelling it sdext2).
Thanks in advance to anybody who can help me with this issue!
Click to expand...
Click to collapse
Did you try rebooting the phone or recreating the links after you renamed it?
I've emailed both the developer of Link2SD and support for Titanium Backup. I haven't heard back from anyone at Titanium Backup yet, but the developer of Link2SD was rather informative. He said that the main reason this isn't yet supported is because app private data must maintain the ownership data from the app that it goes to because of the way that Android sandboxes apps. This isn't possible on FAT/FAT32 partitions. Only ext2/3/4 supports it. This is probably why it only works for these filesystems with Titanium Backup.
nilot27 said:
Hi guys,
Titanium backup is a great root tool. Apart from creating and restoring backups Titanium Backup can also move app data to sd.
[ ROOT REQUIRED ]
I tried it and faced a few problems.
"NO DATA 2 SD DIRECTORY DETECTED"
After searching for answers and not getting any i decided to create a answer my self.
So this is a step by step method to move app data to sd using Titanium Backup
(BASICALLY FOR NOOBS BUT OTHERS CAN PARTICIPATE TOO)..
1. Root your device following the tutorial for your device
2. Create 2 Ext Partition (if you have already done so please move to no. 3)
a. switch of your device and take out your sd card.
b. use a card reader to plug it in your pc ( DO NOT USE YOUR DEVICE TO ACCESS THE CARD)
c. download Mini Tool Partition Wizard
d. create to ext 2 or 3 or 4 partition..Make sure the partition are primary and not logical and the partition size b/w 1GB to 2GB
e. After partitioning insert your card in the device and reboot the device.
3. Download Titanium Backup
4. Open Titanium Backup and open the Backup and Restore Tab.
5. select a SINGLE APP and long press.
6. Select "move app data to sd". A popup will open asking to create a data 2 sd directory.
7. Select Yes.
8. Batch select all apps and move app data to sd.
9. Viola see how your internal memory jumps up..
10. Have fun :good:
PS- If anybody finds any error in the guide then please tell me.
PS- Moderators if you find this post has been discussed earlier then please close this thread.
Click to expand...
Click to collapse
I created a primary ext3 partition that is 1.2GB. I do not have the option to move app to sd or move app data to sd, any idea why?
Edit: I can't locate the ext3 partition via root explorer...does gingerbread not support apps2sd? or is my issue due to the fact that this is a stock GB ROM?

Link2SD Issues

Hello,
With the limited space on Optimus One I decided to try out Link2SD app. I was able to partition my SD card and Link2SD created the script. After reboot I tried linking some of my apps to SD (EasyMoney, Solid Explorer Beta2, Swype Installer and Swype). The first app (Solid Explorer) linked the app file, and delvic cache fine. Every app after that game me error: "Failure. mkdir failed for /data/sdext2/dalvic-cache, File Exists". Also, when I filter it to show only the linked apps even the first app isn't listed.
If I move only the app file it is successful, but every app force closes. Rebooting the phone simply forgets that I even had the applications installed (even after quick reboot). Finally removing the link does absolutely nothing. My guess is that the app never properly linked apps in the first place resulting in the app going into a 'limbo'. Now I have used some space in my SD partition and can't use the app or reclaim the space.
I am new to all this, but am researching what my fault is. Can someone point to what am I doing wrong? How do I get link2SD to simply move my apps to the partition to free up my internal space.
In a nutshell:
1. First app successfully moved, but link2SD still shows no apps are listed. Subsequent apps cannot be moved since dalvic-cache folder (or file) already exists).
2.. Moving only the app data results in FC. Rebooting results apps disappearing with no way to reclaim the used space.
How did you partition your SD card, and how is it formatted? Any other partitions on the card?
The SD card currently has two FAT32 partitions, both set as primary. Partitioned is using Minitool Partition Wizard.
Typically, the 2nd partition is formatted as ext2/3/4. If for some reason you need both partitions to be FAT, there's a setting in link2sd where you can specify that the 2nd partition is FAT. This is important because link2sd makes a script which is run when you boot up your phone, which mounts the partitions appropriately.
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
SaveeOztra said:
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
Click to expand...
Click to collapse
If you have second partition on SD the Link2SD moves apps to sd-ext.
When starting the first time, make sure to select the correct filesystem. CWM makes ext4 I think..
If you are already by that with incorrect partition, go Options=>More=>Recreate mount scripts.
I recommend to activate Auto Link in settings to have no need to worry about apps being linked.
I think that's all what you need, if you are basic. I have done that too.

[MOD][SWAP internal SD with external SD][SM-G355HN]

First why:
When I got this phone I was disappointed with fact that primary storage isn't switchable and free user data space is approximately 2.2 GB. Which means that all application data goes to internal storage so it is impossible to use apps like Need for Speed, Navigation app, ShowBox and others. I believe you all find that annoying.
After I saw @Dhruvit Pokharna topic I started to poke a little bit over XDA and I noticed that this was done before ( back in 2012 ) and with various Samsung phones. So I decided to change and adapt script for our phone. Original script was created by @mattiadj from whom I still waiting for permission to change script and to publish it. But I'am going to do it anyway.
What the script do:
It swipe internal sd (/storage/sdcard0) with external micro sd (/storage/extSdCard) and viceversa.
"With this you can use default internal sd only for app storage and the external sd to store all apps resource and all others stuff"
required:
- root
- custom recovery
- kernel with init.d support
- BusyBox-v1.23.0-Stericson
- swap_intsd2extsdcard_SM-G355HN
How to and why:
Before installing swap if you moved some apps to sd move it back to phone to avoid conflict of course.
1. Root your phone first
2. Install custom recovery *(here or here)
3. Make a backup. Just in case of zombie attack *
4. Install kernel with init.d support *(here or here)
5. Install BusyBox-v1.23.0-Stericson.zip (flashable provided below )
6. Install swap_intsd2extsdcard_SM-G355HN.zip (flashable provided below)
7. Why * because you have choice
That's it. Your external sd is internal now and you can enjoy your big internal memory.
If you want to reverse it simply go to /system/etc/init.d delete 11extsd2internalsd and reboot your phone.
credits
@mattiadj and @mike1986.
Some screenshot just for you to see switch and mount points:
man help me.
i have some huge games, wild blood, modern combat 3.
i use the gl to sd to link the data,obb in sd.
and
what should i do to these data,obb in sd to flash the int2ext?
edit: can i use that in 355m?
Grindher said:
man help me.
i have some huge games, wild blood, modern combat 3.
i use the gl to sd to link the data,obb in sd.
and
what should i do to these data,obb in sd to flash the int2ext?
edit: can i use that in 355m?
Click to expand...
Click to collapse
Tutotial is simple. Step by step.
I don't see reason why you can't use this if your Phone has same spec as mine .
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
And for your existing game data just copy it after at proper place
Here is whole script:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:129 /storage/sdcard0
sleep 30
mount -o bind /data/media /storage/extSdCard
chmod 777 /mnt/extSdCard
sleep 10
chown 1023:1023 /storage/extSdCard
chown 1000:1000 /storage/sdcard0
Click to expand...
Click to collapse
please help my. I cant install any apk whith is not from play store. why.? when I try to instal any apk it shows just " not installed " and manage files trought any file mananger is almost impossible to understand where is right place for files which I looking for.
for example where it install games trought play store.?
I done all step by step without any issue. all things instals, flashes very well.
and without these problems all worked good..
thanks for helping and sory for my very bad english..
rihards23 said:
please help my. I cant install any apk whith is not from play store. why.? afret I try to instal any apk it shows just " not installed " and manage files trought any file mananger is almost impossible to understand where is right place for files which I looking for.
for example where it install games trought play store.?
I done all step by step without any issue. all things instals, flashes very well.
and without these problems all worked good..
thanks for helping and sory for my very bad english..
Click to expand...
Click to collapse
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Y300-0100 said:
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Click to expand...
Click to collapse
Maybe this video will clarify procedure because my English terminology is not good.
http://youtu.be/TrlEz-R6uMA
Y300-0100 said:
Install applications from play store goes to default internal memory without problem.
When you have downloaded apk from some other site only way for now is to copy it to /data/app than change permission and owner and install it from there. I still didn't figured it out why is that only way for download and backuped apks.
Regarding data app I think you mean what was asked in second post. If you used link2sd or some similar app after swaping just check are data and obb are stored under folder /Android in your external SD so that you could use your saved apps resources.
Click to expand...
Click to collapse
thanks alot man..:victory:
now I instal apk withot problem.
Thanks bro for your awesome work.:good:
Hi!
File Commander shows the swap (a lot of memory as device memory) and a little amount (the internal, as sd card memory), but when I get into app administration it only shows the small amount of memory as the avaible for applications, I've tried downloading some apps after the process just to see if that amount was static but it keeps going down with every app, so I guess it isn't working, or only games and apps which use large amounts of memory are saved at the external storage?
Edit: I can't neither nstall apps directl from the storage, just from the play store.
Thanks! :good:
Korelev said:
Hi!
File Commander shows the swap (a lot of memory as device memory) and a little amount (the internal, as sd card memory), but when I get into app administration it only shows the small amount of memory as the avaible for applications, I've tried downloading some apps after the process just to see if that amount was static but it keeps going down with every app, so I guess it isn't working, or only games and apps which use large amounts of memory are saved at the external storage?
Edit: I can't neither nstall apps directl from the storage, just from the play store.
Thanks! :good:
Click to expand...
Click to collapse
Aps must be install in real internal sd card. U got 2.2 GB.
All aplication data ( data and obb ) goes to micro SD card.
Procedure how to install non play store app 2 post up and video tutorial is also up.
Y300-0100 said:
Aps must be install in real internal sd card. U got 2.2 GB.
All aplication data ( data and obb ) goes to micro SD card.
Procedure how to install non play store app 2 post up and video tutorial is also up.
Click to expand...
Click to collapse
I see, just installed a game and it's working, thanks!
I found something, I don't know if it is a bug or me doing something wrong, any app that messes with the identity of the phone doesn't seems to work. I've tried with "Tablet Metrics" module with the xposed framework and Rom toolbox lite, also doesn't work changing the device id.
Thanks alot. I love this
I have a trouble
I have 32GB card. Made all as it says in instruction.
But the problem is now when i connect phone via usb to pc its says - Card 2,18GB, Phone - 29.3GB.
But in phone its show's like phone memory 4GB, card - 2,18GB.
Isnt phone memory should be 29.3GB or something like that?
Help please!
artb91 said:
I have a trouble
I have 32GB card. Made all as it says in instruction.
But the problem is now when i connect phone via usb to pc its says - Card 2,18GB, Phone - 29.3GB.
But in phone its show's like phone memory 4GB, card - 2,18GB.
Isnt phone memory should be 29.3GB or something like that?
Help please!
Click to expand...
Click to collapse
Answer to the trouble is in title. If you want to revert it go to /system/etc/init.d and delete 11ext2int.
Y300-0100 said:
Answer to the trouble is in title. If you want to revert it go to /system/etc/init.d and delete 11ext2int.
Click to expand...
Click to collapse
Well, i already did it, ty Revert works very good
But i wanted to know what i can make wrong. I mean i did everything as it wrote in title. But maybe such fail was already corrected by some user.
And also free space was the same for card and phone memory. i mean if free memory on phone is 200mb, then on sd card its also 200mb.
artb91 said:
Well, i already did it, ty Revert works very good
But i wanted to know what i can make wrong. I mean i did everything as it wrote in title. But maybe such fail was already corrected by some user.
And also free space was the same for card and phone memory. i mean if free memory on phone is 200mb, then on sd card its also 200mb.
Click to expand...
Click to collapse
If you looking in settings storage you will see that. It's the way it is because I couldn't swap whole data partition. I only swap extSdCard with legacy sdcard0 or internal memory. Swapping mmcblk0p22 with mmcblk1p1 wouldn't work because p22 is fst ext4 and p1 is vfat.
Can I use this mod to my Samsung galaxy Core 2 SM-G355H??
harold1603 said:
Can I use this mod to my Samsung galaxy Core 2 SM-G355H??
Click to expand...
Click to collapse
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
Y300-0100 said:
Check with root explorer following :
/storage/sdcard0
/storage/extSdCard
/dev/block/vold/179:129
If this is it you're good to go..
Click to expand...
Click to collapse
thanks for the reply sir
I dont have 179:129 on the vold folder or maybe i cant see this because im not rooted
but yes I have the following only the 179:129 dosent show on the /dev/block/vold
is this a file or folder? the 179:129
Thanks Y300-0100
:good::good::good:
how can use it on core i8262 please??
app installisation error
Y300-0100 said:
First why:
When I got this phone I was disappointed with fact that primary storage isn't switchable and free user data space is approximately 2.2 GB. Which means that all application data goes to internal storage so it is impossible to use apps like Need for Speed, Navigation app, ShowBox and others. I believe you all find that annoying.
After I saw @Dhruvit Pokharna topic I started to poke a little bit over XDA and I noticed that this was done before ( back in 2012 ) and with various Samsung phones. So I decided to change and adapt script for our phone. Original script was created by @mattiadj from whom I still waiting for permission to change script and to publish it. But I'am going to do it anyway.
What the script do:
It swipe internal sd (/storage/sdcard0) with external micro sd (/storage/extSdCard) and viceversa.
"With this you can use default internal sd only for app storage and the external sd to store all apps resource and all others stuff"
required:
- root
- custom recovery
- kernel with init.d support
- BusyBox-v1.23.0-Stericson
- swap_intsd2extsdcard_SM-G355HN
How to and why:
Before installing swap if you moved some apps to sd move it back to phone to avoid conflict of course.
1. Root your phone first
2. Install custom recovery *(here or here)
3. Make a backup. Just in case of zombie attack *
4. Install kernel with init.d support *(here or here)
5. Install BusyBox-v1.23.0-Stericson.zip (flashable provided below )
6. Install swap_intsd2extsdcard_SM-G355HN.zip (flashable provided below)
7. Why * because you have choice
That's it. Your external sd is internal now and you can enjoy your big internal memory.
If you want to reverse it simply go to /system/etc/init.d delete 11extsd2internalsd and reboot your phone.
credits
@mattiadj and @mike1986.
Some screenshot just for you to see switch and mount points:
Click to expand...
Click to collapse
I followed the whole procedure, and internal is swiped to external sd bt when i tried to install any app it says app not installed will ypu plz fix the script to directly install any app so we dont hav to put apk into ./data/app .. thanks

Increase space for apps, the end of " Insufficient Storage Available" in device ...

Increase space for apps, the end of " Insufficient Storage Available" in device ...
Hi!
I have a new post with a better and functional solution here:
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Any one that try it, please let me know how it goes with you.
sd card
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
How do you made it?
Both partitions must primary.
The pv or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
persona78 said:
How do you made it?
Both partitions must primary.
The pc or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
Click to expand...
Click to collapse
Sent using XDA One
mount partition
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
lalahamid said:
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
Click to expand...
Click to collapse
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
persona78 said:
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
Click to expand...
Click to collapse
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
lalahamid said:
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
Click to expand...
Click to collapse
If you don't have the file or folder you can created, create a folder and must have 755 permission.
You need that folder....
Sent using XDA One
Installing apps
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
berenvacht said:
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
Click to expand...
Click to collapse
Hi!
This is a light version. Has missing some permissions ( fixed ) and busybox tools ... :/ ( fixed to )
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.
is when is installing? When start doing this?!
persona78 said:
Can you explan it better?!
is when is installing? When start doing this?!
Click to expand...
Click to collapse
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
Click to expand...
Click to collapse
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Step by Step
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Click to expand...
Click to collapse
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
persona78 said:
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
Click to expand...
Click to collapse
I followed all steps again, but still the same problem. The strange thing is that the whole method works fine, except installing the apps. It's like my phone doesn't accept me using a ext4 partition instead of the 'original app'. Maybe it's because of a software restriction android uses in their operating systems... I have no clue at all. I will keep searching the internet, as soon as find something I will post it here.
You should definitely change the permissions too. However this method seems convenient, it will reduce the lifetime of your sd card and you will risk data loss. I think the repartition script is better.
The time life still the same, only the apk goes to sd card.
So is like any other file, like mp3 for example, it writes the file (apk ) , than only reads when need it to load in RAM ( I think you know that all the work is in RAM ). The apps lib files and dalvik-cache still in data partition.
If you do a factory reset the apps still gonna be there, you don't loose them, only need to re-create the process in phone, reboot and they will automatically installed.
This and the resize of data partition will make you a huge amount of data storage, i have 8,5Gb for data storage ....
Hi!
I re-edit the main post with a functional solution.
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
try this option, this works but was tested in 4.4.2 ROM
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Hi!
Diferent version from KingUser root zip.
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.

Categories

Resources