yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] cmccracken:
It looks like its still not working for me, but maybe that's what you meant by the x64 issues... I ran it with ProcMon, and it looks like its failing because its looking for ANDROIDUSB.sys in "C:\Windows\SysWOW64\drivers\ANDROIDUSB.sys" instead of in SYSTEM32. I'm guessing this is due to the way x64 Windows sandboxes 32-bit apps. I'm sure you'll have a lot better luck troubleshooting it once you have an x64 box to try it hands-on. Again, don't feel compelled to fix it for me- I'm perfectly comfortable using the command line to root. I just thought I'd give it a test run to help you out.
[Hero CDMA Android Development] regaw_leinad:
That is pretty odd. I have no hard coded reference to that path, just grabbing variables from the machine. It definitely works on x86 machines though. I'll have an easier time when I get set up tomorrow.
[Hero CDMA Android Development] cmccracken:
If you can convince someone you're a student, you can get VS2010Pro for $110 (http://www.academicsuperstore.com/products/Microsoft/Visual+Studio/1387985). Otherwise, the free VS Express Editions are surprisingly functional for relatively simple apps.
[Hero CDMA Android Development] regaw_leinad:
well it helps that I AM a student :) Thanks for the info. Too bad I got used to ultimate so much haha.
[Hero CDMA Android Development] cmccracken:
You probably won't notice a difference in the versions. The higher-end versions of VS only have more components and tools for large projects and server-based systems. They include things like SourceSafe and SQL Server licenses. The actual dev studios (C#.net, etc...) are identical among all of them.
[Hero CDMA Android Development] regaw_leinad:
Cool, I won't be needing those for little bit at least, maybe until I have $12k to spend on Ultimate, then another $3.5k a year haha
[Hero CDMA Android Development] Guss35:
I got VS2010 Pro for free from dreamspark.com. I think its Microsoft sponsored. You need a student email in order to get it and last for a year I think but I think you can renew it as long as your a student. I know you said you wanted ultimate but hey here you go anyways or for anyone who wants pro.
[Hero CDMA Android Development] regaw_leinad:
Oh wow, NICE man. Thanks a LOT! I'm downloading Pro right now!
[Hero CDMA Android Development] regaw_leinad:
Updated Hero Rooter to work on x64 processor machines. Check the first post and download the correct version for your processor architecture.
[Hero CDMA Android Development] Rugger15:
Daniel,

I appreciate all your work on this, but when I run the exe, it shows:

CONNECTED - NOT A CDMA HERO

even before I connect the phone. Not sure where to go from there. I have completely installed the .NET and the Sync.

Thanks
[Hero CDMA Android Development] regaw_leinad:
are you on a x64 computer?
[Hero CDMA Android Development] asapelectric:
same here as above, not 64.
[Hero CDMA Android Development] Rugger15:
Nope, x86 here.
[Hero CDMA Android Development] regaw_leinad:
You guys sure you have the correct version? MD5 matches the first post?

I just can't seem to replicate the error. I'm trying really hard too. DO you have any other android devices plugged into your computers?
[Hero CDMA Android Development] xxproblemzxx:
my old hero was stolen and I'm trying to root this new one but the 2.31.651.7 RUU isnt working on mine. i running 2.32.651.2 right now and when i try this root method it just stops at pushing expoit to phone, it doesnt even start running the exploit. any ideas?
[Hero CDMA Android Development] cmccracken:
Daniel, I just a quick test and it looks like the x64 version DOES work correctly on Windows Server 2008 R2. I didn't try rooting (I'm already running aospCMod), but everything detects and connects up ok.
[Hero CDMA Android Development] aqualls:
I have a file to root that version.
[Hero CDMA Android Development] regaw_leinad:
This should be working on that version. It sounds like there is a connection problem between your phone and the computer.

That's good to hear, glad I fixed that issue.

What is this "file" you speak of?
[Hero CDMA Android Development] aqualls:
I have used "super one click fuse" in the past. Also works on all the updates. I do like this one also. I used it on my brother-in-law's phone.
[Hero CDMA Android Development] eldenmisty:
How do I find out what build I have for cm7 and how do nightlies work

sent from gingerbread hero
[Hero CDMA Android Development] regaw_leinad:
umm go to Settings > About Phone > and look for the software version. not sure what this has to do with the Hero Rooter though...
[Hero CDMA Android Development] DJB628:
Hey Regaw I updated the thread at AF and I had a couple of friends that tried it and said it Rocked.
[Hero CDMA Android Development] the noan:
Thank you for this. I used this to root my buddies hero. He has been so jealous of the custom roms I've been running on my android phone, its good to get him on cm7. Thanks again
[Hero CDMA Android Development] garol:
Thanks for the help. I have dl the net 4.0 and updated htc sync, but when I run the root exe and then connect my phone it still doesn't see my phone. I am using the version for i86. thanks for your help
[Hero CDMA Android Development] garol:
Well I went ahead and dl everything to my new laptop and then tried with the i64 version and sweeeet no probs!!! U r the man!!! Now I read earlier that OTA updates were going to be stopped but just makin sure. Thanks!!
[Hero CDMA Android Development] regaw_leinad:
You need to make sure you put the phone in USB Debugging mode for it to recognize it.
[Hero CDMA Android Development] laie1472:
Ohhh that could have Been the reason why when I tried to use the first version you put out it gave me a little trouble. I'll be dl the 64bit verison and try to use that on my next prl/profile update. Thanks man for all the hard work.

Edit sent you a pm. When you have the time thanks.

Yea it's me again. With the

Modified Hero
[Hero CDMA Android Development] Eric_1966_FXE:
Regaw .... THANK YOU

Regaw,

I've read your articles in the past and they have been very helpful but this post and your hero root.exe are absolutely amazing.

I had to bring my phone back to Sprint last week for a repair so I had to run the ruu and go back to stock.

I ran across this thread when I was looking for the original posts I used to root. I used your guide on rooting last time (http://xdaforums.com/showthread.php?t=694572) so when I ran across your new method I figured I'd have to give it a shot.

Amazing, fast, easy, and painless. You are awesome, I don't know what more to say. I hate to say it but I'm in no position to donate to you like I should, at least not right now, but I am looking forward to buying you a six-pack or whatever you want as soon as I am able.

Thanks again.

Eric
[Hero CDMA Android Development] ccoll5:
I'm having the same issue as a couple guys had earlier. I don't have my Hero connected to my computer and it gives me the message, "Connected - Not A CDMA Hero". I downloaded the x86 version. My phone still has stock build 1.5. There is nothing else hooked to my computer except keyboard and mouse. Any ideas are greatly appreciated.
[Hero CDMA Android Development] regaw_leinad:
Are there any other C# developers that would like to collaborate with me on this project? It's nearly complete. I just need some fresh ideas.
[Hero CDMA Android Development] berkoz912:
regaw,

btw u r a genius... I have downloaded the most recent version today and still stuck on "Running Exploit..." for about 25 min now, should i continue to wait it out?
[Hero CDMA Android Development] regaw_leinad:
Definitely not. This whole thing should take under a minute to complete.
[Hero CDMA Android Development] berkoz912:
what should i do then? ive tried redownloading and started the root again and it still takes a while

tried, all fixed... thanx
[Hero CDMA Android Development] regaw_leinad:
For the people getting a virus alert on this:

Apparently rageagainstthecage-arm5.bin has made it all the way to anti-virus definitions, so that is the file that is getting flagged by the antivirus, not my program. rageagainstthecage-arm5.bin IS a linux exploit, so that's why it's triggering the alert.
[Hero CDMA Android Development] bobsbobbers:
Woot, this is a sweet app regaw! Great work.

Now If only I could find an unrooted hero somewhere within reach.... :-(

I'm always banging my head against the wall when it comes to installing the latest recovery though, no idea why, just seem to always have troubles. Would be totally sweet if this app could accept custom recovery images and flash them for the user. I know, that's not the focal point here, but I for one would find it very useful.

Also, In order to run the app I needed to completely disable Microsoft Security essentials' real-time protection. I tried just setting the file to 'allow' but the program still had problems. disabling the AV entirely let it work like a charm.
[Hero CDMA Android Development] regaw_leinad:
Hey ccoll5 can you run something for me? Do you have adb already on your computer? if so, open a command prompt, navigate to the directory w/ adb in it (unless you already added that folder to your environment's path), plug your hero in and then type

adb shell getprop > %USERPROFILE%\Desktop\Heroc_1.5.txt

and attach the file it makes on your desktop to your next post.
[Hero CDMA Android Development] regaw_leinad:
Yup here's the security report on the rageagainstthecage from MSE...

http://www.microsoft.com/security/p...?name=Exploit:Unix/Lotoor&threatid=2147643791
[Hero CDMA Android Development] regaw_leinad:
Updated to 1.3, hopefully fixes some things. The main reason for 1.3 was recoding for easier expansion in the future, so i'll get going on this "Not a cdma hero" problem
[Hero CDMA Android Development] laie1472:
Sup Reg?? Hope all is well. Just throwing a hint to that pm I had sent you. When ever you have time. Thanks. And is the v1.3 compatible with 64bit os's???

And is the rage/virus issue still relevant with this update??? Thanks

Yea its me again with the

Modified Hero--
[Hero CDMA Android Development] DJB628:
Great work bro, and OP edited @ AF FYI, take care
[Hero CDMA Android Development] regaw_leinad:
I completed a small program for those of you who have the "Not a CDMA Hero" problem. I have a program for you to run on your computer, reply here if you are having the problem, and I'll pm you the link to the program.
[Hero CDMA Android Development] bemerson1:
Connected - NOT A CDMA Hero

Tried this on my Windows XP laptop and got the error - Connected-NOT A CDMA Hero. So I tried it on my Vista laptop and it worked great. Not exactly sure why it won't work on my XP machine as I confirmed that NET 4.0 was loaded, etc.... There must be something that the program doesn't like.

I had used the previous ADB commands to root my phone originally and now this program makes it even easier. Great program if you can get it to work on your computer.
[Hero CDMA Android Development] kolmeck:
Hey Reg,

I'm getting that "not a cdma hero" error as well, but its funny that XP should be mentioned, because I've tried it on two xp machines and getting the "not a CDMA hero" error, could it be something to do with XP x86? both machines were 32-bit as well. Would really appreciate the program though as well, thanks!
[Hero CDMA Android Development] BradGroux:
I am also receiving the Connected - NOT A CDMA Hero error. I am using a Sprint Hero running Windows 7 x64 Ultimate.

HTC Sync Installed

.NET Framework 4 Installed

USB debugging is enabled

Firmware version: 2.1-update1

Baseband version: 2.42.02.10.29

Kernal version: 2.6.29-ba77cf03

Build number: 2.32.651.2 CL282911 release-keys

Software number: 2.32.651.2

This is a virgin handset that hasn't ever been rooted or had 3rd party tools/apps installed.
[Hero CDMA Android Development] kolmeck:
You need to downgrade your phone, the latest updates patch exploits that this rooter uses. I used the 2.31.65.1.7 RUU and it worked great. sidenote : I ended up using a Windows 7 x64 Ultimate machine and it worked really well.
[Hero CDMA Android Development] regaw_leinad:
So digging deeper, I found out that the way I am compiling this application, it's support is for Windows 7 and up... not that there really is an.. up. Reports are that it worked fine on Vista as well. Xp has the dreaded "Not a CDMA Hero" and my guess is it having to do with either the timers I wrote in the code or the code for the temp directory. Anyone having issues on XP that wants to help debug, please pm me and I'll work with you to figure it out.
[Hero CDMA Android Development] LiquidSolstice:
Does anyone have a link to the .7 RUU? I'm getting a brand new Hero in the mail today to replace my broken one with and it might come with the most recent software version, I'll need to downgrade before rooting.
[Hero CDMA Android Development] il Duce:
here you go:

http://xdaforums.com/showthread.php?t=804692

also:

http://xdaforums.com/showthread.php?t=792170
[Hero CDMA Android Development] LiquidSolstice:
I appreciate the effort, but those are both for S-OFF Heroes only, and my new Hero won't be rooted, much less S-OFF :P.

I looked at Regaw's old rooting thread and found the link to the old .5 RUU, which I'm sure will work just fine for this exploit: http://www.megaupload.com/?d=ZECABKEU

For those who want the stock .7 release RUU, I'm downloading the EXE right now (slow as hell through RapidShare) and then I'll upload it to MediaFire for fast downloading.
[Hero CDMA Android Development] il Duce:
OH, I thought you meant to get your current back to stock, well, glad you found what you were looking for.
[Hero CDMA Android Development] LiquidSolstice:
Nah, sprint would never repar an accidental damaged phone with a new one.

Anyways, here's a link to the Official .7 release, hopefully Regaw can add it to the main post:

http://www.megaupload.com/?d=1Y3GJNLZ
[Hero CDMA Android Development] someonenewhere:
The RegawMOD Hero Rooter works with that build....

I decided to run the RUU on my phone last night and it rooted it....

Great job with the rooter RegawMOD...
[Hero CDMA Android Development] LiquidSolstice:
Right, it would work with that build, because it's the latest one that the rooting tool will work with. The rooting tool won't work with the newest .2 release from Sprint.
[Hero CDMA Android Development] LiquidSolstice:
Gah. Having problems. I got a fresh new Hero in the mail today, it had the .2 software on it, so I RUU'd to the .7 release.

I have .net 4.0 and I ran the app with no issues. It did its thing, said I was rooted.

...except, I'm not root. I have no SU and no recovery.
[Hero CDMA Android Development] LiquidSolstice:
Wow, ignore me, I just rebooted and there SU was there. Grabbed ROM manager, flashed clockwork, rebooting into recovery now.

EDIT: Worked beautifully. Thanks regaw.
[Hero CDMA Android Development] Darkness4209:
Thank you so much. That was so easy. I went back to the original RUU, then updated to .7 just so I could get e newer PRL. Thanks
[Hero CDMA Android Development] S3NATOR:
Just wanted to say thanks for this! This was soooo freaking easy compared to old methods. I just rooted and installed AOSPCmod in minutes on my Wife's Hero. Rooting and installing CM6 on my Hero back when it first came out took me 2 days. Once again thanks so much for this!!!!

S3N
[Hero CDMA Android Development] user7618:
You don't need to unroot in order to update your prl. Just flash a Sense rom and update.

-----

Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
[Hero CDMA Android Development] dteze88:
Download link for the 64 bit is broken.. anyone? thanks!:D
[Hero CDMA Android Development] regaw_leinad:
Hey guys, I'm on the Ruby Princess cruise ship right now playing the saxophone. Again, my internet is pretty limited, well actually costs a lot of $$$ per internet card. I'm still working on getting this the rooter to work with Windows XP. There is a problem only in XP that doesn't like one of my functions. I'm working with MagicStars for XP support.

The link should be up, I just tried and it's working on my crappy internet here. Hope it's working again.
[Hero CDMA Android Development] Ree$e:
A little help im stuck on the "ROOT ME" screen it just freezes up i tried it three times same result. Please advice
[Hero CDMA Android Development] agentpower:
Need some help.

I got "Running Exploit... Root Achieved" then It said

"Waiting for reconnect" and said root failed error....

DId it twice and got the same error...

Anyone?
[Hero CDMA Android Development] Gab4s:
I used the program. Everything went smoothly, said it was rooted. Once I rebooted, the touch screen wouldn't work anymore. It turns on normally and everything seems to load but I can't slide on it to unlock and use the phone. Anybody...please help!
[Hero CDMA Android Development] regaw_leinad:
Hmmm, that's pretty odd. Nothing in the rooter should do anything that would affect the touchscreen. Have you been successful at all getting the touchscreen to read inputs?
[Hero CDMA Android Development] Gab4s:
As of now, no...since it has a visual code lock, it stops there even when I hit menu twice. It does receive text messsages but it doesn't receive incoming calls.
[Hero CDMA Android Development] dopedroid:
same here, except i never got far enough to see "root failed error" always just waiting for reconnect. up to 30 minutes. brand new stock wipe hero and an ota that came in this am 2.31.651.7. have htc sync 2.0.40 updated last night, and redownloaded .net 4 just in case i didnt have it. used the 64bit link in OP but never get passed waiting to reconnect. not sure what I'm supposed to do at that link. literally went through all 16 pages here.

Thanks Reg for your work and keep jammin
[Hero CDMA Android Development] amtank:
When I start the program it comes up fine.

It says not connected.....and then immediately goes to Connected - not a CDMA Hero

the only problem is...NOTHING is plugged in. Thoughts?
[Hero CDMA Android Development] regaw_leinad:
Windows XP?
[Hero CDMA Android Development] wj0t:
I am on windows xp and it is not working
[Hero CDMA Android Development] regaw_leinad:
Hey guys, I'll be home in 2 weeks. I'll get this working on my own as soon as I can when i get home. Anybody proficient in C# want to take a look at the solution? I'm on a ship, so It's hard for me to do much. Pm me
[Hero CDMA Android Development] hunterd13:
hey regaw_leinad, i went ahead and tried this on a friends hero. it finally worked but i had to run it 3 times in a row to get it to really install superuser. it always said it was successful but really only was after the third time. tried it on an extra hero i had and same result. windows 7 ultimate x64. just an fyi
[Hero CDMA Android Development] raezza:
Hi Regaw,

New HTC hero user but not new to Android my daily driver is a Captivate, I was given an HTC Hero for helping a guy with his new phone. Anyways I wanted to set this up for my son so he doesn't always bug me for my phone. So I ran the rooter and it succeeded all the way to the "it is safe to unplug" prompt.

Problem is I too have lost touchscreen also wifi is dead (also selecting airplane mode forces reboot, then it comes up in airplane mode), trackball still works.

Currently the device is at firmware 1.5, of course I am trying to get it up to a current ROM. My plan was to root, which I believe I did successfully, install TiBU to be able to keep some of the paid apps on the phone, TiBU did install but reports not rooted:confused:.

I have tried...

Rebooting (after 1st reboot no more touchscreen)

Re-run root (mixed results "rebooting error, restart phone run again" msg then black screen requires battery pull to reboot, )

fixed permissions from Advanced Recovery menu

key test from Adv & Debugging menu does show "Key: 330" when I tap the screen (so touchscreen is good)

At this point, though I would love to keep some of the installed apps, I would rather be able to flash a new ROM and hopefully have everything work properly.

Any ideas or suggestions would be greatly appreciated.

Thanks

Raezza
[Hero CDMA Android Development] vayman:
Just a thought, but have you tried running RUU to get back to stock HTC and then attempt to re-root using this method or another method? You will lose everything on the phone so make sure to back up anything you want to keep. FYI, it will not touch anything on sd. Here's a link to the most up-to-date RUU. While on it you can also accept OTA update for 2.32.651.2 which is AFAIK the last update for HeroC.

http://xdaforums.com/showpost.php?p=8474671&postcount=1

Credit goes to member whosdaman for the post.

**Edit: Assuming the paid apps you're referring to are market apps they will be preserved in market and you can install them once you get back up and running on the ROM of your liking. ;)
[Hero CDMA Android Development] raezza:
Thank you so much Vayman and Whosdaman, I am all over it and will do this tonight...

THANK YOU thank you Thank You :D
[Hero CDMA Android Development] vayman:
No problem man! Let me know how it works out. If you need any help send me a PM. :)
[Hero CDMA Android Development] regaw_leinad:
Hey guys,

Sorry 'bout the long wait!! My contract on the sea was extended a few extra weeks... I'll be at my house tomorrow night, and will start on the new build of this. I'm surprised at how many downloads there have been! That's a good sign that people are getting a lot of use out of this. I will try hard to fix the Windows XP problem when I get back!
[Hero CDMA Android Development] ROID R4GE:
I downloaded and rooted my new hero today, thanks. Broke my old rooted hero and my buddy gave me his old one to hold me over til the new evo comes out. His still had 1.5 on it, ha. Anyway worked perfect and so much easier then when I rooted my old hero so long ago...
[Hero CDMA Android Development] ROID R4GE:
I had the same problem. All I did was boot into recovery and installed aosp's latest gingerbread rom. That'll take care of your issue.
[Hero CDMA Android Development] andythegreenguy:
So, I tried this, it ran all fine and I got the message about Root successful and phone can be unplugged. However, when I check afterwards:

1. SU was not available

2. adb shell returned "#" prompt

3. Reboot recovery did not boot into recovery - got the phone with exclamation sign (no recovery available)

4. After phone reboot - adb shell returned "$" prompt and did not allow su

The phone is running:

Firmware: 2.1-update1

Baseband: 2.42.01.04.27

Software: 2.31.651.7

PRL: 01115

PC: Windows Vista
[Hero CDMA Android Development] old.ghost:
thanks for this awesome tool.
[Hero CDMA Android Development] Onethirtytwo:
Wow! All I can say is awesome, literally took 30 seconds max. Thank you for the awesome work mate!
[Hero CDMA Android Development] regaw_leinad:
Due to a request, I wrote a quick program (batch script with all necessary binaries included) to fully "un-root" your Hero back to stock 2.31.651.7. I have not tested this because I no longer have my Hero, but it's relatively simple. This is basically in case the RUU doesn't want to read the Hero after it's been rebooted to oem-78 mode (RUU-mode).

All the source code is in plain text in the batch script, so you can look it over before running if needed. included is the "wget" binary to download the zip that resets the phone during program execution. Sometimes antiviruses pick wget up as a virus, but it is NOT a virus, just a binary written to download from the web.

REMEMBER -- This will erase all User data on the phone, and does NOT touch the sdcard.

Hero "Unrooter"
[Hero CDMA Android Development] laie1472:
Were is wget downloading the zip from???

Root/Hack-Mod_Always*
[Hero CDMA Android Development] le3ky:
Anyone tried this with/will it work with 2.32.351.2?
[Hero CDMA Android Development] regaw_leinad:
It shows in the source code, it's downloading from the "link" subdomain of my website, regawmod.com :)
[Hero CDMA Android Development] regaw_leinad:
Haven't tried it, but it's probably worth giving it a shot!
[Hero CDMA Android Development] laie1472:
What I don't understand is y it would cause an antivirus alert??? Or y not just post the zip on the thread here for users If it will potentially trip an os security software???

Root/Hack-Mod_Always*