Well I wanna know whats the problem, First time I use Gingerdx ROM I had no prob with link2sd, I choose EXT3 and app created script easily; But now It gives me this error "Mount script cannot be created. mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy"
Don't know wtf is wrong with most cm7 roms which has such this errors always x( But there's no error/problems on cm9 and 10
I repartitioned my sd
I delete all a2sd dc2sd all scripts in Int.d, nothing happened, still give me that error
I try most cm7 roms, I said this before
... (((((((((((((
Same happens with me. I too switched to another rom & it works fine then.
Sent Via XDA™ Premium
I run cm 7.2 and link2sd works fine, I chose ext4 and after a couple of restarts it created the script and is working well since then.
Related
Hi,
I must admit I'm not the most experienced Desire user. I've tried some ROM's but stumbled on the fact that the internal space is way to small to install all the apps I used.
So I tried flashing data2whatever when I was using the Leedroid 2.3d ROM. First off all I used GParted to make an ext4 partition of 1024MB. I downloaded data2whatever and flashed it with Clockwork. Everything looked ok in CWM, but when I rebooted I still had the same small internal memory.
So I decided to give Starburst a try with the data2sd script. Still doesn't work.
Now I looked in the mount / storage menu, the sd-ext seems not to be mounted. If tried to mount it trough clockwork but I keep getting an error. I've searched the forums but cant seem to find a fix for this.
Can anyone help me with this issue?
Redo your partitions and make sure you follow the requirements in the rom thread. Also make sure your card is in a card reader or your phone in recovery.
I did exactly what I found in this thread: http://forum.xda-developers.com/showthread.php?t=932824
Still can't mount it in recovery, I get the error message:
E:/Can't mount /dev/block/mmcblk0p2
(file exists)
This looks like the reason data2sd doesn't work to me. I suppose normally it is shown in recovery?
reemprive said:
I did exactly what I found in this thread: http://forum.xda-developers.com/showthread.php?t=932824
Still can't mount it in recovery, I get the error message:
E:/Can't mount /dev/block/mmcblk0p2
(file exists)
This looks like the reason data2sd doesn't work to me. I suppose normally it is shown in recovery?
Click to expand...
Click to collapse
I had that exact issue and it was a corrupt SD card in the end... there is some references of fixes though for that issue.
reemprive said:
Hi,
I must admit I'm not the most experienced Desire user. I've tried some ROM's but stumbled on the fact that the internal space is way to small to install all the apps I used.
So I tried flashing data2whatever when I was using the Leedroid 2.3d ROM. First off all I used GParted to make an ext4 partition of 1024MB. I downloaded data2whatever and flashed it with Clockwork. Everything looked ok in CWM, but when I rebooted I still had the same small internal memory.
So I decided to give Starburst a try with the data2sd script. Still doesn't work.
Now I looked in the mount / storage menu, the sd-ext seems not to be mounted. If tried to mount it trough clockwork but I keep getting an error. I've searched the forums but cant seem to find a fix for this.
Can anyone help me with this issue?
Click to expand...
Click to collapse
Did you follow the Starbust istructions? Did you install Data2SD script after a first boot without it?
I've Starbust Rom with 1GB of internal memory on ext4 SD... and works like a charm
Hi,
Thanks for the replies. The weirdest thing happened. This morning I booted my phone and the sd-ext was mounted! I was tried everything I could last night, nothing worked. And now everything is working like a charm,
I flashed Starburst and the ext4 partition gives me a gig space.
Sorry for anyone looking for answers, I don't have a clue what might have caused this.
Sent from my HTC Desire using XDA App
I've just installed a new ROM (custom cm7) and when I try to select the partition, it gives me this error:
"Mounting script error
Mount script cannot be created;
Code:
mount:mounting /dev/block/vold/179:2 on /data/sdext2 failed: Invalid argument
"
I had same problem, when doing a factory reset with cwm it formats sd-ext too.
I don't remember exactly but i think it formats it to ext-3.
So connect your sd to your pc and format to whatever you want.
Sent from my GT-S5660 using xda app-developers app
afonsus1997 said:
I've just installed a new ROM (custom cm7) and when I try to select the partition, it gives me this error:
"Mounting script error
Mount script cannot be created;
Code:
mount:mounting /dev/block/vold/179:2 on /data/sdext2 failed: Invalid argument
"
Click to expand...
Click to collapse
Some roms just dont work with symbolic links, no matter how you try to mount the ext, with hacks, scripts, w/e.. i learned to give up in such cases and look for alternatives, i could not get it to work not even with hacks and stuff, it might be related to specific kernel build..for instance, my current 7.2 rom in no way works with link2sd, app2sd, etc, but i got it to easily work with s2e (simple2ext) with a standard ext2 partition.. this program does not offer per-app basis control, but you can move to sd any of the: app folder, app data folder, dalvik folder, download cache folder..you can move to sd all of them or just the ones you want.. for instance, i moved to sd dalvik (90 mb), app folder (108 mb) but left in phone memory the app data folder which is in my case 78 mb, because that app data folder seems to have more influence on the performance than theapp folder, hence i prefer it on phone memory
as i said, s2e does not offer per-app control but rather per-folder, but it gets the job done.. "invalid argument" error was for me a dead end, but maybe you can get lucky
Its because your SD-EXT is not Ext-4
Try do it with phiex recovery, has the option to create a ext-4 or in your pc with magic partition
I've read a few posts about this, and it seems you need to format the partition to ext4. I guess the other options are for if you want extra partitions.
My phone is running cm-10.1-20130111-UNOFFICIAL-gio and gapps-jb-20121212-signed, and there was no problems with using link2sd.
alloydog said:
I've read a few posts about this, and it seems you need to format the partition to ext4. I guess the other options are for if you want extra partitions.
My phone is running cm-10.1-20130111-UNOFFICIAL-gio and gapps-jb-20121212-signed, and there was no problems with using link2sd.
Click to expand...
Click to collapse
Not really, it just gives you the option to choose what filesystem you want to use.
They all have their own advantages.
I believe it is either ext-2 or ext-3 that has the best speed, while ext-4 has a protection against corrupted files.
But if link2sd asks you what filesystem your using,
and you tell it you have ext-2 while you have ext-4, it wont work because it has to create another mount script for that filesystem.
So the problem here is either a rom that doesnt support these kinds of links or you chose the wrong filesystem (or you have no 2th partition at all).
Sent from my GT-S5660 using xda app-developers app
Did you partition with cwm? Than it's EXT4
Sent from my GT-S5660 using xda app-developers app
Dear enthusiastic helpful geeks
I have an interesting challenge for all those who are interested.
I am android fan, amateur and a doctor by profession.
I have 3 years old HTC Desire Bravo GSM
I rooted using Unrevoked 2 years ago and used CyanogenMod.
I have been using S2EXT app all these years to solve the well known internal memory problem.
I found Jelly Bean very interesting and flashed the VJ 4.2.2 CM10.1 V6.3
I just love it.
With terminal emulator, I used the commands as instructed and had this message.
$ su
# a2sd install
Found block device: /dev/block/mmcblk0p2
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
setting flag a2sd
/system/bin/a2sd: line 73: /sd-ext/.a2sd: Read-only file system
chmod: /sd-ext/.a2sd: No such file or directory
Would you also like to move DALVIK-CACHE?
You can later undo this with 'nocachesd' (y|n)
I came to know SD EXT is not mounted
Tried mounting sdext through ROM manager and got the message
E:Can't mount /dev/block/mmcblk0p2
(File exists)
I flashed back CM 7 reluctantly
SD ext did not mount at first.
I downloaded S2EXT and I had to tick the box which said Mount as ext4 (mount sd-ext as ext4 without journaling)
Now, the disabled options got enabled and I could ask for the movement of applications, dalvik cache and rest of the stuff to sd ext.
I have the log generated by S2EXT app about what happened.
Initialization...
Ext partition found: /dev/block/mmcblk0p2
Use built-in tune2fs
Use built-in e2fsck
Setup read_ahead value
Start mounting /dev/block/mmcblk0p2 as ext4
Setup options to /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
Checking /dev/block/mmcblk0p2:
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 839/262144 files (3.5% non-contiguous), 196501/1048576 blocks
Disabling journaling on /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
tune2fs 1.41.12 (17-May-2010)
Mounting /dev/block/mmcblk0p2...
/dev/block/mmcblk0p2 successfully mounted!
Config found on /data/data
Status dir not found! Create...
Config now on /data/data
Unmount /cache/download...
/sd-ext/download mount as /cache/download
Phone details
BRAVO PVT3 SHIP S-ON
HBOOT-0.93.0001
MICROP-051d
RADIO-5.11.05.14
Aug 10 2010,17:52:18
Unrevoked to root
Main and returned to CyanogenMod 7.2.0.1
ROM Manager
Clockworkmod revovery
S2EXT
GParted partitioning SD Card
1. Primary ~14GB FAT32
2. Primary ~1GB ext4
I want to use CM10.1 VJ version 6.3 and to be able to mount SD Ext and move apps to it so that my internal memory does not get full.
S2EXT can fix this issue but is not compatible with JellyBean. - How could it do? Can I do it somehow?
Why is that mounting SD Ext and moving apps is not possible on VJ version?
I am not so confident in using adb shell and other advanced stuff as advised in the forum.
Hence, writing all I know to see if someone can spot a solution and help me solve it in a simpler way.
Help me enjoy the Jelly Bean and make my Desire Re-Live !
[/FONT][/SIZE][/SIZE][/FONT][/FONT][/SIZE][/SIZE][/FONT][/FONT]
I suspect ROM manager may have caused a problem, it's a known issue that that app is bad for Desire. Mounting the ext-ext may have screwed it up somewhere.
Uninstall it.
I would backup the FAT32 bit of the sd card to PC, delete all partitions and repartition using gparted again, just in case. You can go for 1.5-2GB if you really don't want to run out of space.
Then reflash the rom, follow the instructions to use A2SD, don't bother with S2E anymore.
Up to you, I would also consider going s-off as well, it's a lot more advantageous. You can then do things such as change hboot for smaller ROMs and have even more space for apps. You could also install 4EXT recovery (see my sig), and do the partitioning using that recovery too.
Thanks a lot
Thanks Eddiehk6 for your wonderful advice.
ROM manager - I can uninstall it.
I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.
Advice on SD ext size is useful. I shall do it.
S2E does not work with Jelly Bean anyway
I shall try 4ext recovery.
Thanks once again.
I will update this for future reference of someone like me
gagbel
gagbel said:
ROM manager - I can uninstall it.
I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.
Click to expand...
Click to collapse
Yes, uninstall ROM manager. It's not all bad, just very bad with this phone, you don't need it.
As for the BETA key, just make sure you type it exactly, or copy / paste (but make sure you don't copy any leading or trailing spaces). Most likely you confused an i or 1 or L or O or 0 somewhere.
Update
Dear Eddiehk6
Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.
A2SD Termminal emulator again had problems with mounting of SD EXT !
I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !
Memory was still consumed. Apps were there but not seen.
I finally gave up at early hours of the morning and went back to CM7 reluctantly.
The log from S2E has a clue. I just don't know how to use that clue.
Have a look above at the orange log of S2E if you can and see if you understand please.
My search tells me that I should have some adb shell knowledge to solve it and I don't !
I am ok with old ROM. Help me if you can to make my Desire live longer.
gagbel
gagbel said:
Dear Eddiehk6
Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.
A2SD Termminal emulator again had problems with mounting of SD EXT !
I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !
Memory was still consumed. Apps were there but not seen.
I finally gave up at early hours of the morning and went back to CM7 reluctantly.
The log from S2E has a clue. I just don't know how to use that clue.
Have a look above at the orange log of S2E if you can and see if you understand please.
My search tells me that I should have some adb shell knowledge to solve it and I don't !
Click to expand...
Click to collapse
At least you're s-off now which is good
So how did you partition your sd card? I know you have 4EXT and it's easy to partition with that, but I would personally stick to gparted in this instance as you need to start from scratch, also you've used it before anyway?
Make sure you backup the sd card, then delete all partitions first (don't resize). Then make one FAT32 partition, and one (~1.5GB) ext4 partition, no swap.
Within 4EXT recovery there should be an option to check the partitions are aligned, do this (they should be if properly done in gparted, but worth a check)
Full wipe again, reflash rom just to be sure.
Try getting the terminal emulator commands working first, follow all instructions exactly. Don't use another app or script for now, start clean and get it working.
If you still get the error, /dev/block/mmcblk0p2 error, I think this may be related to a usb brick, not absolutely sure, there is 'USB unbrick' option within 4EXT as well, try that.
I am ok with old ROM. Help me if you can to make my Desire live longer.
gagbel
Click to expand...
Click to collapse
CM7 is still fine, just because it's 'old' doesn't make it bad, the Desire can still live long. Now that you're s-off you can even change hboot with that ROM and get more internal memory if you like, even more space for apps
I'm still on a GB ROM myself nothing wrong with it. Stable, battery is fine for me. Regardless you should still be able to get A2SD working.
Update
Thanks Eddiehk6
I would try all that you told me.
I had used 4ext recovery as I was exited with the S-OFF and Change of recovery status of my phone.
I would try and do clean start again and see.
The link I was mentioning which involves adb shell knowledge is the message #4 in this link http://forum.xda-developers.com/showthread.php?t=848967
recurrent theme is e2fsck. I don't know how to use these codes: Terminal emulator / adb shell ? But I would try your method as I can do them.
I would also check alignment through the recovery.
Mildwild download link is broken. I would try for JB first and then if no luck, I would try GB. Its just that in my nexus7, I am used to JB.
CM7 is most stable I have seen ( i have used only one ROM so far I am quite happy with it too.
Thanks for all the support.
gagbel
Another useful link
Another useful link which I don't know how to use as I don't have adb shell knowledge.
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/#entry56396
Solved
Problem was with mounting ext 4 of my card
S2e could mount it
But s2e was not compatible with 10.1 of cyanogenmod
Hence I put 10 version
Used s2e to mount
It did not move apps
Used terminal emulator as per instructions by vj
All worked thanks all of you
Sent from my HTC Desire using xda app-developers app
guys how can i fix the error "Mount script error" "mount script cannot be created" on link2sd. i tried already to create second partition with minitool partition but still shows the same same same same message toast.. I'm using CyanogenMod 13 and rooted properly
Link2sd not work with mm rom
Hallo, I read a lot, but can't find any solution so far.
I have a rooted LG G3 D855 with android 6.0.1 Resurrection Remix 5.7
The problem is link2sd don't recognize the ext4 partion on the SD card and as soon I reboot, Marshmallow format partion as portable storage, and I need to start over again creating a second ext4 partion.
Started with MiniTool Partition to create two partions (FAT32 and ext4) on my SD card. Installed link2sd + and started the app, but the error: "mounting /dev/block/vold/179:66 on /data/sdext2 failed: No such file or directory"
Than I found this blog.sam.liddicott.com/2016/02/ and could do as told with ADB to create a mixed volume of 75%, but the other 25% was not approachable for link2SD, and still got the same error.
Than I found blog.icefusion.co.uk/cyanogenmod-and-link2sd Started to test init.d which was working, but than tried to create the mentioned script and that is a little over my hat, because I'm bit noob about writing Linux. So I just copy/paste but got an error. So that didn't work out. I don't how to create a script to put in etc/init.d, if so this solve the problem.
In the meanwhile I try to find an easier solution to this problem, from which I don't think I'm the only one.
May here someone to know to solve this??? I will be greatfull. Thanx