[ROOT][MAGISK][OREO/PIE] Magisk 18.0+

jonsat

Senior Member
Jun 24, 2009
431
132
63
Roma
Where can i find the excat Version-name? (Italy/Open EU etc.)
Really I do not know. My phone was a branded one (TIM operator) so I assumed that my version was Italy TIM. Actually I read v20h-EUR-XX in software info menu... perhaps I've got the Open EU too?
 

alagga

Senior Member
Nov 27, 2012
308
134
63
Really I do not know. My phone was a branded one (TIM operator) so I assumed that my version was Italy TIM. Actually I read v20h-EUR-XX in software info menu... perhaps I've got the Open EU too?
Yeah i got V20h-EUR-XX in settings too, but I got an unbranded german one
 

stel67

Member
Jan 6, 2014
21
13
0
Athens
@jonsat,
Greetings from Athens/Greece. I have an unbranded Spanish G7.
I assume you have the USB debug enabled on your phone.
use lg bridge and ask it to perform the update. Once the update is found, it starts downloading the kdz. This is stored at
%USERPROFILE%\AppData\Local\LG Electronics\LG Bridge\SWUpgrade\Image
Downloading takes sometime. Go to that directory and check the name of the file
Once this is done, it starts copying the kdz to your phone. This is the time to copy the kdz to another directory so you can work with it.
You can create a cmd file to do this copy, so you will not waste your time waiting for the whole file to be downloaded. This is the cmd I created.
This checks every 5 seconds if the file has been fully downloaded. Once it has been downloaded, it copies it to your home directory and exits.

Code:
echo starting
:begin
timeout 5
copy "%USERPROFILE%\AppData\Local\LG Electronics\LG Bridge\SWUpgrade\Image\*.kdz" %USERPROFILE%\ 
if ERRORLEVEL 1 GOTO begin
Wait for LG Bridget to finish the update and reboot the phone
To create the images yourself, you need LG_Firmware_Extract_v1.2.6.1 tool.
You select the kdz file, tick the dz file, then you press the "Extract KDZ" button and wait for the extraction to finish.

Then you select the dz created at previous step.
Scroll down the second box and tick the file named boot something. Press the "Extract DZ" button. This will get you the default boot.img.
(I hope you can see the second print screen as well)

Copy this boot.img to your phone
Open magisk manager. It should complain that magisk is not installed. Click install and select the zip file you uploaded. This will create the magisk_patched.img needed for your phone. Donwload it to your PC and then business as usual:
Code:
adb reboot bootloader
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
Good luck
 
Last edited:

alagga

Senior Member
Nov 27, 2012
308
134
63
@stel67
Do you know if there's any TWRP recovery we could boot via fastboot with stock rom?
Would be way easier to just flash Magisk in there (and/or pull the stock boot.img from there).


But thanks for the guide :)
 

stel67

Member
Jan 6, 2014
21
13
0
Athens
@allaga last time I checked (some months ago) twrp did not support lg provided roms, only custom ones.
IMO the method in this thread is "cleaner" than twrp.
Or perhaps I got used to it.
 

jonsat

Senior Member
Jun 24, 2009
431
132
63
Roma
@jonsat,
Greetings from Athens/Greece. I have an unbranded Spanish G7.
I assume you have the USB debug enabled on your phone.
use lg bridge and ask it to perform the update. Once the update is found, it starts downloading the kdz.
Thank you very much for the explanation... however, I've already done the upgrade via OTA, so now LG bridge won't download anything since I already have the latest firmware installed.
Curiously, I can't find any 20h kdz version around... where did you find yours?
 

stel67

Member
Jan 6, 2014
21
13
0
Athens
Thank you very much for the explanation... however, I've already done the upgrade via OTA, so now LG bridge won't download anything since I already have the latest firmware installed.
Curiously, I can't find any 20h kdz version around... where did you find yours?
From lg bridge, as written above!
You can also download it from
https://lg-firmwares.com/lg-lmg710em-firmwares
If I were you I would wait for the next OTA and then apply the post above.

Στάλθηκε από το SM-P600 μου χρησιμοποιώντας Tapatalk
 
  • Like
Reactions: jonsat

jonsat

Senior Member
Jun 24, 2009
431
132
63
Roma
From lg bridge, as written above!
You can also download it from
https://lg-firmwares.com/lg-lmg710em-firmwares
If I were you I would wait for the next OTA and then apply the post above.

Στάλθηκε από το SM-P600 μου χρησιμοποιώντας Tapatalk
EDIT: I managed to redownload the firmware, using the "recovery update" function in LG Bridge! :)

UPDATE: BINGO! All went flawlessly... extracted boot.img and patched into Magisk! Thank you very much @stel67 and greets from Italy. :)
 
Last edited:
  • Like
Reactions: alagga

washwash

Senior Member
May 29, 2014
263
36
0
i don't know if it's a lgup problem or magisk, ill write it here too
the ram management is terrible and i always have like 200mb free, so i said to myself, let's remove some unused root apps...
all ok but then i try to reboot and the phone goes to fastboot.
No problem i say; let's try the LGUP upgrade and i should be fine...
now the phone boots but magisk manager says "no magisk installed", so i try to flash magisk img to boot_a and _b but it doesn't work and i don't understand why.
any idea?
european version on firmware E
 

LameMonster82

Senior Member
Apr 15, 2017
583
319
0
i don't know if it's a lgup problem or magisk, ill write it here too
the ram management is terrible and i always have like 200mb free, so i said to myself, let's remove some unused root apps...
all ok but then i try to reboot and the phone goes to fastboot.
No problem i say; let's try the LGUP upgrade and i should be fine...
now the phone boots but magisk manager says "no magisk installed", so i try to flash magisk img to boot_a and _b but it doesn't work and i don't understand why.
any idea?
european version on firmware E
Can you provide more information on you flashing the magisk boot images? Any errors?
 

washwash

Senior Member
May 29, 2014
263
36
0
Can you provide more information on you flashing the magisk boot images? Any errors?
no errors at all, just as i did the first time to get root (fastboot flash boot_a [location of your boot image file]
fastboot flash boot_b [location of your boot image file])
the lg smartworld app even says that i have root and force close, but no root here
i've tried to reflash boot 3 or 4 times with and without magisk manager installed, don't know what to try except total reflash that i would like to avoid

ps. tried installing supersu and it says su binary occupied
 
Last edited:

alagga

Senior Member
Nov 27, 2012
308
134
63
i don't know if it's a lgup problem or magisk, ill write it here too
the ram management is terrible and i always have like 200mb free, so i said to myself, let's remove some unused root apps...
all ok but then i try to reboot and the phone goes to fastboot.
No problem i say; let's try the LGUP upgrade and i should be fine...
now the phone boots but magisk manager says "no magisk installed", so i try to flash magisk img to boot_a and _b but it doesn't work and i don't understand why.
any idea?
european version on firmware E
You can debloat your G7 without root.

Look here https://forum.xda-developers.com/tmobile-g6/how-to/lg-g6-h870ds-debloat-bloatware-removal-t3941274
 
  • Like
Reactions: washwash

terirem

Senior Member
Jul 4, 2014
284
98
0
Hi folks!

I have G710EM, `V10p-EUR` firmware. I upgraded from WITHIN Magisk Manager, from Magisk v18 to Magisk v20.3. Terminal window opened and did some unpacking of the boot image, patching and reapplying. I am curious: is this the right way to update magisk, will I able to boot once I restart?
 

alagga

Senior Member
Nov 27, 2012
308
134
63
Thx ill see what can i do without brick the phone again, i would like to have root again just to backup whatsapp without using gdrive to restore after ill reinstall the new rom
You can backup whatsapp without root too.
Just do a local Whatsapp Backup and copy the "Whatsapp" folder to your PC and after reinstall of the rom back to your sdcard. Then our can restore from that backup when reinstalling whatsapp.

If you need more instructions just Google it.