Link2Sd Plus apps not working - Android Q&A, Help & Troubleshooting

Hi everyone.
Recently i rooted my phone Xperia M4 Aqua E2303
I have Android 5.0 (26.1.A.3.92)
My Sd card: SanDisk Extreme 16GB
I've created another partition on my microSD card (EXT4, Primary)
I installed and bought Link2Sd Plus.
Link2SD Version 4.0.12
Some apps doesn't work when moved by link2sd app. They don't want to open.
Should I still leave some files on internal memory to keep apps (for example Messenger/Snapchat/Instagram) available to open?
When i move an app to SD i check every checkbox.
-Link application file
-Link dalvik-cache file
-Link library files
-Link internal data(available after buying Plus which i've already got)
Should I maybe change format of partiton to EXT2?

have you tried not moving the internal data? there might be incompatibility across partitions when it comes to internal data

Same problem here,..
Some Linked apps (chrome,uc,etc..) not starting up.
Helppp

Yes, your androed is 5.0
You can use EXT2 or vfat (VFAT IS NOT FAT32)
After create the scripts, you will get Link2sd working like the old times, ODEXING the apps, and forget the name dalvik-cache forever.
You can odex your apps with universal odexes using apktool armel 4.1 found on xda searchthread.
Or here:
http://4pda.ru/forum/index.php?showtopic=482809
Note:
Don't persist trying linking data,libs,and dalvik on androed 4.1+
This will crash after the first reboot after the linking.
dalvik is a death name.
After odex your linked apps, you need to link the new odexes in sdext2 mannually, in the same dir0 of the relative apps.
I use rootExplorer that is more efficient, or sManager that had batch linker.
Sent from Somefon

Related

[Q] darktremor & sd-ext

i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
You can get Link2SD from this xda-thread or the play store
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
sd-ext is for CYANOGENMOd only...in stock based rom's u wont find a sd-ext..so s2e wont work.... but charmingly link2sd works....
now if it isn't working what shall u do???
-- if it says mount script not created,, partiotion is busy,,,, reflash the rom or i tried flashing another rom on wich link2sd worked and then reflashing the rom u want... install link2sd apk.. choose ext4 partition reboot.... (it works u can switch from cm7 to stock it wont be a problem)
- if ur sd-ext partition is of ext3 type,,, still choose ext4 on link2sd partition type screen
Fly-High said:
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
Click to expand...
Click to collapse
I always try to use links2sd; but if app2sd(gui) is installed it won't work.
I'd like to edit the init.d 'mount' script, but i don't know how to open thiis since it always says it cannot be found when i try to open it for editing or even for reading.
(i'm trying to open it with an app that has SU rights like Total Commander)
i have some experience with android and installing custom roms ; but i don't have real experience with editing files in a live OS.
Or should i edit the files in the APK before installing it? (isn't this going to break the APK's CRC-key rendering the file unusableN)
I already thank you guys for reading and sharing your knowledge...
I found it
I could edit the mountsd file in the original ZIP (which is not a crc'ed APK )
then reflash my device.
I removed everything in the mountsd file except this;
Code:
#!/system/bin/sh
#
# mount ext partition from sd card
(so this is what's left)
then i installed S2E & Link2SD, i let link2sd initialize it's scripts and pataboom; i got access again after the next reboot of my device ... finally i have a galaxy ace with unlimited space (or at least kinda limitless compared to the 120mb you get)
i was so used to the big space since it worked like a shine on my htc wildfire (like 60+ apps and only a few mb in use by some apps i really wanted on the internal memory so they start up fast anytime (no interference when other apps are running/starting).
I really love link2sd since it allows you to put apps on external memory and still use the widgets/services/.... while app2sd can't do that
thx again for your help guys! (although i did a lot of fo the job myself too

[Q]SD-EXT - General description of use

Hi,
I looked on forum for some summary what is general use of SD-ext partition.
So far I found some explanations and some solutions for CM ROMs.
So, if I uderstand correctly, I can use sd-ext
- either as seamless extension of internal partitions (/data, /system, /cache), for more storage
- and/or for installing apps on SD card, that work when SD card is connected to PC ass mass storage
Is it right?
I am on AOKP ROM, I tried to use it for moving apps with Link2SD and Android Assistent, but they tried to move apps to sdcard.
So, what is correct use of sd-ext and how to make it with AOKP? Mainly I want to extend internal storage (384MB)
I think you need to have a ext3 partition in the SD...
try this method...
MrTapa said:
Ok so I am gonna make an easy guide. But befor i start i will say the requirements
Requirements
1.Rooted
2.Busybox installed(v19.4 reccomended)
4.Card reader
So here we are.
1.Download MiniTool Partition
2.Remove the sd-card from phone and put it in a card reader and plug in pc.
4.Select only important files like Pictures, Music , Titanium and clockworkmod backups and all that important stuff for you
5.Copy them to a folder in computer.
6.Install MiniToolPartition and open it.
7.You will see your hard drives and your sd card.
8. Right click on sd card and click delete. Then again right click and Create.
9.Select "File System:" FAT when you have 2GB or smaller card.
Select "File System:" FAT32 when you have 4GB or greater card.
10.Dont select the whole volume. Select for example if you have 4GB card select 3GB if you want your sd-ext to be 1GB
11.When you are done.Again right click on the sd card and create ext2 or ext3 partition.Then select the full volume allwoed.
12.Make sure that this volume is enough for all apps on your phone.
13.Whn you are done click on the apply button on the top left corner. Wait for it to finish. When you are done. Copy teh prevously backed up data to the card.
14.Put it on the phone and on the market download Link2SD
15.Run the app and it will ask for root.Then select your tipe of partition. tehn reboot.
16.After reboot go to the app and you can mult iselect your apps with the options menu. Then in actions.Click Create link. Then ok.
17.You are done. Now you have a cleaner sd and initial storage
FAQ:
Q:What is sd-ext partition.
A: Its a tipe of partiton than linux supports so Android can use it as an initial memory.
Q:Why i dont see more space when i go to Apps in phones settings
A:The phone cant display sd-ext partiton. you can view it via Link2SD.(Otions>Storage info)
Alternetive version of discribing:http://forum.xda-developers.com/showthread.php?t=1338708
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1750888
thanks!
I used MiniTool Partition Wizard but Neo couldn't find it.
Luckily I found this http://www.butonic.de/2012/03/14/partitioning-the-sd-card-for-app2ext-with-adb-shell/ and was able to fdisk my sdcard from putty connected to sshdroid. Now SD is correctly formatted and Link2SD created mount script.
I can't tell if it works or no. From what I expect, there should be more MB when I look at Settings -> Storage, because Link2SD extends my internal storage... but there is still the same ~420MB.
Can it be that Link2SD silently moves new apps to /sd-ext, but internal storage is still the same?
DarshanaXN said:
I think you need to have a ext3 partition in the SD...
try this method...
http://forum.xda-developers.com/showthread.php?t=1750888
Click to expand...
Click to collapse
PetrGasparik said:
thanks!
I can't tell if it works or no. From what I expect, there should be more MB when I look at Settings -> Storage, because Link2SD extends my internal storage... but there is still the same ~420MB.
Can it be that Link2SD silently moves new apps to /sd-ext, but internal storage is still the same?
Click to expand...
Click to collapse
I think you missed this line in my post.
Q:Why i dont see more space when i go to Apps
in phones settings
A:The phone cant display sd-ext partiton. you
can view it via Link2SD.(Otions>Storage info)
although phone settings doesn't display about sd-ext you may see that amount of free storage increases as you create links with link2sd. I've attached two screenshots showing one before linking asphalt and anti terror shooter to sd-ext and after linking.
I had the same problem with minitool. then I used CWM to partition the sd.
u need to format ur SD to ext2 and you need link2sd app
indycar said:
u need to format ur SD to ext2 and you need link2sd app
Click to expand...
Click to collapse
It depends on the kernel which file format it supports.
The FAQs from link2sd says that fat 32 is supported by every Android / kernel for SD ext partition.
This is my still unused SD ext fat 32 partition.
So if you are not sure fat 32 should always do the work. By the way mini partition tool works great.
Send from my Neo V with JJHybrid 3.3b and Night Elf 1.4 using Tapatalk 2
use ext 2
ext3 and 4 didnt work on my neo
Hi,
I used Link2SD for some time. I had some troubles with ROM - random reboots, YT not working etc
I stopped using Link2SD, because I tried to eliminate everything "unnatural".
At the end, I changed ROM from AOKP to Paranoid and it solved all these troubles (there are some new ones )
Now, then I installed Link2SD and try to create mount script, Link2SD fails with "Mounting script cannot be created"
what do you suggest? reformat card partition? I would like to re-link apps that are there.
DarshanaXN said:
I think you missed this line in my post.
Q:Why i dont see more space when i go to Apps
in phones settings
A:The phone cant display sd-ext partiton. you
can view it via Link2SD.(Otions>Storage info)
although phone settings doesn't display about sd-ext you may see that amount of free storage increases as you create links with link2sd. I've attached two screenshots showing one before linking asphalt and anti terror shooter to sd-ext and after linking.
I had the same problem with minitool. then I used CWM to partition the sd.
Click to expand...
Click to collapse
Yeah, you're right. It is still a little of mystery for me, but hey, I learn to use it
Anyway, Minitool IS great, but when I formatted a card with it, phone couldn't read it. So I had to use ssh to phone.

[Q] Latest stable ROM to run on stock kernel

HI all
I already have my mini x10 pro U20i rooted with CWM and Busybox and I have been looking for the latest most stable ROM to run on the stock kernel.
Preferably something that can install the apps onto SDCard
And
Works well in low signal strength areas
I use apps mainly for PC Repair if that helps
X10 specs
Model U20i
Firmware version 2.1 update 1 no other updates available
Baseband Version M76XX-TSNCJOYLM-5340-4015
Kernel Version 2.2.29 [email protected] #1
Build Number 2.1.1.A0.6
If you need any more info please let me know what you need
many thanks in advance
The most stable Rom that I found:
http://forum.xda-developers.com/showthread.php?t=1415026
http://forum.xda-developers.com/showthread.php?t=1576160
http://forum.xda-developers.com/showthread.php?t=1911317
polimeno said:
The most stable Rom that I found:
http://forum.xda-developers.com/showthread.php?t=1415026
http://forum.xda-developers.com/showthread.php?t=1576160
http://forum.xda-developers.com/showthread.php?t=1911317
Click to expand...
Click to collapse
Hi polimeno
Thank you for your suggestions much appreciated
Since doing research into all this I have discovered that now the phone is rooted there is an app called Link2sd that will do the job I require without installing a new ROM.
All I have to do is is backup the SDcard and make 2 partitions
Features:
- Create and remove link for apk, dex and lib files of the applications you select
- Automatically link newly installed apps (optional)
- Move any user apps to SD even though the app does not support moving to SD (a.k.a. "force move", for Android 2.2 and higher)
- Shows the apps that support moving to SD with native apps2sd (for Android 2.2 and higher)
- Set the default install location of the apps; auto, internal, or external (for Android 2.2 and higher)
- Batch link, unlink, reinstall, uninstall, "move to SD", "move to phone" functions (multi-select mode)
- Uninstall system applications (bloatware removal)
- Freeze and un-freeze system and users applications
- Convert system apps into user apps
- Convert user apps into system apps
- Integrate "Updated" system apps into system (ROM)
- Clear data and cache of the application
- Clear all apps cache at once (1-tap cache cleaner without being root)
- List applications, show detailed size information and link status
- Sort and filter applications
- Search applications by name
- Display available space information of internal storage, SD card and SD card 2nd partition
What you need:
- root permission.
- a second partition on your SD card.
You should have two partitions on SD card and both should be primary.
The first FAT partition is your standard SD card storage. The second partition is used for application files and can be ext2, ext3, ext4 or FAT32.
Some phones lack the ext2, ext3 or ext4 file system support and you may get mount errors like "no such device", "invalid argument". These phones need ext2.ko or ext3.ko modules and even some additional modules to be able to mount. Using FAT32 on the second partition will eleminate such problems, because FAT32 is supported on all phones.
Link2SD does not create the second partition, you need to create it yourself. You can use any partition manager such as Minitool, Paragon, Easeus etc. for this.

[Q] A Few Questions about Internal Storage and minimizing its usage.

Hello all .
I have a Android Phone that has very low Internal Storage. (After STOCK mod restore, there is only 100 MB internal storage free .).
So, naturally I want to put all the apps that I install now to External SD Card.
I've tried App2SD and Link2SD already.
But, when i used App2SD, the internal storage was still dropping as I installed more and more apps. (App2SD was working, meaning app2sd did move the apps to SD, but still there was decrease in free Internal Memory).
Then, I tried Link2SD. This gave me the same result as App2SD. This was better than App2SD though, meaning the decrease in Internal Memory was slower compared to App2SD.
Now, here's my question : I want a proper technique to move EVERYTHING app related to SD card when i install an app.
Here is an Idea :
Can i create links to Directories in Internal Memory and move the Directories to external SD card ?
i know i can create links to files. but is it possible to link whole directories ? (If the app tries to create new files or directories, the link must work in such a way that new files and directories are created in External SD....... this must be invincible or transparent to the App..)
Some more of my Ideas :
Recently, I came across this : [TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req. - xda-developers
Can I Bind the whole "/data/app" and "/data/data" and "/data/dalvik-cache" to External SD Card ?
Will it cause any OS instability ? or any other problems ?
And i have 1 more question :
When i install a new Application, I wanna know all the directories that it uses.
These i know : /data/app (for apk), /data/data (for data) and /data/dalvik-cache (for odex) ... Where else does the application use storage space ?
This i wanna know coz, im going to try to Bind the Directories using the tool i mentioned above. Or try to create Links...
Thanks a lot fellow XDA-Developers.... :highfive:.
If its of any help, my android device is "Karbonn A5i" .
Bump
.:Death_Angel:. said:
Bump
Click to expand...
Click to collapse
Int2Ext sript is what you're looking for You will have to partition your sdcard. First partition Fat(32), second partition Ext2/3/4. The scripts are meant to flash immediately after flashing the rom via cwm as other recoveries are not doing well with the scripts.
Int2Ext scripts move all app data to the Ext partition on your sdcard
Int2Ext+ scripts will move most of the data to Ext partition but will still use some of the internal storage as its faster this way.
Keep in mind that moving all data to sdcard will slow down your device
Thanks a lot LS.xD for your reply. I hit a few bumps along the road, but its working like charm now .
Here are the problems that I faced :
1) I didn't have Init.d Support in my Phone.
Solution : Universal Init.d - Android Apps on Google Play
This Doesn't work at all : [GUIDE][XSP]Easy init.d support for Stock ROMs - xda-developers
2) The Int2Ext script installation resulted in an Error (in ClockworkMod) (Status 0 Error.).
Solution : http://forum.xda-developers.com/showpost.php?p=29421274&postcount=66
After getting past those things, everything is working just fine now (I'm using INT2EXT) .
Again, Thanks a lot LS.xD for you help.

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.

Categories

Resources