yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Invik:
Thanks for the fast response! :)

The outputs are as follows:

mount:

# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,noatime,nodiratime)
sysfs on /sys type sysfs (rw,noatime,nodiratime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock6 on /system type yaffs2 (ro,noatime,nodiratime)
/dev/block/mtdblock8 on /data type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mtdblock7 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
tmpfs on /dev type tmpfs (rw,noatime,nodiratime,mode=755)
devpts on /dev/pts type devpts (rw,noatime,nodiratime,mode=600)
tmpfs on /mnt/asec type tmpfs (rw,noatime,nodiratime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,noatime,nodiratime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock5 on /cdrom type yaffs2 (ro,noatime,nodiratime)
tmpfs on /tmp type tmpfs (rw,noatime,nodiratime,size=2048k)
/dev/block/mtdblock0 on /pds type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mtdblock7 on /data/logger type yaffs2 (rw,nosuid,nodev,noatime,nodira
time)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=
ordered)
/dev/block/mmcblk0p2 on /data/app type ext4 (rw,noatime,nodiratime,barrier=1,dat
a=ordered)
/dev/block/mmcblk0p2 on /data/app-private type ext4 (rw,noatime,nodiratime,barri
er=1,data=ordered)
/dev/block/mmcblk0p2 on /cache/download type ext4 (rw,noatime,nodiratime,barrier
=1,data=ordered)
/dev/block/mtdblock7 on /cache/recovery type yaffs2 (rw,nosuid,nodev,noatime,nod
iratime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
#

cat /proc/partitions:

# cat /proc/partitions
cat /proc/partitions
major minor #blocks name alias

31 0 1536 mtdblock0
31 1 384 mtdblock1
31 2 384 mtdblock2
31 3 3584 mtdblock3
31 4 4608 mtdblock4
31 5 8960 mtdblock5
31 6 179840 mtdblock6
31 7 108544 mtdblock7
31 8 201856 mtdblock8
31 9 1536 mtdblock9
31 10 2048 mtdblock10
179 0 7761920 mmcblk0
179 1 6723171 mmcblk0p1
179 2 1036192 mmcblk0p2
#

Note that both commands do list "mmcblk0p2" as mounted, and that the EXT4 is recognized by the custom rom! Also, didn't forgot to issue "su" this time LOL
[Android Apps and Games] vleutmans:
maybe a stupid idea, but could it be that your "custom" rom tries to take over control your link2sd/ext4 partition for app2sd functionality ?

Are there app2sd specific startup scripts in /etc/init.d ?

Br.

Michel
[Android Apps and Games] Kierrok:
vleutmans got it right. You have to disable app2sd.
[Android Apps and Games] Invik:
Thank you Kierrok and vleutmans!!! The problem has been already solved :)

As you have said, that damned ROM had the old Apps2Ext embedded on the main system and had to delete 2 scripts from init.d to make Links2SD to work... I've done exactly that and everything started to work smoothly again!

But I changed my mind and flashed the original CM7 for Milestone that can be found on the Milestone thread and also had to delete the Apps2EXT scripts from init.d (Seems like latest Roms have that pesky thing embedded since cooking, something to take look out before installing Links2SD) and now I can use my cellphone again :D

One bug that I noticed (Atention Dev and future users): The latest releases (from 1.9.0 to 1.9.8) still won't find the second partition (even after deleting Apps2Ext's scripts completely), had to use 1.8.0 to actually make everything work as breeze... Please fix this ASAP!

Thank you all for the support and hope that the bug gets fixed! ;)
[Android Apps and Games] arczangel:
suddenly i cant link all the apps that i am installing! data sdext2 is read only file system! please somebody help!

i cannot create link anymore, failure it says
[Android Apps and Games] manan001:
ifeel script should be optimized in order to get the ext4 partition working properly with 2.3.4 and later versions roms
[Android Apps and Games] bsoplinger:
What makes you think optimization or lack thereof with this or any other app for that matter would have any effect on whether or not a ROM supports ext4?
[Android Apps and Games] Kierrok:
Reboot into recovery, connect your phone to your computer, run adb shell and then run the following command:

e2fsck -y /dev/block/mmcblk0p2

That's for ext partitions. If yours is fat try (never used it before):

fsck -t vfat /dev/block/mmcblk0p2
[Android Apps and Games] bakpinar:
I've fixed this and will release soon, thanks.
[Android Apps and Games] bakpinar:
UPDATE:

1.9.9

- fixed bug in recognizing the second partition on some devices

- updated some translations
[Android Apps and Games] Invik:
Thanks for the update!

I still have to update 1.8.0 though the market but didn't had the time to do it yet.. :\

I've one question, regarding the conflicting scripts: Can you make Link2SD to detect old "App2Ext" or "App2SD" scripts on first run and deleting them from the app, at least with a message that warns the user about their existence and giving out options to delete or keep the scripts??

I think that a function like that would solve almost 60% of the fail cases, as there are some devs that doesn't document at all about the existence of Apps2Ext inside their custom ROMS! (Like what just happened to me with iceandfire's rom, and what's happening with some CM7 ports out there) :O
[Android Apps and Games] gbgadgets:
On N1, using link2sd for first time, I am getting the following error after selecting an app and then clicking on the 'create link' button:

Failure

mkdir: can't create directory '/data/sdext2/dalvik-cache': Read-only file system

If device is rooted, link2sd mount script executed successfully, and link2sd has been granted super user permissions, then what needs changed to address this error?
[Android Apps and Games] SmallWalrus:
Just curious, care to share how Link2SD created the boot time init scripts? Been trying to figure out how to get DroidWall to stop "leaks" of data traffic before it is relaunched after each reboot.

Thanks :)
[Android Apps and Games] denzel09:
What you want that i upload buddy? What file?

Inviato dal mio GT-S5570 usando Tapatalk
[Android Apps and Games] arczangel:
can i run this on terminal emulator on my phone? thanks!
[Android Apps and Games] Kierrok:
You can try. My ROM doesn't have e2fsck, that's why I said to use the recovery. Maybe yours have.
[Android Apps and Games] n756gkj:
link2sd fails @ reboot - QuickReboot req'd? also, wrong Total GB displayed

hi,

on my Epic4G i've installed:

Marcusant Revival v1 ROM

Samurai 3.0.1 Kernel

link2sd v1.9.9

my sdcard is partitioned as:

29.5 GB fat32

1.5 GB ext4

* swap

i've auto-linked my user apps to link2sd, populating via a restore from TitaniumBackup.

two issues:

(1) the apps are visible/apparent. until I reboot. then, all of them are missing, and show up as generic icons on my (LauncherPro) homescreens.

a link2sd QuickReboot (which is NOT very quick ... takes ~ 5minutes to complete), restores those icons/apps. until the next full reboot, again.

(2) @SystemPanel.app, the Storage info pane shows my ext4 partition as:

Path /data/sdext2

Access Read Only

Capacity 1511.8M

Available 1068.9M

Block Sz 4096 bytes

File System Type ext4

Device /dev/block/vold/179:2

Attributes rw,relatime,barrier=1,data=ordered

but @link2SD Storage Info pane,

SD Card 2nd Part. (100% Free)

Total: 1.00GB Used: 366MB Free: 1.00GB

it incorrectly shows only Total: 1GB, and claims 100% Free even though 366 MB is, apparently, used

bugs? or a config/install problem on my end?
[Android Apps and Games] pathuri97:
Widgets disappear on reboot

Widgets created disappear on reboot.

Any fix for this?
[Android Apps and Games] arczangel:
Do not create link widgetable apps! It will break the app
[Android Apps and Games] shawner47:
First of all, thank you for Link2SD! This is a lifesaver for a D1!

With that said, is there any way to set up a widget for the quick reboot function in Link2SD?

Most times when I reboot the phone for whatever reason, I have to go into Link2Sd and do a quick reboot because it doesn't mount my ext partition in time. A widget would be a much faster way to do that.

I have looked at other quick boot options, but none seem to work as well as the built in reboot.

Barring that, is there a script I can set up say in script manager to reboot the Android UI? I have tried searching for that also (my google-fu seems to be lacking) and haven't come up with anything promising.
[Android Apps and Games] azcv:
Dear Bakpinar,

Will app data linking will be available soon?

I linked manualy some app data and i found that in this case there will be no need of lib files relinking at boot on android 2.3+.

When only the lib files are linked the system recreates them and then link2sd moves them back to sd card.If the size of all linked lib files is bigger than the entire phone memory the system will not be able to recreate them all and there be some problems with booting and need for preinstalling of some of the apps.This will happen also when the lib folder is linked with all the lib files.This happens because during recreating of the libs the system axtracts the lib folder from the apk,not the lib files themselves.

When the entire app data folder(e.g. com.skype.raider)is linked the system extracts the lib folder directly into sdext2 partition(or maybe it dont't extracts them at all).The result is faster boot,because the lib relinking is not needed anymore.
[Android Apps and Games] Kierrok:
Huh? How you did that? I've tried it a few months ago and every link in /data/data/ was deleted and the app dir recreated at every boot.
[Android Apps and Games] yuden:
Hello, thank you for your great app.

I have a Samsung Galaxy Ace with 2.3.3. and Link2sd worked fine with the quick reboot trick with my second ext2 formatted partition.

I have tried to keep restart at a minimum due to the fact that the reboot procedure takes a little too long.

Nevermind that, last night I've shutdown the phone, have started it this morning and as usual the mount warning appeared. I tried the quick reboot option but the problem was that i have stuck in a bootloop.

After removing the battery the phone started Ok but trying to do a quick reboot had the same results. All that with link2sd 1.9.9.

The recreation of the mounting scripts, also didn't have any affect.

I have in the meantime, upgraded my phone to 2.3.5 through KIES (not loosing my data) but the problem was still there.

After googling alot and searching for a solution, as a last resort i 've backed up the files in ext2 partion, changed the partition type to fat32 and copied the files back.

Link2SD after recreating the mounting scripts finally restarted normally!

Do you know why this happened in the first place?

Has anyone had the same problem?

Thank you.
[Android Apps and Games] pathuri97:
I do have all WIDGET APPs in INTERNAL memory.

But still I get the message "problem loading widgets" after reboot.
[Android Apps and Games] azcv:
I did this with the last version of root explorer or manual with ln -s command in the emulator.both are working.tested on my optimus one p500 and on globul move(branded chinese alcatel ot-908).everything is working fine.but i am only use this way of linlking for heavy data usage apps like daroon player,skype,copilot etc.,because i have aproxemately 200+ apps installed and i have not enough time for link them all.
[Android Apps and Games] nscxp2005:
Hi to all,

Does anybody know how to get the system to stop saying Insufficient Space when trying to download or update apps from the market?

I have a UK Xperia Play on Stock 2.3.4 with DoomKernel v8. I have partitioned my SD card to have 1GB ext2 partition for Link2SD. I have 240MB free internal but, the system still says I have Insufficient Space.

Please can somebody help me with my issues.

Thank you for your time.

All the best,

NSCXP2005
[Android Apps and Games] decmk:
Thanks for the tip

I just linked only database folder to sdext2 partition and everything is working even after doing cold start

Linking ex. com.facebook.katana where inside is cache, database, files, lib do not work and app is fc, but linking only database folder works.

Successfuly linked database folder of there's apps

G+

Facebook

Soundhound

Google docs

Opera mini

Appbrain

Engadget

Eurosport

Vevo

Ubermusic

Officesuite

Swipepad

Skype do not work, and still using 4.5 mb in files folder.

With linking i got 30 mb more space on internal memory.

Now i have 65mb free with 140 apps installed.

I used Root Explorer.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] azcv:
I have linked successfuly the whole app folders of these appson my optimus one:

copilot>com.alk.copilot

daroon player>com.daroonsoft.player

facebook>com.facebook.katana

skype>com.skype.raider

spb tv>com.spb.tv.am

and some more apps on move phone(alcatel ot-908).

Note that you have to first unlink lib files of apps you want to move manualy.Otherwise you will end with not working libs.And do not put the folders in the /data/sdext2/data because this folder is used by link2sd to store linked lib files.Create new folder e.g. /data/sdext2/data2.
[Android Apps and Games] decmk:
Skype do not work. Say's reinstall skype after restart. BDW i'm using leatest version 2.6.0.75 from market

I put in /data/sdext2/data. I will relink them in other folder, but no problem with link2sd so far.

I never link lib files.

Thanks for cautious.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] Kierrok:
I own the same phone and I just tried to link the whole app dir just to prove to you, with a log, that it doesn't work and... it worked! :eek:

Really, I did tried it a few months ago and it didn't work. I even messaged bakpinar with my findings because I tried everything.

I did found a way, and I'm using it since then, but it uses bind mounts.
[Android Apps and Games] decmk:
I just try some tests and results is that the you can link whole folder on apps without lib files and app work after restart ex. Eurosport,tapatalk, overlook, but with lib files got fc ex. Winamp, tunein radio, imdb, opera mini.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] azcv:
It is not good to link the whole data folder in case if something bad happens with your sd card.

For now I am using my way but i am waiting for Bakpinar to add this functionality.

I even send mail to titanium backup team,because TB supports this,but it only recognizes second partition with app2sd mount points.It can not see /data/sdext2.Maybe if i create another mount point e.g. /data/sd-ext it will work,but it can not move app data automaticaly like link2sd does with apk dex and lib files.
[Android Apps and Games] Kierrok:
I just tried a small app with a lib and it also worked! :confused:

Try this way:

$ su
# cd /data/data
# cp -a app.dir /data/sdext2/data/
# rm -r app.dir
# ln -s /data/sdext2/data/app.dir app.dir
# reboot
[Android Apps and Games] decmk:
Using terminal emulator third command say's cp not found?

What's wrong?

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] Kierrok:
If you don't have busybox, install it. If you already have, update it. I use this installer.
[Android Apps and Games] decmk:
Don't work lib file is disappear from lib folder, previously not linked l tryed on os monitor small app about 300k

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] Kierrok:
Works here. After rebooting:

$ su
# cd /data/data
# ls -l | grep com.eolwral.osmonitor
lrwxrwxrwx root root 2011-12-14 20:05 com.eolwral.osmonitor -> /data/sdext2/data/com.eolwral.osmonitor
# cd com.eolwral.osmonitor
# pwd
/data/sdext2/data/com.eolwral.osmonitor
# cd lib
# ls -l
-rwxr-xr-x system system 46172 2011-09-04 06:45 libosmonitor.so

And the app works too! :p
[Android Apps and Games] decmk:
Probably depends on rom.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] bakpinar:
Kierrok, can you try to reinstall the app?
[Android Apps and Games] Kierrok:
Yep, but that means a lot of work for bakpinar to make this work in all devices and ROMs.

Did you used the cp -a? It might be important, it maintains all the attributes when copying.

Sure:

# cd /data/data
# ls -l | grep com.eolwral.osmonitor
lrwxrwxrwx root root 2011-12-14 20:05 com.eolwral.osmonitor -> /data/sdext2/data/com.eolwral.osmonitor
# cd com.eolwral.osmonitor
# pwd
/data/sdext2/data/com.eolwral.osmonitor
# ls -l
drwxr-xr-x system system 2011-12-14 21:10 lib
# cd lib
# ls -l
lrwxrwxrwx root root 2011-12-14 21:10 libosmonitor.so -> /data/sdext2/data/com.eolwral.osmonitor/lib/libosmonitor.so

What a mess... And before you ask: no it wasn't linked before... :(
[Android Apps and Games] decmk:
@kierrok

Yes, I use cp -a.

Also when linking lib files with link2sd, lib files need to be relinked after reboot, maybe this is the problem when linking folder in /data/data.

@bakpinar

Option to link database folder is good for me.

Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
[Android Apps and Games] Kierrok:
I think an option to link system dex files is much easier to implement and save a lot of space. In my case 36MB!
[Android Apps and Games] nscxp2005:
Could somebody be able to help me with the issues u have been having that I post 1 or 2 pages back.

Thanks
[Android Apps and Games] n756gkj:
restore apps from backup to original locations, NOT all to sdcard?

if i set AutoLink in Link2SD app, then restore from a TitatniumBackup all restored user apps/(&/or libs/dalivk, depending on settings) are linked to /data/sdext2. that's expected, and fine if i want all my apps to end up 'moved' to sdcard.

if, otoh, I set up some apps to stay on internal storage, how do I 'tell' the TitaniumBackup + Link2SD combination to move ONLY the apps previously mv'd to the sdcard back to it ... and to restore the rest to internal storage.

i.e., how do i preserve app's storage locations across a restore?

i can of course do it manually ... mv'ing each app back to internal storage, after the resotre process + AutoLink has mv'd it to sdcard. not ideal tho ...
[Android Apps and Games] ChungHung.Chen:
Dear nscxp2005,

Space used for download before install is in /cache, not /data。

Please check if your free space in /cache is enough or not.

Perhaps your rom/kernel modified settings to put dalvik-cache ( AKA dex files ) into /cache instead of /data.

Or use "Cache Cleaner NG" to clean /cache for more space.

Chung-Hung

---------- Post added at 09:40 AM ---------- Previous post was at 09:39 AM ----------

Dear Bakpinar,

I've encountered an problem when ROM using "Dalvik2Cache" with Link2SD.

There is a option in /system/build.prop to tell system ( in my case 2.3.7 CM7 ) put dalvik-cache directory into /cache, not /data.

Can Link2SD handle this or needed to add some check?

Chung-Hung
[Android Apps and Games] azcv:
If app data folder is linked you can reinstal and update the app as usual,because during reinstall(update) only lib folder is recreated like on boot.The other app data(databases files)is preserved.

But if you uninstall this app the symlink is not removed by the system,but it can not be seen by root explorer.If you install again this app it uses the symlinked folder and the symlink become visible.

if you delete symlinked folder of uninstalled app and the symlink remains it will not be possible to install this app again untill you recreate again the simlinked folder on the ext partition.

So the big problem is not reinstalling or updating the apps.The big deal is link2sd to remove both symlink and folder on the sdext on uninstall event.
[Android Apps and Games] Kierrok:
Bakpinar, just noticed that the Install location setting doesn't work, at least in my device. I want all the apps install in internal memory but some of them install at SD card (native). Looks like it's stuck in automatic.
[Android Apps and Games] azcv:
This problem is not link2sd related.When you try to set install llocation with other app it will do the same as link2sd and the result will be the same.Unfortunately maybe it is android related bug.For example Fast Image Viewer always installs on sd on each update.
[Android Apps and Games] Classpro:
I really like link2sd on my phone, and I would like to use it on my android tablet. However, my tablet's SD card is internal memory, and my external SD card is called "extern_sd." Is there a way to have the links stored on this external sd card (I could easily create with two partitions on the external card) as opposed to defaulting to the internal "sd" card (which I cannot partition)?
[Android Apps and Games] hykhleif:
i am so confused lets say i have an app what is correct way to clear internal memory, shall i just press create link and link it to sd and then after that shall I move the app to sd, or is creating pressing create a link enough

what is the correct way

i ended up restoring to factory resting as I messed around so much that my phone just got so messed up from all the moving and creating links

please just tell me what is the ideal way to do that correctly
[Android Apps and Games] Classpro:
hykhleif: you just hit "create link" and it copies the data to your SD partition and creates the link in the system. It sounds like you're first linking, and them trying to move it to the regular apps2sd location. You just want to create link, and then you're done.
[Android Apps and Games] hykhleif:
i have reset my phone to factory setting and successfully installed link2sd and I have set link2sd to automatic choosing the 3 options so from now on

so lets say i downloaded an from the market so then i don't have to do anything as it will automatically link the the apps,

should i link dalvik cache or is that something not necessary
[Android Apps and Games] Midomad:
hi

i have upgrade my phone to gingerbread 2.3.4, and then root my phone, and installed link2SD new version, everything work fine, but when i reboot my phone always come the message “mount warning”. so i have to quick reboot my phone so every app can work, please give me the solution, thank you.
[Android Apps and Games] Kierrok:
Is your phone a Samsung? If it is, the only solution is installing a custom ROM with install-recovery.sh or/and init.d support. The GB official ones doesn't have it and it's needed to Link2SD proper functioning.
[Android Apps and Games] n756gkj:
i have a Samsung Epic4g.

i've installed

Marcusant v1 ROM

Samurai 3.3.0 kernel

Link2SD

LauncherPro

after each/every 'full' reboot, in order for Link2SD to recognize all linked apps, and display their icons non-generically on my screen, a 'fast' reboot is still required.

Either 'quick Reboot' from within Link2SD's menu, or my own boot/root script that execs 'killall -TERM system_server' after a full reboot and media scanning are complete, both seem to do the trick.

but, afaict, still a required step.
[Android Apps and Games] Kierrok:
Ask the ROM modder to enable init.d support. It takes like 30 seconds to do it in a kitchen. With that, AFAIK, you will not need to quick reboot any more.