yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] wm.puig:
patience?

The only thing I can think of is that, since your autostart.sh script sleeps for ten seconds before executing your mount commands, you may be trying to execute Link2SD before the mount takes place. By comparison, I'd bet that when you manually exec the script with Root Explorer you wait until the script has fully run before doing anything else. :)

Just out of curiosity, why are you including two mount statements in the autostart script? Although they're constructed differently, it looks to me like both would mount the same device ...
[Android Apps and Games] nibras_reeza:
Please add support for backup restore too. :)

Restoring apps after flashing is being a bit painful without Link2SD back/restore. As you know, MyBackup Root backs up apks and not links.
[Android Apps and Games] remicks:
I use Titanium for my backups and it works fine with Link2SD :)
[Android Apps and Games] samusishere:
Second partion not found

HI, i continue to get a second partion not found when i try to use this program. i used the the program suggested to create the ext2 partion yet the link2sd program does not recgonize it. i also tried FAT with no sucsess. can someone please help.

I am useing a Virgin mobile LG optimus V with android 2.2 and namless rom and a 4 gig card
[Android Apps and Games] pico.marco:
Thank you for the answer.

I don't know I've only copied in autostart.sh the script install-recovery.sh added by link2sd :p
[Android Apps and Games] lichan:
I ran into a similar problem with a Sprint Optimus S. Link2SD worked on a previous custom ROM by the same developers (the Lego ROM) but when I switched to v2 of the nameless ROM (renamed to ReBorn), Link2SD could no longer mount the ext3 partition and I could no longer mount it manually, even though the kernel used includes support for ext2, 3 and 4. I posted a question in the rom-specific thread over at that site and sent a PM to the dev but no response yet.
[Android Apps and Games] goodoane:
Because is not a way to detect the right mount point for every device he use this trick to make it work for more devices.
[Android Apps and Games] bakpinar:
UPDATE:

1.6.1

- added horizontal screen orientation support

- added "Link dalvik-cache files" menu back

- improved loading and scrolling performance of the app list

- added cache size to app list

- fixed "Storage Info" bug on Android 2.3

- better CM7 support

Known issue:

* library files get unlinked after reboot on Android 2.3 and sometimes on 2.1 and 2.2. (PackageManager unpacks all native libraries from the apk files at boot)
[Android Apps and Games] smoky87:
hi so this work with galaxy ace 2.3.3 now then or are there still problems as the only way i update too 2.3.3 is if this works rolled back once not again anyone
[Android Apps and Games] Jason Black:
I linked dalvik to sd and i cant install apps anymore and system info widget wont show a widget

Sent from my CM 7 Monster Evol.
[Android Apps and Games] Almighty1:
danceswithbongs:

Sorry I couldn't help with your problem because the mounting and the filesystems are more linux based than Unix based as I am more of a FreeBSD Unix user (one of two Unix standards, the other being System V). I'll have to think about your problem some more as I also use a Motorola Droid 1 with the p3droid rooted FRG83G stock rom.

Thanks for the info on the startup managers though. I know both are good, what I was asking is if one might actually perform better in the killing of the processes.

Well, in Unix, all files have owners and groups. The wheel group is usually the root group so only those in the wheel group can su to root, etc. The other stuff are Suid bits, kind of hard to explain, might be easier for you to google suid permissions. Alot of these things are unix based which is what the Android OS (Linux) is based on as Linux is basically a Unix clone OS with the actual kernel being Linux while the userland is packaged by more flavors than there is ice cream.
[Android Apps and Games] danceswithbongs:
Thanks Almighty

Not knowledgeable enough to fully understand what you wrote but I get the idea.

If anything occurs to you let me know.

I have found both auto start apps work well.

Seem to do a decent job on GB ROMs, so they should be great on Froyo.

Only major difference is probably the lay out for the option to disable apps that open on certain events.

Autostarts lists them under each trigger event. So submenu of apps triggered.

The other is laid out by each app listed, and lists number of trigger events for each app.

Tap the app and it opens submenu of triggers and options to disable for particular events.

I'd go with the one rated best on market and least money. Though one is free so you could look that over first.

Also they will run in background to either rekill apps that try to restart or block from getting triggered. If you opt for that.

Could you explain those three new additions to Root Explorer pop up, or was that in your reply and it got lost, missed by me, in the unix technical info?

Thanks

walkin the walk while tappin the talk

danceswithbongs
[Android Apps and Games] Almighty1:
danceswithbongs:

First things first, I was doing some quick searches a few minutes ago and it seems someone had the same problem as you but managed to solve it, take a look at this thread:

http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/

This might be the easier way as it basically requires using the desktop computer to reflash the phone back to how it was originally out of the box:

https://sites.google.com/site/teamdroidconcepts/experimental/unbrick-a-droid

I am trying out autostarts and it sure seems like it's by category except am I correct that the auto startup stuff is really only the two things way on the top of the list, during startup and after startup while the others seems to be the action of the camera buttons and such.

Autostarts has a better rating than the other one not just on market but everywhere else.

As for the new additions to the Root Explorer app, let me look on market to see what the new additions are and attempt to explain it.

New change owner function. Allows owner and group to be changed for files and folders. Accessible from context menu.

In Unix, every file/folder has a owner and group assigned which you can see when you click on permissions or properties for the file/folder. su = superuser or commonly known as getting the benefits of the root user, user id 0 which is normally part of the wheel group. On a Unix system, you can have regular user accounts and only those that are in the wheel group as defined in /etc/group can actually su from their account to the root account, this doesn't apply to phones as the only user seems to be the root user but I'm sure the apps is still picky about the ownership and group of the file.

This probably explains it better than I can:

http://www.perlfect.com/articles/chmod.shtml

Added special permissions (Set UID, Set GID, Sticky bit) to permissions dialog.

This would be defined here:

http://www.dba-oracle.com/linux/sticky_bit.htm

I have nothing to do with the following so I have no idea what friendly file sizes is.

Respect "Show friendly file sizes" preference when displaying size in properties dialog.

Also, in case you didn't know, RAM is defined as 1,024KiloBytes per megabyte. When it comes to storage, it's defined as 1,000KiloBytes per megabyte so you are losing 24KB's per megabyte. This is the reason why a 500MB HD is only 400MB in reality because of the sneaky way the storage manufacturers measure capacity.
[Android Apps and Games] T!b:
Hi all,

I get a FC while launching link2sd with the 1.6.1 under Android 2.1, so I go back to 1.6.0, anyone have the same problem ?
[Android Apps and Games] bakpinar:
Can you send the logcat logs?

Simpliest way is to install a logcat viewer application (I recommend "aLogcat" from the market) .

After installing the aLogcat try to launch Link2SD.

Then open aLogcat application, you will see the logcat records, from the menu save these to a file and send this file.
[Android Apps and Games] tair5000:
HI

I have zte light and i have tried to follow the instruction. I downloaded partition tool and made partition but when ever i insert SD card into the Zte light. it shows damaged card and reformat it . so I have tried with FAT32, ext 2 etc. but does not work. plz help
[Android Apps and Games] explorer-10:
will this app format the microsd card?
[Android Apps and Games] bakpinar:
UPDATE:

1.6.2

- fixed force close on application startup on some devices
[Android Apps and Games] explorer-10:
@bakpinar will this app format the microsd card?
[Android Apps and Games] bakpinar:
No, it doesn't format or create partition on the SD card.
[Android Apps and Games] mastrone:
I need link2sd

@bakpinar :

Still no luck with Samsung Galaxy ACE 2.3.3 reboot? The one that occours when Link2sd tries to place the automount script....

This app is pratically indispensable for low storage devices like mine.

Many thanks for your support!

Giuseppe
[Android Apps and Games] azcv:
@bakpinar :

Here is one suggestion from me about the unlinking of lib files.This is simple idea for workaround this isue(this is not permanent fix).

1.Add to link2sd the ability to save the information about the linked lib files.

2.After phone reboot link2sd should automaticaly compare the saved list and the real situation about the linking of lib files and automaticaly relink unlinked lib files.

3.You can add a manual relink option too.

I hope i was clear enough.
[Android Apps and Games] lichan:
Okay, I solved my problem with mounting the second partition on Reborn ROM on the Optimus S which is similar to yours on the V with nameless ROM. The kernel, Picasticks v6 in your case and v7 in my case does not have ext2, 3, 4.ko in /system/lib/modules. In my case it was said to have support but didn't and in yours it never claimed support for ext file systems. There are three things you can do: 1) get a kernel that does have support. I used Zefie's v13 experimental which was the one I used under Lego ROM and immediately solved the problem. It is available where you got the nameless ROM. 2) Find and load ext modules yourself. There were some entries about this earlier in this thread and a search should turn them up. 3) Switch your partition to FAT32 which every kernel can handle by default. One of these methods should get you going.
[Android Apps and Games] cala1900:
How do i interpret the information on link2sd on the apps?

Problem: I use link2sd and apps2sd on my HTC Desire Android. But recently, I've encountered a problem with the 'lack of memory space'. I used to have 20mb free memory and without installing any new apps, it has been consistently dwindling & it's likely that one of the apps are using them, and i need a tool to help me identify the app that is causing the problem.

Can link2sd reveal the solution, i wonder...
[Android Apps and Games] ShineHigh247:
No Go on Droid

Im having the same problem as "tair5000" [on pg 127], but with a Droid Eris.

I didn't 'unmount' the card when I removed it, so I think that might be the case. Im trying a re-do and ill let ya know the results, tair5000. Peace!

*Update*

It seems to be working so far. Tair5000, I just let my phone format my card, went into settings and Unmounted the card, hooked it up to the PC and re-formatted the new partition. The phone's reading the card again, I just gotta add all my files back to it (that I had backed up). Good Luck!
[Android Apps and Games] MongooseHelix:
If you haven't been installing anything new, it's most likely due to growing app cache and/or data files. Some places to look for excessively growing files are the market update apks that are stored in /cache/download(safe to delete these) and each app's data&cache which is located in /data/data/APP_PKG_NAME. Link2SD does list the size of an app's data and cache.
[Android Apps and Games] explorer-10:
getting a problem on my device. screen-shotted a couple pics for issues:

1st image is what i selected, 2nd is the following result

thats from already having a partitioned EXT fs
[Android Apps and Games] MongooseHelix:
What device are you using? Also, please post the output you get from these three commands:

mount

ls /dev/block/vold

ls /dev/block/mmc*
[Android Apps and Games] explorer-10:
im using a moto cliq xt --rooted-- w/CM7 :)

-page1- -page2-
[Android Apps and Games] MongooseHelix:
danceswithbongs, if things are still messed up could you also give the output of "ls /dev/block/vold". I saw you mentioned using swapper 2...did you have swap partition set up already or did you have to repartition/format for that? I wonder if your ext partition got corrupted somehow but by using ext4 that shouldn't happen since it uses journaling. You could look into trying to repair it using e2fsck with the -p option while in recovery. What error does it give if you manually try to mount it with "mount -t ext4 /dev/block/179:2 /data/sdext2" ? Sorry to not be much help right off and maybe you've already figured everything out.
[Android Apps and Games] MongooseHelix:
Ok, let's see what happens if you try and mount it manually:

su
mkdir /data/sdext2 #can skip this if it already exists
mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2

#if the above mount command doesn't work, try this one also
mount -t ext2 /dev/block/vold/179:2 /data/sdext2

#you can also try both mount commands with "-t auto" or just leave out the -t TYPE altogether
[Android Apps and Games] explorer-10:
pg1 -- pg2
[Android Apps and Games] MongooseHelix:
Edit: See bakpinar's post below and check if that works. Your kernel/ROM probably doesn't have ext2 support which is why it won't mount your 2nd partition. Should have thought of that earlier but I'll blame it on being up late :). If formatting your 2nd partition as fat32 works but you would prefer an ext2 filesystem, you'll need to either find a compatible ext2.ko module to load or switch to a kernel that has ext2 support built-in.

The second mount command you tried was misspelled as "moumt" so that's why it gave the not found error. And I didn't explain the format of what else to run very well. Here's all the mount commands to check:

su
#run these until one works or all have been tried
mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2
mount -t ext2 /dev/block/vold/179:2 /data/sdext2
mount /dev/block/mmcblk0p2 /data/sdext2
mount /dev/block/vold/179:2 /data/sdext2

#if one does mount the partition, run this and post the output:
mount

#no need to do any with "-t auto" because it's the same as not having any -t option
[Android Apps and Games] mastrone:
ouch!

To avoid pushing developers I wanted to do something my own. I tried to manually mount the ext2 partition of my SD card and it worked. Link2SD didn't make my phone reboot (wow!) so I linked the apps as usual (when I had Froyo running).

Sadly none of them worked after linking, so I removed Link2sd. After a reboot everything was fine excepting for a couple of apps which look uninstalled. Lucky me, it was just Android Market and Navigation!

Well, I can't do else than a factory reset and re-install everything but Link2sd. Waiting for a new release with a fix.

My phone is Samsung Galaxy Ace and runs 2.3.3

Giuseppe
[Android Apps and Games] bakpinar:
Can you try with FAT32? (reformat your 2nd partition as FAT32)
[Android Apps and Games] lichan:
As a general rule, when installing a totally new (not an update) ROM on our phones we're instructed to wipe data, cache and dalvik-cache. Unfortunately, the custom recovery when wiping data will wipe the links in /data and also wipe the second sdcard partition so upon reboot all evidence of Link2SD is gone and we must restore all our apps from backup after downloading Titanium Backup or whatever app used from the market and go through the same scenario of using Link2SD to move them to the second partition which could take multiple passes depending on how many apps we have and how much room is in the internal /data directory of our phones.

Is there a way to speed this up or automate it by copying the /data and /data/sdext2 to our main sdcard partition, assuming there's room or perhaps to a PC or cloud storage somewhere? I've now gone through this twice and I want to avoid it when Gingerbread is released for my phone. Thanks for any ideas.
[Android Apps and Games] explorer-10:
10charactr
[Android Apps and Games] enotar:
So I switched my X5A for a Dropad Tablet and it recognize the SD with a second partition FAT32

But Link2SD give me after chosing FAT:

"Mount script cannot be created

Mount: /dev/block/vold/179:2 on /data/sdext2 failed

Device or resource busy"

sdext2 exist

df

Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 97888 82492 10560 89% /
tmpfs 160824 0 160824 0% /dev
tmpfs 160824 0 160824 0% /mnt/asec
/dev/block/mmcblk0p3 498070 112261 360092 24% /data
/dev/block/mmcblk0p2 102542 7517 89731 8% /cache
/dev/block/vold/179:1
3064992 330616 2734376 11% /mnt/sdcard
df: /mnt/secure/asec: Permission denied
/dev/block/vold/179:9
7232736 64 7232672 0% /mnt/extsd

mount

rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,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,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
none on /proc/bus/usb type usbfs (rw,relatime,devmode=666)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p3 on /data type ext4 (rw,nosuid,nodev,relatime,barrier=1,data
=ordered)
/dev/block/mmcblk0p2 on /cache type ext4 (rw,nosuid,nodev,relatime,barrier=1,dat
a=ordered)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,
iocharset=utf8,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=0702,dmask=0702,allow_utime=0020,codepage=c
p437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
/dev/block/vold/179:9 on /mnt/extsd type vfat (rw,dirsync,nosuid,nodev,noexec,re
latime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,i
ocharset=utf8,shortname=mixed,utf8,errors=remount-ro)

Any idea?

Thank you
[Android Apps and Games] MongooseHelix:
It looks like the second partition is already mounted at /cache since 179:2 and mmcblk0p2 are essentially the same. You can confirm that they are in face the same if the output of "ls -l /sys/dev/block/179:2" shows a symlink to mmcblk0p2.

<><><><><><><><><><>

explorer-10

It will help narrow down what the problem is if you could still do the following:

* Try a manual mount without any type option: "mount /dev/block/vold/179:2 /data/sdext2"

* Find out from turl@ModMyMobile or another Cliq XT CM7.0.3 RC2 user if and how they've sucessfully mounted an ext partition

* Backup your sdcard data, reformat to use a fat32 2nd partition and check if it mounts

Until you can at least mount the 2nd part manually, the devs and users for your phone/ROM will probably be able to help you more. It could be an issue with a corrupted partition, or something unique about cliq xt's that we don't know about, or an issue with the built in ext support, or who knows.
[Android Apps and Games] explorer-10:
cool! worked, thanks! but another problem, in the storage info it says 50.28mb used...i go into root explorer and i dont see anything in the /sd-ext directory, why?

also, whats up with the math here? =>sd card 2nd part.: total:686mb used:55.24mb free:595mb??? it should say ~630mb free!!
[Android Apps and Games] mpbm23:
@bakpinar

Why don't you try to link/move app's private data files too?
[Android Apps and Games] bakpinar:
See the post #945
[Android Apps and Games] beyarfaj2004:
hi, thanks for your efforts, and help

i have a rooted desire, with the official arabic froyo ROM, with Sandisk 16GB class 4 SD, i created a 512MB ext3 partition with minitool.

when i open link2sd, it says select the file system of...

i select ext3, it says "Mount script error, mount script cannot be created: cannot create /system/etc/install-recovery.sh: not enough memory"

what is the solution please???

thanks again and again
[Android Apps and Games] explorer-10:
bumped this over a few posts, in case:

cool! worked, thanks! but another problem, in the storage info it says 50.28mb used...i go into root explorer and i dont see anything in the /sd-ext directory, why?

also, whats up with the math here? =>sd card 2nd part.: total:686mb used:55.24mb free:595mb??? it should say ~630mb free!!
[Android Apps and Games] wm.puig:
working around install-recovery.sh

Even if your machine is rooted, the /system/etc directory may be read-only and cause the creation of install-recovery.sh to fail. I'd verify that the dir is open for writing, and that the file system it's on is mounted as read-write as well. If the directory and file system are set as r/w and this still fails, you may want to try the workaround I came up with using Autostart (see post #1246 in this thread for details). Good luck!
[Android Apps and Games] enotar:
it gives:

/sys/dev/block/179:2/sys/dev/block > ../../devices/platform/s3c-sdhci.0/mmc0/mmc0:e624/block/mmcblk0/mmcblk0p2

The Sd card is not mounted as sdcard but as extsd as there is an internal that is mounted as sdcard, maybe this is the problem?
[Android Apps and Games] bakpinar:
Yes, Link2SD has an issue to detect the 2nd partition on the devices that have more than one storage device. (internal card and external card)

To determine the external storage location, Link2SD finds the external storage device by using Environment.getExternalStorageDirectory and mounts the next device.

Generally tablets have two storage locations and what the problem is that EXTERNAL_STORAGE points to internal storage (built in NAND) instead of SD card device.

To resolve this I will add ability to manually select the device, so you'll be able to select correct device for your 2nd partition on the SD card.
[Android Apps and Games] enotar:
Thank you so much
[Android Apps and Games] sheldiez:
working great...

thanks
[Android Apps and Games] explorer-10:
anyone able to resolve my problem??
[Android Apps and Games] enotar:
I succeed switching partitions from extsd to sdcard

I have many times a long startup loading even so long I have to kill the application, not every time.

Any idea why?

Thank you
[Android Apps and Games] nuttdev:
Hi all,

I have a question

How to completely uninstall link2sd?

After link2sd uninstalled the sdext2 mount point still alive.

I need to clean up my device please help me out.

Thanks.
[Android Apps and Games] explorer-10:
when i linked some of my apps, after a reboot, it'd stop working again, but then a couple or a few of my apps go missing. its like its gone apesh**! what to do?
[Android Apps and Games] MongooseHelix:
Since the 2nd partition was mounted directly to /data/sdext2, the /sd-ext directory isn't used. You could bind the two together if you would like to have access to it both places. "mount -o bind /data/sdext2 /sd-ext". Just like needing to mount the second partition to /data/sdext2 on boot, binding would need to be done at the same time. Are you using a script to mount the 2nd partition at boot? If so, is it an init.d or userinit script or something else that runs at boot?

Not sure why the memory reported doesn't add up correctly.
[Android Apps and Games] lighterlp:
hi guys, I have a problem, after i created a link on some app, every time i restart the phone it goes back to my internal memory agian pls help..... the apps are all game like Backstab, Hot Shoot Golf2, Starfront, FastFive