LG G2 mini (lg-g2m)

From postmarketOS Wiki
LG G2 mini
Manufacturer LG
Name G2 mini
Codename lg-g2m
Released 2014
Hardware
Chipset Qualcomm Snapdragon 400 (MSM8926)
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
Display 540 x 960 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
Original version 4.4.2
postmarketOS
Category testing
Pre-built images no
This device is marked as not booting.


Users owning this device


How to enter flash mode

  • Recovery mode: Power on the device by holding Volume Down and Power, once the screen turns on release the buttons and hold them again shortly after. Select "Yes" at the factory reset screen. If you have TWRP installed it won't actually wipe your phone.
  • Download/Bootloader mode: Hold down Volume Up and connect the device to a computer with a USB cable while it is in a powered off state. If you erased the laf partition the phone will boot into fastboot mode.

Unlocking the bootloader

Icon WARNING: Be prepared to disassemble the phone to force booting into EDL in case of failure!
Note Note: Only the d620r model has been tested!
  1. Make sure you are on Android Lolipop firmware (V20b tested). A link to the firmware can be found here
  2. Download and install bkerler's EDL tool from here or clone it like below. The latest master branch does not work for this phone, so we reset working commit d5ff2d4
    $ git clone https://github.com/bkerler/edl.git && cd edl
    $ git reset --hard d5ff2d474a185a0c0df09c74dfa24eb7cfe6e9e5
    
  3. Download necessary files for unlocking the bootloader from here
  4. Reboot to EDL from Android
    $ adb reboot edl
    
  5. Dump all partitions from the phone and back it up. You can delete userdata.bin to save space on your computer
    $ edl rl dump_lg-g2m --genxml
    
  6. Write the patched aboot to the phone with files from the GitHub repo
    $ edl w aboot aboot_d620r_patched.bin --memory emmc --loader 008050e100000000_cc3153a80293939b_fhprg.bin
    
  7. (Optionally) Flash TWRP
    $ edl w recovery twrp-3.1.1-0-g2m.img --memory emmc --loader 008050e100000000_cc3153a80293939b_fhprg.bin
    
  8. Reset the phone by removing the battery or with
    $ edl reset --loader 08050e100000000_cc3153a80293939b_fhprg.bin
    

Installation

/* Not yet */

See also

GSMArena page