[Q] Link2SD symlinks broken after reformatting the 2nd partition - General Questions and Answers

I recently ran into issues with my 2nd partition on my SD card not being able to be mounted by Link2SD. I went through a bunch of solutions before I finally discovered that it was showing up as "FAT32" in Minitool instead of "Ext2" as it had originally been formatted as.
I then went ahead and reformatted it as Ext2 and this 2nd partition was subsequently able to be mounted by Link2SD.
However, now I'm running into an issue where all of my apps are showing up as one big fat System Data block indicated here - http://i.imgur.com/ksukQGG.png. It had previously shown the individual app folders where it shows the big "System Data" block now.
I'm assuming that Link2SD created symlinks that are broken somehow? I would assume so at least. I can't fix it by running "Relink all application files" because it says "Found no files to link".
Other issues of note:
1) Can't install any apk files from the Play store or manually. On the play store it says "Error -110".
2) When I open up the Android app manager, all applications (both system and user installed) show up with a 0kb size.
3)***All applications that I've tested are still running normally on my phone, so they exist and are able to be used normally somehow.
Can anybody help me out? I'm unable to move apps/install apps/clean cache/etc. because of all this.

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] how to use link2sd plus (new)

i have s5830i
with 190mb device memory 2nd partition 250mb
i bought the link2sd plus a while ago because i though by using it and the 2nd partitioning i can transfer my app's and its data fully to the sd as said in every where ,i think, so i tried it
1- i opened it and selected my app
2- clicked create symbolic link
3- selected everything (including data ) its plus
4-waited till it finished loading
the i decided to see my app (facebook) it is still in the internal
and it even got bigger
so it is normal and then i have done the same with every other app
the all got bigger and i now get the insufficient memory message
and i can't even download app's from google play
so what to do
am i using it wrong
or did i waste my money
marawanhany87 said:
i have s5830i
with 190mb device memory 2nd partition 250mb
i bought the link2sd plus a while ago because i though by using it and the 2nd partitioning i can transfer my app's and its data fully to the sd as said in every where ,i think, so i tried it
1- i opened it and selected my app
2- clicked create symbolic link
3- selected everything (including data ) its plus
4-waited till it finished loading
the i decided to see my app (facebook) it is still in the internal
and it even got bigger
so it is normal and then i have done the same with every other app
the all got bigger and i now get the insufficient memory message
and i can't even download app's from google play
so what to do
am i using it wrong
or did i waste my money
Click to expand...
Click to collapse
I think the way you use link2sd are correct. For the problem you mention, maybe you can check how much the apps use the storage space by check it one by one from "Storage Info" in link2sd options, with this you also can check if your apps moved or not to 2nd partition, even only number. For example, first you install facebook, and then open link2sd. Don't link facebook apps with link2sd yey, but open "Storage Info" from link2sd menu. Remember the "Internal" and "SD Card 2nd Part" free space. And then, link facebook app. After the process done, open again "Storage Info". If you see increasing "Internal" free space and "SD Card 2nd Part" free space decreasing, then you're not wrong using link2sd. Your app moved to 2nd partition.
*sorry for my bad english and explanation, i'm just noob
yeah, i agree with ^
it does that in some roms, it makes a link from the ext but fails to remove the source. this is basically an issue with how you mount the partitions at boot in the init.d folder. check your init.d scripts there might possibly be some conflicting scripts or something was declared incorrectly.
---------- Post added at 09:47 PM ---------- Previous post was at 09:41 PM ----------
try completely uninstalling facebook, then recreate the mount script, then reboot. if the the storage in link2sd does not detect your ext partition, recreate the mount script again and reboot until it does. after that you can then proceed in reinstalling facebook and moving it to ext afterwards.
p.s.
using ext4, formatted in gparted from a linux machine is the best way to go about making the extended partition because windows based partition managers such as partition wizard seems to create the linux ext partition table in a not so correct way, such as allocating from the wrong bit and stuff like that. and by my experience when you part your sd do it by plugging the sd directly to your computer and not from usb cable from your phone.

Link2sd lost 2nd partition (f2fs)

While working with Link2sd, I moved a ton of apps to the SD's 2nd partition, using f2fs file system. Rebooting the phone (XT926 - 4.4.2 - rooted), the 2nd partition was no longer accessable and, of course, the apps vanished. Worse, I can't re-install some of them. I get the "not enough storage" gripe. Short of doing an FDR, is there any hope of recovering the data or at least making it possible to re-install the lost apps? FWIW, I tried reading the SD under Win7 (nothing found, of course) and SuSE Linux with f2fs.tools installed. Still nothing.
How SOL am I?
I did an FDR.
It looks as though EXT3 is a workable choice. Right? Wrong?
I posted following is posted at the end of Working CWM Recovery for LOCKED 183.46.15 + Deodex and more
[... I]t appears that two related problems have shown up. And those error messages lead to 2 points.
A) Apps like Link2SD and Apps2SD, which move data from the internal "SD" to a real SD, fail to work. The errors all feature some form of the mount failing.
B) busybox isn't visible to these apps.
Busybox is located in /system/xbin. The link apps try to mount a second partition on the external SD. The mount utility is supplied by busybox. The errors say that /sbin/busybox can't be found. I think the system PATH is supposed to make calls to /sbin/busybox resolve to /system/xbin/busybox. I created a symlink from /system/xbin/busybox to /sbin/busybox. That changed the nature of the error messages somewhat but otherwise didn't correct the "mounts don't work" problem. After rebooting the phone, the symlink had to be created again as it wasn't present after the reboot.
I spent a lot of time with the Apps2SD developer (no reply from the Link2SD developer), trying to figure out what was going wrong. At the end of the day (literally), the problem was, in her mind, the ROM. Of course the ROM in the MAXX HD is locked up, so that can't be the source of the problem. But... is it possible that deodexing, or at least the process that installed the deodexing mod, subtly broke something related to busybox?
Click to expand...
Click to collapse
There isn't much to be added here except to ask if anyone has used one of the "link to SD" apps successfully.
RBEmerson said:
While working with Link2sd, I moved a ton of apps to the SD's 2nd partition, using f2fs file system. Rebooting the phone (XT926 - 4.4.2 - rooted), the 2nd partition was no longer accessable and, of course, the apps vanished. Worse, I can't re-install some of them. I get the "not enough storage" gripe. Short of doing an FDR, is there any hope of recovering the data or at least making it possible to re-install the lost apps? FWIW, I tried reading the SD under Win7 (nothing found, of course) and SuSE Linux with f2fs.tools installed. Still nothing.
How SOL am I?
Click to expand...
Click to collapse
Sent from my Eon_62i using XDA Free mobile app
You don't say... [/wink]
So does Link2SD not work with f2fs? I get "Second partition not found"

Link2SD doesn't recognize second SD partition

I'm currently trying to move some apps on an LG G2 Mini running Lollipop to the SD card so I rooted the phone using KingRoot and tried to follow this guide but for the love of me I can't make Link2SD see the ext2 partition.
I've tried formatting it to ext4 as some people have suggested, to ext2, giving it a label or not but nothing helps. The partition goes second, is marked as primary and Link2SD is granted root permissions so nothing should be wrong and yet every time I am prompted to choose the filesystem of the second partition, I get an error saying that the script can't be created and a "mount: No such file or directory" error. Also, when I choose the "memory" option in the upper right of Link2SD, the "2nd SD partition" bar is empty and says "not installed" underneath.
What could I do to make it work?
Wow, it just... worked. Dunno how in the world, but it did. I just plugged the card into my PC to copy some files to the media (FAT32) partition, didn't format anything, put it in the phone, started Link2SD, it said there's an invalid path, I restarted the phone, started Link2SD, selected ext2 and this time it just... Worked. Rebooted and everything works fine. No idea why it suddenly decided to work but maybe it will help someone to recreate the steps I did

Unroot Android (remove symlinks by Link2SD)

Before posting this, I tried looking at other forum threads and over the internet in the last week, but could not find a solution so far.
I have a Huawei Y300 with Android 4.1.1. It was rooted and was pretty much fine except for some issues (they happened in time, are not caused by the rooting itself). Meanwhile, I changed the SD card and the defects include:
- cannot set contact photos (it stops when it tries to crop image)
- cannot change theme (it shows it empty and says "internal storage full" - which is not true, plenty of free space shows up in app manager)
- can't use file manager - doesn't see anything from Local
- without a card in it, gallery and camera don't work at all
I did a factory reset and cleaned the davlik folder, but didn't change anything.
The problems come, I think, because Link2SD creates symbolic links to some folders, and those folders are not the same in a new card. For instance, when I use Root Browser and click Properties on some folders, I get:
Path: /sdcard
Symlink:/storage/sdcard0
But, when I use phone's File Manager, it does not see the files from "storage0", it shows only files located in "storage/sdcard1"
I tried to do a system update, by putting a firmware zip (or app) on the card. But it does not see it there, because it sees what the symlink tells it to see. So I'm stuck in a loop.
Because it was impossible to make Link2SD see the new card, I used another phone, with Android 4.4. After endless attempts, I got that phone to see the two partitions on the card and function. (I had to make Link2SD system app and chose ext4 for second partition.)
I took the card back to the problem phone and only sees the first partition, not the ext4 one.
In Link2SD storage info it shows:
Internal (69% free)
SD Card (unmounted)
External SD (93% free)
Second Partition (not found)
System (33% free)
Cache
When I click Recreate mounting script - it says sd card not found.
Relink files: /data/sdtext2 not found
I basically would like to get the folder structure back to the original settings, maybe use the phone without card or with a new card, with or without rooting - just the simplest way possible, but to be able to use photos for contacts and wallpapers.
update
After numerous attempts, I managed to get into recovery mode from Link2SD (the same ) and started firmware update.
It lists doing some operations, but very soon it says wiping cache... and installation aborted.
Should I try with a different ROM? This one is from Huawei website, official, general version.
it's done!
Not that anyone answered, but in case you have the same problem: it's fixed!
Again with Link2SD. Made a third partition on the card, than in Link2sd click the left upper corner for more options. Scroll down for Restart. It gives options for recovery. Deleted everything with the two options to wipe cache and I don't know what else. And than chose restart from volume keys and upper button as enter.
It didn't do an upgrade, rather a downgrade to a previous factory version but i'm happy with it.
Won't risk another rom change.

Categories

Resources