yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Karolus.Magnus:
I got 2.5 gb for the internal, and then it starts to give a warning notice when I'm about less than 450 megs of free space,

I have so few images that they are almost nothing. Google+ uploads them automatically, and then I can download them from Gallery when I need them.

---------- Post added at 12:55 PM ---------- Previous post was at 12:47 PM ----------

This are my space savers: (in hierarchy order)

1. GOLD!!! https://play.google.com/store/apps/details?id=com.sandisk.mz (you can view apk files that aren't installed, files catted by type, internal or external)

2. Silver... https://play.google.com/store/apps/details?id=com.cleanmaster.mguard (cache and junk)

3. Bronze... https://play.google.com/store/apps/details?id=com.google.android.diskusage (something similar to WinDirStat)
[Android Apps and Games] kgeo:
I only have 400 MB (420 are reported by Link2SD). DCIM is not there it's on the SD Card, and it doesn't have a thumbnail directory.
[Android Apps and Games] Karolus.Magnus:
Please check out my previous post, you will find apps that I promise will help you out. Specially the Sansadisk one and DiskUsage
[Android Apps and Games] kgeo:
Sandisk only says there are application files.

However, diskusage is really good. the heavy weights are chrome itself, the sonyericsson gallery (its a system app, can I safely remove it? the android gallery is quite ok for me), and there is also the android standard browser (can I get rid of that one, and use chrome as replacement? I suspect not)
[Android Apps and Games] grinder777:
IMO you can remove your SEgallery and browser riskless - but store a backup at external sd, just in case...

BUT: system and data are different partitions... so removing system apps should not give you more space at data...

SGS - Devil 4.3 - Helly Bean - Cobalt Sam-X - Thnx2all
[Android Apps and Games] Karolus.Magnus:
If you want to change the location of Data and System folders, you should use foldermount (at your own risk!)

The sansadisk is great because sometimes there are apk files that are leftover when they aren't removed after they are installed. Notice theres'a difference between "apk files" and "installed apk". You can delete the ones that don't say "apk installed".
[Android Apps and Games] theloniousm:
Sorry if this has already been answered, but:

Regarding native app2sd applications only, I have been creating symbolic links for dex files. First of all, am I right to do so?

Second: Is this all I can do to free-up space? What happens if I link the apk files or the lib files of an app which is already on the 1st sd card partition? Would I gain internal space and will it perform differently?

Thanks
[Android Apps and Games] nikwen:
You can link apk, dex and lib files. No problems with that. ;)

If you move an app which is on the first partition, it will be moved to the internal memory again. Afterwards it is linked to the second partition as normal.
[Android Apps and Games] theloniousm:
Thanks, but my main concern is to avoid creating symbolic links between the two SD card partitions. I understand the native app2sd system already moves apk and lib files to the main SD card partition. But in Link2SD it just treats the internal memory and external memory as "not link2sd partition". So when inspecting an app that is "on SD card" (not linked to sd but main partition), there is no way of knowing what is on internal memory and what isn't.

Are you sure linking somehting like lib files will not just creating a link between the two partitions of my external sd card? Because that would be pointless, I think.
[Android Apps and Games] nikwen:
Well, the libs are stored in /data/data/<package name>/lib/. So the link will be placed there.

That's because the native app2sd system doesn't move lib files. It moves apk files only.

So whenever I link an app to the SD card, I tick all three boxes.

The apk is the only file that can be on the first partition. And that will be moved to the internal storage before linking. So no problem. ;)

Another argument for that: The first partition is formatted as FAT32. No symbolic links can be created there as the file system doesn't support that. They have to be created in the /data/ folder.

Don't worry. The app works. I've been using it on my Samsung Galaxy Ace for some months (or is it a year?). ;)

EDIT: I digged into the file system some time ago and checked how Link2SD works. That's my "source".
[Android Apps and Games] theloniousm:
From link2sd dot info/faq :

The other thing is that I don't know if my 2nd partition is FAT or EXT4. I didn't realize symbolic links could take up much space themselves.
[Android Apps and Games] nikwen:
OK. That's strange.

I don't have any 2.3 device here. So I cannot test this.

However, it won't make any difference. All files will be moved to the internal storage first.

The symbolic links aren't placed on the second partition. The links are created in the internal storage.

The files which take up so much space are the application files (apk, dex, lib). Those will be moved to the second partition.

The symbolic links are about 4 KB each.

The file system of your second partition doesn't matter. Your first one is FAT32, no other one works. The second one doesn't contain links, they are all internal.
[Android Apps and Games] theloniousm:
OK :o

Thanks for the clarifications!
[Android Apps and Games] nikwen:
You're welcome. ;)
[Android Apps and Games] kgeo:
Oh, I see. I didn't check for that. But using DiskUsage, I found out other interesting things. A little background first. Some time ago (a month or two, I can't really remember) I used what was probably a bad microUSB cable that upon connecting and trying to mount, to my PC, wiped out the complete FAT part of my SD Card (not the one I used with Links2SD). There I had moved (before Links2SD) a lot of applications with the original method. After the wipe those were not available anymore, but I didn't think a lot of it and just reinstalled with Links2SD what I still needed.

Now it seems that a lot of junk has stayed in the internal Memory causing it to be almost full. I can see with DiskUsage two things:

1. in /data/data I find subdirectories of programs that are not installed anymore, i.e. that hav been wiped out

2. same thing in the dalvik-cache subdirectory.

I tried to delete the directories using the delete inside DiskUsage, but that did not work. In fact on some directories, while DiskUsage UI says there is 7MB of data inside, when I press delete I get "0 files, total size: 0 bytes", and when I delete it goes wrong saying "Delete failed!...". The directory disappears on the UI, but on a rescan it reappears.

Any tips on how to get rid of this old garbage?
[Android Apps and Games] nikwen:
Download a terminal emulator (or adb shell into your device). Then type

su

and for every file you want to delete type this:

rm -rf <path to the file/directory>

Example (deleting all Link2SD data):

rm -rf /data/data/com.buak.Link2SD

You can also cd into the /data/data directory first.
[Android Apps and Games] kgeo:
OK, I feel bad. I should have thought of it myself. I am an old Linux (and an even older Unix) user. Duh! Thanks nikwen for pointing me into the right direction!
[Android Apps and Games] nikwen:
Welcome. ;)

(Linux for the world! :D)
[Android Apps and Games] kgeo:
Yes, some day we will rule the world! ;)

Ok, I've finally cleaned up, and now have 95MB (of 420MB) of free space, and I was able to update a few apps that I couldn't before (e.g. What's App). However, I still cannot update my most important app: Chrome! "Not enough memory". Chrome is a bit bigger with 26 MB, but come on! What's happening?
[Android Apps and Games] NAZUnlimited:
26Megs the apk but between the apk, lib and dex (dalvik cache), my last chrome update filled 97 megs.

Another thing, this last version of link2sd looks a bit slower between opening and listing all the apps. someone else notice the same?
[Android Apps and Games] rakijaman:
I'm lucky because have old but working version without adds :D
[Android Apps and Games] johnemone:
xz

pls how can i make it work for xperia z
[Android Apps and Games] adrianyujs:
Google for tutorial dude!
[Android Apps and Games] fraspax:
Hi, I've done a mess with my rom, and now I've to reflash the phone, I was wondering if there is a way recover app from Link2SD partition without reistalling them again. If I'm not wrong all apps' stuffs are in that partition, so I just have to restore apps' links...... maybe I'm too optimistic
[Android Apps and Games] adrianyujs:
Inside menu of the link2sd got option called Re-Link dalvik/apps/library, run those 3 option and your apps will be back..
[Android Apps and Games] egingell:
There's no magic. You can go to /data/sdext2 directly and install them from there.

Sent from my E4GT.
[Android Apps and Games] fraspax:
there is a auto relink option but it's not working
[Android Apps and Games] adrianyujs:
Not auto link! There is option called RE-LINK everything!
[Android Apps and Games] nikwen:
If I remember right, there was an automatic relink option in the setting which would do this after every boot. I think that he was talking about that one.
[Android Apps and Games] adrianyujs:
He said he formatted... So he need to relink everything den he can use autolink/autolink each reboot.
[Android Apps and Games] tobbbie:
There is no magic happening if you have a scratched phone and want your apps back. The auto link and relink should only work for the case that installed apps are back to \data (apk, dalvik and libs). Android Package Manager needs to keep track of installed apps and you only get this when an installation is done properly. You cannot wildly link files and expect it to work later.

There is one proposal earlier to fetch the APK from the sdext2 where link2sd had put them - this saves you time of downloading via app-store, but still you need to install them one-by-one. I recall that there are some programs to batch-uninstall SW, maybe there are also some to batch-install?

Mind that you miss the programs that have not been link2sd-ed this way. For me this is just a tiny number though.

You should do regular nandroid backups from recovery - this makes restore a snap.
[Android Apps and Games] awayssg:
Great App! Thanks a lot.
[Android Apps and Games] ShayTheRogue:
I have a problem linking. I partitioned a 16gb card to fat32 primary and ext4 primary (with 3gb space). Link2Sd finds the ext4 partion, creates the scripts and asks me to reboot.

The problem starts when I try to link apps, after choosing "link" and checking the 3 boxes and then clicking ok my tablet reboots after a few seconds. After the reboot the apps either didn't get moved or got uninstalled.

What could be the problem?
[Android Apps and Games] adrianyujs:
Try use ext2...
[Android Apps and Games] gberpa:
I had problems with exFAt on the first primary and ext2, ext4 on the second. FAT32 works.
[Android Apps and Games] _butch_:
does it work with encrypted phones?

Hi,

I previously tried mounts2sd, but it does not work with encrypted devices.

Is link2sd playing well on encrypted devices, or will booting mess up?

Using CM 10.1 on i9195

regards, butch
[Android Apps and Games] adrianyujs:
Try den feedback.
[Android Apps and Games] sieger007:
Link2SD - Linking , "Limped" my device

Specs of my phone

MTK6575

Cortex A9 CPU

Company : Generic Chinese. Manufacturer - ?

Pl see attached CPUZ screenshots

Running 2.3.6 Version Android

I installed Link2SD after partitioning card with EXT2. L2SD Picked up the ext2 partition very well and the auto linking feature worked till alas , I tragedy struck - I had ONLY 256mb memory on the phone so I tried to move some phone to ext2 by linking by 1st converting em to user apps from system apps and then link them using L2SD convert to user app feature.

After than Google Play kept giving error message process "com.vending.android" stopped unexpectedly . Alright - so I tried to flip some of the apps from ext2 back to phone. But after that NOTHING worked . Google play continued with error and browser app ( internal system app ) kept giving error process "com.browser...something" stopped working.

Then I noticed L2SD complained that the ext2 partition cannot be seen

Same prob when I mount Card in Linux - EXT2 ( 480 mb) has DISAPPEARED.

NOW link2SD has got me limping instead of linking.....

pl help !!!!!!
[Android Apps and Games] adrianyujs:
Never ever convert system app to user app!!!

Its seem everything corrupt and you have no other choice, clean n format everything and flash new rom again.
[Android Apps and Games] sieger007:
that is where I get STUCK

I used the reset factory option - it erased my SD card ( I think that is where my ext2 got ruined ) and came back with the SAME config before erasing.

So now I have 2 probs

-- SD card has damaged ext2 part.

-- Phone n/w : probably some system app files got buried in the deleted Erased EXt2 partition.

So I need some help pl for 2 things

-- How do I rebuild the lost ext2 partition : I tried Linux. No help and also part. recovery s/w - they can see fat32 part only/

-- How I do load the new ROM to phone.

I see some places where they tell you to download so and so ROM and install via CWM.

Now If I am not mistaken there is No SINGLE - one fits all CWM for all ROMS. Your CWM has to be compatible. HOW do I find a CWM compatible with my phone - any idea ? I search those ROM sites no luck.

When I go to recovery of phone ( left volume and power button ) I get a small scroll menu - it will do the same thing as factory reset ( and back to the same state ) - there is no option that is there in CWM because the recovery of this phone is not same as CWM recovery option.

ANY way out of the tunnel -?
[Android Apps and Games] egingell:
Look in the forum for your phone and carrier for ROMs and follow the dev's instructions to the letter.

Moving system apps does not free up the space you want as they reside on a separate partition.

Suggestion for Link2SD dev: allow linking dex and libs of system apps.

Sent from my SGS4.
[Android Apps and Games] sieger007:
tyvm....

Pl see attached pics for my phone specs

I cant seem to fine the exact match ANYWHERE.

The closest I can get is - Find phones with A9 cortex, MTK6575 Chipset ( assuming that spec belonged to a chipset type ) and GPU combination.

Can I assume that another phone that has the same above three matching would match my phone. So any ROM/ CWM tutorial for that other phone will work for me ?
[Android Apps and Games] bartmdq:
good app, thanks alot!
[Android Apps and Games] mo2002:
Since this hasn't been answered in another section I'm deleting it there and asking here

I cannot get ext2 to mount no matter what I do. I've reformated from the PC, phone, and mini partition tool. I've set both fat32 and ext2 to primary, made sure there's at least 512MB (I have 1024mb). I believe my problem is error on my behalf but where?

I'm running Perseus kernel with Jedi x18.
[Android Apps and Games] banciii:
Relink lib files at boot

Hello! The 'Relink lib files at boot' option is notworking on 4.3.1 (CM10.2)? I enabled it but my apps' libs are still getting unlinked everytime I reboot the phone. :(
[Android Apps and Games] nikwen:
Contact him via e-mail. He doesn't answer here any more. ;)
[Android Apps and Games] rakijaman:
Try ext3 or better ext4

Sent from my GT-5660
[Android Apps and Games] adrianyujs:
For stable use ext2...
[Android Apps and Games] rakijaman:
Ext4 is stable too and better than ext2

Just that journaling is little bit problem sometimes...

Sent from my GT-5660
[Android Apps and Games] mo2002:
Were you answering my question or the one after me?
[Android Apps and Games] rakijaman:
I answered on your question, just forgotten quote option :beer:

Sent from my GT-5660
[Android Apps and Games] rakijaman:
Micro partition tool is bad for partitioning

Use https://play.google.com/store/apps/details?id=com.sylkat.AParted

Free app from market and install on your internal memory. Then with that make partitions. Or you can delete that one and create desired one with that tool. Try it :)

Sent from my GT-5660
[Android Apps and Games] GRREEN:
different mount folder

Hi,

My sole purpose of having this app in my S4 is to have a file system that can support large files (movies).

I created an ext4 partition and mounted it. Everything is ok.

Now my problem is that, as Link2SD is designed for app movement, my torrent client can't access the mount folder which is /data/sdext2

Can I change the mount folder to /storage/extSdCard2?

First, I've tried locating the script that Link2SD created but I can't find init.d folder in my stock, rooted i9505.

Can anyone guide me?

Thank you.
[Android Apps and Games] egingell:
Look also at /system/etc/install-recovery.sh and /system/bin/debuggerd .

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] GRREEN:
Edit Script

Thank you, I found the script in /system/bin/debuggerd.

Now my question is, can I change the mount folder in that script?

/data/sdext2
[Android Apps and Games] egingell:
Yes, but if you want to continue using Link2SD for its designed purpose, you need to add mount -o bind /data/sdext2 after it.

Also, whatever you change it to must exist, so I would recommend using a sub-directory of your SD card.

Edit: I just realized that the SD card won't be available, but you can use the real path to the internal. Ex: /data/media/0/sdext2

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] GRREEN:
New Path

That's good news.

Can I use the /storage/sdext2?
[Android Apps and Games] egingell:
You'd have to remount / and make the folder, and I don't think the media scanner will look there. Are there not UsbDriveX directories in /storage you can use?

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] GRREEN:
UsbDriveX

Yes, there are UsbDriveX folders but I created extSdCard2. Is that a good idea? What do you think?
[Android Apps and Games] egingell:
Any extra folders you put there will be gone on the next reboot. I'm trying to steer you *away* from adding folders there.

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] GRREEN:
Unwritable

I've used the UsbDriveA and created a folder inside but torrent client and titanium backup says that the folder in unwritable. I changed permission but still no luck. Maybe I need to add something in the script?
[Android Apps and Games] egingell:
Or maybe you can't use anything in /storage. In my edit above I suggested you use /data/media/0/something (a sub directory of your internal storage). The media scanner will scan that folder and you might not need to explicitly add it to the torrent client. Try that.

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] GRREEN:
Yes, I agree. I think /storage is unwritable.

/data is not visible to TB and Torrent Client so I can't use it as well.

I'm trying different paths now.
[Android Apps and Games] DiamondJohn:
I have had an init.d script create and mount my sdext2 folder within /storage/
[Android Apps and Games] GRREEN:
I'd be thankful if you can share it.

Edit: I'm using now the script from this thread:

http://xdaforums.com/showthread.php?t=2076327

After updating the permissions, so far it's working.
[Android Apps and Games] DiamondJohn:
I was trying to get media scanner to find the images in mt ext4 partition, and that failed, so I didnt keep the script, but I did have some attempts I found on my disk. Hope it helps.

I know it wasn't my last one, as I issued an intent for the SDCARD insertion to trigger the media scanner. All the sleeps were to give time for various things to mount during my testing.

What did work (ie getting it visible to the Media scanner and hence in the gallery) from memory, was creating a mount point of /data/sdext2/ onto /sdcard/sdext2/ But I have a new ROM since then and don't know where that script is now. sorry.
[Android Apps and Games] Captain_Throwback:
Any idea how to get this working on Android 4.4? Fortunately I haven't needed it yet, but when I try to link a file, it immediately crashes when trying to open it. If I remove the link, the app once again works fine. Are there some additional permissions needed for this to work properly?
[Android Apps and Games] IaKnightHawke:
Captain... I wrote the developer and got a response that Kit Kat update being worked on. No ETA given though. This was in the last couple of days.
[Android Apps and Games] suyisaster:
My phone running slow when open apps that had been link. Sometime FC. any suggestion apps that can defragement the ext partition?
[Android Apps and Games] rakijaman:
Defragment sd card?? :D

What's your sd-ext size and which class of sd card?

Sent from my GT-5660
[Android Apps and Games] suyisaster:
2gb and class 10 sandisk ultra
[Android Apps and Games] rakijaman:
2gb is too much, 800mb is top, don't use more. I have 777mb 2nd partition ext4 sd class 10 and also is slow sometimes but after boot must be slow few minutes

Sent from my GT-5660
[Android Apps and Games] egingell:
You're kidding, right? Chrome alone is a 30mb APK, 35mb lib, and 4mb DEX. Do you really think <1gb is sufficient?

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] .Ejekt:
I can't seem to get a single app to link properly. I'm trying to use Link2SD alongside FolderMount to move larger apps from my internal memory; however, I can't seem to get past the linking phase. Every app that is linked force closes on launch.

Lexar 32g Class 10 > ~20g Fat32 primary/~10g ext4 primary/~256m linux swap

Following this guide: http://xdaforums.com/showthread.php?t=2285221
[Android Apps and Games] rakijaman:
I telling you how things going not kidding you. Chrome you can integrate into system/rom.

You using foldermount app and link2sd together??

Sent from my GT-5660
[Android Apps and Games] egingell:
You can integrate any app you want into the system. Your counterpoint us invalid. Besides, when moving apps to the system, neither the libs nor the DEX go with them.

What's wrong with that?

P.S. [MENTION=3258861]bakpinar[/MENTION]: I'm digging the new UI. It's far more intuitive and just plain better looking. :thumbup:

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] .Ejekt:
Yes. So, any insight as to what can solve this?
[Android Apps and Games] rakijaman:
Use just link2sd everything else similar with that remove

Sent from my GT-5660
[Android Apps and Games] egingell:
Oi... There are absolutely no problems when using Link2SD and FolderMount together.

Edit: Unless you can provide far more details as to why.

Does /data/sdext2 have anything in it? How big are the apps?

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] rakijaman:
I don't know man, just I know when I used everything else like link2sd with link2sd my phone was messed up. Last time messed system and got damaged sd card because of int2ext script

Sent from my GT-5660
[Android Apps and Games] egingell:
FolderMount != Link2SD. The only thing they have in common is they both move files from one location to another.

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] .Ejekt:
data/sdext2 has a dalvik, data, and lost+found folder - all of which are empty. The apps are rather large; mostly games with data ranging from 130m to +1g.
[Android Apps and Games] egingell:
Large files take time to move. Especially when moving them across file systems. And the crashing is a side effect of moving the app's vital files.

How long are you waiting before giving up on the linking?

Edit: Is there anything in /data/lost+found?

SGS2 - JB 4.1.2 GB27

SGS4 - JB 4.2.2 MF9
[Android Apps and Games] molitar:
What advantage does foldermount have with Link2SD? Are they not just about the same thing?