Find The Best Apps With Google’s Picks & Other Tricks

The Google Play Store, weighing in with more than 1.4 million apps at last … more

Dynamic Pop for Note 4 (N910T & 910W8)

With the release of the Canadian Lollipop ROM for the Note 4, T-Mobile users can also enjoy the … more

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel … more

HTC Sense Camera & Gallery for M8 GPE Lollipop

If you are running a GPE ROM and miss the sense gallery and camera, this flashable zip by … more
Thread Deleted Subscribe to Thread Email Thread

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

Prev Previous Post   Next Post Next
6th April 2014, 11:18 PM |#1  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 3,619
 
1,002 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 08:05 PM.
The Following 21 Users Say Thank You to JackpotClavin For This Useful Post: [ View ]
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