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

LS980ZVA - All you need to know!

OP savoca

28th January 2014, 07:03 PM   |  #1  
savoca's Avatar
OP Recognized Developer / Recognized Contributor
Flag Cuyahoga Falls
Thanks Meter: 4,912
 
1,630 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Thanks to @Shelnutt2 if you took the ZVA ota and you want a custom recovery, FreeGee from the play store now supports automatically downgrading your bootloader and installing a recovery!

If you want a ZVA radio on an AOSP ROM, you can use the latest AOSP builds of dr87's kernel or Furnace to work.
No more downgrading radio to ZV8 for AOSP ROMs


Quote:

Before I step into the details, here's a little history..

WARNING: If you don't understand adb or root, then you shouldn't even be here, you probably shouldn't have even rooted. Make sure you COMPLETELY understand this post before doing ANYTHING. I'm using caps like a wild maniac because if you do something out of order or you do something wrong you WILL brick your device, and you have to use a .tot to bring yourself back to stock. The kind of brick you could create here kills your boot and recovery partitions. Be careful.

Code:
LS980ZV7 (Initial Release)
LS980ZV8 (Security Update)
LS980ZVA (Sprint Spark and loki-killer)
Loki: Our device uses a bootloader called an "aboot" which must validate the boot and recovery partitions before they can be booted.
We are allowed to use custom boot images (ROMs + Kernels) and recoveries because of loki. Loki is a program that patches our "Unoffical" boot or recovery images before they are installed, this is usually done in the .zip during flash, which is why most people don't worry about it.

LS980ZVA (Spark Update)

This update does 2 major things, patch loki, and add tri-band capabilities.

If you take the update, you will NOT loose the ability to ever use a custom ROM. We just need to downgrade the "aboot" to the exploitable ZV7 aboot.

You can find that "aboot" here -> zv7-aboot

After rooting, (use ioroot21) you can put the zv7-aboot.img on your sdcard, and open terminal emulator. Issue this command:
Code:
dd if=/path/to/your/zv7-aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
(You can also use adb if you prefer)

After you have downgraded your aboot, you will need a custom recovery. Download Flashify off the Google Play market (or use FreeGee to make the process faster) and place this file on your sdcard. twrp_2.6.3.3_loki-ls980.img
Open flashify, select recovery image, and find that .img, I have already loki'd this image, so you don't need to worry about it not working. Just be sure that you have downgraded your aboot first!

At the moment, the ZVA radio that came with your ota has completely broken compatability with all other non-ZVA ROMs, so if you want to install CM/PA/AOKP/DerpG2/OptimusDE, you will need to downgrade your radio to non-Spark ZV8/7, just flash this file in your newly installed recovery.

Now you're safe to flash any ROM!

AOSP/LS980ZV8/7

If you want to try the new radio (Spark), there's some things you need to be aware of, (when available) flashing youdug's stock ZVA ROM will NOT give you spark out of the box. You will need the new ZVA radio for this. You can find that here

You can only use twrp to install this radio. And it will ONLY work on ZVA ROMS. Do NOT install this radio over CM/PA, you will brick.

After you have verified that you are running a ZVA ROM, you have flashed the radio, and you notice no errors, you may boot.
Notice, your bootloader is now loki-proof, and your recovery will no longer work. if you wan't to go back to AOSP or any other non-ZVA ROM, you MUST first flash the ZV8 Radio so that your ROM will boot.

Also, do not flash a ZV8 radio over a ZVA radio if you have already booted into a ZVA ROM. Only install the ZV8 radio before flashing a ZVA ROM or before switching to a non-ZVA ROM.

Devs working on the ZVA update: If you're including a custom kernel that modify's the official ZVA boot.img, you will need to include a few lines in your updater-script that patches the ZV7 aboot over the ZVA aboot. Then you can add the lines to loki your boot.img. We have to assume that the user is flashing your ROM on either radio. If you don't patch the aboot, the ZVA radio that the user "may" flash will not pass the boot.img from your ROM and the boot will fail, followed by the custom recovery. If you aren't careful, you WILL brick users.

Again, do NOT flash the radio before flashing the ZVA ROM, you WILL brick if you try to boot. Flash the ZVA ROM, verify that it boots, then flash the ZVA radio. If you want to go back to AOSP, follow the Spark guide above.

Thanks for help figuring this one out to @autoprime @garwynn @Shelnutt2 @Dougie2187

Last edited by savoca; 2nd March 2014 at 10:14 PM.
The Following 47 Users Say Thank You to savoca For This Useful Post: [ View ]
28th January 2014, 07:36 PM   |  #2  
dangambino's Avatar
Senior Member
Flag baltimore
Thanks Meter: 52
 
562 posts
Join Date:Joined: Feb 2010
More
So if u don't have spark in ur area what's the benefits? Thanks
Last edited by Judge Joseph Dredd; 30th January 2014 at 06:20 PM. Reason: no need to quote OP
28th January 2014, 07:42 PM   |  #3  
Senior Member
Flag Tacoma, WA, USA
Thanks Meter: 64
 
671 posts
Join Date:Joined: May 2010
More
Did you really need to quote the whole OP? I don't think it's worth it if you are not in a Spark area.

Sent from my LG-LS980 using xda app-developers app
The Following User Says Thank You to chazglenn3 For This Useful Post: [ View ]
28th January 2014, 07:44 PM   |  #4  
dangambino's Avatar
Senior Member
Flag baltimore
Thanks Meter: 52
 
562 posts
Join Date:Joined: Feb 2010
More
Quote:
Originally Posted by chazglenn3

Did you really need to quote the whole OP? I don't think it's worth it if you are not in a Spark area.

Sent from my LG-LS980 using xda app-developers app

I've seen much longer quotes quoted. Anyway so there's no benefit...cuz its only launched in 11 cities. although I'm getgi g late from band 25 and 41 not 26 though. I enables them.....
28th January 2014, 07:44 PM   |  #5  
Lrod0175's Avatar
Recognized Contributor
Flag New Jersey
Thanks Meter: 2,757
 
4,032 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Good job at explaining these issues, thanks.

Sent from my LG-LS980 using Tapatalk
The Following 2 Users Say Thank You to Lrod0175 For This Useful Post: [ View ]
28th January 2014, 07:45 PM   |  #6  
savoca's Avatar
OP Recognized Developer / Recognized Contributor
Flag Cuyahoga Falls
Thanks Meter: 4,912
 
1,630 posts
Join Date:Joined: Oct 2011
Donate to Me
More
If you're not in a Spark area, don't even bother. You're temporarily flashing to a non-exploitable aboot and you have to downgrade to go back to any other non-ZVA rom.

What I like to do is flash the ZV8 radio and then the ZVA ROM, that way I don't need to mess with my aboot and I can go flash AOSP whenever I want.
The Following 3 Users Say Thank You to savoca For This Useful Post: [ View ]
28th January 2014, 08:17 PM   |  #7  
mrrogers1's Avatar
Senior Member
Flag NEEEEBRASKA
Thanks Meter: 2,455
 
2,925 posts
Join Date:Joined: Jun 2007
More
Quote:
Originally Posted by Savoca

If you're not in a Spark area, don't even bother. You're temporarily flashing to a non-exploitable aboot and you have to downgrade to go back to any other non-ZVA rom.

What I like to do is flash the ZV8 radio and then the ZVA ROM, that way I don't need to mess with my aboot and I can go flash AOSP whenever I want.

Perfectly said and Thank you (in words, not just XDA thanks) for this.

Sent from my LG-LS980 using Tapatalk
The Following 2 Users Say Thank You to mrrogers1 For This Useful Post: [ View ]
28th January 2014, 08:37 PM   |  #8  
Senior Member
Los Angeles
Thanks Meter: 312
 
1,082 posts
Join Date:Joined: Jun 2007
Quote:
Originally Posted by Savoca

After rooting, (use ioroot21) you can put the zv7-aboot.img on your sdcard, and open terminal emulator. Issue this command:

Code:
dd if=/path/to/your/zv7-aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
(You can also use adb if you prefer)

After you have downgraded your aboot, you will need a custom recovery. Download Flashify off the Google Play market (or use FreeGee to make the process faster) and place this file on your sdcard. twrp_2.6.3.3_loki-ls980.img
Open flashify, select recovery image, and find that .img, I have already loki'd this image, so you don't need to worry about it not working. Just be sure that you have downgraded your aboot first!

Was just curious if these instructions work for adb to flash zv7-aboot.img on your PC. Can you confirm if this works? I just think its just easier to flash the zv7-aboot.img on your PC since you can copy and paste the command into command prompt than have to type it manually on the terminal emulator on your phone. I think its less prone for error.

Alternative method to flash zv7-aboot.img using ADB method for Windows users. Should be similar steps for Mac users using a terminal window.
  • Download the zv7-aboot.img file and place the zv7-aboot.img in the ioroot 21 folder location.
  • Hold shift and right click in a blank area of the ioroot 21 folder on your PC and select "open command window here"
  • Type adb push zv7-aboot.img /sdcard/
  • Type adb shell
  • (If you do not see a # type su and hit enter so that you see the #)
  • Type dd if=/sdcard/zv7-aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Last edited by ericdabbs; 28th January 2014 at 11:37 PM.
The Following 4 Users Say Thank You to ericdabbs For This Useful Post: [ View ]
28th January 2014, 09:33 PM   |  #9  
Member
Thanks Meter: 6
 
40 posts
Join Date:Joined: Sep 2012
Stock Rooted with TWRP
I am so sorry if this is a noob question but can I take this Spark update on my stock rooted with TWRP and then use this method to restore root and recovery. And will my phone still have all my apps. I will make a backup and transfer it to the PC though Thanks
28th January 2014, 09:59 PM   |  #10  
savoca's Avatar
OP Recognized Developer / Recognized Contributor
Flag Cuyahoga Falls
Thanks Meter: 4,912
 
1,630 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by UCLA1

I am so sorry if this is a noob question but can I take this Spark update on my stock rooted with TWRP and then use this method to restore root and recovery. And will my phone still have all my apps. I will make a backup and transfer it to the PC though Thanks

You're good. But if you've ever uninstalled a system app the OTA will fail.

The Following User Says Thank You to savoca For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes