[Q] flash_image recovery gives error scanning partitions - Android Q&A, Help & Troubleshooting

Current issue is that I my phone will boot just fine into regular startup however it will no longer boot into recovery mode.
I have tried the below methods but the main problem that I run into is that when I issue flash_image recovery /sdcard/recovery.img(I have tried multiple img files such as the clockworkmod and SPRecovery) however none of them have worked they are receive the below message.
# flash_image recovery /sdcard/recovery.img
flash_image recovery /sdcard/recovery.img
error scanning partitions
What I need at this point is either a way to get some form of recovery loaded either the out of the box version or clockworkmod version working so I can flash my phone and get gingerbread loaded. Or I need to break the OS to the point where the phone will not load past the boot loader.
Phone information:
Droid 2 Global
System Version 2.4.330.A956.Verizon.en.US
Android Version 2.2
Kernel Version 2.6.32.9-g9e2c63d
What I have looked at so far:
http://forum.xda-developers.com/showthread.php?t=912224
http://forum.xda-developers.com/showthread.php?t=687280
http://forum.xda-developers.com/showthread.php?t=739212
http://forum.xda-developers.com/showthread.php?t=912224

Please use the Q&A Forum for questions Thanks
Moving to Q&A

same problem
i have the same problem
any solution?

Related

[Q] stock/clockwork mod Recovery question

I had a mt3g and was always able to get to recovery manually. I recently bought a vibrant, rooted using adb, installed clockwork mod recovery, and did a nandroid. I am unable to get recovery manually. Ive tried every combo of vol^ volv that I could find on these posts. Im ready to start having fun, but am worried for this reason. Any help would be appreciated. Heres my question.
If I start flashing, and my phone gets stuck (vibrant screen, galaxy screen, bootloop, etc.), is there any way I can get recovery without having to do it manually? Would I be able to reboot recovery with adb without mounting? Is there's any other way?
Also, if there is a way, how do I get into clockwork mod recovery so I can restore with nadroid? Would I have to have clockworkmod update zip on my sd and reinstall packages thru stock recovery first? Thank you for any help. Im lost!
make sure you have your clockwork recovery on the root of the internal memory and have it named update.zip
open terminal or command prompt and type adb shell. you will get $ type su to get # type reboot recovery then when in samsung recovery select reinstall packages and you will be in clockwork.
Ok, so I can do this on the computer even though the phone can't be mounted? It will recognize the devise and reboot anyway? Sorry, I'm new to adb.

Wrong recovery, now can't install any rom or recovery

Guys,
I need help. I tried to work the solution myself and spend days reading different forums and tried different tricks but no luck.
So basically I was asked by my wife to root her Hero as she wanted a higer version of Android to install Viber and some other programmes. I did that using instructions on a Cyanogenmod wiki and everything went fine. However the new rom made the phone a bit slow and clumsy, so I thought I'd look for a different older version that works. I tried numerous roms and they all for some reason were not suitable - either wouldn't boot or were force closing etc...
So at the end of the day I read somewhere that for some ROM you need to install a CWM recovery and I was running a RA 1.7. So I tried to download a newer version of a recovery (to be honest I forgot which one - it was a week ago) and I flashed it and then I realised I have installed a recovery for CDMA and I have a GSM.
So, currently the phone boots and gets stuck at the HERO logo forever. There is no way I can boot into recovery. I have no problem to boot into fastboot, but any attempt to install a different recovery brings a failed signature error. I tried fastboot erase recovery and it did work, but no instalation is possible. When the phone is powered on and while on HERO logo I can run adb and can make it reboot from the command line, but when I try the instructions http://forum.xda-developers.com/showthread.php?t=1630519 I get past the first two lines:
Code:
adb push recovery-clockwork-2.5.0.7-hero.img /data/local/
adb push flash_image /data/local/
and then when I attempt this
Code:
adb shell chmod 777 /data/local/recovery-clockwork-2.5.0.7-hero.img
I get an error message
-exec /system/bin/sh failed no such file or directory
Please help!
PS. A screen shot in fastboot:
http://i3.photobucket.com/albums/y78/tsvet/fastboot.jpg
I managed to fix that with a stock rom and Hboot installation.

[Q] Soft bricked HTC One mini, any solution or am I screwed?

OK so I've been researching for days how to unlock boot loader, root and s-off my HTC one mini. I bought the phone in november so im assuming that i updated to 4.3 or it was already installed (relevant later). I htcdev unlocked my boot loader, installed twrp and made a backup, installed superuser and rooted my phone. Then I installed titanium backup pro, made a backup and uninstalled all the system apps/bloatware I didn't need. All was peachy but the apps kept reappearing which I found was down to s-on (despite what I read about htcdev unlock boot loader method making my phone s-off) . So I tried the revone method and got error 1 which apparently is down to having android 4.3 so I looked for an earlier ROM and flashed Magio r1 which worked fine but couldn't find the data/local/temp folder to install revone into. Probably could of put it somewhere else but I wasn't that confident with the s-off process. So I finally found Jmz m4 stock ROM so there was light at end of tunnel. So I read up on twrp factory reset/format data functions and saw people were using both methods. I went with the full format and factory reset afterwards. Looking back now that was pretty stupid as I have no ROM and no backups to restore to. I did manage to chmod 777 the permissions on my twrp backups and copy the to dropbox (after endless scouring of forums). I also know how to flash boot images and use the adb side load functions. So that's my story.
Problem is I can't adb push the file as it returns with error closed, I've tried the following commands:
adb device - my device is attached and side loading.
adb usb - returns error closed
adb kill-server
adb start server - server starts successfully then returns error closed.
adp push rom.zip /data/media/0 - returns error closed
And just to be sure I tried with /data/media/, same error
I've fastboot flashed the jmzM4 ROM image and kernel but no joy as I'm guessing the boot image isn't enough and you need the zip.
If anyone can help out that would be greatly appreciated.
Currently I can load into boot loader and recovery no problem, just freezes on HTC load screen in normal boot up.
did you repair it?
hi
Did you managed to repair it? because i have the same problem...

[Q] Restoring from a bootloop with only fastboot accessible?

Hi,
Few days ago I managed to put my Archos 79XE into a bootloop during an attempt to deodex the stock rom. Now, I can boot into stock recovery and fastboot modes only.
I contacted Archos customer service, and they sent me an update.zip file, with instructions to copy the update.zip to my sdcard, then flash it through recovery mode. This solution is not applicable, though, since the device recognizes two different sdcard's, one internal and one external, the recovery only sees the internal sdcard, which i can't copy the file to since i don't have ADB access now.
What I did next was an attempt to create a fastboot flashable system.img. But couldn't flash that, as fastboot flash system system.img gets stuck at erasing the partition and never go past it.
So, my question is: is there a way to make the stock recovery work with the external sdcard, instead of the internal? I was thinking maybe fastboot -c and pass some kernel command line to switch both mount points?
Or is there any custom recovery that can apply the update.zip? I couldn't find any cwm or twrp custom recovery for this device.
P.S.
The device reports being a tk8983 in fastboot devices.
Any ideas?

[Q] Can't flash recovery or sideload

Hi All
I own a Pantech Vega r3 IM-A850s which was running a custom Kitkat rom and has the CWM 6.0.2.8 recovery loaded.. I was looking to try get either lollipop or another version of Kitkat on there since the current one was having issues. I do not have any OS loaded as I had somehow wiped it trying to get this to work.
Loading up CWM then going to sideload, I am unable to load roms onto the phone.
ADB Devices - works
ADB sideload - failed to write data 'protocol fault (no status)
All other ADB commands (e.g. push, reboot, etc) gives 'error: closed'
Going to fastboot mode:
Fastboot devices - works
Fastboot erase recovery/fastboot flash (file.img) gives 'FAILED (remote: It is not surpport in user build.)'
I still have CWM loaded into the recovery but am not able to flash with any other recovery version/type. I cannot load the internal sd card as it returns 'E: Can't mount /sd card/ and same for external sd.
---Edit---
I appear to have resolved this.
Downloaded the recovery from the thread below, then ran the Run in Fastboot.bat and was able to temporarily load TWRP to sideload the zips required. From there, got Kitkat installed and all is well (nearly)
http://forum.xda-developers.com/android/development/kitkat-rom-english-guide-custom-rom-t2995865

Categories

Resources