I've been trying to install custom roms for a few days. Now I finally got one to work. But There is still one mega problem. I can't install or download anything from anywhere. Reason is probably that the cache is f'ed.
When I installed rom I alway got:
E:Can't mount /dev/block/mmcblk1p24 (invalid argument)
Error mounting /cache/!
Skipping format...
Cache wipe complete.
E:Can't mount /dev/block/mmcblk1p24 (invalid argument)
.
.
.
I tried fixing permissions, wiping dalvin cache and wiping data/factory and still the cache wouldn't mount!!!
Now when a rom finaly worked, I couldn't download any apps, because of cache issue. So I went to see what permissions the cache folder had, and it had all permissions.
What should I do now???
sventibolt said:
I've been trying to install custom roms for a few days. Now I finally got one to work. But There is still one mega problem. I can't install or download anything from anywhere. Reason is probably that the cache is f'ed.
When I installed rom I alway got:
E:Can't mount /dev/block/mmcblk1p24 (invalid argument)
Error mounting /cache/!
Skipping format...
Cache wipe complete.
E:Can't mount /dev/block/mmcblk1p24 (invalid argument)
.
.
.
I tried fixing permissions, wiping dalvin cache and wiping data/factory and still the cache wouldn't mount!!!
Now when a rom finaly worked, I couldn't download any apps, because of cache issue. So I went to see what permissions the cache folder had, and it had all permissions.
What should I do now???
Click to expand...
Click to collapse
It would be interesting to see how it's trying to mount the cache partition and what argument it's invalid. On a linux system this information can usually be found in a file called fstab in the /etc folder. I looked for a similar file on my Defy but haven't found one yet (I would need to make a thorough search to find that file) but if I remember well, on android emulator I saw file with a similar name, having the same content as a normal fstab file.
When I'll get home, I'll make a more thorough analysis on my Defy and if I will find something I'll post here my findings in order to help you fix the issue you're having.
FIXED!!! I used adb shell to format the CACHE: partition. It had errors! Now all is working!
The same problem
sventibolt said:
FIXED!!! I used adb shell to format the CACHE: partition. It had errors! Now all is working!
Click to expand...
Click to collapse
Can you explain how have you solved this error? I have the same problem!!! What is the shell command? Thanks!!!
Or you can wipe the cache in recovery, either stock or custom
mys_721tx said:
Or you can wipe the cache in recovery, either stock or custom
Click to expand...
Click to collapse
I've got the same problem and that hasn't worked for me. I'd also like to know how to wipe the cache using adb shell.
I've found the solutions:
in console:
> adb shell
$ su
(press ok when ask for permission on a device)
# format CACHE:
# exit
$ exit
but for me doesn't work
when I try "format CACHE:" I receive:
Code:
blk: partition "" size 1975545856 not a multiple of io_buffer_size 524288
mke2fs -m 0 -j -L cache /dev/block/mmcblk1p24 184467440
blk_format_ext2: failed to exec "/sbin/mke2fs_static": error -1
mke2fs 1.40.8 (13-Mar-2008)
mke2fs: Filesystem larger than apparent device size.
Proceed anyway? (y,n) y
y
Warning: 256-byte inodes not usable on older systems
Filesystem label=cache
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
11534336 inodes, 46116860 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1408 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
mke2fs: Invalid argument while zeroing block 46116832 at end of filesystem
Writing inode tables: 2/1408
Could not write 8 blocks in inode table starting at 65538: Invalid argument
blk_format_ext2: mke2fs returned 1
W:format: error formatting "CACHE:"
Any ideas? Please help
nero84 said:
I've found the solutions:
in console:
> adb shell
$ su
(press ok when ask for permission on a device)
# format CACHE:
# exit
$ exit
but for me doesn't work
when I try "format CACHE:" I receive:
Code:
blk: partition "" size 1975545856 not a multiple of io_buffer_size 524288
mke2fs -m 0 -j -L cache /dev/block/mmcblk1p24 184467440
blk_format_ext2: failed to exec "/sbin/mke2fs_static": error -1
mke2fs 1.40.8 (13-Mar-2008)
mke2fs: Filesystem larger than apparent device size.
Proceed anyway? (y,n) y
y
Warning: 256-byte inodes not usable on older systems
Filesystem label=cache
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
11534336 inodes, 46116860 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1408 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
mke2fs: Invalid argument while zeroing block 46116832 at end of filesystem
Writing inode tables: 2/1408
Could not write 8 blocks in inode table starting at 65538: Invalid argument
blk_format_ext2: mke2fs returned 1
W:format: error formatting "CACHE:"
Any ideas? Please help
Click to expand...
Click to collapse
I did the same as you with the same result, but followed it up by booting into recovery and then wiping the cache from there. That appears to have sorted the problem out. I can use the market again and when I'm in recovery the mount error problem has disappeared.
tim440 said:
I did the same as you with the same result, but followed it up by booting into recovery and then wiping the cache from there. That appears to have sorted the problem out. I can use the market again and when I'm in recovery the mount error problem has disappeared.
Click to expand...
Click to collapse
Which version of cwm have you install?
I use the v3.0.2.8 (the last one I think), installed by 2ndInit Recovery Installer v1.7
nero84 said:
Which version of cwm have you install?
I use the v3.0.2.8 (the last one I think), installed by 2ndInit Recovery Installer v1.7
Click to expand...
Click to collapse
Older than that I think. I'll have to check later. I did it in Stock Recovery anyway.
tim440 said:
Older than that I think. I'll have to check later. I did it in Stock Recovery anyway.
Click to expand...
Click to collapse
Ok...I'll try with Stock Recovery soon. For now i've had used only the Custom Recovery
EDIT: I can't use the Stock Recovery. If I tap on the right corner of the screen nothing happen
EDIT2: just press both volume-up AND volume-down at the same time (once you are in the Stock Recovery)...wipe all...and then WORK AGAIN!!!!!! Thank you so much!!!!!
tim440 said:
I did the same as you with the same result, but followed it up by booting into recovery and then wiping the cache from there. That appears to have sorted the problem out. I can use the market again and when I'm in recovery the mount error problem has disappeared.
Click to expand...
Click to collapse
Tks mates. It solve my prob like this too.
My short problem historic:
I bought a German Defy (2.1); I upgrade it with a bad Brazilian 2.2; I fixed with a good Brazilian retail 2.2 version (that Ifound in this forum) and I just fixed my last issue formatting the CACHE, exactly the same way (including the format error and the after cache wipe)
Cheers.
Hello everyone,
I have a Desire HD (Telus) rooted with Android Revolution 5.2.6 installed and 4ext recovery mod.
Overnight my phone locked up and then after popping the battery I could get maybe 30 seconds of use before it would crawl to a halt and lock up again.
I decided to try to wipe the phone and reinstall. Except all of the processes don't complete now. I'll either get (Error 1) or (Error 255) when trying to use the SuperWipe, install the ROM or use the "Wipe all partitions" option.
Right now it's in the 4ext recovery mod and since I've tried all of the wipe options is it safe to try to reboot (back into recovery) or have I wiped 4ext off as well? I have googled this and can't find an answer.
I've noticed that there is a new version of 4ext available (I have 4.1.3 RC2) but apparently the only way to update is via the app store - which obviously I can't do right now.
When trying to format system partition the screen goes blank for a few minutes and eventually returns to the main menu with no info other than a bunch of "E: Can't mount /cache/recovery" messages. The partition list shows system/data/cache as ext4 with only "iB" in the free column.
I'm not sure what to do. Can anyone offer some suggestions?
Here are some recovery log snips:
Code:
==============================================
| Wiping Script |
| This operation will remove all your data |
| You have 10 seconds to remove the battery |
| to cancel this procedure |
==============================================
unmount of /cache failed; no such volume
about to run program [/sbin/erase_image] with 2 args
1. Erasing & formatting EXT4 *CACHE* partitionCreating filesystem with parameters:
Size: 314572288
Block size: 4096
Blocks per group: 32768
Inodes per group: 6400
Inode size: 256
Journal blocks: 1200
Label:
Blocks: 76799
Block groups: 3
Reserved block group size: 23
Created filesystem with 11/19200 inodes and 2459/76799 blocks
(cache is unmounted already)
error: file_write: write: I/O error
E:Error in /sdcard/Android_Revolution_HD_Super_Wipe.zip
(Status 1)
Installation aborted.
MD5s are valid for the super wipe and the new rom:
Code:
Checking md5sum..
md5sum for this file:
89ad0a12c631e28d34d24ee3ea3d64c8
Checking md5sum..
md5sum for this file:
59531c9715527f5725cbd716dfae4549
Here's what happens when I try to flash the ROM:
Code:
===============================================
| Android Revolution HD |
Creating filesystem with parameters:
Size: 585104896
Block size: 4096
Blocks per group: 32768
Inodes per group: 7143
Inode size: 256
Journal blocks: 2232
Label:
Blocks: 142847
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/35715 inodes and 4603/142847 blocks
| by mike1986 |
| Be patient - 1st boot may take a while |
===============================================
>>> Formatting partitions
error: file_write: write: I/O error
E:Error in /sdcard/Android_Revolution_HD-4G_5.2.6.zip
(Status 1)
Installation aborted.
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
W:failed to mount /dev/block/mmcblk0p27 (Invalid argument)
W:Can't unlink /cache/recovery/command
-- Formatting boot...
Formatting /boot...
I:Formatting unknown device.
-- Formatting system...
Formatting /system...
Creating filesystem with parameters:
Size: 585104896
Block size: 4096
Blocks per group: 32768
Inodes per group: 7143
Inode size: 256
Journal blocks: 2232
Label:
Blocks: 142847
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/35715 inodes and 4603/142847 blocks
error: file_write: write: I/O error
Hmm... This is the Desire forum. Maybe posting in the Desire HD forum they would be able to help you.
Please post in the right section.
SwiftKeyed from dGB using Transparent XDA App
I'm using CWM on my XPERIA LT26i running fw 6.1.A.2.55 with a rooted OS.
If I get the following error in CWM, does that normally mean my internal memory is failing/about to fail???
CWM Recovery for 2012 Xperia v02
by kenjidct
Checking MD5 sums...
Restoring system...
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
Error while formatting /system!
E:Error in /cache/recovery/log
(I/O error)
/cache/recovery/log
Formatting /system...
Creating filesystem with parameters:
Size: 1073741824
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 4096
Label:
Blocks: 262144
Block groups: 8
Reserved block group size: 63
Created filesystem with 11/65536 inodes and 8536/262144 blocks
warning: wipe_block_device: Discard failed
error: file_write: write: I/O error
E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p12
Error formatting /system!
I can "doggedly" recover from this error my just keep formatting the /system partition and eventually it completes successfully.
I don't seem to get any operational errors when using my phone and my OS appears to be stable.
This only occurs when attempting to restore a previous backup and the restore fails on the /system partition when attempting to format it.
Manually formatting the /system partition also fails..but can successfully complete after a few attempts. (fingers crossed)
I have seen this 'type' of error reported in the XPERIA U/P/Sola forum too.
Is it possible (I have root access) to run fdisk on the /system partition and if so.. what do I need to do to do that.
And what are the risks?
Thanks for any advice.
[UPDATE]
Additional information that may alleviate my panic ... a bit. Found this in "Advanced Stock ICS Kernel for Xperia S" ROM
Build 14 :
New MMC driver (from codeaurora) : it fixes issue while formatting partitions in CWM
Wifi module built from source (in the ramdisk)
Updated recovery
Disable again hardware clock
Hello, since I just joined the forum I am unable to post in Development section. So I'll try my luck here.
I am running S-off with twrp recovery. When I try to install ViperINC it fails at the last step "installation" in AROMA. Basically I select everything I need in the AROMA click next it looks like its trying to install but then just finishes and pops up a next button. When I click it just says Enjoy you have successfully completed installation. Below is the info I was able to retrieve from twrp.
Thank you
AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers
ROM Name : ViperINC
ROM Version : 1.3.1
ROM Author : Team Venom
Device : HTC Droid Incredible 2
Start at : Tue Apr 2 17:27:53 2013
-> Executing Full Wipe
-> Preparing System for Full Wipe
Extract: /tmp/alignment/alignment.sh
Extract: /tmp/alignment/e2fsck
Extract: /tmp/alignment/mkfs.ext4
Extract: /tmp/alignment/tune2fs
-> Backing Up User Apps First
about to run program [/tmp/backupapps] with 1 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
-> Erasing & Formatting /cache as EXT4
unmount of /cache failed; no such volume
about to run program [/sbin/erase_image] with 2 args
Creating filesystem with parameters:
Size: 312475136
Block size: 4096
Blocks per group: 32768
Inodes per group: 6358
Inode size: 256
Journal blocks: 1192
Label:
Blocks: 76287
Block groups: 3
Reserved block group size: 23
Created filesystem with 11/19074 inodes and 2445/76287 blocks
error: file_write: write: I/O error
Installer Error (Status 1)
End at : Tue Apr 2 17:27:54 2013
Niskyspy said:
Hello, since I just joined the forum I am unable to post in Development section. So I'll try my luck here.
I am running S-off with twrp recovery. When I try to install ViperINC it fails at the last step "installation" in AROMA. Basically I select everything I need in the AROMA click next it looks like its trying to install but then just finishes and pops up a next button. When I click it just says Enjoy you have successfully completed installation. Below is the info I was able to retrieve from twrp.
Thank you
AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers
ROM Name : ViperINC
ROM Version : 1.3.1
ROM Author : Team Venom
Device : HTC Droid Incredible 2
Start at : Tue Apr 2 17:27:53 2013
-> Executing Full Wipe
-> Preparing System for Full Wipe
Extract: /tmp/alignment/alignment.sh
Extract: /tmp/alignment/e2fsck
Extract: /tmp/alignment/mkfs.ext4
Extract: /tmp/alignment/tune2fs
-> Backing Up User Apps First
about to run program [/tmp/backupapps] with 1 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
-> Erasing & Formatting /cache as EXT4
unmount of /cache failed; no such volume
about to run program [/sbin/erase_image] with 2 args
Creating filesystem with parameters:
Size: 312475136
Block size: 4096
Blocks per group: 32768
Inodes per group: 6358
Inode size: 256
Journal blocks: 1192
Label:
Blocks: 76287
Block groups: 3
Reserved block group size: 23
Created filesystem with 11/19074 inodes and 2445/76287 blocks
error: file_write: write: I/O error
Installer Error (Status 1)
End at : Tue Apr 2 17:27:54 2013
Click to expand...
Click to collapse
Try and wipe first with twrp or chillys super wipe. Then in aroma skip wipe option and see if that works.
First of all, did you flash the ICS firmware?
Use another recovery , download 4ext , I have the same problem with twrp
Sent from my ADR6350 using xda premium
felixjohan said:
Use another recovery , download 4ext , I have the same problem with twrp
Sent from my ADR6350 using xda premium
Click to expand...
Click to collapse
I agree with this and the wipe option. Super wipe first, do a "dirty flash" in AROMA. Maybe twrp isn't mounting your system correctly.
It also seems you have twrp backing up your apps before a wipe and install. See if changing that helps.
brymaster5000 said:
I agree with this and the wipe option. Super wipe first, do a "dirty flash" in AROMA. Maybe twrp isn't mounting your system correctly.
It also seems you have twrp backing up your apps before a wipe and install. Your kernel it's amazing !!!! , good work!
Sent from my ADR6350 using xda premium
Click to expand...
Click to collapse
resolv of problem
If not twrp in aroma installer chose dont wipe and wipe manually later after install
what recovery is better for venom install I want to do it too?
felixjohan said:
Use another recovery , download 4ext , I have the same problem with twrp
Sent from my ADR6350 using xda premium
Click to expand...
Click to collapse
farees107 said:
what recovery is better for venom install I want to do it too?
Click to expand...
Click to collapse
4ext is the best for HTC phones
Enviado desde mi VS840 4G mediante Tapatalk
Hello,
I compiled aosp for my nexus 7 2013 works fine, but i wanted to add apps and tweak things like bootanimation.zip and remove things like email app, i don't use it why waste space. I use the the follow to allow edits
simg2img system.img system.img.raw
mkdir system
sudo mount -t ext4 -o loop system.img.raw system/
I add my edits and than use this but get and error
[email protected]:~/Downloads/imagedisassemble$ sudo ./make_ext4fs -s -l 512M -a system mesystem.img system/
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
error: do_inode_allocate_extents: Failed to allocate 3 blocks
I have tried to change 512M to 600M it will finish without error, however when I flash with fastboot flash system system.img, I get stuck on the Google screen and have to force off with power and get into bootloader to try again.
Any help would be great
Thanks
Tony