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

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
0
New York
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:

agentfusion

Senior Member
Jun 27, 2009
668
221
73
Baltimore
wr3tch.com
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
 

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
0
New York
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
 

savoca

Inactive Recognized Developer
Oct 28, 2011
1,784
5,701
0
Pasadena
downloads.codefi.re
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.
 

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
0
New York
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
 

savoca

Inactive Recognized Developer
Oct 28, 2011
1,784
5,701
0
Pasadena
downloads.codefi.re
  • Like
Reactions: rootlinux

agentfusion

Senior Member
Jun 27, 2009
668
221
73
Baltimore
wr3tch.com
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 ----------

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 ----------

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
 
  • Like
Reactions: SnowFuhrer

tegezee

Senior Member
Feb 27, 2012
441
257
0
Lansing, MI
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.
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 ----------



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 ----------



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

This is the exact problem I have. No recovery, no download mode. I hope there will be a way to fix this even if I have to open the phone to solder something up.
 

LaDY Vengeance

Senior Member
Aug 27, 2013
1,038
517
0
Philadelphia
Hey....using a root file explorer, I found the laf (Is that LG trying to be funny?) partition on my LG Optimus L90! I wonder if this would work.... Hmmm.

Sent from my LG-D415 using XDA Premium 4 mobile app
 

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
0
New York
Hey....using a root file explorer, I found the laf (Is that LG trying to be funny?) partition on my LG Optimus L90! I wonder if this would work.... Hmmm.

Sent from my LG-D415 using XDA Premium 4 mobile app
I don't know anything about that device :/

If it's coded by aboot to boot into fastboot if the partition is nuked then it should theoretically work

Sent from my LG-VS980 using XDA Free mobile app
 
  • Like
Reactions: LaDY Vengeance

AxelCM1

Senior Member
Jan 10, 2013
243
110
0
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.
Link please.
the Link is down

---------- Post added at 12:29 AM ---------- Previous post was at 12:21 AM ----------

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 ----------



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 ----------



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
Friend did it solve?
 

Dimebagsm

Member
Nov 12, 2008
6
0
0
Hi guys... sorry but I have one ls980 with laf partition damaged and i Can't unbrick... I need new link with autobulk for test... can u help me?

thanks
 

LNRawz

Member
Jan 19, 2011
33
7
0
Hello. This would be very useful for me on the P875h. Trying to compile CWM, and every time I boot into recovery (now my build boots, but no LCD on) I get a wipe_data flag! Can't find the source of it!
But there is no partition with the name laf.
Can someone tell me what is the block for this partition? (mmcblk)
And what size is it?
Thankx!
 

skulldreamz

Senior Member
Mar 13, 2012
1,406
1,175
143
Baltimore, MD
Hello. This would be very useful for me on the P875h. Trying to compile CWM, and every time I boot into recovery (now my build boots, but no LCD on) I get a wipe_data flag! Can't find the source of it!
But there is no partition with the name laf.
Can someone tell me what is the block for this partition? (mmcblk)
And what size is it?
Thankx!
Laf is mmcblk0p24 and its 32 mbs

Sent from my LG-D800 using Tapatalk
 
  • Like
Reactions: LNRawz