Can't get Link2sd to work - Fire Q&A, Help & Troubleshooting

As the title says, I keep getting en error "mount: Operation not supported on transport endpoint"
Any idea what that means and how do we get link2sd to work so we can expand available storage.

Related

[Q] Unable to symlink

For weeks now, I have been trying to symlink /mnt/sdcard/external_sd/eBooks to /mnt/sdcard/eBooks by entering this command at the Android Terminal Emulator:
Code:
ln -s /mnt/sdcard/external_sd/eBooks /mnt/sdcard/eBooks
I always get a "link failed Operation not permitted" error. I've tried to got 'su' with the same result. Can anyone help me?
Help needed
Bumpty-bump... Anyone? Please?
RFS is a FAT based filesystem.. FAT32/NTFS doesn't support symlinks.
You could try one of the fancy lagfixes which convert the filesystem to EXT2/3/4, however, keep in mind, there is the risk that doing so may cause IMEI corruption or other problems.
Thanks, mate. I get it now. This was driving me crazy...
andrewluecke said:
RFS is a FAT based filesystem.. FAT32/NTFS doesn't support symlinks.
Click to expand...
Click to collapse
I have the issue that after moving from Eclair to Froyo, the "folder" link to the external SD card has changed which means my restored apps do not work.
Before the link was /sdcard/sd and now it's sdcard/external_sd. I still have an "sd" folder in the internal sd but now it's just a regular folder - how do I make it so it's a link/jump to the external card (which the external_sd folder is which again means it must mean symlinking or equivalent works.)

Pocketcloud installation fail

I am trying to get this app to install but keep getting installation failure. Before I ran darktremors apps2sd I would unmount my SD and then apps with this type of install failure would then install and I would use froyo apps2sd to free up space. Now with DT I don't think I can do this so any thoughts?
Thanks

[Q]Apps 2 SD

Found some scripts to do this,so im asking which one works best and its safest and compatible with emanonV3
malwarebyte said:
Found some scripts to do this,so im asking which one works best and its safest and compatible with emanonV3
Click to expand...
Click to collapse
link2sd app is great to move the app to second partition it will install the script automatically and the best 2 things it's free and allow you to select which app to move and which to not
Link:- link2sd
dhlalit11 said:
link2sd app is great to move the app to second partition it will install the script automatically and the best 2 things it's free and allow you to select which app to move and which to not
Link:- link2sd
Click to expand...
Click to collapse
i installed it and when i start it it asks me "select the file system..." i check ext3,but after it says
Mount script error
Mount script cannot be created
mount:mounting/dev/block/vold/179:2 on /data/sdext2 failed: Device or resourse busy
i partitioned SD card
malwarebyte said:
i installed it and when i start it it asks me "select the file system..." i check ext3,but after it says
Mount script error
Mount script cannot be created
mount:mounting/dev/block/vold/179:2 on /data/sdext2 failed: Device or resourse busy
i partitioned SD card
Click to expand...
Click to collapse
the error you have written is showing that you partition your SD card in ext2 so you have to select ext2 in the option

Link2sd Invalid argument error

I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
You need a partitioned sd card, have you tried other mount formats (fat32, ext2, ext3)?
What rom, kernel and scripts are you running?
Initially I used mini tool to partioned the sd card and all the formats didn't work. so i used cwm to partion the sd card partioning worked but link2sd is won't. Kernel:[email protected]#1
Rom:S5830XWKP7. I haven't an idea about the scripts though. how do i find that?
What is your rom because some roms aren't compatible with this script, but you can install the script !
I'm using a stock rom:S5830XWKP7
Sent from my GT-S5830 using xda app-developers app
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
dxppxd said:
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
Click to expand...
Click to collapse
I had the same problems and I tried switching around the formats too.
One thing that did work for me, twice, was to completely format the card and recreate both the partitions on the SD card each time whenever I flashed a new ROM and was going to use Link2SD or S2E. And I used FAT32 for the Link2SD partition. Formatting only the second partition always gave me the mount error.
Hope this helps!
Not all Aces are equal. I don't know the difference, but I had 2 Aces, the ROM info shows same version of software. On one (older one) EXT3 worked, on the newer one it didn't and I had to use FAT32. Strange. I also noticed one Ace (newer one) is a bit THINNER! Same rooting worked for both Aces...
Partioning both as fat32 doesnt work as the phone reads the card as damaged
Sent from my GT-S5830 using xda app-developers app
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
sjg2797 said:
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
That's how Link2SD works. Internal memory is still the same, and application data isn't moved to the SD card.
The actual app file, dalvik cache and library files are moved to the SD card.
If you go to the application management system option, you'll see applications are still taking all the memory space they're supposed to take. Well, that's what the phone thinks, but they're actually not.
Of course, all of this and more is included in the official [url="http://www.link2sd.info/faq]Link2SD FAQ[/url], but then again, everyone knows FAQs are not supposed to be read, and I won't be bugging you more about this subject because I too didn't read the FAQ at first, and once asked similar questions.
Darkcloud4491 said:
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
Click to expand...
Click to collapse
Perhaps the op actually wants to move whole apps to the SD and not leave massive chunks still in /data partition? Or maybe that doesnt provide enough space?
Use cronmod script its a flashable zip you mount/data and mount/system that's it done just search cronmod and you will find what you need
my ace is 'ACE'
invalid argument
both of my partitions are fat32, but i had to select ext4 in link2sd to get it to mount. is this a normal fix? or is it not going to function properly?
is it possible to use an sd card to increase /data and /system? cuz even with link2sd i keep running out of internal space, and ive only got 18 mb free in system. my link2sd is set to install to external and autolink.
im using this rom: 【ROM】【=CM10=】【=Aroma=】| ★★ Optimus Prime v1.8 ★★ | 16-04-2013 | 《 Reborn © ✌ 》
Solution of the problem mount script error
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Expatiate
John Risky said:
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Click to expand...
Click to collapse
Can you please be a bit more detailed seeing as you have not expressed yourself adequately to be of assistance. kindly try enumerating the points instead of lumping them.
1.PARTITIONS PASS IS WRONGLY CREATED ..... i believe you mean path please come again and where is this partition part so i can reconfigure it.
sjg2797 said:
I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
Click to expand...
Click to collapse
Have you partitioned your sd card to ext2/ext3/ext4? If it's ext2 then make sure you select ext2 in link2sd. Your phone has to be rooted.
john risky said:
now i am gonna tell u about the most major problem
which is a siily message box appears telling you that
(mount script can not be created. Mount: Invalid
argument)
but here is the real error that caused the message box
and it is that the partitions pass is wrongly created
and here how can it be fixed u r gonna open aparted and
recreate the partitions then go to the configuration part
and change the detected device from (mmcblk0)
to(usbdisk) then automatically the path should be
changed from (/dev/block/mmcblk0) to (/dev/block/sda)
and surely your problem should be solved
then open the link2sd there should be a messege appeared
saying
and if not you shall go to the options and
choose (recreate new link scripts) choose the partition s
system and here it is you just got yourself a successful
linking
if it didn t work then you r gonna have to fullyshutdown
your mobile then reboot
and i asure u it is gonna work
:good:
:laugh:
Click to expand...
Click to collapse
could you please elaborate it...
worked for me on my moto e
same problem solved by making the partition as primary partition ..try it

[Q] Getting "Couldn't install on USB Storage or SD Card" error with multiple apps.

[Q] Getting "Couldn't install on USB Storage or SD Card" error with multiple apps.
My TF-701 is dead stock, no root, no ROM and lately I've been getting an increasing list of apps failing to update with the error "Couldn't install to USB Storage or SD Card".
It started with Aldiko Premium, then RealVNC and now Pocket Admin.
I tried uninstalling the first two and now I can't even (re)install them as I get the same error.
Has anyone else been having this issue?
Does anyone know the cause?
Is there a fix or workaround?
Asus Transformer TF-701 (K00C) running stock Android 4.4.2
Kernel - 3.4.66-g96e53b8
Build number - KOT49H.US_epad-11.4.1.17-20140711
UPDATE: Unmounting and removing the microSD Card does provide a workaround. It seems to me like this is a programming error in the app, probably some incorrect path checking when there is a microSD Card installed. I almost wonder if there is some change in Android L that some developers are adapting for but are breaking backwards compatibility by doing it incorrectly?
Screencap of the error attached
I sometimes had the same error message. For me the installations went fine when I removed all SD cards (SD-Card and MicroSD card) before installing/updating the apps.
Yeah, I get this too. Popping out the MicroSD, and then hitting install seems to temporarily fix the issue. I'm guessing that there is some code on the install/update of some apps that check something on external storage, and the 4.4.x stuff blocks that, and therefore fails as saying it couldn't put something on the SD card. This only happens with certain apps. However, if I uninstall the app, format the SD card, reboot, then reinstall the app... It still does it. Therefore it has to be something to do with the apps and possibly their install routines or their declared permissions.
At least this is my guess. I haven't bothered to trace this stuff, nor anything further.

Categories

Resources