Rooting the G8s - Guide

Search This thread

kuchynek

Member
Dec 4, 2011
32
5
Brno
Hello everybody,

I'm trying to extract boot.img from v20n, but i'm facing a lot of problems with KDZ Extractor. I'm getting boot.img of 0kb filesize. Anyone have it? I followed instructions to update python script without any solution during process. I have this rom on my LG G8s G810EAW20n_00_0321.kdz (http://lg-roms.com/lg-firmware/lmg810eaw/g810eaw20n/11508).

Thank you!
here u have extracted boot.img form this v20n fw https://lg-firmwares.com/downloads-file/25133/G810EAW20n_00_0321 (download from lg-roms.com didn't work).

EDIT: Well I tried to patch the image with magisk without any success :/
 

Attachments

  • v20n boot img.zip
    47.3 MB · Views: 15
Last edited:

Braini3

New member
Aug 15, 2017
3
0
I have a question with which program you unpack the KDZ and DZ with older versions still managed with the KDZ tools, but since some versions it no longer works with them
 

123Bart

Senior Member
Jun 9, 2017
106
28
hi there,
In regard to first post.
Is it required to perform step 0 (zero) as a first or can it be done by just following step 12 when I downladed the following "Version v10p: here (January 2020 security patch) or".
 
Last edited:

123Bart

Senior Member
Jun 9, 2017
106
28
Ok, finally I got it to work.

I unlocked the bootloader succesfully via LG website (Step0 from initial post)
I succesfully flashed patched 10p by adb commands. (patched by OP with magisk 20.3 obviously)
Got bootloop when I played with Magisk afterwards. Could recover everything by factory reset and updated up to patched image from 10r with inbuild updater.
Installed currently Magisk apk 23.0. Root is available and works.

Does anybody tried something to update within Magisk, or add some modules from Magisk-Repo ?
Especially I am interested to install edxposed. But I am afraid to do this right now.

Anybody tried something already ?
 

mellyor

New member
Sep 20, 2021
1
0
Is there any way to relock the bootloader?
Would like to use Google Pay again, but that's not possible with an unlocked bootloader.
Already have the stock ROM running again and everything backed up.
Thanks a lot!

EDIT: got it working
 
Last edited:

TarAntonio

Senior Member
Mar 13, 2019
121
9
Hi
Im on g8s Android 10 v20a rooted

Would know if there are better Software Version for update

Thanks
 

kuchynek

Member
Dec 4, 2011
32
5
Brno
You did patched the boot image in Magisk version 24102 as it says. Could you please upload unpatched boot.img? I want to patch it in older version 23000 as it supports magiskhide and google pay works. Thx!
EDIT: I tried to patch the patch boot.img with magisk 23000 but it didnt worked and with patched img there was no root. So I got back to yours image, update magisk to 24.1 and use zygic with module and universal safetynet fix https://github.com/kdrag0n/safetynet-fix/releases clear data of those apps https://www.reddit.com/r/Magisk/comments/sfhrl3 and reboot. Now gpay seem to be working.
 
Last edited:

TarAntonio

Senior Member
Mar 13, 2019
121
9
Hi
I wana Update to Android 11
But wana remain with bootloader unlocked. I have octopus lg wana ask wich voice need to be unflagged? Boot img aboot img?
Thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    I got root and Magisk working on my G8s (LM-G810EAW)!!

    The patched boot image I used for my German (NEU) G8s can be downloaded from (check your Android security patch date in the phone system settings and choose the corresponding version):
    Version v10n: here (2019) or
    Version v10p: here (January 2020 security patch) or
    Version v10q: here (March 2020 security patch)
    Version v10r: here (May 2020 security patch)
    (then start on step 11)
    If you have the same model (AND version!) you can use that, otherwise follow the steps below:

    Guide:
    0. Unlock the bootloader (https://developer.lge.com/resource/mobile/RetrieveBootloader.dev).
    1. Go to https://lg-firmwares.com/lg-lmg810eaw-firmwares/#tab=firmwares and sort by date (newest first).
    2. Download the kdz for your region (I chose NEU).
    3. Download https://github.com/steadfasterX/kdztools (and install python 3.8 if you don't have it, and add it to your PATH variable).
    4. Put the .kdz file in the same directory as the tools.
    5. Open a command prompt and run "python .\unkdz.py -f .\YOURFILE.kdz -x". This will create a .dz file using the .kdz file.
    6. The newly created .dz file is located in the "/kdzextracted" folder. Move it to the parent folder ("kdztools-master").
    7. Run "python .\undz.py -f .\YOURNEWFILE.dz -s". This will make everything into .image files.
    8. The output files are in the "/dzextracted" folder.
    9. Find the "boot_a.image" file and copy it to your phone's internal storage with e.g. a USB cable.
    10. Install the Magisk Manager app (https://github.com/topjohnwu/Magisk/releases).
    11. Open the app and click Install -> Install -> Select and Patch a File. Choose the boot.image file. Magisk will then patch it and output a patched image file.
    12. Copy the patched image (magisk_patched.img) file to your computer.
    13. Put the file in the same directory as adb and fastboot.
    14. Enable USB debugging in Android settings and then boot into fastboot with ".\adb.exe reboot bootloader".
    15. When the phone is in fastboot, run ".\fastboot.exe flash boot .\magisk_patched.img".
    16. Restart (".\fastboot reboot") and run the Magisk manager app and you should have root :)

    17. If you do this process for new updates, remember to unhide the Magisk manager app before updating!
    Otherwise, after updating: (If you have a hidden Magisk manager app (repackaged) then you need to uninstall it and reinstall the original version, otherwise it won't detect that you have root!)

    Stock boot image:
    v10p: here
    v10q: here
    v10r: here

    Android 10 kdz: https://drive.google.com/file/d/1JaIOh96P0ptW2wMGcEamy4pgEAAoxUjw/view?usp=sharing

    Edit 2020-03-19: Added patched boot image for January security patch
    Edit 2020-06-10: To install OTA updates, you need to use LG Bridge on your computer!
    Edit 2020-06-10: Added patched boot image for March security patch
    Edit 2020-06-13: Added patched boot image for May security patch
    Edit 2020-06-15: Added stock boot images
    Edit 2020-09-11: Added .kdz for Android 10 update
    3
    January security patch boot image

    can someone upload the bootloader file for magisk to the rooting for January patch? for DEC,NEU

    i always get errors with python when unpacking the dz file on windows
    :rolleyes:

    Thank you!
    Is this tutorial up to date or has anything changed since you made it?
    I only just bought the G8s (german version) and want to make sure everything is in order, so I don't brick it (on the first attempt). ^^

    Thanks again!

    I'm facing the exact same Problem. That's sad as I bought this phone only few days ago when I read root was available :(
    My G8s is on 1. january patch. Is it safe to use your provided Magisk boot.img? I'm a little worried because of the guys here mentioning bootloops/bricks

    I just updated the post with the patched boot image for the January security patch :)
    3
    If i use the v10p magiskpatched img on the first thread on my g8s that also have v10p need other ? I think that not need python? Right?
    No, simply flash it with fastboot.
    If someone need this, here the patched boot image for v10q:
    https://drive.google.com/open?id=1lb8JEyTac9mhDFNE7VfmYEUtdma1yWlM
    3
    Here you have patched boot_a.image from/for firmware G810EAW20j_00_OPEN_EU_DS_OP_0216. I used Magisk v 22.0 (22000) for patchimg. For update to newer firmware I used LG Bridge.