yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Cheetah64d:
But I already did it. I wrote that I tried to re-partition the card and deal only with MiniTool, with no success.

I tried to remove all the partitions on the card, made a big 64 FAT partition, and then shrink it and made second 4GB ex4 partition. In MiniTool I can see only those 2 partitions, but then again - when I mount the card into the phone - all the mess happen again - the 4GB partition located at mmcblk1p5, while mmcblk1p2 is 1KB partition.

Any special recipe how to re-partition the card with MiniTool?
[Android Apps and Games] xdarthanonx:
Select disk in MiniTool

"Delete All Partitions"

Apply

Create 56GB FAT partition

Apply

Create Ext4 partition with remainder

Apply
[Android Apps and Games] Piwakk:
I've tried to do this like I see above but I can't.

When I'm delating and then I'm trying to apply, IT is creating 26 gb fat32 and 3,93 unalloceted. When I was trying to do fat 32 and ext4 it only created fat 32 and again unallocated ;/

When I finally made fat32 and I'm trying to create ext4 I see:

Error code :16

Disk I/Oerror.
[Android Apps and Games] xdarthanonx:
Test it with this: http://www.softpedia.com/get/System/System-Miscellaneous/H2testw.shtml
[Android Apps and Games] Cheetah64d:
Well, I'm succesfuly installed Link2Sd, but as i suspected - only partition the card through the recovery helped.

Trying to do what you said led me again the this annoying 1Kb partition, which prevent Link2sd to work properly.

Only partioin the card with TWRP led me to get 2 partitions, so if anypne else encouter this problem - this can be his solution..
[Android Apps and Games] Piwakk:
I did it finally ;p

The problem was I didnt open mini tool with administrator rights :d
[Android Apps and Games] xdarthanonx:
:laugh: [MENTION=4023650]Cheetah64d[/MENTION], was this your problem too?
[Android Apps and Games] Cheetah64d:
No, I'm the only user in my laptop, and I have admin rights.
[Android Apps and Games] anaknin:
Right click on icon - > run as administrator
[Android Apps and Games] Cheetah64d:
I know how to run as admin, I said I already have admin rights, so I don't need this 'right click' thing..

Anyway, my problem wasn't privileges. It was additional partition that MiniTool create.
[Android Apps and Games] egingell:
Having admin rights and running as admin are not the same thing. I, as others do, have first-hand experience with this - World of Warcraft, for example, won't run if it's in the Program Files directory without running it as admin. If you have UAC disabled, that's a different story.

That said, if it's a SanDisk, it could very well be their weird SDXC setup.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Android Apps and Games] Cheetah64d:
Well, I do have UAC disabled, and as I wrote before - I'm pretty sure my problem (the addition of the annoying 1Kb partition) has nothing to do with admin privileges.

For the last time - I found a way to solve my problem, and this is the reason I'm keeping writing here - so if anyone else will encounter the same problem - he may solve it the same way I did.

Just as a reminder: My solution was to re-partition the card through the recovery (TWRP, in my case), and not through a computer.
[Android Apps and Games] xdarthanonx:
Googling for "1K partition" suggests that mmcblk1p2 is actually an extended partition and mmcblk1p5 is a logical partition contained within mmcblk1p2.

By default, MiniTool PW creates new partitions as logical ones (so does EaseUS Partition Master), which are contained within an extended partition. The extended partition won't show up in the partition manager, but both DiskPart and GParted see it (8GB microSD):

DISKPART> LIST PARTITION

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 5528 MB 1024 KB
[COLOR="Red"]Partition 0 Extended 2047 MB 5529 MB[/COLOR]
Partition 0 Logical 2047 MB 5530 MB

If "Primary" is selected as the partition type (instead of "Logical"), no extended partition will be created.
[Android Apps and Games] Armita87:
Guys please help

Android 5.1.1

sd card partitioned to 24GB Fat32 and the rest is ex2

Mount script creation OK

but whenever I try to link any app it shows an error : Package invalid

any solution?

( Tried different versions/ different partition as well, wouldnt work at all)
[Android Apps and Games] anaknin:
Link2sd pro?

Also what all are you linking?

And phone model?

Also welcome to xda
[Android Apps and Games] Dovidhalevi:
Search back on this forum. My problem solved removing dangling symlinks.
[Android Apps and Games] Armita87:
Any internal app like Telegram Viber Dictionaries and ...

Xperia ZR

I donno what the hell is going on with this app, Used to worked perfectly! but wont now

Ill try thanks
[Android Apps and Games] devasure:
I wonder what these so called dangling symlinks are. Please shed some light on it
[Android Apps and Games] shwykw01:
I have the same issue in using Asus A50.

Please find the ls -l /data screen. Hope it could help to solve the problem.
[Android Apps and Games] bakpinar:
I'll add this to next release.

Thanks.
[Android Apps and Games] Mioze7Ae:
Recreate all links after factory reset?

Can Link2SD recreate all links after a factory reset? I see the apk's are in the /data/sdext2 directory, but the symbolic links disappeared of course when /data was reformatted by factory reset and Link2SD doesn't list them. Is there a way to recreate all the links from within the app?
[Android Apps and Games] hilmanrz:
link2sd work great on my xperia x10i..

so far, its work great on my xperia x10..

just 1 question, is it possible to make multiple link without restart?? i mean, can i reboot once after i linking 4 or 5 app..?? :cool:
[Android Apps and Games] ayushbond220:
Thank You Very Much

This Works Perfect On my x10 mini pro ...
[Android Apps and Games] caalca:
Link2sd x10 mini pro

It works in x10 mini pro but just with the ext2 partition for me.

Can't It work with the ext3 partition?
[Android Apps and Games] bakpinar:
/data/app directory is linked to another directory (eMMC/app) and this is why Link2SD detects app2sd. I will disable this control in the next release.
[Android Apps and Games] Kierrok:
No. The full path is stored in the tar. You can check it with tar -tvf /sdcard/ext2backup.tar

EDIT: When restoring the backup make sure you are at the root because the path is relative to where you are.
[Android Apps and Games] FUSIONdev:
Hi, thank you for this great app! I think It will be great to mass move selected apps with only a button. Keep on doing this great job!

Sent from my FUSIONideos with XDA App.
[Android Apps and Games] ozonbg:
Hello bakpinar, about future mass linking option can u do with it and batch uninstall(removing apps from ROM and partition). So one can sellect what to link and unstall. Thanks again for the greatest app!
[Android Apps and Games] girello71:
Hello,

I'm trying to use it on my Wildfire (froyo 2.2.1, rooted, stock ROM)

It says it cannot write the .sh script.

So I tried myself the mount command from a terminal app... It worked (so I need to make this mount persistent, how?)

However I started Link2SD and tried to move an app; it seems to work (the link of app and dalvik cache is ok) but then I loose the app from the menu (and Link2SD doesn't see it anymore)

Why?

ps: as second partition on SD I' using a FAT32 fs

this is the output of mount (for the second partition of SD)

/dev/block//vold/179:2 /data/sdext2 vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mix

ed,errors=remount-ro 0 0

probabily is there something not correct here? thank you.
[Android Apps and Games] Abuk666:
thank you very much!

Thank you Bakpinar! your app is amazing!

i use a Gt540

sorry for my bad english

"Excelente hermano, un gran saludo!"
[Android Apps and Games] ChungHung.Chen:
Yes, you can do multiple link/unlink actions and reboot once after all done.
[Android Apps and Games] hilmanrz:
Okey... Thanks.. :-)
[Android Apps and Games] danceswithbongs:
Any Suggestions on how to fix

Guys

Everything was running great with LINK2SD until I flashed MIUI and custom kernel.

Then had issues with it so I flashed back to a nandroid that had apps on ext from link2sd, only problem is ext would not mount, either for formatting or to have that part of the nandroid flashed onto ext2.

I am now no longer to mount ext, ever.

Reran insmod script regarding ext2.ko since I am on OG Droid.

Tried some other script attempts and command lines but nothing will reverse this try to mount wrong non existent partition.

Below is the error log from Clockwork Recovery

in the past the apps were in /data/ext2/ I believe and I can still se that the dalvik cache from before is in that folder but nothing else and I cannot mount it.

I'm not sure if I need to do something at the bootloader level or what.

Please help a guy out, any ideas or suggestions are greatly appreciated.

I love this app even though I can do froyo apps 2 sd, link2sd on ext allows widgets to be used from apps on ext where as apps on sd won't allow widgets.

Also when trying all 4 options now on the link app, I get:

mount script error

mount script cannot be created.

mount: Invalid argument

And below is the clockwork error log.

I:Checking for extendedcommand...

I:Running extendedcommand...

Waiting for SD Card to mount (20s)

SD Card mounted...

I:Running script:

I:

print "ROM Manager Version 3.0.1.0"

restore_rom /sdcard/clockworkmod/backup/LGB1.31hopebeta boot system data cache sd-ext

Parsed /tmp/extendedcommand

calling command print

ROM Manager Version 3.0.1.0

calling command restore_rom

Checking MD5 sums...

boot.img: OK

cache.img: OK

data.img: OK

recovery.img: OK

sd-ext.img: OK

system.img: OK

Erasing boot before restore...

Restoring boot image...

Restoring system...

Fixing execute permissions for /system

end of image

Restoring data...

Fixing execute permissions for /data

end of image

Restoring .android_secure...

rm: can't remove '.' or '..'

rm: can't remove '.' or '..'

end of image

Restoring cache...

Fixing execute permissions for /cache

end of image

Restoring sd-ext...

mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument

E:Can't mount /dev/block/mmcblk0p2

(File exists)

Error mounting /sd-ext/!

Skipping format...

mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument

E:Can't mount /dev/block/mmcblk0p2

(File exists)

Can't mount /sd-ext/!

Failure at line 2:

restore_rom /sdcard/clockworkmod/backup/LGB1.31hopebeta boot system data cache sd-ext

Thanks for any ideas assistance or suggestions

They would be greatly appreciated.

Danceswithbongs:eek:
[Android Apps and Games] weslyr:
bakpinar, please help me! I still want to use your wonderful app.

The app still says it cannot find my second partition (regardless of the partition type). My ls -l /dev/block/vold output is posted above. What should i do to make the app work?
[Android Apps and Games] bakpinar:
Can you send the outputs of the following commands.

mount

ls -l /dev/block
[Android Apps and Games] amosng1:
Auto install to sd?

I was wondering if Link2SD has a function to "auto install to SD". Like when i download apps from market, Link2SD will automatically install it to SD?

And could you add a function to install

ALL

apps onto SD cause my HTC Tattoo's total memory capacity is way low.
[Android Apps and Games] weslyr:
Here is the output of the commands you requested. What do you think the problem is?
[Android Apps and Games] markisioful:
Could someone help me ... I have lg gt540 ... when I used SD card whit 2 gb ... everything was perfect ... but now when I have SD car whit 8 gb class 4 I get this message "sd card unexpectedly removed " and my linked application doesnt work ... not linker aplication and my pictures and music works ....

My first partiton is FAT32 and the size of it is 6.7gb .... the second one is ext2 whit total space of 670mb .... bouth are primary .... I have tried whit ext3 but I still have the same problem .... and some times phone rebots itslef and stays on android logo... and I should pull out the batery to make him to work ......

Did anyone knows where is my problem??? ....

tnx ....
[Android Apps and Games] xdarthanonx:
Wikipedia:

http://xdaforums.com/showthread.php?t=919326&highlight=symlinks&page=517
[Android Apps and Games] Wetal:
Hello everyone, i need some help!

I want to move apps on my HTC One X, but it doesn't have a removable sd card.

There is a guide for a smartwatch that I want to apply for my HTC One X.

What I did so far:

- Created an ext2 data.img file on the internal sd card.

- Used following code to mount it with Script Manager

#!/system/bin/sh
if [ ! -d /data/sdext2 ]
then
mkdir /data/sdext2
fi

mknod /dev/block/loop255 b 7 255
losetup /dev/block/loop255 /sdcard/data.img
mount -t ext2 /dev/block/loop255 /data/sdext2

- Installed link2sd.

If i mount the data.img, I am able to link and unlink apps to the new virtual partition with link2sd without any problems until i reboot my phone. After rebooting all the linked apps are missing (like they are not installed). Link2sd does not recognise the moved data from before the reboot anymore, although it's all on the 2nd partition.

After several hours of research, i was not able to solve this issue and hope someone can help me.

The guide for the smartwatch suggests to perform a fast reboot after mounting the data.img, to make sure it runs perfectly fine with link2sd, but the img is no longer mounted after a fast reboot on my HTC.

I want to add that I get the message

: device not found

Make sure you have two partitions
on your SD card and both are
primary.

every time I try to recreate the mount scripts, although data.img is mounted on /data/sdext2 and even listed under Storage Info as SD Card 2nd Part (I'm even able to link/move data as already explained). Therefore he was never able to create the initial mount scripts so far.

Does anyone know what to do to prevent the moved apps from disappearing or how to make a fast reboot with the data.img mounted?
[Android Apps and Games] devasure:
Is anyone out there willing to give a tutorial on how to remove dangling symlinks. I am a noob so make sure the tutorial is simple enough to follow. Thanks in advance
[Android Apps and Games] zzztidurvirus:
the easiest method should be: 1. reset all via phone/stock revovery/cwm/twrp. 2. format and repartition the microsd into one partition. 3. root phone and install link2sd, DO NOT login to your google account yet, just link2sd only. 4. repartition microsd into FAT32 and ext4. 5. link2sd recreate mount script - ext4 (or something else) 6. install some apk and link2sd - create link.
[Android Apps and Games] RxDxPx:
how to add link2sd widget!

hy all

maybe I'm missing somethig, or this feature is not for old phones

I'm on android 2.3.6 and I have the latest Link2sd free

but I cannot find in link2sd options or in the launcher widgets the option to add the reboot widget

sometimes I need to reboot and I dont want to install more apps

from the app features:

can anyone help?

Is reboot widget available for android 2.3.6 and in free version?

thanks
[Android Apps and Games] meangreenie:
hi all,

i got a problem linking obb to sd, i got just the one partition which appears to be fat32, factory formatted

32GB sandisk extreme.

well basically the two games i tried didn't work after linking the obb files, unlinking them and they work again.

any ideas? my phone is a lg flex2 on 5.1.1 firmware

thanks
[Android Apps and Games] Bazookatone:
Best partition sizes?

I need help, I have a 32 GB SD card (Sandisk Extreme)

I know that there are two kinds of partitions, one FAT32 and one EXT2.

But which one is most recommended for games and which is recommended for general files (movies, MP3)

I ask because I want to leave 80% for games to 20% for movies and MP3

Can someone help me, please?

---------- Post added at 12:25 PM ---------- Previous post was at 12:15 PM ----------

Do Lynk2SD works if I don't partition and let whole SD Card (32 GB) in FAT32?
[Android Apps and Games] KRVsakthi:
i have create space in my SD card via minitool partition. But, finally i didn't finish the process and he's displayed like "MiniTool Partition Wizard cannot create a new partition on this removable disk. If you like to create several partition on this removable disk, you need to delete all partitions first." Pls help me....
[Android Apps and Games] Bazookatone:
I have almost the same question:

Where should I move games to?

1 - To the first FAT32 partition?

or

2 - To the second EXT2 partition?
[Android Apps and Games] Bazookatone:
Link2SD caused problems for me:

1 - I moved completely (100%) 03 games for the SD card, everything was ok until I restart Android. After I restart android and try to run those games I got a alert that the games were not installed.

2 - I tried to uninstall the games but it was not possible.

3 - I pulled out and repartitioned the SD card.

4 - so now could not reinstall the same games from Google Play, I got "error - 506"

5 - I managed to solve this problem with such help here:

http://xdaforums.com/general/help/install-app-twodots-error-506-t2949868/post63662514#post63662514

I need to bought Root Explorer for this.

6 - So finally I managed to reinstall the same 03 games

7 - But now there is a new problem: I cannot move these games to SD Card, every time I try to move with the Link2SD I got

"Fail pkg: /data/app/me.pu.app-1/base .apk Failure [INSTALL_FAILED-DEXOPT] "

8 – And native app to SD feature of Android don’t work also.

(all other app I can move, only these 03 games have this problem)

How to solve it?
[Android Apps and Games] hhan2220:
Just a heads up - I have done something stupid - so someone could please be of a kind help?.

On my phone (Gingerbread) I moved the link2SD apk file out of /data thinking that would save some 3MB space(what a stupid idea) on 150MB memory space.

Even since then - I am unable to launch the link2SD application (it says application not installed when trying to launch)

Attempt to reinstalling the apk (v 3.5.1) comes up with a message saying "application not installed"

All apps that are linked by link2SD are launching fine but link2SD itself is not- but surely my mistake can it be undone.

Thanks

HH
[Android Apps and Games] anaknin:
Push link2sd as system app with es file Explorer
[Android Apps and Games] chitranjn_k:
ink2sd alwas error mount script help all methods use but not success. my device htc dwsire 820 dual indian lolypop update device and root or busybux install.

link2sd apss open and create ext4 (only supp ext4) and reboot device opption but cancel manually reboot opption (but reboot this option my device not work mount script). and work fine link2sd apps all link work but problem just restart my device manualy error mount script and link2sd opption recreate or quick reboot choose quick reboot but not mount and not visual apps

help and fix this big problem and free maximum space my device.
[Android Apps and Games] Chamelleon:
Hi, I have a problem with performance of linked apps. I'm using latest Link2SD Plus version, partition formated in ext4 using MiniTool, SanDisk Ultra 64GB UHS1, Samsung GT-i9195, CyanogenMod 12.1 - latest snapshot. I linked apps like Asphalt 8, Facebook, Messenger, Here Maps and few more.

After that Asphalt starts to lags randomly so I moved all except obb from sd back to phone memory and it works fine now. Unfortunately Here, Facebook, Messenger has quite performance loss and most of time after launch one of this apps I see that it stops responding. When they are in phone memory there is no problems with performance.

Did I do something wrong?? Should I reformat my sd to ext2, ext3 or maybe leave cache in phone memory??
[Android Apps and Games] zzztidurvirus:
depends on the game. if its files in /data/data/ use link2sd to autolink it. it wont work on files in /sdcard/android/data or /obb
[Android Apps and Games] stevexce:
Hi, why when I use "Integrate update into system" I lose data of this app?
[Android Apps and Games] dida749:
Lag

I am facing lag in bootup

Is it normal?
[Android Apps and Games] shm2018:
Hi.

Does anyone know how to fix "read only system file" on the 2nd partition??

The last few days I'm unable to link anything to the 2nd partition when I try to link with Link2sd... :confused:

Thanks in advance.
[Android Apps and Games] lee99:
Hi. You can use parted magic livecd. Go to gparted check and repair option.

You can also use custom recovery for this.

Create backup of your sd ext partition. Use format sd ext and recovery your copy of backup.

Read only means that is something wrong with file system or /and with your sdcard.

Best regards.
[Android Apps and Games] TrafalgarD:
usefull for small internal phone
[Android Apps and Games] chitranjn_k:
htc 820 dual lolypop link2sd error no directory data/sdext2/...........no such file or directory. help
[Android Apps and Games] goodemail:
Hi,

I'm having some big problems here with Link2SD. I've a Samsung Galaxy S4 i9505 with Android 5.0.1. I hpe someone could help me.

First, I noticed that I couldn't create a widget of any apps that were linked, Touchwiz Home gave the same error every time (has stopped). I needed to create an few widgets so I have unlinked the app which I wanted, turned my phone off, remove the MicroSD, turned my phone on, created the widgets, off, MicroSD in, phone on.

But by doing this made all my linked apps disappeared from my screens. I tried to recreate one by one, during this I tried to create another widged, when TouchWiz stopped again, but this time the phone freezed, I had to remove the battery.

After that, many apps disappeared from my phone. When I opened Link2SD, I still had many apps linked, but many weren't there anymore. So I downloaded some of the missing apps from Play Store, but I was unable to re-link them to the second partition in my MicroSD with Link2SD, I got an error: "! Failure - directory '/data/sdext2/com.appname/lib': no such file or directory" (appname changes for each app).

The partition is almost full, the same size before the apps got missing, although Link2SD couldn't fing any apps, folder or libraries to relink/rebind. I tried to recreated the mounting scripts a couple times, this didn't solve. Yet, unlink an app is working, only when I try to link a app is giving this error message.

What should I do? I have been for days restoring all my apps, one by one, after a full wipe, and now I got this error. Please someone help me.

Thanks!

edit: I mounted the partition in Ubuntu and the filesystem was corrupted. I decided to format and reinstall the apps. I still don't know how to fix the "TouchWiz Home has stopped error " (yes, I cleared data from the and in recovery wiped the cache partition).
[Android Apps and Games] MrCrc:
Hello,

do we will get a usable version for Android Marshmallow nearly? The actual status under Android 6.0 is useless: automated mount-script installation doesn't work, I can only link apks after manual installation of the script (copy 10link2sd to /system/etc/init.d) - no odex/libs/data...

Foldermount doesnt work also (Yes I know - other project.). LG4 Stock- / Modded MM-ROMs don't have the new mmc integration function ("merge with internal flash")

HW: LG G4 ROM 20B

Regards

Crc

Tip tap tappeltap
[Android Apps and Games] lee99:
Hi.

Did you try apps2sd?

Best regards
[Android Apps and Games] MrCrc:
Hello,

MM has no app2sd functionality. Total Commander shows me the sdcard as usb-device...

Regards

Crc
[Android Apps and Games] lee99:
I didn't think about android native app2sd.

I was thinking about "apps2sd" app.

http://xdaforums.com/android/apps-games/apps2sd-partition-sd-card-link-apps-to-t3122919?nocache=1

Maybe this app will work on newest android build.

Just try it xd

Best regards
[Android Apps and Games] MrCrc:
Hello,

I think I tried it as i had been install MM (currently I'm back on LP). I'll make a (final) test on MM if I get my new sdcard (Sandisk Extreme Pro) - my Kingston is to slow to link app data on it (and this files produce the most write cycles)...

Regards

Crc
[Android Apps and Games] MrCrc:
Hello,

apps2sd works. It has some things which I don't like (ui, speed, ads), but it works.

Regards

Crc

Tip tap tappeltap