yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] njmsmith:
I would suggest bringing up the menu in link2sd and relinking dalvik cache & library files. If the dalvik cache is deleted, Android will recreate it on internal storage- link2sd needs to relink that back to your sd card.

See if that works.
[Android Apps and Games] Okluzhion:
So, here goes my little story of this piece of... App... I tried to do a full wipe of my device but I just couldn't get the sd ext to be formatted. So I started everything anyway and did a clean install of my rom. I normally started restoring my apps and moving them to sd ext. But while moving them, my phone froze (never happened before) and I had to forcefully turn it off by removing the battery. And then I ended up in a bootloop so U had to wipe the device again, without sdext again. Everything went okay before I tried ti move some apps to sdext and cleaning it. It started showing some FAILURE messages with some I/O shiit in them and some longish text. And now I can't move some apps anymore. What the hell??
[Android Apps and Games] Kierrok:
So everything was working before you install a new ROM and now the fault is in Link2SD? I suggest you uninstall Link2SD then...
[Android Apps and Games] Okluzhion:
Hahaha, no. THE SAME ROM, just a clean install -.-

EDIT: Managed to format sdext, but for some apps link2sd shows failure even though it moves the app. Also, it says 126% of sdext is free. My internal storage magically got down to 58MB, and before when link2sd worked normally, I had more than 180MB free, with the same apps. And I can't clean the sdext because the app shows a Failure messages full of "I/O error" text.

Sent from my cracked Xperia arc
[Android Apps and Games] dy/dx:
Hi,

Tried in many forums but no success. So I try here as last resort.

Can anybody tell me exactly what happens on "recreate mount script"? Maybe even on an HTC Desire (if that makes a difference)? I have S-On and therefore Link2SD can't write to /system. Therefore I would manually make these changes in recovery mode using adb.

Until now, I wrote

#!/system/bin/sh
mount -o rw -t vfat /dev/block/mmcblk0p2 /data/sdext2
[/core]

into /system/etc/install-recovery.sh. But now I get "mount warning" at start-up and I need to do a quick reboot. The FAQ states that this should be resolved in >=1.9.11 and I should use "recreate mount scripts". But this fails for me.

So I think/hope that my install-recovery.sh is wrong ...

Can anybody give me a hint?

I would greatly appreciate any help!

br
dy/dx
[Android Apps and Games] Crake:
Backup

Sorry about the newbie question, but if my sdcard blows up and i have no backups i guess i loose all my information?? Is this right?

So, please tell me how can i do a backup of the partition used by Link2SD?

Thanks in advance.
[Android Apps and Games] bsoplinger:
dydx, perhaps a umount first in case the system has mounted it already (which might be read only)

Sent from my PG41200 using Xparent Purple Tapatalk 2
[Android Apps and Games] wso277:
Hi, i have a problem with this app, I solved it before but i cant find a solution this time.

When i open the app and create the script it tells me to reboot my phone, I reboot it but this keeps on happening.
[Android Apps and Games] dimebagdan65:
Just gotta say, I have close to 400 apps installed (user and system) and this one is easily in my top 5 must haves. I get the biggest grin every time I go to mount my SD card as external storage, and all my apps and widgets still work flawlessly... Absolute perfection and should be built into AOSP asap if you ask me...
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

I've found some thing may cause application error.

Some ROM ( Ex: my new Moto Razr MAXX ) have odex file in system app.

Link2SD can detect that odex exist but if I migrate updated app into system, application will error.

Yes, root cause is odex file which not deleted by Link2SD.

App will work again if I delete odex manually.

Perhaps Link2SD should also handle odex file when move/migrate apps between system and user ?

BR,

Chung-Hung Chen
[Android Apps and Games] Greenmoney21:
Sony Ericsson Arc 32gb

Hi guys,

Im having an issue with my Sony Ericsson Arc (rooted, Android 4.0.3, Built 4.1.A.0.562)

i can link it using my previous 8gb sd card using 2 partition (fat32-any sizes), no issues.

Was excited, when and got 32gb scandisk...

After partition it in 2 (primary fat32), it cannot mount, error: Invalid argument.

After reading few pages, i tried these method it works but couldnt use all the space:

Partition 1 fat16 primary, 7.48mb, thats the storage size :(

Partition 2 fat32 8gb primary, (got mounted for link2sd)

Partition 3 fat32 balance (not visible)

If there is other solutions, would be good if you could share here...

Thanks in advance...
[Android Apps and Games] bakpinar:
I'll fix it in the next release, thanks.
[Android Apps and Games] Okluzhion:
The size of free space of SD ext is still incorrect (first said 127% free, and when the ext was full it said 88% free). And there is still this "ls i/o error" when I try to clean sd ext with Link2sd.

Sent from my cracked Xperia arc
[Android Apps and Games] Kierrok:
Try:

Partition 1 FAT32 large size for storage (let's say 26GB)

Partition 2 ext2 with the rest of the free space

Both primary.

And make sure your phone supports a 32GB SD card.
[Android Apps and Games] Toki_Wartooth:
Could someone let me know if Link2SD saves apps to the second partition on installation? I'm wondering how the reinstall app option works, as I'm using App Manager that backs everything up on first install. Don't need 2 apk of everything.
[Android Apps and Games] davidwyl:
currently im using s2e one my nexus one CM7 to move apps to ext4.

my problem is now, im still running low on /data/data memory,

i wish to use link2sd to move certain big data file to sd.

my question is is that possible for me to use s2e and link2sd together??

currently i have 2 partitions (fat32 for my sdcard & ext4 use by s2e)

is it possible for me to create 1 more partition special for link2sd?:)

basically mount ext4 to s2e and

another ext4 for link2sd........

possible?

hope someone can help... :)
[Android Apps and Games] Kierrok:
Link2SD doesn't move data, "just" apk, dex and lib files.

---------- Post added at 08:16 PM ---------- Previous post was at 08:11 PM ----------

Link2SD moves the apk to the 2nd partition if you link it.
[Android Apps and Games] azcv:
When i convert user app to system app link2sd sets the permissions of the apk to

rw-rw-rw-.The correct setting of permissions is rw-r--r--.
[Android Apps and Games] Greenmoney21:
Hi Kierrok,

Tried your method, but no luck it says:

mount:invalid argument.

ext2 might not be supported on your device, tru fat32 on the second partition.

32GB its supported on my device, if there is 1 partition i can use all 31.5gb size in fat32...

Any idea? Its been weeks already i've been trying to get this sd card to work with link2sd...
[Android Apps and Games] ChefChaudart:
Hi,

I cannot get it to work, here is my situation ;

First installation was fine, then I upgraded the ROM. I followed instructions in FAQ, but it doesn't work anymore.

1. This is my SD Card ;

2. This is what I have in Link2SD, everything seems ok.

3. This is what I got in TB, where is Link2SD partition ?:eek:

Any clue :confused:
[Android Apps and Games] bsoplinger:
TiBackup only shows some of the discs/partitions on your device, not all of them. Its just the way they did it. That is to only show what they felt were places where apps would be. Misses another	places where apps are on my tablet for the same reason.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Apps and Games] Kierrok:
Please post the output of this command:

cat /proc/filesystems

It will list the filesystems supported by your kernel.
[Android Apps and Games] ChefChaudart:
* FORGET *
[Android Apps and Games] bakpinar:
UPDATE:

2.1.1

- some fixes and tweaks

- added Croatian language

- updated translations
[Android Apps and Games] pavel103:
I have uninstalled this program (version 2.1) and deleted the mount script from /system/etc/init.d and the file /system/etc/install-recovery.sh. File vold.fstab doesn't contain any information about the 2-nd partition of the sdcard. But after every reboot I can see that the 2-nd partition of my sdcard is mounted on /data/sdext2. When I used previous versions of Link2SD (on that ROM which is installed at my phone now), it was enough to delete the script from /system/etc/init.d, reboot phone, launch Link2SD and it offered to create a new mount script. Does the new versions of Link2SD create one more mount script which I haven't deleted? I use CyanogenMod 7.2.
[Android Apps and Games] rsngfrce:
Still not recognizing external sd card 2nd partition on Samsung Epic 4g Touch. Would it be possible to add an option to detect "/mnt/sdcard/external_sd/" as the external sd card for Samsung phones?
[Android Apps and Games] Greenmoney21:
Hi Kierrok,

Thank you for your reply :)

here are the details:

nodev	sysfs

nodev	rootfs

nodev	bdev

nodev	proc

nodev	cgroup

nodev	tmpfs

nodev	debugfs

nodev	sockfs

nodev	pipefs

nodev	anon_inodefs

nodev	rpc_pipefs

nodev	inotifyfs

nodev	devpts

ext3

ext2

nodev	ramfs

vfat

nodev	nfs

yaffs

yaffs2
[Android Apps and Games] nguyen2011:
Thanks for clarifying this. I wasn't sure how it works.
[Android Apps and Games] Kierrok:
That's just the mounting point of the FAT32 partition...

---------- Post added at 09:47 PM ---------- Previous post was at 09:41 PM ----------

Your phone supports ext2 and ext3. Something else is wrong.

Can you post the results of the following commands:

mount

cat /proc/partitions

And the contents of /system/etc/install-recovery.sh

If you can do this with part1 FAT32 and part2 ext2 the better.

---------- Post added at 09:50 PM ---------- Previous post was at 09:47 PM ----------

Check if you have a /system/bin/debuggerd file and a /system/bin/debuggerd.binary (or something like it) file. If you have both delete debuggerd and rename debuggerd.binary to debuggerd.
[Android Apps and Games] rsngfrce:
Not sure I understand? That is the mounting point of the external sd card... As I understand it, Link2SD expects the external card to be at /mnt/sdcard/... Since the external card is not detected, the 2nd partition can't be detected? (because the internal sd card is being detected instead of the external).
[Android Apps and Games] Kierrok:
That's the mounting point of the external SD card 1st partition which android mounts for mass storage. It's useless for Link2SD like /mnt/sdcard/ is.

What Link2SD tries to find is the storage device (cyasblkdevblk0 in your case) to mount its 2nd partition (cyasblkdevblk0p2). But it fails...

Maybe bakpinar should try another SD detection approach or ask the user to choose when in doubt.
[Android Apps and Games] d12unk13astard:
+1 for this, bakpakinar please give us this option in a future update!!!!!
[Android Apps and Games] pavel103:
I found a /system/bin/debuggerd and a /system/bin/debuggerd.bin files. The first one was the mount script created by Link2SD. Your advice has helped me. Thank You once more!
[Android Apps and Games] etchy32:
I want to replace my sd card with a better one..So i need to copy all files from both partitions, but I can't access the second partition. Any suggestions?
[Android Apps and Games] Kierrok:
Check if your custom recovery can backup the 2nd partition. Most of them can and it's the easiest way.
[Android Apps and Games] kofii12345:
Very good program. I used it when I had androoid 2.1.
[Android Apps and Games] Raneet:
Working like wonder.. :)
[Android Apps and Games] evoandroidevo:
Would it be possible for link2Sd to move data in the future ?

Sent From My Rooted EVO 3D
[Android Apps and Games] frenzyboi:
Works for me. Able to move some unmovable apps like OfficeSuite to sdext.

However, start up is slow :(
[Android Apps and Games] themango:
Was very happy to find this app. i am having a problem that i hope you guys can help. I have a samsung galaxy tab 2 and everything went great to begine with. I was linking apps like a mad man, watching my internal space expanding and the second partition on the sd card showing the apps were moving fine. All the games are working fine.

Then my avg wanted to update so i wentto update it and when it tried to installi got a message saying i needed to free up space. I can install any game i want but if i try to install any virus app (avast, norton) i get the same message about lack of space.i have 2.56gb free on the internal and 16gb free on the second partition. Any help?
[Android Apps and Games] evoandroidevo:
I don't see what's the point of using those apps anyways but I would sudjust uninstalling the app then try reinstalling if that doesn't work guess the only thing to do is try and uninstall some stuff are then reinstall when ur done I cant be of anymore help than that tho you could try and make some of ur updated system apps in to the system if you can

Sent From My Rooted EVO 3D
[Android Apps and Games] dnle71:
Seriously, antivirus are just useless..
[Android Apps and Games] themango:
The fact that its a anti virus app is not the point. If i try to update google maps I get the same out of space message
[Android Apps and Games] evoandroidevo:
It could be your rom/the play store app have you tryed wipeing the play store data?

Sent From My Rooted EVO 3D
[Android Apps and Games] themango:
Its very strange. It seems random, sometimes installs go fine, other times i get the "out of space" warning.its not just the Play store, it happens on the amazon store and sideloading. When an app does install llink2sd links it and the app works.
[Android Apps and Games] bsoplinger:
If you have the temp space where market downloads files filled up you can get that error. Also the file system lags, that is you could have downloaded 300M of files then deleted them yet the system will see them as using up disc space still. Just wait a minute or two and the system will catch up with the real condition of the disc and then will stop complaining about lack of space.

Link2SD just aggravates this problem because Market installs it on your internal memory then Link2SD copies the app to the second partition and creates a link to that new copy in place of the original. The whole time the system is acting as if the original full sized file was still there. Just waiting until the system syncs with reality and you'll be fine.

Sent from my Transformer TF101 using Xparent Purple Tapatalk 2
[Android Apps and Games] themango:
I wish this was the case. Once an app says I am out of space, that app wont install ever. Meanwhile i can install a big ass fps and 4 angry bird clones
[Android Apps and Games] d12unk13astard:
Bump...

I will donate 20 dollars if bakpinar can get this app working on our epic 4g touch phones. I seriously miss using this awesome app and its bugging the hell out of me that our phones are set up in a way that link2sd isn't being recognized!!!!
[Android Apps and Games] rsngfrce:
I'm getting close to giving up on this, but I'll match that $20 for a version that works on the Epic 4G Touch. It's not like I feel entitled to have a free app work on my phone...
[Android Apps and Games] Le Ch@land:
thank you

Hi

Just installed, thank you for this app.

Seems to work fine on my galaxy note with GB rom lc1 and sandisk 64gb class 10.

Just first reboot was longer and laggy, next one ok. I think it is due to somes changes in the dalvik cache, as i usual see in this case.
[Android Apps and Games] evoandroidevo:
Damn where did you get the 64gb class ten card at I say that cost you 400$ as well

Sent From My Rooted EVO 3D
[Android Apps and Games] lohtse:
just got a arnova 7 G3 and it's internal space is refered too as sdcard and an sdcard is extsd.... If I format with ext partition on card will it see the ext partition?
[Android Apps and Games] Le Ch@land:
http://cgi.ebay.fr/SanDisk-Mobile-U...gital_Camera_Memory_Cards&hash=item1e6de5b8e4

Seems to be genuine sandisk package. :p I don't know a way to control that, if anybody knows...

Here is my benchmarks, don't know if this is good.

Now i have somes questions i don't find answers :

I wonder what append when perform a nandroid restore with CWM.

- In case that no apps linked in the restore source but somes linked yet in the target. And too on the oposite situation :rolleyes:

- In case of versions are not the sames on the source and on the target for sames linked apps.

- Does anybody knows if a CWM nandroid backup perform a backup of the partition used by link2sd on the external sd card ?

This app is really great, just miss the ability to move private data, such as gps maps, to be absolutly perfect :)
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

I have some suggestion for error prevention.

Maybe Link2SD can backup file which will be deleted after migration.

For example, backup apk file from /system/app before migrating user app into system.

It can be backuped to SD card.

With this backup, user can manually restore file if some thing error without re-flash ROM.

But it should be restored by user manually, not by Link2SD.

This suggestion is from last bug about odex issue. For your reference.

If any problem please feel free to contact me. Thanks!

BR,

Chung-Hung Chen
[Android Apps and Games] lohtse:
excellent Idea!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Android Apps and Games] Osama Zabin:
I've been using this wonderful application since ages :),

After updating my Xperia Arc to GB 4.1.B.0.431, it's not fully operating, I mean link and remove link is working for installed applications, clean cache,dalvik,and 2nd partition, but unfortunately following is not working:

Freez

Convert system application to user and vice versa

Delete system application

I've tried FAT32 and Ext2 as 2nd partition, but same problem found.

Any help is really appreciated.

Thanks
[Android Apps and Games] ChungHung.Chen:
Dear Osama Zabin,

Looks like you've lost the permission to remount /system as RW.

Is root permission still available after your upgrade?

Could you try if Root Explorer can mount /system to RW ?

And remember to enable debug mode.

BR,

Chung-Hung Chen
[Android Apps and Games] lohtse:
An chance of an answer to the above question?
[Android Apps and Games] Osama Zabin:
I wiped the phone and rooted again, yes i can mount the system as RW, alos debug mode is already enabled.

Any idea?
[Android Apps and Games] Kierrok:
Why don't you try and then tell us if it works?
[Android Apps and Games] Osama Zabin:
Regrading Segmentation Fault reported eariler, it's fixed after installing SuperSU as suggested by Akpinar, thank you man, and sorry for not searching all the threads.
[Android Apps and Games] adell_:
Any plan to make this able to move app's data to the SD card?
[Android Apps and Games] SifJar:
If I want to extend the size of my SD card 2nd partition at some point, will that cause any issues? Do I just make it bigger with MiniTool and Link2SD will continue to work with all the apps already there? Or will I need to backup all my apps, wipe the partition and reinstall them all to make it work? (If the later, I will try a lot harder not to fill the partition :p)

Also, if I wanted to replace my SD card at some point, what would be the best way to transfer all the apps across etc.?
[Android Apps and Games] bsoplinger:
You'll need a computer running Linux or MacOS because Windows can't see the 2nd partition. Copy everything off each partition of the old card, format the new SDHC card, copy everything back to the new card.

For resizing the tool you use may offer "safe" resizing options. If it does you can use those without needing to copy everything off. Otherwise it's the same as if you had a new SDHC card.

Sent from my HTCEVOV4G using Xparent Purple Tapatalk 2
[Android Apps and Games] SifJar:
Very helpful, thanks. I guess if I ever need to do this I'll be downloading a Linux live CD :)
[Android Apps and Games] lohtse:
Because the dev should know and it would mean move 22gigs of data of a 32gig card,then format then find it doesn't work thus meaning waste alot of time for nothing!
[Android Apps and Games] rsngfrce:
I don't think it is that complex. If you currently have a single partition, you should be able to shrink the partition (say about 2gb), then create another partition with that space... Mini Tools or Easeus (for example, on Windows) can do this without the data being moved. I doubt the dev could KNOW that this worked on any specific model unless he has tested it on that model. What you describe sounds similar to my Epic 4G Touch, on which the 2nd partition won't be recognized, but how this works still is beyond my understanding for the most part.
[Android Apps and Games] Kierrok:
Obviously, the dev doesn't own every android device that exists and he needs user input to fix when something fails.

AFAIK Link2SD, right now, just can't recognize the SD card 2nd partition in a phone model which also have an internal storage partition. Does your device have a similar design?
[Android Apps and Games] adell_:
What you mean by internal storage partition? Don't all phones have internal storage?
[Android Apps and Games] lohtse:
Eeeer what!?

Simple .... internal for system,user storage is sdcard(system sees it that way) sdcard in sd slot is seen as extsd not sdcard like most devices!
[Android Apps and Games] Kierrok:
Yes, but I meant mass storage. Normally low and mid-end devices use the SD card to mass storage. High-end devices have an internal mass storage partition which Link2SD can't use. But most of them can also use the SD card as secondary mass storage.

---------- Post added at 11:45 PM ---------- Previous post was at 11:38 PM ----------

So you have an internal mass storage partition and an external one when you insert a SD card, right?

Post the output of the following commands using a terminal emulator or adb shell:

mount

cat /proc/partitions
[Android Apps and Games] bakpinar:
Thanks for the suggestion, I'll try to add this in a future release.

Does "odex issue" continue in the latest version?
[Android Apps and Games] bakpinar:
The reason of the problem is that some of the preinstalled apps are placed under /vendor in Sony's 4.0.4 ICS ROM (on some models).

(which is mounted at /system/vendor, and /vendor link to it).

This is what I understand from a mail I received from a xperia arc user.

I'll try to fix it.
[Android Apps and Games] adell_:
Hi bakpinar,

I cannot make Link2SD to work properly when upgrading the ROM. After restarting, only apk remain linked. The lib and davik-cache files got unlinked and the phone's internal storage is low. I relinked the lib and davik-cache files many times but after restarting they got unlinked.

Do you have any idea how to fix this?

Also, do you have any plan to link app's data to the SD card?
[Android Apps and Games] bsoplinger:
If you are on Android 3 or above (or its it Gingerbread and above?) this always happens. It's the way Android is designed. I'm sure it's been covered many times in this thread. There is a preference to have link2SD relink davlik and libraries.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Apps and Games] adell_:
Thanks. I'm using ICS CM9 ROM. I also check the relink lib and davik cache at boot but no use. It get unlinked every time and many apps stop working because of low internal storage space. I need to do a clean install.

Anyway to fix this?
[Android Apps and Games] famewolf:
I installed Link2sd on my HD2 and my Inspire 4G....both have sandisk class 4 32gb cards in them....link2sd installed and is working fine with both....the partitions are formatted with ext4...I used a linux pc to format both cards and partition them. On my Inspire 4G clockwork mod (5.0.2.0) is failing to find the SD-EXT and back it up. The HD2 is working as expected.

Should I perhaps change the format of the partition or repartition the card? Do you have any suggestions on how to solve the issue? Is there an alternative method I can use to back up the rom with link2sd included?