yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] Dayzee:
This isn't a rooting problem necessarily, as getting swap to work is a whole other ball game and is a step AFTER rooting so it maybe needs a seperate thread. There are a LOT of variables involved and I thought there needed to be something in the ROM to allow Swap - I've only ever heard it working on cooked ROMS.

Sounds like you are rooted successfully(Yay), just having trouble with procedures that use root.

Dayzzzz
[Hero, G2 Touch Android Development] liamhere:
i have done it...i think

dayzee....your info was bang on for me

i have root explorer and that works...i think:rolleyes:

but when i try to install SuperUser Whitelist it doesn't want to have it :confused:

so am i rooted or am i buggered???
[Hero, G2 Touch Android Development] Dayzee:
Ya - you are rooted and we're all in the same boat I think with regards to Superuser Whitelist in that its for Jesus Freke Roms but the Superuser Permissions that we have works the same, just not as up to date.

Booya!!!
[Hero, G2 Touch Android Development] R3PUBL1K:
That was the same for me yesterday - I gave up with that and followed enlightener's method

Dayzee is very omniscient ;)
[Hero, G2 Touch Android Development] Chivalryyyy:
sorry for sounding daft.. but never had either winmo or android phone and alot of peopkle seem very excited about being able to get root access? i have no idea what it means.. ;0(

What are the benefits of this? is there a specific reason that people need root access ? thanks for any info :)
[Hero, G2 Touch Android Development] liamhere:
here you go

start off reading this

http://xdaforums.com/showthread.php?t=543940
[Hero, G2 Touch Android Development] Williz:
When trying the abd commands after the initial "adb shell" I get the error of /sbin/sh: abd: not found and yes my device does appear when I type fastboot devices. Please help me D:
[Hero, G2 Touch Android Development] hlovik:
Maby you have typed it wrong? it's adb, not abd... ;)
[Hero, G2 Touch Android Development] Williz:
Nah I was copy pasting the commands from the guide so I didn't do that. Only misspelled it just then.
[Hero, G2 Touch Android Development] j2kquest:
Thanks Dayzee...............followed your guide and it worked to a T

all the commands you stated i did by pressing run on the start menu, instead of commant promt...............using command prompt was giving me hassle...

Now if only i could get my SU file manager and terminal.apk to successfully download and install
[Hero, G2 Touch Android Development] Williz:
Anyone know whats going wrong with the commands?
[Hero, G2 Touch Android Development] enlightener:
if you have not added the tools folder of the SDK in your PATH variable then cd to the tools folder and run the adb comands with a ./ ( ./adb shell )
[Hero, G2 Touch Android Development] Williz:
I followed all the instructions abut get to the adb shell mount /system part and get the error of /sbin /sh: adb: not found. Also the / didn't help still the same error.
[Hero, G2 Touch Android Development] enlightener:
ah ok, i thought you were on linux and adb wasn't recognized

are you trying to execute adb commands from the phone shell???!!! :confused:

if you do: adb shell , you enter the phone shell, so you don't need to use adb anymore but execute the commands without adb
[Hero, G2 Touch Android Development] Williz:
Using Vista Ultimate x64 mate. I'm in the abd shell? I dunno I'm new at this and the noobs guide back a few pages won't work.

"Now type "adb shell" and press enter.

enlightener says - download Superuser.zip here http://xdaforums.com/atta...9&d=1249225060 and extract the contents. You get a folder with two files : su and superuser.apk. Put those two files directly into the TOOLS folder in sdk (Same place as the recovery.img in step 5 above) (superuser.zip contains Superuser.apk and the su binary ) once that's done type the following code into your command window, pressing enter after each line.

"adb shell mount /system"

"adb push su /system/bin/"

"adb shell chmod 4755 /system/bin/su"

"adb push Superuser.apk /system/app/"

"adb shell reboot"

I get to "adb shell mount /system" and paste it into command prompt without the quotes press enter I then get the error of /sbin /sh: adb: not found.
[Hero, G2 Touch Android Development] enlightener:
well, you have just to ignore the part before: Now type " adb shell"

so you have to type only (type exit if you already executed adb shell ):

adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell reboot

after reboot try:

adb shell
su

if on the phone appears a window asking you to allow /system/bin/sh to be executed as root then you are done :p
[Hero, G2 Touch Android Development] j2kquest:
have you turned USb debugging on, i was having the same problems until i went:

settings------applications------development, and turned debugging on

hope that helps
[Hero, G2 Touch Android Development] samjpullen:
Ooops nevermind...

I just kept trying and trying and it worked :-p...

Tried Root Boot and it asked for the permisson etc so i am guessing it works :)
[Hero, G2 Touch Android Development] dvrvm:
For some reason I see the phone with fastboot devices but not with adb devices when in the bootloader. Can i still proceed with the rooting process?

Also, is it normal that I don't see the phone in normally-booted mode with adb devices even if I have the debug option on in the phone settings menu?
[Hero, G2 Touch Android Development] minogue:
yes it is normal!

When you're in fastboot it wont show up with adb devices because your in FASTBOOT!

and if the device is fully loaded with the home screen and you do

fastboot Devices. it wont work either because your not in FASTBOOT!

simple as that.
[Hero, G2 Touch Android Development] NisseGurra:
Is it possible to remove simlock after rooting?
[Hero, G2 Touch Android Development] Tomzibad:
I still get error device not founs after entering adb shell.. how did you guys change drivers ?
[Hero, G2 Touch Android Development] enlightener:
adb only works in Normal mode(after enabling usb debugging mode in settings->applications), and with the modified recovery that you can find in the first page.

If adb still does not recognize your device, before trying to change/reinstall the drivers try first:

adb kill-server
[Hero, G2 Touch Android Development] tahussle:
Su Request

Ok so device is now rooted. from the adb shell i get a # when i type su.

However when i try to run an app from the phone the requires root priveledge i get a black window popup with SU Request on the top. I dont get any options to always allow etc. Any ideas?
[Hero, G2 Touch Android Development] Tomzibad:
doesn't work either... device not found.. I Can't sync my phone with my pc either.. tried the 64x bit driver and I do see that the drivers are. 1.0.10.1 how do I change it to 1.0.9.0 (somebody did it in the prevous post and it worked)

P.S Okay so I got something working don't know it the phone is rooted yet tho. When i type adb shell I get a $ but when I type adb shell mount/system I get "mount/system not found"..

is my phone rooted anyway ?
[Hero, G2 Touch Android Development] enlightener:
Strange, never happend to me. can your "logcat" here:

just type adb logcat > logcat.txt

try to open an application that requires Root and then upload logcat.txt here.

btw, some users say that if you push superuser.apk and after reboot the first thing you try is:

adb shell
su

accept the request.... everything works fine for other applications too.
[Hero, G2 Touch Android Development] Dayzee:
In my experiience, I also got a second "request" when I got to the adb bit of rooting process - I just pointed to the exact same driver in the x86 folder from SDK and it loaded it - then it saw my device in the recovery console when I type adb devices.

I put all that into the updated NOOB guide. That guide is what it says, for folks starting from scratch with SDK and Fastboot/adb and doesn't work so well for those "dipping in" to only certain parts, or perhaps those who don't think they are noobs and get a bit carried away and forget something obvious :D :D xx

Also take note of the additional step of making a nandroid back up - very useful!!!

Dayzee xxx
[Hero, G2 Touch Android Development] Tomzibad:
help anybody ?

and btw when i type adba shell su It says permission denied so i guess my phone is not rooted.. market place enabler doesn't work either..
[Hero, G2 Touch Android Development] tahussle:
Thanks for the quick reply

when i type adb shell it goes straight to the # environment

the logs only display this

I/ARMAssembler( 33): generated scanline__00000077:03545404_00000000_00000000 [ 29 ipp] (43 ins) at [0x68cc0:0x68d6c] in 640869 ns

I/ARMAssembler( 33): generated scanline__00000077:03545404_00000A08_00000000 [ 30 ipp] (52 ins) at [0x68d70:0x68e40] in 305176 ns

I/ARMAssembler( 33): generated scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at [0x6a000:0x6a0cc] in 305176 ns

D/su ( 50): 0:0 /sbin/busybox executing 0:0 /system/bin/sh

D/su ( 56): 0:0 /sbin/busybox executing 0:0 /system/bin/sh
[Hero, G2 Touch Android Development] chappie1970:
Can anyone confirm that I will still be able to access paid apps in the marketplace after enabling root access?

I have an unlocked Hero with T-mobile sim.

thanks in advance
[Hero, G2 Touch Android Development] minogue:
yes. i can confirm this as i have done this before.. many times..
[Hero, G2 Touch Android Development] Catscrash:
did you actually read this thread? if not do so, the question has been answered
[Hero, G2 Touch Android Development] Tomzibad:
why do i get permission denied when i type adb shell mount/system....

Okay so i managed to root my phone anyways with http://phandroid.com/2009/08/04/how-to-gain-root-access-on-your-htc-hero/

Market place enabler and everything works fine, BUT when i try to install a OC app (oc widget) It can't be opened a dude comentet and said Superuser need to be open.. But I still get permission denied when i adb shell mount/system....
[Hero, G2 Touch Android Development] dvrvm:
I did it too, appears to have worked.

I ran into an additional problem, though: ADB didn't want to find my phone. A solution for this case, maybe to add into the tutorial:

adb kill-server
adb start-server

restarted the ADB server and my phone was now seen. Might have been my firewall...
[Hero, G2 Touch Android Development] Phil_UK:
Hmmmm....got as far as the current ROM backup. :)

Think I'll hold off on the actual root until the glitches ironed out, and I have more specifics about the content of the root image.

Great work folks!:D
[Hero, G2 Touch Android Development] LeeDroid:
there is not really any glitches in al honesty, read through the full thread and take your time rooting and all will be well good sir! :D
[Hero, G2 Touch Android Development] akirainblack:
Thank you very much for the guide Dayzee.

1 small thing and it may just have been me.

Part 6, your first line says to type abd shell

then further down you say to type:

adb shell mount /system

I got an error message at this point saying adb wasn't found.

However I closed the command window and opened a new one (where I wasn't in the adb shell)

then from the tools directory I entered the rest of the commands and they worked perfectly.

Are you sure that first adb shell should be there?

Anyway once again my thanks I wouldn't have a rooted Hero now if it wasn't for your guide and the work of the people on this forum.
[Hero, G2 Touch Android Development] enlightener:
no, it shuldn't be there :D
[Hero, G2 Touch Android Development] Phil_UK:
Ahhh thought there was an issue with the SuperUser app?

The 'Rooted ROM/IMG' used in the instructions. How does this compare to the HTC Unlocked Image?

Will I lose any apps/widgets etc... as I bought the handset unlocked from HTC? :confused:

Thanks

Phil
[Hero, G2 Touch Android Development] gaabrysz:
I have a rooted HTC sim free and all is fine :) Didn't lose any apps widgets etc... :)
[Hero, G2 Touch Android Development] oblika:
So if I'm getting this right:

When rooting you only temporarily boot a recovery image. You don't flash the ROM or something like that? You only change the su binary and install the Superuser.apk so you don't make any big changes to the system itself?

Sorry for being super-careful, I have some flashing skills from SE phones, iPhone, and a few more, but I wouldn't like to mess up my 3 days old Hero (my first Android):D
[Hero, G2 Touch Android Development] Dayzee:
Phil, the recovery image used is never on the device, it boots it from your pC via fastboot. Nothing is changed on your device except the su permissions file in System/bin and pushing the superuser apk. Everything else stays the same...

Daisy
[Hero, G2 Touch Android Development] Phil_UK:
Excellent Daisy....thanks for the great instructions. Looking forward to delving further with this as a NOOB :)

Sorry if in FAQ but 'pushing the superuser apk' ??? What does that mean? :D

Also, I backed up using Nandroid as suggested. The backup...is it just another image (like the root image on fileshare - except not rooted of course) or is it another format/file type entirely?

Thanks :)

Phil
[Hero, G2 Touch Android Development] Dayzee:
Its where you tell the PC to send or push a file to your fone down the USB. Called a Push cos you do it from the PC to the Fone, rather than a download where the request comes from the phone to get it.

All it means is the ADB software on your PC is putting that file where you tell it on your phone, without you doing anything on the phone, so control is with the PC in the Command Prompt window.

Daisy - the babelfish for noobs xxx
[Hero, G2 Touch Android Development] liamhere:
if i can do it anyone can do it....just take your time :p
[Hero, G2 Touch Android Development] oblika:
Sorry for a silly question...

Does a stock Hero ROM even have a /systm/bin/su ?

I've been looking around the /systm/bin directory and there is no su there... Is this ok??

No hacking has been done on my Hero.
[Hero, G2 Touch Android Development] quill37:
stuck in rooting

C:\sdk\tools>fastboot boot cm-hero-recovery.img

downloading 'boot.img'... OKAY

booting... OKAY

C:\sdk\tools>adb shell

/ # adb shell mount /system

adb shell mount /system

/sbin/sh: adb: not found

/ #

thats what happens when i try inputting the adb commands, i'm just wondering where i have gone wrong?
[Hero, G2 Touch Android Development] enlightener:
don't execute the command in bold
[Hero, G2 Touch Android Development] quill37:
Thanks so much :):):)

So happy about rooting my phone :D
[Hero, G2 Touch Android Development] Dayzee:
I've altered the Noob Guide because it has that command in left over from an earlier edit - apologies...

Dayzzz
[Hero, G2 Touch Android Development] mousey_:
Thanks for this rooted it in 5 minuted no problems at all
[Hero, G2 Touch Android Development] aramnath12:
I can confirm that this does work on the G2 touch. took all last night and most of this evening until it worked. turned out i needed the older ADB drivers I originally installed the ones from the latest SDK which was HTC Dream Composite ADB Interface Version: 1.0.10.1 [25/06/09] but had to change it to HTC Dream Composite ADB Interface Version: 1.0.9.0.

I kept getting device not found errors with the newer drivers on windows vista.

I've attached the drivers I used. i was on the verge of giving up but then thought I'd try one last time and now I have a wonderful rooted G2 touch aka HTC Hero. thanks to everyone who provided helpful info and files to make this possible
[Hero, G2 Touch Android Development] Dayzee:
thanks for that - lots of folks will find that useful - It hadn't cropped up for me because I'd got SDK with my G1 back in January.

Ta for the link to the drivers

Dayzz
[Hero, G2 Touch Android Development] LeeDroid:
good to see all seems well for most! and the first development in the Hero WiKi! :D
[Hero, G2 Touch Android Development] Dayzee:
Maybe you could change the title of the thread, JDL. To say "How to Root your Hero" or something as the original title was more a shout out that it was possible!! (Go JDL you pioneer, you !! ) Just might be clearer.

Hugs - Daisy xxx
[Hero, G2 Touch Android Development] LeeDroid:
done n dusted, title updated and a few lil edits in first post, good plan Dayzee, you have made a heuge contribution from start - to date, Looks like we have a good ground team here on the XDA Hero forums.

Im still researching atm, love to get in to cooking when i find time, it'll be great once we start seeing some modded roms popping up!
[Hero, G2 Touch Android Development] Dayzee:
Make the most of it - I'm off to perform at Edinburgh fringe next Sat for a week then a quick cruise then back to teaching in September. Plus I found out my publishrs gone bust with recession so not got as much pressure with writing. Having the hero to mess with and posting on here is keeping me out of trouble.

Dayz
[Hero, G2 Touch Android Development] tur0kx:
Hi, thanks for the Tutorial!

Can you make a tutorial to unroot Hero? :confused:

Thx!
[Hero, G2 Touch General] Switchbitch:
I'm sure this is something attributable to the mechanics of the camera module but...

Hold your Hero near the bottom. Then lightly tap the camera end against your other hand. Do you hear something kinda loose/shaking? I think it's maybe the autofocus mechanism, as I hear the same sort of sound when the camera activates.

Just wondering if you all notice this too?
[Hero, G2 Touch General] nicelad_uk:
Nope, nothing at all with mine. All sounds... well there is no sounds, its just solid and well built
[Hero, G2 Touch General] Switchbitch:
Hmm... anyone else notice this?
[Hero, G2 Touch General] Switchbitch:
This is a bump for anyone who can confirm or deny that their Hero has this issue, before I seven-day it for another one. I don't want a slightly rattly phone :)

Cheers.
[Hero, G2 Touch General] markya23:
Yeah - I feel a slight vibration. Like a camera autofocus system. Not a problem, feels well built, but it's definitely there.
[Hero, G2 Touch General] foxmeister:
Yes, I can hear the "rattle" too - I seriously doubt it is indicative of a problem though.

Regards,

Dave
[Hero, G2 Touch General] danchappers:
No noise on mine sorry
[Hero, G2 Touch General] Cynabal:
You guys saying "Nope no noise on mine" must be deaf :p, I work for Orange in the UK and we have 10 Graphite Heros in the stockroom and they all do this, also a friend has a white hero and his does the same incase you guys thought it might be only on the Graphite ones Orange stock.

Im pretty sure its the autofocus, so i wouldnt worry! and the guys saying they cant hear it must not be listening for the right sound! faint tapping noise when you gently pat the phone on your palm.
[Hero, G2 Touch General] Switchbitch:
Yeh that is it exactly. It's a bit annoying as im easily irritated by that kind of thing. Good to know its normal tho, guess I won't send it back now. Actually I heard the same noise from my friends touch HD today aswell.

Just seemed quite noticeable on mine but I'm probably imagining that.
[Hero, G2 Touch General] Switchbitch:
It detracts somewhat from the otherwise solid build, that a slight rattle can be heard when you kinda toss the phone around in your palm or from hand to hand. Makes it feel a bit less solid.
[G1 Q&A, Help & Troubleshooting] Bkid001:
I'm trying to figure out why my phone is so low on space. I hardly have any apps installed, but it still says I have about 6MB free. Some of the apps have downloaded extra things they need to run (like this translator app), but all of that is stored on the SD card to my knowledge.

What is the fastest way, short of naming off every app I have to you guys, that I can figure out what files or files are taking up so much space on my phone?
[G1 Q&A, Help & Troubleshooting] turboyo:
go to settings, applications, manage applications ..there hit menu and sort by size .. you might find out that your browser and market cache are huge. select them and hit clear cache :)
[G1 Q&A, Help & Troubleshooting] xidominicanoix:
yea the cache for many apps can do that to you

simplest way to avoid that is by moving cache to the sd card (just search for a guide, there are many :D)
[G1 Q&A, Help & Troubleshooting] Bkid001:
Well surprisingly, no cache was that big (just a couple of megs). I can't really figure out what's so big on this thing.
[G1 Q&A, Help & Troubleshooting] turboyo:
do you use the google maps a lot? When you organized it by size were there many apps over a meg?
[G1 Q&A, Help & Troubleshooting] vr24:
Root your phone and use Apps2SD and stop worrying about the lack of space.
[G1 Q&A, Help & Troubleshooting] Honestly77:
Have you used any kind of program to backup your apps before a flash? The only way I know of fixing it is to get into recovery and do a FRESH wipe and fresh reinstall, then manualy add all your apps back. Should clear things up.
[General Questions and Answers] m1le5:
If you search "manila 2.6", some dude says it has been made but not leaked (yet - god bless xda!). Wondering whether anyone has any other information?

Now that we've seen 2.5 in all it's glory, 2.6 is surely next! Maybe it'll be like the new mega interface, all sense UI-like with landscape support? Just speculating at the moment.

Does anyone know anything about Manila 2.6? This is not a request for packages (although they would be much appreciated :D ), simply wanting info!
[General Questions and Answers] LlabTooFeR:
Manila 2.6 spicial version of manila 2.5 with support OMAP processors and some improvements...
[General Questions and Answers] m1le5:
from what little I can pick up, these improvements are fairly substantial, hence why its a separate release rather than a OMAPspecific build? Any further details?
[General Questions and Answers] jmz:
Its out and about but barely usable at this point...hopefully getting my hands on it today or tomorrow
[General Questions and Answers] HazzBazz:
lol....very substantial build, i wonder why it was 2.6 rather than 2.51 or something, if 2.5 isnt going on any phones! hmmm it does look sw-eeeet.
[General Questions and Answers] HazzBazz:
hmmm or not, apparently there is no2.6 out yet, its a newer build of 2.5. Wonder what 2.6 is actually?
[General Questions and Answers] sreejithb:
rom upgrade from htc?

Hi I am a newbie too..

I probably will have to go thru threads over threads before I understand how to flash a rom.

but just wondering, is it possible that HTC itself will come up with a rom upgrade for the manila 2.6? Sorry if this is a stupid question.
[General Questions and Answers] PRTEQ:
This is Manila 2.6

http://pocketnow.com/software-1/touchflo-3d-26-manila-26-tour
[General Questions and Answers] jmz:
How about

http://www.everythingdiamond.info/showpost.php?p=6056&postcount=21

OR

http://www.everythingdiamond.info/showpost.php?p=6065&postcount=24
[General Questions and Answers] Zaleo:
I love TF3D 2.5/2.6 but I am really hoping on some Landscape support as I have the slide out keyboard on my

The old Diamond there was an "simple" 8 tile landscape mode, something like that combined with 2.5/2.6 would be better than a black screen with only curtains. :)
[General Questions and Answers] playground25:
Smilin Ear to Ear

If yu were standin right here give ya a smootch! Lmao
[Touch Cruise ROM Development] Fontanini:
Looks like the same phone canvas as used in pcarvalho's ROM. Works fine :)
[Touch Pro2, Tilt 2 Windows Mobile General] ChrissehB:
Hey there... Well I've had my TP2 for a while now and I noticed the Ctrl button on the Keyboard.... I was jsut wondering, what is it actually for? I've never used it and can't see what its used for so it just puzzled me.

Thanks, Chris :)
[Touch Pro2, Tilt 2 Windows Mobile General] michi123:
cut, copy, paste, select all etc.....same as on the PC....
[Touch Pro2, Tilt 2 Windows Mobile General] mrkrazy:
I use it for copy/paste, Ctrl + x/c/v :)

Comes in handy, instead of using the stylus, especially when typing texts.
[Touch Pro2, Tilt 2 Windows Mobile General] airon11:
ctrlis useful in terminal emulator...and even pretty useful when selectin multiple messages....