Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

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

Nuke your laf partition for a way to get into fastboot via the button combination

OP JackpotClavin

7th April 2014, 12:18 AM   |  #1  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 2,971
 
901 posts
Join Date:Joined: Feb 2011
Donate to Me
Note 1: This is probably only aimed at developers
Note 2: I have done this with my VS980 with the 12B aboot and it works as intended, but I cannot say for sure if every G2 variant is like this!

The partition /dev/block/platform/msm_sdcc.1/by-name/laf is LG's special partition for restoring the device to factory state with the Windows recovery tool. Upon further inspection of this partition, it's just a normal boot image, with a kernel and ramdisk like every boot/recovery image.

Unfortunately, LG decided to remove ways to get into fastboot, and the only way to get into fastboot is to nuke your boot or recovery partition, so that aboot will search for a kernel and when it doesn't find one, it will boot into fastboot. So I got the idea that since the laf partition is just a normal partition to boot kernels from, why not run the command

Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
Which will make aboot fail when attempting to boot from the laf partition, and set the boot_into_fastboot variable to true, and boot into fastboot!

I hope this helps somebody fastboot flash a recovery instead of using LG's proprietary service, which wipes your internal storage on restoration.

Also, I tried installing a non-lokified custom boot image to the laf partition, it still fails with a secure booting error, so aboot checks the laf partition for a signing key :/ but yay, fastboot!
Last edited by JackpotClavin; 29th June 2014 at 09:05 PM.
The Following 19 Users Say Thank You to JackpotClavin For This Useful Post: [ View ]
7th April 2014, 01:39 AM   |  #2  
agentfusion's Avatar
Senior Member
Flag Baltimore
Thanks Meter: 95
 
373 posts
Join Date:Joined: Jun 2009
More
Good God I wish I had seen this a week ago. Because of that stupid partition, I've been without a phone for almost a week. I'm in a state where I can't get past initializing download mode, loading recovery mode, and the LG logo. If I could get to fastboot I'd be set. Instead, now I'm waiting for my replacement phone to come in and have been since Tuesday night (it comes in tomorrow at 2pm EST)

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
7th April 2014, 01:41 AM   |  #3  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 2,971
 
901 posts
Join Date:Joined: Feb 2011
Donate to Me
Quote:
Originally Posted by agentfusion

Good God I wish I had seen this a week ago. Because of that stupid partition, I've been without a phone for almost a week. I'm in a state where I can't get past initializing download mode, loading recovery mode, and the LG logo. If I could get to fastboot I'd be set. Instead, now I'm waiting for my replacement phone to come in and have been since Tuesday night (it comes in tomorrow at 2pm EST)

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app

Wow that's not good. Care to share how you got yourself into that situation? Was it because of the 12B aboot?

Sent from my LG-VS980 using xda app-developers app
7th April 2014, 01:45 AM   |  #4  
savoca's Avatar
Recognized Developer / Recognized Contributor
Flag Cuyahoga Falls
Thanks Meter: 4,700
 
1,579 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by JackpotClavin

Wow that's not good. Care to share how you got yourself into that situation? Was it because of the 12B aboot?

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

The ZVC aboot can be downgraded to ZV7 for loki support, but it breaks download mode, and just keeps loading forever.

Somehow, he lost recovery and boot, on top of a ZVC laf on downgraded aboot.

A few people got into this situation before we just started downgrading our laf partitions.
7th April 2014, 02:01 AM   |  #5  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 2,971
 
901 posts
Join Date:Joined: Feb 2011
Donate to Me
Quote:
Originally Posted by Savoca

The ZVC aboot can be downgraded to ZV7 for loki support, but it breaks download mode, and just keeps loading forever.

Somehow, he lost recovery and boot, on top of a ZVC laf on downgraded aboot.

A few people got into this situation before we just started downgrading our laf partitions.

Oh man I think that's 100% unrecoverable. Unless there's a certain cable or button combo we don't know about that can put the device in qhsusb_bulk mode where the partitions are listed in /dev/sd* I think it's hosed.

Sent from my LG-VS980 using xda app-developers app
7th April 2014, 02:26 AM   |  #6  
savoca's Avatar
Recognized Developer / Recognized Contributor
Flag Cuyahoga Falls
Thanks Meter: 4,700
 
1,579 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by JackpotClavin

Oh man I think that's 100% unrecoverable. Unless there's a certain cable or button combo we don't know about that can put the device in qhsusb_bulk mode where the partitions are listed in /dev/sd* I think it's hosed.

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

Only way to force bulk mode afaik is this guy. http://downloads.codefi.re/savoca/autoboot/autobulk.zip But I can only confirm for ls980.
7th April 2014, 08:37 AM   |  #7  
agentfusion's Avatar
Senior Member
Flag Baltimore
Thanks Meter: 95
 
373 posts
Join Date:Joined: Jun 2009
More
I haven't found any way to do anything with it at all, really. No bulk, nada. No boot, no recovery, no download mode, no adb, no bulk, not a single thing. LG is going to have a blast JTAG'ing this brick when they get it back.

Luckily, Sprint replaces phones with software issues for $75, or free if you have the repair service add-on/insurance. It's not same day replacement though. Mine died Tuesday night and I get my new one in twelve more hours.

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app

---------- Post added at 08:32 AM ---------- Previous post was at 08:28 AM ----------

Quote:
Originally Posted by Savoca

Only way to force bulk mode afaik is this guy. http://downloads.codefi.re/savoca/autoboot/autobulk.zip But I can only confirm for ls980.

Savoca ...as usual, you're my hero. I'm keeping that zip handy in case I get ready to do ANYTHING that could result in a hard brick. Bulk, download or fastboot mode would solve all of my problems right now, so for my replacement phone I intend to have at least two of those three options open any time I'm doing something risky.

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app

---------- Post added at 08:37 AM ---------- Previous post was at 08:32 AM ----------

Quote:
Originally Posted by JackpotClavin

Oh man I think that's 100% unrecoverable. Unless there's a certain cable or button combo we don't know about that can put the device in qhsusb_bulk mode where the partitions are listed in /dev/sd* I think it's hosed.

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

Without some sort of software flashed beforehand that forces fastboot in place of download mode, or bulk always on, it's totally unrecoverable.

My primary mistake in all of this was one terrible assumption: I assumed that since the G2 is internally almost the exact same phone as the nexus 5 that there would be some way to get to fastboot mode even if recovery and download mode were both hosed. LG proved me wrong. Very wrong. I even tried applying various resistors to the charging pins hoping I'd find a fastboot combo ala Samsung's USB jig. No dice.

Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
11th April 2014, 03:29 AM   |  #8  
nismology's Avatar
Senior Member
Thanks Meter: 104
 
381 posts
Join Date:Joined: Jul 2010
Wow good find. I was looking for a way to reliably do this about a month ago.
12th April 2014, 12:59 AM   |  #9  
elfarto's Avatar
Senior Member
Thanks Meter: 10
 
125 posts
Join Date:Joined: Jul 2009
Is this just for V980 or will it work for other models (D802 ?)
12th April 2014, 09:18 AM   |  #10  
Kernel Sanders's Avatar
Senior Member
New York
Thanks Meter: 921
 
2,090 posts
Join Date:Joined: Mar 2012
Quote:
Originally Posted by elfarto

Is this just for V980 or will it work for other models (D802 ?)

Read Note 2 in the OP..

Sent from my LG-D800

Post Reply Subscribe to Thread

Tags
brick, developer, fastboot, lgg2, restore
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes