Link2sd-pro marshmallows - Apps crashed after link internal data - Android Q&A, Help & Troubleshooting

Hi all, i've a phone samsung j2 prime - G532g
android version 6.0.1
kernel 3.18.19-9387420
I had just rooted this phone, and then I install link2sd, tried to mount the script, but "mount error: no such a file or directory"
but, i've solved that problem with editing init.d script and mount the script using apps2sd: root.
So now, I install link2sd again. I format sdcard into fat32 (20 gb) and ext2 (11gb). Everything goes okay, until I realize that the internal storage only 1,5 gb. Even link2sd (free version) still leave internal data on internal storage. So that, I buy link2sd pro version, in order I can link internal data.
But, after I link internal data, every apps (that internal data linked) get crashed with message "Unfortunately, <app name> has stopped” with the choice are "report" and "ok". Apps that only linked with apk, dex, and lib, are still okay.
Does anybody know why this can happen? Any marshmallows user has experience like me?
Its not the first time I use link2sd, everything did well when I tried to my another phone with a lower android version (4.4)
Hope someone can solve my problem.
Sorry for my bad english
Thanks

Related

[Q] Android Caché almost full

Hello.
I have a rooted Motorola XT303 (Motosmart ME) with stock ROM (I think it doesn't have a custom rom yet... I think...), i'm using Link2sd to free some space.
Yesterday when I wanted to download Line it said something like "Not enough Space" and today trying again says "...Error 498".
Then i noticed that the /cache partition is almost full (10mb free or so). I tried everything I know to free that space, like 4 Market Apps (Cache cleaners and 'fixers'), Recovery factory wipe and Cache wipe and nothing...
Is there anyway to fix this?
Thank you for your help, bye!
Hi keishi16, I'm an owner of a XT303...
I recommend that you partition your SD card. With Link2SD application do the links to the partition (currently I have it in FAT32 format). Not simply move them "natively" to SD, because the libraries and other files are stored internally. We also recommend that when you make these links do quick reboot with Link2SD. For some reason the internal memory is "full" when you make the links, but returns to normal when you reboot. I hope that helped you, greetings!
Sorry for bad english, I used Google Translator.:cyclops:

[GUIDE] get more space internal memory by simple configure link2sd

this my favorite tricks for get more space internal memory, i installed 70 apps, and free memory is 41mb,. Simple and stable guys....
How to configure :
1- after installing a rom configure link2sd and choose link auto
2- install EVERY app on internal memory and after link, if some goes to sdcard move it to internal and after that you can create a link
3- sometimes i go to link2sd>menu button>more: relink all apk files, relink all lib files, link dalvik cache and clean dalvik cache
after you link a apk if want to see the real free space you'll need to reboot the phone... Link2sd is a great app i think thats better than int2ext scripts but you need to learn how to use correctly, with time you get it !!
Tried...but tired of this link2sd stuff...
I don't like at all link2sd. Cronmod Script is better :good:
i like link 2 sd..
Sent from my GT-S5830i using Tapatalk 2
Rhievaldo do you have to always install in internal first?
It put it on internal then link it and clear the space with link2sd. If you don't use many apps etc you should not even bother with link2sd in my opinion even tho its super easy to setup following instructions.
mfabruno said:
Rhievaldo do you have to always install in internal first?
Click to expand...
Click to collapse
Yes, otherwise some apps with native App2SD support will be linked with android native A2SD method and uses more internal space.
If you put them to internal they will be moved with link2sd to sdext partition of sdcard after the app is installed.
link2SD
I have a Galaxy Ace GT5839i which is rooted. I installed link2SD and have moved many of my apps to the second SD partition, but now several of the apps which require to write to the SD fail to work. For example the Sygic navigation app fails with "SD card access denied", when I try to open files in Dropbox I get "Storage full or unavailable", when I try to save a file from Ted, a simple text editor, I get "Can't use this folder because it isn't writeable". I have looked at the permissions of most files and subfolders in the SD both using file managers and from the command line (ls -l filename) and they appear to be writeable (most have rwxrwxrwx or rwxrwxr-x). How can I regain write functionality for my apps?
Chris
link2sd
I have used Link2sd for ages with different ROMs (currently CM-11 nightly jenkins) but now Link2sd only half works. dex files are initially linked but are named incorrectly and are regenerated on boot so if you delete them they come back to haunt you next time. If you don't delete them you run out of space fast. I tried making links to the links manually and it sort of worked but was fiddly as hell and in the end I found a new option.
Mounts2SD.
I admit it can lag the phone slightly and reboots are only successful every 1 in 5 times but eventually it will turn on and it will work and the space advantages of using it mean you can more or less install what you like.
I would like to say that what I said earlier about lag and reboots was correct at the time but I was running a very unstable rom but now with Mr Mardon's latest cm11 rom, which is far superior with a customised kernel, I have found that with Mounts2SD the phone boots up reliably now, and when I changed to a better i/o scheduler (zen) and badass controller there is hardly any discernible lag at all.
So a serious thumbs up for Mount2SD, which is excellent, thumbs down for Link2sd, which used to be good. It reminds me of back in the day when you could still use s2e, except this actually works without flopping over unexpectedly.
Mount2sd is like a magic wand waved over your phone while Link2sd is like a bad workman that sits chatting to you while drinking your tea all day then only gets half the job done, charges you double, then leaves a pile of bricks on your driveway.
Mugz2 said:
I don't like at all link2sd. Cronmod Script is better :good:
Click to expand...
Click to collapse
Hi, do you mind briefly describe how nice is the "Cronmod Script" ?
I am also looking any nice app as my 5830 keep on yelling low memory T.T

Insufficient Storage Available

Hello guys!
1 month ago I had this problem with my LG l9, i had loads of memory free but whenever I tried to install any apps it would tell me I didn't have any storage available. I am rooted. I restored my phone and nothing happened. Then, I managed to install storage analyser, and saw that one of the folders was taking up like 10GB of space and the app was telling me I only had -8GB of space (yes, negative!)
I deleted the folder (from gameloft) and then I managed to install some apps. Now i have the same problem. Some apps install perfectly, like riptide 2, even if they are huge, and some small apps like chrome and google play music don't
What can I do to fix it? Restoring won't help and neither does storage analyser....
aristide1997 said:
Hello guys!
1 month ago I had this problem with my LG l9, i had loads of memory free but whenever I tried to install any apps it would tell me I didn't have any storage available. I am rooted. I restored my phone and nothing happened. Then, I managed to install storage analyser, and saw that one of the folders was taking up like 10GB of space and the app was telling me I only had -8GB of space (yes, negative!)
I deleted the folder (from gameloft) and then I managed to install some apps. Now i have the same problem. Some apps install perfectly, like riptide 2, even if they are huge, and some small apps like chrome and google play music don't
What can I do to fix it? Restoring won't help and neither does storage analyser....
Click to expand...
Click to collapse
Have you tried Link2SD? If not, it does work. I just set it up on my P769. First you'll need to enable init.d support. Just create a folder named 'init.d' in /system/etc. You will also need to partition your SDCARD so that is has two partitions. A primary FAT32 partition and a primary ext2, ext3, or ext4 partition. The second partition is the one Link2SD will actually use. I have a 32 GB SDCARD with 3 partitions. FAT32 partition is 27 GB, 1st ext4 partition is 4 GB, and the 3rd partition is 1 GB for SWAP if I get around to seeing if SWAP works with the stock kernel or not. SWAP is not necessary and more than likely is NOT supported by the stock kernel anyway.
I'd suggest looking in to the Link2SD thread prior to attempting this.

Expanding internal memory?

I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
nilanko said:
I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
Click to expand...
Click to collapse
XinternalSD is the only solution for you dude. I can confirm that it is working. It works flawlessly on lollipop, no issues at all.
I already use that but but apks, dex, lib, cache all go to internal only during installation.
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Can anybody explain how does this work? If I check in ES File explorer, 972MB of internal is shown as used up. When I open it and select all folder and files and see the properties, it shows 3 MB used up. This is so confusing.
Isn't there no way other than LINK2SD which would currently work and allow me to successfully link or directly install stuff to the second ext4 partition or SD card or *any* similar workaround? :'(
Android is so stupid :'( Why such a devastating limitation? :'(
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
rkmiks said:
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
Click to expand...
Click to collapse
It doesn't always work. Those apps which have lib files don't work after linking. Even if we don't link the lib files, it still doesn't work because the lib files kinda "vanish" and show 0 bytes after linking. And the apps either FC or complain about missing lib files.
nilanko said:
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Android is so stupid :'( Why such a devastating limitation? :'(
Click to expand...
Click to collapse
The internal 4GB is partitioned into /system, /data and internal sd.
/system is fixed and stores your ROM and system apps.
Back in the days /data/ used to be just like system. However now /data and internal sd are say dynamic. They grow as you install / copy stuff. This is much better than having fixed size partitions. This isn't a limitations instead consider it a flexibility.
All user apps are installed to /data by default which you cannot swap.
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
nilanko said:
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
Click to expand...
Click to collapse
Okay. Once again. /system/ is fixed in size for security reasons. You are not supposed to copy anything to it.
Its /data/ and internal sd that are dynamic.

Solved "insufficient space" error

Hello,
i have a "insufficient space" error when trying to install any app. It doesn't matter if I try the Play Store or a downloaded .apk. The size doesn't matter, too.
There is definitely space left on the device. /data has 715.9 MB free space /mnt/fuse and other system partitions have 401.7 MB and the two SD partitions have 7.0 GB and 8.8 GB. I use Link2SD to install apps to the second SD partition.
I tried a lot of things and searched through a lot of threads but nothing worked so far:
-Cleared cache of everything with Link2SD
-Cleared calvik cache with Link2SD
-Wiped cache partition via recovery.
-Searches for old .obex files but even if I try to install a totally new app it fails with the same error.
I can't install new tools but I have Lin2SD, a filebrowser and a terminal emulator.
The device is a GT-S7710 also known as Samsung XCover 2. The ROM is Vanir 4.4.4.112414
EDIT: Ok now I have SD Maid, too. And strangely I can install some new apps but not all and I still can't update old apps. I'm trying to figure out, there the differences in the apps is.
Can anyone help me with a hint or idea what the problem could be?
If you need further informations, please ask and I will try to get them.
Kind regards,
Ulrich
SOLUTION:
OK, I found a solution. The difference between installable and uninstallable apps seemes to be the support of the native App2SD function. If I deactivate it through Link2SD and only use the rebinding of the files by Link2SD all apps are installable again. I don't know why it matters now. I didn't change the settings for a long time.
A hint to that solution was a post in an other thread: http://forum.xda-developers.com/showpost.php?p=59278026&postcount=2. Strange that I didn't find it earlier with google/duckduckgo/forum search.

Categories

Resources