Android Forums at AndroidCentral.com >  Sprint Optimus S >  LG Optimus S Rooting, ROMs, and Hacks > [How-to] Guide to Rooting with software version LS670ZVC

[How-to] Guide to Rooting with software version LS670ZVC

Closed Thread
Like Tree1Likes

 
Thread Tools Search this Thread
  #231  
Old 02-11-2011, 05:09 PM
 
Posts: 55
Join Date: Nov 2010
Thanked 4 Times in 4 Posts
Likes Received: 0
Activity: 3/20
Oh man, I hope you didn't get bricked on my account.
Thanked by reyt3
  #232  
Old 02-11-2011, 05:10 PM
 
Posts: 55
Join Date: Nov 2010
Thanked 4 Times in 4 Posts
Likes Received: 0
Activity: 3/20
Oh man, still can't root it, only getting $, not #. I think it didn't revert the OTA VC recovery to the LG VC recovery.
  #233  
Old 02-11-2011, 05:10 PM
Device(s): LG Optimus S
ROM/Kernel: Shell 2.1
Theme: Blue Touch
 
Posts: 290
Location: Woodland Hills, CA, US
Join Date: Jan 2011
Thanked 37 Times in 31 Posts
Likes Received: 12
Activity: 0/20
Quote:
Originally Posted by DCJoe View Post
Oh man, I hope you didn't get bricked on my account.
Lol naw phone is still working fine. Showed no service until I restarted it but all seems well....other than the fact I'm apparently no closer to rooting my phone :/
  #234  
Old 02-11-2011, 05:12 PM
AC Forums Adviser
 
Posts: 2,262
Join Date: Jan 2011
Thanked 699 Times in 363 Posts
Likes Received: 204
Activity: 0/20
Quote:
Originally Posted by kingdavidbaker View Post
I am unable to complete the LG update. Goes into the 90% range then says "updating is not possible any longer due to a fatal error while the LG Mobile Phone Software Update."
Well at least it didn't fail during flashing and just failed during extraction, like on the KDZ thread.

We need to figure out what some cab extractions fail and others don't.
  #235  
Old 02-11-2011, 05:12 PM
Device(s): LG Optimus S
ROM/Kernel: Shell 2.1
Theme: Blue Touch
 
Posts: 290
Location: Woodland Hills, CA, US
Join Date: Jan 2011
Thanked 37 Times in 31 Posts
Likes Received: 12
Activity: 0/20
Quote:
Originally Posted by DCJoe View Post
Oh man, still can't root it, only getting $, not #. I think it didn't revert the OTA VC recovery to the LG VC recovery.
Well I would think as long as you're getting a $ thats a good sign. For me when I run adb shell after ./rageagainstthecage I get a device not found error. You probably just have to start from the beginning and keep trying until you get the # prompt. I had to do it like 15 times the first time I rooted my phone.
  #236  
Old 02-11-2011, 05:14 PM
AC Forums Adviser
 
Posts: 2,262
Join Date: Jan 2011
Thanked 699 Times in 363 Posts
Likes Received: 204
Activity: 0/20
Quote:
Originally Posted by DCJoe View Post
Oh man, still can't root it, only getting $, not #. I think it didn't revert the OTA VC recovery to the LG VC recovery.
If you ran rage twice and you can still connect to your phone using ADB then you don't have the OTA VC recovery. That one won't let you connect to your phone anymore.

Understand that rage is taking advantage of a race condition, so it doesn't work every time. You might need to change the timing a little.

Try rebooting your PC and phone and start from scracth, sometimes that helps.
  #237  
Old 02-11-2011, 05:15 PM
 
Posts: 55
Join Date: Nov 2010
Thanked 4 Times in 4 Posts
Likes Received: 0
Activity: 3/20
Kingdavid I hope so, I got about 30 $ signs on Wednesday before I gave up. Not feeling lucky today, even after a bit of success an hour ago!
  #238  
Old 02-11-2011, 05:16 PM
AC Forums Adviser
 
Posts: 2,262
Join Date: Jan 2011
Thanked 699 Times in 363 Posts
Likes Received: 204
Activity: 0/20
Quote:
Originally Posted by kingdavidbaker View Post
Lol naw phone is still working fine. Showed no service until I restarted it but all seems well....other than the fact I'm apparently no closer to rooting my phone :/
So can both you and DCJoe run a checksum on the .cab file you used. I want to see if they are the same:

[Only registered users can view links. ]

fsum *.cab

want to get to the bottom of why his was able to extract but king's wasn't.

Last edited by sfhub; 02-11-2011 at 05:27 PM.
  #239  
Old 02-11-2011, 05:22 PM
AC Forums Adviser
 
Posts: 2,262
Join Date: Jan 2011
Thanked 699 Times in 363 Posts
Likes Received: 204
Activity: 0/20
This post has been moved into its own thread
http://forum.androidcentral.com/lg-o...diag-mode.html
and is no longer being maintained. Please direct any questions to the new thread.

====

Thanks go out to cordell, DCJoe, kingdavidbaker for suggesting this method and working through the procedures, KSmithInNY for comments making this more readable and of course zefie for his unroot procedure and archive of the firmware cabs.

WARNING: If you received a refurbished LS670 from Sprint as a replacement, you might run into troubles trying to use the LG Software Updater to update to VC. See this post for details on how to tell if you are affected by this problem. You can still revert to V9 and root. However if your refurbished unit is affected by this problem you will NOT be able to upgrade to the VC using the LG Software Updater. You will need to force flash VC using KP500. Instructions for how to do this are in the reference section of this post.

High level summary
1) Install the LG Software Updater Tool ([Only registered users can view links. ]) - the KP500 tool referenced below uses LG Software Updater to write the firmware to your phone
2) Force flash the V9 firmware using the KP500 tool (see below)
3) Follow the "How to Unroot" thread
(start from step 1, it will tell you how to revert to V8, restore the pre-VC recovery partition and upgrade to any version you want from there, if you are an advanced user, you can skip some steps and do the alternate procedure in the reference section)

Details for how to Force Flash V9 using KP500
(BACKUP your app data if you care about it, the following assumes you already installed USB drivers for your phone to get adb working)
a) make sure you have at least 600MB free on the drive containing your windows installation, specifically the drive that contains Documents and Settings (or ProgramData on Vista)
b) disable standby, hibernate, and any screensavers
c) make sure your phone is fully charged
d) turn on USB debugging mode on your phone
Quote:
menu->settings->applications->development->USB debugging
e) download the KP500 tool zip file and unzip to your C: drive (attached, windows utility, tested in WinXP, Vista) You should have a folder
Quote:
C:\KP500-Utils-EN-v0.4.2
f) download the V9 cab file from zefie's archive below ([Only registered users can view links. ]) and place in same folder as (e)

g) open a windows command prompt
Quote:
start menu->run
cmd.exe
h) from command prompt rename LS670ZV9_20.S9_20.P60671.cab as LS670ZV9.cab
Quote:
c:
cd \KP500-Utils-EN-v0.4.2
ren LS670ZV9_20.S9_20.P60671.cab LS670ZV9.cab
dir
The output of the above "dir" command should look like this:
(make sure you have 5 files, one file is named LS670ZV9.cab and the file size is 99,220,700)
Quote:
C:\KP500-Utils-EN-v0.4.2>dir
Volume in drive C is
Volume Serial Number is

Directory of C:\KP500-Utils-EN-v0.4.2

02/18/2011 12:48 PM <DIR> .
02/18/2011 12:48 PM <DIR> ..
11/14/2008 01:56 PM 155,648 Inf_WebDnld.dll
08/18/2009 03:49 PM 424,960 KP500-Utils-EN.exe
08/03/2009 01:15 PM 86,016 LGMobileDL.dll
08/03/2009 01:15 PM 450,560 LGMUpgradeDL.dll
02/11/2011 02:10 PM 99,220,700 LS670ZV9.cab
5 File(s) 100,337,884 bytes
i) OPTIONAL: run a checksum on the V9 cab file to verify file integrity ([Only registered users can view links. ]) Unzip the fsum.zip archive and place fsum.exe in the same folder/directory as (e) From your command prompt type
Quote:
c:
cd \KP500-Utils-EN-v0.4.2
fsum *.cab
expected checksum - make sure both the checksum (1st column) and filename (2nd column) match
Quote:
54d830c33567fccbb550f879a2ede136 *LS670ZV9.cab
j) connect your phone using USB cable

k) from your command prompt, run the KP500 program/executable
Quote:
KP500-Utils-EN.exe
l) choose option J - Flash with assistant (file .cab)
m) when it asks for model # - LS670
n) when it asks for cab file - LS670ZV9.cab
o) when it asks for version - LS670ZV9_20

p) you will see "Loading..." and it should bring up the LG Software Updater Tool
if the tool aborts and you see this error near the end of the log
Quote:
ExtractInfo Error(0)
Extract cab file error.
then you may have renamed the cab file incorrectly, see if this post applies.

q) let it run, do not touch your phone until complete, it'll take around 15 minutes

r) when the flash portion is complete phone will reboot and you'll see Android on your screen, this possibly could behave like a first boot, meaning it'll take a while to build everything from scratch, 3 minutes or less. You'll eventually see the Android startup home screen. This may trick you into thinking the flash is done. Don't be tricked. Regardless of whether the LG Software Updater tool is at 100% or not, do not touch the phone yet, it still needs to reload your NVRAM items onto the phone. Do NOT touch the phone until it says completed

s) once the LG Software Updater tool says completed, you should be at the standard android startup screen, congrats, you now have V9 (possibly with a VC recovery partition, which gets restored to a V9 recovery partition as part of the unroot thread) If you have no intentions of running VC OS/Radio, then you can stop here. z4root.apk will give you one-click root. However if you ever want to get root with the VC OS/Radio, you should continue with the next steps.

t) exit the LG Software Update Tool and KP500 (option Q)

u) follow the "How to Unroot" thread from step 1 and you can get to whichever version you want, as part of that process you will restore the V9 recovery partition, which is the key to allowing you to root after using the LG Software Updater Tool to install the VC update. If you are a more advanced user who doesn't need specific instructions, you can save some steps by jumping to step 2 of the alternate method in the reference section below.

v) re-enable standby, hibernation, and/or screensavers if you need to


Reference:
zefie's archive of v7,v8,v9,vC cab files for Optimus S:
[Only registered users can view links. ]

How-to Unroot thread:
http://forum.androidcentral.com/lg-o...urn-stock.html

LG Ally instructions which inspired this solution here:
[Only registered users can view links. ]

Stock V9 recovery image (part of larger zip file containing V8 NANDROID backup) from "How to unroot thread":
[Only registered users can view links. ]

LG Software Updater Tool
[Only registered users can view links. ]

File checksum tool
[Only registered users can view links. ]

How to root V9 Optimus S thread
http://forum.androidcentral.com/lg-o...optimus-s.html

z4root one-click root that works with V9 Optimus S (won't work with VC Optimus S)
[Only registered users can view links. ]

stock V9 Recovery image
[Only registered users can view links. ]

Flash Image tool
Android Forums

Substitute these steps to Force Flash VC
f) download VC cab ([Only registered users can view links. ])
h) ren LS670ZVC_11.SC_11.P60674.cab LS670ZVC.cab
i) expected checksum - 579bfcf1dc2309dd71580d246c954d7f *LS670ZVC.cab
n) cab file - LS670ZVC.cab
o) version - LS670ZVC_11

Substitute these steps to Force Flash V8
f) download V8 cab ([Only registered users can view links. ])
h) ren LS670ZV8_23.S8_23.P60671.cab LS670ZV8.cab
i) expected checksum - cb646c7152cd8e1cdbb2d462534fe89a *LS670ZV8.cab
n) cab file - LS670ZV8.cab
o) version - LS670ZV8_23

Manually flashing stock V9 Recovery image (requires root)
UNZIP flash_image and stock V9 [Only registered users can view links. ] to /sdcard
Quote:
$ su
# mount -o remount,rw -t yaffs2 /system /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /system /system
# flash_image recovery /sdcard/recovery.img
# reboot recovery
Alternate procedure for *advanced users* (these instructions are written at a summary level so you need to know some basic terminology/techniques):
1) Force Flash V9 using the KP500 tool
2) Root using the rageagainstthecage exploit or [Only registered users can view links. ]
3) Manually flash the stock V9 Recovery image (see Reference section above)
4) Use [Only registered users can view links. ] tool to update to VC
5) Root using the rageagainstthecage exploit from the Recovery Partition (ie first post of this thread)

(in step 4, you could use KP500 to Force Flash VC instead of using the LG Software Updater Tool, this would save you from having the LG Software Updater tool download a 96MB cab if you already have the VC cab downloaded yourself)
Attached Files
File Type: zip KP500-Utils-EN-v0.4.2.zip (437.6 KB, 3888 views)

Last edited by sfhub; 02-26-2011 at 01:49 PM.
  #240  
Old 02-11-2011, 05:24 PM
 
Posts: 55
Join Date: Nov 2010
Thanked 4 Times in 4 Posts
Likes Received: 0
Activity: 3/20
Here's what I got:

; SlavaSoft Optimizing Checksum Utility - fsum 2.52.00337 <www.slavasoft.com>
;
; Generated on 02/11/11 at 17:23:24
;
54d830c33567fccbb550f879a2ede136 *LS670ZV9_20.cab
Thanked by lj27416