yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] jeepdroid24:
step 9 wont read my pcimg36 file

build #: 3.70.651.1

android 2.2

hadware version 0003

a little new to this rooting thing(and forum thing to be honest) so excuse my newbness. im having problems on step 9 when i restart bootloader and it looks for my pcimg36 file it says no img or wrong img and doesnt do anything. I check my sd card and it is on there and every other step before it worked im just stuck here, with the phone not reading file. please help.

thank you in advance.

By the way great tread i havent found anything like it anywhere else...been looking for days.
[EVO 4G Android Development] gpz1100:
Here are some possible workarounds for the error message...

1) generate a md5 to include in the folder

file name must be "nandroid.md5"

this is just a text file containing the md5 signature in the following format

{md5 code} {filename.ext}

example:

518ebb636935acbe680b9d7edd872394 wimax.img

Or better yet, if the error message is bothersome,

2) disable verification checking toggle in recovery
[EVO 4G Android Development] b4u2:
I have an EVO...Android 2.2 Hardware 0003 Software 3.70.651.1 This ROOT method will work for me? I have not rooted Android before, I have some experiance with Flashing Windows Mobile.

What about Games and apps I already have installed? Will I lose those and have to reinstall?
[EVO 4G Android Development] jeepdroid24:
supposedly and yes you will lose your apps but there are apps to backup your apps titanium is one. i have the same version and am stuck on #9
[EVO 4G Android Development] neudof:
Sorry that I am still fairly new to all of this

HW 0003 HBOOT 2.02

i rooted using V6.2 which installed RA 1.8, and was able to flash sprintlovers rom. I have not tried anything else to this point.

With the cyanogen wimax in the works and myns rls5 on the way i want to make sure I am good to go. Now that the new version is out, do I need to relock, flash back to stock and start all over, and flash the new RA or is 1.8 good enough?
[EVO 4G Android Development] zikronix:
why are you stuck @ 9
[EVO 4G Android Development] glenwill:
I'm too new to this myself to offer too much help, but I see that your post referenced the file name as pcimg36. It should be PC36IMG.zip (probably case sensitive). If you made that same mistake in naming the file it would not be found by recovery.

Just confirm you named it correctly on the SD card.

Glen
[EVO 4G Android Development] madmatrix2010:
Stuck on step 6

I had no problem until I issue the command below:

mkdir sdcard/nandroid/RSA-PR-BACKUP

system gave me error "No such file or directory". I ls the directory. sdcard is there. Can't figure out why this failed. The other back up command "busybox sed -n '/BEGIN CERTIFICATE/,$p' /dev/mtd/mtd0 > /sdcard/rsa_OEM.key" ran successfully. Did anyone have this issue before?

Thanks.

Lou
[EVO 4G Android Development] gpz1100:
You could try using an absolute path... /sdcard/..... In fact, that's probably preferred so the system is not trying to find some relative path.
[EVO 4G Android Development] madmatrix2010:
Thank you very much! I managed to get this through. But ran into another issue:

When I see the red triangle. I issue the command from my computer:

adb push recovery /

it gave me error: device offline.

I killed adb.exe process twice and re run the command. still showing offline. I disconnected the USB cable and reconnect. Still same thing. Not restarted the computer yet.

Any suggestion? I kind of stuck here. Any help is really appreciated.

Lou
[EVO 4G Android Development] gpz1100:
Reboot the computer?

The red triangle is the equivalent of windows saying no system disk found, or something to that effect.

IOW, you've requested to boot from the recovery partition, but there's nothing there.

You could try pushing the recovery img from the bootloader by way of adb. Of course, if you're having driver issues or usb issues, this won't work either. You need to resolve the communications issue between your pc and the phone first.

See this thread http://xdaforums.com/showthread.php?t=705026

Install

* You NEED to have root and NAND NEEDS to be unlocked before you can install this recovery! Follow this post to ROOT and unlock NAND.
* There are several ways to install a custom recovery, choose the one that suits you most (rom manager/terminal/adb).

via Rom Manager => Rom manager's features will NOT work on this recovery, only use it to flash this recovery!
v2.2.1 is not (yet) available on rom manager (please be patient).

1. Download "Rom Manager" from the Android market
2. Start "Rom Manager"
3. Select "Flash ClockworkMod Recovery" and wait for it to finish
4. Select "Flash Alternate Recovery" and wait for it to finish -> this will install the latest version of RA recovery.

via terminal app or adb => Make sure your rom contains flash_image!!

1. Copy recovery-RA-supersonic-v2.2.1.img to the root of your sdcard
2. start the terminal app or launch adb
3. su(press enter)
4. flash_image recovery /sdcard/recovery-RA-supersonic-v2.2.1.img(press enter)
5. reboot recovery(press enter)
[EVO 4G Android Development] jeepdroid24:
It wont wont ask me to flash? i have root i just cant figure out why it wont read my file, i posted it like a couple posts up
[EVO 4G Android Development] madmatrix2010:
Thanks a lot. The weird thing is the previous steps worked fine. Why it just stopped here if the physical communication between PC and phone has a problem? I will uninstall the driver and reinstall it to see if it fixes it.

Lou
[EVO 4G Android Development] jeepdroid24:
HELP

i posted it saying it wouldnt read my pcimg36 file when i rebooted into bootloader ive tried doing it over and over, but everything up to that works. it says i have root but wont let me do anything with it
[EVO 4G Android Development] zikronix:
yea thats my fault i forgot to put the / in there however it shoudl have worked.
[EVO 4G Android Development] madmatrix2010:
Hi zikronix,

I'm having the device offline issue on step 10 when the phone has red triangle. I changed driver from HTC driver to unrevoked modified usb driver. But it still doesn't work. adb devices shows no device attached. Is there any way to solve this issue?

I see lots of people have this problem. One thing I don't understand is why the previous steps went through well if the device driver has a problem.

Thanks a lot.

Lou
[EVO 4G Android Development] zikronix:
try powering off the phone then repoweing with power + vol-down and reselect recovery from the boot menu...if it ask you to flash again say no and no to reboot.
[EVO 4G Android Development] madmatrix2010:
ok. After doing that, adb devices shows the device but status is still "offline". When I tried to issue "adb push recovery /". It still gives me the offline error. Weird. Thanks for your help!!!
[EVO 4G Android Development] zikronix:
reboot pc make re no other instances of adb are running and you are only running the one that came with the package
[EVO 4G Android Development] madmatrix2010:
Thanks zikronix. I redid the steps from step 4. Noticed one thing: When I push file to the phone, I found there are two adb.exe running at the same time. If I kill both, next time when I issue the adb command, both show up together again. Is this a problem?

Lou
[EVO 4G Android Development] mucky:
Finally gave this a shot after using unrevoked 3.3. I have never used adb and was unsure for a while. After a little searching to get familiar with adb, I went ahead. It worked perfectly. I got stuck on step 12 with the white htc screen, but the directions fixed it. A couple things I noticed being a noob at this.

1. Copy and paste all the commands. It makes it much faster and no errors

2. When sending the pc36img, it takes a couple minutes in the command

prompt. Be patient.

3. The rsa back up didn't work. I tried the other option, and it seemed to work

mkdir /sdcard/nandroid/RSA-PR-BACKUP

cat /dev/mtd/mtd0 > /sdcard/nandroid/RSA-PR-BACKUP/wimax.img

These were the 2 commands that didn't want to work.

4. For me, I didn't know how to get out of C:\users\name.

For the noobs, type cd c:\where ever your files are. I put mine in a folder

called Root on the c drive. then I typed cd c:\Root. Try to keep it simple.

The direction are very clear and well planned out. zikronix, thanks for all your hard work and time. You da man.
[EVO 4G Android Development] madmatrix2010:
finally redo from step 4. I found I missed one step in step 6, I didn't flash the zip file by pressing volume up. :( After I noticed that, everything went well. My EVO is rooted now. Going to install vpnc in my EVO...

Many thanks to zikronix for this great guide. It really saved us tons of time... Thank you very much!

Lou
[EVO 4G Android Development] NinjaWolf:
evo root

ok so i rooted using unrevoked(im a noob).then got bootloop(stuck on HTC screen).so i tried backup(nandroid)but didnt work, so i unrooted.now my phone is unrooted(fixed, but unrooted) and my security is s-on with stock rom.can i reroot using this method.

thnks in advance.
[EVO 4G Android Development] mucky:
Yes. I did the same thing. I used unrevoked forever to get unrooted and s-on. Then flashed the sprint stock rom. Then I followed this , and worked out great.

Make sure you follow all the steps exactly as they are. My pointers above amy help. You should also still have the drivers for the phone.

Good luck
[EVO 4G Android Development] NinjaWolf:
evo root

thnks

i hope it works/i was told to use unrevoked by unrevoked irc,but they sadi this method will teach me about my device more.will report back when done.
[EVO 4G Android Development] shiftwig113:
been stuck at this screen for a while...any ideas?

I'm already rooted...just wanted to back up my wimax partition
[EVO 4G Android Development] gpz1100:
It should take all of a few seconds to make. The wimax partition.img size is only 12MB .

What state is the phone in when you're executing the adb commands?
[EVO 4G Android Development] shiftwig113:
im not sure what you mean?

im on charge only, and the screen is dim but still on.

is it safe to remove from usb? its been almost 20 mins
[EVO 4G Android Development] gpz1100:
Try this;

Before executing those commands,

try

mount /system

mount /sdcard

then try those commands.

Or just back it up after the phone has booted.
[EVO 4G Android Development] shiftwig113:
^ ****in awesome
[EVO 4G Android Development] bet10:
I followed up to Step 10 and booted into recovery with the red triangle and did adb push recovery /

but I got error: device offline. Please help
[EVO 4G Android Development] mrjeancw:
ok tried unroting the phone and now im stuck.

i did s-on tool first then tried running the zip and it read it but never updated. so i tried the RUU and it gives me error 140 bootloader version error. i need to bring the phone in tomorrow. what do i do?
[EVO 4G Android Development] Jbcarrera:
Are you on a 64 bit system? That may be your problem

Sent from my EVO at the edge of Hell
[EVO 4G Android Development] xHausx:
The RUU version you are flashing is older than what your hboot thinks the phone already has. If you use Toast's old two step method to flash your misc partition it will let you flash an RUU you want to.
[EVO 4G Android Development] mrjeancw:
im on windows xp always have

and i rooted using this method. i dont get it. i am hboot 2.02. i dont remember what the phone came with when i got it from print, if it was either 3.26 or 3.29 or 3.30...i am trying to ruu 3.70 and it gives me this error.

edit:

i just re-installed all the drivers using sync from htc website and when i used ruu 3.70 i now got error 132 signature error.
[EVO 4G Android Development] NinjaWolf:
unroot

double chk your hboot

heres a hboot 2.02; S/W 3.30 pc36img.zip(rename the file to "PC36IMG".zip;no qoutes)

http://www.megaupload.com/?d=1Q8HDT3Q

run unrevoked forever s-on tool.zip(thru recovery)

then run pc36img.zip(2.02; 3.30) thru bootloader

bam youre unrooted

please post results
[EVO 4G Android Development] sjunaz:
Problems unrooting

Hi all

I have an unbranded HTC Desire, purchased in the UK running Android 2.2 with the latest OTA update.

Info about my phone - unsure if this is relevant.

BRAVO PVT1 SHIP S-ON
HBOOT-0.93.0001
MICROP-031d
TOUCH PANEL-SYNT0101
RADIO-5.11.05.27
Aug 10 2010,17:52:10

I started rooting my device using the 'How to root the HTC Desire' guide on theunlockr.com, but I am now stuck on on step 5. of part III.

I get the following error mesage:

-- Installing: SDCARD:unrevoked-forever.zip
Finding update package...
Opening update package...
Installing update...

unrEVOked forever S-OFF patch v1.3

Verifying system type...
E:unsupported system
E:Update failed. Check /sdcard/soff.log.
E:Error in /sdcard/unrevoked-forever.zip
(Status 42)
Installation aborted.

Is this problem related to my radio version? If so, should I downgrade using the Downgrade Froyo (2.2) to Stock 2.1 guide?

OR do I have any other choices?
[EVO 4G Android Development] blueridgedog:
If it sees the file when booting into bootloader, it will load it and ask you if you want to flash it. If it does not ask you if you want to flash the file it means that you have either named it wrong or not put it in the root of your SD card. Verify the name.
[EVO 4G Android Development] blueridgedog:
I don't think flashing clockwork is the issue as much as doing flash from clockwork which up until recently had issues with the new partition structure.
[EVO 4G Android Development] bet10:
I had HTC driver installed and I forgot to flash from Step 9. I switched to unrevoked driver and flash when prompt from Step 9. Now my phone is rooted. Thank heaps Zikronix!
[EVO 4G Android Development] mrjeancw:
downloading now. but remember i am already s-on cuz i ran unrevoked s-on tool. also does it matter that im on amon-ra 1.80?

right now i am running

supersonic evt2-3 ship s-on

hboot 2.02.0000

radio 2.15.00.09.01
[EVO 4G Android Development] mrjeancw:
it didnt work. it scans the PC36IMG file, the bar on the right gets to the top, then disapears and it says checking PC36IMG then it goes back to vol up vol down power menu.
[EVO 4G Android Development] mrjeancw:
OMG!!! PLEASE DONT KILL ME!!!

i know why it didnt work...i downloaded the 2.10hboot version instead of the 2.02hboot...i feel like such an idiot. 4 hours last night looking at solutions. ARGH!!! sorry guys. let this be a lesson learned. even the most seasoned guys need a lesson every now and then lol. as always thanks for the help.
[EVO 4G Android Development] pajamaed:
wont back RSA keys

When I try step 6A I recieve the following message

mkdir failed for (directory info), No such file or directory

What am I doing wrong?
[EVO 4G Android Development] jcrabapple:
I've used this method on 2 previous Evos, hardware versions 3 and 4 and it worked great. But I had to return them for manufacturing flaws. Now this third one is version 4 again, I rooted using this method, but every ROM I install is slow and buggy. I get a bunch of FCs and random reboots. Should I try it again or use a different method? Should I unroot and then root again?
[EVO 4G Android Development] badger1802:
4g fixed

Dude, you are a genius!!!!! That worked perfectly and I now have 4g working on both phones!!! You should add this to your guide, because there is nobody that has really answered at question until now. Oh, and there's 20 bucks coming your way for all the awesome work you do, thanks!!!!!
[EVO 4G Android Development] zikronix:
i added it to the q/a yesterday
[EVO 4G Android Development] blueridgedog:
There are many steps to 6A as that is backing up your rsa keys.

Can you be more specific as to where you are on the rsa key backup process? Do you get the error when you are trying the sed command or before when trying to make the backup directory? I assume when you are doing the mkdir. The only mkdir is:

mkdir /sdcard/nandroid/RSA-PR-BACKUP

Have you tried making each directory individually?

mkdir /sdcard/nandroid
mkdir /sdcard/nandroid/RSA-PR-BACKUP
[EVO 4G Android Development] Phoible:
I just used this procedure the other night to root a friend's EVO the other night and installed CyanogenMod. I had never rooted an EVO before, but I have a Droid 2 and a N1 that I have rooted, and have lots of experience with both Android Development and Linux.

It was a new EVO with the newest version of the software. It was a bit trickier than I expected, due to some issues with the rooting procedure.

For some reason, z4root wouldn't work. It would just sit there for a long time. I tried running the rageagainstthecage exploit manually, but nothing seemed to work. When I ran the exploit, it would kick me out, but then I wouldn't be able to connect to the device until I rebooted it. It would say "device not found" when I tried to use adb to connect, even after I killed and restarted the adb server (I also tried unplugging and reconnecting the phone, as well as killing and reopening the command prompt). When I rebooted, things would be back to normal. After trying this a bunch of times, I almost gave up.

Finally, I decided to download the newest version of the unrevoked program for my Mac (3.3.2) and try running it. It failed at the very end when it was trying to root my phone (guessing it was trying the exploit that didn't work). However, it did manage to unlock my bootloader. So I had an unlocked bootloader but no root.

At this point, I booted into the bootloader, and it asked me if I wanted to flash the PC36IMG.zip that I had installed. I was feeling lucky, so I did this (half expecting it to fail and brick the phone). When I booted, I had an image similar to the stock image, but with root.

From this point, I pretty much followed the instructions in the guide (from 8 on, although I backed up the RSA keys first). Everything went pretty smoothly, and at the end I downloaded ROM manager and installed the newest version of CM6.

Definitely took a bit longer than I expected, but it all worked out in the end.
[EVO 4G Android Development] DanWalker:
how important is this step?

MD5: 03f13fed1d9a9b0d8660015b324cb523 <---VERIFY YOUR MD5, IF ITS NOT THIS REDOWNLOAD
[EVO 4G Android Development] zikronix:
well if the download is corrupt then its pretty important...if its not then its not.
[EVO 4G Android Development] DanWalker:
I have downloaded multiple times and not once has the MD5 matched. Maybe I'm doing something wrong?
[EVO 4G Android Development] zikronix:
odd i just downloaded it from three sources and its valid?
[EVO 4G Android Development] DanWalker:
perhaps the method someone showed me is wrong, once I download the file how do i check the MD5?

and it should read => MD5: 03f13fed1d9a9b0d8660015b324cb523 correct?

the 2 files I have downloaded both read as follows:

MD5: 85b5461991c54aad8a6d6609feeb3389

and

MD5: b1a9ee9c340c9053311c23891f29fd4c
[EVO 4G Android Development] VTEC4ME:
My MD5 doesnt match either, but it installed without any issue. I'm using the Fix Broken Recovery file tho. Not sure if that's any different from the main package.

The MD5 I get from PC36IMG_Recovery.zip file:

63CA7BF785F231A63CE50AA399DBD0E9
[EVO 4G Android Development] gpz1100:
If your md5 is not matching the one posted in the first post, then your file, on a binary level is not identical to what's been posted.

Just downloaded and tested the main hboot...zip

# MD5 checksums generated by MD5summer (http://www.md5summer.org)
# Generated 1/9/2011 9:56:40 PM

03f13fed1d9a9b0d8660015b324cb523 *hboot_2.xx_soff-V8.8.zip

The mismatch can result for a number of reasons.. In no particular order

1) File corrupted on the site (doesn't seem at the time of this posting)

2) file modified during download - possibly due to a number of reasons.. virus, bad disk, issue with browser, etc

3) your md5 verifier isn't reading the file properly.

4) File has been tampered with.

5) ??
[EVO 4G Android Development] DanWalker:
Finally got an MD5 that matched, no idea what i did differently but I'm happy. You're method worked very well, only thing I had a problem with was tep 6a making the directories required 2 commands making one directory each. But everything else worked as you said it would.

Just one quick question, when performing a back up step 13 & 14, what should I be backing up to ensure I have what I need? It already has boot, system, data and cache selected, is that all I need? I apologize for my ignorance, I am coming from the Hero where there was only one option in the backup process.
[EVO 4G Android Development] zikronix:
id add wimax to the mix
[EVO 4G Android Development] Sidology:
is the sprintlovers rom in this guide the all in one version?
[EVO 4G Android Development] zikronix:
yes with a addition of the recovery
[EVO 4G Android Development] depeche785:
ADB

I upgraded drivers for SDK but for some odd reason adb.exe file does not work properly. After double clicking it scrolls through some dialog then closes automatically. Does this mean I have to d/l unrevoked h-boot driver?
[EVO 4G Android Development] RichR67:
Hboot question

Greetings

I am rooted have been for a while thanks to this guide.

I am on hboot 2.02

A)is there a compelling reason to upgrade to hboot 2.10?

B)if I do upgrade will I lose root?

I have the latest radio,pri,nv and I have flashed nearly every ROM available on these forums with no problems my 4G works but I have OCD I need the latest and greatest so I kinda bugs me that I dont have the newest HBOOT so there it is.

What do you think??
[EVO 4G Android Development] psixichka:
Can't flash radios/pri??? helpppp

I flashed the radios&pri but they don't "stick"? heellppp

rooted with unrevoked

2.6.32.17 root@paris-laptop #2

build fresh 3.5.0.1

baseband 2.15.00.09.01

pri 1.77_003

prl 60674

it also says S-ON in bootloader

really confused

is there a shorter way without unrooting & rerooting i can get the bootloader to say S-off? so that i can flash radios&pri???

tia!
[EVO 4G Android Development] Bizdady:
Rooted a replacement Evo with hboot 2.02 with Unrevoked but kept getting stuck with a Backup CID missing error. Backed up my RSA keys with method in OP as well as using the broken recovery method since Unrevoked turned my s-off and was then able to get myself going from there. Great guide.
[EVO 4G Android Development] zikronix:
read the op...it is not a one click type of thing.
[EVO 4G Android Development] Fazulka:
Thanks for this guide. It was more complicated than the first time I rooted my old phone (hero) but went smoothly.
[EVO 4G Android Development] Nebtastic:
Question

I'm working on automating this process as much as possible, but development is more of a hobby of mine so my knowledge in this field has gaps.

I've coded a VB application that runs a batch script, but after installing z4mod when I use adb to make a shell connection I have to manually key about 8 lines of commands.

adb shell

su <--after this I have to key in the rest

Is there a way to call a small script file that will run the rest of this?
[EVO 4G Android Development] minieod:
A - not sure

B - no

i upgraded mine, i had to do a full wipe anyways so while i did that i flashed 2.10

i read somewhere you have to wipe in order to put this on...

not really sure if there is any improvements or anything...
[EVO 4G Android Development] billboard77:
WiFi Hotspot too slow

Hi,

I have HTC Evo with Hboot 2.10. and Android 2.2.

I followed the instructions exactly as listed and got rooted successfully. I startup the Wifi Hotspot app and tested the speed using my computer browser using speedtest.net

The speeds were awfully slow.

0.11 Mbps for download and almost 0.05 Mbps.

Please help me figure out what is the problem.

-Thanks
[EVO 4G Android Development] SUTHRNFRIED:
Thank you so much for this guide...I was the unfortunate SAP that lost RSA...Got a new EVO from sprint and now using your guide...I HAVE ROOT!!!

I will never use anything else again!

Thank you again, I know I have my RSA backed up this time and I'll never loose them again. I most certainly will be buying you a beer sir!

***PAY ATTENTION TO HIS GUIDE, HE KNOWS WHAT HE'S TALKING ABOUT!!!***
[EVO 4G Android Development] zikronix:
Rock ON Man