yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] alec4444:
you are a f*cking saint. thank you, this worked. kept me from drowning myself
[G2 and Desire Z Android Development] alec4444:
post 309 saved my day if you wanna give it a go
[G2 and Desire Z Android Development] outkastz:
I also confirm this worked.
[G2 and Desire Z Android Development] G2 man:
Can someone post a guide to install ota after prema root much appreciated
[G2 and Desire Z Android Development] Vilko:
Just power-off and the back on eMMC? great idea )

HTC rules, hardware protection that can be simply rebooted separatly of other hw. LOL
[G2 and Desire Z Android Development] vdub804:
Yeeees there is a GOD!!!!!!!!!!
[G2 and Desire Z Android Development] G2 man:
Bump how do I install ota while perma root pm plzz
[G2 and Desire Z Android Development] jakobdroid:
after manual rooting:

$ su

su: unknown user root
[G2 and Desire Z Android Development] master.peterm:
Is there a way to unroot? Just wondering.....
[G2 and Desire Z Android Development] tazz9690:
Third post down from here:

http://xdaforums.com/showthread.php?t=834155
[G2 and Desire Z Android Development] chief2842:
Quick question which .ko do I use I updated OTA manually instead of waiting for the OTA?
[G2 and Desire Z Android Development] RStuner:
Has anyone attempted this after the manual OTA? I just ran Visionary, mind you this is after the OTA manual update, and I don't believe Visionary gives me root access although it says my device is rooted.

This is the first attempt at a permanent root, I didnt know it was possible until after I had already did the OTA-Manually.

After I get into my device via adb shell, (windows machine, Im at work), I can gain super-user access, it's denied. I pushed the respective .ko files to the directory and verified this in the shell but even issuing my insmod i got a permission denied so I ceased there.

Anybody else in my shoes?? thx.
[G2 and Desire Z Android Development] RStuner:
Nevermind, I may solve this on my own i missed a page in the thread, post 309 and trying to temp root with rage.
[G2 and Desire Z Android Development] Stryder5:
pre-OTA means you haven't updated to OTA. In your case, you have so you would use the one that just says OTA.
[G2 and Desire Z Android Development] master.peterm:
thanks paul o'brian said he would update visionary for perminent root so ill wait till then
[G2 and Desire Z Android Development] Code3VW:
Please, for the love, stop responding just to respond. If you want to THANK the OP, then donate, and send a PM if you feel the need to be recognized. We are at 34 pages in ONE DAY and to scroll through all of the garbage to find relevant information in between all of the brag posts is going to get old, really fast. Nobody likes reading CM's 150+ page threads, and at this rate, this thread will be longer than that in less than a week.

That is all. :)
[G2 and Desire Z Android Development] chief2842:
Thanks I went back and read and now I am S-off.
[G2 and Desire Z Android Development] jakobdroid:
following the steps everything goes well until

# /data/local/tmp/root

i get:

mkdir failed for /system/xbin, File exists

cp: can't stat '/system/bin/su/su' : Not a Directory
[G2 and Desire Z Android Development] gaww:
Would like to donate to scotty beer fund, but not sure how - do not see any "donate" icon?

PS - This has also popped up on MT4G forum with links to files that work on it - have a rootrd mt4g - great work everyone.
[G2 and Desire Z Android Development] lukasvue:
yes! i got my to turn off.

Thank you!!
[G2 and Desire Z Android Development] mattstrike:
I'm new and while I am still lost in the woods when it comes to all this terminal code, I'd still like to congratulate everyone who worked on this…

(Why HTC and/or Google hasn't offered y'all jobs is beyond me)

Thanks xda!
[G2 and Desire Z Android Development] GlobalFisher:
Went smoothly, great work!
[G2 and Desire Z Android Development] supergear:
If you do not know what you are doing you should not even try this as you may brick your phone.

Also it worked for me so i am happy :D
[G2 and Desire Z Android Development] amack10:
so i went thru the steps and did evewrything. checked and it says eng soff but when i boot up my hpone and go to terminal and type su it sAYS permission denied. do i have to reroot with visionary after i do the instructions on the op
[G2 and Desire Z Android Development] Macrophage001:
This is awesome! =D Don't have a G2 but am glad to know that now you guys with it can experience pure awesomeness..Now all that's left is....CM6 :D
[G2 and Desire Z Android Development] -RotorDemon-:
Got my S-OFF earlier but wasn't able to have root access. I updated visionary (because I was running an older version) Told it to root. then I opened Terminal Emulator. Entered "SU" then "sync" waited, rebooted and it stuck.

So anybody that has S-OFF but no root access make sure you have the newest version of Visionary. Go through the steps again and HELLO PERMA-ROOT!

Thank you everyone! :D
[G2 and Desire Z Android Development] amack10:
thanks man thAT worked for me i think they should put that on the op that after you do this and reboot you hAVE to reroot with visionary and itll stick
[G2 and Desire Z Android Development] dynamikd:
This has worked flawlessly! For those who choose the other method, it's just more unnecessary work, especially if you were already temp-rooted with visionary
[G2 and Desire Z Android Development] trigeek:
The important thing to remember is that while the visionary method CAN be flawless- it's not guaranteed to be. It can leave your phone in a state where your system partition is corrupted, and requires some more work to fix. The manual method is much more foolproof. IMHO it's not worth the risk of doing it with visionary.
[G2 and Desire Z Android Development] laymil:
Who wants to bet HTC builds their next kernel without loadable module support?
[G2 and Desire Z Android Development] hgmarcia:
Yes reroot with visionary
[G2 and Desire Z Android Development] Anomaly:
Have you attempted to redo the permaroot method with the post ota file?
[G2 and Desire Z Android Development] rsxtypes72:
Easy as pie and a lot faster than rooting my g1. You guys are amazing.
[G2 and Desire Z Android Development] Arcadia310:
Is there any way to un-root the device? I did something I didn't want to go and I have to un-root it. I uninstalled superuser.apk but it still says I'm rooted. Any help?
[G2 and Desire Z Android Development] Mikey:
The next person to spam or hijack the thread with immature pics or comments will get a perm Ban :)
[G2 and Desire Z Android Development] lukasvue:
i got problem. After getting my s-on to turn off. I decide to downgrade back to the stock rom. The update went smoothly until the second boot. I got "main version is older" and somehow that also trigger my s-off to turn back on and now i can't get it to turn off. I try the steps to turn s-off again and get this error

insmod /data/local/wpthis-OTA.ko

insmod: init_module '/data/local/wpthis-OTA.ko' failed (Exec format error)
[G2 and Desire Z Android Development] lukasvue:
Checked my kernel version and it is

mike@origin #16
[G2 and Desire Z Android Development] KidJethro:
Grrr...someone stop me before I toss this phone out into the rain. :mad:

lol, I've been reading and re-reading this thread for the past couple hours, about 6 times through, trying to figure this out before I had to post up asking for help.

I have s-off. That part was easy. However, I still get permission denied when I try to su in terminal. I've run through the perma root instructions twice, I've rebooted about 56 times. I've done everything quoted above, multiple times. Still no SU love from terminal. VISIONary is NOT set to run on reboot.

:confused:
[G2 and Desire Z Android Development] pr0naLd:
same for me, hope someone can help us out
[G2 and Desire Z Android Development] Jarheadflip:
Can I uninstall visionary after I'm permanently rooted thanks in advance and great job to all the people involve great job thank you
[G2 and Desire Z Android Development] countz3r0:
I've uninstalled Vistionary after multiple reboots to make sure root stuck, and it did. Don't need Visionary anymore.
[G2 and Desire Z Android Development] LGSilva:
Thank you all the devs for this. It worked.
[G2 and Desire Z Android Development] osirls:
You guys, if you've downgraded back to stock rom then that is before the OTA update.

I.e. You have to use wpthis-preOTA.ko

That is unless you've also reinstalled the OTA update.
[G2 and Desire Z Android Development] Jarheadflip:
Thanks for the responding
[G2 and Desire Z Android Development] Jarheadflip:
Thanks for replying
[G2 and Desire Z Android Development] :
Ok quick but probably stupid question sorry if its been posted but how do you know which version to flash
[G2 and Desire Z Android Development] dynamikd:
I see your point. I guess it worked out for me. I was just thinking that since there are quite a few people who really don't know their way around adb, that if they were already temp-rooted with visionary, they should continue on that path. Is the other method that much more foolproof than the visionary method?
[G2 and Desire Z Android Development] EuroSpeed:
I'm having the same problem. If somebody could help it would be greatly appreciated. Thanks.
[G2 and Desire Z Android Development] dynamikd:
If that's the case, then re run the updated Visionary from the market place and once it roots your device again, go back in to terminal, su and type sync. Reboot and try again.
[G2 and Desire Z Android Development] alphahere:
Great instructions and worked like a charm.

Thanks!
[G2 and Desire Z Android Development] D_Rob:
Just want to say thanks. Awesome work.
[G2 and Desire Z Android Development] KidJethro:
Updating VISIONary did it for me to. Just do what dynamikd says do, and you'll be golden.

Wooohooo!!!
[G2 and Desire Z Android Development] skiptomylou11:
Noob here with a rooted G2! W00T! Thank you all for making it dummy-proof!

I will definitely donate when I get the chance. This is so awesome!

Just thinking of Cyan ROM in my G2 makes me drool...
[G2 and Desire Z Android Development] innerlight:
Where am I putting these files at in order to get this to work? Thanks.
[G2 and Desire Z Android Development] sivalley:
According to the human reasable notes in the module Scott Walker and whomever else worked on the module found out how to make the NAND power down and wake up in write permitted mode without the OS going berzerk. I guess all it really took was some time pouring through the chips' tech docs to find out what commands to issue so that we couls flash the ENG HBOOT image to the chip instead of the cache. VISIONary lets us 'look in the window' enough to see the key is in the lock if you will.
[G2 and Desire Z Android Development] dynamikd:
Place the proper .ko file & hboot.img onto your sdcard. Then use either adb or Terminal Emulator w/su to execute the rest of the steps.
[G2 and Desire Z Android Development] innerlight:
Thanks
[G2 and Desire Z Android Development] :
How do you know which is thed proper .ko fike
[G2 and Desire Z Android Development] -FuRBz-:
this is awesome.. i was going to wait to see some of the mods that will come soon, maybe a one click app but i couldnt wait!! did everything through connectBot .. pretty straight forward
[G2 and Desire Z Android Development] blunden:
Paul has a working hboot for that.
[G2 and Desire Z Android Development] TL24:
Quick questions-

Since I used Paul's method to delete a few of the bloatware apps, should I re-install the stock ROM first, manually install the OTA and then perma-ROOT it?
[G2 and Desire Z Android Development] InGeNeTiCs:
I think 'better safe than sorry' rules apply here. I'd rather have to reset all my settings than be stuck with a brick.
[G2 and Desire Z Android Development] Weaseal:
yep running on mine :D
[G2 and Desire Z Android Development] mixer5911:
Do you guy think this will work on the myTouch 4g? I'm scared to brick mine lol
[G2 and Desire Z Android Development] ellessidil:
Thanks, worked like a charm!

Started the process before the instructions had been updated past pushing the files, running the if/of command and then rebooting, but everything worked out fine in the end, and I have a happy S-OFF showing now.
[G2 and Desire Z Android Development] TheDudeOfLife:
Mirrors provided by http://tdrevolution.com

http://mirror1.kanged.net/g2/hboot-eng.img

http://mirror1.kanged.net/g2/wpthis-OTA.ko

http://mirror1.kanged.net/g2/wpthis-pre-OTA.ko

Scotty2's paypal email: walker.scott AT gmail.com if you want to contribute.
[G2 and Desire Z Android Development] Baba1472:
When you say push the .ko file for my phone, which is the correct .ko file for the G2? I figured the one you posted was correct but I want to make sure that you mean the wpthis-OTA.ko is for those who updated to the current G2 ota and that wpthis-pre-OTA.ko is for thos who have not updated to the G2 ota yet. I know how strict this root method is so I want to make sure I get it right.

Thanks and great work devs....following dev work since the G2 just confirms my decision to study engineering and continue doing research...

-Baba
[G2 and Desire Z Android Development] SlicedKuniva:
Just rebooted now. Hoping it stuck since when I ran visionary it said already root. (was thinking it may have un-rooted soft root during the process) We will see.

edit: forgot to turn off Visionary
[G2 and Desire Z Android Development] Arcadia310:
Can someone explain to me very clearly how to "push" files in ADB and do this step by step? I've never quite used ADB so I don't know how to push files to data/local and stuff.
[G2 and Desire Z Android Development] InGeNeTiCs:
I don't think it'll run properly 'out of the box', but the two devices are similar enough that it's not a stretch to assume the mytouch4G will have root within a day or so.
[G2 and Desire Z Android Development] SimonNWalker:
High speed direct downloads for all the files now available at AndroidSPIN.

http://bit.ly/aF60oV

Enjoy.
[G2 and Desire Z Android Development] Jigga0o7:
This is incredible! If anyone is afraid to do it, just make sure to follow the instructions to a "T". Perm root!
[G2 and Desire Z Android Development] mixer5911:
Thanks. I will be patient... Congrats to all the g2 users!
[G2 and Desire Z Android Development] InGeNeTiCs:
This is NOT the thread for posts like this

Command: adb push 'filename' /data/local/'filename'
[G2 and Desire Z Android Development] a-money:
does this mean we get to flash any rom we want once we perma root as normal (update.zip)

also what about custom recovery images?
[G2 and Desire Z Android Development] compuguy1088:
Here are some mirrors:

hboot-eng.img: http://www.multiupload.com/BMY6W573E1

wpthis-OTA.ko: http://www.multiupload.com/4SBHFMOXW8

wpthis-pre-OTA.ko: http://www.multiupload.com/38V0CRADHS

Edit: Noticed that people already have made mirrors...kinda of redundant now...
[G2 and Desire Z Android Development] greengoldmello:
This is great news! I wish i was able to have contributed in some way
[G2 and Desire Z Android Development] Vandam500:
For the people that don't know how to use ADB push. You can copy the files to your sdcard and then use Root Explorer to move them into /data/local and go from there.
[G2 and Desire Z Android Development] -FuRBz-:
shady if you installed the OTA that was going around last week then use the wpthis-OTA.ko file .... if not... use the other file
[G2 and Desire Z Android Development] :
Sweet thanks I never did the update so ill install the pre, thanks again can't wait to start theming
[G2 and Desire Z Android Development] pimpmaneaton:
Question about storage after perm root.

Now that we have perm root. If I was to go into settings-sd card and phone storage would I see more in the internal storage or is that still locked/hidden. Sorry I haven't perm rooted because I'm waiting for Paul @ modaco to make the one click perm root and also for a proper recovery. Thanks for any answer that you may offer.
[G2 and Desire Z Android Development] EuroSpeed:
Thanks so much. Didn't know i had to updat Visionary. Thanks. :D
[G2 and Desire Z Android Development] dynamikd:
@innerlight No problem.

@EuroSpeed No problem, glad I could help!
[G2 and Desire Z Android Development] theratdude64:
Holy explosive thread batman, haha.

Did it sucessfully :) It was not working at first, and I kept reading this thread and saw that someone had to reboot. I rebooted and now it works :)

Now cyanogen! lol
[G2 and Desire Z Android Development] trigeek:
It is because it completely removes the one part that visionary does that messes up the process- changing the system partition around before you make the root final. Visionary is just a wrapper around the rageinthecage exploit anyway, it just takes a bit more work to pull off.

I mentioned it in the other thread, but I really think it's worth it to have and understand ADB when you start messing around with the phones to this level, at this early of a stage. If ADB is too much to handle, waiting for a more fully integrated solution is the absolute safest way to go. From the sound of things it won't be too long before that happens.
[G2 and Desire Z Android Development] moonfire711:
I'm running a vibrant, but just wanted to say good work to the devs. Way to stick it to the fools who tried to lock us all out! You guys got skills.:cool:
[G2 and Desire Z Android Development] dynamikd:
I would have to totally agree with you on having a good understanding of ADB before attempting these steps. But I don't want to put it past someone who has really good reading comprehension. And I am talking to the extent that even if they have absolutely no idea what is technically going on, they can still follow directions well enough to not damage their device.

I guess for me, since I had already used Visionary to temp root mine, I just rolled right on with the perm root utilizing that method. Perhaps if I had known sooner what you had just told me, I would've used the rageinthecage method.
[G2 and Desire Z Android Development] Dalamak:
Have s off now, but no root this I messed up last step running visionary and sync, problem is I uninstalled visionary, but now I can't find it in the market, and app brain says file not found when I select it?
[G2 and Desire Z Android Development] lukasvue:
I cant install stock rom and i cant reinstall OTA rom. Im stuck, Can someone help me get s-on to go off.
[G2 and Desire Z Android Development] dynamikd:
Well since you already installed the OTA, then you just need to use the wpthis-OTA.ko & the hboot.img and follow the steps. You must be temp-rooted as well. If you aren't too familiar with ADB, then use Terminal Emulator.
[G2 and Desire Z Android Development] dynamikd:
Not trying to be condescending by any means but check your spelling of Visionary. I uninstalled it and pulled it right back off of the market. You should see two, one free, one not.
[G2 and Desire Z Android Development] PatrickHuey:
i think ill wait for one click root.. haha
[G2 and Desire Z Android Development] haxjester:
It would appear that VISIONary is not available at the moment on the market.

I had used the perm root method with visionary earlier, loaded the desire rom, tested it out, played with it for a bit, then decided to go back to vanilla. Flashed the stock rom, the ota update, and went to install VISIONary to root the phone again, but it is not available on the market at all. Not through searches on the market, links from the net using barcode scanner. I installed an older version, and it was not able to be updated. I removed it for now, and will wait to see what happens. I would use the rage method, but cannot find my usb cord for the phone right now.
[G2 and Desire Z Android Development] lukasvue:
This is my problem.

After getting my s-on to turn off by following this guild. I installed the OC kernel and then decided to downgrade back to the stock rom. The update went smoothly until the second boot. I got "main version is older" and somehow that also trigger my s-off to turn s-on and now i can't get it to turn off. I tried the steps to turn s-off again and get this error

insmod /data/local/wpthis-OTA.ko

insmod: init_module '/data/local/wpthis-OTA.ko' failed (Exec format error)
[G2 and Desire Z Android Development] blk_jack:
VISIONary is definitely not on the Market right now for me either.
[G2 and Desire Z Android Development] Dalamak:
Anyone have an apk link for visionary r10
[G2 and Desire Z Android Development] smjfosho:
he probably took it off so he can update it
[G2 and Desire Z Android Development] Dalamak:
Thought I eas home free, saw s-off and uninstalled visionary not releasing the root didnt stick.. Stupid
[G2 and Desire Z Android Development] Esteef:
yea Ive been messing with my phone non stop today trying different things, hope visionary gets put up soon cause even though it says s-off I cant get SU permissions. no im stuck :(
[G2 and Desire Z Android Development] dynamikd:
Yes here it is

http://dl.dropbox.com/u/4315149/VISIONary_r10.apk
[G2 and Desire Z Android Development] haxjester:
Thank you dynamikd
[G2 and Desire Z Android Development] Esteef:
you are the man. Thank you!
[G2 and Desire Z Android Development] dynamikd:
You are very welcome and that is the one that I used to perm root my device.
[G2 and Desire Z Android Development] Dalamak:
Good looking out
[G2 and Desire Z Android Development] Arcadia310:
@PaulObrien says auto permaroot for G2/Z/HD coming tomorrow to Visionary. Probably the reason why its down.
[G2 and Desire Z Android Development] Veiger:
I tried to run VISONary again after the root process (When it says to run it again to "lock in root") and VISONary does not run stating the device is already rooted. How do I fix this?
[G2 and Desire Z Android Development] Esteef:
The phone is gonna show "already rooted" when u run VISIONary.

in the Market download "Superuser" and you'll be able to have access to all the rooted apps again. You just need to allow the apps to have Superuser permissions.
[G2 and Desire Z Android Development] dynamikd:
I had to reboot, re root, then open terminal emulator, su and type in sync then enter. I rebooted once again and it stuck :)
[G2 and Desire Z Android Development] blackchad:
after inputting the insmod command i get "cant open"

i have both files in data/local/

where am i going wrong?
[G2 and Desire Z Android Development] Dalamak:
Same here, phone boots with root and visionary start at boot is unchecked, so it stuck
[G2 and Desire Z Android Development] Veiger:
Trying this now and hoping it sticks. Fingers crossed lol.

Edit: The root has been planted, i repeat THE ROOT HAS BEEN PLANTED. Now for a baconbits push and chill for a CM release.
[G2 and Desire Z Android Development] Dalamak:
Blackchad

Check your caps, or use sufbs, I was having write permission problems at first till I rebooted
[G2 and Desire Z Android Development] dynamikd:
I agree with Dalamak, the commands are case sensitive. Could you type the EXACT commands that you inputted on your device?
[G2 and Desire Z Android Development] bwilborn:
Absolutely brilliant. Was a bit nervous, but I've overcome my male instincts and followed the instructions to the letter. I don't think it can be boiled down to simpler terms than we have here (aside from paul's one-click that's coming). Thanks to the devs for freeing us from bondage, and I will be sending in my donation once payday rolls around!

-- Brian
[G2 and Desire Z Android Development] pbedard:
easy

thanks alot worked with ease
[G2 and Desire Z Android Development] fearedbliss:
Thanks, sent $5 to Scott.
[G2 and Desire Z Android Development] Arcadia310:
I have this problem with my MT4G, I did everything perfect but insmod says can not open everytime. I swear I'm typing it perfectly, it worked without a hitch on my G2.
[G2 and Desire Z Android Development] Sv3nt3k:
Add me to the list of successful root operations. G2 is now rooted and the process was flawless. Just follow the instructions precisely and you'll have no issues.

Now to see what this puppy can do.
[G2 and Desire Z Android Development] blackchad:
i got it. i was being stupid. i actually moved them to the phone and put them in data/local/ which is not the same one on the root in root explorer. they must be put in there. thanks a ton guys. im very happy to have stuck it to htc.