yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Bling_Diggity:
Link2Sd on CM 7.1 workaround

I originally posted this on Nexus One Forum. This method has worked without a glitch for me.

OK, so I have found a better workaround method that, unlike the dtapps+link2sd method above, actually works 100% of the time.

This method was *mostly* borrowed from icecreamisdrugs a2ext mod how-to thread over at XDA: LINK. It worked without a snag for me, though it was a bit tricky.

1. Titanium Backup all your apps/settings/whatever.

2. Plug in phone to PC (mass storage) or turn off phone, take out SD and plug into PC card reader (faster file transfer method on my HP Laptop).

3. Download a2ext-installer file HERE. It may take more than one attempt to download...the first time the download page wouldn't load for me.

4. Place the a2ext-installer zip on your SD card, as well as a copy of CM 7+ (7.1.0 HERE) and the latest copy of Gapps (20110613 HERE).

5. Unmount SD card from your PC (and put back in your N1 if you used card-reader).

6. Reboot to Recovery. I used ClockworkMod 2.5, have had waaaay to many issues with 3.0, and I don't care how many time Rom Manager nags me thats the way it's going to stay.

7. NANDROID BACKUP

8. Wipe everything - Cache, Data, SD-Ext and System.

9. Flash CyanogenMod 7+

10. Flash Gapps

11. Flash a2ext-installer

12. Reboot into CM7+. May reboot on the X screen a few times. Mine did twice before it kicked over to the CM7 logo.

13. While you may notice Simple2ext came with the a2ext installer package, it is not needed and you may delete it. It was originally included to perform functions which Link2sd could not, but now Link can do everything Simple can and more.

14. Update Link2SD from the marketplace (should be version 1.6.x or greater).

15. Load up Link2sd, click options, auto-link apps.

Tada! Now all your apps (and their respective dex and lib files) should be auto-linked to the SD-EXT partition, regardless of whether you re-install them from the market or restore them with Titanium Backup.

Only took me about 24 hours of complete FAIL to figure this method out, lol.

NOTE: You may want to turn OFF auto-linking when installing/updating some system apps. Also, DO NOT attempt to use this method for any other ROM than CM 7.x.
[Android Apps and Games] cesko69:
Works like a charm on my x10

Proudly sent from my French Minitel
[Android Apps and Games] .ADSEFHR:
I have used this quite a long time. Then my phone got bricked by something and I wiped out all the data in my phone, not my memory card. Then I did install this back on my phone. I formatted my memory card, partitioned it just like before but now I can't get this thing to work. The app kept on recognizing my former memory card (sd card 2nd part). The 1st part of my sd card is good, it detects the new settings but the 2nd part won't work. So I'd like to know how I'd wipe out the 2nd part settings. Any suggestions?
[Android Apps and Games] XsMagical:
This is a great app, i just tried it on my EVO 4g with an AOSP rom. Thanks for the post.
[Android Apps and Games] Bling_Diggity:
Um...not quite sure what you're asking. I mean, you can format the sd-ext with Clockworkmod. That will make it into a ext3 partition.
[Android Apps and Games] guptarohan11:
i wanted to use link2sd ...http://media.xda-developers.com/images/smilies/confused.gif

but if some1 plz tell me that if this app move every part of an app to sd ??

like some part of app in sd also consume some internal memory...

am i right??????????????????????????
[Android Apps and Games] azcv:
I have some questions.

1.Is it safe to use this app https://market.android.com/details?id=rappsd.v1 along with link2sd?It says that it can move all data to sd on the embeded partition.I just want to try it .

2.I am about to buy a bigger sd card.What are the steps to copy the information from my second partinion of my old sd to the second partition of the new one?The new second partition will be bigger then the current one.

3.Will the problem with the unlinking of the library files will be fixed on gingerbread,because soon will be update for my optimus one to Android 2.3.3?

4.Is it posible to be added some functionality like the application from my first question.I mean an ambeded partition for moving the private data of some apps.But i think it will be better to put the embeded partition inside the second partition.Am i right?

P.S.I will not update to gingerbread until link2sd is enough compatible with it.I don't want to stop using link2sd,because it is the most stable and functional app for app2sd(exept the lib unlinking).
[Android Apps and Games] bakpinar:
I finally had a chance to work on Link2SD and added batch linking and unlinking functions.

I hope to release a new version this week.
[Android Apps and Games] lerkin:
Great news, thank you very much
[Android Apps and Games] Jason Black:
Your app is greatness
[Android Apps and Games] lerkin:
Another question here. Is there any way to add data2sd to link2sd?
[Android Apps and Games] rhythmbox:
I always hated the limitation on my Desire for the number of applications I can have but not anymore. Thank you very much.

Since I'm using Cyanogenmod 7.0.3 The only problem I'm having is the infamous unlinking after rebooting but after a few quick reboots from the aplication and linking of dalvik-cache files it usually returns to normal, I have around 90 applications and the boot time takes around 6min + 2x 6min quick reboot because of the unlinked apps.

I don't mind it that much because it's the price I'm willing to pay to have all the apps I want but it would be really nice if that bug would be fixed.

Again, thank you so much.
[Android Apps and Games] AccountSaver:
Ι have just installed the Link2Sd after,suggestion.

How can i make 2 partition in my SD Card ?

When i open the program it says "make sure you have 2 partition in your SD Card".

How can i make that ?

Thank you.
[Android Apps and Games] Jason Black:
Use amon ra recovery to make partitions. FYI, amon ra deletes your entire sd card, so back everything up before you do it.
[Android Apps and Games] Kierrok:
Read the first post of this thread!
[Android Apps and Games] redjak:
Having problems with my Motorola Droid. Running MIUI 1.7.8 and I partitioned my card using the tool recommended. Tried copying over ext2.ko but it was already in modules so I didn't want to overwrite. Here is my error:

Mount Script cannot be created.

mount: mounting /dev/block/void/179:2 on /data/sdext2 failed: No such device.

Thanks!
[Android Apps and Games] Raqib:
Thanks, working great with me. I made my second partition FAT32, will it make me any problem??
[Android Apps and Games] xskyd:
Thinking about using Link2SD, but Dude...

... that spells 18 minutes !!

What's up with that? What's the trigger?:

- Every boot?

- Every boot after installing an app?

- Every boot after installing an app and moving it to the SD card with Link2SD?

- Something else?...
[Android Apps and Games] Jason Black:
My boot time is fine lol
[Android Apps and Games] bourne-nolonger:
I have been wanting to use something like this for a long time.

I currently have a Nexus One - Rooted - Running stock Gingerbread img 2.3.4

I am desperate for more space so I can stop swapping apps in and out.

I did a test of Link2SD on my old HTC G1 running CMod 6.1 just to get a feel for it.

Unfortunately, it didn't work :( The application keeps running through its first boot tutorial where it has you select the partition type of your second partition and then asks to reboot. I don't think the system is able to mount my SD card during the boot time so I can't create the links :(

Anyway, I wondering if anyone here is using a Nexus One with stock gingerbread img and this app?

If I back up my SD card, and give this a try and it doesn't work, I can always just restore my files back to my SD card and be on my way right?

I've also been using playing with move2sd enabler... what is the difference between move2sd enabler and Link2sd?

Any help would greatly be appreciated.

thank you
[Android Apps and Games] MacDrunk:
i have a xperia x10a whit a sd 2 class card here is the deal my card has already a 32 fat partition,, do i still need the second partition
[Android Apps and Games] cesko69:
You need to doy a second primary ext2 part after the fat one

Proudly sent from my French Minitel
[Android Apps and Games] rhythmbox:
You are fine if you are not using a Gingerbread based rom because this is a bug with link2sd, when you reboot it unlinks all the apps and every time you boot back you have to link them all again (it's not hard you just have to press link dalvik-cache files and the app will do it automatically) and quick boot from the (link2sd) application again a few times to get the apps back. It's a pain because you don't know what to expect on the next boot. CM is the only rom I tried and I didn't change it because I like it so I'm waiting for a fix :)
[Android Apps and Games] lerkin:
I have only unlinking of libs on 2.3.3. Apps and dalvics are fine after reboots. So it works great on 2.3
[Android Apps and Games] Kierrok:
The long boots are caused by CM7, not Link2SD. It also happens with A2SD. GB only unlinks the lib files and again it's not Link2SD fault, it's a GB "feature". My boot times are normal, just a few seconds.
[Android Apps and Games] rhythmbox:
That's interesting, what rom are you using?

I can only conclude that my issues started when I started using link2sd so I don't know if you can blame just CM for it or any of the two for not playing nice with each other out of the box.

Even my plans to restore from a backup such as Titanium fails because it restores applications from the backup until the point the message for insufficient space pops out (I hate it to death) , then I get about 54 apps back that sit on the internal again and have to link them again and then do a quick reboot and hope it fixes that and restores more but in some cases it doesn't so there's always manual work for me. It's really like on the lottery for me when I reboot my phone.

I know CM 7 is in development and I should not except a rock solid rom from it yet.
[Android Apps and Games] Kierrok:
My ROM is a 2.3.3 stock with some tweaks.

I've found the CM7 boot problems when googling for the lib unlinking problem. Check for yourself.
[Android Apps and Games] demonarcher:
Does anyone know why when I use the z4mod it doesn't root the phone @ all . My version on DROID x id 2.3.3 what do I need to do
[Android Apps and Games] 7OH:
Situation:

- i have app2sd (floyo_1.0) with ext3

- i will delete app2sd script

- i will install link2sd

Question:

1. Does it allow to create link for all my applications in extpartition ?

2. Can it automatically run (like app2sd pro) after install of other app ?
[Android Apps and Games] Jason Black:
You can create a link for non system apps and also link dalvik to sd. I dont really see why you would want to also run a2sd because it automatically moves apps to the sd card, the its kind of pointless using 2 apps that can do the same thing.
[Android Apps and Games] 7OH:
Reason to delete app2sd - i cannot move app to phone memory for speedup.

I have another idea (external memory must be in FAT or EXT if exist) but it require to mod system.

I don't know how to do this mod - thats why i wanna use Link2SD.

So i can create links for all apps in ext with one click ?
[Android Apps and Games] rhythmbox:
Thanks.

I checked most of the links but no solution there for the unlinking problem and it would be pointless to use app2sd, especially on the Desire so I'm clueless on what to do.
[Android Apps and Games] Kierrok:
bakpinar said batch linking will be available in the next version.
[Android Apps and Games] JT@XDA:
I'm on a N1 running 2.3.4. I have found a way around this issue.

- Link your app, but exclude the library from linking

- After creating links, use the 'Manage' button to go to default app management screen and choose 'Move to SD'.

The library that won't stay linked moves to SD in the traditional method while the apk and dalvik stay on SD in a linked manner. Link2SD will show it as 'on SD Card', but also will include the app when filtering for 'Linked'. You can reboot all you want and everything will stay linked and moved.

I've got almost 200 installed and am still showing over 160MB free (empty is about 175mB). App data is still internal so that eats up a little space. My routine is to link apps and if Link2SD shows there is library data I then move to SD as well. Of course don't use traditional move to SD for apps with widgets you want to use.

I've tried this with stock N1 2.3.4 as well CM7 and it works for both. I assume this works for other devices, but no way for me to know until someone else tries.
[Android Apps and Games] lerkin:
Thank you for sharing.
[Android Apps and Games] Kierrok:
In my stock O1 2.3.3 the apk is moved to the SD normal partition and only the dex file stays linked.
[Android Apps and Games] bakpinar:
UPDATE:

1.7.0

- added batch linking and unlinking (multi-select mode)

- some minor bugfixes

Hope you enjoy!
[Android Apps and Games] 7OH:
awesome. so fast :)

Grand Mercy
[Android Apps and Games] lerkin:
Thank you for your work.
[Android Apps and Games] JT@XDA:
You are right. I mistakenly wrote the apk and dalvik stay as linked. Typically only the dalvik stays linked while the apk and library go traditional SD.

However, the end result is the same... 100% of apk/dalvik/library go to SD and these older devices with limited internal memory can install to hearts content.
[Android Apps and Games] JOSEunit10:
I'm going to go crazy ... I have a new memory sandisk 4gb does not want to keep the second partition, every time I reboot the phone, the second partition becomes corrupt and link2sd can not detected.

I created two primary fat32 partitions, the first 3GB and left the rest for the second partition.

link2sd detects it fine, and says restart device, but when I restart, again prompted to choose the format of the memory and then gives me error "invalid argument" "can not mount ...".

When I connect the phone again with partition magic, for example, tells me that the second partition do not have format... I made the partitions again, reboot, and again become "corrupt" the second partition... WTF T.T

I made a couple of test on the memory and is ok, no bad blocks, read and write well.

Sorry for my bad english.

EDIT: problem solved

was the memory, had nothing to do with link2sd, sorry.
[Android Apps and Games] Kierrok:
Yes, but you have to run something else to enable move to SD in all apps. That's one app more. And those moved apps are bigger than the originals. And only are available when SD is mounted. Too many cons...
[Android Apps and Games] mad_g:
! stupid question, this apk is compatible with HO!NO cm7 Gingerbread Milestone or CyanogenMod 7.1 Milestone? Because I use HO!NO, when I run Link2SD, mount the script of the partition, reboot and all OK, but when I started to move the apk and reboot, the apk's dont appear, look like all the apks move to SD was unistall!!! Thx and sry for my bad english!!
[Android Apps and Games] mad_g:
Anybody here try this method with HO!NO cm7 for a Droid/Milestone? Thx again!!
[Android Apps and Games] bourne-nolonger:
Hey,

Phone: Nexus One

OS: Gingerbread 2.3.4 rooted - Stock image from google

Build Number: GRJ22

Total apps currently: 60 on SD card + 44 on phone only = 104

I am starting to run out of room on my internal space and would like to try and implement this application to start moving some of the larger apps I have to the SD card. I do not wish to flash a custom rom.

After reading through this post, are these the steps I should be following?

====================================

1) Backup my SD card - Mount SD card to computer and copy contents some place safe.

2) Format SD card with a single EXT3 or EXT4 partition - can be 1024 mb or bigger. with the space remaining, format as FAT32.

This can be done by either using Minitool or using a custom recovery image.

3) Unmount SD card from computer and mount it back in the phone

4) Install Link2SD

5) Launch Link2SD and set it up to use the partition on the SD card - Reboot when prompted.

6) Upon reboot, launch Link2SD and see if the initial message tutorial appears again.

7) If message doesn't appear, mount the SD card back to the computer, copy the SD card backup back onto the SD card.

***Further troubleshoot if message appears again

8) Once copy is complete, unmount the SD card from the computer again, mount it to the phone

9) Launch Link2SD again and start linking apps.

Do I have the correct steps in place to give this app a whirl? Or have I overlooked something?

Cheers
[Android Apps and Games] Kierrok:
You have to do this step the way around. First the FAT32 partition, then the EXT one. Both primary. I suggest EXT2 because it's faster, less memory consuming and supported by almost all stock ROMs unlike EXT3 and EXT4.
[Android Apps and Games] rhythmbox:
Awesome!

I don't know what was fixed but all my problems are gone now. The phone boots FAST and no more unlinking problems. Thank you!
[Android Apps and Games] Kierrok:
Except the lib files, right?
[Android Apps and Games] rhythmbox:
Exactly.

Now I don't have to fear anymore when rebooting the phone, the results are consistent and with the new multi-select feature it's a breeze to link them again.

The boot time for the 90 applications I have takes around a minute and a half.
[Android Apps and Games] bourne-nolonger:
Thank you for correcting me.

I will try this out and report back how it goes!

Cheers
[Android Apps and Games] adanedhel728:
Sorry if this has been posted before, but, well, this thread is 151 pages long. :\ But I have some kind of bug report. It may actually just be Android and not Link2SD, but it's something that at least greatly affects Link2SD.

I'm running an AT&T Motorola Flipside, Android 2.1. Whenever I have my SD card partitioned (and I have tried this with multiple cards with the same results every time), files that are recently created by my phone (like, a file I create in Docs2Go) will be deleted whenever I connect for memory card access via USB. No warnings or error messages.

I've hard reset my phone more than once and I've tried three operating systems on two computers, all with the same results.

It's kind of nuanced, and there's a pattern for when it does delete them and when it doesn't. The first time I plug in after the phone restarts, there's no problem. The second time, though, there's a problem. Almost as if the computer is just rewriting the card as it remembers it to previously be. Meaning that I just restart after accessing my SD card through USB. Every time. Kind of annoying. And caused some problems the first time that I noticed that some files were missing. I usually just connect to charge anyway, but it's still frustrating, and it means I don't really trust that any data on my USB card is safe from deletion.

I did not have this problem before version 1.6.0 of Link2SD. But, strangely enough, the problem is there even after Link2SD is uninstalled, as long as the SD card is still partitioned, which is why I say it may just be an Android problem. If I had Froyo or greater I would probably just uninstall it, but, well, my internal memory is terrible and no devs will go near the Flipside for a custom ROM.

If it's relevant, the computer I've been using is running Ubuntu 10.04 64 bit, and I've also confirmed it in Windows 7 64 bit and a separate computer running Ubuntu 10.04 32 bit.

If there's a solution, then, well, I'd love to hear it, but if not, I just thought it should still be known.
[Android Apps and Games] SrMoure:
Are external SD cards supported now?

Sent from my Motorola StarTAC
[Android Apps and Games] KripXP:
Congratulations bakpinar, great work. Fantastic application. It would be nice that all the contents of /data/data could be moved and not only the lib files. Also moving system apps would be a good idea (at your own risk of course ;)).

Thanks.
[Android Apps and Games] YouArePoop:
Thanks to Link2SD I was finally able to install Cut The Rope and Scrabble.
[Android Apps and Games] MaleSmurf:
Problem solved...
[Android Apps and Games] bourne-nolonger:
Hey,

I have had success... YUS!

I am able to link apps without a problem.

One thing though, is there anyway I can be certain the ext2 partition on my SD card is actually being mounted at boot time?

When I reboot my phone I've noticed that it takes a little bit of time before apps stored on my SD card actually show in the app drawer. I am not sure though if this is because of the link2sd app, or if it's because my SD card is sort of slow! lol
[Android Apps and Games] Kierrok:
I'm not 100% sure, but I think the partition is mounted only at boot time, not anywhere else.
[Android Apps and Games] bourne-nolonger:
hmmm.. So if it wasn't being mounted at boot time, I more then likely wouldn't be able to use the partition at all after boot?

Any one else experience a delay with the app drawer showing all the apps stored on the SD card? I would say its like a 10 second delay for me from the time I am able to launch the app drawer for the first time to the time that I see all my apps stored on the SD card
[Android Apps and Games] Kierrok:
Yes, that's the most common problem here. When the mounting script doesn't run Link2SD is useless.

Yes to this too. Not only the app drawer but the whole system lagging for a few seconds.
[Android Apps and Games] T!b:
Hi,

Just reporting one little problem.

No way to repair market link with the new market, it said "failure".
[Android Apps and Games] Almighty1:
Another comment, when I tried the Clean up 2nd partition, it listed a bunch of .zip files which is for Protected apps from the market that are in /data/app that are already linked to SD as well as the dalvik-cache files being linked while the apk is in /data/app-private that links to the SD partition. The problem is when one deletes the .zip files when using the Clean up 2nd partition option, it basically deletes the .zip files so the application drawer and the system will lose the icon for those apps while the application drawer will show the name of the apk instead of the name of the program. The only way to fix this is using reinstall in Link2SD which will reinstall except one has to manually relink both the app, dalvik-cache and lib for each app. It might actually be easier when one originally links the app to just do the following:

delete the zip, move the apk from /data/app-private to /data/app and then do the link.
[Android Apps and Games] mostafiztuhin:
2nd partition could not mount in my huwaie u8500 , 2.1. partition is fat 32,primary, always says restart then automatically mount but not. Pl help me.

Tuhin
[Android Apps and Games] mostafiztuhin:
link2sd not mount 2nd partition

2nd partition could not mount in my huwaie u8500 (branded as grameenphone crystal in Bangladesh), 2.1. partition is fat 32,primary, done by minitool.always says restart then automatically mount but never mount after restart . in storage info it shows partition but not mounted.Pl help me.
[Android Apps and Games] Ztrindberg:
Installed on official Gingerbread 2.3.3 but its not working.

Used it before on 2.2.1 and it was working great.

Now it shuts down the phone as soon as I choose partition...

I hope you get it working soon
[Android Apps and Games] T!b:
Anyone have his linked apk displayed in the market ?

Mines aren't. And the market fix doesn't work with the new market..
[Android Apps and Games] bakpinar:
I plan to remove "market fix" from the menu in a future release, because it is not needed after version 1.5.5.

Try to clear the user data & cache of the Market.
[Android Apps and Games] bakpinar:
Thanks, I'll fix this.
[Android Apps and Games] T!b:
Thanks ! It worked :)
[Android Apps and Games] michaelongyp:
hi, can anybody help me out in this link2sd app? When i run it, it keeps showing the "Loading applications..." and it is like hanging there.. for like an hour or so. Is this normal???

Anybody knows what is wrong with this?
[Android Apps and Games] Ztrindberg:
Please if you are not to busy could you look in to my problem? I really would like to use this nice app.

Ztrindberg