Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … more

YU Yureka: Indian Handset with CyanogenMod

Thesoap opera involving Cyanogen Inc., OnePlus, and Micromax is one of the most talked about … 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
Thread Deleted

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

OP JackpotClavin

Prev Previous Post   Next Post Next
7th April 2014, 12:18 AM   |  #1  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 2,970
 
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 ]
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