[LG G8X ThinQ Guides, News, & Discussion] ngodinhhoi:
first I want to thank quantan to help me to telegram to finish my hope to this phone. i dont know which kernel (dragonfly kernel) is used for. But i can necessary to root my device.

I still want to thank some guys: @SGCMarkus for his guide of building TWRP, @erickg for bringing new TWRP to G8 which supports F2FS , especially @cloud1250000 and Seasee606 for their ultimate guide for Unlock Boot loader and root

Thank topjohnwu for exellent root/systemless.

I want to show you all the trick with this phone. (Sorry for my bad english but you all can help to improve my english :) )

First, I am not responsible for any problems from using this guide that cause brick, deathphone, bla bla etc.. USE AT YOUR OWN RISK!

So come to my guide and you take your own responsibility!

My phone using is Lg G8 Lg g820N from Kor. In kor has 3 carrier so that my guide is for Lg U+. But i think Other carrier still OK.

These guide is for Android 10 Lg G8 ONLY:

1. Un-bootloop.

Bootloop appear when we flash wrong boot, system, ubl file... But i think bootloop cause by flash wrong boot is your reason. I strongly recommend that you must NOT remove ANY system apps because it causes bootloop after reset and I have no way to boot. I successfully recovery my phone but I cant root again :(.

So, I want to guide you how did I recover my phone. and got root again

this is the link that save the day: https://xdaforums.com/t/guide-lg-g8...nlock-and-magisk-root-using-firehose.4221793/

With alive G8 phone:

Step 1: Install QFIL driver: (just intall in C: ) https://www.mediafire.com/file/2czhxpwy0fc5bvj/QPST_2.7.496.zip/file

And https://www.mediafire.com/file/morxwzh5s69s84r/QUD.WIN.1.1_Installer-10037.3_Setup.exe/file

Step 2: Boot you phone into EDL: Plug in computer, Hold Vol- and Power, when the phone screen turns off to restart begin quickly pressing the vol+ but keep holding vol- and power.

Here is a youtube video of how to boot to EDL:

You can make sure that your phone is in EDL by plugging your phone to your pc and checking the Device Manager > Ports > Qualcom HS-USB QDLoader 9008 (COM#)

Step 3: Open QFIL: C:\Program Files (x86)\Qualcomm\QPST\bin\QFIL.exe

Choose port => select flat build => browser to this download file in meta build: prog_ufs_firehose_sm8150_lge https://www.mediafire.com/file/r65xw7ewcf9zdqx/prog_ufs_firehose_sm8150_lge.elf/file

View attachment 5208711

Step 4: In QFIL do: Click Tools > Partition Manager.

Find abl_a and right click on it and select Manage Partition Data. Click Read to backup your abl_a.

Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT# (# is number com that computer show you)

Rename your ReadData_ufs_Lun4.bin to abl_a.bin

Do the same with abl_b, boot_a, and boot_b. Then copy these file to a safe location to avoid bootloop when you flash something in future.

abl_a, abl_b is for unlock bootloader

boot_a, boot_b is for boot, magisk root in future.

Here is my 2 versions backed up these file: 1 for Android 10 version u: https://www.mediafire.com/file/fdx1a0xs1fubukv/COMPORT_13.rar/file , and ther latest version v: https://www.mediafire.com/file/kxlqbh3klq0jbou/lg_backup.rar/file

Here is the way to un-bootloop: Use QFIL with EDL mode in phone: Click Tools > Partition Manager.

right click on boot_a again then select Manage Partition Data, then Select Load and choose the boot_a my backup file.

Do the same with boot_b

Close the patition box, wait until it own reboot EDL after 5 seconds

Restart phone by press and hold: Vol - and Power and unplug to escape EDL mode.

Now you have success recovery your phone.

If you got another phone, just asked other memer for helping you back up those boot a and boot b files.

2. Up stock rom.

MUST flash in alive phone.

https://lg-firmwares.com/lg-lmg820n-firmwares/

download your favorite device rom and put rom in C:\Program Files (x86)\LG Electronics\LGUP

Install LGUP (install everything on it): https://www.mediafire.com/file/v9wlzvvjmbjjuzm/LG_UP.rar/file

Copy this file https://www.mediafire.com/file/iyw123ddwcv39ph/common.rar/file

to C:\Program Files (x86)\LG Electronics\LGUP\model

example: C:\Program Files (x86)\LG Electronics\LGUP\model\common\ LGUP_Common.dll

enter download mode by press Vol + and plug in PC

click LGUP to flash: You can choose refurbish, upgrade, bla bla by your exp.

My choose is update because I want to use latest (latest rom has security patch latest) you take a long time to update rom and get root longer.

It will restart after flashing.

*failed to enter download mode: you got bootloop. MUST fix bootloop first.

3. Unlock bootloader.

Go to Settings > System > About Phone > Software Info > Tap Build Number 7 Times.

Go back to Settings > System > Developer Options. Check Enable OEM Unlock

Boot you phone into EDL

You can make sure that your phone is in EDL by plugging your phone to your pc and checking the Device Manager > Ports > Qualcom HS-USB QDLoader 9008 (COM#)

Hold Vol- and Power, when the phone screen turns off to restart begin quickly pressing the vol+ but keep holding vol- and power. (press 3-4 times quickly)

Use QFIL when enter EDL mode.

Click Tools > Partition Manager.

Find abl_a and right click on it and select Manage Partition Data. Click Read to backup your abl_a.

Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT# (# is number com that computer show you)

Rename your ReadData_ufs_Lun4.bin to abl_a.bin

Do the same with abl_b.bin

Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Go back to Partition Manager and right click on abl_a again then select Manage Partition Data, then Select Load and choose the abl file: https://www.mediafire.com/file/xeid3x0ayastjwn/abl_a.bin/file

Do the same for abl_b.

Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Reboot to Fastboot. Hold Vol- and Power then release power when reboot starts and keep holding vol-

If that doesn't work unplug and Power off your phone. Hold vol- and plug it in. It should go into fastboot.

Once your phone is in Fastboot it should say

Device State: Locked and Active A/B Slot - _a or _b

remember whichever slot your device says and stay on that slot, you may risk bricking if you change to the other slot. You also need this for Root later.

Extract the ADB.zip: https://www.mediafire.com/file/3js0tmdypw1b70q/adb.zip/file

Paste your backup abl_a and abl_b to this folder

open a Command Prompt and change the directory to the adb folder you just extracted

for example:

cd C:\adb

run fastboot devices in that command prompt. it should show "LMG820N fastboot"

Run:

fastboot oem unlock

Select Unlock The Bootloader with your arrow keys and press the Power Button

Reboot back to the Bootloader. Unplug your phone, Power off, Hold Vol-, then Plug it in.

Your phone should say Device State – unlocked now

In adb command prompt: do sequance

fastboot flash abl_a abl_a.bin

fastboot flash abl_b abl_b.bin

fastboot reboot

It will show you when restart that it locks bootloader but never mind it is unlocked bootloader

4. Root Using magisk:

Download and install magisk manager: https://magiskmanager.com/downloading-magisk-manager

Remember A/B slot in fastboot last step.

Paste boot_a or boot_b in sd card or in internal storage. In magisk manager, choose: setting of magisk => options click next (keep tick) => select and patch a file (choose your last copy boot_a or boot_b) => next …

You will find patched boot root with magisk named magisk_patched#####.img in download folder in internal storage.

Copy to your pc that file.

Reboot to EDL

Open QFIL. Click Tools > Partition Manager.

Find the slot you are on from the fastboot bootloader earlier and right click on either boot_a or boot_b and select Manage Partition Data.

Click Load and select the magisk_patched#####.img file you transfered from your phone.

Wait for it to finish then Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Reboot to System by holding vol- and power till your phone reboots out of EDL then release both.

Your phone is now Root. It is built-in root with your system 😊.

5. Flash TWRP: Using Magisk manager to flash this file: just copy this file to sd or internal storage

https://www.mediafire.com/file/ry6tg6oqgonrc3u/TWRP-3.4.0.0-G820N.zip/file

in Magisk choose module, intall from storage => choose TWRP zip. After install TWRP you must flash magisk zip to get back root: https://github.com/topjohnwu/Magisk/releases/download/v21.4/Magisk-v21.4.zip

https://www.mediafire.com/file/4q3q6bk57r2ybaz/fstab.alphaplus/file this file is for using sdcard for twrp. https://www.mediafire.com/file/ivokzuhg4cn1jt2/fstab.zip/file

To enter TWRP: Using some program by install quickreboot apk in store 😊 but I have no idea to using this TWRP. Just install in case of hanging.

6. Using kernel (I have no idea):

Visit https://xdaforums.com/t/kernel-11-15-2020-4-14-205-f2fs-dragonfly-for-lg-g8-korean-us.4163649/

Hope you have a good time with your G8.

Please don’t blame me if you got brick. USE AT YOUR OWN RISK! I WARNED YOU.