yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] idroid84:
I have genuine 2.1 ROM WWE, how does this rom get rooted please? I have tried alot of the super users but can't use Android Commander to delete apps within /data/apps. It comes up saying 'you need root access to do this operation'
[Hero, G2 Touch Android Development] pulser_g2:
Go to the VillainROM site for CIME :) www.villainrom.co.uk and go to the VR12 forums
[Hero, G2 Touch Android Development] pulser_g2:
You need to carry out this procedure to get a patched recovery onto your hero, then install a rooted ROM onto your phone. Nandroid backup first of course.

Or come onto IRC and someone will help you
[Hero, G2 Touch Android Development] Calistoga:
I successfully applied the patch kindly supplied by Pulser :)

The phone rebooted and I performed a nandroid backup. I rebooted the phone normally while I downloaded VR12. I inserted a blank 2 GB (stock Hero) SDcard and formatted it inside the phone. Now I copied the VR12 zip to the root of the SDcard and renamed it update.zip.

I shut down the phone, and reboot it by pressing Home+Power, now the following

screen appears: a.imageshack.us/img801/9164/homepowerhtchero.png

The phone didn't respond to anything, so I removed and reinserted the battery, and the phone booted normally again.

Please note that this phone is running the OTA 2.1 and I have never rooted an Android phone before. Have I done something miserably stupid?

Any input is most appreciated :)
[Hero, G2 Touch Android Development] pulser_g2:
Weird. Repeat the process again, as I think stock ROMs try and overwrite the recovery each time they boot. When you finish the process, immediately nandroid and flash VR12. That will then flash a new recovery, AmonRA 1.6.2a, and you will be sorted :)
[Hero, G2 Touch Android Development] Calistoga:
I did as you said Pulser, and everything works excellent! VillainROM 12 is now up&running on my GSM HTC Hero!

Pulser, you're a cool guy :cool:
[Hero, G2 Touch Android Development] harsha_aithal:
Worked at the first shot

I recently updated my Orange hero using the official OTA and used the guide for the rooting. Bingo! worked at the first shot :-) Thanks

One more thing how to get the latest SU apk, which is Used in VR Roms?
[Hero, G2 Touch Android Development] Lennyuk:
download a VR rom, and take it out of the /system/app folder, then use adb to push it to system/app on your rom
[Hero, G2 Touch Android Development] harsha_aithal:
Thanks. But not happening.

Says.
[Hero, G2 Touch Android Development] perpetualmotionuk:
Orange 2.1 OTA Official Update ROOTED (confirmed)

HTC Hero 100 (Orange branded and network locked). Downgraded to RUU_Hero_Orange_UK_2.73.61.66_release_signed_NoDriver to get the OTA updates. Installed 2.1 official. Rooted with Pulsar's method and 100% worked first time.

Installed su and Superuser.apk and much Orangey-rooty goodness!
[Hero, G2 Touch Android Development] harsha_aithal:
Significant Changes

I have used new RUU update (from orange) for a day so. During that time I have noticed the following which I think are significant

[QUOTE]1. Battery was not draining as it would have happened in Custom ROMs
2. Found RUU more stable
3. Scrolling through home screens/menus was much smoother than Custom ROMs
4. RUU Still has some security certificate issues with MS Exchange
5. Not rooted and hence the real convenience gone (can be rooted)
[/QUOTE]

Syncing my office mails is still a dream for me :-(
[Hero, G2 Touch Android Development] harsha_aithal:
So, you are running latest Orange ROM which is rooted..?
[Hero, G2 Touch Android Development] ticho:
Does your job really require you to read your work e-mail 24x7? I'm asking because I noticed that lot of people tend to think their job does, while it really doesn't, and they're just stressing themselves in their free time.
[Hero, G2 Touch Android Development] the7thcolumn:
Sorry for my n00bness but I have OTA 2.1 update with no custom ROM, if I follow these instructions I will have a rooted 2.1? Or must I install a new ROM (such as VillianROM).

TELUS HTC Hero 2.1
[Hero, G2 Touch Android Development] pulser_g2:
These instructions will get your ready to install a custom ROM when you see the blue care-bear :)
[Hero, G2 Touch Android Development] wag3slav3:
Nice, go me!
[Hero, G2 Touch Android Development] dkelley:
that has to be an issue with your office certificate. you likely need to ask the IT guy there for a copy of the cert, store it in your sd card, and then there's I think a way somewhere in settings to import the cert.

it shouldn't have to be that way but some offices make life tough on people it seems...

I have zero issues with exchange in any rom at all, even 2.1 vanilla (with CorCal.apk for calendars).
[Hero, G2 Touch Android Development] gabitech:
works flawlessly

just wanted to say thank you for this, I had to send my Hero for screen replacement and they installed the 2.1 update at the repairing center - this method worked great!
[Hero, G2 Touch Android Development] ixampl:
While it's not possible to write to /data/local it IS possible to write to /data/local/rights

I just ran some tests with a ConnectBot connection (on the phone) to local (without root). It's also possible to execute in there. Now, maybe you can't cause file execution etc. easily from within an Android app, if terminal emulator apps can do it in user-space so can any app ... somehow.
[Hero, G2 Touch Android Development] pulser_g2:
Hmmm. After pushing the files to the folder, and chmodding them to 777, are you able to execute the command flash_image on the connectbot session?

I tried something else last night to do with rooting without flashing a custom ROM, but it didn't work :( Maybe I will continue to work on this some time...
[Hero, G2 Touch Android Development] ixampl:
I'm at work right now and could only test the following in /data/local/rights:

echo "echo test" > well.sh

chmod 777 well.sh

./well.sh

This printed as expected:

test

I will test with flash_image later...

(if pushing the files is a problem you might be able to somehow channel the data into a file like I did with the script... generating it on the spot)
[Hero, G2 Touch Android Development] ticho:
After making the recovery partition writable with the mid.txt trick, "flash_image /sdcard/any_recovery_image.img" works for me from within connectbot. This is done using Android builtin flash_recovery, I didn't use the one provided in this thread.

Note that mid.txt has to be overwritten using adb shell - /data/local/rights is still read-only for any app.
[Hero, G2 Touch Android Development] Iack:
Guys, your the best. I had to switch between 2 comps, but i'm seeing a blue care-bear now!

thnx a lot!
[Hero, G2 Touch Android Development] fakemail1uk:
Can this exploit also be used on a Hero running 1.5? Reason I ask is that I havent had much luck using the goldcard method on a 3UK handset, and there is no 2.1 rom as of yet for the 3UK version. Therefore the only way currently to bypass the CID is the gold card. However if I can use this method on the 1.5 firmware then I wont need a gold card. Is this valid and would this method work on 1.5? Or do I need to wait for the 3UK 2.1 upgrade before I can root without gold card...

EDIT:

Never mind, I found the answer on the VR forums, cheers pulser....

pulser wrote:

igordimovski wrote:Can I use this method to install recovery on my G2 touch with stock 1.5 android ... or this is only if we have stock 2.1 android RUU ?

2.1 only. Either update to 2.1, or use goldcard/flashrec method as posted under guides on the forum :)
[Hero, G2 Touch Android Development] pulser_g2:
Nah, this only works on 2.1 I'm afraid
[Hero, G2 Touch Android Development] gutierrezdev:
Worked for me too.

This method worked with 2.1 Update 1 Telus Hero.

Right now booting. Thanks.
[Hero, G2 Touch Android Development] ratratrat:
This is the Best method for rooting!

This is my first post!

I would like to say thx for this easy and awesome root method.

When i was at 1.5 it took a few hours to root it.

Now after I sent it back for repairs (bottom screen malfunction). It came back with 2.1, used this method and BAAM!

Rooted with in 2mins.

This is just lovely. very lovely!
[Hero, G2 Touch Android Development] pulser_g2:
Hehe. Glad you like the method :)
[Hero, G2 Touch Android Development] skuskom:
For 1.5 you can try to use this "new" exploit: hxxp://xdaforums.com/showthread.php?t=741417

For me it was working without using "GoldCard" method:))
[Hero, G2 Touch Android Development] remco38:
Hi guys,

I have the official 2.1 ROM

I tried this method but it will not recognize my device..

any idea what i am doing wrogn??

***i am a newbie***
[Hero, G2 Touch Android Development] pulser_g2:
I bet you didn't get the adb drivers to work.

Make sure you can see it on adb devices.

Also, can you give more details of what you did and what didn't work pls.
[Hero, G2 Touch Android Development] capychimp:
usb debugging should be enabled right? ;)
[Hero, G2 Touch Android Development] pulser_g2:
yeah 10 char
[Hero, G2 Touch Android Development] capychimp:
usually the classic error ;)
[Hero, G2 Touch Android Development] pulser_g2:
Hehe. Did i forget to mention that in the guide?

Might need to edit :D
[Hero, G2 Touch Android Development] capychimp:
no idea if you did, but in the magic section it almost always is a usb debug someone forgot to enable hehe
[Hero, G2 Touch Android Development] stoykoly:
aps2sd on official 2.1 Rom?

Hi all any one try how work aps2sd on official 2.1 Rom?
[Hero, G2 Touch Android Development] JonathanCassar:
Is this Permanent?

It worked OK on My Orange 2.1 but I was expecting to get the care bear again when I subsequently held down home + Power also I was expecting root on the device (to use tether etc)

I can do it again and restore to Villain but can I root and add the boot loader to the Orange Build permanently?
[Hero, G2 Touch Android Development] pulser_g2:
Stock ROMs restore recovery every boot. You would need to go into recovery and find the backup of recovery.img and swap it for the modified one.

I dunno how easy this is to do, as I've never tried it.
[Hero, G2 Touch Android Development] JonathanCassar:
Hmm not sure how to do that either!

Do you know if anyone has a Rooted Orange2.1.zip file like they had for the 2.73.61.66 release as that would do the job :-)
[Hero, G2 Touch Android Development] karmiclovefrog:
Cheers, this worked for me first time, nice to be able to do backups again.
[Hero, G2 Touch Android Development] JonathanCassar:
Orange 2.1 Rooting success

I was able to root the Orange 2.1 ROM but ive still been unable to get the rocovery to work (holding home + Power) if anyone wants to root their orange 2.1 rom do the following:

google Hero_HTC_WWE_3.32.405.1_R-root-signed.zip

use the method here to get to the recovery console and flash the zip

I just need to sort that last bit now!
[Hero, G2 Touch Android Development] zulu1:
hey guys,

My hero has 1.5 but I had installed the first part of the update now my device shows this :

Firmware version: 1.5

Baseband version: 63.18.55.06EU_6.35.06.18

Kernel version: 2.6.27-8dd6deee htc-kernel@and18-2

Build number: 2.73.405.93 CL#154788 release-keys

Software version: 1.0.0.A6288

so what do you suggest me to do?

I want to install villainrom12
[Hero, G2 Touch Android Development] pulser_g2:
Please use either the goldcard method, or complete the update to 2.1 and then use this method
[Hero, G2 Touch Android Development] djbj2003:
I apologize if this has been asked before, Im abit busy at work atm, so I went through the 12 pages abit fast :rolleyes:

Anyways, I was wondering if there is a way to keep my system as it is now, but gain root, lets just say Im abit lazy and would like to avoid reinstalling everything from scratch.

Oh yeah, almost forgot, Im ofcourse running the stock OTA updated 2.1, hint why Im posting in this thread ;)

Once again, Im sorry if this has already been asked and answered, if so I here by declare I suck at using the search-tool (but I tried) and I really new to rooting android :confused:
[Hero, G2 Touch Android Development] pulser_g2:
You can push the SuperUser.apk and su binaries if you can find them (I think ChainsDD is the dev of it).

It won't be perfect, but it will allow apps to use root.
[Hero, G2 Touch Android Development] YDardeer:
Hi

First time rooting, downloading SDK, ADBing, ...etc

My Hero was on android 1.5, downloaded the OTA and now on 2.1. I tried to follow your guid but I'm stuck on an early stage. Can't download the correct driver for my Hero. Currently, my phone is recognized as drive F: under "Portable Devices", and the properties says "Android Phone".

Now the root guid took me to the "Setting ADB Guide". On step 3 on that guide it says "Make sure USB works" and that took me to the "Setup correct Hero drivers" guide. now my question is: which driver should I install?? I tried installing using the instructions under part I New Users and when selecting the driver i get "can't update driver. make sure the driver is 32bit compatible" message. And I'm pretty sure I selected the x86 one. I even get the same message when selecting the x64 one. The same message appears when I tryed the instructions under part II "HTC Sync users > ADB. So, what am I doig wrong? and what driver to install?? And does it matter if when I connect the phone to the PC I choose Charge Only or Mount as disk drive??

And I now something is wrong cause when I type adb devices I don't see any device listed.

I'm on windows 7 btw

Thanks in advance guys
[Hero, G2 Touch Android Development] pulser_g2:
Try getting these drivers and using them > http://dl.dropbox.com/u/7618177/ADBDrivers.zip
[Hero, G2 Touch Android Development] captainstu72:
Just to add from this from my experience of using this great tool (Thanks pulser + villain guys!)

I was running the Orange 2.1 Update, I was bored of having voicemail showing up in my favourite people - as I don't use it at all, and was annoying as it pushed my fianceé down. So I decided to root.

I read everything through, and decided I would not wipe the device - just to see what happens.

Rooted using this method - all went fine, thank you so much!

Then I decided to go with 2.1 VillainRom12. I wiped Dalvik Cache, backed up, and then ran the zip through - This did exactly what I wanted. I kept alll my installs, all my settings, all my programs, gained root, and the added features of villainrom (bootscreen, a few useful apps, overclocked etc) - and removed the voicemail from favourites =D

I have had no issues with this, no force closes, no broken apps, no end of the world.

Whilst I understand this may not be the best way to do this - It worked for me so I thought it may work for you, djbj2003.

(I will stress that if it breaks your phone, Villain aren't to blame - nor am i :P)
[Hero, G2 Touch Android Development] GeoffB:
Excuse me for asking but is this method of rooting suitable for phone that have received their upgrade to 2.1 over the air (OTA)?

Regards
[Hero, G2 Touch Android Development] pulser_g2:
Yes, it is :)
[Hero, G2 Touch Android Development] YDardeer:
Still not working

So, I tried my Kubuntu laptop since I'm more comfortable with playing with drivers and such using kubuntu. Downloaded SDK, and identified my device's usb id (0bb4), and created the file /etc/udev/rules.d/50-android.rules, and echoed

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

. restarted udev with

sudo restart udev

. and when I try to run the runinlinuxadb.sh I get this error

Files copied and permissions set, rebooting HTC Andriod 2.1
error: device not found
Your phone will now reboot into normal mode, then reboot into recovery mode. If it does not reboot the second time, wait 10 minutes and manually reboot and begin again.
Your phone is now rebooting in Rooted Recovery mode, do a backup and load your ROMs

and nothing happens. So what am i doing wrong? I think its maybe the "Enable USB debugging" part?? what does this mean?? how do i enable it?
[Hero, G2 Touch Android Development] rontol:
Thx a lot for the guide.

The trick is a lot of reading and a lot of time !!!

r00ted my 2.1@Update1 Hero to Eclair mod
[Hero, G2 Touch Android Development] daronk:
I do not understand... I followed the instructions and everything seems to work. but I still do not have root permissions..

if i try to "adb shell" it give me the "$" and if i try to do "su" the response is "permission denied"... Is that right?
[Hero, G2 Touch Android Development] raz23:
villainrom.co.uk is down. can anybody send me the files? just got my hero back from service and wanted to root it again. :(
[Hero, G2 Touch Android Development] Manu__:
@raz23

Have a look at /showthread.php?p=7698755 here at xda, you will find the guide and an alternative download link there.
[Hero, G2 Touch Android Development] YDardeer:
ok found out where to enable USB Debugging (feel stupid now). Now adb devices shows the following

yousef@YousefLaptop:/etc/udev/rules.d$ cat 51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
yousef@YousefLaptop:/etc/udev/rules.d$
yousef@YousefLaptop:/etc/udev/rules.d$ sudo restart udev
udev start/running, process 7451
yousef@YousefLaptop:/etc/udev/rules.d$ adb devices
List of devices attached
???????????? no permissions

yousef@YousefLaptop:/etc/udev/rules.d$

So what now??? what am I doing wrong here

EDIT: Nevermind. Rebooted my laptop and now my device is recognized. Just saw the bear :D. Thank you my friend
[Hero, G2 Touch Android Development] Denixen:
Restarts during recovery...

Hi, I have a problem, my Hero restarts when I try to do a nandroid backup. I have tried both ramon recovery (recovery-RA-hero-v1.6.2.img) and clockwork recovery. I have no idea what the problem is, it just restarts in the middle of the backup process. Does anyone have a clue what the problem might be?

Thx in advance...
[Hero, G2 Touch Android Development] ticho:
I'm shooting blind here, but couldn't one possible cause be corrupted filesystem on one of the partitions? I'm not sure how well these backup tools handle such cases.

Or does nandroid do a simple bit-by-bit snapshot of the whole block device?
[Hero, G2 Touch Android Development] Denixen:
How would i check if this is the problem? Or do i have to format the partitions?
[Hero, G2 Touch Android Development] ReNero:
Phone with a red triangle and explanation mark inside it

Hi to all,

I'm totally a newbye

i try to root my OTA 2.1 updated Hero.

I following the guide posted on this topic but the hero reboot only one time and after reboot show a phone with a red triangle and exclamation mark inside it.

If I press the volume up button and the power button the phone show a menu.

I choose the first voice and the phone reboot.

Nothing changed (the phone is not rooted - i think).

Comment,suggestion?

Thank you.
[Hero, G2 Touch Android Development] Rones:
Same problem here.. please help!!
[Hero, G2 Touch Android Development] pulser_g2:
This means you failed to carry out the procedure correctly. I can't really help as I can't see the errors you got on your command prompt.

Did you install ADB like instructed, and put the files into the same folder as adb's binary?

Or paste your shell log so I can see what happened...
[Hero, G2 Touch Android Development] ReNero:
Hi Pulser,

here you are my log:

1256 KB/s (3956736 bytes in 3.075s)

807 KB/s (76044 bytes in 0.092s)

"Files copied and permissions set, rebooting HTC Andriod 2.1"

"Your phone will now reboot into normal mode, then reboot into recovery mode. I

f it does not reboot the second time, wait 10 minutes and manually reboot and be

gin again."

error: protocol fault (no status)

"Your phone is now rebooting in Rooted Recovery mode, do a backup and load your

ROMs"

* daemon not running. starting it now *

* daemon started successfully *

** daemon still not runningerror: cannot connect to daemon

adb server is out of date. killing...

* daemon started successfully *

>and put the files into the same folder as adb's binary?

So the content of GSMRoot.zip must be extracted in the same path of adb.exe (in my configuration C:\Android\tools\ ?)

Thank you very much.
[Hero, G2 Touch Android Development] ticho:
I think the batch script needs to have some error checking for success of adb commands, otherwise more and more clueless people will have these problems.

Right now, the script calls some adb command, doesn't care about the results, and then tells the user that the process is completed, which is not necessarily true.

The Windows version of adb returns 0 after a succesful command (and different, non-zero values otherwise), so why not just check for %ERRORLEVEL% variable after each command, and go from there?
[Hero, G2 Touch Android Development] ReNero:
I solved:

The content of GSMRoot.zip must be extracted in the same path of adb.exe

My hero is running VillainRom now.

Thank You.
[Hero, G2 Touch Android Development] pulser_g2:
Am looking at this just now :)
[Hero, G2 Touch Android Development] Rones:
Still not working for me.. Even tried the above.

Ive got the same shell log as ReNero.

When i try: "adb shell ls /sdcard/" i also get the "adb server is out of date. killing..." message but i can see my sdcard.

Does that mean adb is working?

P.S. If you are editing the runindos.bat; there is a typo: Android is Andriod in the script.
[Hero, G2 Touch Android Development] ticho:
Actually, it might be more difficult, as "adb shell somecommand" might execute properly and return zero, even if the "somecommand" fails to execute on the device itself. There isn't any way to pass return value of the executed command back for adb to report it ("return $?" doesn't work), so I guess it's time for stuff like: adb shell "somecommand" >foo.txt :)

But since you're looking into it, I guess I'm not saying anything new to you, so I'm looking forward to what you come up with. :)
[Hero, G2 Touch Android Development] pulser_g2:
Yeah, I looked at this, and found this the hard way :(

And I'm not about to write a thing to parse the txt output I'm afraid. So I also look forward to what I come up with, as it won't really be anything to be honest.

If people don't spot the hundreds of errors, then there's not much I can do.

AFAIK the instructions are 100% correct, as I had them n00b-tested by someone who didn't know what they were doing, and they worked fine.

But if anyone wants to try, they're more than welcome. :) The scripts are all in the post.
[Hero, G2 Touch Android Development] ticho:
I can't say I blame you, the Windows batch scripting is awful. :) Not even a grep-like tool (unless you install some "resource kit" addon, which has qgrep).
[Hero, G2 Touch Android Development] zhyeck:
Thank you so much to share this......
[Hero, G2 Touch Android Development] rayf0x:
Great news on rooting 2.1 hero.

I seen on the X10 forum an app called universal androot.

I tried it out and it gave me one click root on my g2

I downloaded from software2tech.com/ tag/ download-universal-androot/

:D
[Hero, G2 Touch Android Development] macolli:
Thanks, this method worked really well for me!

I did the 2.1 update on my Hero from 3 from my PC and thought I wouldnt be able to root it, followed this guide and it worked perfectly.

Thanks
[Hero, G2 Touch Android Development] iop tha man:
Hello,

I need to go back to stock rom before i send my device for repair (screen is messed up)

However when i start the RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe

file it doesnt connect and quits setup after an USB error.

How can i get back to stock???

HTC hero, dutch
[Hero, G2 Touch Android Development] Nicolasfoto:
Worked 100% Thanx a stack!
[Hero, G2 Touch Android Development] pulser_g2:
Do you have the HTC Sync drivers installed?
[Hero, G2 Touch Android Development] iop tha man:
i downloaded htcsync from official website, yes.

It gives me USB error [170] (not connected)

//edit

after installing a very old synctool on a very old xp machine, it finally worked

:]
[Hero, G2 Touch Android Development] terminal 7:
old thread, works great thank you so much,

just benn given a hero to add to my collection so this came in very handy

thanks again

.

.
[Hero, G2 Touch Android Development] kwaku boafo:
OK thanks