[Q] Empty phone, error when flashing - Android Software/Hacking General [Developers Only]

Hello, Had a problem on my phone, so I decided to make a new installation
of CM7.
did a nandroid, backed up the entire sd card to my hdd.
wiped the phone completely, and formatted the sd card.
Now to the problem.
When I power on the phone, choose recovery then, "vol+ power".
in android system recovery I can choose,
reboot system now
apply sdcard:update.zip
wipe data
wipe cache.
when I choose apply update, I get an error,
E:reading package... retry 1 counting to 10.
E:Can't mound /dev/block/mmcblk0o1 (or /decblok/mmcblk0)
(Invalid argument)
E:Can't find /sdcard/update.zip
Installation aborted.
Please can someone help me so that I can use my phone again!

Related

[Q] HTC Desire upgrade problem

Hi,
I have a HTC Desire android phone.
I have downloaded the update package.
The installation started and my device has been rebooted, but then there was an error msg. After pressing the power button I had the following:
ClockWorkMod Recovery v2.5.0.1 Finding update package... E:can't mount /dev/block/mmcblck0 (or /dev/block/mmcblk0p1) (No such file or directory) E:can't mount SDCARD:download/OTA_Bravo_Froyo...zip Installation aborted There is a menu: -reboot system now -apply sdcard:update.zip -wipe data/factory reset -wipe cache partition -install zip from sdcard -nandroid -partitions menu -advanced
Can you please help me with this issue?
I am new to android, so please consider it ))
Thanks a lot
PAvel
What's your sd card? The class is sometimes printed on the card itself, brand and size too. Have your tried to reformat it?
I just took my Desire to the shop I bought it and the technitian made it in 15 minutes.
He didn't want to tell the trick but I guess he just installed it using application installer from the PC.

[Q] Confusing software brick

Hey all:
While I consider myself quite technologically inclined, it appears that what I think and what reality is are quite different things. Thus, I look for advice from this wonderfully adept community (I've surfed around quite a bit, but I've never had to ask anything).
Here are my phone's specs:
Model: i9020A
Carrier: Koodo
The short story:
because, currently, there's only ICS for the GSM version of the phone, I thought I'd try flashing the GSM version of ICS onto my phone, then load the radio settings for my phone type so that it would work. It didn't. I was able to load ICS, and it worked great; the radio settings for the i9020A, however, didn't load up. As a result, I tried to reload the stock 2.3.6 onto the phone, and I seemed to have failed miserably.
I'm now at the following point:
Normal boot: only loads to the Google screen (with the padlock)
Fastboot Mode: here's the information.
Product Name - HERRING
HW Version - REV 16
Bootloader Version: I9020XXKL1
Baseband Version: I9020XXKI1
Carrier Info: ATT
Serial Number: 3935CEB394BE00EC
Lock State: Unlocked
When I select "Recovery," it briefly goes to the Google screen (with the unlocked padlock at the bottom), then loads into ClockworkMod Recovery v3.0.0.0
Here are the below options:
- reboot system now
- apply update from sdcard
- wipe data/factory reset
- wipe cache partition
- install zip from sd card
- backup and restore
- mounts and storage
- advanced
- GO BACK
Below these options is the following information:
ClockworkMod Recovery v3.0.0.0
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/command
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
Essentially, what I am asking is if there is anyway to load the original 2.3.6 for the i9020A on here. If I'm able, then I'll patiently wait for the ICS OTA.
Any help that anyone can provide would be immensely appreciated. If there's any other information I can provide, such as pictures, I'd be more than happy to provide that.
Thanks so much.
rcm8 said:
Hey all:
While I consider myself quite technologically inclined, it appears that what I think and what reality is are quite different things. Thus, I look for advice from this wonderfully adept community (I've surfed around quite a bit, but I've never had to ask anything).
Here are my phone's specs:
Model: i9020A
Carrier: Koodo
The short story:
because, currently, there's only ICS for the GSM version of the phone, I thought I'd try flashing the GSM version of ICS onto my phone, then load the radio settings for my phone type so that it would work. It didn't. I was able to load ICS, and it worked great; the radio settings for the i9020A, however, didn't load up. As a result, I tried to reload the stock 2.3.6 onto the phone, and I seemed to have failed miserably.
I'm now at the following point:
Normal boot: only loads to the Google screen (with the padlock)
Fastboot Mode: here's the information.
Product Name - HERRING
HW Version - REV 16
Bootloader Version: I9020XXKL1
Baseband Version: I9020XXKI1
Carrier Info: ATT
Serial Number: 3935CEB394BE00EC
Lock State: Unlocked
When I select "Recovery," it briefly goes to the Google screen (with the unlocked padlock at the bottom), then loads into ClockworkMod Recovery v3.0.0.0
Here are the below options:
- reboot system now
- apply update from sdcard
- wipe data/factory reset
- wipe cache partition
- install zip from sd card
- backup and restore
- mounts and storage
- advanced
- GO BACK
Below these options is the following information:
ClockworkMod Recovery v3.0.0.0
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/command
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/log
E: Can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
E: Can't find misc
E: failed to find "cache" partition to mount at "/cache"
Essentially, what I am asking is if there is anyway to load the original 2.3.6 for the i9020A on here. If I'm able, then I'll patiently wait for the ICS OTA.
Any help that anyone can provide would be immensely appreciated. Thank you all kindly in advance.
Click to expand...
Click to collapse
Do you have a backup that you can restore? If not, grab the 2.3.6 update from here http://forum.xda-developers.com/showthread.php?t=1063664 and try a flesh install.
You should also flash a new radio, I didn't have any luck with the KI1 radio on my i9020a.
Not saying this will help at all but have you tried the latest version of clockwork mod your version seems to be very old. Try this one and see if it helps Clockwork 5.0.2.3
Thanks a ton for this. I'm a bit of a noob with this, so any other information, i.e., how to flash it properly, would be super helpful.
Again, thanks a bunch for the reply!
rcm8 said:
Thanks a ton for this. I'm a bit of a noob with this, so any other information, i.e., how to flash it properly, would be super helpful.
Again, thanks a bunch for the reply!
Click to expand...
Click to collapse
Download this LINK put it on your internal sd card boot up into recovery then do a full wipe in clockwork mod and flash the ROM it contains recovery, radio and bootloader. So you will be back to stock and can follow one of the guides on here to get back onto which every rom you choose.
Will do.
Thanks again!
FeaRThiS said:
Download this LINK put it on your internal sd card boot up into recovery then do a full wipe in clockwork mod and flash the ROM it contains recovery, radio and bootloader. So you will be back to stock and can follow one of the guides on here to get back onto which every rom you choose.
Click to expand...
Click to collapse
Okay, so I've downloaded the file, then put it onto the sd card.
I then boot into Fastboot Mode, then go to Recovery. I do the following here:
- wipe data/factory reset, then "Yes - delete all user data". It says the following:
-- Wiping data. . .
Formatting /data. . .
Formatting /cache. . .
E: format_volume: no MTD partition "cache"
Formatting /sd-ext. . .
Formatting /sdcard/.android_secure. . .
Data wipe complete.
E: failed to find "cache" partition mount at "/cache"
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log
E: can't find misc
E: failed to find "cache" partition to mount at "/cache"
I then went into "advance" and "Wipe Dalvik Cache" (which works)
I also did "wipe cache partition," and it says the following:
-- Wiping cache
Formatting /cache
E: format_volume: no MTD partition "cache"
Cache wipe complete.
E: failed to find "cache" partition mount at "/cache"
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log
E: can't find misc
E: failed to find "cache" partition to mount at "/cache"
I then went to "install zip from sd card," then "choose zip from sd card," then chose the file that you LINKED to (0b9c8148de0d.signed-sojua-ota-189904.0b9c814)
It says:
-- installing <the above file name>
E: can't find misc
Finding update package
Opening update package
Installing update. . .
then there's a bar, which never fills; it then goes to the following text:
assert failed: write_raw_image ("/tmp/boot.img","boot")
E: Error in /sdcard/<the file name from above>
(Status 7)
Installation aborted.
I'm pretty stuck. Anything else you might have would be fantastic!
Thanks again.
tehgeekguy said:
Do you have a backup that you can restore? If not, grab the 2.3.6 update from here http://forum.xda-developers.com/showthread.php?t=1063664 and try a flesh install.
You should also flash a new radio, I didn't have any luck with the KI1 radio on my i9020a.
Click to expand...
Click to collapse
Yeah, I tried flashing the original 2.3.6 from that page, but there's no luck . . . :S
Thanks for the reply, though! Do you recommend anything else?
rcm8 said:
Yeah, I tried flashing the original 2.3.6 from that page, but there's no luck . . . :S
Thanks for the reply, though! Do you recommend anything else?
Click to expand...
Click to collapse
What do you mean "no luck"? What error did you get? Did you get the right version?
If you're on a i9020A you should be using this one - http://goo.gl/nN0Zp (Official, signed, can flash with ClockworkMod or stock recovery. Contains recovery, radio and bootloader.)
rcm8 said:
Okay, so I've downloaded the file, then put it onto the sd card.
I then boot into Fastboot Mode, then go to Recovery. I do the following here:
- wipe data/factory reset, then "Yes - delete all user data". It says the following:
-- Wiping data. . .
Formatting /data. . .
Formatting /cache. . .
E: format_volume: no MTD partition "cache"
Formatting /sd-ext. . .
Formatting /sdcard/.android_secure. . .
Data wipe complete.
E: failed to find "cache" partition mount at "/cache"
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log
E: can't find misc
E: failed to find "cache" partition to mount at "/cache"
I then went into "advance" and "Wipe Dalvik Cache" (which works)
I also did "wipe cache partition," and it says the following:
-- Wiping cache
Formatting /cache
E: format_volume: no MTD partition "cache"
Cache wipe complete.
E: failed to find "cache" partition mount at "/cache"
E: can't mount /cache/recovery/log
E: can't open /cache/recovery/log
E: failed to find "cache" partition to mount at "/cache"
E: can't mount /cache/recovery/last_log
E: can't open /cache/recovery/last_log
E: can't find misc
E: failed to find "cache" partition to mount at "/cache"
I then went to "install zip from sd card," then "choose zip from sd card," then chose the file that you LINKED to (0b9c8148de0d.signed-sojua-ota-189904.0b9c814)
It says:
-- installing <the above file name>
E: can't find misc
Finding update package
Opening update package
Installing update. . .
then there's a bar, which never fills; it then goes to the following text:
assert failed: write_raw_image ("/tmp/boot.img","boot")
E: Error in /sdcard/<the file name from above>
(Status 7)
Installation aborted.
I'm pretty stuck. Anything else you might have would be fantastic!
Thanks again.
Click to expand...
Click to collapse
Could be wrong but that looks like your partition tables got messed up at some point.
EDIT you could also try looking on here might be helpful LINK
EDIT X2 Other people have screwed up their partition tables and have fixed it using this guide LINK
tehgeekguy is right, if your model number is I9020A then it should work using the rom he linked, did you install Clockwork 5.0.2.3 before trying to install the stock 2.3.6 rom, if not then please try.
Yeah, that's the one I tried, but I received the same error message as before:
-- installing <the above file name>
E: can't find misc
Finding update package
Opening update package
Installing update. . .
then there's a bar, which never fills; it then goes to the following text:
assert failed: write_raw_image ("/tmp/boot.img","boot")
E: Error in /sdcard/<the file name from above>
(Status 7)
Installation aborted.
I'm going to try it one more time to see if I can't get it working. I have a feeling my partitions may have been messed up . . .
Thanks for the reply.
d.chatten said:
tehgeekguy is right, if your model number is I9020A then it should work using the rom he linked, did you install Clockwork 5.0.2.3 before trying to install the stock 2.3.6 rom, if not then please try.
Click to expand...
Click to collapse
Yeah, I'll be sure to try this right away.
Thanks a ton.
FeaRThiS said:
Could be wrong but that looks like your partition tables got messed up at some point.
EDIT you could also try looking on here might be helpful LINK
EDIT X2 Other people have screwed up their partition tables and have fixed it using this guide LINK
Click to expand...
Click to collapse
I'll definitely take a look at this. Thank a bunch!
The partitions is probably right, have you tried with the stock recovery instead of clockwork, worth a try.
d.chatten said:
tehgeekguy is right, if your model number is I9020A then it should work using the rom he linked, did you install Clockwork 5.0.2.3 before trying to install the stock 2.3.6 rom, if not then please try.
Click to expand...
Click to collapse
So, I went to the page and downloaded the following file:
"Option for no confirmation at all. Just flash in recovery.
signed-noconfirm.zip"
I put this onto the sd card, then attempted to install. This is what I received:
"-- Installing: /sdcard/signed-noconfirm.zip
E: Can't find misc
Finding update package . . .
Opening update package . . .
Installing update . . .
Installing .no_confirm
use at your own risk!!
reboot recovery and enjoy!
Install from sdcard complete"
Thus, it seemed to work pretty well. I thus rebooted recovery, but ClockworkMod is still showing that it's version V3.0.0.0.
Should I be flashing one of the other options on that page? If so, which one? And would you, by chance, have a detailed explanation as to how to go about doing that?
Thanks so much. I'm starting to feel like I won't be getting anywhere . . . . The responses have been awesome, though, everyone. I really appreciate it.
You have been trying to install a switch to turn off confirmations, to get Clockwork 5.0.2.3 installed you will need to use the same method as when you installed Clockwork 3.0.0.0 but use this image > 5023-cyan.img.
d.chatten said:
You have been trying to install a switch to turn off confirmations, to get Clockwork 5.0.2.3 installed you will need to use the same method as when you installed Clockwork 3.0.0.0 but use this image > 5023-cyan.img.
Click to expand...
Click to collapse
Makes a lot of sense. I'll try that.
Thanks.
d.chatten said:
You have been trying to install a switch to turn off confirmations, to get Clockwork 5.0.2.3 installed you will need to use the same method as when you installed Clockwork 3.0.0.0 but use this image > 5023-cyan.img.
Click to expand...
Click to collapse
Okay, so I flashed Clockwork 5.0.2.3, then I flashed the correct i9020A package. It worked beautifully.
Thanks a ton, everyone, for all your help. This is great!
Clad it worked for you.

[Q] Failed to Mount Cache

I was on Android 4.4.2, and was going to sideload the 4.4.3 update. I went into recovery, moved one step below the sideload update option, and landed on clear cache. My volume up button wouldn't take me back up to the ADB Sideload option, so I figured clearing the cache would bring me back up to the top. The phone was stuck on the "Wiping cache..." loading bar for 20 minutes until I finally force rebooted it. On completing the reboot, my phone wouldn't connect to the cell network, and all of my gapps crashed. I tried going back into recovery, and got errors saying;
E:failed to mount /cache (Invalid argument)
E:can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (Invalid argument)
I really don't know how to go forward from here, so I'm hoping somebody can point me in the right direction. Thanks!
darthsentinel said:
I was on Android 4.4.2, and was going to sideload the 4.4.3 update. I went into recovery, moved one step below the sideload update option, and landed on clear cache. My volume up button wouldn't take me back up to the ADB Sideload option, so I figured clearing the cache would bring me back up to the top. The phone was stuck on the "Wiping cache..." loading bar for 20 minutes until I finally force rebooted it. On completing the reboot, my phone wouldn't connect to the cell network, and all of my gapps crashed. I tried going back into recovery, and got errors saying;
E:failed to mount /cache (Invalid argument)
E:can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (Invalid argument)
I really don't know how to go forward from here, so I'm hoping somebody can point me in the right direction. Thanks!
Click to expand...
Click to collapse
If bootloader is unlocked, try flashing the cache file from the ktu84m package.
Aerowinder said:
If bootloader is unlocked, try flashing the cache file from the ktu84m package.
Click to expand...
Click to collapse
Sadly, the bootloader is locked.
This same thing happened to me the other day. I ended up having to reflash the factory image
Sent from my Nexus 5 using Tapatalk
the cache partition got messed up because you didn't let it finish the cache formatting process.
Head over to the stock recovery and keep formatting the cache partition few times.. If it gives the same error, erase it again!
I've faced similar errors and formatting cache a few times solved it!
- Sent from an IceCold Hammerhead!
Happen to me this morning as well. Just let be until completed. Should take approximately 10-15 minutes. Be patient. :victory:

[Q] CWM6.0.5.0:Error mounting /data while making a backup onSGS2 in bootloop withCM11

Okay, so this happened out of nowhere. My phone was perfectly fine and when I wanted to check for new messages/notifications etc he couldn't turn on. So I powered him up and he was stuck in a bootloop. I said, okay, it's not the first time. I immediately went to backup and restore option to make backup of whole system because data of some apps is valuable to me. I selected the option to backup it on external memory card. It backed up the boot image, recovery image, system partition and when it comes to data partition it restarts or show err on /data partition. I tried changing the default file formats, without success.
So, is there a way to make backup of that partition(maybe installing another cwm?) and how?
Additional info: I tried making backups on both partitions and nothing. On internal SD I have ~3300mb free and on external SD I have ~2500mb free. The reason I am using CWM c6.0.5.0 is that none of the earlier versions don't support Kit Kat based systems. Another thing is that if I select 'mount USB device' option I can see both, the internal and the external SD card on my pc. Perhaps, there is a way to recover /data from that option?
Also, when I enter the CWM at the bottom of the screen it says this:
CWM-based Recovery v6.0.5.0
Swipe up/down to change selections.
Swipe to the right for enter.
Swipe to the left for back.
E:Can't mount /cache/recovery/command
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache recovery/last_log
E:Can't open /cache/recovery/last_log
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
One more question: Can I install older version of CWM, the one that I am sure it is working(because I was using it, that's how I know)?
Updating this: motherboard was dead. So, if you are getting these errors your mobo is probably dead, specifically emmc chip. It can be soldered out and resoldered if you find replacement but its not an easy and cheap procedure.

[Completed] How to protect a portion of internal memory during OS install?

So, I have a Sprint HTC One (M7) that I tried to root following this guide:
http://www.xda-developers.com/how-to...-developer-tv/
Custom Recovery was flashed successfully (I tried both TWRP 2.5 and CWM 6.0.4.6), and I immediately got the following errors:
E:Can't mount /cache/recovery/command
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last _log
E:Can't open /cache/recovery/last_log
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
I can't access /cache, in short. So, I tried to find my SD card, but my phone doesn't have a slot for one, and I couldn't figure out how to write to the virtual one inside the phone, so I selected "Install zip" option in CWM and passed SuperSU-v2.46.zip through sideload, and it failed when it couldn't access cache. I was then rather foolish, and tried to just flash a ROM from Android Revolution HD, found on this thread:
http://forum.xda-developers.com/show....php?t=2265618 (I used this particular ROM:Android_Revolution_HD-One_92.0_4a9d05.zip).
Again, I passed it using sideload because I don't have an SD card. The install formatted my partitions, then at 30% (when it began to copy files), it failed. Thus, I was left with an empty phone, but an unlocked bootloader. I tried a few more things, to no avail.
I think if I could figure out how to put something in the virtual SD inside, or somehow protect the install files from being overwritten during the install, that might get me there, since I'm guessing that it's formatting over the location of the installer/image. Also, I found that if I use the "Wipe /cache" from CWM, I don't get those access cache errors, but then I can't reboot into the recovery without flashing it again, so I'm guessing that it's saving it in the /cache partition. I use the command "fastboot flash recovery CWM_image.img" to put my recovery in there, which may be a part of the problem.
Anyway, any ideas or help would be nice. I know enough to be dangerous, but clearly not enough to get myself out of this mess. Any help would be appreciated, and at this point, it would just be nice to have any OS on my phone. All HTC recovery software fails because they require a locked bootloader, but my computer won't detect a phone with no OS and a locked bootloader...
Duplicate.
http://forum.xda-developers.com/general/xda-assist/odd-problems-trying-to-root-htc-one-m7-t3164965

Categories

Resources