Default [GUIDE] Perma-root and S-OFF!! (Both manually or if you used VISONary r12)

FINALLY!!



WARNING: THIS COULD PERMENANTLY BRICK YOUR PHONE, INSTEAD OF ROOT IT IF YOU DO THE EVER-SO-SLIGHTEST THING WRONG. YOU'VE BEEN WARNED. I AM NOT LIABLE FOR YOUR STUPIDITY. ALSO, THE HBOOT FILE LOCATED HERE SHOULD ONLY BE USED ON THE G2. IF YOU SO CHOOSE TO USE THIS ON YOUR DESIRE Z, DESIRE HD, MOTOROLA RAZR, WHATEVER, IT WILL PROBABLY SCREW THINGS UP. YOU HAVE BEEN WARNED, ONCE AGAIN!

The next person to spam or hijack the thread with immature pics or comments will get a perm Ban!!!!


Whoa, where did that comment above come from?? =P Thanks mods, I appreciate it!

On that note, I would not recommend this on any phone other than the G2, as I have not personally tested it.

NOTES: This thread is not working in Tapatalk for some reason. Click here to open it in your browser. Also, this will not fix your phone's hinges, your nagging girlfriend, or world hunger. It is what it is.

If you perma-rooted with VISIONary r12, you only need to follow steps 5, and 7. All other steps can be omitted. If you would like to do this all manually, you can still use VISIONary r12, however, instead of using the "PERMANENT" option, use the "TEMPORARY" option, where applicable.

VISIONary r12 has been temporarily pulled.

Expect an update to work with VISIONary r14 soon!

Credit goes out to scotty2, and all of the wonderful folks at #G2ROOT! WE LOVE YOU! <3

Donate to scotty2 (for root): walker.scott@gmail.com (PayPal)
Donate to me (for this guide): gerad.munsch@gmail.com (PayPal)

You need these files:
hboot-eng.img
wpthis-OTA.ko
wpthis-pre-OTA.ko

MIRRORS:
http://bt.microcozm.net/vision-perm-root.zip

MD5s:
Code:
4ed6ac813dbea0ee263ba0f6dc288693  wpthis-OTA.ko
8ac8e7a331a199a48001c691e59b1b33  wpthis-pre-OTA.ko
7669ae12dc2faa10ae555a164980efd0  hboot-eng.img
Step 1
Firstly, run VISIONary to gain temp root

Step 2
Push the .ko file appropriate for your phone, and hboot-eng.img to /data/local/

Step 3
Open a terminal on your phone, or open an adb shell from your computer.

Step 4
Code:
$ su
# insmod /data/local/wpthis-[YOUR_VER].ko
It should return:

Code:
init_module 'wpthis-OTA.ko' failed (Function not implemented)
That is good.

Step 5
FINAL WARNING: THIS STEP COULD SEVERELY DAMAGE YOUR PHONE. USING THE INCORRECT FILE COULD CAUSE IRREPARABLE DAMAGE, MAKING YOUR PHONE NOTHING MORE THAN A BRICK.

That noted, if you would like S-OFF, go ahead and run this command in your terminal.
Code:
# dd if=/data/local/hboot-eng.img of=/dev/block/mmcblk0p18
Step 6
Note: This step is not required if you have used VISIONary r12 to perma-root.

If VISIONary gives you issues about already being rooted here, go ahead and skip this step. After you complete the guide and reboot, go ahead and run VISIONary, and hit "ROOT NOW", wait a minute or two, and reboot again. At this point, you will be fully rooted.

Close your terminal. If you are in adb shell, disregard
Run VISIONary again, this will lock in root. But wait, you're not done yet.

Step 7
This step will lock in your perma-root and S-OFF. If you are using adb shell, you should still have your shell open. If you have used VISIONary r12 to perma-root, and are just wanting to apply S-OFF, your terminal should still be open. If you have just completed step 6, go ahead and reopen your terminal, and type su and press enter to regain root access.

Code:
# sync
Wait a minute or two, and reboot. Congratulations, you are S-OFF!! Go ahead and power off your phone, and hold down VOL DOWN and press POWER to boot up into your bootloader. Check the top line to confirm you have S-OFF. Enjoy!!

Thanks again, everybody!
PHONE: Google Nexus 4 [mako]
SOFTWARE: CyanogenMod 10.1 [nightlies]

TABLET: ASUS Transformer Infinity [tf700t]
SOFTWARE: CyanogenMod 10.1 [nightlies]

BITCOIN: 1LRfN37611eUMwcxdWV4hsvX2mbddK5BQT

Twitter: http://twitter.com/unforgiven512
Google Talk: unforgiven512@gmail.com