cant ADB flash recovery - Hero CDMA Q&A, Help & Troubleshooting

Hey giys, i recently rooted my Herroc again. (bout the 3rd time. and this time i did Tehdarkknights OP expolit. and everyhthing worked fine. except when i tried to flash a recovery. I got "flash_image not found". YES debugging was on. So i decided to reboot. then when i was back in i did adb shell and got $. So that was a big wtf. But i tried on root checker and said i had root and busybox. ADB just doesnt see it. I dont know the mechanics on that. so if anyone has had this problem before please enlighten me. I cant RUU cause ill get a 140 bootloader, cause i tried z4. but the same thing happened with the flas_image.
Thanks guys
EDIT: With lots of weird qurks im back to RUU .5 stock.
Best rooting method?
Ive done regaws, z4, and tehdarknight(that didnt turn out too hot)

Old school adb root, then s-off.
EDIT: Are you sure you mean ADB and not terminal? I've never ever heard of an ADB without the flash_image binary...

il Duce said:
Old school adb root, then s-off.
Click to expand...
Click to collapse
I agree with il Duce old school root it .
Sent from my PG06100 using XDA Premium App

il Duce said:
Old school adb root, then s-off.
EDIT: Are you sure you mean ADB and not terminal? I've never ever heard of an ADB without the flash_image binary...
Click to expand...
Click to collapse
Well Iflashed a recovery image with ADB a ton of times before. And when i unrooted it, and re rooted it with tehdarkknights exploit, i got that error. i have no idea what would effect the difference. but since im unrooted now. i might just redo the sdk and everything. get a clean start.
and are you both refering to this..
http://forum.xda-developers.com/showthread.php?t=694572
and @il duce. im DEFF. getting s-off this time.
Ive never doneit before but i researched it a ton, and it sounds way helpful
EDIT: @ il duce, also when i mean adb flash_image, i mean adb shell, flash_image ect. Sorry bout that.
Thats completely different isnt it?

why not just try rom manager to flash recovery

Bierce22 said:
why not just try rom manager to flash recovery
Click to expand...
Click to collapse
i did. and its how i got back to stock actually.
But i use RomManager as my last result.
I just dont like using it. I dont learn anything from it

Related

[Q] serious problem with getting root, tried many methods, nothing happening

im having a heck of a time getting my phone rooted again. i was running CM6.1 when i wanted to apply the repartition mods. well, i did something wrong a few times, and it broke. i have no clue what has happened, but i need help. yesterday, i was able to root and install CM6.1, but it has RA recovery, which i dont like, and no data connection without wifi. today, i ran the .7 ruu, followed the easy root method, but it seems that root manager isnt able to install clockwork recovery properly! i can get su with QtADB, so i know its there, but it simply isnt working. any suggestions or questions that i havent clarified, please ask, becuase im kinda desperate.
I went through some of these problems some time back.
I would recommend you to run .5 RUU, root using regaw's method, install ROM manager to get recovery and go from there.
andythegreenguy said:
I went through some of these problems some time back.
I would recommend you to run .5 RUU, root using regaw's method, install ROM manager to get recovery and go from there.
Click to expand...
Click to collapse
is it possible to drop back down to .5 from .7? becuase the tool just hangs on "sending..." and it hasnt worked for me. otherwise, i would have run unrevoked a long time ago.
Just run the .5 RUU from your computer, it should do it... worked for me.
andythegreenguy said:
Just run the .5 RUU from your computer, it should do it... worked for me.
Click to expand...
Click to collapse
but it isnt working! its stuck on the "sending......" piece. see, heres how i do it. i run the .5 ruu. it sends the phone to bootloader, i get error 171, i rerun the ruu while the phone is still on bootlader. last time i did that, it worked just fine. now, it gets stuck at "sending........" and i have to stop the whole thing and do a battery pull. im really lost here, i really need to get this working too.
EDIT: i downloaded the .6 ruu and tried that out, and this time, i let it run. i didnt stop it. i got error 150, wrong bootloader version. how can i fix that?
I am sorry man... . I am not sure how to resolve that. Maybe someone around can...
BTW, were you able to run any other RUU?
andythegreenguy said:
I am sorry man... . I am not sure how to resolve that. Maybe someone around can...
BTW, were you able to run any other RUU?
Click to expand...
Click to collapse
i think im able to run .7 all the time, but the .7 root method doesnt seem to be complete or im doing something wrong. i just want to get back to .5, thats where i know how to do things.
EDIT: i did some more reading, and i found on android central that you cant use an ruu to flash a phone with a higher hboot than what the ruu updates to. so since .7 seems to use a different hboot then all the rest, i have to keep resetting to .7 until i can get the root to finally work for sure. there seems to be a little trial and error involved with the easy root method.
EDIT2: I FIXED IT! WOOT! i have absolutely no clue what happened there. im so paranoid now that ill probably do nandroid backups daily lol ...whew, that was tough...
steve19137 said:
EDIT2: I FIXED IT! WOOT! i have absolutely no clue what happened there. im so paranoid now that ill probably do nandroid backups daily lol ...whew, that was tough...
Click to expand...
Click to collapse
Glad that it worked out.
However, about your comment of going back from .7 to .5, not sure how the hboot thing works, but I have downgraded from .7 to .5. I was having trouble with my .7 rooting and then had to RUU .5, root, recover and go that way...

[Q] Erasing Recovery

Is there a way to remove your recovery in ADB when youre not rooted?
I did it, but i had to clash CWM 3.0.2.4 and format recovery, then when it rebooted. i did adb reboot recovery, it went to fastboot (which makes sense)
then i entered fastboot erase recovery. which might have been pointless but still did.
But my question is if i can erase my recovery through ADB when im rooted or even unrooted?
davidevan said:
Is there a way to remove your recovery in ADB when youre not rooted?
I did it, but i had to clash CWM 3.0.2.4 and format recovery, then when it rebooted. i did adb reboot recovery, it went to fastboot (which makes sense)
then i entered fastboot erase recovery. which might have been pointless but still did.
But my question is if i can erase my recovery through ADB when im rooted or even unrooted?
Click to expand...
Click to collapse
I have no idea if you can adb remove recovery.img or not, you probably could though. You would have to have r/w access to it's mtdblock. Even so, it sounds like you got it. You can always RUU which removes recovery as well. If you are really "unrooted" you wouldn't have a recovery to remove fyi. Also, most adb codes only work with r/w access to your /system partition, so unrooted would likely kill off adb, for what it's intended to do anyway. I am curious though, why do you ask/want to do this?
il Duce said:
I have no idea if you can adb remove recovery.img or not, you probably could though. You would have to have r/w access to it's mtdblock. Even so, it sounds like you got it. You can always RUU which removes recovery as well. If you are really "unrooted" you wouldn't have a recovery to remove fyi. Also, most adb codes only work with r/w access to your /system partition, so unrooted would likely kill off adb, for what it's intended to do anyway. I am curious though, why do you ask/want to do this?
Click to expand...
Click to collapse
Well here was my story, i wanted to go to Sprint to get a new hero cause my hardware was a little bit sticky/not working right, like the volume rocker and call button. So i unrooted with z4 (thats how i rooted). I double checked to see if i had root or busybox. through root checker in the Market. So i made my marry way over there, and these guys have all there phones rooted so they know what they are doing and if it might be rooted. he couldnt find the # or busybox, but he found my recovery img, by going into it manually. AND I WAS SCREWED. haha. so apparently z4 doesnt remove the recovery. To my knowledge thats the only way he found out i had prior root, and it took him bout 20 min to figure that out, so i thought i did a good job, except for having the recovery img
davidevan said:
Well here was my story, i wanted to go to Sprint to get a new hero cause my hardware was a little bit sticky/not working right, like the volume rocker and call button. So i unrooted with z4 (thats how i rooted). I double checked to see if i had root or busybox. through root checker in the Market. So i made my marry way over there, and these guys have all there phones rooted so they know what they are doing and if it might be rooted. he couldnt find the # or busybox, but he found my recovery img, by going into it manually. AND I WAS SCREWED. haha. so apparently z4 doesnt remove the recovery. To my knowledge thats the only way he found out i had prior root, and it took him bout 20 min to figure that out, so i thought i did a good job, except for having the recovery img
Click to expand...
Click to collapse
So what you really needed to do was run the Rom Update Utility to get back to the stock recovery image, not erase the recovery image.
davidevan said:
Well here was my story, i wanted to go to Sprint to get a new hero cause my hardware was a little bit sticky/not working right, like the volume rocker and call button. So i unrooted with z4 (thats how i rooted). I double checked to see if i had root or busybox. through root checker in the Market. So i made my marry way over there, and these guys have all there phones rooted so they know what they are doing and if it might be rooted. he couldnt find the # or busybox, but he found my recovery img, by going into it manually. AND I WAS SCREWED. haha. so apparently z4 doesnt remove the recovery. To my knowledge thats the only way he found out i had prior root, and it took him bout 20 min to figure that out, so i thought i did a good job, except for having the recovery img
Click to expand...
Click to collapse
Oh, now it makes sense. Yeah what Jason said, run the RUU. Did they help you or just say "bugger off you hacker" lol. If you RUU just go to a DIFFERENT store, they might help.
il Duce said:
Oh, now it makes sense. Yeah what Jason said, run the RUU. Did they help you or just say "bugger off you hacker" lol. If you RUU just go to a DIFFERENT store, they might help.
Click to expand...
Click to collapse
Thats the thing i cant run any damn RUUs haha
i always get a bootloader error. i think i literally done every RUU imaginable, except (i forgot the dev) came with a flashable RUU
davidevan said:
Thats the thing i cant run any damn RUUs haha
i always get a bootloader error. i think i literally done every RUU imaginable, except (i forgot the dev) came with a flashable RUU
Click to expand...
Click to collapse
I bet it's error 140 right? look here if I am right: http://forum.xda-developers.com/showthread.php?t=843544
il Duce said:
I bet it's error 140 right? look here if I am right: http://forum.xda-developers.com/showthread.php?t=843544
Click to expand...
Click to collapse
Hhaha oh god this looks technical (for me) i get a lot, but itll probably take me a day to understand the meaning of what it does and how to execute properly
Thanks to the the both of you!
davidevan said:
Hhaha oh god this looks technical (for me) i get a lot, but itll probably take me a day to understand the meaning of what it does and how to execute properly
Thanks to the the both of you!
Click to expand...
Click to collapse
What is a region version exactly? and do i HAVE to set a different path, or will it typically go where it needs too?
davidevan said:
What is a region version exactly? and do i HAVE to set a different path, or will it typically go where it needs too?
Click to expand...
Click to collapse
I don't think you need to worry about the region. I think you just flash the first zip there....... REVISION ........ looks like the dude pulled the zip I would send him a pm to see if he'll give it to you, and if he does, send the zip to me too. FYI I have never actually done that, never needed to.
il Duce said:
I don't think you need to worry about the region. I think you just flash the first zip there....... REVISION ........ looks like the dude pulled the zip I would send him a pm to see if he'll give it to you, and if he does, send the zip to me too. FYI I have never actually done that, never needed to.
Click to expand...
Click to collapse
Iactually got it!
like 15 min ago and i flashed it, ran regaws RUU he uses for unrooting and BAM,
back to stock. Thanks so much =]
Im not sure what your issue was about removing the zip? maybe i got extremely lucky before he removed it haha. if you want it i can send you it via PM
davidevan said:
Iactually got it!
like 15 min ago and i flashed it, ran regaws RUU he uses for unrooting and BAM,
back to stock. Thanks so much =]
Im not sure what your issue was about removing the zip? maybe i got extremely lucky before he removed it haha. if you want it i can send you it via PM
Click to expand...
Click to collapse
Dkd you get my PM?if you ever need anything else ill try to find it for you!
davidevan said:
Dkd you get my PM?if you ever need anything else ill try to find it for you?
Click to expand...
Click to collapse
LOL yeah I got it. I got confused reading that thread and thought the "unneeded" one was still there and the "needed" one was was missing, I think I was wrong. I downloaded it anyway - safety first. I usually don't need help finding anything, I have a BUNCH of threads saved in my userCP, and a crapload of zips/apps/roms/themes/tweaks/kernels/etc that I'll probably never need, lol. Thanks though.
il Duce said:
LOL yeah I got it. I got confused reading that thread and thought the "unneeded" one was still there and the "needed" one was was missing, I think I was wrong. I downloaded it anyway - safety first. I usually don't need help finding anything, I have a BUNCH of threads saved in my userCP, and a crapload of zips/apps/roms/themes/tweaks/kernels/etc that I'll probably never need, lol. Thanks though.
Click to expand...
Click to collapse
screw his threa i got confused too too haha
the. zip i sent is all you nedd and it flashed you is flashed through recovery; I used a stock rom to do this but i guess it doesnt matterwhich rom, guess it just fixed the boot loader entirely (the zip that is) and here is the RUU i persoanlly used... you might use a different one, but this was sufficient for me
http://www.mediafire.com/file/zoutcenvr20udwu/RUU_Hero_C_Sprint_2.27.651.5_R_signed_release.exe

[Q] Broke my Hero bad...need help

Yep, I broked it.
So, wanna hear a fun story?
I got a free Hero, and tried to root it. First thing I tried was z4root. It failed. Then I tried RegawMod. Fail. Perhaps it didn't help that I had the latest stock version of the Hero, 2.32.651.x
So, then, me being a wise guy, decided that I'd just try doing it myself through ADB. I tried to follow CyanogenMod adb rooting instructions HERE. I kept getting stuck at step 5:
chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
Click to expand...
Click to collapse
It kept saying something about how it couldn't chmod "/data/local/tmp/rageagainstthecage-arm5.bin" because it wasn't a directory. Well, duh, this I know...but I couldn't figure out how to make adb understand that.
Well of course, because I couldn't chmod rageagainstthecage, I couldn't move on to the next step, actually running ratc:
/data/local/tmp/rageagainstthecage-arm5.bin
Click to expand...
Click to collapse
Now, this is where the fun really begins. I rebooted the Hero, just to see if that would help, and then I was going to try again. Trouble is, the phone wouldn't boot. Kept getting stuck on an endless boot on the HTC screen. So, I went into clockworkmod, wiped everything (except boot), and then restored the nandroid backup I had made before I started this whole process. Still no dice. Still stuck at an endless HTC boot screen. I tried a hard reset on the fastboot menu just for ****s and giggles...but still nothing doing. I also tried running the RUU app on my computer to install an older version of the stock ROM, but RUU would not recognize my device (even though HTC sync and ALL of the drivers are installed, and I had it mounted to the computer in clockworkmod).
So...I guess my question is - does anyone have any clue how to fix this? I still want to root the damn thing, but right now I'd be happy just to get the stock rom back up and running. I know if I could find a stock ROM I could probably flash it through clockworkmod...alas, the only one I found turned out to be a corrupt zip file.
Any help is appreciated. Thanks!
u do realize if u have clockwork mod u are rooted right...
Bierce22 said:
u do realize if u have clockwork mod u are rooted right...
Click to expand...
Click to collapse
I'm not sure how, as all three methods I tried to root failed. I even tested it with terminal emulator, got all $, no #. Of course, that was back when I could actually get to Terminal Emulator.
Bling_Diggity said:
I'm not sure how, as all three methods I tried to root failed. I even tested it with terminal emulator, got all $, no #. Of course, that was back when I could actually get to Terminal Emulator.
Click to expand...
Click to collapse
look here for the RUU.zip made by tehdarkknight, get it. Then run in with the instructions from jasonmaloneys thread about fastboot without s-off. http://forum.xda-developers.com/showthread.php?t=1063843
EDIT: that *should" unroot you back to stock. Then follow the REAL rooting thread (adb method) by regaw leinad.
PLEASE DISREGARD this thread. I'm an idiot...apparently the damn thing was rooted before I got it...which explains why my attempts to root it weren't working. Flashed CM7 in clockworkmod and it booted up with no problems.
Bling_Diggity said:
PLEASE DISREGARD this thread. I'm an idiot...apparently the damn thing was rooted before I got it...which explains why my attempts to root it weren't working. Flashed CM7 in clockworkmod and it booted up with no problems.
Click to expand...
Click to collapse
Yeah, that's what bierce22 was saying - if you already had clockworkmod, you were already rooted. But it was a good learning experience for you, right?
no one ever listens to me around here lmao.
Lmao thats hilarious. I fail. Bierce FTW.
sent from a series of tubes.
Bling_Diggity said:
Yep, I broked it.
So, wanna hear a fun story?
I got a free Hero, and tried to root it. First thing I tried was z4root. It failed. Then I tried RegawMod. Fail. Perhaps it didn't help that I had the latest stock version of the Hero, 2.32.651.x
So, then, me being a wise guy, decided that I'd just try doing it myself through ADB. I tried to follow CyanogenMod adb rooting instructions HERE. I kept getting stuck at step 5:
It kept saying something about how it couldn't chmod "/data/local/tmp/rageagainstthecage-arm5.bin" because it wasn't a directory. Well, duh, this I know...but I couldn't figure out how to make adb understand that.
Well of course, because I couldn't chmod rageagainstthecage, I couldn't move on to the next step, actually running ratc:
Now, this is where the fun really begins. I rebooted the Hero, just to see if that would help, and then I was going to try again. Trouble is, the phone wouldn't boot. Kept getting stuck on an endless boot on the HTC screen. So, I went into clockworkmod, wiped everything (except boot), and then restored the nandroid backup I had made before I started this whole process. Still no dice. Still stuck at an endless HTC boot screen. I tried a hard reset on the fastboot menu just for ****s and giggles...but still nothing doing. I also tried running the RUU app on my computer to install an older version of the stock ROM, but RUU would not recognize my device (even though HTC sync and ALL of the drivers are installed, and I had it mounted to the computer in clockworkmod).
So...I guess my question is - does anyone have any clue how to fix this? I still want to root the damn thing, but right now I'd be happy just to get the stock rom back up and running. I know if I could find a stock ROM I could probably flash it through clockworkmod...alas, the only one I found turned out to be a corrupt zip file.
Any help is appreciated. Thanks!
Click to expand...
Click to collapse
My story is similar. Boot into hboot stay in fastboot mode and DO NOT VOL DOWN. once youve booted into hboot, plug the hero In and get the ruu started up. Once you've started the ruu, if you get the connection error message, click the action button (trackball) on 'fastboot usb mode' and for some reason, the ruu seemed to connect to it then. Hope it works out for ya.
Sent from my HERO200 using XDA Premium App
Also, when rooting with z4, do a temporary first then after a successful temporary root, hit the permanent button. That's done the trick for me in countless seemingly hopeless situations.
Sent from my HERO200 using XDA Premium App

Every ROM I flash gets stuck on the flash screen. Thoughts?

I just bought a used Hero as a temporary phone and I'm trying to get off the stock rom. I rooted the phone and flashed a MIUI rom. It got stuck on the splash screen during boot. Not feeling like dealing with it, I just ended up RUUing it. Then I rerooted it and tried another rom...same deal. Now I back to stock again. Any thoughts on how to fix this?
Thanks
You didn't firate anything, did you?
Try manualy flashing the boot.img in the rom from fastboot. Sometimes thats the problem.
Regards
Sent from my Galaxy Nexus using XDA
oohaylima said:
You didn't firate anything, did you?
Click to expand...
Click to collapse
Urban dictionary tells me that means fake pirating...? If that's the case, no. I haven't even installed anything let alone log into my google account.
EDIT: I'm guessing you meant firerat. Nope, I haven't messed with anything.
flakesdk said:
Try manualy flashing the boot.img in the rom from fastboot. Sometimes thats the problem.
Regards
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Good idea. I'd need abd for that though to run the commands right? I'm really trying hard to avoid installing it on my computer.
Why ?? If your going to be modding your phone s-off,eng-bootloader & adb are all tools you will definitely need. If not then you may have a few headaches down the line if something goes wrong.
#Root-Hack_Mod*Always\
laie1472 said:
Why ?? If your going to be modding your phone s-off,eng-bootloader & adb are all tools you will definitely need. If not then you may have a few headaches down the line if something goes wrong.
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
I won't be doing anything beyond flashing a custom rom.
I just dug up my Hero. It had CM6 previously. I tried flashing an updated ROM and it does not get past the HTC logo. I tried 4 different ROMs. Using CMW recovery. Wipe/Format all...and nothing.
Yeah I'm completely out of ideas. I may just have to suck it up and install adb.
Which version of CWM are you running? I've used 2.5.0.1 for all of my ROMs and never had a problem. I should have the zip to flash through recovery and the HERCIMG flashable through HBOOT if you wanna try.
Sent from my PC36100 using xda premium
Adb is a breeze to install. Takes less than 20 min. Pm me if and when you wanna set it up, and believe me when I say you will not regret it. Adb makes modding your phone a little easier.
#Root-Hack_Mod*Always\
scl23enn4m3 said:
Yeah I'm completely out of ideas. I may just have to suck it up and install adb.
Click to expand...
Click to collapse
What radio do you have? I remember people having issues when using the older radio (.27) instead of the newer (.29). Then again, it might not make a difference at all either. Just a thought.
i second drunkpilots radio idea, thats what gave me a headache for an hour the other night wondering why my cm7 wouldnt boot, updated to newest sprint radio and bam booted right up
Alright I just upgraded my radio. What's the best/easiest way to root it from here since I'm back to stock now?

[Q] Worst collection of issues ever

So I just recently rooted my Sprint Hero using z4root after failing in several other ways. I would like to put on a custom recovery and start messing with custom roms, but I am running into numerous roadblocks.
For one, the recovery on the phone is corrupted. I'm not sure how, but if I boot to recovery I get a red exclamation point symbol.
So I tried to use adb and flash_image to install the recovery, but discovered that flash_image is not on my phone.
I have found the binary for flash_image but have not been able to put it into /system/bin in order to execute it. I would have to put adb into root mode to push it directly there, but can't since I am still running Release code. I can't move it from /sdcard or /data because I got a cross-device error.
I did figure out how to run flash_image from /sdcard, but I just got 'out of memory' errors.
I have tried downgrading to 2.27.651.5 since that seems to be the version everyone uses to fix anything, but the ruu fails to install due to Error [140]: Bootloader Version Error
I have been able to downgrade to 2.27.651.6, but that didn't help anything.
I am clueless at this point and feel like I have done my due diligence. Any ideas?
I should also add my current config:
SW number 2.32.651.2
Baseband 2.42.02.10.29
Kernel 2.6.29-ba77cf03
HBOOT-1.47.0000
RADIO-2.42.02.10.29
Are you still having this issue? ??
#Root-Hack_Mod*Always\
laie1472 said:
Are you still having this issue? ??
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
Yes. I would be thankful for any suggestions.
Z4 will give you root but not a recovery I believe. The reason why you have the red triangle isn't because you have a corrupt recovery its because you have no revovery. Ill send you a pm with something that might help.
#Root-Hack_Mod*Always\
laie1472 said:
Z4 will give you root but not a recovery I believe. The reason why you have the red triangle isn't because you have a corrupt recovery its because you have no revovery. Ill send you a pm with something that might help.
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
I never received a PM.
Have you tried simply installing ROM Manager to install the recovery that way? That's generally the quickest and easiest way to do it, and should set you up for getting everything going.
Gamesoul Master said:
Have you tried simply installing ROM Manager to install the recovery that way? That's generally the quickest and easiest way to do it, and should set you up for getting everything going.
Click to expand...
Click to collapse
ROM Manager is no longer available from the market. If you have an .apk you could give me that would be great.
My bad will send tonight been swamped.
#Root-Hack_Mod*Always\
laie1472 said:
My bad will send tonight been swamped.
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
Please help me when you get the chance
I looked in the market and saw Rom Manager in mine. Make sure that you flash the recovery 1st and then do a backup (nandroid) so you have your current phone just in case something happens when you start flashing new roms or something. I don't know why you don't show the app in the market. I don't think that Z4 would change your build.prop, but I have never used Z4 either.
I apologize on the delay. If you haven't solved your issue yet check your pm's.
#Root-Hack_Mod*Always\
Huh? This is one of the reasons why most of the knowledgeable members are helping less and less. When you receive advice/help the least you can do is post if it worked or not.
#Root-Hack_Mod*Always\

Categories

Resources