yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] iblesq:
Google Nexus One CM7.2 "please wait..." message

Hi there!

Already two days I couldn't manage to get Link2SD working on my device.

I have GN1 CM7.2 (cm-7-20130301-NIGHTLY-passion.zip) - the latest build, SD card 16G Sandisk class 4.

Every time i try to engage the Link2SD immediately after selecting the type of the "secondary SD card partition" (in my case I tried ext3 and ext4) i get the endless message "Please wait..." with the "waiting circle" and, actually, - that's it. If i turn the screen off (or device exceeds the display timeout) I cannot turn it back. Only pulling out the battery helps.

I tried both ext3 and ext4, with and without swap partition, two different cards, with full wipe and without, fresh installation and after the first update of the system apps. Nada.

Nothing happens.

Please tell me what i'm doing wrong.

Thanks
[Android Apps and Games] tobbbie:
There is nothing to "try" for the filesystem. You FIRST have to CREATE the second partition elsewhere (on PC, or recovery) format it there with whatever filesystem is supported on your device and THEN call link2SD to create the mount scripts - giving the filesystem that you had formatted the 2.nd partition with.

And obviously your device has to be rooted because link2SD needs to write to the system partition for the scripts.
[Android Apps and Games] egingell:
The "mount" command also requires root, so temp-root is not an option, either.

Edit: Oh, and [MENTION=323415]iblesq[/MENTION]'s post suggests that the app is asking him what file system to use, it only does that when it finds the second partition; otherwise, it just says that it can't find the second partition.
[Android Apps and Games] iblesq:
My device defiantly rooted (otherwise where would I get cyanogen?) And I created partitions on SD before even link2sd was installed.

So, this is not the reason.

Other ideas?
[Android Apps and Games] egingell:
Is the second partition active? I ask because my second partition is not active (on purpose) and won't mount (the desired result of it being not active).
[Android Apps and Games] iblesq:
Both partitions are active and primary, formatted
[Android Apps and Games] xavigon:
Batch actions in catalan language doesn't work

INFORMATION FOR DEVELOPER:

With CATALAN language selected, BATCH ACTIONS (MULTI-SELECT) DOESN'T WORK !

However if ENGLISH or SPANISH language are selected NO problem.

Please, fix this bug for next update.

Thanks.
[Android Apps and Games] JovieBrett:
Been using Link2SD for almost 3 months and I've got a small prob here. Sometimes when I reboot, the linked files and data are remove and I have to relink it again, is it a bug? I'm using Xperia Mini with CM10.1 and 3.4.49 kernel.
[Android Apps and Games] GermainZ:
Are the relink on boot options checked?

It personally happens to me, but very rarely, and usually to just a few apps every time (so I just filter Linked > Select All > Create Link and let it handle relinking when necessary). I'm guessing it's because it might be getting killed (low memory) while relinking on boot, not sure.
[Android Apps and Games] JovieBrett:
Yeah I always leave it with a check on and the same as mine, some apps does it everytime specially when I flash some mods to my ROM and needs to wipe cache and dalvik cache. I'm using greenify and clean master and maybe that's the reason why some of my apps removed.
[Android Apps and Games] free_man:
the first sdcard fat32 partition gets a different mount point

I have a chinese navigation unit in my car with android 4.0.4. The unit has only 250MB in /data and like 3GB in /mnt/storage (internal). It also comes with an external sdcard (fat32-one partition) mounted in /mnt/extsd. I created the fat32 partition and another ext4 partition on sd card and installed link2sd. everything looks ok link2sd detects the ext4 partition and works ok linking apps. My issue is that the first fat32 partition on the external sd card is no longer mounted like it was before in /mnt/extsd but in /mnt/extsd/179_1 and while is still visibile and I can do whatever with the files the navigations app can not find the maps stored on the card (by default is setup to look for maps in /mnt/extsd). Does anyone know why the mounting point changed adding this extra 179_1 folder or how to fix this issue?
[Android Apps and Games] egingell:
Link2SD wouldn't have done that. Did you change the /system/etc/vold.fstab file at all... or install something that might have?

To fix it, check /system/etc/init.d/11link2sd, /system/bin/debuggerd, /system/etc/install-recovery.sh, and /system/etc/vold.fstab for references to "/mnt/extsd/179_1" and fix them.

Here are some shell commands that will help (not with editing - just with checking):

# specifically search for "/mnt/extsd/179_1"
cat /system/etc/init.d/11link2sd | grep "/mnt/extsd/179_1"
cat /system/bin/debuggerd | grep "/mnt/extsd/179_1"
cat /system/etc/vold.fstab | grep "/mnt/extsd/179_1"
cat /system/etc/install-recovery.sh | grep "/mnt/extsd/179_1"

# more general search for "179_1"
cat /system/etc/init.d/11link2sd | grep "179_1"
cat /system/bin/debuggerd | grep "179_1"
cat /system/etc/vold.fstab | grep "179_1"
cat /system/etc/install-recovery.sh | grep "179_1"

Edit:

# This will blindly edit out all instances of "/179_1". [color=red][B]Use at your own risk![/B][/color]
mount -o remount,rw /system
sed -i -e 's/\/179_1//g' /system/etc/init.d/11link2sd
sed -i -e 's/\/179_1//g' /system/bin/debuggerd
sed -i -e 's/\/179_1//g' /system/etc/vold.fstab
sed -i -e 's/\/179_1//g' /system/etc/install-recovery.sh
mount -o remount,ro /system

Edit: Oh, and reboot after you edit any of those files.
[Android Apps and Games] slowpok:
got strucked

i didnt get the superuser dialog box highlighted wat should i do now help me plssssssssss
[Android Apps and Games] GermainZ:
Are you rooted? If so, open your SU app and grant Link2SD permission.
[Android Apps and Games] darkknightma:
Good app
[Android Apps and Games] anakeobal:
Since using 2 months ....very nice app....but 1 help data of some app (eg:whats app if its 4 mb) even linked it should take partition memory ...but taking ...phon memory..??????

M I right if no then

Any way to move data or link....plz hlp me out
[Android Apps and Games] GermainZ:
Applications' data isn't linked, only the apk/dalvik-cache/libs are. Read the Link2SD FAQ for more info.

You can create a symlink manually or use another app that does that if you want it.
[Android Apps and Games] rickkraster:
so i rooted my asus tf300t today so i could move my apps to sdcard

so i followed the steps made a seond partition ext2 setted it as primary downloaded Hill climb racing as test but i got this error: failure create_link.com.fingersoft.hillclimb[1]:can't create /data/sdext2/data/com/fingersoft.hillclimb/lib/libgame.so No such fire or directory

and for some reason only my fat32 partition shows up in storage info
[Android Apps and Games] nikwen:
Try to recreate the mount script from the menu of Link2SD.
[Android Apps and Games] anakeobal:
So plzz tell me which app moves.data to sd.....
[Android Apps and Games] rickkraster:
doesn't work either also reformeted the sd a few times didnt work either
[Android Apps and Games] GermainZ:
Are all apps showing that error?

Try creating /data/sdext2/data/ (created a folder named 'data' in /data/sdext2) manually if so.
[Android Apps and Games] cavagnaro:
When you open the app for first time does it request permissions for root access? Does your root handler has it on it's allowed list?

Sent from my XPeria Z
[Android Apps and Games] Rahul lg:
Didn't work at all. Plz Help Me

I'm using [UNOFFICIAL] [ROM] [4.2.2] [29.3.13] Android Open Kang Project (AOKP)|Build #1 - P500 (on my Lg optimus one p500)

sotorage info

Internal (9% free)

Total 200 mb, used: 180, Free 19.12 MB

System O% free

Total 190MB, Used: 190MB, Free: 36.00KB

Sd card Second Partition

Not mounted

My first sd card partition is Primary (Fat not Fat32) and Second partition is Primary Fat32

when i tried to mount 2nd partition as Fat32 gives an error : mount Script cannot b created

Before that

My 1st partition was Like this(Primary fat 32 )

Second partition was (Primary ext i also tried ext3,ext4 ) but nothing works :confused::confused::confused::confused::crying::crying:

I dont know what i'm doing wrong Plz help me...... Thanks in advance
[Android Apps and Games] copyl3ft:
Link2sd to use Lenovo P770 Internal SD

Hi,

Im using a Lenovo P770 from China. Its rooted, running LeWa OS 5.23 (stable - english), running on native s124 format. As far as I can see, my phone has 3 storage options:

Internal Memory - 750mb

SD Card - 16gb Sandisk Ultra class10 (sdcard0)

Internal SD - 1.83gb (sdcard1)

Now the Internal Memory (750mb) and the SD Card (16gb) are constantly in use while the Internal SD (1.83gb) just sits idly there. For some time, App2sd was doing okay transferring less needed apps to my SD Card. However, since its my business phone and most of the time substitute to my laptop, its getting so filled up, Im down to bare essentials apps but still I have to constantly clear cache (sometimes even data) so I can still have around 250mb-350mb free space. App2sd is no longer helping hence I looked around and discovered Link2sd. Now Im looking around and there is a ton of variety of help/tutorials for using Link2sd to expand the Internal Memory using SD Card.

My question is, can I use my idle Internal SD (sdcard1) instead of re-partitioning my SD Card (sdcard0)? My SD Card is already in good shape so I dont want to mess it up.

I found this post:

[TIP][TRICK][SCRIPT] IntSD for Link2SD #2 partition, ExtSD as IntSD, 300MB ExtSD..

The reason for my interest in this is that, in my opinion, my Internal SD would really load faster compared to my class 10 microSD, so thats where I want to see my important and/or system-crucial apps when Im going to remove them from Internal Memory.

Im very hesitant to use it because there are some codes that Im not very sure of how it works. Will this work with me? If changes are needed so the codes will work for my phone, can you please help me?
[Android Apps and Games] zzztidurvirus:
Better not mess with system internal sd partition. Vold.fstab mod is ok, but partitions? Its not like you can use .pit file like samsung would. Best way is, you may want to do vold.fstab, or just partition your external sd. Note: all your gps offline data, google music, and game data will stay in internal sd instead of external sd (vold.fstab fixes that)

Sent from My Awesome Paradox ST21i
[Android Apps and Games] egingell:
To be fair, I am not messing with the partitions in that thread.

Sent from my SGS4.
[Android Apps and Games] zzztidurvirus:
Interesting method. Is there a fallback mode, if the microsd not present? Because the internal have become link2sd exclusive, and those gallery thumbnail data, where did it go? Just curious.

Sent from My Awesome Paradox ST21i
[Android Apps and Games] egingell:
The only that is a problem with my method is that the camera and gallery may not work and if the internal is reformatted as EXT, it will never mount as an SD card.

Sent from my SGS4.
[Android Apps and Games] copyl3ft:
Thank you for both your PROs and CONs inputs. It helped me decide on what steps Ill do next.

Sent from my Lenovo P770
[Android Apps and Games] Fat_boy555:
How do I link system data and app data to second partition such thay it doesn't clash with link2sd mount script and wouldn't cause any problems to my apps. Is it possible? If yes can someone pls post a link or a tutorial? Thanks!
[Android Apps and Games] GermainZ:
It should be safe to use an app that does that (and only that), or manually link using the "ln" (lowercase LN) shell command.
[Android Apps and Games] Fat_boy555:
Can u give me the command pls? Thanks!
[Android Apps and Games] GermainZ:
ln -s /folder/you/want/to/link /location/where/you/want/it/linked

Just make sure you don't link the full data folder, since Link2SD already linked the "lib" subfolder. Instead, only link the ones that are taking a lot of space, individually.
[Android Apps and Games] lajithp:
Please help me am facing this what I do
[Android Apps and Games] egingell:
The usage of this app is well documented in the OP.
[Android Apps and Games] dj4n90:
Peeps,

I have this problem with link2sd,

Most of the apps can be moved to the second partition on the external SD.

Now have 3 that can't be moved over,

"Where is my Perry" "Cut the robe" "Cut the robe timetravel"

They give following error "pkg: /mount/sec/com.Disney.WMP-1/pig.API Failure

[INSTALL _FAILED_INSUFFICIENT_STORAGE]

Storage info gives me 750Mb free on second partition should be more then enough IMHO.

It seems to me this happens with big apps those 3 are like +40Mb

Samsung GT-S5360 XXL3 stock ROM with root.
[Android Apps and Games] GermainZ:
Are they on your SD Card? If so, they need to be moved to your internal storage first, then copied to the external partition. Link2SD does this automatically, but still requires enough space on your internal storage.
[Android Apps and Games] dj4n90:
Hmmm well that explains the problem .. default it has only 40Mb free on that partition.

On the other hand its a bit strange ... even the smallest is installed 34+2mb IMHO that's less than 40mb butt I can't move that one to the phone either.

Anny work around to move the apps straight to the link2sd partition and then link them ?
[Android Apps and Games] JohnSpawnVFX:
Android has a security measure that prevents internal storage space of going below a certain threshold. That's why sometimes even if you have enough space to update Facebook app(for instance), if the memory goes below that threshold, it will abort the update and say that you have low memory.
[Android Apps and Games] GermainZ:
I'd suggest first linking some of you internal apps, then move the ones on your SD.

Once you're done, you can restore the apps you linked first.
[Android Apps and Games] dj4n90:
Thing is the data partition is empty .. 40mb is all there is availeble.
[Android Apps and Games] mjpaton:
Hi,

I'm having problems sorting the partitions on my SD card. Whatever I do (resize, split) Partition Wizard gets to 30% of partition resizing before saying

Failed to execute the following command:

ResizePartition DiskIndex:1 PartitionIndex:1 NewStartingLba:8192
NewPartitionSize:5945736 SafeMode:1

Error Code: 4

Disc I/O error

It's a 32GB genuine Samsung class 10 card. I've tried with safe mode on and off and the cart definiting isn't write protected (I checked).

Can anyone please help?
[Android Apps and Games] Karolus.Magnus:
What's the maximum size for the second primary partition?

Is there a maximum size limit for the 2nd basic partition that I can use with Link2SD?
[Android Apps and Games] egingell:
Nope, no limit.

Sent from my SGS4.
[Android Apps and Games] GermainZ:
I'd try formatting the SD Card if you haven't already.
[Android Apps and Games] zzztidurvirus:
Maybe try reformatting the microsd first in the phone, then if it works, delete all partitions and repartition into fat32 (default phone fs from reformat earlier) + ext2 / ext3 / ext4 / fat32 (2nd). Then try recreate mount.

Sent from My Awesome Paradox ST21i

---------- Post added at 06:39 PM ---------- Previous post was at 06:35 PM ----------

I think 4gb of ext4 on a 32gb is enough if you really want to pile up lots of hd games (/sdcard/android/data and /obb). If you want pile up little games (angry birds, subway surfers and more) 4gb is not enough.

Sent from My Awesome Paradox ST21i
[Android Apps and Games] Karolus.Magnus:
How can I know if my phone isn't supported?

Another question: Can some phones not support App2SD?

I have been trying with my phone and no matter what I do, Link2SD says that it doesn't support App2SD.

LG Optimus L5, JB 4.1.2
[Android Apps and Games] egingell:
Use "create link" not "move to SD card." The "move" option uses the native App2SD feature.

Sent from my SGS4.
[Android Apps and Games] Karolus.Magnus:
I finally understand now. Thanks.
[Android Apps and Games] ksibln:
Commenting out this restore-stuff at booting time?

Hi,

on my Sony Xperia pro I have the same issue as the previous poster (sith.warrier):

Link2SD works wunderful - until the phone is rebooted.

When rebooting the OS (Android 2.3.4) does some crazy restore-stuff and moves all .apk and .dex files back to the internal memory, until the limit for free space is reached.

So after rebooting all the apps, that could not be moved back because of missing space are not usable anymore (until I relink some apps to get free space and install the uninstalled apps from the second partition again).

So every booting is very painfull and needs about 2-5 hours work to bring back my phone in working mode :(

Maybe, as tobbbie wrote, the second partition is mounted too late (AFTER this cleaning-up program starts - instead of before). But on the other hand: How can Android move the apks back to internal memory, if this partition ist not mounted yet - strange..

I think, that this "cleaning-up" program, that moves everything back to internal memory, must be started in

- init.rc http://private-cities.gmxhome.de/init.rc

or

- init.semc.rc ( additional stuff from Sony-Ericson) http://private-cities.gmxhome.de/init.semc.rc

Does anybody have an idea, what program/service called in these files coud be responsible for this "cleaning up" at boot time, so that I can comment it out?

Or any other idea, like mounting the second partition somewhere in these skripts?

Thanks.
[Android Apps and Games] Karolus.Magnus:
Why Libs aren't marked by default?

Why wouldn't you move an app's libs?
[Android Apps and Games] scotyard:
Nice App. But I have noticed that the apps have become a lot slower. Is there a way to increase the app speed without the internal memory overhead?

I have ticked all the three options for all apps. Is it affecting the speed of the apps?
[Android Apps and Games] egingell:
The app is now on your external SD card. Unless it's faster than your internal, the app(s) will run slower.

---------- Post added at 01:04 AM ---------- Previous post was at 01:01 AM ----------

Some apps don't have libs. When you move one of them, the libs box gets unchecked and stays unchecked until you link an app with libs and recheck it. I'd call it a less-than-minor bug.
[Android Apps and Games] scotyard:
I do understand. But there must be a way to keep the cache on the RAM or internal memory while the program is running. Maybe force the program to use the internal memory/RAM while running(or use it as cache)?
[Android Apps and Games] swat4samp:
Whenever i clear dalvik cache from CWM, a low memory notification appears and some of my apps are disappeared and dex files are unlinked automatically :confused: any workaround for this please??
[Android Apps and Games] GermainZ:
Well, you're clearing it, so it needs to be recreated (and since it's removed, the links are obviously broken)) - which is done on the internal memory (/data/data/dalvik-cache).
[Android Apps and Games] egingell:
Also, check "Relink dex files at boot," this is exactly what that's there for.
[Android Apps and Games] GermainZ:
"At boot" is too late, the internal memory already got filled and not all the dalvik-cache could be recreated. IIRC, link2sd will link what it can but Android will recreate the rest and fill up the memory again.
[Android Apps and Games] egingell:
Then quit clearing your dalvik cache. There's no way around this -- aside from moving your dalvik cache, but that requires bootup scripts which can be found by searching these forums.
[Android Apps and Games] GermainZ:
I'm not the one doing it. ;)
[Android Apps and Games] egingell:
Your phone is deleting the dalvik cache on its own? That's a whole issue entirely.

Sent from my SGS4.
[Android Apps and Games] GermainZ:
No, I'm not the one with my dalvik-cache being cleared in the first place. You replied to the wrong person. :)
[Android Apps and Games] egingell:
Oh, my bad. lol

Sent from my SGS4.
[Android Apps and Games] swat4samp:
Oh wait...so clearing dalvik cache recreates itself on internal memory..i got that but whats the logic behind only some of my apps getting uninstalled :confused: is there a priority of which apps will get uninstalled when internl memory is low...so thers nothing to be done while clearing :(..i never faced such problems with int2ext + scripts earlier..

---------- Post added at 04:31 PM ---------- Previous post was at 04:29 PM ----------

Well im the one doing it :o uh what do u mean by bootup scripts..link please
[Android Apps and Games] GermainZ:
int2ext acts differently by symlinking /data/data. So when Android tries to access /data/data/dalvik-cache, it's actually accessing the SD Card directly.

Link2SD doesn't do that. It symlinks individual apps.

Some of your apps are getting 'uninstalled' because Android can't create their dalvik-cache, I think. Rebooting one more time should fix the problem.

Any particular reason you're clearing your dalvik-cache every now and then?
[Android Apps and Games] swat4samp:
Well i use crossbreeder..the installer automatically clears dalvik cache...but after reboot still the apps aren't showng..
[Android Apps and Games] Theworld2020:
must needed application..

This is the application, I needed much.

Tomorrow am gonna root my htc explorer, once rooted this is the first application I gonna install.

thanks to developing team
[Android Apps and Games] Harbir:
NEED help

does linked apps updates automatically when we update/replace apps through play store or :good:any other mean ? or do we have to unlink frist and then re-link after update :confused:.btw great app dev
[Android Apps and Games] egingell:
The installer will delete the symlink when it installs an update. Link2SD *should* then follow with a relinking; however, that features seems unreliable on my SGS2 with JB 4.1.2.

---------- Post added at 04:31 PM ---------- Previous post was at 04:25 PM ----------

So... the installer installs an app (presumably an update) and Crossbreeder clears the whole dalvik cache? That seems unnecessary and a bit overkill.

At any rate, there's no way to "fix" what Crossbreeder is doing except to uninstall Crossbreeder or find out if there's a way to tell it not to delete the dalvik.
[Android Apps and Games] kanmit:
Hey working great in lg optimus duos. Having memory limitation ogmf 180 mb but now i can install as many applications i want

Thanks..

:thumbup::thumbup::thumbup:
[Android Apps and Games] tonycrew:
Does this work on the xperia z...? as i installed link2sd formated a 32 gig sd in 2 partitions both fat32, upon selecting fat32 in link2sd i got bootloop until i removed the sd card.
[Android Apps and Games] nikwen:
I think that this doesn't make sense. This is for moving apps from /data to the sd card. The Xperia Z has got enough space for that.

It cannot move the data. So this app is basically useless on every new device.
[Android Apps and Games] tonycrew:
It doesn't have enough space when you install MC3,MC4 and Fifa etc they are all around 1.5 gig, i only have 16 gig and not all of that as system takes some aswell. thast leave just under 12 gig for installs.
[Android Apps and Games] zzztidurvirus:
True. Z do have bigger internal. Use foldermount instead for those hd game data. Youre lucky if you can really get /data as big as 32gb. microsd max fat32 is 29.71gb, can you even reach that limit? Z even have to share that size with /sdcard making it small. Link2sd really is useful when you want to pile up lots of small no-sdcard usage apps.

Sent from My Awesome Paradox ST21i
[Android Apps and Games] nikwen:
Yeah, but that data is saved on the "internal sd card" of the phone.

Link2SD cannot move that. It can just move the apk, the libs and the dex files. It cannot move data. (The apk of Fifa 12 is just 6.6 MB.)
[Android Apps and Games] tonycrew:
Ah i see i didnt know that, thanks for the info.
[Android Apps and Games] zzztidurvirus:
You can either mod your vold.fstab or use foldermount. Here is a samsung galaxy s2 with vold.fstab. Yeah, you might think its small, only 29.71gb, but what if you put 64gb card instead as /sdcard? Or even 128gb card? More piling up hd games for me.

Sent from My Awesome Paradox ST21i