yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] YaduXGT:
Slow booting problem...

hey i have been using link2sd for past 2 months on my Motorola Fire XT530 and i have an 8gb class4 sd card on which i have done a 1000mb ext2 partition of which 538mb is used up by many of my applications(apps which had large dalvik cache such as angry birds,mega jump,4shared,office suite,... etc) but when ever i try to reboot the phone it take a lot of time to boot(about 15mins)and the keeps showing memory is full and that i have to release some internal memory. This keeps showing for anothe 10 mins and after that goes away and now i can see my actual free internal memory. i this this is because it take too much time for the link2sd to link the file to ext partition... and now a day i have encountered another problem... after reboot my phone reboots on its own again and again about 2-3 times sometimes only once more.

please tell me a solution for these problems...

1)faster linking of files (link2sd- i have checked the "link automatically on boot" option) after boot

2) automatic rebooting after once rebooting the phone (this started probably after installing busybox... not sure though)

please reply... hopefully with solutions :angel: :)

--------------------------Thank You-----------------------------
[Android Apps and Games] ankur3290:
Please don't quote OP!!!
[Android Apps and Games] Arioch1:
Hello Yado. 1st of all - don't overquote please!

2nd: you probably use Android version 4 - u do not tell it, and that is bad, important information should not be withhold.

I can describe my experience with Android 4.1 (CyanogenMod 10.0) on Sony WT19i (Live Walkman, coconut)

1) Link2SD is has a number of minor bugs, like "refresh command really does not refresh. And misfeatures.

The Author seems short of time or lost interest and rarely update the app.

There is no sources and no one else also continue development.

2) Link2SD was made for Android 2.x, support for Android 4.x is very poor.

Now what happens during boot on Android 4.x

a) some unknown entity at some unknown boot stage makes safety check over libs and dalvik-cache folders.

Elements, symlinked by the app, get deleted - either because symlinking is insecure and jail-breaking, or because ATM they can not be read from not yet mounted SD-EXT, dunno.

b) at some later stage, when SD-EXT got mounted, Android starts to check newly discovered applications (APK files, that are situated on SD-EXT) and suddenly discovers that applications are corrupt - there are now DEX and LIB files for them (were deleted during the stage above).

It starts recovering (what u might see as looong circling lights or even special windows "Android is being optimizing 100 of 500 applications" ) - extracting LIB files from APK archive and re-compiling DEX files. Since that is done by Android core, it is put onto main storage. Link2SD is not yet active and cannot intervene and move them to SD again.

c) at some point the recovery process is stopped because all the room in /data partition is exhausted (you are lucky - for you it is almost-all room). Then Android continues boot.

d) Flash/SSD storages are targeted at relaxed wearing off the media. That means great deal is taken to distribute writing data all over the media. It also means - at least for YAFFS and JAFFS file systems - that as the free room is disappearing, attempts to find to erase at least some flash to write new data are taking exponentially more and more time. Phone slows down heavily.

e) later at some point - if you have some memory left - Link2SD is giving start and starts to re-symlink all the LIBs and DEXs to the SD-EXT. But that does not happen soon due to the above slowdown.

For me it does not happen at all - for there is no room left at all. I have to launch Terminal and manually delete some LIB folders

f) i suspect - but did not tested - that one can make a bash script to check and recover symlinks, but i ain't sure. I also fear that if SD-EXT dalvik cache and LIBs would really get corrupt, that may end with never-loading Android until u remove SD-EXT card from the phone body.

I have zero experience of Android programming, but i believe those observations are more or less true.
[Android Apps and Games] n756gkj:
take 2: Link2sd status?

bueller? bueller?
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

I am having some serious issues trying to create a partition. After creating the partition, link2sd recognises both partitions as 1gb even though it's a 16gb class 4 sd card. What could be wrong? I even used an sd card adapter but got same results
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

It'd help if you mentioned at least the device and version of Android along with custom ROM when you ask this sort of thing. Also what tool you used to make the 2nd partition and exactly what file system you created.

In general are you sure the ROM supports the file system you used? Some don't deal with ext4, for example.
[Android Apps and Games] frenzyboi:
Is there any alternative apps that works for Android 4 and above?

Just bought a new SD card and wants to create a partition.
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

Sorry for not including all the details. I'm on Xperia ultimate hd rom on the neo v. I somehow managed to get it working by switching off the phone after successfully creating the partition with Minitool partition manager. Previously when I unmounted the drive after partitioning, I got an 'sd card damaged' error.

---------- Post added at 01:37 PM ---------- Previous post was at 01:33 PM ----------

I want to go back to stock GB but still want to use this app. Should l just format the Link2SD partition then repeat the process after flashing stock GB?
[Android Apps and Games] Arioch1:
This program just enables standard Linux features in the kernel - if they are present there.

Most probably stock kernel would not support ext2/3/4 filesystems and would not be able to access extended memory, no matter how the app would ask it to do.

Check if ur stock kernel supports filesystem created by the app.
[Android Apps and Games] jeroenj_1989:
Out of space

First of all, great work on the app.

Works great, all apps are linked to SD automatically, and phone memory stays nice and free.

However, today I wanted to install a rather large application (CoPilot Live 9.1 @ 18MB, APK file)

on my ZTE Blade running CM10.1.

During installation I get the message:

Out of space

CoPilot Live couldn be installed. Free up some space and try again.

I find this strange, since when I look in Link2SD -> storage information I get the following results:

Type: internal

Total: 294MB

Free: 180MB

Type: SD Card

Total: 6.41GB

Free: 5.68GB

Type: SDCard 2nd Part.

Total: 0.97GB

Free: 0.76GB

Type: System

Total: 160MB

Free: 4.78MB

Type: Cache

Total: 2.00MB

Free: 0.04MB

I have already linked all apps to SD, and cleared cache.

Does anyone has an idea on what this is causing (and preferrably how to fix it)?

Thanks in advance,

Jeroen

---------- Post added at 11:52 AM ---------- Previous post was at 11:38 AM ----------

Well this is quite stranged.

Tried installing Angry Birds @28MB (just for the sake of testing, no worries) and it installed without any issues.

Looks like it is CoPilot related...
[Android Apps and Games] frenzyboi:
Re: [App] Link2SD

Does Link2SD works well on CM 10.1? Any errors faced during start up like previous few post? Works flawlessly?

Thanks.
[Android Apps and Games] jeroenj_1989:
At first I had some problems with the app not recognizing my partition.

For some reason it did link the apps to the partition, but after a reboot they were not found.

However, I had some more problems also with other apps and the ROM.

So I doubt whether these issues were Link2SD related.

Probably just a crappy ROM install.

I reflashed my ROM and did a complete data wipe (factory reset) from CWM before booting.

This fixed all my problems, including the link2sd not recognizing the partition.

Now it works flawless, except my problem with CoPilot offcourse.
[Android Apps and Games] jeroenj_1989:
Hmm definitly looks like a problem with the ROM install.

Just re-flashed ROM and now I can install Co Pilot using Link2SD without any issues.

So again, great work!
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

Glad to hear you managed to get it fixed. In general for future reference the way an app that's on the SD card currently gets moved to the 2nd partition is via system/internal memory. That is the App2SD operation is undone which moves the app to internal memory the the app gets copied to the 2nd partition (along with optional dex and lib file) the the originals are replaced by links to the 2nd partition of the SD card. So if you are just starting out using link2sd on a phone that's filled up with apps and move of them were moved via App2SD there may not be enough internal memory to handle large apps. The solution is simple if perhaps not obvious. Move a bunch of little apps first. Each one may only free 512k or a single megabyte but it will add up.
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

I want to reflash my rom does this mean I have to format the second partition then after the reflash install Link2SD and link the apps to the partition?
[Android Apps and Games] vvcepheus7:
Hi,

Sorry for the stupid question but what is the best for my phone? FAT32 or EXT4? And if EXT4 is best, for what reason?

If I make a EXT4 partition I need create a SWAP partition?

I have 3 phones: motorola fire, htc chacha, samsung galaxy ace. You recommend me the same format for all phones in general?

Thank you!!
[Android Apps and Games] EatHeat:
Re: [App] Link2SD

Better format it..Will be better than having problems later on..

__________________________________

Hit thanks if I helped...
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

Better go with the FAT32 format as it will be easy to have the card recognised by every operating system. With the EXT4 format you might get problems on other operating systems other than Linux based distros
[Android Apps and Games] vvcepheus7:
but If I use EXT4 the security of data and performance of phone is better? the programs run with more speed??

many people say that it is!

thank you!!
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

Can't verify if those claims are true or not but since Android is generally a fork of Linux it could be true as EXT4 file system is a Linux based file system
[Android Apps and Games] steventrannn:
Apps that I moved to the Ext3 partition with Link2SD are constantly having a 'Force Close' message. When I reboot the phone everything works again. Any suggestions on how to fix this?
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

While it is true that a Windows based computer can deal with fat32 format and can't deal natively with the Linux formats (ext2, ext3 or ext4) it ultimately doesn't matter because Windows can't see beyond the first partition on removable media. So it makes sense to use a format native to the OS of your phone which is one of the Linux choices.
[Android Apps and Games] K3vin71:
Re: [App] Link2SD

I had it but i removed it :/ it's aweful..
[Android Apps and Games] frenzyboi:
Re: [App] Link2SD

Awful and didn't even bother to give a review and state why is it awful? Been using it from Gingerbread to Jellybean and faced no error or unhappiness with this app. Any reason?
[Android Apps and Games] :
Re: [App] Link2SD

True

I am also using it and never faced any problems
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

It's better to include the actual issue you faced. Who knows someone might be able to help you. I have never had any problem with this app. It's God sent :D
[Android Apps and Games] padhu1989:
Re: [App] Link2SD

You are the only guy saying that this application is not good. I am using this app for a long time.

I didn't face any problem so far. This app is very useful for me since I have only 200 MB.

Sent from my GT-S5830i

Simplicity v4 + Rafael baugis kernel + Andrenaline Engine + Link2sd
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

So it's ok to format the secondary partition to EXT format (which is the best for Android 2, 3 or 4?) and then mount it with LINK2SD as FAT32? :confused:
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

When you run link2SD the first time it will automagically determine that there's a 2nd partition on your SD card. It then will create the mount script but it will first ask what format to use. This is where you will answer with the format you used. Older (2.3 and before) Android devices probably only support ext2, newer ones usually do ext4 but may only do ext3. It's all dependent on the kernel.

If you're willing to experiment a bit just start with ext4. When Link2SD attempts to make the mount script if it fails reformat the card and restart your device and try ext3 and then ext2.

Assuming you're using the Windows based mintool (can't remember its exact name) or a Linux live CD you do the same. First delete the 2nd partition then create a new one using the new format. You can do both operations as one action and it takes less than 5 minutes to do.
[Android Apps and Games] LittleWing57:
Hi,

First off, I'd like to give a big thumbs up to Bulent for this smart and well-crafted tool that gave a new life to my little SGY.

Then I have a question regarding the integration of updated system apps into the system.

I've understood it's going to replace the original app in /system/app with the updated one from /data/app (thus free some more space on the internal storage).

I currently have 6 updates to integrate, is it safe to integrate all of them then reboot or should I integrate/reboot one after each other ?

(I mean, does Link2SD use some script that is launched at bootup to tell the system which files to replace or is it done on the fly ?)

Thanks for your tips about this.
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

It depends on which apps you're integrating. Apps that constantly run and access data, like the Play Store, misbehave badly as soon as they are moved so you may want to reboot for it but ignore the constant errors Maps will throw. Others like Play Magazines don't misbehave until the next time they run to update data. Any superuser app requires an immediate reboot.
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

I'm currently using this awesome app. Will a Nandroid backup be able to back up all apps and data including the ones linked on the secondary partition? :confused:
[Android Apps and Games] sasa g:
Re: [App] Link2SD

Yes. In nandroid folder you will see sd-ext.ext2.tar file.
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

Does this mean when I want to restore a Nandroid backup, I have to format the secondary partition or it will handle everything automatically?
[Android Apps and Games] sasa g:
Re: [App] Link2SD

It will handle automatically. Just do factory reset before restore.
[Android Apps and Games] LittleWing57:
I had updates to Play Store, Maps, Street View, GMail, VoiceSearch & Youtube. Hit "force close" upon warnings, rebooted. Seems to have worked fine, /system/app now contains the latest versions.
[Android Apps and Games] templeka:
Application is great but I'm constantly running into one issue with whatever rom I'm using. The problem is after a while I can't link any apps because of an error about 2nd partition being read only. When I had ICS the problem would just go away with a reboot or something but now I'm on a GB rom and the problem remains. I don;t know if this has any connection with the read only error but I'm just saying. How can I solve this problem? My 2nd partition is FAT32 by the way. I already tried, as someone suggested, "fsck_msdos /dev/block/mmcblk0p2" and that didn't quite work.
[Android Apps and Games] pururava:
Re: [App] Link2SD

I had the same problem in my phone.

I guess it is due to bad/corrupt file system.

I backed up my 2nd partition 1st and then i formatted my 2nd partition and recreated 2nd partition all over again just to be sure.

Havent had problem since.

So i think u can try formatting ur sd card 2nd partition. :)
[Android Apps and Games] templeka:
Yes you were right I formated my 2nd partition and now everything is ok.

Also found a nifty application to show the 2nd sd card partition in Windows and the process to backup and restore its content became very fast and easy for me. :p
[Android Apps and Games] garzie2000:
Re: [App] Link2SD

Which application is that?
[Android Apps and Games] grbic:
link2sd problem

have a little problem with link2sd. on auto link options all 3 options is checked but every time i reboot phone i must relink manualy dalvik cashe files... phone is medion life p4310 (zte skate), rooted, ext partition created in cwm 1gb, card is 8gb class 6, rom is modified stock (2.3.5) with custom kernel. is any solution for this?
[Android Apps and Games] jasonkhoo87:
I found out that too much apps will make the link2sd exit itself after loading, or moving apps to sd.
[Android Apps and Games] marniel647:
It is better that the apps is in "on SD Card" or "Linked to SD Card"? sometimes it does not free up some space. Thanks
[Android Apps and Games] mjalpl:
Hi, you can put all apps in sd card, or only a part?
[Android Apps and Games] EatHeat:
Re: [App] Link2SD

U can put all apps on sd..even system apps..but it is not recommended that u do so..

_________________________________

Hit thanks if I helped..

---------- Post added at 10:33 AM ---------- Previous post was at 10:28 AM ----------

Better if it is linked..it frees up more space ..n best thing is when sd is connected to pc via phone..partition isn't unmounted..means u can still use the linked apps..

_________________________________

Hit thanks if I helped..
[Android Apps and Games] mrbigs89:
Auto-link with SDK

Hi guys, first post here, so bare with me if this is the wrong place to ask this.

I'm developing apps with Eclipse + Android SDK and I usually test them on my LG P500 with cm9 and Link2SD with auto-link enabled.

Is there a way to prevent Link2SD from auto-linking apps when I install them via USB? I know that I could just turn auto-linking off, but it'd be nice if there was another way...
[Android Apps and Games] EatHeat:
Re: [App] Link2SD

Just turn autolinking off..n after testing...turn it back on again..

_________________________________

Hit thanks if I helped..
[Android Apps and Games] PCourtois95:
Which application is that?

Many Thanks
[Android Apps and Games] LittleWing57:
I don't know exactly how Link2SD handles the auto-link function, but, in your case, what I would do would be use an automation app like Tasker or AutomateIt with the following triggers (if available) :

- connection to USB -> close/kill/freeze Link2SD

- disconnection from USB -> launch/unfreeze Link2SD

If Link2SD detects when the installer is launched, this might do the trick

If Link2SD scans your card for newly installed apps, this might not work.

Just my 2 cents ...
[Android Apps and Games] CheriePie:
I've been using Link2SD for awhile now, while I was still back on ICS and even before.

I'm on JellyBean now and though everything would appear to be working correctly from the surface, and I have no problem linking files to SD if they're currently on phone storage, I'm having a problem I haven't been able to solve yet.

I ran through JB's internal Storage Wizard (from Settings -> Storage) about a week back where it prompted to move some apps to SD to free up app storage space. Well, after I let it that Wizard, all seemed to be fine, but now I see that several apps, including certain system apps that should not have been moved, were linked to /mnt/asec. I say linked because I'm not sure of the usual way that moving to the SD Card works but after examining the file directories under /data/data, I see that it created a symlink for several of these apps and their libraries over in /mnt/asec. But now I can't find how to transfer them back to phone storage. When I try to do so from Link2SD, which is correctly showing these apps as "On SD Card", I get the following error message:

Failure - pkg: /mnt/asec/ccc71.at-2/pkg.apk Failure [INSTALL_FAILED_INVALID_APK] <-- using Android Tuner as example, one of the apps that shouldn't be on SD because it works deep within the system.

Also moved (symlinked) over were other system apps like SuperSU Pro and Titanium Backup. So how can I either (a) get these apps back in a state that Link2SD can work with, or (b) use some other way to move them back to phone storage so I can then use Link2SD to manipulate them to where I want them to reside?

I already tried uninstalling and reinstalling, using Scramble with Friends to test, and the OS put it right back to the SD Card using the symlink I mentioned before.

Further googling--which hasn't turned up much useful information so far--did finally turn up something that seems to refer to this phenomenon as bind mount as opposed to symlinking, which doesn't work across partitions. So maybe I'm not finding much because I'm not searching on the right terms.... In any case, I need to find out for sure what's going on here and how to undo it. Any suggestions appreciated. Thanks!
[Android Apps and Games] weiyu:
Link2SD issues made it useless on my Note 2 Phone

Hi,

My phone is Samsung Note II, SGH-I317M, rooted with CF_AUTO_ROOT with original Stock ROM, SuperSU is installed, My external card is a 64G Sandisk that has 2 partitions (all primary, the first partition 51G is in exFAT, the second partition 8G is in FAT32), from Link2SD storage info, it sees the free 8G 2nd partition (FAT32), when the first time Link2SD starts, I select FAT32/16 and reboot. However, Here are 2 issues that made Link2SD on my phone useless:

1) Some applications (e.g. /mnt/asec/com.rovio.angrybirdsspaceHD-2/pkg.apk) were "On SD Card", which are not correct, because they are never moved to the SD card, still in the internal memory, clean up the 2nd partition brought up: Found no files to delete, click Move to phone button end up getting ‘INSTALL_FAILED_INVALID_APK’.

2) Try to move some of the applications that are not On SD Cards to SD Card, end up getting: INSTALL_FAILED_INSUFFICIENT_STORAGE, which are not correct either, because there are 8G (FAT32) free space available in the 2nd partition.

Please help how to made it works on my phone.

Thanks much!
[Android Apps and Games] bsoplinger:
Re: [App] Link2SD

The insufficient storage error is because your phone's internal memory (storage) doesn't have enough space. When Link2SD attempts to make the link it first moves the app to internal memory then copies it to the 2nd partition of the SD card then removes the original and creates a link in its place.

Try linking a few small apps first. Each will free up a small amount of internal memory but it will add up to enough free space to move larger apps.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Android Apps and Games] weiyu:
Re: [App] Link2SD

The internal memory, I am assuming you are talking the sdcard0, has 6.27G free space available. Im confused about what you said, the app already installed in the internal memory, why it needs to move to the internal memory again, and then move to ext. card?

Im now just wondering whether Link2SD really works well with JB 4.1.2 or not.

Tried move one of my game apps to 2nd partition successfully using 'Create link' button , but it disappeared from Link2SD app list as well as android application list afterwards, just like its uninstalled from the system, and I have to reinstall it from Play store again, and used Solid Explorer to remove all files in data/sdext to recover 2nd partition space. :(
[Android Apps and Games] O.C:
I'll post here too: Any solution to [INSTALL_FAILED_INVALID_INSTALL_LOCATION] error?

http://xdaforums.com/showthread.php?t=2151747
[Android Apps and Games] mEmoZz:
Re: [App] Link2SD

hey,

plz can u enable 'clear data' when make a multi select?
[Android Apps and Games] dialallama:
Sorry posting again as still no solutions out there
[Android Apps and Games] weiyu:
Re: [App] Link2SD

I had exact same problem, it looks to me Link2SD does NOT support 4.1.x, totally failed.
[Android Apps and Games] username1234321:
Re: [App] Link2SD

It worked perfectly for me on Android 4.1 and now also on Android 4.2.2