yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Osama Zabin:
It's working fine now, I read different threads, and found that vendor /app folder is set as read only, after changing to read write I can freez applications, covert to system or user,

This is for your information,

Thanks
[Android Apps and Games] Kierrok:
I don't think dalvik-cache gets unlinked at boot time. Al least not in GB.

When you change your ROM dalvik-cache is regenerated and can fill up your internal memory if you have many apps, but if you keep linking the regenerated files and rebooting you'll have all the new dex files linked and you will not have to worry with them until you change the ROM again.

But lib files are unlinked each time, yes, and the fix is what bsoplinger suggested.
[Android Apps and Games] bsoplinger:
This isn't to dispute what you said about the davlik cache files but if the library gets regenerated by the OS upon reboot wouldn't that signal a need to redo the JIT compile the davlik represents? Or does it only cache the app code itself and not any library routines that app uses? This shows my ignorance of the internal workings of Android as I know *nix only.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Apps and Games] Kierrok:
Lib files aren't regenerated, they're binaries. They are just "unpacked"/"reinstalled" from the apk. Why? Don't have a clue...
[Android Apps and Games] htrakr:
+1

It already can freeze apps, move between system and data, clean caches, dalvik, etc. If data is also linked combined with relink it would probably be better than titanium when switching between roms (if everything works as it is supposed to)
[Android Apps and Games] adell_:
What happened to me was they were unlinked every time even I checked the option to relink at boot. I needed to do a clean install to fix this.
[Android Apps and Games] TaranQ:
Confused

I have been able to free some precious internal memory using Link2SD but I am pretty confused.

Moving app's back and forth between internal memory, sd card and ext partition gives me very different results regarding free internal memory.

For example if I move a linked app to SD (or to internal) and move it back (re-linking) i get different amounts of free memory? Sometimes internal memory just seems to keep dropping even if I move an app back to its original state?

As Dalvik cache is stored on internal memory I thought linking them to ext partition would give me more free memory but it seems that is not always the case?

Pretty confusing......

What would be the best setup, which apps (and what files) are best for linking to give most free internal memory?
[Android Apps and Games] GJSmith3rd:
I run ICS ColdFusionX CM9 on a Huawei Ideos U8150 with V6 Supercharger Scripts and Link2SD. I link all apps, libs and dalviks to Ext4 partition on a class 10 SD and Link2SD works perfect. Link2SD is the only app not linked.
[Android Apps and Games] TaranQ:
strange to me is that linking apps in some cases decreases free internal memory...?
[Android Apps and Games] Adibalwani03:
I have the same problem as TaranQ. I just rooted my HTC Explorer and made a FAT32 partition in my SD Card since apparently ext2 is not supported by my cell. But whenever I link an application to SDcard it takes up space in my internal memory instead.

Any idea what i'm doing wrong?
[Android Apps and Games] TaranQ:
Well in my case it does free up internal memory with some apps but it doesn't with others. It's a matter of try and error which apps free up and which take memory.

But strangest thing in my case is, well let's give an example.

I have 60BM of free internal memory.

I link app X with link2sd (apk+dex+lib) : result 54MB free mem

so I unlink to get back my 60MB but instead link2sd reports only 58MB ???

where did that 2 MB go?

Often moving a linked app to SD with alternative methode does actually free up more memory than link2sd.

So it's very confusing to me, are there any guidelines?

Which app's, what files, in what cases (constant running apps, widgets etc)

Is reported free memory accurate?

edit: could it be that is it caused by setting my default install location to sd??

So linking moves app's from sd to ext partition and doesn't actually free up internal memory (and appearantly takes some mem)
[Android Apps and Games] ben_gate:
anyone know what is the difference in terms of performance between ext4 and fat32 for my second partition?
[Android Apps and Games] Adibalwani03:
Even I have set my default locations as SD using adbshell before rooting, and was actually thinking the same thing.

But in my case whats happening is, whenever I link an application that already is in the sd card, It gets moved in to the Phone memory instead.. Take Apparatus (16MB) for example. I had moved apparatus to the SD card long back and now when I create the link (I have 28MB free in internal storage, when Apparatus is in SD, it takes 709kb), The app is moved to my internal storage and I'm left with 13MB free in my internal.

If I link an app that already is in the Phone memory, like Go Launcher, It doesn't go to the SD, and there is no change in my internal storage.

Edit: Another think I just noticed is that When I moved Apparatus from SD Card to Phone memory (Without creating link), the status of the application in Link2SD says "Linked -> SD Card", when the app is actually in the phone memory
[Android Apps and Games] Nightshadow931:
This is what I do.

Right after I flash a new ROM, first app I install is Link2SD.I tick "Auto link" option, and then I install all apps I need.Result?

105 apps installed, ~60mb of internal memory free.

By the way, around 120mb was free when I flashed that ROM.

I suggest everyone to do the same, you won't have any problems.
[Android Apps and Games] Adibalwani03:
That may be the case in flashed ROMs.. But I haven't flashed any rom yet.. I have simply rooted my cell so i can get rid of the low storage space problem.. which till now hasn't happened.. :/
[Android Apps and Games] Kierrok:
Yes, that can be the problem. Android doesn't refresh the free space in real time, sometimes it takes a really long time to refresh.

What can be happening when you link some apps that are in the SD (native way) is that Link2SD moves them to internal memory first and then moves them to the 2nd partition and makes the links. You see the internal memory decreasing because android didn't refreshed yet.

To force a refresh you can open "manage applications" and click in all the tabs until the real free memory shows up or reboot.
[Android Apps and Games] TaranQ:
Gonna try and see what happens the next few days and report back.
[Android Apps and Games] bsoplinger:
This is a very frustrating feature of the Android OS. There are other ways to get the system to update the storage info also. I have AppMonster installed for its backup feature. But running it will cause a refresh. Ditto with most of the app2sd apps out there. I haven't tried it but asking link2SD to refresh its app list may do it. You shouldn't need to reboot.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Apps and Games] Kierrok:
Yeah. Just tried Titanium Backup and it refreshed the free space info. Took about 2 minutes to read all my apps, though.
[Android Apps and Games] Der_Xte_Mensch:
I've got a little problem: I created an ext2 partition using Gparted on Ubuntu. On my Motorola Milestone I pasted the ext2.ko into the right directory and made it working with an emulated terminal (-su and -insmod /system/lib/modules/ext2.ko). Now everything works, but: when I connect my smartphone to my laptop via USB, Ubuntu mounts both the FAT-partition and the ext2-partition, which forces for example ADW to close... can this be solved somehow, that only the FAT-partition is mounted?
[Android Apps and Games] mustaffa711@yahoo.com:
Great app, thank u, and keep updating please.

work great on shakira x8
[Android Apps and Games] mmaarrkk1313:
hxxp://img600.imageshack.us/img600/8911/20110210231922.jpg

attached is a screenshot. after i this screenshot app, link2sd created a link already when i opened link2sd. based on the screen shot, it says /data/app/xxx.apk -> /data/appbak/xxx.apk

that the app was originally stored in /data/app and was moved to data/appbak.

i dont have a back up tool installed also. thank you for the reply bakpinar. :)

update: nvm bakpinar, must have messed up my phone. what i did, i reflashed eclair then installed link2sd and then i installed angrybirds to test it. IT IS WORKING.
[Android Apps and Games] loubaou:
Hello, trying to use your app on Samsung Galaxy S, the difference here is that there is 2 SD card one internal and one so called external

My understanding is that if I follow your instruction I need to create the ext2 partition on the 'internal SD' of my SGS.

But I would like to set my ext2 partition on the so called external SD, is there a way to customize this ? any suggestion

Rgds
[Android Apps and Games] bakpinar:
You can be sure that.

Currently I'm working on to re-link app automatically when you upgrade it. That is, you don't have to manually relink apps after upgrade.

And remove apk file from ext2 automatically when you uninstall it from the system. (no need the special uninstall button in the Link2SD)

Almost finished, hopefully I can release the new version next week.

And there are some nice features waiting in the pipeline for future versions.

Stay tuned...

We, Donut and Eclair users, will have "apps on SD" feature better than Froyo :)
[Android Apps and Games] xCookie:
It already works better! :D
[Android Apps and Games] necrohades:
we are waiting for this Bakpinar. official SE X10 Mini Pro fw are stuck with Eclair, so me and other x20mp users are thankful for this app of yours :)
[Android Apps and Games] tarnagy:
HI bakpinar!

I installed link2sd, launched and appeared:

"Auto-mount script cannot be created.

mount: No such device"

I created an new partition (ext2) 600 Mb (on 4 Gb card), both primary, first FAT32. The "/data/sdext2" directory is empty...

What do I do?

(Samsung Galaxy 3, Eclair 2.1, root)
[Android Apps and Games] januari:
Thanks bakpinar with this great app. It works great on my SE Xperia X10i & ZTE V9 Smartpad. Keep continue with this great app Bakpinar.
[Android Apps and Games] bakpinar:
Can you provide outputs of the following commands

ls -l /dev/block/vold

mount

set
[Android Apps and Games] tarnagy:
I provided this commands in Terminal Emulator but happened nothing... "/data/sdext2" directory is empty...

See You my terminal display:

$ export PATH=/data/local/bin:$PATH

$su

#ls -l /dev/block/vold

brw-rw---- root root 179, 2 2011-02-11 13:15 179:2

brw-rw---- root root 179, 1 2011-02-11 13:15 179:1

brw-rw---- root root 179, 0 2011-02-11 13:15 179:0

#

# mount

rootfs / rootfs rw 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

/dev/block/stl6 /system rfs ro,vfat,log_off,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl7 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl8 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl4 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

# set

ANDROID_ASSETS=/system/app

ANDROID_BOOTLOGO=1

ANDROID_DATA=/data

ANDROID_PROPERTY_WORKSPACE=9,32768

ANDROID_ROOT=/system

ANDROID_SOCKET_zygote=10

BOOTCLASSPATH=/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar

EXTERNAL_STORAGE=/sdcard

IFS='

'

LD_LIBRARY_PATH=/system/lib:/system/lib/egl

OPTIND=1

PATH=/data/local/bin:/sbin:/system/sbin:/system/bin:/system/xbin

PS1='# '

PS2='> '

PS4='+ '

_=mount

#
[Android Apps and Games] bakpinar:
can you try manually mount with the following command?

mount -t ext2 /dev/block//vold/179:2 /data/sdext2
[Android Apps and Games] avalon_70:
Hi, I have a motorola backflip.

All the latest rom for the backflip have a2sd inside.

In my case a2sd is disabled, but still nice Link2Sd system detects it, and I do not permit its use.

Is there a way to disable this check, or to totally remove a2sd by phone?

Thanks
[Android Apps and Games] Der_Xte_Mensch:
can nobody help me? :confused:
[Android Apps and Games] goodoane:
Try to set ububtu do not automatically mount external drives.
[Android Apps and Games] justpassntime:
ext2 not mounting

I have a garminfone A50 2.1 rooted. I partitioned fat32 and ext2 with gparted on ubuntu. Fat32 mounts no problem on the phone but not ext2. The ext2 partition shows up in mini tool partition wizard on the pc so I know its there and healthy, but just can't get ext2 to mount.

Am I missing a step?
[Android Apps and Games] Der_Xte_Mensch:
I don't know, how garmin works. But with Motorola phones you have to follow these steps:

http://xdaforums.com/showpost.php?p=10866898&postcount=8

That's because Motorola does not mount ext2 out of the box. First you have to install the ext2.ko and install it.
[Android Apps and Games] szabof1:
Hello,

I use Link2SD since yesterday. It's excellent.

Two questions:

- Is it possible to set default location for installation (internal memory / ext2 partition)?

- Is it possible to move (link) multiple programs in one run? (Select the programs I want to link or un-link and move them in one batch.)

Thx
[Android Apps and Games] qumast:
This is exactly what i was looking for for my x10 mini pro

good job!

i attempted to mount it as ext3 but failed, That messed all the linked apps and i had to titanium them back and go back to ext2. I think my kernel doesnt support ext3? no problem, just be alert and follow instructions for this as they are and eveything will be fine.

One important question: Any chance to link each of the /data/data dirs as well ??

many thanks to the creator

[ xperia x10 mini pro - jit v1 - xrecovery ]
[Android Apps and Games] tiptipz:
bakpinar, I need help

I installed link2sd, launched and appeared:

"Auto-mount script cannot be created.

mount: Invalid argument"

Any idea whats wrong? :(
[Android Apps and Games] TaranQ:
Indeed very frustrating. Now I managed to get 83MB (out of 180MB on my Galaxy Ace) of free space :o.

Should have been mentioned in the FAQ imho

btw i have 185 reported apps installed :))

edit: Strange however is that Titanium reports 87,1 MB of free internal memory while link2sd reports 83,12MB ??
[Android Apps and Games] bsoplinger:
Could it be a MB vs. MiB issue? I may have the abbreviations wrong, I'm asking about a MB that is base 10 vs. 1024 based counting.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Apps and Games] TaranQ:
It is both reported as MB ?
[Android Apps and Games] burnjca:
SD Card second primary partition keeps showing as "Unformatted"

Hi guys,

I'm having a problem with the partition of my 8gb card.

I followed every step on this guide but apparently my device (Samsung Galaxy i5510 - Stock ROM) doesn't support ext2. So I decided to format the partition as FAT32 to see if that solved the problem but that's just not working.

I'm creating two primary FAT32 partitions, but when I "apply" the changes on EASEUS Partition Master the second partition appears as "Unformatted", and it keeps happening no matter how much I format it back to FAT32.

NOTE: Tested the same procedure with a 2gb sd and it worked wonders.

So I guess it's a problem with the sd card size, right? Is it too big? Is there a workaround?

Long story short:

8gb sd-card

Can't create two FAT32 primary partitions

Using Stock ROM, Android 2.2 (rooted), my device doesn't support "ext2" (appears as "not mounted" on Link2sd).

PLEASE! Help me with this :(

Here's a screenshot:
[Android Apps and Games] lohtse:
Well after a few issues with this app I tried s2e and found it suited my needs better and was less buggy too.

Thank you for your hard work on link2sd.

Regards

Lohtse
[Android Apps and Games] Small_town_boy:
After a few days after installing I get the error as below...

And I am not able to link any apps..any solution ....? And reason why this may be happening?

Happened several times ..I have a 1gb ext3 partition and running cm7...

Sent from my GT-S5570
[Android Apps and Games] phyl65:
Reboot, your sd-ext partition should then be mounted r/w.

This sometimes happens :confused:
[Android Apps and Games] Small_town_boy:
Nope ...:(

It is still read only...?

Sent from my GT-S5570
[Android Apps and Games] Osama Zabin:
Did you try to change this file from r/o to r/w, using Root Explorer??

I was getting similar error before, try and let me know.
[Android Apps and Games] nilot27:
One Clarification

Hey,

Rooted my phone(HTC Explorer) yesterday and installed Link2sd. Linked all user apps to sd (FAT 32 part).

I updated all the google apps like maps and youtube. after that these apps appear under user apps with a green notification saying updated.

Is it safe to link thse apps to sd?

I searched the forum but couldnt get a satisfactory answer. I am sorry but i am new here. Please do reply.
[Android Apps and Games] adell_:
Set the preference in Titanium to display it as MiB. MB in Titanium is based on 1000.
[Android Apps and Games] Small_town_boy:
Yes...getting same error with root explorer also...system has become read only....not able to set permissions nor copy or move anything in system ...

How to solve this prob...?

Sent from my GT-S5570
[Android Apps and Games] bsoplinger:
It is safe to link then to the SDHC 2nd partition. It is even possible to use the built app2SD but then they won't get started at boot time and their widgets won't work. That's why it's always better to use link2SD for those type of apps.

Sent from my HTCEVOV4G using Xparent Purple Tapatalk 2
[Android Apps and Games] nilot27:
Link2sd problem

I am using Link2sd and linked all user apps to sd. i set Link2sd to link all installed apps automatically. After some time a app installation stopped saying low internal memory. actually less than 512KB. I restarted my phone. Then many apps started to crash including many system apps titanium backup and juice defender. I tried to move a few apps to sd but without result. I also uninstalled all the apps except titanium backup and es file explorer but the internal memory didnt exceed 65 MB.

Cant understand what is happening.. I cleared the second partn ( FAT 32) also and removed Link2sd.

Please help and solve this internal memory problem...
[Android Apps and Games] Osama Zabin:
I'm not the expert here, but please double check If your phone is propoerly rooted.
[Android Apps and Games] Small_town_boy:
Yes...I am absolutely sure that my phone is rooted ...as I have stated above ...every thing was perfect for around a week...then I started getting this error...tried with different roms(all of them pre rooted) but had same problem...:(

Sent from my GT-S5570
[Android Apps and Games] Kierrok:
Your ext3 file system is dirty. You have to fsck it.
[Android Apps and Games] evilsetho:
sd-ext won't mount. currently on merruk pre final. patitioned 8gb memory to 6.01gb primary(FAt32) 1.98gb primary(ext3). this config did'nt run on a2sd and link2sd so i tried flashing ext4.zip by merrruk. still sd-ext umountable(error)
[Android Apps and Games] jhonnyx1000:
Try these commands in terminal:

mount -rw -t ext3 -o remount /dev/block/vold/179:2 /data/sdext2

then

mount -rw -t ext3 -o remount /dev/block/mmmcblk0p2 /sd-ext
[Android Apps and Games] bakpinar:
UPDATE:

2.1.2

- fixed crash if too many apps (400+) are installed on some devices

- improved app search (use "contains" instead of "start with" and higlight the matching characters)

- updated translations
[Android Apps and Games] ICavalera:
Hi there...

Just clicked on "Thanks" for the developer...

This app is great, i´ve partitioned my sd card, then install my fresh cm7.2 on my HTC Legend and install link2sd. Is working very well, i feel that the phone is a bit faster and i have the htc sd card that came in the phone.

So far, so good! :D
[Android Apps and Games] Osama Zabin:
Dear all,

My internal memory is decreasing day after day although I'm not installing any new application to internal memory, all are linked to 2nd partition including lib and dex files.

Two weeks ago or even less , the used space was only 69 MB, but now, it's 128 MB.

I've cleared the cache and restarted the phone, but it never comes back to 69 MB.

Moreover, sometimes I clear the cache (18 MB) but only 2MB got freed, I restated the device but same results.

I saw few users having similar issues.

I have no idea what could be eating phone internal memory :-(.

Your support and help is really appreciated.
[Android Apps and Games] Ferenczy68:
'preciate ya, worked like a charm! :D
[Android Apps and Games] DamienWind:
Link2SD is an awesome app, but I've got one problem I can't figure out and would appreciate the help:

Whenever I install Link2SD and create mount scripts my /data/init.sh never gets executed on any reboots after that until a new flash of the ROM, so no init.d scripts ever run at boot. Any thoughts or things I could check to troubleshoot?
[Android Apps and Games] ghojezz:
didn't work for me :(

so, i backup-ed my sdext2 files, and put it on sdcard directory, copy whole files and folders on SDcard to computer then i formatted my SDCard

after done i copied sdext2 backup files to data/sdext2

how to make the app back in my phone?

coz after i mounted script, it didn;t come back :crying:

i need y'all help coz so many important data were missing :rolleyes:

note:

1. if i use clean 2nd partition, it says there's 86 apps unneeded, it means something missing..

2. i checked /data/app, all installed app were there..
[Android Apps and Games] SifJar:
I apologize if this has been asked somewhere previously in the 300 pages of this thread, but are there any plans to add the ability to link app data to SD? I would greatly appreciate such a feature, as my device has a pathetically small internal storage, and the app data takes up about 75MB out of 150MB total.

Otherwise, this app is absolutely fantastic, makes my phone actually usable :)
[Android Apps and Games] wudangnic:
Didn't work. It says "fsck: not found". I'm on fat32
[Android Apps and Games] Kierrok:
Install busybox and try to run it from android and not the recovery.

EDIT: Try fsck_msdos /dev/block/mmcblk0p2

The SD 2nd partition on your phone can be different of mine. You have to check it.
[Android Apps and Games] mikeeey:
I'm using an LG Thrill with v20c baseband, Prometheus V1.4 rom.

I have a 32gb micro sd. I've made my 2nd partition 8gb as ext2. When I put it in the phone it reads it, says it's ready to read/write media (in notifications bar). I then go to link2sd, it automatically asks me if the 2nd partition is ext2, ext3, ext4, or fat32/fat16. I tried ext2 and it says:

"Mount script cannot be created. mount: mounting /dev/block/vold/179:18 on /data/sdext2 failed: Invalid argument.

I then put it back into my computer, and retried the process over again with ext3, ext4, and fat32, and none of them work, same error.

Each time I put it back into my computer (after being read by the phone) it says the 2nd partition is in an "unknown" format rather than ext2/ext3/ext4/fat32 like originally assigned.

Is the Optimus 3D/LG Thrill not supported yet?
[Android Apps and Games] cmatej000:
Hi, just wanted to say its a great app!

Ive been using it for a long time now and am very pleased with it.

Internal space is so important so this is definitely a must have app!!!

Keep up the great work:good::good:

---------- Post added at 02:05 PM ---------- Previous post was at 01:59 PM ----------

One question?

Did anyone experience any problems using the MIUI rom with link2sd?

When i was trying out the new MIUI rom and linked apps to SD the rom just crashed!!? it went to MIUI booting logo.

anyway I just ask if anyone had the same problem?