yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] d12unk13astard:
$ export PATH=/data/local/bin:$PATH

$ mount

rootfs on / type rootfs (ro,relatime)

tmpfs on /dev type tmpfs (rw,relatime,mode=111)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)

tmpfs on /mnt/usb type tmpfs (rw,relatime,mode=755,gid=1000)

tmpfs on /app-cache type tmpfs (rw,relatime,size=7168k)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/mmcblk0p9 on /system type ext4 (ro,noatime,nodiratime,barrier=1,data=ordered)

/dev/block/mmcblk0p7 on /cache type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered,noauto_da_alloc)

/dev/block/mmcblk0p1 on /efs type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered)

nil on /sys/kernel/debug type debugfs (rw,relatime)

/dev/block/mmcblk0p10 on /data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,journal_checksum,data=ordered,noauto_da_alloc,discard)

/dev/block/mmcblk0p4 on /mnt/.lfs type j4fs (rw,relatime)

/dev/block/vold/179:11 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)

/dev/block/vold/253:1 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/253:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)

$ cat /proc/partitions

major minor #blocks name

179 0 15387648 mmcblk0

179 1 20480 mmcblk0p1

179 2 1280 mmcblk0p2

179 3 1280 mmcblk0p3

179 4 8192 mmcblk0p4

179 5 8192 mmcblk0p5

179 6 8192 mmcblk0p6

179 7 307200 mmcblk0p7

179 8 16384 mmcblk0p8

179 9 524288 mmcblk0p9

179 10 2097152 mmcblk0p10

179 11 12066816 mmcblk0p11

179 12 319488 mmcblk0p12

253 0 31267840 cyasblkdevblk0

253 1 16562983 cyasblkdevblk0p1

253 2 14699443 cyasblkdevblk0p2

$
[Android Apps and Games] dimebagdan65:
Any chance on making a root option to allow linking of system apps?
[Android Apps and Games] bakpinar:
Hi,

To determine the external storage (SD Card) location, I'm using Environment.getExternalStorageDirectory(), I'm not using hard coded "/sdcard".

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

This should be your external card mount point.
[Android Apps and Games] bakpinar:
Yes, possible. If you mount it as "/data/sdext2" Link2SD will use it.
[Android Apps and Games] goodoane:
$ export PATH=/data/local/bin:$PATH

$su

#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

OPTIND=1

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

PS1='# '

PS2='> '

PS4='+ '

#

Here it is. Do you remember that i told you about dynamic mount on this tablet.

Is very strange for me why is so complicated.

Thank you.
[Android Apps and Games] erickwill:
This is wonderful! Thanks a lot!
[Android Apps and Games] d3cryp7:
Ok I manage to change the mounting directory in /etc/init.d/05mountsd to "/data/sdext2" but is it possible to do a automatic detection of the mounted partition path?
[Android Apps and Games] nibras_reeza:
Great work.

There is a small fault when uninstalling apps. You get the uninstalling notification and it stays on for like till you reboot.

And, there's one more feature I'd like to see.

I would like to have to option to do batch linking, uninstalling and unlinking.
[Android Apps and Games] WarCow:
This was my first attempt at modifying my X10 Mini Pro and it worked perfectly :)

Thanks a lot for this app..exactly what i needed. Went from 41 mb to 114 mb free on internal memory.

Keep up the good work
[Android Apps and Games] bakpinar:
Thanks to @all for the nice comments and ideas

I put all the requests on my Todo list.
[Android Apps and Games] mmaarrkk1313:
is it working?

i think something is wrong with my installation. it functions but i think it did not move the apps to ext2. this is what i see when i open an application in link2sd

Source: /data/app/com.killermobile.advancesms.apk -> :/data/appbak/com.killermobile.advancesms.apk

Data: /data/data/com.killermobile.advancesms
[Android Apps and Games] amolkaroo:
someone tell me how to get ext2 partition on sd card

i am using android 2.1
[Android Apps and Games] necrohades:
to make an ext2 partition on your sd, look in the web for something that can make that for you. you can try minitool partition wizard for example
[Android Apps and Games] Vuco:
@bakpinar

Thank You for this great app. Solved all my problems with low phone memory on 2.1 Eclair. :)

If you have paypal or something similar, I would be very happy to donate a few bucks for a drink or a pack of cigarettes :D
[Android Apps and Games] afpereira:
I've get this menssage "automatically create the script, restart your phone, if this message appears again thats mean the script doesn't work on your phone!!!!!" and every time I lunch the link2sd after reboot my phone this message appears.

how to solve it, i've seen this works on my phone lg gt540 but not in mine whats appen????
[Android Apps and Games] 09280622:
first thanks for your work,it makes 2.1 more better.

------------------

my phone is asus A50,seems Link2sd doesn't suppored even the lastest Ver.(131)

will you keep updating link2sd?

-----------------------------------

my English is poor,hope that you can understand what I mean :)
[Android Apps and Games] SrMoure:
This app is excellent for 2.1 users. A minor improvement to the data it currently provides when you see the list of apps could be data (currently data info data only available per app). In the list view there is only apps size and total size

I think adding data size to the list view plus the option to sort by data size in addition to total size (current option) could provide a clear view of the apps consuming phone memory because of data usage

This is only a nice to have feature because your app is great as it is now.

Sent from my Motorola StarTAC
[Android Apps and Games] strauts:
thanks for this great app!

but i dont know, where my internal memory is gone? I have allmoust all app's linked to sd, but i have only 60Mb left out of 100! I'm using lg gt540.

And is it normal that i cant install 17Mb game with 60Mb left?

I wiped dalvik chache, but i got only 3Mb. What else could i do?
[Android Apps and Games] jujukos:
hey i have a se xperia x10 and i linked all the apks on the sdcard but from 400 mbs of the phone free i have only 250 free... why this happens?
[Android Apps and Games] mmaarrkk1313:
check /data/appback it is in the internal memory. link2sd moved my apps there instead of moving it to /data/sdext2

all apps i installed were moved to /data/appback -INTERNAL

all apps that were preinstalled in my SE X8 when i link them were moved to /data/sdext2

hope you can address this issue Bakpinar. i would like to say thank you also :D
[Android Apps and Games] bakpinar:
No, Link2SD does not move files to /data/appback.

There should be a different app making it, may be a backup tool.
[Android Apps and Games] Amali Supafly:
titanium did not restore the market links perfectly. in fact all my linked apps market links are gone now. the market fix worked just fine, however i decided to try this out and its all gone.. :( now market fix could not find anything to repair, but my market links are still not shown in the market. what do i do now..?
[Android Apps and Games] Pkt_Lnt:
Oh, lordy, you really like trouble, don't you!? :eek: :D
[Android Apps and Games] dimebagdan65:
Yessir, yes I do! Is there an issue preventing it? I'm no coder so pardon my ignorance lol

I see the option to convert to user app, but if it's possible I'd prefer to just move and link em as system apps
[Android Apps and Games] Pkt_Lnt:
From the OP:

When the dev states that in the OP, I suspect there is a good reason.
[Android Apps and Games] Oops...:
Correct, can confirm that. Unlocked hboot is ok, no need for real s-off.
[Android Apps and Games] dimebagdan65:
Lol I'm not talking ALL of em, but for experienced users who are comfortable with converting user apps to system apps so they load faster on boot might find that a very handy feature indeed. Hence the root option, since ma and pa smartphone user probably won't root and won't have a chance to screw things up. Just thinkin outside the box (after reading the OP mind you, that's where I saw it could convert system to user apps)
[Android Apps and Games] Kierrok:
@d12unk13astard: edit the mount script and modify the 2 mount lines to reflect these:

mount -t ext2 -o rw /dev/block/vold/253:2 /data/sdext2

mount -t ext2 -o rw /dev/block/cyasblkdevblk0p2 /data/sdext2

Modify the type to suit your needs (vfat, ext2, ext3, ext4). Reboot and everything should be working. Maybe bakpinar can improve the external SD card detection with that information.

---------- Post added at 11:08 PM ---------- Previous post was at 11:05 PM ----------

I never had a HTC but doesn't S-ON prevent writing in the /system partition like Link2SD needs to do? Is there another way to allow those writes without S-OFF?

EDIT: OK, it seems there is a new way to unlock /system without a full S-OFF

---------- Post added at 11:14 PM ---------- Previous post was at 11:08 PM ----------

System apps usually are in its own partition (/system) so linking them don't increase internal user/data available memory which are in another partition (/data). Is your HTC different?
[Android Apps and Games] d12unk13astard:
Thanks!

Do these go in the init.rc or what script and location do I need to edit?
[Android Apps and Games] dimebagdan65:
@kierrok being S-On with an HTC device typically prevents you from flashing boot images without fastboot or some wonky workaround (now thanks to 4ext recovery that's no longer the case). And the /system apps I'm referring to are taking up space in ROM memory (aka /system), but in any OS, more free memory is better, bottom line. That's what I'd like to accomplish :D
[Android Apps and Games] Kierrok:
The mount script can be in 3 places:

/system/etc/install-recovery.sh

/system/etc/init.d/11link2sd

And I forgot the 3rd but AFAIK it's only used to bypass Samsung's new ROMs mount problems.

EDIT: Just remembered: it's /system/bin/debuggerd but be careful with this one. It can be just a binary.
[Android Apps and Games] d12unk13astard:
I looked in all 3 locations but still didn't see any mount scripts to edit my internal or external sdcard, I did find vold.fstab in system/etc which looked like where I needed to edit but I'm a noob when it comes to this and not sure.
[Android Apps and Games] Arona67:
i have problem with this app , when i Link some apps like Firefox or UCweb to SD card , they get damage and stop working and i have to install them again on memory .

and i can't link any games to SD card .

please heeeelp :(
[Android Apps and Games] Kierrok:
I just realized your phone is a Samsung and running ICS, so if it's like GB your best guess it's really debuggerd. But AFAIK Link2SD also creates the other 2 files. It's very odd you can't find them. Well, the init.d one can only be created if the directory exists...

Open debuggerd as a text file. If you also have a debuggerd.bin file then, for sure, you're in the right place.

Perhaps you should try to recreate the mount scripts within Link2SD first.
[Android Apps and Games] d12unk13astard:
Actually I'm on the gb blazer rom, I should have mentioned that, I have tried ics on my phone but reverted back. When I try to recreate mount scripts it spits out an error can't find device/block. Both of my partitions are fat32 and primary.

I didn't see the recovery.sh or the 11link2sd text file either, only found that debuggerd in /system/bin. When I was on ics, I noticed that my external sd was mounted under /emmc.

Thanks a ton for all your help with this, it has been a headache for me lol. Never had this problem back on my g2x. Just the way Samsung partitioned their phone I guess which is why link2sd cant find my ext. Sd
[Android Apps and Games] Kierrok:
Well, create the 11link2sd file then, in /system/etc/init.d/, with the following content:

#!/system/bin/sh

mount -t vfat -o rw /dev/block/vold/253:2 /data/sdext2

mount -t vfat -o rw /dev/block/cyasblkdevblk0p2 /data/sdext2

Reboot and see if it's working.
[Android Apps and Games] d12unk13astard:
Ok so I tried that and it rebooted fine but when I try to open my app drawer nothing was showing up lol. I had to hit setting button to add a homescreen shortcut of link2sd, still didnt see my external sdcard..

I just used root explorer to delete the 11link2sd file I copied to /system/etc/initd & everythings back to normal. I dunno what else to try, hopefully this can be worked out in an update of link2sd. I love my Samsung epic4g touch but not being able to use this app on it is killin me lol
[Android Apps and Games] ioo7:
Im having same problem, the apk$ just disappear, any fix? Thx

Sent from my little GizMo ``'\[©_•].,,
[Android Apps and Games] Kierrok:
A simple mount shouldn't mess your phone. I can't figure out why that happened. Maybe bakpinar can help.
[Android Apps and Games] d12unk13astard:
Hope so too, cuz I miss using this app.
[Android Apps and Games] annax:
every time i try to move app to SD, it always "segmentation fault"

i rooted my phone already

why i cant move the apps?
[Android Apps and Games] dimebagdan65:
Stupid question, but, have you partitioned your SD card...? With an SD-ext partition with ext4 file system...? Might wanna look into that first...
[Android Apps and Games] terraterm:
Awesome

This app saved my phone...constant low space warnings, even with apps on the sd card, clearing caches, moving apps, uninstalling apps, pain in the ass.

The regular app2sd, only moves a certain percentage of the files over... along comes Link2sd, and bang, low space warnings no more, and a whopping 120mb (lol) of space now.

Any app2sd apps, still think the apps are on the phone, and recommend to move them over...excellent!

:D:D:D:D:D:D
[Android Apps and Games] bakpinar:
can you post the output of the following command

cat /sys/block/cyasblkdevblk0/device/type
[Android Apps and Games] bakpinar:
can you post logcat output?
[Android Apps and Games] d12unk13astard:
edit: updated

app_60@android:/ $ export PATH=/data/local/bin:$PATH:.

app_60@android:/ $suapp_60@android:/ #cat /proc/partitions

major minor #blocks name

179 0 15388672 mmcblk0

179 1 20480 mmcblk0p1

179 2 1280 mmcblk0p2

179 3 1280 mmcblk0p3

179 4 8192 mmcblk0p4

179 5 8192 mmcblk0p5

179 6 8192 mmcblk0p6

179 7 307200 mmcblk0p7

259 0 16384 mmcblk0p8

259 1 524288 mmcblk0p9

259 2 2097152 mmcblk0p10

259 3 12066816 mmcblk0p11

259 4 319488 mmcblk0p12

179 16 512 mmcblk0boot1

179 8 512 mmcblk0boot0

253 0 15637504 cyasblkdevblk0

253 1 14795833 cyasblkdevblk0p1

253 2 835380 cyasblkdevblk0p2

app_60@android:/ # cat /sys/block/cyasblkdevblk0/device/type

/sys/block/cyasblkdevblk0/device/type: No such file or directory

1|app_60@android:/ #
[Android Apps and Games] d12unk13astard:
Bump ;)
[Android Apps and Games] Arona67:
hi guys , im using Link 2 SD , i created a Ext2 Partition on my SD card , and in Link2SD storage info , i have first and second partitions , it's still moving apps to my first Fat32 partition when i move or Create link , and when i move them they doesn't work again , just Firefox and Cut the rope (game) works after moving , and the other apps like Opera mobile, zynga poker , facebook messenger , UC browser , and ... stop working after moving .

please some one help me , i need it to work right . my phone is Xperia X10 , and i tested it on original and customs ROMs and the result was same .
[Android Apps and Games] TheLostOne:
Since linking most of the apps to the 2nd partition a lot of them which didn't start automatically and shouldn't do it now.

Any way to block the autostart?

thx
[Android Apps and Games] Jadax:
I tried to split my 2gb sd card but MiniPartition won't let me create a new partition on the part I split.

Anyone know why this is?
[Android Apps and Games] Arona67:
Yeeeeeeeaaaaaaaay , i Finally solved my problem , installed M&Ms Miui V7 ROM and then installed Link 2 SD for this ROM , and now everything going right . now when i create link for an app , it move to my Second Ext2 partition and work charm .

---------- Post added at 06:39 AM ---------- Previous post was at 06:28 AM ----------

you have to Delete Previous Partition on your Sd card and make all of your SD crad space to Unpartition , then you will be able to make 2 partitions on your SD .

try to use Memory card reader for mounting the SD to your system , if you don't have it , you should Use Xrecovery to mount your SD card , some versions of CWM has a problem in mounting and doesn't let you to make 2 partitions on your SD card .
[Android Apps and Games] Jadax:
This is the 2gb card that comes with the phone. I assumed there was no other partition because when I open the drive up there is only 1 partition - the one I've been using so far, the one that was there by default.
[Android Apps and Games] Arona67:
dude , Backup all of your Data on the Sd card , and Delete ALL the Sd card partition , even the default partition . back up first , then mount your sd to your system , open minitool partition wizard , you will see your SD card with just 1 partition , right click on it and select delete , it will delete all of your sd partition , no matter there is One or more partitions , just delete all of em . then create a Fat32 - Primary partition for your music , images and other data like this , and another Ext2 - Primary partition for using Link 2 SD . when you try to create second partition mini tool give you a warning just Ok and let it partition . click apply on mini tool , that's it , now you have 2 partitions on your sd card .
[Android Apps and Games] SEXperiaNeoV:
How can I do this? I'd like to help you fix the Segmentation Fault error. I have this error in ICS when I work on System Apps. The error is not limited to moving apps. As simple as freezing app produces this error.

I worked on Google Map, tried to have it frozen and I had Segmentation Fault but I was able to freeze it using SystemCleanUp app.

I tried to verify it on Xperia Gallery and I did have Segmentation Fault.

Thank you!
[Android Apps and Games] bakpinar:
Simpliest way is to install a logcat viewer application (I recommend "aLogcat" from the play store) .

After installing the aLogcat try to reproduce the force close case.

Then open aLogcat application, you will see the logcat records, from the menu save these to a file.
[Android Apps and Games] bakpinar:
And also can you install "Android Terminal Emulator" from the market and type "pm" command in the terminal line (after $ character)
[Android Apps and Games] bakpinar:
It is due to an issue in su (superuser) binary on ICS.

Try with the following su binary.

http://xdaforums.com/showpost.php?p=22643465&postcount=8328

Or switch to SuperSU
[Android Apps and Games] ace2000x:
samsung galaxy ace problem

hi i have samsung galaxyace 2.3.4 android my problem is i rooted my phone i installed all the apps in sd with link2sd (apps2sd doesnt work with most apps) but still saves data on phone memory is have 200 apps but instead of having 172 mb in phone memory i have 20 mb please help
[Android Apps and Games] Arona67:
which way you use for moving data to SD card in Link2SD ?? you know there is two way for doing this , 1- moving to Sd ( this will move apps like what the Android does it self and some parts of Apps will be stay on Phone memory .

2- Create link -- it's the different method and the reason for creating Link2sd app but you need to make a Second partition on your SD card ( ext2 format will be better ) and with this method all parts of your apps will be move to the second partition and it will free more space on your Phone memory .
[Android Apps and Games] Kierrok:
Not all, data stays in the internal memory.
[Android Apps and Games] kooocko:
Is there a way to somehow move the data as well?
[Android Apps and Games] dimebagdan65:
Every step you take with your phone, your data is being moved...

Sorry, couldn't help myself lol
[Android Apps and Games] 5hi7h34d:
I seem to have apps simply disappear on occasion since i have been using Link2sd for the last several months. Doesn't happen alot but it is annoying. I usually notice the icon on the homescreen defaulted and an error about the app missing when I click it.

Just happened again a few days ago with Waze. The first few times it happened a reboot fixed it but no such luck recently. Is this a known issue?

Rooted LG Optimus V with stock ROM.

THX
[Android Apps and Games] xmixahlx:
I've seen this, too. Weird thing is the app is still sitting on the second partition (?)
[Android Apps and Games] 5hi7h34d:
Actually, this makes me feel better. At least I know what might be causing it. Happens so infrequently as to not annoy me too much.
[Android Apps and Games] kooocko:
True that lol
[Android Apps and Games] Arona67:
I told you , can u tell me what app ( just for example ) doesn't move to SD card with data in create link mode ?

it happens when the lib file of your apps doesn't Link in phone boot . it is can be for damaged partition or Sd card and in other cases some custom ROMs doesn't mount your Sd partition well .

just go to Link2SD options , and click on Installation method to create Mount script again and be sure Relink lib files at boot is enable .
[Android Apps and Games] xmixahlx:
This was not the case with my situation. No issues with the SD card. A single app was missing from Android application management and Link2SD, but the apk was still on the SD card. Reinstallation was the only/easy solution.
[Android Apps and Games] Kierrok:
None! Only apk, dex and lib files are moved to the 2nd partition. Data always stays in internal memory. This is explained in the 1st post of the thread.
[Android Apps and Games] azcv:
Will the bug that link2sd can't remove files from ext2 on app uninstall be fixed in next version?
[Android Apps and Games] terraterm:
Auto Link

Hi

i've been using Link2SD, and loving it.

the only issue I'm having is that apps are not being automatically linked.

after updating the linked apps, they are moved back to the phone, and then I have to manually startup Link2SD, and manually relink the apps, reboot the phone....somewhat tiresome. Also have to reset my default apps.

Is the automatic linking not working properly, because I don't have Link2SD running all the time?
[Android Apps and Games] Crake:
HELPppppp

Please my friends, help me!

First of all i noticed that Google Play and Gmail applications have disappeared from my Android 2.3.4.

Then i understood that my sd card was somehow getting slow, so throw an application called "testdisk-6.14-WIP" i've backup all the contents of my partition used by Link2SD.

Now i got a new sd card, and have done the restore of all my applications, but the ones that were on the Link2sd partition are not there.

Can please someone tell me how can i copy them again, in order to have these applications working???
[Android Apps and Games] thx84:
I have an issue with this app. All my apps are either system apps or linked apps yet my internal storage is full (see screenshot)

What should I do?

Sent from my Xperia Neo on Ics