How to make TWRP and Link2SD working "together"? - General Questions and Answers

Hi everyone,
I posted a thread about a TWRP issue where I was complaining that it didn't work anymore (doesn't want to make backups) after partitioning my SD Card. Now I fixed that, but this incident raised an annoying question: is there any way to use TWRP and still using Link2SD without conflict or you must choice?
Explain for those who didn't already understand :
Basically, Link2SD needs a second partition to move application (data, code, apk and even dex), in order to free up internal storage and more efficiently than only "moving" app on SD Card.
Problem: TWRP on his part can't write on SD card if there is more than one partition. And this for a dark reason (story of single block, blah-blah-bruh)
I already searched around XDA to fix that but I didn't found anything (as usual...)
Well, could you help me?
Thank you in advance

Related

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.

[Q] P3110 ...internal sd probs.

Just rooted my new 3110, successfully .......(or so I thought) . Now I cannot install anything on internal SD. Whenever I try, I get "not enough space" error message - even the 2 apps(only had the tab 3 days)! that were on the sd before I rooted, have mysteriously moved to phone memory. I cant even install FolderMount , which I had already d/l. Forgive a newbie, but having rooted my Galaxy W phone 18 months ago with very few problems, was hoping tab would be as reliable. Anyone help? (as I dont want to unroot just to be able to use internal sd memory.) Thanks in anticipation.
Buff52 said:
Just rooted my new 3110, successfully .......(or so I thought) . Now I cannot install anything on internal SD. Whenever I try, I get "not enough space" error message - even the 2 apps(only had the tab 3 days)! that were on the sd before I rooted, have mysteriously moved to phone memory. I cant even install FolderMount , which I had already d/l. Forgive a newbie, but having rooted my Galaxy W phone 18 months ago with very few problems, was hoping tab would be as reliable. Anyone help? (as I dont want to unroot just to be able to use internal sd memory.) Thanks in anticipation.
Click to expand...
Click to collapse
I'm confused, how did you get apps to run on your external SD without root? Didn't know that was possible. Did you try clearing the dalvic cache? Seemed to do the trick when i had issues with lucky patcher causing that same error. I may be way off base though.
Edit: i think I'm confused, sorry, that advice is surely off. Uhm, perhaps reflashing stock and trying again,seeing as how you do not have much data to loose, using the auto root Odin flashable file.
This is what i use. http://forum.xda-developers.com/showthread.php?p=33303017
Sent from my GT-P3110 using xda app-developers app
bluecarbon said:
I'm confused, how did you get apps to run on your external SD without root? Didn't know that was possible. Did you try clearing the dalvic cache? Seemed to do the trick when i had issues with lucky patcher causing that same error. I may be way off base though.
Edit: i think I'm confused, sorry, that advice is surely off. Uhm, perhaps reflashing stock and trying again,seeing as how you do not have much data to loose, using the auto root Odin flashable file.
This is what i use. http://forum.xda-developers.com/showthread.php?p=33303017
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
...........Thanks for the help.. Wasnt talking about ExtSdcard, but sdcard0, the internal storage -,sorry for confusion-. Although "Install manager" shows all apps as being installed on "phone" memory, & "external" memory empty, both "Disk Usage" & "Root Explorer" show the same files/size used, in both locations, so I now figure I may have partition problems after rooting (I used this system : http://forum.xda-developers.com/forumdisplay.php?f=1596) Will try the auto method as per your link if I cant solve the issue (though hoping a quick fix might be possible.!) Thanks
Buff52 said:
...........Thanks for the help.. Wasnt talking about ExtSdcard, but sdcard0, the internal storage -,sorry for confusion-. Although "Install manager" shows all apps as being installed on "phone" memory, & "external" memory empty, both "Disk Usage" & "Root Explorer" show the same files/size used, in both locations, so I now figure I may have partition problems after rooting (I used this system : http://forum.xda-developers.com/forumdisplay.php?f=1596) Will try the auto method as per your link if I cant solve the issue (though hoping a quick fix might be possible.!) Thanks[/QUOTe
Sorry, hope it works out for you.
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Still "not enough space" issues.
Ok. I tried wiping data, flashing back to stock rom, then chainfires auto - root method. All went well - device rooted (again!) fine, BUT I`m STILL having problems with storage. Some apps (especially games) wont install - am getting "not enough space" message, just as before. It seems that all apps that need to be intalled on the devices internal "sd" (such as" FileMount") card just wont.
Please forgive a couple of lame questions, but having never owned a tab before, I`m new to their "vagaries" - Also I have searched here & other online forums for an answer, so forgive my badgering all you "fonts of tekkie wisdom."
. Mine is the 8gb model, & I know a lot of this is taken up by system/ram etc - the "device memory" reports a total of 4.49gb, but TB (& other root apps like sd maid) states : Rom 1.26 gb, internal 4.92GB, sd card 4.82gb (with exactly the same space used in both , i.e. 1.50gb. I also have 32gb micro sd inserted. - Is there an internal partition for the "sdcard0" space , or it there a "physical" internal sd card ? If so how do I format thhis? If not could I have a partition problem? (The reason I ask is that none of the "move to sd" apps I have tried like app2sd, install manager etc work - They state, apps have moved when they clearly havent.
So I think it may be an internal partition problem, (which I presume hasnt been solved by reflashing stock, and re- rooting.) - I did notice that when I was re-rooting by CF auto root, in odin there was partition check box, but CF instructions said "if, & ONLY IF, device is bricked, to check this box. - So how can I , - 1. confirm whats causing the problem?, & 2. -Solve it?
Thanks for any help & advise hopefully, proffered, forthwith.:fingers-crossed:
do a simple thing! factory reset your tab. click format sd ! these issues are solved just by formatting the sd, be it internal! :good::good:
L
Buff52 said:
Ok. I tried wiping data, flashing back to stock rom, then chainfires auto - root method. All went well - device rooted (again!) fine, BUT I`m STILL having problems with storage. Some apps (especially games) wont install - am getting "not enough space" message, just as before. It seems that all apps that need to be intalled on the devices internal "sd" (such as" FileMount") card just wont.
Please forgive a couple of lame questions, but having never owned a tab before, I`m new to their "vagaries" - Also I have searched here & other online forums for an answer, so forgive my badgering all you "fonts of tekkie wisdom."
. Mine is the 8gb model, & I know a lot of this is taken up by system/ram etc - the "device memory" reports a total of 4.49gb, but TB (& other root apps like sd maid) states : Rom 1.26 gb, internal 4.92GB, sd card 4.82gb (with exactly the same space used in both , i.e. 1.50gb. I also have 32gb micro sd inserted. - Is there an internal partition for the "sdcard0" space , or it there a "physical" internal sd card ? If so how do I format thhis? If not could I have a partition problem? (The reason I ask is that none of the "move to sd" apps I have tried like app2sd, install manager etc work - They state, apps have moved when they clearly havent.
So I think it may be an internal partition problem, (which I presume hasnt been solved by reflashing stock, and re- rooting.) - I did notice that when I was re-rooting by CF auto root, in odin there was partition check box, but CF instructions said "if, & ONLY IF, device is bricked, to check this box. - So how can I , - 1. confirm whats causing the problem?, & 2. -Solve it?
Thanks for any help & advise hopefully, proffered, forthwith.:fingers-crossed:
Click to expand...
Click to collapse
Its a partition, its an emulated SD card. I think the post above me has the right idea.
Also, none of those apps will work. You will need use a sdcard swap script, gl2sd(app), foldermount, or some root app or script that is similar to those.
I think you will need a custom recovery, (like cwm, or twrp) to format the internal "sdcard", i never really used the stock recovery much, but it seems like an option they would leave out. I think there is an oden flashable in developer section. I would find links for you, but i got to get the kids ready. Shouldn't be hard to find.
If you can not format the internal SD using stock recovery, here is a link to the Odin flash able cwm.
PS. I really do not think it is a partition prob., and i wouldn't click the repartition option.
http://forum.xda-developers.com/showthread.php?p=27812563
Sent from my GT-P3110 using xda app-developers app
Fixed!!
OK Folks - seems I have fixed the problem, by uninstalling all apps (inc "moving" apps) that dont work or are "buggy" , cleaning/wiping caches/data, then I was able to install FolderMount from here, and now all the instability/storage problems gone. (Am so impressed with FolderMount have bought pro, as I am a bit windy when in comes to T.E`s or running scripts! My 32gb is filling fast enough anyway!)
Thanks for the help chaps - dont know what us "am hacks" would do without you! :highfive:
Buff52 said:
OK Folks - seems I have fixed the problem, by uninstalling all apps (inc "moving" apps) that dont work or are "buggy" , cleaning/wiping caches/data, then I was able to install FolderMount from here, and now all the instability/storage problems gone. (Am so impressed with FolderMount have bought pro, as I am a bit windy when in comes to T.E`s or running scripts! My 32gb is filling fast enough anyway!)
Thanks for the help chaps - dont know what us "am hacks" would do without you! :highfive:
Click to expand...
Click to collapse
Cool, glad to hear it. I love foldermount. After weeks of searching, that app/dev came to the rescue, it is well worth buying pro!
Sent from my P3113, running JellyBam 7.6.2/ BlackHawk Landscape kernal, using XDA developers app

[Q] Can't move apps with Link2SD

I have tried to move apps to sdcard with Link2SD and other similar apps. It fails and says that I can't move them because my device has a primary external storage which is emulated from the internal storage.
Here is a screenshot of the message
Howdy!
as far as I have found out (and been following this problem on and off since I got my plus a few months ago) there is no proper way to move apps to your SD card. Best solution (and the one I am using) is to partition your SD Card then use Link2SD to link apps on your SD. You can set it up to do so automatically for every new app you install. As for partitioning I found this guide the best since I'd never attempted it before but it works really well.
http://forum.xda-developers.com/showthread.php?t=2126363
Good luck and hope this helps a little!
Thanks a lot
lance2355 said:
Howdy!
as far as I have found out (and been following this problem on and off since I got my plus a few months ago) there is no proper way to move apps to your SD card. Best solution (and the one I am using) is to partition your SD Card then use Link2SD to link apps on your SD. You can set it up to do so automatically for every new app you install. As for partitioning I found this guide the best since I'd never attempted it before but it works really well.
http://forum.xda-developers.com/showthread.php?t=2126363
Good luck and hope this helps a little!
Click to expand...
Click to collapse
Do we need to root phone for that?
If yes then what's the point of making partitions.
Sent from my GT-I9105 using xda app-developers app
fayez107 said:
Do we need to root phone for that?
If yes then what's the point of making partitions.
Sent from my GT-I9105 using xda app-developers app
Click to expand...
Click to collapse
Well, my phone was rooted anyway but I think Link2SD needs it. As to why exactly it needs to be partitioned I can only tell you that when my card wasn't partitioned as suggested in the guide I linked then Link2SD wouldn't even offer to link the apps. I am no expert as I pointed out but this was a solution that worked for me. It may well be someone else found something better that doesn't require partitioning. To my knowledge doing things this way requires root AND the partitioned SD card.
lance2355 said:
Well, my phone was rooted anyway but I think Link2SD needs it. As to why exactly it needs to be partitioned I can only tell you that when my card wasn't partitioned as suggested in the guide I linked then Link2SD wouldn't even offer to link the apps. I am no expert as I pointed out but this was a solution that worked for me. It may well be someone else found something better that doesn't require partitioning. To my knowledge doing things this way requires root AND the partitioned SD card.
Click to expand...
Click to collapse
Did you try Apps to SD? Ill be rooting very soon and see what happens. If none works then last stop would be to make partition.
Okay I did root my phone successfully. Still cant move apps. Now going to do this partition system. Hope it works !
fayez107 said:
Did you try Apps to SD? Ill be rooting very soon and see what happens. If none works then last stop would be to make partition.
Okay I did root my phone successfully. Still cant move apps. Now going to do this partition system. Hope it works !
Click to expand...
Click to collapse
Yeah, I tried Apps to SD as well but without success. You get exactly the message as the OP said here http://forum.xda-developers.com/showpost.php?p=42863865&postcount=2
Same goes for Link2SD however once you partitioned it at least offers you to link the apps. But like I said that only happened after I did the partitioning. Beforehand it would not even offer that.
I am not entirely sure what or why Samsung did what they did in kinda blocking the moving of apps to an external card but it it really blows considering that you only get a somewhat limited amount of storage to begin with.
lance2355 said:
Yeah, I tried Apps to SD as well but without success. You get exactly the message as the OP said here http://forum.xda-developers.com/showpost.php?p=42863865&postcount=2
Same goes for Link2SD however once you partitioned it at least offers you to link the apps. But like I said that only happened after I did the partitioning. Beforehand it would not even offer that.
I am not entirely sure what or why Samsung did what they did in kinda blocking the moving of apps to an external card but it it really blows considering that you only get a somewhat limited amount of storage to begin with.
Click to expand...
Click to collapse
Hello again brother. Same here. Before partitioning there was not any option to create link even.
I did the partitioning stuff did work. I can successfully transfer my apps into the ext2 partition i created. (Btw which partition format did you go with?)
How ever I believe folder mount is still a better option as it does not require you to create partitions and works directly such as you enter a brand new card without partition and move apps into card and then it links it. But the only drawback is you need to purchase the app :
fayez107 said:
Hello again brother. Same here. Before partitioning there was not any option to create link even.
I did the partitioning stuff did work. I can successfully transfer my apps into the ext2 partition i created. (Btw which partition format did you go with?)
How ever I believe folder mount is still a better option as it does not require you to create partitions and works directly such as you enter a brand new card without partition and move apps into card and then it links it. But the only drawback is you need to purchase the app :
Click to expand...
Click to collapse
I used ext4 for my partition. And I hadn't heard of Folder Mount until you mentioned it. Will have to check it out. Can you actually move stuff if you use that?
lance2355 said:
I used ext4 for my partition. And I hadn't heard of Folder Mount until you mentioned it. Will have to check it out. Can you actually move stuff if you use that?
Click to expand...
Click to collapse
Well ext4 didn't work for me idky though ext2 did and it worked. But creating partitions is pure junk and it would reduce the life and speed of your card (its something i believe) so I deleted the partitions and brought my card into original format.
And yes man Folder Mount is something we need ! It does exactly what both of us want. Simply move all the app data from internal memory to external memory and as soon as you move you have empty space on your internal storage and external storage is occupied. Its simple and very clear and easy to use. Just 3 clicks i believe and its done. And another good stuff is it will show you how much an app is occupying internal space and then moves it into SD card and also doesn't show important system apps to move as moving them creates problem.
There's a free version to try which would allow you to move 3 apps only and if you want more then buy the app for 2 Dollars.
Its developed by @madmack. Do check it out. The sad part for me is I dont have a credit card nor Paypal is available in my country
And i need this app badly !

[APP] [Link2SD] Disadvantages of Linking Apps and Games

First of all, I would like to give a special thanks to Bulent Akpinar, the developer of Link2SD for providing us such a great app. I had been using this app for a long time in Moto E when I was still using the stock version 4.4.4. I had a great time with this app and I purchased its PLUS version too. Let me tell you about what I gained due to Link2SD :
It links everything of an app or a game to your SD card allowing you to install a large number of apps. Linking is quite different from moving as moving apps to SD is not going to move app data and moving apps to SD slows down apps from loading. Widgets do not break in case of a linked app. All apps, wallpapers works smoothly as if it is stored in the internal storage. But, these things are known to all of us.
Now the problem starts here ! I tried CM11, gummy and PA ROMs but Link2SD created a serious problem
I tried to install CM11 and PA themes but got the same error "App not installed". I tried a lot of themes but got the same error. It meant I can't install any of the available themes. I searched web and got to know that the problem is caused due to partitioning of SD card ! !
Due to partitioning, CWM and TWRP recovery failed to do their tasks.
Unable to install zips from external SD card ! (ERROR: Unable to open folder)
Unable to create backup in SD card ! (ERROR: Unable to open folder)
Unable to restore backup ! (ERROR: No such file found)
Unable to mount storage!
and much more errors were there !
"Install zips from internal storage" was the only option working as usual.
I searched web and there were no promising answers. Somewhere I found that it is due to Link2SD. I cleaned my SD card, deleted the secondary partition and then CWM worked ! ! Flashed CM11 and tried to install themes, it was successful
Guys, if anyone of you are facing these errors, then it might be possible that you have linked apps to your SD card. Link2SD is a great app if you are using stock ROM and you are not willing to try custom ROMs and its themes. But when you are with CM, then Linking is not a good choice
Hit thanks :good: , if helped

unable to write/delete in internal SD storage

I'm unable to delete files or create new ones in my internal storage/sd.
I can read files that are already there.
I'm also able to read/write from a PC
It seems that permissions are not set properly for this partition?
I want to add that this happened after I updated my S4 GT-I9500 to 5.0.1 lollipop (don't really know if it matters) then tried to fix permission to be able to write to external SD card .
after searching the forum for a solution and trying different "fixes", this is what the situation is like:
I can only write/delete when I access (/data/media/0) but not( /sdcard) , (/storage/sdcard0) , (/storage/emulated/0) or (/storage/emulated/legacy). I'm sorry if I'm being kinda noob.
thanks
Help???
HELP...anyone?? My apps are currently useless as they can't write on internal memory...
DuLLaG33 said:
HELP...anyone?? My apps are currently useless as they can't write on internal memory...
Click to expand...
Click to collapse
you don't need to fix permissions or anything of that kind. Lollipop already allows 3rd party apps to write on SD card..
If I was you I'd just wipe everything from recovery and reflash with Odin.
awyeahh1 said:
you don't need to fix permissions or anything of that kind. Lollipop already allows 3rd party apps to write on SD card..
If I was you I'd just wipe everything from recovery and reflash with Odin.
Click to expand...
Click to collapse
The only reson I did the External storage permission fix is because some apps didn't have access to it, but now all apps have access but not to the internal memory.
I know the most obvious solution is to try to reflash a stock Rom, but I don't currently have my laptop, I'll get it back at the end of the week. So I was looking for an actual troubleshooting/fix?? Plus I kinda want to know what went wrong cuz I want to learn xD
Thanks for trying to help anyway.

Categories

Resources