Skip to content

Instantly share code, notes, and snippets.

@mritzmann
Created July 13, 2018 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mritzmann/e835fa61b5767d5690adfe8b31e86518 to your computer and use it in GitHub Desktop.
Save mritzmann/e835fa61b5767d5690adfe8b31e86518 to your computer and use it in GitHub Desktop.
LG G6 with LineageOS: Boot Fix
#!/bin/sh
/sbin/dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
# After every OS Update, my LG G6 with LineageOS didn't boot.
# So i run this script with the Terminal inside "TWRP Recovery" to fix this Problem.
# sh /sdcard/scripts/after_update.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment