yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] Unknownforce:
I'm curious, has anyone tried this on a VM or Cygwin? If not, I'm going to re-up/S-ON and try this... it would at least help those that aren't linux savvy, and don't have the resources to setup a linux PC/dual boot.
[HTC EVO 3D] walkingcorpse:
I'm having the same problem as him, my evo is a refurbed unit that is "virgin" s-on. I've never used the HTC unlock. Any ideas?
[HTC EVO 3D] Unknownforce:
Not taking the PG86IMG.zip?

Download MD5 Checker and see what the hash is... sounds like it's a bad copy.
[HTC EVO 3D] walkingcorpse:
I've tried from 2 different sources but I will try again. Thanks
[HTC EVO 3D] Unknownforce:
well check the md5 hashes first, no sense in downloading another copy of the same file if it's correct
[HTC EVO 3D] walkingcorpse:
Just double checked, md5's are good. I'm running 2.17 and using the 2.17 pg86img.zip. Still won't prompt for update. ??
[HTC EVO 3D] dkdude36:
Ok thanks any other site you suggest?
[HTC EVO 3D] walkingcorpse:
I used http://forum.ppcgeeks.com/2154352-post28.html which was linked in the op and had no problems with the download. Md5's checked good.
[HTC EVO 3D] Unknownforce:
I don't have the 2.17 one myself, what site are you checking these with and where did you download it?
[HTC EVO 3D] walkingcorpse:
I used the link in op from ppcgeeks and checking the md5 with "md5 check utility 2.31" got the tool from a google search then downloaded from cnet.

grabbed the md5 straight from the link from ppcgeeks, which is http://dev-host.org/jqp5rpess1ic
[HTC EVO 3D] Unknownforce:
That post has the 2.08 md5's even wrong... my 2.08 MD5 is 2E55650E9E3ADF81BCA541F66192E0B0

I'm guessing those are bad... let me find a better link.
[HTC EVO 3D] walkingcorpse:
Thanks, I appreciate your dedication to your work bro.
[HTC EVO 3D] billbowers:
Same thing here..I've completed step 1 and changed my version, I'm currently relocked s-on and when I go to run the pg86img it just starts. Strange stuff...
[HTC EVO 3D] Unknownforce:
Did you take the exe and just copy it to the card and rename it or did you pull the zip file out of the exe and copy THAT over?
[HTC EVO 3D] walkingcorpse:
I downloaded a zip image from ppcgeeks. Im just going to go the long route and let the exe run and pull the rom.zip and rename that and see if that works for me.
[HTC EVO 3D] Unknownforce:
Yeah, This is a better route because I think just copying the exe and putting it on the card doesn't work... The zip file is what contains the signature, and hboot can't check it out of the exe properly i don't think...
[HTC EVO 3D] mnomaanw:
See if the zip contains an EXE of that RUU lol :D
[HTC EVO 3D] walkingcorpse:
lol nothing that goofy. I got the manually pullled rom.zip to work. Thanks guys.
[HTC EVO 3D] jcfunk:
Worked for me. THANKS. But issues I had was forgot to relock, pulled usb to soon to brick, and let go of down button to soon when doing Linux part. All problems I had where my fought. It works, I suggest tell ppl to read the whole thread cause a lot if issues seam to repeat. I read till I understood most of errors ppl where having.

THANKS again can't say it enough. :beer:

Sent from my DOWNGRADED EVO 3D
[HTC EVO 3D] dkdude36:
nope didnt work. same thing as always. right from checking back to bootloader screen.
[HTC EVO 3D] Unknownforce:
Open up the zip on a PC, what do you see inside?
[HTC EVO 3D] dkdude36:
same as usual. 18 img files, 2 nb0 files, andorid info text, and meta inf with the 3 sig files. my bootloader nb0 says hboot_1.50.0000_signedbyaa.nb0 is that correct or did some random dude just sign that incorrectly? all this having to wipe is really starting to piss off my titanium backup lol
[HTC EVO 3D] Unknownforce:
Seems right...

What does it say at the top of your boot loader in purple?
[HTC EVO 3D] dimqs153:
im on unlock s-on

should i relock first?
[HTC EVO 3D] Unknownforce:
Yes you must re-lock in order for the PG86IMG.zip to work properly.
[HTC EVO 3D] powduh09:
Yes... Relock before running PG86IMG

sent from downgraded hboot 1.50 3vo... s-off HTC, thanks to the real developers, I now have full control again...
[HTC EVO 3D] spirithandler:
Does my phone need to be on stock? or can I just lock it back up on meanrom and downgrade?
[HTC EVO 3D] dimqs153:
so

i just relocked

run PG86IMG.zip 2.17 ( coz i already update to 2.17 once )

root using tacoroot

continue ur tutor

am right?
[HTC EVO 3D] Unknownforce:
This process will revert completely to stock anyways. But as long as you have # in adb shell, you don't have to revert to stock to begin with.

Just backup your stuff, relock the boot loader and start from step one.
[HTC EVO 3D] Unknownforce:
Correct, verify your root by doing adb shell and seeing the # sign.
[HTC EVO 3D] dkdude36:
it says relocked and then right under that it says security warning (cuz i'm still running a custom rom and it's unbootable). i would revert to stock, but i cant run an ruu to do that
[HTC EVO 3D] Unknownforce:
The security warning is probably what's stopping you then. Idk.

If you have your stuff backed up, you can definitely just run the stock ruu exe in windows while booted to FASTBOOT USB to revert to stock.
[HTC EVO 3D] dimqs153:
i dont get mainver: 1.10.651.2

i got mainver: 2.17.651.2

u can see on my attachment

what should i do?
[HTC EVO 3D] Unknownforce:
Oh and remember to start from step one all over again, cause the main version will go back to 2.17 when you run the ruu.
[HTC EVO 3D] Unknownforce:
What is the output from the rest of the commands that you ran before those?
[HTC EVO 3D] dimqs153:
first attemp was fail

it told to unplug n replug after reboot

2nd attemp succes
[HTC EVO 3D] Unknownforce:
Not sure what that means, when you type adb shell do you see a # or a $
[HTC EVO 3D] dimqs153:
se my attachment
[HTC EVO 3D] Unknownforce:
You didn't get temp root to work right, the misc_version failed because it couldn't access what it needed to because there was no root.

Are you using tacoroot or zergRush?
[HTC EVO 3D] dimqs153:
tacoroot

coz im on 2.17
[HTC EVO 3D] Unknownforce:
Do it again and check the output there for errors.
[HTC EVO 3D] jasKaos:
If it's not one this with this entire guide, it's another. This is become such a horrible hassle/ordeal and I don't understand why!

I have zergRush in the folder, I can push the ****ing file, but for the life of me, whenever I try AT ALL to chmod, it doesn't do anything at all!

I try the 3rd line, and it says permission denied. IN FACT, it's like adb doesn't let me CHMOD at all!! WTF?

Please, for the sake of my own god damn sanity, please help. I am about to die here. I keep trying different methods, and nothing. I can't seem to get TempROOT so I can brick and continue on. HELP! HELP! HELP!
[HTC EVO 3D] Unknownforce:
OK, first thing... step back and breath.

Lol...

After you have done that...

do an adb shell and press enter.

Then type in chmod 755 /data/local/zergRush (THIS IS CASE SENSITIVE)

There shouldn't be an output, if there IS an output, it's likely an error message.

Let me know if this works for you or not.
[HTC EVO 3D] klept0:
Add me as another success story to your list....thanks to the whole team who made this a reality!
[HTC EVO 3D] Will32:
I'm trying this tonight but I need to iron a few things out.... Beside 1) in the second step, does it mean the Rom.zip or the ruu.zip?
[HTC EVO 3D] mnomaanw:
I was on 2.17 and tacoroot does the same with me.

I relocked the bootloader and ran the 2.17 RUU.

Booted the phone and without unlocking did the tacoroot and it worked fine.
[HTC EVO 3D] filmaker:
Hey okay so I quickly threw together a quick GUI application (Windows only) that will automate step one and the first part of step two. (Obviously..an application can't physically unplug your phone) Anyway.I threw this together really quick..so there are bound to be bugs and my 3D is already rooted, therefore I couldn't test it, so if any brave soul wants to test it, you're welcome to it. It runs the temp root, pushes all the necessary files and gets you up to the part that you have to unplug your device. Oh, and this is only for base 2.17, I didn't include 2.08. Thanks.

http://minus.com/mnKanHwd4#1
[HTC EVO 3D] Unknownforce:
OH, I just realized why you're having problems...

it should be:

adb shell chmod 755 /data/local/zergRush

NOT:

adb chmod 755 /data/local/zergRush

Sorry, I wrote those up in a hurry. I'll fix it.
[HTC EVO 3D] jasKaos:
Lol I'm relaxed.

I did that. Zero output. So does that mean it's good now to continue?
[HTC EVO 3D] Unknownforce:
Yes, continue from there, just exit out of adb shell first (just type exit)
[HTC EVO 3D] il Duce:
chmod is a shell command no?

so it should be:

adb shell chmod 755 blahblahblah

correct?
[HTC EVO 3D] Gimik:
holy balls that was fun. that was the most fun I've had with an android device. I am working on my friend's evo and was just going to send it back to him on 1.5, but when I read that I had to intentionally brick this thing, I just HAD to try it.

Worked like a charm. Thanks man.
[HTC EVO 3D] Unknownforce:
Yep caught that a couple posts back, fixed now.
[HTC EVO 3D] jasKaos:
Bricking this device seems to be realllllllly difficult too. lol. I keep pulling after 4 seconds, i'm going to try 5 next! I mean, how fast do you need to unplug and replug this back in???
[HTC EVO 3D] Unknownforce:
Yeah, you have to wait like 5-6 seconds, and plug it right back in, doesn't have to be instant, but quickly.
[HTC EVO 3D] jasKaos:
Ok, say I wait 5-6 seconds and it stops saying "Updating..." and starts the next process and then I unplug it and plug it back in... It won't brick, right?? It has to be done like RIGHT before the next part after "Updating", correct?

BTW I can't seem to watch ANY of the videos for this tutorial. Kind of sucks X_X
[HTC EVO 3D] Unknownforce:
You have to unplug before it gets to the next one, which is boot, dont' worry if you do it too late, boot is only your kernel for your current rom, which you will be overwriting when you go back to 1.13 anyways, if you do it too late, just restart again and go just 1 second sooner.
[HTC EVO 3D] mnomaanw:
You have to connect to a/c outlet and then take out the battery first, then start the update without battery and after 5 sec of updating bootloader remove the charger.
[HTC EVO 3D] Unknownforce:
Just an update, I think it might be possible to do the linux part on a VM rather than having to have a separate PC or a dual boot environment.

I'll be testing this shortly.
[HTC EVO 3D] jasKaos:
Trust me I've done just that. It never bricks. LOL Danny this cursed device! I'll try again later after work ha.
[HTC EVO 3D] dkdude36:
i've actually tried running the ruu and can't get it to run. might just be that it's not set up right (got windows running in parallels) but i doubt it. i think im going to try to return to stock 100% manually. here i come flashing, adb shelling, and removing su apks! let's hope somebody put out a rom.zip somewhere with stock system
[HTC EVO 3D] Unknownforce:
sounds more like a setup issue... I don't know parallels well enough... what error do you get when you run the ruu?
[HTC EVO 3D] alammori:
Unknownforce,

I know that your instruction are general steps for those with hboot 1.5. but looking at what Austin3600 did. I am assuming it is not necessary for those who previously used the HTC Unlock method to install 2.08 or 2.17 rom and use the temp or permanent root in order to push the version hack files.

Does that mean that since we are htc-unlocked with custom or stock rom we need to:

1. Change your directory to that location where you extracted the Tools.zip and type the following commands,

adb push misc_version /data/local/

adb shell chmod 755 /data/local/misc_version

adb shell /data/local/misc_version -s 1.10.651.2

adb reboot bootloader

fastboot getvar mainver

2. then Re-lock the phone.

then straight to Second Step
[HTC EVO 3D] Bairdog35:
And you told me it couldn't be done... How dare you discourage my emotions :(
[HTC EVO 3D] Unknownforce:
This is correct
[HTC EVO 3D] Unknownforce:
Eh, it's not looking good thus far, windows only detects a single device... So it's not passing them all to the guest Linux box... I'm still testing.

But, I'm also using the limited VirtualBox... it passes through USB DEVICES, not PORTS... which is poor... I think VMWare might do things better... gonna check that out next.
[HTC EVO 3D] jhuff83:
Looking forward to an easy tool that's put out for this.
[HTC EVO 3D] dkdude36:
I'll figure it out eventually. Thanks for helping me out. Just need to get rid of that security warning I think
[HTC EVO 3D] Bairdog35:
I can test it with vmware for you <3
[HTC EVO 3D] dkdude36:
i'll do the same as soon as i get to that step (if ever). you guys rock
[HTC EVO 3D] Unknownforce:
Please do, if you don't mind.
[HTC EVO 3D] notsointeresting:
I only read this post of yours. But if you have the security warning message on your bootloader menu you HAVE to legitimately take the RUU before you start this downgrade method
[HTC EVO 3D] Bairdog35:
Just downloading the Vmware image for ubuntu 11.04..

I will report back, unless you end up finishing before me :P
[HTC EVO 3D] dimqs153:
its fail me on linux step, linux wont detect it huff
[HTC EVO 3D] xcheljd:
Hey UnkownForce, i was able to do this last night successfully, thanks.

I got a question though. I did an htc software update and it says RELOCKED in the bootloader again. I noticed in your video you said you have locked that device a few times. How did you get it to say LOCKED?
[HTC EVO 3D] dkdude36:
i'm trying, i'm trying. can't get it to take no matter what. just can't ruu or run pg86img.zip. as legitimately do you mean while unlocked before doing mainver thing?
[HTC EVO 3D] Unknownforce:
I might be able to simplify some of the steps, but as of right now, there isn't a known way of keeping the device in EMMC Mode, and Windows doesn't detect the devices correctly. So a Low Level USB Kernel module would have to be written to intercept and mount the devices properly, (there's literally 40-50 devices that get detected all at once, windows doesn't know how to handle it properly)

An "all-in-one" tool is probably not going to happen anytime soon, at least not for windows.

A Linux one could probably be written fairly easily, but I'm hardly a pro at linux programming :/
[HTC EVO 3D] il Duce:
you have to RE lock to take the RUU
[HTC EVO 3D] Will32:
What should I get when I run the command chmod 0755 /home/ubuntu/emmc_recover, nothing?
[HTC EVO 3D] Unknownforce:
I don't know where this flag is stored, it's obviously not stored in hboot, nor in any of the normal RUU partitions apparently, my guess is in some hidden partition.

And yes, I have done this process 4 or 5 times now, but I never did an HTC unlock to begin with so I was never "UNLOCKED" or "RELOCKED" I was always "LOCKED"

Do you still see security warning?
[HTC EVO 3D] Unknownforce:
correct, there is no output for that command when it's successful.
[HTC EVO 3D] markawashington:
Do you live close by? Ill pay you to do this for me :-)
[HTC EVO 3D] Unknownforce:
I'm in North Central Illinois, so how close is that for you? lol...
[HTC EVO 3D] wwjoshdew:
I use an addon for Firefox called DownThemAll! I love it!

There is a portable app that I recommend as well!

WinMd5Sum Portable
[HTC EVO 3D] adamantypants:
Mark this one another success story.

Background on mine:

-Previously HTC unlocked

-previously updated the firmware via 2.17 RUU

-previously running custom rooted 2.17 rom

A few notes for my install:

-I never RUU'd back to stock for anything so I went straight to step three in the first part. I did relock the bootloader before the next step.

-I tried a couple PG86IMG zips for step two that I previously had but nothing worked until I found zedo's all in one zip. Thanks for that.

-When it came to the part to unplug, I had to try it a couple times. I ended up unplugging right after the "updating" part in fastboot was finished. It was harder unplugging/plugging in than I thought it'd be.

-This one I think is most key; when you try to run the emmc_recovery script, make sure you are in the directory it's saved in. Run "ls -d" to show where you are or just "ls" to show all the files where you are. If you see emmc_recovery and the hboot_1.4.nb0 you're in the right place.

-I too had to run Revolutionary a few times (3). On the last attempt, the CMD prompt said it was unsuccessful but my phone rebooted back into bootloader and it said "revolutionary" at the top. I was s-off and 1.4'd. From there I just had to issue a fastboot command to install TWRP and restored my nandroid.

Thanks a TON to unknown and everybody that helped him. Mostly because he had the balls to intentionally "brick" his device. In the end, I think I'd call it a soft brick since it seems like nobody really truly bricked their devices.
[HTC EVO 3D] jhuff83:
Yea, I know nothing about Linux since I have never even used it. My phone is already rooted, it's my wifes phone that is on 1.50.
[HTC EVO 3D] xcheljd:
Oh ok i see. hmm, well i need to take it to the sprint store cause the bottom left corner of the the screen is unresponsive. im not sure what to do lol
[HTC EVO 3D] il Duce:
@unkownforce, nice redo of the OP :)

what does this line do? j/w

adb shell /data/local/misc_version -s 1.10.651.2
[HTC EVO 3D] Unknownforce:
Well, the only way I could test to find where the flag is stored would be if I had a device that had been previously unlocked sitting next to a device that was never unlocked, do a full partition dump and compare them all... If you can still boot normally, you can pull all your partitions by using the dd command in adb shell. (Reading from the EMMC is permitted with root access)

You would have to pull them all, as I'm not sure where it would store it...

so you'd start with the following command:

dd if=/dev/block/mmcblk0p0 of=0p0.img

and keep doing that, increasing the 2 numbers that are changed below all the way till:

dd if=/dev/block/mmcblk0p34 of=/sdcard/0p34.img

I'd then just do a hex compare on them all and see which ones are different, it would take a while, but eventually I'd find it.
[HTC EVO 3D] Unknownforce:
This tool re-writes the Main Version to 1.10.651.2 instead of the 2.08.651.3 or 2.17.651.5 that's on your phone, it's a preparation for when you are going to run the 1.13 RUU exe at the end of the process, becuase if you do NOT change it, you will get "MAIN VERSION IS OLDER" error and be hosed, and have to re-start from scratch.
[HTC EVO 3D] il Duce:
Ok cool, it must be the "- s" command I'm not familiar with. Ty.
[HTC EVO 3D] Royalfox:
Oh damn. Guess I'll need to download Ubuntu and be brave enough to brick my device.

PG86100
[HTC EVO 3D] Unknownforce:
The "-s" is just the argument to tell tool to write whatever version number you give it. The tool actually does more things than changing the version, but we're just using it for this function.
[HTC EVO 3D] jamexman:
When this doesn't work, try ##CLEAR# and your MSL.

That one will work for sure (won't delete anything, it actually asks you if you want to wipe or not;)

##SCRTN# dd nothing for me but CLEAR did. Just my 2 cents if somebody is also having the SMS radio problem and/or STUCK 1X instead of 3G.
[HTC EVO 3D] spirithandler:
Ok I am on a test run on ubuntu via USB boot.

I am not to familiar with linux so I want to figure that step first before I go through with it.

OK Now I am stuck at step 4 in section 3 I copied the files to the home directory but dont know how to access it through terminal I know there is a post buried in this thread that states this issue I am having but I can not find it.

Also I read that if you have other usb devices hooked up you need to extend the number or letter does that include mouse and keyboard if not then then the only things I have is the flash drive.

So what number sequence should I have in my terminal windows.

I am assuming I will need 4 of them open.

I am ready to do this just want all my ducks in a row.
[HTC EVO 3D] Unknownforce:
You're on the right path. just press the windows key, which should get you a window with like a search bar, and type in terminal, and terminal should come up as a selection, do that 4 times.

Then what you can do to CHECK your current /dev/sd count, is do a ls /dev, this will show a list of all devices, just look through the list for the things that start with sd, you'll see sda numbers, just start with the earliest one that isn't listed, if you see sdb there, then start with sdc, or if you see all the way till sdd, then start with sde, and just put 4 of them from that letter on.

Get them all to the waiting stage and then you're good to go.
[HTC EVO 3D] Unknownforce:
By the way, Happy St. Patty's Day to all, I'm out for the night, if you're going to need help with this, you'll have to wait till I'm no longer hungover. (which might be about 24 hours from now...)

:)
[HTC EVO 3D] edgeez25:
Hey Unknown I successfully did it also... A couple of things I noticed first of all for the people having problems with the update use xHausx update that one works perfectly I had problems with every other...

2nd I started of on Eternity HTC Unocked... And changing mainver changed just fine...but like a dummy I left the battery in during the brick part so i just let it update then HTC unlocked and rooted it and tried again but this time I got an error when doing the mainver change so i loaded up my Eternety backup tried again and it worked just fine.. so for the people having issues with the update and running into problems hope this helps...

I just want to say I appreciate all the hard work every single person that put their time into this .. specially Unknown for not only doing it and putting it out but for even going back and forth for the sake of making it easier for all of us to be able to do it... So ill be sending some beer funds soon enough but for tonight cheers and JagerBombs in of honor Unknown...:beer::):beer:

Also in my opinion they only tool that would be great would be something to put the phone into the emmc recovery that's by far the hardest part... LOL timing it is a bioootch but everything else is cake...

And trust me guys Im no Mister Miyagi when it comes to Linux hell I'm not even the kid LOL so trust guys not that complicated ... So just go for it ... Gonna b worth it when u see that 1.40 its funkin greeaat
[HTC EVO 3D] dgomez720:
clarify it for me

soo...just to clarify it for myself and others speed reading.. what is that update thing you are talking about in the first section of the post im confused..not to troll on ya but your spelling and missing words are confusing me lol and second...we CAN do most of this being htc unlocked in order to change the mainver without having to do the tacoroot thing again?
[HTC EVO 3D] powduh09:
Confirmation number: 7M185361A99384546
[HTC EVO 3D] Will32:
So when you relocked with eternity, did you get a security warning? I get that stupid warning every time I relock, and I don't think I can run the pg86.IMG to brick with a security warning, can I?

Im on mikrunny and it I get the security warning ill have to ruu.exe which means I have to tacoroot then change my mainver again.

How do I relock without getting the security warning?
[HTC EVO 3D] greeg32:
having the same issue. I get the downgraded mainver, then relock and get the security warning. htc unlocked and came from meanrom. I'm sure you are right about the PG86IMG--I think the only way out of the security warning is to run the 2.17 RUU...again....
[HTC EVO 3D] Will32:
i guess i couldi just run the 2.08 since thats what unknown used?it should go since i changed the main version, right?

Just noticed one of the tags for this thread "man up and do it" lol, still building courage. im using ubuntu on an sd card, the card that came out of my s-off evo 4g :)
[HTC EVO 3D] piscesjoey:
Its been awhile since I used Linux. I have the emmc_recover and hboot 1.4 files in my home folder, can someone tell me the exact path I need to type in terminal after chmod 0755? Thanks in advance!
[HTC EVO 3D] Will32:
i found the path by right clicking on it then selecting properties, itll tell you there. mine was /home/ubuntu/emmc_recover