Check Your I/O Usage with Iotop for Android

Ever needed to check the I/O usage of apps? If so, you probably tried searching for an iotop … more

T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more

Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more
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
6th April 2014, 11:18 PM   |  #1  
JackpotClavin's Avatar
OP Recognized Developer
New York
Thanks Meter: 2,748
 
887 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 18 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


Top Threads in G2 Android Development by ThreadRank