drewwalton19216801 for the ZVD rooting writeup, zefie for Xionia CWMA, iBowToAndroid for ZVD installer, Revolutionary for the exploit, Denys Vlasenko for busybox, ChainsDD for su
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 []
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
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)
c:
cd \optiauto
runfirst
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.
Code:
Step A. (A) Install ZVJ recovery / Reboot Recovery
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.
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):
Code:
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)
The "wipe data/factory reset" is OPTIONAL, but HIGHLY SUGGESTED
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
Step B. (A) Reboot Recovery (REPEAT STEP if this boots to Android)
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.
Once in Recovery
Code:
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
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
Code:
Step C. (R) Install Root (INSTALL su, busybox, Xionia CWMA Recovery)
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.
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.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Reference Section
A) What's next?(requires ZVJ or ZVH radio) Ginger Rom
This is a nice clean ROM with bloat removed and just enough enhancements to be useful. [ROM][2.3.3][ZVJ] GingerRom v1.3 -4/14/12-
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Thank you sfhub! Worked like a charm , just following your instructions! I had to repeat Step B (Reboot Recovery) once since it booted into Android, instead of Recovery. Will install GingerROM on it.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Glad I could help I knew my old HTC Touch was nearby in case things got really messy Installed GingerROM and Gingerkernel late last night and looks like everything is working fine so far -thanks again for all the hard work!
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Re-ran through the steps, and that appears to have done the trick
I did notice that(The first time through) after step A I was still on the recovery I have previously so the wipe/update steps looked different. I think it is a possibility that the other recovery image may have caused the trouble.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Wait.. crap I no longer have root :-( me sad
however radio works
Guess I will look for a root exploit for this now, C no longer will work I guess
get a /system/bin/sh failed no file or directory when I run step C
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Originally Posted by kernelsandirs
Wait.. crap I no longer have root :-( me sad
however radio works
Guess I will look for a root exploit for this now, C no longer will work I guess
get a /system/bin/sh failed no file or directory when I run step C
Start from Step B, then do the step on the phone, the Step C.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Well I already rolled back to stock ZVD, then went through All the steps here.
Looks like its all good again, now on ZVJ with root. AND I had an issue where the phone thought I had headphones plugged in all the time, I know it was not a short in the port, tried wiping flashing other ROMs etc nothing helped. but now its fixed! probably the new radio flash.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Originally Posted by grayem
DO any of you have issues with Netflix sync after zvj install with this method? Mine is terribly out of sync.
If there is a problem with Netflix, it is with the ZVJ update itself rather than going through this method. All this does is add some files that are dormant until the user requests them and a custom recovery. The kernel used with Android is untouched.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Anyone else have their phone get stuck at the Sprint logo screen when booting after installing the first update.zip?
I was rooted with zvh. I did this part:
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.
And now I've been sitting at the Sprint logo boot screen for about a half hour now.
Any ideas? Not sure if I should pull the battery or what...
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
I keep failing to get stock recovery to flash. Xionia is the only recovery that shows up for me in the process. Do I need to get my sd card 000root folder cleaned up? There seem to be lots of files there. I would like to be able to start from a clean slate. Trying to upgrade to ZVJ from Kraven's CM7 port on ZVD radio. Thank you!
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
My phone is running stock ZVD rom and not rooted. I still have not received the OTA ZVJ update! Can someone tell me how to manually update my phone without rooting? already have the update.zip.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
If you want stock ZVJ without root, you should be able to boot into ZVD stock recovery and apply Zip from sd card. As long as the update.zip is in the top level of the sd card. Please wait for someone else to give the thumbs up before going on my limited knowledge though.
If you want stock ZVJ without root, you should be able to boot into ZVD stock recovery and apply Zip from sd card. As long as the update.zip is in the top level of the sd card. Please wait for someone else to give the thumbs up before going on my limited knowledge though.
Re: [How-To] Automated Rooting of LS670ZVD/ZVH/ZVJ
Thanks for the prompt response. I just wanted to make sure that VD recovery will work. One more question.
Is the step "wipe data/factory reset" needed in this case?
Portions of this page are modifications based on work created and shared by the Android Open Source Project
and used according to terms described in the Creative Commons 2.5 Attribution License. AndroidCentral is an independent site
that is not affiliated with or endorsed by Google.