yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] outkastz:
Easier said than done? Nearly 100% certain I'm not going to be the only one with this issue.
[G2 and Desire Z Android Development] luis86dr:
Rooted. Simple and easy. Thx for the root devs. Was trying to make a gscript to make this easier on people but wouldn't work on my device. Had to manually input it. Would have been nice... oh well. Not to hard to figure out.

[G2/HTC Vision]
[G2 and Desire Z Android Development] wrxtc714:
are you having visionary run on boot still?
[G2 and Desire Z Android Development] xomikronx:
anyone getting permission denied when using adb?

i get permission denied when i type "su"
[G2 and Desire Z Android Development] outkastz:
No, I made sure to turn that off. Remember, I had it working 100% before the OTA hit my phone.
[G2 and Desire Z Android Development] Proxin:
Amazing. I will now look into buying a G2.

Let it be known that permanent root access has helped the G2 sales (by just me, if anything)! :)
[G2 and Desire Z Android Development] bratfink:
Root HD Desire

Does anyone know how to successfully port this rooting technique over to the HTC Desire HD seeing as the have a similar if not identical eMMC?
[G2 and Desire Z Android Development] dragginblazer:
Thanks for the hard work guys. Donated
[G2 and Desire Z Android Development] scribbin:
Since I rooted pre ota, and want to install ota manually, would I have to unroot? Re: outkastz not being able to use su after rooting...
[G2 and Desire Z Android Development] xdviper:
Quick question as well, I've read in the thread but it still hasn't been clear to me atleast,

I used paul's app to remove Goggles, should I reinstall the stock rom.zip and then update and then use this, or should I just go pre-ota with goggle removed and turn S-Off.
[G2 and Desire Z Android Development] ZeroSX:
Just S-OFF it. I doubt if you're rooting and removing security you're gonna care enough about the OTA to use that over cyan (when it's released)
[G2 and Desire Z Android Development] TL24:
Yessir.

Re-install the stock ROM, Install the OTA manually, then perma-ROOT your G2
[G2 and Desire Z Android Development] Omeer:
I second that. Despite having root I'm unable to mess with the system files. Why?
[G2 and Desire Z Android Development] wrxtc714:
I was worried about this as well

I uninstalled goggles and a bunch of other system apps

I asked Paul but he didn't respond soon enough and I was too impatient

so I just went ahead and did it

and I didn't have any problems

You shouldn't have to worry about it
[G2 and Desire Z Android Development] xile6:
Yea reinstall stock, then ota then hboot root. Then remove stock apps with rm /system/app/whatever.apk
[G2 and Desire Z Android Development] tankmorph:
Just wait...

Auto permaroot for G2/Z/HD coming to VISIONary tomorrow.

http://twitter.com/#!/PaulOBrien/status/2056613548527617
[G2 and Desire Z Android Development] xile6:
Open trem and

Cd system/xbin

*Then

Ls

*then look for busybox an su

If you dont got them run visionary again.
[G2 and Desire Z Android Development] wrxtc714:
Yes

Paul from Modaco has got it to work

you can go to modaco.com to find out more detailed instructions if you don't want to wait til tomorrow.

Tomorrow Paul will be releasing an updated visionary app that will permaroot the G2, desire z, and desire HD
[G2 and Desire Z Android Development] drm916:
Gonna have to make a donation tomorrow!
[G2 and Desire Z Android Development] maxawesome:
For those worried about f*cking up the critical line there, I highly recommend doing this operation using ADB and just copy & pasting that line into the command prompt when it comes time. Just make sure you copy & paste it correctly and you're $$$.

Now rocking a perma-rooted G2. I knew you guys could do it!
[G2 and Desire Z Android Development] wrxtc714:
You do not have to do any of that

I have confirmed this and my g2 is running without a problem and the removed apps are still gone
[G2 and Desire Z Android Development] Radioactive Death:
As in deleting something from /system/app. You have to remount the /system as rw

mount -o remount rw /system
[G2 and Desire Z Android Development] irishmn69:
do i do this in term on phone or on mac/pc
[G2 and Desire Z Android Development] bobsbbq:
My question got buried in the first few pages, hoping a developer can answer this.
[G2 and Desire Z Android Development] ThaGeNeCySt:
I did it through my phone (after transferring the needed files from my mac to my phone)
[G2 and Desire Z Android Development] ffff00:
Just giving thanks to everyone who worked on this.

It worked like a charm. I did it all on the phone itself during class without issue.

Easiest root I've ever done.
[G2 and Desire Z Android Development] mikeatron:
how do i check if i have root or not?

here's everything i did:

1. ran visionary for root

2. followed all the steps in the first post, however, when i ran visionary at the very end, it said i was already rooted. i sync'd anyway and rebooted

3. after the reboot, i tried running "su" but got permission denied.

4. ran visionary again and rebooted to see if that would work, it didnt

help :o
[G2 and Desire Z Android Development] EdTeach1680:
Thank you thank you thank you thank you!!!! Ima send some beer money when I can THANKS!!!!

sent from MY rooted HTC Vision, not t-mobiles G2
[G2 and Desire Z Android Development] xile6:
2 things I have to say first this only took 1month 3 days from release date of the phone.

Second how does this work? I like to know. It seems like wpthis is a command or driver and it unlocks the nand. Then we pushed an hboot with nand lock disable. Sycn to save changes. Then unpon reboot nand will be didable because the hboot never turns it on right?
[G2 and Desire Z Android Development] takinglives:
I had the same issue, Just make sure you click accept when super user permissions pops up on your phone. After you do that youll be golden.:o
[G2 and Desire Z Android Development] xencor:
Quoted because I'm curious as well.

For those of us that weren't following the IRC closely, could someone explain (briefly) just how this works to turn S-OFF etc, or perhaps give a link to a wiki that explains it? I know it's not necessarily important, I'm just fascinated by it.
[G2 and Desire Z Android Development] starkruzr:
If you have S-OFF, this WILL work eventually.

Make sure Visionary is NOT set to run at boot.

Confirm you have S-OFF by booting into HBOOT (hold trackpad button down while powering on).

If you have S-OFF, boot your G2 normally. Wait.

Run Visionary. Sometimes I have to run it twice before I can su. su to make sure you have root from Visionary.

Sync.

Wait two minutes.

Reboot. When you finish rebooting, pop back into Better Terminal and su without running Visionary.

???

Profit!
[G2 and Desire Z Android Development] j.books:
autoroot coming tmrw :)

http://twitter.com/PaulOBrien/status/2056613548527617
[G2 and Desire Z Android Development] mortzz:
Is this reversible or is it permanent like S-OFF in the Nexus One?
[G2 and Desire Z Android Development] s0nniez:
Damn, just a day after I got rid of my g2 :/
[G2 and Desire Z Android Development] xile6:
U didnt follow the steps.

Frim a fresh boot. Run visionary, then prem root steps. Follow to a t.

U ran visionary befor u reboot and that might have messed something up. Just start over and follow step by step. If they didnt do it u dont do it
[G2 and Desire Z Android Development] srivers33:
Originally Posted by bobsbbq

Thanks to all the people to make this happen and Scotty you just beamed us up. lol

Can someone in the development group give their opinion if this will definitely help root come to the MT4G soon or is it going to have to been all done from scratch.

I'm having lots of issues with my G2 and I was going to switch to the MT4G based on the fact I don't need a keyboard and especially a floppy one and some other issues. My 14 day remorse is about to expire so any help would be greatly appreciated.

PS I will send my Donation even if I do switch to the MT4G as this is awesome.

My question got buried in the first few pages, hoping a developer can answer this.

+1.......im about to get my upgrade on the 17th and if the mytouch isnt going to get root within the next month then the G2 looks awesome. I know it (mt4g) wont have as many devs but its like a lamborghini in the phone world.

Also hell of a job to scotty, tj, Intu Nip and all the other devs who worked so hard. Thankyou guys
[G2 and Desire Z Android Development] mikeatron:
from a fresh boot? what do you mean? i used visionary at the start... and then at the end+sync
[G2 and Desire Z Android Development] s30zgt:
Do you guys suggest that i run the ota update (got prompted to do it) before try this perm root method?
[G2 and Desire Z Android Development] boogie1077:
In additon to that, don't SU and Superuser.apk need to be placed permently somewhere and permissions set? I'm s-off but still need to run Visionary to get #...
[G2 and Desire Z Android Development] xile6:
To revert I believe you just run the pc10img 1.19 (which is the shipment rom)

And it should lock everthing down but y would u want to? Maybe to return phone I guess.

Also I believe if you followed the steps again but push the hboot from pc10img it would relock the phone without deleting the data.
[G2 and Desire Z Android Development] irishmn69:
Never mind, it work from phone terminal thanks to all involved.
[G2 and Desire Z Android Development] xile6:
When u boot into fastboot/hboot

Is your s-off?
[G2 and Desire Z Android Development] irishmn69:
go into term on phone and type sync while temp rooted then reboot
[G2 and Desire Z Android Development] smjfosho:
for anyone who has permanently rooted already, have any of you tried flashing the desire z rom yet?
[G2 and Desire Z Android Development] aliaselchore:
Man u guys can't be stopped
[G2 and Desire Z Android Development] JonInAtl:
Stupid question of the thread.

Does S-OFF have any bearing on SIMLOCK as well?
[G2 and Desire Z Android Development] WarBird87:
Using terminal I keep getting failed (exec format error ) error the files are in data/local folder on sd card... I don't know what's going on with it...
[G2 and Desire Z Android Development] ThaGeNeCySt:
how would I go about doing that? I'd do it just for ****s and giggles if there was a way to back up my current apps/widgets/settings and what not
[G2 and Desire Z Android Development] ThaGeNeCySt:
are you doing

cp /sdcard/FILENAME /data/local/ ?
[G2 and Desire Z Android Development] Radioactive Death:
Yes, after I flashed the eng HBOOT, I ran visionary one more time to copy su and Superuser.apk.

Then I un-installed visionary and still have root.
[G2 and Desire Z Android Development] loganthered:
I think I just pee'd my pants a little with happyness. Let the rom cooking begin!
[G2 and Desire Z Android Development] arich:
I must be way more retarded than I think. I follow all the steps, get all the correct messages. After I flash the hboot I exit terminal and run VISIONary again, it tells me phone is already rooted. I then go back to terminal, get su permissions, run the sync command, wait two minutes and reboot. Once I've rebooted I still don't have root
[G2 and Desire Z Android Development] 1Satoshi:
mytouch 4g

somebody try applying this root on the mytouch 4g!

hopefully it works...
[G2 and Desire Z Android Development] Radioactive Death:
You have to run VISIONary again. It copies superuser.apk and su to the proper locations.

And also I finally got rid of photobucket:

su
mount -o remount, rw /system
pm uninstall com.photobucket.android
mount -o remount, ro /system
[G2 and Desire Z Android Development] drm916:
According to the MT4 forum.. it didnt work. You can see their results over on their forum.
[G2 and Desire Z Android Development] gfurr:
Root Explorer to Copy and Paste the Files

Anyone tried using Root Explorer to copy and paste the .ko file and the hboot.img from sdcard to /data/local/ instead of using ADB or Terminal? Im sure that would work the same as long as the files are in the correct directory.
[G2 and Desire Z Android Development] linkmaster_6:
So before we start flashing roms we need to wait for you to come up with a recovery like clockworks right?

Edit: Sorry this has been answered already
[G2 and Desire Z Android Development] arich:
So are you supposed to reboot after the hboot flash but before you run visionary again? The OP doesn't specify.
[G2 and Desire Z Android Development] mikeatron:
I can has root!
[G2 and Desire Z Android Development] rhcp011235:
Mods. Can you please clean this up and stickie?

Thanks
[G2 and Desire Z Android Development] s30zgt:
Would you guys suggest that i run the OTA update before i try this?
[G2 and Desire Z Android Development] wilnotdie:
Somewhat.

After flash Hboot. Run Visionary, then run the sync.

then reboot, run visionary, then reboot again, and it should be good.
[G2 and Desire Z Android Development] TL24:
That's a def. YES
[G2 and Desire Z Android Development] k0mpresd:
well that was easy. thanks.
[G2 and Desire Z Android Development] arich:
lol how confusing :P thanks I'll keep trying!
[G2 and Desire Z Android Development] WarBird87:
No i manually put the files into /data/local/ using astro...
[G2 and Desire Z Android Development] cazper210:
yeah thats the way i did it cause i aint to good at pushing file i just copied it while running on visionary and did adb through the computer after the part when its run vision again and you have to type sync i forgot to press enter and let it run for a lil and i pressed enter after nothing happened went and rebooted and had superuser and didnt run the vision this time. so i guess it stuck
[G2 and Desire Z Android Development] Ready2Mosh:
That's how I did it, copied and pasted the files and it worked great without using adb to move the files. I used root explorer to move the files to the correct directory.
[G2 and Desire Z Android Development] WarBird87:
i used astro to move the files and im getting " Failed (exec format error) i made a local folder inside the data folder and dropped the files there... but its not working...
[G2 and Desire Z Android Development] Weaseal:
Scotty's PayPal info is in the OP.
[G2 and Desire Z Android Development] outkastz:
So, this has been a bit of a mess. Here is a brief history:

Did everything right, pre-ota. Everything worked. Had perm root and the works. OTA update hits, I install. S-Off still remains, however root is lost. No biggie right? Problem being Visionary still thinks the phone is rooted and wont "re-root" the phone. (no its not set on boot)

That being said, I'm attempting to go back to stock. I've got PC10IMG.zip on the root of my sdcard and it goes to load it, however it says "wrong zipped image" after it loads it up.

I've done factory reset as well. I'd rather not have to go back to square one considering I already have the OTA installed. Suggestions?
[G2 and Desire Z Android Development] EdTeach1680:
I used supermanager I just did it from the passenger seat of my delivery truck.

sent from MY rooted HTC Vision, not t-mobiles G2
[G2 and Desire Z Android Development] Bishybob:
Just want to say GREAT JOB to everyone that contributed and THANKS! Your hard work is much appreciated!!!
[G2 and Desire Z Android Development] JonInAtl:
Un-install Visionary, re-boot and re-install Visionary
[G2 and Desire Z Android Development] outkastz:
Yeah, that was the first thing I tried. Keep in mind, I've even tried a factory reset.
[G2 and Desire Z Android Development] xile6:
Yes reboot first that is were I believe ppl r having problems
[G2 and Desire Z Android Development] Omeer:
I tried doing that but root explorer

Won't let me r/w remount once I go into the system folder. I click on it but nothing happens. Should I try it through adb?
[G2 and Desire Z Android Development] Ready2Mosh:
Astro won't see the local folder inside of data, thats why you need root explorer. Delete the folder you made named local, then use root explorer and you'll see the local folder that is there already, thats the folder you need to put those 2 files in.
[G2 and Desire Z Android Development] wilnotdie:
If you did a factory reset through hboot, then i think you are already back to stock.

give it a shot....perm root it again. That is after you manually install the OTA first....
[G2 and Desire Z Android Development] grex49:
I second this!!! :):D;)
[G2 and Desire Z Android Development] WarBird87:
Thanks, i just deleted the files there and put them on the sdcard and did the cp /sdcard/ method and it worked!
[G2 and Desire Z Android Development] outkastz:
I did this, it left me with the OTA installed (Assuming this is possible since S-Off.)

Just did it again actually, still has the OTA installed. Also, cannot downgrade OTA since no temp root.
[G2 and Desire Z Android Development] wrxtc714:
yes definately apply it before you root to avoid complications

otherwise you have no wifi calling or tethering
[G2 and Desire Z Android Development] a-money:
awesome, for some reason i thought i updated to the OTA since i got the message a few days ago. turns out i didnt actually do the update. re-did all the steps and im now seeing S-OFF

YES
[G2 and Desire Z Android Development] havikx:
just got home from work and saw this great new. Thank you can congrats to the devs who make this possible.

my mac downloads the hboot file as ".img.txt". should this be a concern?
[G2 and Desire Z Android Development] Ryanmo5:
To everyone involved in making this possible xda, the users of xda, the android community and myself thank you for all your hard work and dedication on making permanent root a reality!!!
[G2 and Desire Z Android Development] phreak42x:
Great Job!

To all the devs, codeninjas, and hackers, I tip my hat to you. Excellent work.

I followed all the instructions, rebooted, and had to run visionary again, reboot, then I was perm rooted. I know because when it booted, it started saying "giving superuser permission to SetCPU" and stuff.

Again thanks! can't wait to see what mods we can do!
[G2 and Desire Z Android Development] aohmer:
Awesome, now some please unlock the mytouch :) lol!
[G2 and Desire Z Android Development] KoubaK:
This is great news guys... Thanks those who did all the hard work ... your donation will be coming in soon.

As for me perm rooting my phone, I am going to wait until I get a good ROM to go along with it.
[G2 and Desire Z Android Development] sundar2012:
my problem is that root explorer fails to mount system as r/w ... i dont want to do everything through terminal
[G2 and Desire Z Android Development] aserrano323:
how do i fire my terminal back up???

im sorry im totaly new in this.
[G2 and Desire Z Android Development] dhkr123:
So... what's the problem then?

***FASTBOOT***!!!!
[G2 and Desire Z Android Development] mauaus:
Just did the whole thing from the terminal emulator and it worked like a charm, thanks to all the devs involved i will be donating soon
[G2 and Desire Z Android Development] outkastz:
I'm not sure how that helps me?
[G2 and Desire Z Android Development] havikx:
does every1 with a windows machine dl the file as .img.txt or is it just my macbook? should i rename once on the sd to .img or keep as .img.txt.?
[G2 and Desire Z Android Development] j.books:
everybody chill out. if you're a noob just wait for tmrw and Visionary will be updated to do this all for you.
[G2 and Desire Z Android Development] Ready2Mosh:
rename it .img once on sd card.
[G2 and Desire Z Android Development] :
Source code

Can I have the source code to the kernel module? It is GPL right?
[G2 and Desire Z Android Development] wazzzzabi69:
G2 Root Files

Am I missing something? The links to those files take me to github with a message saying, "Page does not exist!"

Sorry if this is a trivial question.
[G2 and Desire Z Android Development] EdTeach1680:
Yes you gave apple money ;)

sent from MY rooted HTC Vision, not t-mobiles G2
[G2 and Desire Z Android Development] cparekh:
I think we want a custom recovery, but we don't need a custom recovery. The stock recovery will flash an update.zip, so we could use that by renaming a custom ROM to update.zip. The problem would be that Clockwork and Amon RA both allow for Nandroid backup --- something most people would want before flashing a ROM (in addition to all the other perks a custom recovery provides).

Edited to Add: One problem with the stock recovery is that the ROMs might need to be signed. I am not sure 1) if a cooker can sign them so they will apply, and 2) if the S-OFF makes it so they don't need to be signed.

If they need to be signed, then we need a custom recovery.
[G2 and Desire Z Android Development] alec4444:
I'm having the same issue as you, except I perm rooted pre ota, then installed the OTA, and now I have S-OFF, visonary thinks im rooted, but cant get SU in terminal.
[G2 and Desire Z Android Development] andrewklau:
Do we need to keep visionary after rooting?

Thanks.
[G2 and Desire Z Android Development] renn9420:
Thanks worked like a champ! Thanks to all the Dev's and everyone involved with getting ROOT!

:eek:
[G2 and Desire Z Android Development] swhtownboy:
Lmfaoooo
[G2 and Desire Z Android Development] 1Satoshi:
4g/g2

port this to mytouch4g plz
[G2 and Desire Z Android Development] Arcadia310:
I'll be making a tutorial on how to root your G2 without ADB, such a simple process once you do it. Thanks everyone! :D
[G2 and Desire Z Android Development] Gwanatu:
You all area FREAKIN AWESOME! Thanks for the hard work! Hopefully you all score the cash that was being saved for this.
[G2 and Desire Z Android Development] WarBird87:
so i am permarooted now and once i go back in to the Terminal, after su, i put in cp and it says cp: not found... anyone know why
[G2 and Desire Z Android Development] cparekh:
Go and follow the manual temp root instructions here: http://xdaforums.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2

My guess is the problem is that su and superuser are no longer installed where they are supposed to be. Once you do that, you can copy su and superuser to the correct locations (wherever VISIONary wants them), su, sync, wait, and reboot.
[G2 and Desire Z Android Development] Blakeman:
Haha thanks for this.
[G2 and Desire Z Android Development] f231f:
http://xdaforums.com/showthread.php?t=834225
[G2 and Desire Z Android Development] EdTeach1680:
Not hard at all....

1. Install root explorer or super manager from market

2. Move files manually to /data/local

3. Follow instructions on op for "with term emu"?

I did this on my own from op and I am by no means a dev... more on noob side.

sent from MY rooted HTC Vision, not t-mobiles G2
[G2 and Desire Z Android Development] jakobdroid:
i am in the same situation...

perm-rooted pre-ota, everything worked fine.

received OTA minutes after confirming perm-root worked.

still have s-off, visionary says device already rooted, but su is not working
[G2 and Desire Z Android Development] G2 man:
I perma rooted this moring pre ota how would I go about manually installing the ota and re rooting
[G2 and Desire Z Android Development] bled82:
Now that we have this is there a command to enable adb in recovery or do we still need a custom recovery ?
[G2 and Desire Z Android Development] wrxtc714:
For those with both phones like me

here is the guide to permaroot the mytouch 4g http://xdaforums.com/showthread.php?t=820513
[G2 and Desire Z Android Development] mortzz:
You don't need one to flash a rom, but it makes it a hell of a lot easier. Having access to fastboot means commands like "fastboot flash boot boot.img" and "fastboot flash system system.img" are accessible.
[G2 and Desire Z Android Development] waffleman911:
I don't know if you found your answer yet but if you have not, go to the market place and download and install busybox. That fixed it for me, good luck.
[G2 and Desire Z Android Development] WarBird87:
i have it on my phone i just havent installed it yet lol thanks ill check it and see if it works
[G2 and Desire Z Android Development] WarBird87:
it worked ! thanks!
[G2 and Desire Z Android Development] VValdo:
FWIW there are instructions on doing this W/O VISIONary here. Might be a safer way to go if you're worried about some of the issues that have arisen with the visionary method.