Skip to content

Instantly share code, notes, and snippets.

@ourownstory
Last active February 16, 2021 01:10
Show Gist options
  • Save ourownstory/3e46c122652029a6bbd3ea0017946c86 to your computer and use it in GitHub Desktop.
Save ourownstory/3e46c122652029a6bbd3ea0017946c86 to your computer and use it in GitHub Desktop.
DeGoogle LG G6: How to flash LOS + microG

DeGoogle LG G6: How to flash LOS + microG

Needed Resources

Prerequisites

  • ADB installed on PC
  • unlocked bootloader

Flash custom recovery

If you already have a custom recovery installed, skip this step.

  • download desired recovery - I used: SHRP Skyhawk (you can also try OrangeFox)
  • in current OS enable dev options, usb debugging
  • connect to PC adb devices
  • adb reboot bootloader
  • copy img to adb folder, then flash fastboot flash recovery shrp.img
  • reboot to recovery by holding power + volume down until restart - when LG logo appears briefly let go of power, then re-apply, until menu appears - choose to reset (will go to recovery). If this is not done immediately after flashing, the new recovery will not persist.

Flash ROM + MicroG

  • boot to recovery (see last step of flash custom recovery)
  • wipe (System, Data, and Cache)
  • copy ROM to phone via filesystem to external SD card (alternative: adb push <nameoflineagebuild.zip> /sdcard)
  • also copy NanoDroid-patcher and MinMicroG-NoGoolag (add system to it's filename) (or use NanoDroid-microG)
  • flash ROM, NanoDroid-patcher and MinMicroG (or NanoDroid-microG) (install zip via recovery)
  • reboot, setup ROM (in LOS 18 do not set up recovery, it will overwrite the custom one)
  • make sure all ticks in microG self-check are activated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment