link2sd not working to link to sd card - Samsung Galaxy S7 Questions and Answers

I have a Samsung Galaxy S7 that I've recently rooted. I've partitioned an sd card with ext2 and fat32 partitions like a tutorial told me. I then created the scripts with the link2sd app and the app worked there and created the script and rebooted the phone. If I attempt to link an app to the sd card it works fine without error. But when I attempt to launch the app just moved to the SD card, I get the message "Unfortunately, "app name" has stopped." I then have to uninstall the app, clean up the sd card and cache and then reinstall the app internally for it to work. Any ideas what I can do to fix this?

dorlow said:
I've partitioned an sd card with ext2 and fat32 partitions like a tutorial told me.
Click to expand...
Click to collapse
Why?

You are required to have an ext2, ext3, or ext4 partition as well as a fat32 to link apps to the SD card. I've had this working on previous phones I've owned and it worked really nice.

Related

Problem with app2sd after moving ext2 to another SD card - help! - SOLVED

I have rom with app2sd which I made in g.o.t. recovery. It worked fine, but now I bought class6 SD card and wanted to transfer everything from old SD to a new one.
I made partitions in Gparted in Ubuntu: 1st fat32, 2nd ext2 ~450mb just like on my old SD card. I copied everything ext2 to ext2, and fat32 to fat32
So now rom boots up, but every app FC at the beginning. I have apps but cannot open any of them. Any clue?
Thaks for any help.
I searched for the answer but nothing similar to my case.
after 24h of struggle and with the help of a friend I found a solution. The problem was the permissions of the files I copied under Ubuntu to the ext2. They changed so android couldn`get access to them.

[Q] Can't figure out SD Card Partitioning with Link2SD

I'm just wondering if anyone else has been able to make a second partition on their O3D/Thrill. I'm not sure if this problem I'm having is a limitation to the phone, or rom.
I'm using an LG Thrill with v20c baseband, Prometheus V1.4 rom.
I'm following this guide here:
http://forum.xda-developers.com/wiki/SD_card_partitioning
I have a 32gb micro sd. I've made my 2nd partition 10gb as ext2. When I put it in the phone it reads it, says it's ready to read/write media (in notifications bar). I then go to link2sd, it automatically asks me if the 2nd partition is ext2, ext3, ext4, or fat32/fat16. I tried ext2 and it says:
"Mount script cannot be created. mount: mounting /dev/block/vold/179:18 on /data/sdext2 failed: Invalid argument.
I then put it back into my computer and formated to fat32, same thing, then ext4, same thing. Each time I put it back into my computer Gparted sees the 2nd partition as "unknown", so I believe android is changing the partition type to something unrecognizable.
Well, being I haven't got a reply yet, I'll ask this,
Has anyone with an Optimus 3D partitioned their SD card?
Oh i did & got it worked but I stopped using the link2sd partitioning my sdcard, because somethings you should know. Well first, the sd has to be fat32 & when asking about the 2nd partition, chose fat32 and then reboot the phone. I tried ext2 or ext whatever just never work. After reboot and link2sd ask the same thing again, just pick the fat32 partion and reboot again. It worked for me after 3 reboot, strange don't know why.
Lastly, just let you know the 1st partition of the SD card won't show on your phone because theres already internal SD and external_SD folder only show the 2nd partition of SD card. But the 2nd partition won't show on your pc to transfer files, if you know what i mean. Like I wanted to use the 1st partition for music/movies and 2nd for apps (link2sd) but you have to partition the SDcard for the link2sd to work. So the external_SD folder is for 2nd partition, I looked everywhere for the movie on the 1st partition but never found it or maybe I should try root explorer...well I don't know maybe there's someone can help us out about the 1st partition OR maybe just my O3D SORRY for the long reading! lol

[Q] Ext2 partion mounted then after linking apps it can not be mounted!

I have Xperia Active with JellyVanilla 2 rev0 [Unlocked BL] installed
Yesterday I partitioned a second partition on my sd card so as I can link apps to sd, created 1027 MB ex2 primary partitoin!
Then, It was mounted, I linked the apps and everything was just GREAT!!!
Then, I slept for about 12 hours and when i'm awake i found the apps I linked yesterday are not shown.
Link2sd couldn't mount the partion, although it could see it!!
It gives me this message:
"Mount script cannot be created.
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: Invalid Argument
ext2 may not be supported on your device. Try FAT32 on the second partition"
Click to expand...
Click to collapse
Minitool partition wizard can not see the partition "although I used it yesterday to create it!!"
And now, the windows doesn't read the sd card at all!!
Please, any ideas???
Thanks
If Windows can not read the SD card, then the card is probably hosed. Reboot your computer, try a different card reader / USB port. If you still can't read it, you'll have to reformat the card. Use this program to reformat the SD card (obviously, all data will be lost).
Citizen T-FA said:
I have Xperia Active with FXP CM 10 installed
Yesterday I partitioned a second partition on my sd card so as I can link apps to sd, created 1027 MB ex2 primary partitoin!
Then, It was mounted, I linked the apps and everything was just GREAT!!!
Then, I slept for about 12 hours and when i'm awake i found the apps I linked yesterday are not shown.
Link2sd couldn't mount the partion, although it could see it!!
It gives me this message:
Minitool partition wizard can not see the partition "although I used it yesterday to create it!!"
And now, the windows doesn't read the sd card at all!!
Please, any ideas???
Thanks
Click to expand...
Click to collapse
The message you have means that your device doesn't support 2nd partition in ext2 so you have to create a 2nd partition in FAT32, or eventually in ext3 or ext4. But what do you mean by "the windows doesn't read the sd card at all"?
post-mortem said:
If Windows can not read the SD card, then the card is probably hosed. Reboot your computer, try a different card reader / USB port. If you still can't read it, you'll have to reformat the card. Use this program to reformat the SD card (obviously, all data will be lost).
Click to expand...
Click to collapse
Thanks for your reply
But, when I used the usb connection between the device and my laptop, it read the sd card BUT not the ext2 partition
I think the problem not making windows reading the sd card is about the adapter
p337 said:
The message you have means that your device doesn't support 2nd partition in ext2 so you have to create a 2nd partition in FAT32, or eventually in ext3 or ext4. But what do you mean by "the windows doesn't read the sd card at all"?
Click to expand...
Click to collapse
It supported it yesterday
I linked some games to sd card ext2 and I played them for a long time
When I was awake I didn't find the shortcuts nor the apps i linked and used after linking
There's something weired!
Citizen T-FA said:
Thanks for your reply
But, when I used the usb connection between the device and my laptop, it read the sd card BUT not the ext2 partition
I think the problem not making windows reading the sd card is about the adapter
Click to expand...
Click to collapse
Ah, that's different! Windows does not have built-in support for ext-formatted partitions! You will not be able to see anything on the ext partition from your computer, either directly or through the phone (when SD card is mounted). You will only be able to see what's on the card from within your phone, or by putting the SD card in a linux or mac computer.
post-mortem said:
Ah, that's different! Windows does not have built-in support for ext-formatted partitions! You will not be able to see anything on the ext partition from your computer, either directly or through the phone (when SD card is mounted). You will only be able to see what's on the card from within your phone, or by putting the SD card in a linux or mac computer.
Click to expand...
Click to collapse
so?
Last step I did is that I formatted the sd card by the software you gave me a link to.
BUT, it only formated 13.7 GB!!!! My SD is 16GB, so the real capacity is 14.8!
The difference is the 1GB ext2 partition I created yesterday!
How could I recover it?
Thanks so much by the way for your help
Ok, you need to delete the ext2 partition. Best just delete all partitions, and create a new, primary partition formatted as FAT32.
post-mortem said:
Ok, you need to delete the ext2 partition. Best just delete all partitions, and create a new, primary partition formatted as FAT32.
Click to expand...
Click to collapse
man, how could i do that? I told you, i can't find this partition at all :S
Minitool can't delete all partitions?
post-mortem said:
Minitool can't delete all partitions?
Click to expand...
Click to collapse
No it can't see excep 13.7GB from the 14.8GB sd card
see attachement below
Try using EaseUs.
post-mortem said:
Try using EaseUs.
Click to expand...
Click to collapse
didn't see the partition too :S
Dunno what to do!
nothing reads the ext partition
and in my country it's easier to find a coin in the ocean than to find a linux machine
Citizen T-FA said:
in my country it's easier to find a coin in the ocean than to find a linux machine
Click to expand...
Click to collapse
That's not so hard, it's just big. Wubi let's you kind of dual-boot Windows and Ubuntu, but you can uninstall it any time through Control Panel.
In any case, the ext partition is still there, and your phone should still be able to see it, if it's mounted properly.
post-mortem said:
That's not so hard, it's just big. Wubi let's you kind of dual-boot Windows and Ubuntu, but you can uninstall it any time through Control Panel.
In any case, the ext partition is still there, and your phone should still be able to see it, if it's mounted properly.
Click to expand...
Click to collapse
i'll try this
how could i start over?
now i formatted my phone
how can i find the ext partition and use it?
What do you mean you formatted your phone? You reflashed the ROM?
When you partition the SD card, those partitions will stay there until you remove/change them. In order to access an ext partition on your SD card, it just has to be mounted. All of those *2sd scripts will do that. Link2SD has a menu option which says recreate mount scripts.
post-mortem said:
What do you mean you formatted your phone? You reflashed the ROM?
When you partition the SD card, those partitions will stay there until you remove/change them. In order to access an ext partition on your SD card, it just has to be mounted. All of those *2sd scripts will do that. Link2SD has a menu option which says recreate mount scripts.
Click to expand...
Click to collapse
Oh sorry, I meant that I formatted my card
the menu option in Link2SD doesn't read any ext2 partitions
Citizen T-FA said:
Oh sorry, I meant that I formatted my card
the menu option in Link2SD doesn't read any ext2 partitions
Click to expand...
Click to collapse
It gives me this message
Second partition not found
/dev/block/mmcblk0p2: device not found
Make sure you have two partitions on your SD card and both are primary.
Click to expand...
Click to collapse
Is it too complicated?
That means that your phone cannot read the 2nd partition on the SD card (but you already knew that). Either the partition needs to be reformatted, the partition needs to be removed & recreated, the whole SD card is going bad, or you're using a ROM which does not support ext-formatted partitions (i.e., stock ROMs).
post-mortem said:
That means that your phone cannot read the 2nd partition on the SD card (but you already knew that). Either the partition needs to be reformatted, the partition needs to be removed & recreated, the whole SD card is going bad, or you're using a ROM which does not support ext-formatted partitions (i.e., stock ROMs).
Click to expand...
Click to collapse
the rom supports it, it's not a stock rom, coz as i said before i'm using JellyVanilla JB 4.1.1
no stock JB for xperia phones yet!
also, it already supported the partition and used it yesterday!
So I think i'll try to open the sd using WUBI when it finishes downloading and installing then i'll tell you the results
Thanks anyways
You'll have some fun learning how to use stuff in linux. When you get it up and running, you'll want to use gparted to examine the SD card.

Link2sd mount script cannot be created

Hi,
When I instal Link2SD and open it for the first time it asks for the file system for my SD card second partition and I select ext4, but after always gives this error message "Mount script cannot be created".
The rom I'm using is CyanogenMod 10.2 by Rashed97 and Kernel 2.6.35.10.
Anyone can help me with this please, I tryed many things but didnt worked.
Problem resolved...
I've updated Superuser and rebooted the phone and after link2sd created automatically a new script and mounted the sd card properly.
Cant know exatcly what was the reason but worked.
But now I'm having another problem, Whenever I try to converte to User App I get this message "Failure - pkg: 7cache/download/****.apk Failure [INSTALL_FAILED_INVALID_APK]
Anyone can help me with this?
Mount script cannot be created.
If you store the Link2sd application in your memory card, it will not able to link to SD. Move that application to internal storage and use ext4 as second partition. It is working in my Samsung Galaxy 4.
solved for me
i had the same problem but got it resolved by....
connected the SD and phone using USB cable
backed up my files
i formatted the SD card created 2 partitions using Mini Tool Partition Wizard Manager, one with FAT32 and one with Ext4
exited the Mini Tool Partition Wizard Manager
DIDN'T safely remove the hardware from the taskbar
DIDN'T turn off USB storage
DIDN'T detach the USB cable from the PC
turned off the phone by the power button and disconnected the usb cable.
turned on the phone and opened the Link2sd app and chose ext4 and it created the mount script successfully
Hi all, same here, cannot create mount scripts.
MicroSD 32GB, recovery TWRP v2.7.0.0, rom CyanogenMod 11.0.0-RC11-p500.
Formatted SD-EXT (1024MB, no SWAP partition) in ext4 and now ext3, the mount scripts are not working.
Baboo85 said:
Hi all, same here, cannot create mount scripts.
MicroSD 32GB, recovery TWRP v2.7.0.0, rom CyanogenMod 11.0.0-RC11-p500.
Formatted SD-EXT (1024MB, no SWAP partition) in ext4 and now ext3, the mount scripts are not working.
Click to expand...
Click to collapse
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Baboo85 said:
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Click to expand...
Click to collapse
same issue here
Had similar problem also ("invalid argument" message). Problem in my case was that my CWR formatted to ext4 by my ROM do not want to work with ext4. So I used "mini tool" and formatted to ext3. Connect in CWR to PC and format , reboot, create script, ....
I solve the problem by not using the SD-Ext.
I'm guessing that this is something none of you are aware of as I don't see it mentioned in any of your posts...
Link2SD will fail if there isn't enough free space in /system.
Baboo85 said:
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Click to expand...
Click to collapse
For others who find their way to this thread
It appears this is an issue specific to the device - and that is an "unknown" until you try. I tried the above also - with minitool partition manager and easus partition manager and none of the partitions worked with Link2SD. Then I downloaded and installed app2sd (all in one tool) on the device and used the partition tool included with it to reformat the second partition. Be advised the app2sd version from google Play was full of absolutely ridiculous ads that I had to constantly escape and back out of or "X" out of at the top right or left corners - to get back to use the actual tool itself.
1. Ext2 format failed with an error (tried it twice even after wiping the partition)
2. did not try Ext3
3. Ext4 formatted successfully - but the mount script of Link2SD STILL failed
4. FAT32 formatted successfully - AND the mount script of Link2SD worked
I then uninstalled App2SD - and hopefully all the ads it brings
It should be noted even after successfully getting Link2SD working - it could not "move an app" to the SD card because it reported the device - a Teclast x70R was using "emulation" - but Link2SD reported it could "link" and move some files to the SD of some programs. I suspect the reality is the FAT32 file system has something to do with this as it cannot carry the permissions needed by UNIX type Operating Systems.
Others have said the EXT file system partition must be the first partition on the SD card; and while this had proved to be true with a PC hard drive when trying to install OSX as a dual boot Operating System - on my Android device it simply resulted in the SD card being unmounted - or failing to mount at all
It should also be noted that the minitool and easus partition managers COULD NOT successfully format the second partition of the SD card apparently either - because Windows technically only will recognize the first partition on a removable SD card type drive - apparently true even though they both reported successfully formatting the partition - when in fact it was ONLY AFTER reformatting using the app2sd partition tool did I get meaningful error messages - and/or that the FAT32 format of the second partition actually worked in Link2SD
It is another example of "go figure"

[Q] How to use link2sd?

Hi All,
I have a galaxy s2 plus (gt-i9105p) with android version 4.1.2.
Because of the limited space on the internal sd card I thought it would be nice to have apps on an extra external sd card. But I haven't managed to do this so far, is it possible?
To use link2sd the app info says:
-The phone needs to be rooted.
-A second partition on your SD card is required
My phone is rooted, but I'm having problems creating a second partition on the ext. sd card. I tried the "MiniTool Partition Wizard". Because it didn't recognize the sd card (there is no letter assigned), I activated the usb mass storage option on the phone (via: app terminal emulator:su -> setprop persist.sys.usb.config mass_storage,adb -> reboot). This worked, so I created two partitions, one with fat32 (primary) and the other with ext2 (primary). Then windows explorer started to freeze up and the ext sd card was no longer accessible. On the phone it said "damaged sd card." I reformated it and so I'm back to where I was.
Also partitioning via de CWM is not working. It doesn't seem to do a thing.
Any help to get link2sd working is appreciated.
Thanks,
Paul
well i guess time for an upgrade... 4.2.2 has built in functionality of moving apps to sdcard
Post Reader said:
well i guess time for an upgrade... 4.2.2 has built in functionality of moving apps to sdcard
Click to expand...
Click to collapse
It doesn't really move the apps to ext-sd(SD CARD)
I'm not sure but it moves the apps from the emulated storage to the system storage,correct me if i'm wrong
DenisRonaldo798 said:
It doesn't really move the apps to ext-sd(SD CARD)
I'm not sure but it moves the apps from the emulated storage to the system storage,correct me if i'm wrong
Click to expand...
Click to collapse
It moves only apk file with libs (or without) to mnt/asec and takes memory from extsdcard, but doesn't create any folders/files in it.
paul_newbie said:
Hi All,
I have a galaxy s2 plus (gt-i9105p) with android version 4.1.2.
Because of the limited space on the internal sd card I thought it would be nice to have apps on an extra external sd card. But I haven't managed to do this so far, is it possible?
To use link2sd the app info says:
-The phone needs to be rooted.
-A second partition on your SD card is required
My phone is rooted, but I'm having problems creating a second partition on the ext. sd card. I tried the "MiniTool Partition Wizard". Because it didn't recognize the sd card (there is no letter assigned), I activated the usb mass storage option on the phone (via: app terminal emulator:su -> setprop persist.sys.usb.config mass_storage,adb -> reboot). This worked, so I created two partitions, one with fat32 (primary) and the other with ext2 (primary). Then windows explorer started to freeze up and the ext sd card was no longer accessible. On the phone it said "damaged sd card." I reformated it and so I'm back to where I was.
Also partitioning via de CWM is not working. It doesn't seem to do a thing.
Any help to get link2sd working is appreciated.
Thanks,
Paul
Click to expand...
Click to collapse
Try using the app called "Aparted" by Sylskat. I made an ext 4 with but I dont know what happened and it turned to ext 2, maybe my card doesnt support that kind of storage. But the partition I created with it works. Also it has swap support, if you want

Categories

Resources