Suddenly my ClockworkMod recovery started to fail on acessing sd-ext.
My SD-EXT is an EXT4 partition, and I have done severall ROM backups before.
Now it just can't access SD-EXT. If I try to backup the ROM it returns the error:
E:Can't mount /dev/block/mmcblk0p2
(File exists)
I'm using version 2.5.0.1 of ClockworkMod Recovery but I also tried many older versions and the error is the same. The partition is working perfectly from A2SD...
I googled a lot and found many people with an issue like this, but no answers. What can I do?
did the backup work before?
As far as I know, ClockworkMod works by 'live patching' the normal recovery. So it has to use the normal recovery's kernel... which I think don't supports ext4.
you have to flash recovery via unrevoked, only then youll get a possibility to mount/format/backup your ext
It might be the Ext4 but I'm almost sure that it was working after I switched from Ext3
Sent from my HTC Desire using XDA App
I flashed clockworkmod from unrevoked for the first time, but Ive been using Rom manager's versions ever since with success.
Sent from my HTC Desire using XDA App
I dont know why it does not support ext4 :s
Sent from my HTC Desire
The latest version of Clockwork suppports EXT3 and EXT4 perfectly.
Are you using ROM Manager? if not, I urge you to do so. In ROM Manager, check that Clockwork Recovery is at version 2.5.0.1. If not, update it.
I've been using ROM manager. Recovery version 2.5.0.1
Just can't access Sd-ext from whithin recovery
Sent from my HTC Desire using XDA App
Help...
Sent from my HTC Desire using XDA App
same here, with ext3 all is working but not with ext4 =(
Is there an easy way to copy the contents of the sd-ext partition to the Pc? (So I can go back to ext3 without wiping everything)
Sent from my HTC Desire using XDA App
Maybe a live linux could help you out. Just boot from the cd then plug your phone in, it should now detects all your partitions.
Sent from my HTC Desire using Tapatalk
cant mount sd-ext
hi.. any solution found to clockworkmod not being able to
mount the sd-ext?
i am trying to flash an a2we rom and can not because every time i partition my sd to ext4 (folowing a fat32 partition) i get this message from cmw2.5.0.7/3.0.0.5:
"cant mount sd-ext! (files exists)"
ehwn i try to wipe to factory defaults.
any ideas?
Hi are you sure a2sd is zip aligned and set up properly. Download terminal emulator from the market and type su (enter) a2sd check (enter) it will tell you if its working. if a2sd is not configured properly you can type su (enter) a2sd zipalign (enter) a2sd cachesd (enter)
Sent from my HTC Desire using XDA Premium App
Hi if you download root explorer and longpress on your SD ex you should get the option to copy.do this and paste it into your SD card folder. connect to PC and copy your sd ex folder that you previously pasted.
Sent from my HTC Desire using XDA Premium App
Oops... can't delete this
Sent from my HTC Desire using XDA App
Hi all!
The linux solution works great but forces me to several minutes of waiting and I am also forced to use a laptop.
In other words, when I have not my laptop handy I can't do the trick.
I've asked the developer (hi Vache!) who ported clockworkmod to my beloved Acer Liquid Metal but then I thought...
It is such a simple thing: just a copy.
So I'd like to prepare a bash script to copy all the needed files from the sd-ext to fat32 sd and vice-versa.
The data is normally in /data/sdext2 but I'd need to mount it "manually" if it's not mounted (e.g. new rom flash)...
Using:
mount /dev/block/mmcblk0p2 /data/sdext2
will do the trick or I could destroy anything? à_à
As soon as I finish the script I'll post it.
fat 32 file system cannot preserve the permissions of files. So you can't do a simple copy. You can therefore do two things, one do as the recovery does, with a dd if/of command. Second solution is to simply do a tar backup.
su
mkdir /sdext
mount -t ext4 /dev/block/mmcblk0p2 /sdext
busybox tar cvvf /sdcard/mybackup.tgz /sdext
To restore,
su
mkdir /sdext
mount -t ext4 /dev/block/mmcblk0p2 /sdext
cd /
busybox tar xvvf /sdcard/mybackup.tgz
You may need to run it from recovery. su may not be needed, and if it is, you may need to mount system for busybox and su
Related
Basically, every time I go to clockwork recovery and try to wipe data and cache, I get this error.
cant mount block /dev/block/mmcblk0
I have reformatted many times my sd, even with rom manager but with no luck.
Still get the same error.
From what I understand, if I flash a rom that supports aps2sd+ then I cant install any apps from market because it cannot mount my sd card.
You probably have an ext2 partition which clockwork can't handle. I had to convert mine to ext3 to be able to format it in recovery. Apps were still being saved there, though.
Sent from my HTC Desire using Tapatalk
jastonas said:
Basically, every time I go to clockwork recovery and try to wipe data and cache, I get this error.
cant mount block /dev/block/mmcblk0
I have reformatted many times my sd, even with rom manager but with no luck.
Still get the same error.
From what I understand, if I flash a rom that supports aps2sd+ then I cant install any apps from market because it cannot mount my sd card.
Click to expand...
Click to collapse
I had this problem while my ext was ext4. I had a ROM that was OK using ext4 but clockwork wouldn't back it up, so I reformated SD with ext3.
Sent from my HTC Desire using XDA App
pexon said:
I had this problem while my ext was ext4. I had a ROM that was OK using ext4 but clockwork wouldn't back it up, so I reformated SD with ext3.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Everything ok now....
Sent from my HTC Desire using XDA App
Hello all,
Just rooted my Desire (finally).
I can get su just fine... cool.
Now I have been reading that to get rw on /system I need to be in recovery and use adb. Is this the only way to get this rw?
Also where does the mounting of these fs take place? I found /etc/vold.fstab but that on is just for the sdcard.
If I can change the boot mount parameters would be great.
I also created an ext4 partition. Didn't try to mount it yet. But if I add this to the vold.fstab, when does the system mount it, at the end of the boot process or at the beginning? Because I was wondering if I can mount it and move/link some stuff to this partition aka app2sd to save some internal storage.
BTW I am running the HTC Desire unbranded stock rom (still).
Thanks.
R
Only other way to get ro is to s-off with alpharev.
There are two scripts for apps2sd I've used. Firerat's and darktremor's. If you search the cyanogen mod nightly their links are in there.
Ok. Will read about that... thanks.
Sent from my HTC Desire using Tapatalk
rottunix said:
Hello all,
Just rooted my Desire (finally).
I can get su just fine... cool.
Now I have been reading that to get rw on /system I need to be in recovery and use adb. Is this the only way to get this rw?
Also where does the mounting of these fs take place? I found /etc/vold.fstab but that on is just for the sdcard.
If I can change the boot mount parameters would be great.
I also created an ext4 partition. Didn't try to mount it yet. But if I add this to the vold.fstab, when does the system mount it, at the end of the boot process or at the beginning? Because I was wondering if I can mount it and move/link some stuff to this partition aka app2sd to save some internal storage.
BTW I am running the HTC Desire unbranded stock rom (still).
Thanks.
R
Click to expand...
Click to collapse
Please search and read before posting.
Sent from my Evil Lair using Doomsday Device
Hey,
Recently I've partitioned an 8GB SD-card through RA Recovery v2.0.1 to have a 1024MB EXT4 partition without swap (later I tried EXT2, EXT3 and an aligned EXT4 as well).
After installing a ROM said to be compatible with A2SD, the latest Supernova 2.4.0.1, it did not show the additional storage room that should be available from the SD partition.
Also when using a terminal emulator app, after granting it Superuser permission, I could not get any evidence on my phone being able to see the SD partition. "a2sd" and "app2sd" commands are not recognized and the "busybox df -h" and some other command did not return any evidence on an SD partition being present.
Other ROMs I've tried installing were the latest Cool3D RunnyMede and the Runnymede&Bliss.Mix ROMs. Both froze at their boot screens (due to not being able to access SD partition?).
Some (additional) information on my HTC Desire:
- GSM
- Stock HBOOT
- Stock radio
- RA Recovery v2.0.1
So yeah, I was wondering if you guys could help me on getting my SD partition to function Thanks in advance!
I've got the _exact_ same problem. I hope someone at XDA can help, because I'm eager to try Chrome Beta on my Desire with ICS.
Sent from my G100W using XDA
Try redo it with gparted or flash 4ext recovery if s-off
Sent from my HTC Sensation XE with Beats Audio using XDA Premium App
Thanks for the reply!
But sadly I won't be able to confirm whether that would've fixed my problem. I switched to MildWild's CM 3.8 ROM and that alone had my SD partition working for me.
Although it initially didn't appear to have the extra storage room (it displayed around 120MB in the Applications and Storage menus), I soon noticed that after installing a new app, that amount would first drop but then rise back to ~120MB again.
Typing the "busybox df -h" command in the Terminal Emulator confirmed that there was indeed a 1GB partition present from something called "sd-ext"...which would be the partition I made!
But could it be that I have to install A2SD+ separately for certain ROMs and is included in others?
Some like CM need this setup - mostly run AOSP roms myself but boot loops point to issue with the SD-ext partition. As was said earlier Gparted is the way to go to partition, and will align perfectly as well - if it were me I'd nandroid including sd-ext if separate in AmonRa (I use 4EXT Touch Recovery myself), copy sd contents to PC as back up, and re-do partitioning in Gparted.
Hi, I am a total newbie and I rooted my phone (HTC Desire) and have obviously misread some instruction as I seem to have created and Sd-ext partition on the internal drive instead of the external.
I installed JB4.1.1 which is nice and I like it but whenever I try to use the camera I get a "Gallery closed" error. I'm wondering if these can be linked and if the sd-ext partition shouldn't be there? Perhaps the gallery is trying to save in the wrong place or something? I am clutching at straws to thi problem.
How can I safely remove this partition and reclaim it back if it shouldn't be there?
Sorry for being a complete tube!
Malk
How did u manage to make an ext partition on the internal?
Tell us everything you have done.
Sent from my HTC Desire using xda app-developers app
I think it is on the internal????
I went into recovery and created it?
Options I have are:-
mount /data
mount /sdcard
mount /system
mount /sd-ext
Malk
malkthealk said:
I think it is on the internal????
I went into recovery and created it?
Options I have are:-
mount /data
mount /sdcard
mount /system
mount /sd-ext
Malk
Click to expand...
Click to collapse
I highly doubt you made the partition on your internal. That would be difficult if not impossible.
Im guessing you just incorrectly made the partition.
Are you s-off? If so download the 4ext recovery app from http://4ext.net/. Install the apk and choose Online Install | Upgrade
It will ask if your phone is the HTC Desire GSM. Say yes, unless your phone isnt. (then go to the right forum )
Then you will see a list of all the different versions. Click on the latest one, and then install. It will tell you if it flashed succesfully, and then you can exit the app. To confirm it installed: turn off the phone, then turn it back on using power button + volume down. Then in bootloader select recovery. 4ext should come up instead of cwm.
Once you successfully have 4ext recovery installed look at this guide to see how to properly make the ext partition. Use the 4ext method and start at step [4].
Finally after you have done that, i would recommend doing a full wipe (everything except sd card) and reflashing the rom.
Many thanks, I'll try this. Good to know I couldn't screw anything up
Malk
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