Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Guide] How to Root, Unroot, S-OFF, and Flash ROMs your G2!

OP ijoshv2

28th December 2010, 04:28 PM   |  #1  
ijoshv2's Avatar
OP Senior Member
Reno, NV
Thanks Meter: 48
 
192 posts
Join Date:Joined: Apr 2010
More
I've been getting a lot of requests from people, simply asking how I went about Rooting and Flashing new ROMs to my lovely G2 Vision. Well, I'm gonna make a guide with step by step instructions on how to do so. This Guide will teach you how to Root, Unroot, S-OFF (security off, to enable development), and how to Flash a new ROM to your G2.

NOTE!: I am NOT a developer, and i will only accept thanks for putting this information together, I did not create these instructions. Thank the individual developers/posters for their information!

WARNING!!: These procedures are not only dangerous if you don't follow them to the point, but also void the warranty on your phone!! Following these steps incorrectly can brick or otherwise damage your phone!! XDA-DEVELOPERS as well as MYSELF accept NO RESPONSIBILITY to what happens to your phone!!

Just in case you didn't get the message.. WE AREN'T RESPONSIBLE. HACK AT YOUR OWN RISK!!

I will do my best to help anyone along their way, but you've been warned. We aren't here to take the blame for a mistake, we're here to help you do what you're seeking to do.

Got it? Let's proceed, shall we?



First off? The Rooting!

ROOTING: Allowing the phone and it's softwares to have access to the "Root", or complete control, of the phone itself.

This procedure includes two major steps. Temporary Root and Permanent Root. The rooting process for the Temp Root will revoke itself after a reboot. The Perm Root method will not. The rooting process is not complete until the Perm Root process has been finished and the Root is still active after a reboot!

Temp Root the G2:
1. On your phone, go to Settings > Applications > Development > and make sure USB Debugging is ON (it MUST be ON) and make sure Fastboot is checked OFF (it MUST be OFF).
2. Visionary was removed from the Market, please download it from Here instead. Save it to your phone's memory card, then simply open it on your phone with any file manager app. (like Linda File Manager for free from the Market, for example) Find the visionary .apk file in the file manager and click it and follow the prompts to install it.
3. Install Visionary from Modaco.
4. Once installed, open Visionary and check ON Temp Root After Reboot, and check ON System R/W After Root. Then click TempRoot Now, and wait for it to finish. DO NOT CLICK ATTEMPT PERMROOT NOW! We'll get to that momentarily.
5. Once it is done, you have temp root and can use rooted apps without rebooting, OR continue to the next procedure to gain persistent root access.

Perm Root & S-OFF the G2:
An explanation of what S-OFF is and why you might want it - S Off means security off for your HBoot mode (aka Bootloader). The bootloader is what allows you to flash updates and write to the file system of your phone. By turning the Security OFF, we can flash any updates/ROMs we want without the phone checking to see if it is an official update or not.

Let's continue.
1. Download the rooting files: Right here.
2. Extract the files somewhere to your computer.
3. Plug your phone in via USB cable and mount the SD card so we can transfer files to it.
4. Copy the .ko and .img files from inside the extracted folder from step 2 to the root of your sd card on your phone (NOT in any folders, just on the SD card itself).
5. Unplug the phone.
6. Go to the Market on your phone and download/install Android Terminal Emulator (free).
7. Open the Terminal Emulator app and type the following with hitting enter at the end of each line (to get the touch screen keyboard to come up hit the menu button then toggle soft keyboard):
Code:
su
cd /sdcard
insmod /sdcard/wpthis.ko

*After typing the last line, you should see an error saying failed: 
(function not implemented). If you DO see that, you have done it correctly 
and can continue.
8. Now, type the following line in the terminal emulator hitting enter at the end of the line.
Code:
dd if=/sdcard/hboot-eng.img of=/dev/block/mmcblk0p18

[the last part is mmcblk(zero)p(one)(eight)]
9. After you have typed the dd line for your specific phone, it should say something was written etc. Now, type the following into the command prompt with hitting enter at the end of each line:
Code:
sync
10. After that is done, reboot the phone. When it boots back up, turn it off and back on holding down Volume Down and Power until the HBoot screen comes up. Confirm it says S-OFF at the top. If so, you have S-OFF.
11. Now, to get permanent root, turn the phone back on to get to the normal home screen.
12. Open Visionary and Uncheck TempRoot on Boot and click Temproot Now.
13. Then select Attempt Perm Root Now and the phone should reboot.
14. Once the phone reboots, open Terminal Emulator on the phone and type su and hit enter. If you get the # symbol, you have permanent root access and S-OFF!


Next? The ROM Flashing!

Alright, guys. If you've made it this far, You're golden. Grade A directions taker, In my opinion. Let's get to the last step, yeah?

Getting Recovery:
1. Once you have done the above to procedures, open the Market on your phone and search for ROM Manager (Free).
2. Install it.
3. Open the ROM Manager app and click Menu, then Settings and turn ON Delete Recovery.
4. Click Back and then select Flash Recovery.
5. Choose your phone model and then let it flash the recovery.
6. Click Reboot Recovery and you should be put into the custom recovery image screen. If so, you are all set.

Now, to Flash a Custom ROM:
1. Head over to theunlockr.com's ROM page here and choose your preferred ROM. Download it and save it to your computer.
2. Once it is saved, plug in your phone via USB cable and mount the SD card so we can save files to the sd card.
3. Copy the ROM's .zip file over to the root of the sd card (NOT in any folders on the sd card, just on the root of the card) (do NOT extract it, leave it as a .zip).
4. In the custom recovery screen, Backup/Restore and backup your current ROM.
5. Then select Wipe Data.
6. Then select Apply .zip from sd card and choose the ROM you downloaded earlier.
7. Once it is done flashing, click reboot system. Once it reboots, you are all set!


Congrats! You've flashed a new ROM to your G2! Hopefully..

There are some known issues out there, that prevent mostly the Rooting process. I'll touch on one of them real quickly.
The main issue I experienced was that I accepted and flashed the update that T-Mobile released to prevent Rooting. I've found an article on how to downgrade your firmware to pre-OTA, so that you can Root. Try this if you have severe issues trying to complete the Rooting process. Thanks to Apache14 for this info!

http://forum.xda-developers.com/showthread.php?t=831398

There's now also a process to UNROOT your phone! Here's the link. Thanks to David Cogen from theunlockr for all this information!!

http://theunlockr.com/2010/12/01/how...g2-htc-vision/


Thanks for reading, XDA friendlies, and Happy Rooting!!
The Following User Says Thank You to ijoshv2 For This Useful Post: [ View ]
28th December 2010, 05:42 PM   |  #2  
mcp2009's Avatar
Senior Member
Flag York
Thanks Meter: 34
 
1,143 posts
Join Date:Joined: May 2009
Donate to Me
More
Thnx for the link to the unroot man

Sent from my HTC Vision
28th December 2010, 07:33 PM   |  #3  
ijoshv2's Avatar
OP Senior Member
Reno, NV
Thanks Meter: 48
 
192 posts
Join Date:Joined: Apr 2010
More
No problem!

Sent from my HTC G2 using XDA App
29th December 2010, 10:54 AM   |  #4  
steviewevie's Avatar
Retired Forum Moderator
Flag UK
Thanks Meter: 615
 
5,322 posts
Join Date:Joined: Oct 2009
More
Thanks for the effort. But I'm not sure what this is achieving other than duplicating the existing rooting guides in the dev forum.

Also this isn't a very up-to-date guide, it only seems to use one version of "wpthis.ko" and it isn't clear if this is for pre-OTA or post-OTA G2s. And it doesn't cover the DZ either, so it's not a "Vision" guide, just a G2 one.

The existing wpthis.ko was found by scotty not really to work properly anyway, and the newer gfree method of rooting (fully documented in the Wiki) is more reliable (though still does not work with all kernels). And you know Visionary hasn't been updated for months now, right ?

Sorry if this seems like I'm just trashing your guide, but I don't see how posting old information is going to help people ?
29th December 2010, 07:28 PM   |  #5  
ijoshv2's Avatar
OP Senior Member
Reno, NV
Thanks Meter: 48
 
192 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by steviewevie

Thanks for the effort. But I'm not sure what this is achieving other than duplicating the existing rooting guides in the dev forum.

Also this isn't a very up-to-date guide, it only seems to use one version of "wpthis.ko" and it isn't clear if this is for pre-OTA or post-OTA G2s. And it doesn't cover the DZ either, so it's not a "Vision" guide, just a G2 one.

The existing wpthis.ko was found by scotty not really to work properly anyway, and the newer gfree method of rooting (fully documented in the Wiki) is more reliable (though still does not work with all kernels). And you know Visionary hasn't been updated for months now, right ?

Sorry if this seems like I'm just trashing your guide, but I don't see how posting old information is going to help people ?

It may be old, but I had yet to see a collective guide on xda developers' website about rooting, s-off, and flashing the 'G2' vision. In which I clearly stated this was for the G2. Not the Desire Z. This is the only method I knew about, and this guide was for a few select friends, and whomever else felt the need to use it. Its okay if you don't agree this post was helpful. But come on. This was the surefire way I used to root my G2, so I'm spreading the knowledge. Let not hate.
Last edited by ijoshv2; 29th December 2010 at 07:31 PM.
29th December 2010, 07:50 PM   |  #6  
Groboto's Avatar
Member
Flag Phoenix
Thanks Meter: 3
 
46 posts
Join Date:Joined: Oct 2010
More
So visionary still works right?
Just checking before I go threw with this.
29th December 2010, 08:53 PM   |  #7  
steviewevie's Avatar
Retired Forum Moderator
Flag UK
Thanks Meter: 615
 
5,322 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by ijoshv2

It may be old, but I had yet to see a collective guide on xda developers' website about rooting, s-off, and flashing the 'G2' vision. In which I clearly stated this was for the G2. Not the Desire Z. This is the only method I knew about, and this guide was for a few select friends, and whomever else felt the need to use it. Its okay if you don't agree this post was helpful. But come on. This was the surefire way I used to root my G2, so I'm spreading the knowledge. Let not hate.

Exactly, it's old. If you're writing a new guide, why use very old, out-of-date info, when you could easily provide the latest info (e.g. from the Wiki).

Yes, it's a collective guide, but one with old info in, so I don't see how that's helpful.

Your guide uses wpthis.ko, but makes no reference to G2s that might be running the original shipped ROM, or the OTA update. So this will only work on some of those phones.

Your article talks about something that T-Mobile did "to prevent rooting". I don't know where you got that information from, but it's not correct. T-Mobile did nothing to prevent rooting, because the OTA came out before root was fully achieved. It's just that the way of disabling NAND write protection needed to be done differently on the OTA (more as an accident than anything that T-Mobile did).

You refer to Visionary as a "sure-fire" way of rooting. Are you sure ? Have you seen how many phones have ended up stuck in a boot loop after using Visionary ?

Also, I find it kind of weird/interesting how your guide points people to another website to choose their list of custom ROMs. Why not point them to the dev forum on this site ?

Sorry but your guide is full of mistakes and out of date. You haven't even posted it in the right forum, this is the Q&A forum.
30th December 2010, 02:36 PM   |  #8  
ijoshv2's Avatar
OP Senior Member
Reno, NV
Thanks Meter: 48
 
192 posts
Join Date:Joined: Apr 2010
More
It worked for me. Bottom line, That's because i did it step by step and actually followed directions.

Old or not, IT WORKS.

If you want to make something better, then do so. Otherwise, silence your lout. Thank you.
3rd January 2011, 12:59 AM   |  #9  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Jan 2011
Thank you for this write up. I was having problems getting my root to stick even though it was showing s-off but I followed your steps

10. After that is done, reboot the phone. When it boots back up, turn it off and back on holding down Volume Down and Power until the HBoot screen comes up. Confirm it says S-OFF at the top. If so, you have S-OFF.
11. Now, to get permanent root, turn the phone back on to get to the normal home screen.
12. Open Visionary and Uncheck TempRoot on Boot and click Temproot Now.
13. Then select Attempt Perm Root Now and the phone should reboot.
14. Once the phone reboots, open Terminal Emulator on the phone and type su and hit enter. If you get the # symbol, you have permanent root access and S-OFF


AND IT WORKS!!!!
5th January 2011, 03:53 AM   |  #10  
ijoshv2's Avatar
OP Senior Member
Reno, NV
Thanks Meter: 48
 
192 posts
Join Date:Joined: Apr 2010
More
You're welcome, fellow G2 owner.

Why don't you join my group, for those who love their G2? just check my groups in my profile, hopefully we can get a good set of owners together. You never kno what a mass of similar thinking people could accomplish!

Plus, i'm going to start posting some cool guide on how to further customize / enhance your device! Good stuff to kno.

Post Reply Subscribe to Thread

Tags
hack, rom, root, s-off, vision
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes