yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] rdunn20:
problem with adb permissions

ive been trying to permroot this phone for awhile. ive used windows 7, vista, and xp but none make a dif. i have full sdk on all my computers and have files downloaded but when i try to push any files it tells me adb permissions denied. any help would be great. send me a pm
[G2 and Desire Z Android Development] superjin17:
I've used visionary versions r11-r14 and I've followed the instructions but I still see s-on when I get to bootloader. It just seems that I'll never get past temp root. Can someone please help me without me using adb?
[G2 and Desire Z Android Development] diehardfan:
Tried that, did not work :(

Anyone?
[G2 and Desire Z Android Development] trenton1980:
@diehardfan

I had the exact same issue as you. It seems that su and superuser.apk are not in the right place.

follow the manual G2TempRoot Root script found by going to the link on post 309.

you should have busybox in the right place (if you can temproot with visionary, open a terminal, su, and type "cp" without getting an error) so you can just cp the files where you need them ...

pm me if you're stuck ...

after manually putting the files in the right place, superuser.apk will load and give root access to your apps.
[G2 and Desire Z Android Development] Minnesotavikings15:
Where is the threat located? My phone is s-off but no Su permissions and dont have root apps.

Thanks
[G2 and Desire Z Android Development] Lawrenceco:
Man Im scared to root my phone.
[G2 and Desire Z Android Development] Beast11:
Anyone have any idea if this works with the Bell Desire Z?

Looking to replace my Galaxy S cause it just keeps going corrupt.
[G2 and Desire Z Android Development] wrsg:
is visionary (r14) stable now? i mean as stable as universal androot for other devices?

i just want root on my g2, nothing else for now. think i will wait until CM6.1 official.

or maybe just till the OTA Gingerbread drops...
[G2 and Desire Z Android Development] mymanchris:
I just tried it on mine and it didn't quite work.

The insmod /data/local/wpthis-OTA.ko returns:

insmod: init_module '/data/local/wpthis-OTA.ko' failed (Exec format error)

which is not the expected error (Function not implemented). I stopped there. Anyone have any insight on getting this to work on the Bell Desire Z? I tried (separately) with both the OTA and pre-OTA without success.

Thanks.

EDIT: Finally got it working. Use wpthis-Z.ko and hboot from xdaforums.com/showthread.php?t=834950
[G2 and Desire Z Android Development] steviewevie:
As you've found, right now the forums are split separately for the G2 and DZ. It seems bizarre to me, because the only real differences are in ROM, and we don't have separate forums for identical phones (even with different radio bands) running different ROMs on XDA, it's usually driven purely by the hardware.

If you don't get the expected error message from insmod, then you're probably using the wrong kernel module, as you said.
[G2 and Desire Z Android Development] steviewevie:
Yes, except you need to check the separate Desire Z forums, a different kernel module and hboot are used.
[G2 and Desire Z Android Development] thundertroy:
If i make my G2 go back to factory reset. Will my G2 become unrooted? IT shouldnt would it? It is S-off and perm rooted.... im running a custom rom by virtuous. It keeps reseting by itself.. is it my G2 ,rom or what?
[G2 and Desire Z Android Development] thundertroy:
nvm i tried it and it works :)
[G2 and Desire Z Android Development] killa cam:
i rooted my phone yesterday using visionary r14 and this guide. it took me a while (5hours), because it said i had S-OFF but no permaroot. i just kept messing with it (ran sync a couple times, rebooted multiples of times using r14 permaroot, tried following post 309's manual putting of files in places) but i eventually got it.

I honestly don't know what i did that got permaroot, but i do now. i rebooted the phone and started up terminal and got #... i was so happy. i flashed CM 6.1 RC3, and everything is going smoothly! ran setcpu and overclocked to 1497MHz, and boy is this thing fast!

hats off to everyone involved... i read the wiki with the IRC logs between scotty2 and company, and my that was epic win. when i get paid this week i'll be donating to all the devs that helped.

thank you, this has been a great learning experience for me! i didn't know a single linux command or even what ADB was until last night, but i got through it! i feel like i can root my friends G2 no problem, and if he pays me to do it i will donate that money as well!

THANK YOU XDA-DEVELOPERS!!!!!!!!!!!!!
[G2 and Desire Z Android Development] Krazi Bluntz:
For those of you having issues with visionary after multiple attempts to perm root and cannot even get back temp root ... you definietely should install ADB on you computer it is real simple to use

1. Load into Bootloader to see if you have S-Off (press volume down and the power button)

2. Install ADB on your computer this is the guide I used (http://xdaforums.com/showthread.php?t=532719)

3. After you have ADB installed and running on your computer ... Download clockwork recovery (http://xdaforums.com/showthread.php?t=834731) "manually install the recovery via fastboot"

4. You should download a rom of your choice and put it on the root of your sd card

5. Next, you need to push the recovery to your phone via fastboot (volume down and power button; then click fastboot); Rename the file "recovery" and put it on your computers C Drive

In CMD Type
cd C:\android-sdk-windows\tools === Press Enter
fastboot devices === You should see your device listed
fastboot flash recovery c:\recovery.img === Press Enter, Done.

7. "Select recovery from the menu in Bootloader. BACKUP first. Then wipe data and wipe cache. Then go down to flash zip from sd, select zip from sd, then select the rom u downloaded.(be sure to follow the instructions on flashing that rom in whatever rom u choose to uses thread). Once that's done, your done. Reboot and enjoy!"

Thanks to fastludeh22 for the help
[G2 and Desire Z Android Development] xXReubenXx:
after temproot (visionaryr14) when iput su in term it says "permission denied"

=( ichecked the box
[G2 and Desire Z Android Development] astroblack:
I was able to get perm-root with visionary r14 but I still have s-on. How do I go about turning s-off safely? Thank you!
[G2 and Desire Z Android Development] steviewevie:
Follow the steps in the first posting of this thread.
[G2 and Desire Z Android Development] ONLYHUMAN89:
I can't get temp root on my g2 and the program is glitching when it tries to root and doesn't complete. I can't get su but the app is there.
[G2 and Desire Z Android Development] GunToYoMouth123:
Lmao ! I feel you man , I had a history rooting my G1 so I'm no noob...yet I'm still affraid to root my G2 .

I've bin keeping watch on this side of the forums to see if there will be an easier way to root my G2.

I heard their working on an easier way...so I'll wait...regardless...my phones is working pretty sexy without root.

So I'll wait. :p
[G2 and Desire Z Android Development] ONLYHUMAN89:
Can some one help me. Visionary wont temp root
[G2 and Desire Z Android Development] trenton1980:
I felt the same way before I rooted mine ...

Now I have backups that I can easily restore from.

Overclocked to 1.4ghz

Root required widgets and apps

The ability to test other ROMS. (ie the HTC Sense UI ROM)
[G2 and Desire Z Android Development] steviewevie:
Try the "rage" method - http://xdaforums.com/showthread.php?t=834228

We now have the new "gfree" method to do all the S-OFF stuff - http://xdaforums.com/showthread.php?t=855764
[G2 and Desire Z Android Development] Fidelio_o:
Can someone reupload the hboot.img and ota and pre ota files. They are down.
[G2 and Desire Z Android Development] MLonon:
Err...am I missing something?

I thought one of the main points of S-OFF was the ability to write to /system while the phone is on. But I keep getting a "Read-only file system" error when trying to copy libSwypeCore.so to /system/lib/. I am running CM6.1RC3 on AT&T so I my phone is wide open.

Or is it just that AndroTerm cannot write to the internal regardless???:confused:
[G2 and Desire Z Android Development] TheUnlockr:
Instructional Videos for Perm Root etc.

Hey guys, I kind of refined this guide and made a how to video to help newbies out. Feel free to link it in the first post if you think it'll help anyone out:

Do this to gain temp root:

http://theunlockr.com/2010/10/20/how-to-root-the-t-mobile-g2-htc-vision-visionary-method/

Then this to gain permanent root:

http://theunlockr.com/2010/11/30/how-to-gain-permanent-root-and-s-off-on-the-t-mobile-g2-htc-vision/

Then this to flash a recovery and load a custom ROM:

http://theunlockr.com/2010/11/30/how-to-load-a-custom-rom-on-the-t-mobile-g2-htc-vision/

And here's how to completely unroot for good measure :):

http://theunlockr.com/2010/12/01/how-to-unroot-the-t-mobile-g2-htc-vision/

Hope that helps some people!
[G2 and Desire Z Android Development] crevis24:
This is an awesome video tutorial, dcogen! Thank you!!
[G2 and Desire Z Android Development] steviewevie:
Try again, they're working fine for me.
[G2 and Desire Z Android Development] steviewevie:
/system is still mounted as read-only even once you are S-OFF. But now you have the capability to make any changes you want.

So just remount /system as read/write :

mount -o remount,rw /system

Then when you've finished changing stuff, you can put it back to read-only again :

mount -o remount,ro /system
[G2 and Desire Z Android Development] instigator008:
Any sense in reinstalling the stock hboot now that we have "real" s-off? If so, is there a link to the stock hboot?
[G2 and Desire Z Android Development] joemm:
THANK YOU!!!!!!!!!!!! this worked perfectly.. I bricked my first G2 trying to root it following the instructions that put the files in the DATA folder, luckly T-mobile replaced my phone , Ive had my replacement for about three weeks now and was scared to try again, but watched your video, I had to try again so I removed my version of VISIONary from my phone, followed your link to MODACo and downloaded r14. installed it on my phone, followed your temp-root instruction video, then went on to your PERM root video and followed it to the tee....and BAM..... PERM-root, s-off and su permission, no problems. Got to tell you my hands were shaking doing all this because I dont think I could have gotten T-mobile to replace another phone. The Unlockr.com you guys rock. THANKS AGAIN :D
[G2 and Desire Z Android Development] steviewevie:
It's up to you. But the engineering hboot gives more functionality (e.g. fastboot).
[G2 and Desire Z Android Development] bradtraver:
Any chance this will work on the legend?
[G2 and Desire Z Android Development] instigator008:
Thanks. Will keep it then.
[G2 and Desire Z Android Development] MLonon:
Duh...!

Well a dee dee dee to me. Thanks for the info.
[G2 and Desire Z Android Development] geckobear:
Thank you so much! Your guides on perm and temp root were very helpful. Got perm root very quickly. Now on to some roms!
[G2 and Desire Z Android Development] brancuff:
sorry im a newb but what does s-off mean?
[G2 and Desire Z Android Development] steviewevie:
You really need to follow the new way to achieve S-OFF rather than this one. See http://xdaforums.com/showthread.php?t=855764

Basically S-OFF will let you flash custom ROMs, and along with root totally opens the phone up so that you can customise it exactly how you want. S-OFF means "security off".
[G2 and Desire Z Android Development] J-Hop2o6:
STICKY!!!

seems like you've helped big time.. i had my G2 for almost a week, but still haven't rooted yet since there's alot of steps it seems like.. so imma check out the video to help me root! thx alot.

update: worked (of course)!! thx alot.
[G2 and Desire Z Android Development] DuckieTom:
It works! Thanks
[G2 and Desire Z Android Development] guhl99:
Mods: Could you please outdate this thread

Hello Moderators!

Could you please unsticky this thread and mark it as outdated as the procedure is already replaced by a far more secure way to achieve permanent root, radio S-OFF and subsidiary unlock.

Please see http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2

Thanks
[G2 and Desire Z Android Development] J-Hop2o6:
im using the engineering right now.. whats wrong with it? and if i wanted to use the gfree method, how am i able to use that when im already using engineering hboot?
[G2 and Desire Z Android Development] steviewevie:
If you've already got the eng hboot using the "old" method, then you can simply do the gfree bit, it works fine. It's worth doing, because even if you don't need the SIM unlock etc, it still gives you extra stuff - i.e. it's a lot safer in terms of flashing different ROMs where with only the eng hboot you could end up bricked if you did the wrong thing, and also there are extra recovery options.

There's nothing "wrong" with the eng hboot, but it is a more risky method, gfree is much, much safer. If you want the whole lot, it's best to do the rooting, run gfree, then do the eng hboot after that if you want (the eng hboot gives you some extra fastboot options).
[G2 and Desire Z Android Development] J-Hop2o6:
Like I said, I'm coming from the WM/TP2 side of things, so this is ALOT of extra stuff to do all this customizing, etc.. but what is extra recovery options? I know I got a boot-loop trying to flash (push?) a new kernel.. but I just restored my last backup, and it was just fine.

So its ok to gfree on top of my eng hboot? And after that, run eng hboot again? Won't that just overwrite the gfree hboot?
[G2 and Desire Z Android Development] steviewevie:
With gfree and the full radio S-OFF, there is a new recovery mode you get into where a PC can talk to the "OSBL" in the phone. So even if it's semi-bricked you stand a much better chance of recovering it. I think that the folks in #G2ROOT are still working on that, e.g. what you can do with that. Though I could be wrong and they might have that all worked out already.

Yes, I already had eng hboot and I ran gfree to get the extra new cool stuff :D

No, don't run eng hboot again. gfree doesn't touch hboot. The "old" method was to flash the hboot partition with an engineering version. This engineering version told the rest of the phone that the radio was "S-OFF" when in fact it wasn't really.

gfree doesn't touch the boot partition and in fact modifies the radio configuration partition. As I understand it, this is much safer, because even if it corrupted/wiped your radio config partition (which it won't), then you could still boot up your phone, it just wouldn't be able to make calls etc - you could then still fix the problem.

So if you have the eng hboot, just run gfree.

If you aren't rooted/S-OFF'd at all yet, then follow the new procedures to root and run gfree, then if you want to put on the eng hboot (but only if you really want).
[G2 and Desire Z Android Development] J-Hop2o6:
Ok thx stevie.. so there's two different proceedures to gfree? Can u direct me to the proceedure I need since I'm already rooted/semi s-off.. or is it on that g2 wiki and u just skip a few steps?
[G2 and Desire Z Android Development] steviewevie:
If you follow this guide it should work for you - http://xdaforums.com/showthread.php?t=855764

The only real difference from the Wiki I could see is the extra stuff in the Wiki to verify that it worked (all that "AT" command stuff). Though I might have missed something there ?
[G2 and Desire Z Android Development] J-Hop2o6:
ok thx.. just wanted to make sure which is the best way for me.
[G2 and Desire Z Android Development] NexusOneOwner:
Hi all, sorry if this has been covered already, but nearly 60 pages was a lot to skim thru.

I used Visionary v.14 to get the temp root, then used the Terminal Emulator, did the rebooting into Bootloader, found the S-off at the top, rebooted, found the root stuck as everything says "... has been granted Superuser permissions" including when returning to the Terminal Emulator and putting in su.

Had opened Rom Manager found the Recovery still installed, but flashed it again anyways, twice, just to make sure. Now, heres where it gets interesting. Since I'm "S-off" in bootloader, and perma-rooted, when I try to reboot into recovery mode, I still get the red triangle with the exclamation point and the Android phone. It's as if there's no Recovery on the phone, even though I clicked it a couple of times to make sure it would stick.

Are there any solutions to this please? I had no issues Rooting my MT4G, but the G2 (similar rooting) seems to not want to play as nice.

Thank you for any assistance.
[G2 and Desire Z Android Development] joemm:
Follow the link below and watch the video it talks about this problem, you just have to keep doing "flash clockworkmod recovery" over again untill it sticks. Watch the video it talks about this. Happened to me the first time, I had to do it like 4 times before it stuck.

Then this to flash a recovery and load a custom ROM:

http://theunlockr.com/2010/11/30/how-to-load-a-custom-rom-on-the-t-mobile-g2-htc-vision/
[G2 and Desire Z Android Development] NexusOneOwner:
Thank you for your reply.

Well, following that, I've tried at least a dozen times, and still only getting the red exclamation triangle/point & phone. I'm not sure what is wrong with this G2, its rooted, S-off, but it just refuses to flash ClockworkMod Recovery.

I'm not sure what else to do or try.

Any other ideas? Thank you for any help.
[G2 and Desire Z Android Development] joemm:
All I got, try the ClockworkRecoveryMod thread.
[G2 and Desire Z Android Development] J-Hop2o6:
what version of CWMod Recovery are u using? hopefully its not .4 (not yet supported for the G2).. if so, roll back to .3 (Rom Manager>All CWMod Recoveries>2.5.1.3).. then try to "Reboot into Recovery
[G2 and Desire Z Android Development] NexusOneOwner:
It flashed 2.5.1.3, and it is just not flashing on my G2.

I'm going to film a new YouTube video. The incredible flying G2, as it swan dives off of my balcony!
[G2 and Desire Z Android Development] J-Hop2o6:
uninstall/reinstall RM and reflash .3 again.. i had the same problem as u a few days ago.
[G2 and Desire Z Android Development] NexusOneOwner:
Thank you for your help.

Uninstalling, then reinstalling ROM Manager & reflashing ClockworkMod Recovery did the trick, and I now have my ROM/FW flashed.
[G2 and Desire Z Android Development] Veiger:
How do you put files in the /data/local/ directory from the phone? Every time I try to move or extract the files to that location Astro grays out the extract button. (Attempting from my TempRooted G2)
[G2 and Desire Z Android Development] joemm:
Try using Root Explorer app, once in root explorer press the button at the top tha says mount r/w, then move your file, once finished just press button mount r/o at the top and your done.
[G2 and Desire Z Android Development] Veiger:
Is there a free app capable of this?
[G2 and Desire Z Android Development] J-Hop2o6:
That's great! I'm still a n00b also, but I'm learning quickly about all this.. I came from the windows mobile side of hacking/flashing & porting [Android 2.2.1].. but its simpler over there compared to Android.. u gotta do cmds pmts over here lol.
[G2 and Desire Z Android Development] J-Hop2o6:
Not yet (aka one-click root) do the gfree method instead.. I think its stickied now.
[G2 and Desire Z Android Development] Veiger:
Visionary 14 has a r/w option upon temp root, would that work?
[G2 and Desire Z Android Development] J-Hop2o6:
Its better to have perm root.. Do the gfree method.
[G2 and Desire Z Android Development] jlczl:
THIS x 100000.
[G2 and Desire Z Android Development] JohnnyBoyLive:
OTA or pre-OTA?

I have a new T-Mobile G2. Which file do I use? OTA or pre-OTA? How do I know if I have the update. :confused:
[G2 and Desire Z Android Development] k0nzious:
same question.
[G2 and Desire Z Android Development] J-Hop2o6:
do u guys have Wi-Fi Calling app? if so, then post-OTA.. but its recommened to do gfree.. here: http://xdaforums.com/showthread.php?t=855764
[G2 and Desire Z Android Development] doit4johne:
Was VISONary taken out of the marketplace?
[G2 and Desire Z Android Development] nazwan:
i need help urgently, i press the permanent root button in r14, i and after that it got stuck at the HTC homescreen.. pls help me.. what shuld i do?
[G2 and Desire Z Android Development] JohnnyBoyLive:
Yes Visonary is not in the market

I'm new to this, but I know for sure that it is not in the market. You have to download the .apk file using the link on to your computer, place it into your phone while connected using USB, and install it using a file manager app like Astro. :)

I can't wait to get my T-Mobile G2 so I can flash HTC Sense on it!
[G2 and Desire Z Android Development] doit4johne:
I am very new as well. Used to be an iPhone man and modded the **** out of it. Looking to do the same to this baby.
[G2 and Desire Z Android Development] likeitnot:
Worked beautifully on my first try =D Thanks for this.

I just got my G2 yesterday and wasn't going to root it until after I made up my mind for 100% I was going to keep it but there's no need for that because after only 1 day I KNOW I am keeping it!!! Love this phone (and should something come up I will always unroot it).

Okay well not to be a complete noob but now that I have went ahead and rooted it what should I do? I don't want to flash any custom roms...right now but I do want to delete some apps but I think I'll just freeze them instead to be safe.

Is there anyway, now, to make the trackpad responsive to waking the phone up?? Thanks again!
[G2 and Desire Z Android Development] saphira841:
My G2 wont reboot after hitting rootnow!
[G2 and Desire Z Android Development] likeitnot:
Not sure I am reading into your comment right, but it's not supposed to reboot after you hit root now using Visionary =) So you're okay. If it shows its going through the process it will go back to the main screen of Visionary, not reboot. To make sure you have it rooted, download if you don't already Terminal Emulator from the market and then once you d/l it open it up and type "su" then hit enter and if you get a promt to allow permissions hit okay and you know you have root! Also after you type in su the next line should be the # sign!
[G2 and Desire Z Android Development] nikmash232:
wait so the second time that we run visionary do we select temproot now or attempt permroot now

this guide isn't too specific.
[G2 and Desire Z Android Development] likeitnot:
the visionary I used just has "root now" as an option =/ But I think maybe I used a different version. Sorry not sure.

Someone better help him/her?? Thx!

Good luck though =D
[G2 and Desire Z Android Development] nikmash232:
yeah im using visionary r14 should i use an earlier version?
[G2 and Desire Z Android Development] likeitnot:
I'm not sure. I'd guess they would all work but again, I don't know so I'm not the right person I guess lol. THOUGH I will tell you I used version r11 myself!
[G2 and Desire Z Android Development] chief2842:
Ok this has changed since I first rooted my G2 with the older version of visionary. Ok just got the wife's phone and I am using visionary 14 I was able to get s-off but I can't seem to get perm root working after I reboot any clues?

EDIT: Nevermind I went back in Visionary R14 and checked perm root and that worked.
[G2 and Desire Z Android Development] k3y.m8ney:
I'm coming from a Touch pro 2. Why should I root my phone I have yet to understand the benefit.
[G2 and Desire Z Android Development] J-Hop2o6:
the TP2 XDAndroid port was already rooted i hope u know.. and the benefit of rooting is to gain the ability to add apps the require root like Titanium backup, SetCPU, adFree, etc.. also u can flash custom roms & custom kernels.. so what are u waiting for? ROOT!
[G2 and Desire Z Android Development] rohithathie:
is this working with the new rom update 1.72.405.2??

I now have the original 1.34 with permroot.
[G2 and Desire Z Android Development] steviewevie:
No, none of the current rooting methods work (yet) with the new 1.72 ROMs.
[G2 and Desire Z Android Development] k3y.m8ney:
Lol ok ima root ima root..hopefully I dnt brick my phone.