yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Almighty1:
danceswithbongs:

I guess when it comes to the donate button, there will always be some "freeloaders" or "leechers" out there who are against giving back and just being selfish.

I think other roms do store the system dalvik in the /cache directory but on the Motorola Droid 1, it seems to store everything in /data/dalvik-cache. You can fully alter permissions, you just can't change the owner and group ownership of the file with root exploer, you have to do it with chown in the shell manually with the terminal program but it doesn't seem like Android cares about the owner.group like Unix normally does. What I meant was that you can basically give all files a 777 permission and it will still work as long as it meets the minimal spec and has the execution permissions. So it's just a feature that root explorer is missing, nothing big. My superuser works fine because the ROM was already released rooted with the Superuser and I had never lost the su or anything like that. As far as everything being smooth, unless someone starts typing in all CAPS then you should worry. ;)

I always read the change log because if one doesn't perform the due diligence beforehand and then start complaining about something, they will end up shooting themselves in the foot for not taking the time to do their homework.

Didn't get to watch South Park yet, wonder is it online somewhere. It's no different than Facebook where it says any data, picture you upload grants them the non-exclusive rights to use royalty free or even transfer those rights to someone else unless you deny it.
[Android Apps and Games] Almighty1:
Can't unlink because link2sd when I click on the app said something about system apps should not be linked and all the buttons are all greyed out.
[Android Apps and Games] Kierrok:
My linked updated system apps can be unlinked. You might have a copy of the linked apps still in /system/app because /system is ro.
[Android Apps and Games] danceswithbongs:
Almighty

Are you rooted but running stock ROM on the OG?

I have an OG as well but flashed a custom upon rooting it. So I've only seen where developers place the dalvik.

I know what you mean about having to manually do the ch commands and the 777.

You should checkout the free app "under the hood" simple and rudimentary but runs a load of commands requesting different data all at once. And in a decent layout lets you view a good amount of info you always need to access but usually are stuck entering each line yourself.

walkin the walk while tappin the talk

danceswithbongs
[Android Apps and Games] mohsin2cool:
library files still get unlinked even after linking..

dont know..wt is eating up the space..:confused:
[Android Apps and Games] Almighty1:
Maybe it might just be certain system apps that act this way, when Link2SD automatically ran for Twitter, the notification in the system notification actually said fail even though it created the /data/app link to /data/sd2ext and the file is in /data/sd2ext, titanium backup and the app drawer doesn't even see the app as it's only listed in link2sd but the point is moot now since I turned off the Automatic linking of new apps in link2SD as I like to manually link things anyways.

So actually in a way, the feature does work correctly as anything you update does go to /data/app except maybe there should be a feature to allow exclusions or something. It was just weird that when the file is manually moved from /data/sd2ext for the .apk to /system/app, link2sd would attempt to link and move it back to /data/sd2ext which at that point, /system is actually rw because I have to turn on rw to move the file to /system/app with root explorer.
[Android Apps and Games] Almighty1:
I'm not exactly running stock ROM as in really stock since I normally run the stock ROMs released by p3Droid or TBH (Team Blackhat) so the only thing changed is the kernel and it already comes rooted with busybox, su and toolbox. Customs might be different since I never attempted a custom yet although I might soon with one of the Gingerbread builds except gingerbread is known to break link2sd from linking libraries due to the package manager as noted earlier in this thread. I'll check out "under the hood" soon, know of any good apps to manage and disable startup services? My phone works fine after link2sd and the 300+ apps except the dialer is slow as heck, you can click call someone and it will take 30 seconds before the phone will even respond with the next prompt of using the dialer or Skype, then when I click dialer, it will then take another 30 seconds and prompt with call with GoogleVoice or call without GoogleVoice, after I select that, another 10 seconds go by before it really dials.
[Android Apps and Games] Almighty1:
What version of the Android OS is your device using? If it is Gingerbread 2.3, then it's a known issue - see post #1059.
[Android Apps and Games] micun:
root permissions

Hello. I need help. I did all by your instruction but now I have problem. I dont know how to allow root permission? it says:

Root Access Warning

Link2SD could not gain root access.

If you have root access make sure you respond 'allow' to Superuser prompt.

I have xperia x8 on android 2.1 eclair
[Android Apps and Games] MongooseHelix:
Follow the steps for "Rooting" in this post and you should be good to go assuming you have an SD card with at least two partitions(both primary). The second partition can be ext2/ext3/ext4 if your kernel supports it, otherwise it should be fat32 like the first.
[Android Apps and Games] 2ma:
hey,

i use this with my galaxy ace on froyo with no problem,now upgraded to gingerbread,i launch it,it select the partition,i reboot,then launch it again,and i have to select the partition again...so it cant make the link. any suggestions? a tried ext2,ext3,fat,fat32 none of the worked. 8gb sd-card,and i would use about 1 gb for link2sd

edit: so it says: the partition cannot be mounted automatically
[Android Apps and Games] adanedhel728:
Would anybody be gracious enough to upload version 1.5.5? My crummy phone doesn't seem to like the update to 1.6.0. (At least I think; I'm still troubleshooting the problem.) I'm having problems with files being deleted from my SD card since the most recent update.
[Android Apps and Games] AfroLoots:
I had a similar issue due to my neglecting to wipe cache partition & dalvik cache before upgrading my rom. I figured I could get away with only format, but after re-linking all my apps and rebooting, most of my apps went missing. :-(

After wiping everything, all is well.

Sent from my X10a running EW Jet ArcEx V009.3ex
[Android Apps and Games] bakpinar:
Seems that mount script (/system/etc/install-recovery.sh or init.d script) does not run on boot time.

Can you post your "/init.rc" file?
[Android Apps and Games] masdacheri:
same problem this scrip for init.rc

on early-init

start ueventd

on init

sysclktz 0

loglevel 3

# setup the global environment

export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

export LD_LIBRARY_PATH /vendor/lib:/system/lib

export ANDROID_BOOTLOGO 1

export ANDROID_ROOT /system

export ANDROID_ASSETS /system/app

export ANDROID_DATA /data

export EXTERNAL_STORAGE /mnt/sdcard

export ASEC_MOUNTPOINT /mnt/asec

export LOOP_MOUNTPOINT /mnt/obb

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar

# insmod fsr/rfs modules

insmod /lib/modules/fsr.ko

insmod /lib/modules/fsr_stl.ko

insmod /lib/modules/rfs_glue.ko

insmod /lib/modules/rfs_fat.ko

insmod /lib/modules/sec_param.ko

# Backward compatibility

symlink /system/etc /etc

symlink /sys/kernel/debug /d

# Right now vendor lives on the same filesystem as system,

# but someday that may change.

symlink /system/vendor /vendor

# create mountpoints

mkdir /mnt 0775 root system

mkdir /mnt/sdcard 0000 system system

# Create cgroup mount point for cpu accounting

mkdir /acct

mount cgroup none /acct cpuacct

mkdir /acct/uid

# Backwards Compat - XXX: Going away in G*

symlink /mnt/sdcard /sdcard

mkdir /system

mkdir /data 0771 system system

mkdir /persist 0771 system system

mkdir /cache 0770 system cache

mkdir /config 0500 root root

# Directory for putting things only root should see.

mkdir /mnt/secure 0700 root root

# Directory for staging bindmounts

mkdir /mnt/secure/staging 0700 root root

# Directory-target for where the secure container

# imagefile directory will be bind-mounted

mkdir /mnt/secure/asec 0700 root root

# Secure container public mount points.

mkdir /mnt/asec 0700 root system

mount tmpfs tm
[Android Apps and Games] 2ma:
of course!

here you go!
[Android Apps and Games] adanedhel728:
I actually haven't changed my rom (I understand that's difficult with Motorola; I'm using the Flipside). And I actually already tried wiping the device and clearing the cache, but I'm still getting the same problem. And also, it's not programs that are disappearing; it's files, like anything I create in Documents To Go, everytime I connect USB for memory card access.
[Android Apps and Games] bakpinar:
install-recovery.sh is commented out in the init.rc, therefore doesn't run.

#service flash_recovery /system/etc/install-recovery.sh
# oneshot
[Android Apps and Games] rikkimaroe:
i'm using galaxy ace too..

in terminal emulator i wrote

su
#service flash_recovery /system/etc/install-recovery.sh

enter, then

service: Unknown command flash-recovery

what should i do?
[Android Apps and Games] lichan:
Missing Apps After Reboot

I installed the latest 1.6 Link2SD and moved a lot of apps to the second sd partition and everything seemed to go well. I was making a backup with Titanium Backup Pro and the phone (LG Optimus S) went black and locked up. I had to do a battery pull and reboot into recovery and then rebooted the phone. When it came up all the apps that I had linked are missing from the app drawer and Link2Sd doesn't show them as being linked but the storage usage shows the same amount of used space on the second sd partition. How can I reconnect the apps on the second partition to Link2SD? The shortcuts on the launcher screens just have the generic Android icon and the apps are not listed in the app drawer, only what I left in the phone's memory.
[Android Apps and Games] masdacheri:
up..up.. please :)
[Android Apps and Games] pico.marco:
Same situation (Galaxy Ace 2.3.3 KPB, rooted), I have the same problem.

Furthermore, after selecting the partition (whenever), the system will reboot automatically.

Any advice for me?

(Sorry, I used Google translator in english)
[Android Apps and Games] mastrone:
Ouch, sorry guys, I've just realized that somebody posted the problem a few minutes before me :)

____________________________________________________________________________________

Hi guys,

I own a Samsung Galaxy ACE and I've just upgraded it to Gingerbread.

With the previous Froyo versions Link2SD worked like a charm, now something is going wrong. It looks like the app is no longer able to load the automount script. The app seems to do something and then the phone reboots automatically. After that, launching again the app it askes me again to load the script. And so on, the dog bites the tail.

The partition is ext2. I also re-formatted the partition after an unsuccessful attempt but still no luck. Then I tried with FAT32, nothing to do.

What makes me puzzled is that I cannot even see folders other than lost+found on the SD card (in root mode).

Is there any way to sort it out? Maybe placing the script manually?

Thanks in advance, this app really rocks!
[Android Apps and Games] daron19:
same here on galaxy ace 2.3.3 kpb firmware tried fat fat32 ext2 ext3 none of them worked
[Android Apps and Games] mastrone:
ext3 shouldn't be supported, AFAIK. Only ext2 works on SGA.

Hope I didn't post a nonesense :)
[Android Apps and Games] 2ma:
what i found,is to edit it I have to repack the boot.img,is that correct?because if so, i think this can't be done yet on the galaxy ace. thank you for your help!
[Android Apps and Games] bakpinar:
I looked the init.rc file and could not find any other shell script running at boot time.

But we can try this;

- move /system/bin/memsicd as memsicd.bin (memsicd is called in init.rc)

- make a script named memsicd and in this script first call mount script then call original script.

To implement this;

copy attached memsicd.txt file to /sdcard then execute followings;

su

mount -o remount,rw /dev/block/mtdblock4 /system

mv /system/bin/memsicd /system/bin/memsicd.bin

cat /sdcard/memsicd.txt > /system/bin/memsicd

chown root.shell /system/bin/memsicd

chmod 755 /system/bin/memsicd

mount -o remount,ro /dev/block/mtdblock4 /system

System mount device (/dev/block/mtdblock4) can be different on your phone, please check it with mount command and change the device on the 2nd and 7nd line if it is different.

Then reboot your phone. 2nd partititon should be mounted after rebooting.
[Android Apps and Games] 2ma:
well,as far as i can tell it gets mounted now automatically,but still,if i launch link2sd, i have to choose the filesystem,so it doesn't work.

just to notice: this might is a bug with the current root on ace gingerbread,because after selecting the filesystem option,the messege shows up that i should reboot,but it reboot's from itself. it hasn't done that with froyo.
[Android Apps and Games] 2ma:
it's that part: /dev/stl12 /system
[Android Apps and Games] bakpinar:
mount -o remount,rw /dev/stl12 /system
[Android Apps and Games] bakpinar:
Can you check the mount output to see if "/data/sdext2" is exists after reboot?
[Android Apps and Games] pico.marco:
Yes, it exists, but I think it is not mounted:

/data/sdext2

# df .

df .

Filesystem Size Used Free Blksize

. 180M 57M 123M 4096

After following the procedure, I still have to chose the filesystem in Link2sd, and immediatly it reboot.

Ok, I don't know exactly what I did and if it helps: I launched manually install-recovery.sh and Link2sd don't ask me for the partition, it starts and it seems to work (until the next reboot!)

/system/etc

# ./install-recovery.sh

./install-recovery.sh

mount: Device or resource busy

#

# cd /data/sdext2

cd /data/sdext2

# df .

df .

Filesystem Size Used Free Blksize

. 1G 16K 1G 16384
[Android Apps and Games] cuks:
i used gparted live cd to copy/clone sd card.

you should plug in both of cards (old and new one) into your pc, boot from gparted live cd and then just copy/clone partitions from one to another card.

EDIT: or you can do it on your pc directly if you have installed any linux os with gparted app.
[Android Apps and Games] bakpinar:
Thanks.

Which version of Link2SD are you using?
[Android Apps and Games] anotherloony:
Same problem with 1.0.6 and 1.0.7
[Android Apps and Games] bakpinar:
Can you provide outputs of the following commands?

ls -l /dev/block/vold

mount
[Android Apps and Games] SrMoure:
Hi,

Here is the log you requested. The device is ZTE v9 (optus version).

Thanks heaps !!
[Android Apps and Games] SrMoure:
Hope this helps:

$ ls -l /dev/block/vold

ls -l /dev/block/vold

brw-rw---- root root 179, 2 2011-01-26 18:29 179:2

brw-rw---- root root 179, 1 2011-01-26 18:29 179:1

brw-rw---- root root 179, 0 2011-01-26 18:29 179:0

$ mount

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

/dev/block/mtdblock5 /system yaffs2 rw 0 0

/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev 0 0

/dev/block/mtdblock8 /persist yaffs2 rw,nosuid,nodev 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0

/dev/block//vold/179:2 /data/sdext2 ext2 rw,errors=continue 0 0

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=

1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,s

hortname=mixed,utf8 0 0

$

:eek:

Thanks,

SrMoure
[Android Apps and Games] bakpinar:
Thank you, I'll fix in next release.
[Android Apps and Games] bakpinar:
You said you mounted ext2 with this command

mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2

But it is mounted as

/dev/block//vold/179:2 /data/sdext2 ext2 rw,errors=continue 0 0

This is the way Link2SD mounts ext2 and seems ok.

Do you still get "ext2 not found" message when you open Link2SD?
[Android Apps and Games] SrMoure:
Before the FC message I can see in the back the message "ext2 mount found"
[Android Apps and Games] subham964:
Hey can u suggest me a way to directly install apps to sdcard without first installing it to internal memory and den moving it to the ext2 partition.
[Android Apps and Games] SrMoure:
Android 2.2 :D
[Android Apps and Games] kousik:
Sorry for cross-posting. As my learning attempt, I quickly tried to do by hand what the app is doing. Unfortunately it didn't work for me. Here are the steps I followed, I wonder if anyone can identify where things went wrong.

1. Fresh installed Angry Birds

2. Mounted the ext2 partition of the SD card to /data/sdext2

3. Copied /data/app/com.rovio.angrybirds.apk to /data/sdext2

4. removed original, and created a symbolic link com.rovio.angrybirds.apk -> /data/sdext2/com.rovio.angrybirds.apk

5. This removed Angry birds from my app list, but I thought that's Ok as long as there's adb

6. In adb shell, tried to execute "am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.rovio.angrybirds/com.rovio.ka3d.App -f 0x10200000"

7. No joy :-( it fails with Error: Activity class {com.rovio.angrybirds/com.rovio.ka3d.App} does not exist. If the file was physically present instead of symbolic link, this launches Angry birds

Trying to guess where did I go wrong. I am kind of sure that reboot is not required, because without rebooting I can copy the apk back and forth and launch the application. Anyway I don't have boot script modified that could mount the ext2 on boot (though I did by hand later). Wondering if that matters ...
[Android Apps and Games] bakpinar:
Reboot required on 1.6 and 2.1, as stated in the first post.
[Android Apps and Games] kousik:
Thanks, will try the same. To get the benefit of reboot we have to mount the ext2 of SD card during the boot, which I'll take care of. I have seen another error like:

W/asset ( 8283): Asset path /data/app/com.twitter.android.apk is neither a directory nor file (type=0).

W/dalvikvm( 8283): threadid=3: thread exiting with uncaught exception (group=0x4001d1c8)

Does that have anything to do with the error? It is a symbolic link (as created), and which is finally causing "java.lang.ClassNotFoundException"?
[Android Apps and Games] MegaBubbletea:
Ok. I am back and I have totally updated my phone.

Time to test out this latest version. It better work...
[Android Apps and Games] kousik:
Another idea may be to append /data/sdext2 in the CLASSPATH itself. In that case it doesn't have to follow symbolic link through /data/app but the system will search for the apk in /data/sdext2 directly. Anyone know how do we change CLASSPATH? Somewhere in build.prop or local.prop ... ? Thanks!
[Android Apps and Games] timpoldo:
Hi bakpinar, thanks a lot for link2sd. Great app.

I've to notice a problem on my GT540. After install link2SD, i can't no more move apps from /system/app to /data/app. I use "Supermanger" to move apps, and it says everytime "Not enough free space".... but i think it's not true: i've 28MB free space, and the most big app to move is 5MB.

I need to move some apps from /system/app to /data/app, and then link it to SD. This because link2SD can't link "system application". So... i've thougt to move them in /data/app before link

(I dont know why some 3rd part apps i've installed, have been put in /system/apps and not in /data/app. However... i can't move them in /data/apps :()

Ideas?

Thanks
[Android Apps and Games] bakpinar:
UPDATE:

Good news about market issue...

Android Market doesn't see applications that have been link to SD card. Because a background process marks them as "UNINSTALLED" in the market's database when the link created.

To repair their state I have added "Market Fix" feature.

This will synchronize Android Market database with installed applications and missing market apps will be repaired.

Before starting, make sure market is not running and you're not downloading anything from the market.

NOTE: If some apps are still missing from "My Downloads" afterwards, just install any app from the market and they will show up.

Also added support in detecting and mounting ext2 partition for some roms. If you had previously received ext2 partition or mount error try this version.

You can download version 1.2.0 from the first post.
[Android Apps and Games] Gx3:
if I update my phone's firmware can the app relink to ext2 apks?
[Android Apps and Games] CaptainZap:
Great Job, works like a charm on the Sony X8.

@Gx3: I don't think it works that way...
[Android Apps and Games] 2ma:
no,it's not there. so it doesn't get mounted then.

if I run install-recovery.sh from adb shell it works.
[Android Apps and Games] 2ma:
that's because the script itself works,it just doesn't runs automatically.
[Android Apps and Games] sanmit:
@bakpinar-my rom doesn't support sd-ext.....in your first post you have mentioned something about ext*.ko modules ,can you please explain how can i enable partition support in my rom... ...from what i have read it seems i have to edit boot.img. ....

Thanks and regards.
[Android Apps and Games] lichan:
OK, after a couple of reboots everything showed back up where it was supposed to be. I thought Windoze was the only system that needed therapeutic reboots! All is good.
[Android Apps and Games] jrohwer:
SwiftDroid / CM7 support?

Would this app work with SwiftDroid / CyanogenMod 7 on my LG GT540? I see the CM has native built-in script support in /system/etc/init.d/05mountsd to already mount an ext2 partition on the SDcard, but the mount point is /sd-ext and not /data/sd-ext.

I'm worried that installing the app will interfere with these mount scripts and/or install conflicting mount scripts. Is there a way to separate the setting up of the mount point and the installation of the binary GUI that does the linking? Any HOWTO's for CM7?

I'm wary of just clicking "Install" from the Android market without being able to control what exactly is going to happen. Shell scripts, moving files around with adb shell, etc. are no problem for me (linux user getting to know his first Android phone...).

Thanks for any hints :)
[Android Apps and Games] MongooseHelix:
On my phone with CM7 that uses 05mountsd to auto-mount my ext2 partition to /sd-ext, I just made a script to place in /sd-ext/userinit.d which will get run at boot by the init.d script 20userinit. The script basically binds a new folder, /sd-ext/link2sd, to the directory expected by Link2SD, /data/sdext2. Here it is:

#!/system/bin/sh
#
# Allows Link2SD to see the ext partition where expected(/data/sdext2)

BB="logwrapper busybox"

if [ ! -d /data/sdext2 ]; then
log -p i -t bindext "/data/sdext2 not found, creating..."
$BB mkdir /data/sdext2
$BB chown 1000:1000 /data/sdext2
else
log -p i -t bindext "found /data/sdext2"
fi

if [ ! -d /sd-ext/link2sd ]; then
log -p i -t bindext "/sd-ext/link2sd not found, creating..."
$BB mkdir /sd-ext/link2sd
$BB chown 1000:1000 /sd-ext/link2sd
else
log -p i -t bindext "found /sd-ext/link2sd"
fi

mount -o bind /sd-ext/link2sd /data/sdext2
if [ "$?" = 0 ]; then
log -p i -t bindext "/data/sdext2 successfully bound to /sd-ext/link2sd"
else
log -p e -t bindext "unable to bind /data/sdext2 to /sd-ext/link2sd"
fi
[Android Apps and Games] micun:
Hi. I have other problem now. Can someone help me. it says:

Create link Failure

mkdir failed for /data/sdext2/dalvik-cache, I/O error
[Android Apps and Games] jrohwer:
OK, so does installing the APK from the market not install additional mount scripts which I'd then have to remove/disable?
[Android Apps and Games] Jason Black:
Great app but the linking process freezes the phone all the time..

Sent from my CM 7 Monster Evol.