yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] nikctsh:
Dear bakpinar ,

i'm having problem with my link2sd again . It just seem like i can only link a "certain size" of application . The problem is like this : Till now , i've linked quite a number of application but recently when i link a application , then other application apk file will having problem and it just force close when i open it . For example , yesterday , when i link adw launcher , the avg anti-virus will having problem . I'm kinda sure it's not the problem with the permission because when i click on reinstall and tap the apk file in sdext2 directory , a message " there is a problem parsing the package" pops out . So , certainly , something happen with other application apk file when i'm trying to link an application . I don't have any idea so PLEASE HELP ME FIX THIS . Thanks in advance .
[Android Apps and Games] javaman70:
Not working...I made an ext2 partition on the sd card then followed these directions:

1) Download the ext2.ko file (zip attached)

2) Extract it to your SD card

3) Use Root Explorer to navigate where you extracted it to and copy the file

4) Navigate to /system/lib/modules/ and paste the ext2.ko file there.

then I rebooted and ran link2sd and got: Mount script error mount script cannot be created. mount:No such device

Next I ran this command from terminal emulator: insmod /system/lib/modules/ext2.ko and got this error message: insmod: init_module '/system/lib/modules/ext2.ko' failed (Exec format error)

what am I doing wrong or need to do to fix.. I am running OG D1 running LGB1.52
[Android Apps and Games] bakpinar:
This can not be because of the Link2SD. Link2SD just links the apk file of linking application, all other files intact.

Force closes may occur if your second partition is not avaliable or not mounted at boot time. Try to re-install the app from Link2SD "reinstall" button.

Another possible reason is that your second partition's file system has errors (corrupted). You can try "fsck" or re-format.
[Android Apps and Games] bakpinar:
Not in the next release.

It may be in a future release...
[Android Apps and Games] nikctsh:
I'm sure that the second partition is mounted at boot time because i did open some applications after boot , and it works fine . But after i linked a new applicaton , some of those application starting have problem with their apk file . I also tried to reinstall the app from Link2SD "reinstall" button but same error : problem parsing the package . Another "symptom" is that the application that experience the error will loss their image as well as their "normal" name , in the application drawer , it shows its package name instead of the application name .
[Android Apps and Games] bakpinar:
Can you check the apk file of the app in the /data/sdext2 directory (/data/sdext2/<package_name>.apk)

Especially check the size of the file. The symptoms you mentioned indicates that you can see 0 (zero) size...
[Android Apps and Games] bakpinar:
Why don't you try with FAT32.
[Android Apps and Games] mallaccra:
i'm not sure whether this will help or not, maybe yes maybe no....

move/install your busybox in /system/bin/ instead of /system/xbin/
[Android Apps and Games] nikctsh:
Ok , i'll check for it next time when this happen again . Thanks for your attention in this matter :)
[Android Apps and Games] ptldhaval:
Give me Link2sd feedback for GT540

I have purchase GT540 before two week. I have also updated 1.6 to 2.1.

So, Please let me know, Is link2Sd work properly in GT540 on 2.1 OS?

Thanks in advance

Dhaval Patel
[Android Apps and Games] nikctsh:
erm...actually i install my busybox directly in /system/xbin/ with busybox installer and thus , i never install busybox when i use link2sd before and it works fine...anyway , thanks for you suggestion dude :)
[Android Apps and Games] webstudiolund:
Very nice app. Kudos. Seems to run perfectly on my LG GT540 with stock 2.1.

It is beatyful with its graphical user interface.

I have one question - how does the More->clean up the dalvik-cache really work? Does it remove everything in the /data/dalvik-cache/ folder, or only .dex files which have been moved and linked to sdcard?

What if you have all .dex files softlinked to a separately mounted folder in /cache(/dalvik-cache)?

Question answered. I tried it. Works like the other cleaning - lists what there is unneeded, and asks for confirmation. And it works with the dalvik-cache linked to /cache/dalvik-cache!
[Android Apps and Games] nikctsh:
It only remove the dalvik-cache of the application you've uninstalled or in another word , dalvik-cache that you're not going to use with
[Android Apps and Games] javaman70:
OK I tried with fat32 and it appears to mount but storage screen shows 2nd partition N/A see attached pic...any ideas... OG D1 running LGB1.52

Edit: ok got it working on fat32 it just doesn't show 2nd partition in app but once i moved a few apps and checked out storage space on my computer it is putting everything on the 2nd partition...Thanks...GREAT APP!!!!
[Android Apps and Games] Almighty1:
Is your fat32 partitition set as a "primary" partition? There should be 2 primary partitions, the original SDCard's which is the 1st FAT32 and the second FAT32 partition.
[Android Apps and Games] extremecupavac:
Hi... I do all this thing whit SD card... one Partition is FAT second is FAT32, both of them are Primary also i Have installed Link2SD...

When i tried to link one application and moved to, phone gives to me message "Could not gain root access. If you have root access make sure you respond 'allow' to superuser prompt"

What is tat mean? What am i supos to do, to have working SD card?

Thx
[Android Apps and Games] SrMoure:
What happens when I have internal storage + sd card and I want to mount the sd card because it s already formatted w/ ext2 partition?

Sent from my Motorola StarTAC
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

Is any plan to release a "multi-language" UI version?

If yes, I can help to Chinese Traditional translation.

Thanks!

BR,

ChungHung.Chen
[Android Apps and Games] Almighty1:
You need to root your phone first.
[Android Apps and Games] Almighty1:
Is the entire SD card ext2 or just part of it? If it's the entire card, then you resize the ext2 partition by the size of what you will need for the second ext2 partition which you will need to create so you will end up with 2 primary "extfs" partitions.
[Android Apps and Games] bakpinar:
Yes, but it's better to add localization after one or two versions. I'll contact you for Chinese Traditional translation.

Thanks for your support.
[Android Apps and Games] fabricioemmerick:
Somebody tell if this application works fine on Coby Kyros MID7015 table?
[Android Apps and Games] extremecupavac:
can you explain to me how to do it...
[Android Apps and Games] bakpinar:
Can you run "df" command in the terminal and send the output?
[Android Apps and Games] ChungHung.Chen:
That's great! Please contact me if you need translations.

Thanks!!

BR.
[Android Apps and Games] nikctsh:
What phone are you using and what version of android you have ? For me (android 2.1) , i use universal root (androot) . It is an application . You can find it over internet . Simply install it , then launch , click on root button . Perhaps you can try soft root and only root it permanently when you found no problem after root . By using soft root , your phone will "unroot" after reboot . Root your phone at your own risk , i'm not sure it works for your phone , but it works fine for mine . After you root it permanently , it should install superuser on your phone automatically as well . Then just open link2sd , try to link an application and superuser will ask for your permission to allow it . Just click on allow . That's all . Hope it helps .
[Android Apps and Games] fabricioemmerick:
Hi all, someone has tested the COBY MID7015, because after creating the partition and format it does not see them.
[Android Apps and Games] psirage:
Thanks for the reply.

I am not sure how "root and me" would help. But you are right. This happens anytime after the phone boots up without the SD card. Android would fail to find the apk and that's when they lose their permissions. It's strange how facebook continue to work.

Anyways, link2sd already has reinstall option, which works. It's just annoying if you use ADW to create custom shortcut, the shortcut goes away.

I am going to only link apps that work. And link apps that doesn't to /cache instead. BTW, linking large .so files to the sdcard using adb also saves internal storage.
[Android Apps and Games] nikctsh:
Facebook can continue work ? Strange...my facebook will crash . For me , all version of Angry Birds never experience any crash . I wish to link .so files as well but i just don't know how to do that , so i guess i will only be able to wait for bakpinar's new update . To prevent your phone from having that problem , i suggest you to change a new sdcard , this is because since i changed my sdcard from 8gb class 2 to 16gb class 4 , i haven't facing that issue so far . Hence i think the problem must be related to the sdcard .
[Android Apps and Games] KVH:
Everything went fine, I restarted the phone, and when I try to move some apps, it says data/data/com.buak.Link2SD/files/create_link.sh cannot create data/sdext2/com.nameofapp.apk: directory nonexisten.

And when i give the Storage Info menu button, on SD Card ext2 it says N/A.

I have LG GT540 Optimus 2.1(before it had app2sd but i hard reset it and formatet sd card and the program doesn't says that my phone has app2sd so i think it's removed). I also have root and granted superuser rights.

My SDCard is 2gb, i have 1,3 gb FAT32 Primary and 503 mb Ext2 Primary.

Fixed: after updating to v. 1.6
[Android Apps and Games] aamzalag:
bapkinar, v 1.6 no longer detects my ext2 partition. I think the new code added for the fixes makes it not work. on moto droid 1 :(
[Android Apps and Games] SrMoure:
When I launch link2SD I get a force close message after ext2 mount is found.

Still there is no track of link2sd in my superuser log, as there is for titanium backup.

Any idea what could be wrong ? the only version I haven't tried is 1.04, but I'd like to know if someone was asked to provide root access to this app and when this hapened.:confused:

Many thanks,

SrMoure.

PS: Root Explorer shows /data/sdext2 with 1.95gb free, r/w ; so it seems the partition is correct.
[Android Apps and Games] bakpinar:
It asks root permission at two points, to create automount script at startup (if not exists) and to create/remove link.

Have you tried with latest version (1.0.6)?
[Android Apps and Games] SrMoure:
Yes, I have installed 1.06 and when I launch the app i get the FC message.

I have root the phone and intalled link2sd. Maybe I missed one step ??

I can see a box with the message ext2 mount found before the FC.

Other people installed it in zte v9 and worked well.

The partition seems ok, because i can see it with root explorer in data\sext2 and it s found when launch link2sd.
[Android Apps and Games] aamzalag:
bapkinar, i also thought of a nice solution/ possible feature for soem issues. Maybe you can include a way to symlink whatever exists on sd-ext to data for when we move to new roms, cuz apps like titanium backup dont backup the location of the app. so if i flash a new romm, i need to redo all the links even tho they are already on the sdext partition... Also please look at above quote
[Android Apps and Games] bakpinar:
UPDATE:

1.0.7 - added support in detecting and mounting ext2 partition for some roms

If you had previously received ext2 mount error try this version.
[Android Apps and Games] tupeu4you:
Hi guys ,

I've followed the steps on my xperia X8 but I didn't succeded . Message is : " ext2 partition can not be munted .Make sure you create ext2partitionand have root acces "

I'am not sure how to alllow this root acces...pls help!
[Android Apps and Games] bakpinar:
Have you tried with latest version 1.0.7?
[Android Apps and Games] tupeu4you:
after I read some romanian forums I've discovered that I need Super One Click program in order to root my phone . I've did it and now works but it looks aplications are going slower .I'll test and write here results

thnx ;)
[Android Apps and Games] eradicatorPL:
Works great on X8 2.1

Thanks ;-)
[Android Apps and Games] seaselly:
Hey bakpinar!!!

Thanks a lot for posting this!, i just try it with my xperia mini pro eclair and works just fine!

Regards
[Android Apps and Games] sur1k:
I've moved some apps to sd-card. That's great :) but what if I'd like to change my sdcard? Firstly, should I turn the phone off to eject the card?

Secondly (mainly), is there a way to copy ext2 partition to a new sdcard? Or is it the best way to backup all linked apps with Titanium and then restore them one after another and link manually again?
[Android Apps and Games] romualdrichard:
Damn, 1.07 installed and ext2 not mount after reboot :(
[Android Apps and Games] SrMoure:
When does the mount should happen? When t the phone is rebooted or when the app is started?
[Android Apps and Games] ChungHung.Chen:
Dear bakpinar,

I've successfully enabled link2sd 1.0.6 @ my Moto XT701, thanks for your great work.

About problem which linked app will not show in Market, I've found AppBrain App can see all app include "linked app".

Perhaps this can be temp solution for application update issue for now.
[Android Apps and Games] bakpinar:
When the phone is rebooted (at boot time).
[Android Apps and Games] SrMoure:
For some reason this is not happening with my ZTE v9 (optus version) & there is no request form link2sd for root access.

The interesting thing is that before going to the force close message link2sd founds the sext2 mount. And the root explorer finds data\sext2 with 1.95gb
[Android Apps and Games] anotherloony:
Hi

I am trying to use link2sd on Optimus One.

I have ext2 partition not found message. It does not ask for su.

I created /data/sdext2 folder and after I mount my ext2 with this command

# mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2

After that, Link2sd detect my ext2 partition but I have to mount it after every reboot. Maybe this will help you to extend rom support.

Thank you for your great work.
[Android Apps and Games] bakpinar:
Mounting at boot time is not performed by Link2SD, Android OS itself mounts on boot. Link2SD just creates the auotmount script.

If you see "ext2 mount found" message at application startup this looks like a different problem than mount.

Can you look at logcat logs with any logcat viewer application and check if any Link2SD tagged line related the force close error exists?
[Android Apps and Games] fabricioemmerick:
To determine the external storage (SD Card) location, Link2SD uses Environment.getExternalStorageDirectory (not hard coded "/sdcard").

Can you run "set" command from terminal on your tablet and check EXTERNAL_STORAGE environment varible.

This should be your external SD card mount point, but I see that on some tablet models EXTERNAL_STORAGE points to internal storage (built in NAND) instead of SD card device.

Bakpinar, I run the "set" command I have got EXTERNAL_STORAGE=/sdcard

What shall I do now?

The same Problem for me
[Android Apps and Games] fdespotovski:
Guys,I have a problem.I can successfully link some apps but when linking other apps they disappear from the phone.I can't find them anywhere.I previously had them,but when I linked them they disappeared.Please help.:(
[Android Apps and Games] MongooseHelix:
Does Link2SD still list them as linked? If so, you can try selecting each of the missing apps and clicking reinstall. If they aren't listed, see if the apk files for those apps are in the /data/sdext/ directory using a file manager like root explorer or through a terminal.
[Android Apps and Games] bakpinar:
UPDATE:

1.6.0

- added option to link library (.so) files along with apk and dex files

- added automatic linking option for the new installed apps

- added ability to link/unlink apk, dex and lib files separately

- added '->' linked indicator to Apk, Dex and Lib labels

- added lib file size and link status information

- added lib size to sort options

- some bugfixes

The main improvement in this version is option to link the native library (*.so) files that some apps install in their /data/lib directory.

These libraries are typically quite large, so moving them to SD will free up space on the internal storage.

I added lib size info both to main list page and app detail page so you can see how much space you'll free up if you link it.

Another improvement is that, you can link/unlink apk, dex and lib files separately, that is, you can link or unlink all three or any two of three or even only one of them.

Another new addition is auto linking option for new installed applications. You can enable/disable this feature and select which files will be linked automatically from the new settings menu.

And some bug fixes and code improvements.

Hope you enjoy!
[Android Apps and Games] fabricioemmerick:
Hello friend, great job, sadly, could not do on my tablet Coby MID7015. Does not recognize the partition. I am anxious to use your app. A hug
[Android Apps and Games] fabricioemmerick:
$ export PATH=/data/local/bin:$PATH
$mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
tmpfs /tmp tmpfs rw,size=4096k 0 0
tmpfs /broadcasting tmpfs rw,size=512k 0 0
/dev/block/mtdblock2 /system yaffs2 rw 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0
/sys/bus/usb /proc/bus/usb usbfs rw 0 0
/dev/block/ndda1 /nand vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$

And

export PATH=/data/local/bin:$PATH
$ $ls -l /dev/block/vold
brw-rw---- root root 179, 1 2011-04-20 13:41 179:1
brw-rw---- root root 179, 0 2011-04-20 13:41 179:0
$
[Android Apps and Games] voy108:
tablet, Coby, 2.1 rooted

bakpinar: I reformatted my 8gb sdcard with Partition Wizard but the Coby will not recognize the card after doing it. I also tried Easeus Partition which appears to be same program different name but link2sd still tells me no 2nd partition...probably because Coby won't mount the card. Any ideas on what I may not be doing? Both partitions(fat32 & ext 2) are primary. thx
[Android Apps and Games] MongooseHelix:
It doesn't appear like your sd card contains a second partition which is needed for Link2SD. If you did, 179:2 would be listed in the /dev/block/vold directory and is what Link2SD tries to mount. As you can see from your mount command output, the /sdcard partition is mounted on 179:1 since that represents the first partition of the removable media device located at 179:0.

Does the Coby tablet support ext2 filesystems? If not, you will either need to get a compatible ext2.ko module to enable support or make the second partition fat32 also.
[Android Apps and Games] fabricioemmerick:
Hello friend thanks for replying, actually after several tests, I had to format and leave only one partition so you can use the memory card. That's why it appeared only one partition, did more commands to see what our friend bakpinar can do to help us. I've tried also to create the ext2 partition and does not recognize too. It seems that we do not have this module loaded in our system. I had to find a compatible chipset and Android Eclair. I found this topic here

http://xdaforums.com/archive/index.php/t-894305.html
[Android Apps and Games] lakshesh:
i have an problem dude

should i select the main partition with primary or logical ?

the 2nd partition should be primary "if im not wrong ?"

and both should be fat 32 ?
[Android Apps and Games] ravilov:
Hmm, it's hard to say. First of all, I didn't actually link the entire datadir, I only linked the files that were too big (eg. for gmail, I only linked the email sqlite database file, which was like 98% of the whole datadir size). Second of all, I only linked a few apps, and sadly none of them received any updates since.

Next time Market reports there's an update available, I'll first symlink the datadir of that app and then do the update. I'll get back to you on how that went.

Sorry for the belated response.

I did notice another problem, though - when I try to update an app that's been link2sd'd, my phone reboots and doesn't do the update. No idea why this is happening. :dunno:
[Android Apps and Games] nikctsh:
Both must be primary
[Android Apps and Games] elcede:
I have a question: is there a way that link2sd will work with no need to create a separate partition and using existing fat32 partition? Becouse this is a little problem witch switching rom, and I think it will be better for lot of users who have problems with mounting second partition.
[Android Apps and Games] nibras_reeza:
Woah. Thanks for the update. Been waiting for it. Now, this app is just perfect.
[Android Apps and Games] lakshesh:
its not working at all coz when i had install this app then installed angry bird or an live wallpaper it was showing that it was install in my sd card but my internal memory is getting used as and when i install apps

i also cleared cached file but no use my internal memory getting up

i dont know anything about android coz in INDIA only little or few people have android phone and i m totally newbie in knowing the android platform and i have taken my mobile 1 week ago and already formated my mobile more than 5 times.

if anybody ready to help me then please contact me guys at my skype id "lakshesh1099"
[Android Apps and Games] mhyke13ph:
Thanks for This Update Bakpinar

i have around 50apps installed, now my X8 have a roomier space 92/210mb

You're Application Just keeps getting Better and Better

If I may ask? what is your next project for this Link2SD?

Thanks Again
[Android Apps and Games] gets0ul:
I currently use the version 1.5. For the update, do we simply just update it or we should unlink all the linked apps first?

Thanks
[Android Apps and Games] mallaccra:
Link2SD

yeah, your app becomes more and more better/smarter and i've to say this is the best app to me so far..... :D
[Android Apps and Games] nikctsh:
Thanks for your hardwork bakpinar , you made my phone perfect
[Android Apps and Games] roninxt:
Thank you. This app is so cool and is a must for android phones.
[Android Apps and Games] fabricioemmerick:
Anyone ? Still the same problem yet. This even more difficult rsrsr not know much about programming in linux
[Android Apps and Games] bakpinar:
You can just update, no need to do anything.
[Android Apps and Games] lakshesh:
Link2SD displays a message saying thet the partition not found.

Infact i have 2 partition made in my sd card

1st: 3Gb [primary]

2nd: 700mb [primary]

but still this message ocurs

please help me guys

my mobile is GALAXY ACE

please contact me on skype guys id "lakshesh1099"

if not then please replay me fast im will refresh page every 10 min
[Android Apps and Games] goodoane:
Work well with Tablet Huawei S7 2.2.2
[Android Apps and Games] bakpinar:
Thank you.

These are my plans for future releases of Link2SD

- Multi select and link/unlink/reinstall/uninstall? operations

- Backup/Restore applications

- Localization (multiple languages)

- Ability to link system applications ?

- Ability to uninstall system applications ?

I don't know when and in which version I can add these.

Feel free to comment if you want something to be changed or added.
[Android Apps and Games] lakshesh:
plz help me guys help me
[Android Apps and Games] rudotz:
I have an idea how about you add option to link application data to sd card.

So it won't takes space in the internal memory.

Bacause some application have big data, example: navitel's data is 7mb.
[Android Apps and Games] lakshesh:
but no option such shown
[Android Apps and Games] lakshesh:
hey admin plz help me dude