| || |
[How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
for the ZVD rooting writeup, zefie
for Xionia CWMA, iBowToAndroid
for ZVD installer, Revolutionary
for the exploit, Denys Vlasenko
for busybox, ChainsDD
This guide is for achieving a rooted ZVJ Android for the LG Optimus S using a 95% automated script.
It will install the ZVJ update, persistent root, busybox, and Xionia CWMA Recovery.
This assumes you are ALREADY ROOTED on your existing ROM
If you are already on ZVJ (but not ROOTED) then you need to first revert to ZVD using [this thread] then use Option A - Install Root ZVD/ZVH, which is a fully automated root for ZVD/ZVH.
This download also contains a 100% automated script to root ZVD/ZVH. Instructions (if needed) can be found in [this thread] Ignore the download instructions in that thread as this package supersedes that one. Basically if you are not rooted on your existing ZVD/ZVH ROM choose Option A - Install Root ZVD/ZVH prior to Option B - Install Root ZVJ
See these threads for alternate/past rooting guides: ZVD/ZVH [OptiAuto] ZVC/ZVD [GingerSnap] [GingerBreak] - ZV8/ZV9 [z4root]
For rooting ZVJ you also have a choice of a [Manual Method]
0) Backup anything important
It is good practice to backup before making any changes.
ZVH/ZVJ radios appear to be interchangeable, so if after installing the rooted ZVJ, you are not happy, you should be able to restore a ZVH nandroid backup and have it work. ZVD ROMs will not work with ZVH/ZVJ Radios nor will ZVH/ZVJ ROMs work with ZVD Radios.
1) Pre-requisites Checklist
SD card is INSERTED
USB Debugging is ENABLED - [Menu->Settings->Applications->Development->USB debugging]
USB Storage Mode is OFF - [Drag down the notification bar and tap on "USB Connected", should be GREEN]
LG USB/Android drivers are INSTALLED - [See Reference Section D1 (below)]
Phone is connected to USB port and recognized
2) Download the Optimus automated rooting package
optiauto-sfx.exe [mirror1] [mirror2]
optiauto.zip [mirror1] [mirror2]
With the -sfx.exe self-extractor for windows, just run .exe (ie SKIP Step #3)
With the .zip version download and UNZIP to top-level directory of your C: drive
Note #1: zergrush is a known exploit being used to root your phone. Your Anti-Virus software may quarantine or cause the download to be incomplete. Disable your Anti-Virus software if needed so the download can complete. This is only important if you plan on using the tool to root your ZVD/ZVH ROM.
3) Run the Optimus automated rooting package
From PC command prompt, run "runfirst":
(if you have an aversion to typing, you can use file explorer to navigate to C:\optiauto and double-click on RUNFIRST.bat)
4) Select Option to Install Root - ZVJ
Select Option B - Install Root - ZVJ (after ALL steps complete, you will have installed ZVJ update, persistent root and Xionia CWMA recovery)
You will be presented with the following menu:
5) Proceed through the options sequentially
This is a PARTIALLY AUTOMATED script. You need to COMPLETE ALL STEPS A-C in SEQUENTIAL ORDER to be rooted with ZVJ.
In the menu system (R) indicates your phone is booted into Recovery for that step. (A) indicates your phone is booted into Android for that step.
You must ALREADY BE ROOTED on your existing ROM to run this successfully.
Step A - while booted into Android, select Option A in the OptiAuto tool. Assuming you are rooted, this will install the ZVJ Recovery and place the ZVJ update.zip on your phone. It is VERY IMPORTANT that the ZVJ Recovery installs correctly so pay attention to the status logs. If there is an error, it needs to be fixed before continuing. You can repeat this step as many times as necessary as long as you don't continue to the next step.
Step A. (A) Install ZVJ recovery / Reboot Recovery
After Step A is complete the phone will automatically reboot to Recovery. The automatic reboot works most of the time, but sometimes it will boot back to Android. If it boots back to Android, just repeat Step A.
Once in Recovery you need to perform the steps listed in the Menu ON YOUR PHONE within Recovery (within Android for the last step):
The "wipe data/factory reset" is OPTIONAL, but HIGHLY SUGGESTED
Perform on Phone (should be in Recovery, if not, REPEAT last step)
1. (R) wipe data/factory reset (OPTIONAL/HIGHLY SUGGESTED)
2. (R) apply sdcard:update.zip (2-5 min, installs ZVJ)
3. (R) reboot system now (reboot menu option in Recovery)
4. (A) RE-ENABLE USB Debugging (Press Menu to skip Activation)
Next, choose "apply sdcard:update.zip". This will install ZVJ. After running this step you will NO LONGER HAVE ROOT. Please do not run this step UNTIL YOU ARE SURE Step A (above) completed successfully.
When the update is complete (around 2-5 min) select "reboot system now" in the Recovery menu. This will write the ZVJ Radio and boot into Android.
Once in Android, you will find that USB Debugging has been disabled. Press the "Back" button on the phone a few times to exit the Mass Storage screen and the Initial Configuration Wizard. If you get stuck in Hands Free Activation or Sprint ID selection, Press "Menu" to Skip. Then go and enable USB Debugging
Now you are ready to select Option B
Step B - this will copy a new update.zip to your phone and automatically reboot to Recovery. Sometimes the reboot to Recovery doesn't work and you end up in Android. If this happens just REPEAT this step. This step can be repeated as many times as necessary.
Step B. (A) Reboot Recovery (REPEAT STEP if this boots to Android)
Once in Recovery
You must apply the update.zip. It SHOULD say INSTALLATION ABORTED. This is an expected error. Do not reboot phone, proceed directly to Step C
Perform on Phone (should be in Recovery, if not, REPEAT last step)
1. (R) apply sdcard:update.zip (SHOULD say INSTALLATION ABORTED)
DO NOT REBOOT, proceed to next step
Step C - your phone should still be in Recovery. This step will install persistent root and Xionia Recovery, then automatically reboot your phone. After this step completes successfully, you will be rooted on ZVJ with Xionia CWMA custom recovery installed! This step can be repeated as many times as necessary.
Step C. (R) Install Root (INSTALL su, busybox, Xionia CWMA Recovery)
Note #1 - If you get stuck waiting for the phone to connect, REBOOT your phone AND PC and try again.
6) You are DONE!
See Reference Section A for things you can try with your newly installed persistent root and Xionia CWMA custom recovery. To unroot, redo Step #3, use Option C
Note #1 - Keep in mind, should you CHOOSE to run "su", you MIGHT be prompted for permissions on the phone's screen the first time it is run. If you don't realize that, you'll get "permission denied" and think the root didn't work. Make sure your phone is NOT on the lock screen or you won't see the prompt. It is NOT required that you run "su". You ARE ROOTED regardless.