yashsingh1/xdaforums huggingface dataset:
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Erpinoob:
Try to check if NFC is working properly. In my case it's depending on the GApps I've flashed, which cause NFC to be somehow partially broken and which lead to have a constant wakelock (called NFCWAKE or something like that) that prevents the device from going into deep sleep. Since I didn't need NFC and I didn't want to investigate more, I've just uninstalled NFCService.apk with Titanium Backup. Since then, deep sleep started working properly.

Inviato dal mio LM-G710 utilizzando Tapatalk
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE OF LINEAGEOS

Fixed up charging while the device is turned off

https://www.androidfilehost.com/?fid=6006931924117885648

In order to enjoy this fixed u need to use the new twrp image on my afh link is in OP

if u dont want to use twrp please use boot_310519.img from link in on OP
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] artixerix:
My phone doesn't boot with new boot_twrp.img

I flashed new boot_twrp.img, booted to it, formatted the phone, flashed the new zip, and when I rebooted right after then it launched normally.

However flashing the new twrp results in a bootloop, permanent. Sadly I have to use the 8 May version of this ROM until it's fixed.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Can't recognize exfat external sdcard, but ntfs format is OK. Does anyone else meet this problem?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] LuizET7:
A small bug. When I use NFC, it continuously vibrates. I tried to recharge money into bus card, it fails. Except for that, all features are perfect. Thanks!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE

https://www.androidfilehost.com/?fid=6006931924117887071

FIXES FIXES FIXES

FIXED UP:

Screen getting black for 0,5 secs after unlock

dt2w not working while aod is turned off

NFC (does it actually work now ????)

in order to use this feature please use the bootimg contained in the zip , it will be downloadable as seperate img aswell in order to enjoy this fixes , exept NFC that one is independent of kernel

https://www.androidfilehost.com/?fid=6006931924117887074

Please stay tuned for a new release of TWRP which can boot the system again
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Tobiasz441:
Can i just flash this one over my current version and keep all the data?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] artixerix:
Still waiting for that sweet TWRP for new build, I really need my Magisk.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
You can patch the boot.img directly in magisk manager and flash it via fastboot.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] razorlikes:
Nice work, looking forward to flashing this soon.

How is the battery life compared to stock for you guys? Does it still drain as much on standby as LGs firmware does?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
I guess when the stock pie is already out, flashing twrp and this rom should suffice, right?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] artixerix:
Alright, thanks, that did the trick. What about gapps though?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Oh I have no idea about that...
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] artixerix:
Yeah...exactly why I need TWRP, since I gave myself up to google for the sake of convenience, backups, and a couple other minor things. I really need those.

UPDATE: I managed to install OpenGApps by doing a slightly autistic thing - flash the ROM from TWRP, then flash the modified magisk boot.img right after. Reboot into system, go through initial config, then reboot into bootloader and flash an older boot_twrp.img, shut the phone down, boot into recovery.

That's when I managed to flash GApps without issues, and then flashed the modified boot.img for the ROM again, and rebooted. Works.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
heres how i do a update ,

1. reboot into bootloader

2. flash some twrp doesnt matter which one but it needs to be one of the ones from this thread

3.flash lineageos zip

4. reboot into bootloader

5. same as step 2

6.flash opengapps

7. reboot to bootloader

8.flash latest boot.img from los

9optinally patch the boot image with magisk to have magisk (but i mostly dont use it since it breaks adb root and i need that kinda often for development)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
also i know about autobrightness beeing broken in latest build again , im currently rewriting everythign to build a vendor.img together with lineageos instead of using a patched lg one, but this is a fairly more intensive task then i thought and it might take a good whileto finish it then i will hunt for bugs again
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kadiix:
Now we have pie on European lg g7, do we still need to install Korean pie to have lineage os?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] BartimaeusPT:
Hi All.

Just flashed this ROM and loved it.

My AOD isn't working.

Any One has the same problem?

I Will keep testing every version you put out. Waiting for auto britness
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] crnkoj:
+1
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] artixerix:
Oh yeah, HiFi QuadDAC is broken on new build. Unable to choose options.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Is anyone able to use sd card with exFAT format? It seems unable to mount exFAT.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] BartimaeusPT:
No I can't either nor quad dac

Do you have always on display?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Nope. Bug exists.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] BartimaeusPT:
I don't have mirror cast.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
idk the ****ing exfat driver wont load up , i enabled it a while ago in kernel and system but it still doesnt work and i have no idea why
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
I'm also confused.. We know official firmware offers exFAT support but here doesn't work with driver included.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] BartimaeusPT:
I found outer bug.

I made a call and then I started outer call, I didn't let it go thru.(made bye mistake) wen I was trying to restart the 1st call it would not unpause.

If I pause a regular call it works flawlessly.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
no u dont need it , u can either flash korean pie or eu pie it will work with both
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE OF LINEAGEOS

https://www.androidfilehost.com/?fid=6006931924117893995

NEW

Fixed AOD

included the correct version of the dac panel

Return of AutoBrightness

4K UHD Video recoring on Gcam and others

NEW RELEASE OF TWRP

https://www.androidfilehost.com/?fid=6006931924117893997

NEW

This TWRP can successfully boot into LineageOS build 06.12.19
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE OF LINEAGEOS

https://www.androidfilehost.com/?fid=6006931924117894120

NEW

offscreen gestures [settings --> system --> gestures --> screen_gestures(or something like this)]

june securetypatch

TWRP

There is currently no working twrp for this build u have to flash boot_13062019 after using twrp

https://www.androidfilehost.com/?fid=6006931924117894122 [boot_13062019.img]

if u really need twrp edit build.prop and change securety patch to 2019-05-05 and boot_twrp12062019 should work for u then
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Sir how can I reboot into bootloader? I powered off and tried to boot into fastboot with holding volume up and it brought me to download mode. Any help pls
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Erpinoob:
Volume down instead of up

Inviato dal mio LM-G710 utilizzando Tapatalk
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
Hi,

for me, location is not working at all. Not via GPS, cellular or even wifi. Multiple apps, permissions for location checked on. Latest build from today (lineage-16.0-20190613-UNOFFICIAL-judyln)

edit: hmm... another restart suddelny helped and fixed this issue. OK sorry.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Only charging but still no fastboot. I've flashed back oreo.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Erpinoob:
Have you tried multiple times? Sometimes I find it really tricky because I'm already pressing volume down in order to force reboot.

When already connected to your PC, hold vol - and power button in order to force the reboot, and as soon as the screen goes off press only vol -. It should work in this way.

Inviato dal mio LM-G710 utilizzando Tapatalk
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Michiel0912:
Unplug your USB cable, turn your phone off and wait 15 seconds. Hold volume down (-) and keep it down while you insert the cable.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Em what I confirmed is after laf killed, volume up will definitely bring the phone into fastboot.

---------- Post added at 03:48 PM ---------- Previous post was at 03:47 PM ----------

Doesn't work for me but I solved the problem with another way. Thank you kindly.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
your phone is G710EM ? i heard about fastboot not working on unoffcial unlocked devices aka non G710EM

also

NOTE

FMRadio is now fixed , will upload a new build later
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
It is G710AWM and yes unofficial unlocked. Anyway I finally got the 6th update and do you feel a little laggy while swiping and app switching? It didn't happen before.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
well feels fine to me
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Well maybe it's temporary... And another problem, I lost almost all the sensors after a reboot such as auto-rotate auto-brightness proximity and so on. Is there anyway to recover?

Edit: Solved. I still don't know why it happened but reflashing boot.img can bring them back.

Edit2: I found sth strange. When I lost the sensors everything smooth, but when they back, lag back.

Edit3: Well everything OK except double-tap-to-wake...
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
What steps ned to be done to upgrade to new lineage Version when an earlier Version (may) from this rom already installed? Just reboot into recovery and flash zip of new rom plus gapps?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Erpinoob:
Use steps illustrated by J0SH1X at post #80, but instead of "use whatever TWRP in this thread" use only the latest, before (flash it in bootloader) flashing LOS and before flashing GApps/Magisk

Inviato dal mio LM-G710 utilizzando Tapatalk
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
what camera do you use with this rom?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE

https://www.androidfilehost.com/?fid=6006931924117895891

NEW

FMRadio works now
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kadiix:
Hi, just to be sure.

When the device is on EU pie, the step are:

- unlock bootloader

- flash the last boot_twrp file

> fastboot flash boot_a boot_twrp.img & fastboot flash boot_b boot_twrp.img

- erase all of the data with twrp (type yes)

- flash lineage os, gapps and magisk

- Reboot

And that's all or I forget something?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] yutouyes:
Hello, may I ask a question that I found after booted, lineage os will take a longer time than stock LG OS to mount the sdcard(formatted as FAT32). What causes that? Thank you very much.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Erpinoob:
After flashing LOS you have to reboot to bootloader and flash TWRP again, boot into TWRP, and flash GApps. If the version you're flashing doesn't support TWRP (like last version) you have to flash boot.img in fastboot again (you can patch it with Magisk Manager if you want root), while if it supports recovery you can simply flash Magisk just after GApps and then reboot to system.

Inviato dal mio LM-G710 utilizzando Tapatalk
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
1) for me, I had to reboot recovery to install gapps

2) after everything is done, as I understand and did as well, you have to flash original boot img, not boot_twrp, then reboot. After that, I patched the original boot img with magisk and reflashed it again to get root.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kadiix:
Thank you for your answer.

But to install magisk on the original boot.img I need to install Apk and patch?

And the boot.img that I need to download is the lasted on date? I mean from June?

---------- Post added at 03:42 PM ---------- Previous post was at 03:40 PM ----------

I don't exactly understand when I flash original boot.img I keep twrp?

It not how I can flash gapps?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
That is the way I did it, yes. With magisk manager, you will be able to patch boot img, so after flashing it again via fastboot, you will be rooted.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kadiix:
So I need to type > fastboot flash boot magisk.zip/img?

Or boot_a and boot_b
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kadiix:
Hi, i have a problem, when i install lineage os with twrp and everything done. I supposed to reboot to bootloader to reflash twrp. But when i do that the phone reboot to lg rom and said "decrypt unsuccessfull", so i reboot to recovery to installl gapps and i get the error code 70 (stock rom gapps currently installed)

what i need to do ?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ricardo99831390:
Is this rom available just for the unlockable model? or does it work for the EAW if unlocked with the unofficial xda guide?? Does someone with this version tried this rom??
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE

https://www.androidfilehost.com/?fid=6006931924117897161

NEW

QuadDacPanel: Now fully operational , every feature works

BOOT

https://www.androidfilehost.com/?fid=6006931924117897165

TWRP

THIS IS IMPORTANT: This is a new TWRP that "SHOULD" work on any build that has June securetypatch or newer , at least it will work for any build with june securety patch (at least till 05.07.2019)

You can keep this twrp with LineageOS together

https://www.androidfilehost.com/?fid=6006931924117897156
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
Did you wipe your data partition before flashing ROM?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] dbolivar:
[MENTION=5646556]J0SH1X[/MENTION], does your LOS build support encryption for /data, be it FDE or FBE? Since we have to format /data from TWRP to install it, I guess that FDE is out of the question, but perhaps FBE? I'd like to test this ROM, but can't leave /data unencrypted (too many phone thefts around here...).
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
well it does , but i have to reenable it , by editing fstab or replacing it with the stock one after installing the rom , its located in /vendor/etc/fstab.judyln

so basicly follow all steps of the installtion guide but in the end replace fstab with stock one and boot , ur /data partition should reencrypt itself on first boot then
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
When trying to flash twrp with "fastboot flash recovery boot_twrp.img" I get:

Sending 'recovery' (65536 KB) OKAY [ 1.669s]

Writing 'recovery' FAILED (remote: 'Cannot flash this partition in unlocked state')

fastboot: error: Command failed

I am already on LineageOs (may), bu don't know any longer what I did to get twrp flashed. Could it be that I have to use "fastboot --set-active=a flash boot_a boot_twrp.img"

Stock pie was the korean version. Any ideas?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
G7 has no recovery partition flash it to boot
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
Execute

fastboot flash boot_a boot_twrp-june.img

fastboot flash boot_b boot_twrp-june.img

and same with boot_16062019.img?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
Read release notes twrp June can be kept along with lineageos
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
OK I understand that only twrp image needs to be flashed. But is

fastboot flash boot_a boot_twrp-june.img

fastboot flash boot_b boot_twrp-june.img

correct? or just

fastboot flash boot boot_twrp-june.img
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
g7​

Both commands will do it, if you only write flash boot it will pick the slot you're using automatically
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
NEW RELEASE

https://www.androidfilehost.com/?fid=6006931924117898349

NEW

Thinq Button works now , its remappable in settings --> system --> buttons --> search button

NOTE

Longpress doesnt work yet

Doublepress doesnt work yet

The options the remap offers arent pretty usefull in my opinion

BOOT

No new boot needed

TWRP

boot_twrp-june.img will work on this build as i stated it will work on any june build
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
I think I dont understand it fully either. If I flash twrp-june, after reboot the recovery is not present. Secondly, are we now supposed to patch twrp-june with magisk to get root? Until now I always patched the standard boot img. It is kinda confusing, so thank you for clearing that up.

Anyway, I wanted to thank you for this ROM, I am finally enjoying this device.

EDIT: I am unable to switch to high accuracy GPS mode now (latest build from today). "Device only" or "Disabled". The switch shows, but changing it does nothing and it goes to "Device only".
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
Check your settings it works on my side
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
yup

settings > security and location > location

here, on the top are two sliders.

If I check the first (location) to ON, then it should be possible to check the second as well (saving mode).

When I do turn the second ON (which uses only wifi, cellular), location turns off completelly.

I will try to reflash later ;)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
OK Google voice assistant

Is the voice Assistent working on your Phones? I cannot activate it, it says language not supported (German). If it is working on your Phones, what has to be done to fix it? (googled a while but none of the mentioned solutions worked for me)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
​

I noticed this aswell even tho I'm prompted to setup om Google on setup of phone
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] madben2000:
At least it is working with pressing the special LG Button (with saying ok google it is not working). What I had to do is:

Go into default apps and set assistant to google assistant.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] dev_core:
Cant boot. Stuck at lineage logo. led indicator not light, but bootloop. all was by instruction. LG 710EM. What i do wrong?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] onlime1:
Hey guys so I'm planning to buy an LG G7 (European Version) and have some questions.

Could this ROM working fine without flashing Gapps? (I don't want GMS to kill my battery/ram/etc. :p )

If I use stock OTA to Update to Pie, do I need to update it again with other complicated way?

Can I use DAC with Viper4Android on this ROM? (Viper samples 48kHz but QuadDAC can handle 384kHz so I just want Viper as an basic equalizer not as main sampler)

Is there any way to turn everything back to stock? (like RUU thing on HTC Devices)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ShadoV90:
Viper will set sample rate to 48k and you can't do anything.

QuadDAC can handle 384kHz, but only in few scenarios. Only Direct_pcm (which can be turned on via UAPP or "HiFi" files) and DoP (DSD over PCM), but DoP handles 176400Hz and 352800Hz and 32 bit.

Most of scenarios you are able to get up to 192kHz.

Viper will route any direct or offload stream into deep buffer mixer. Deep buffer handles 16 bit and only 48kHz samplerate (unless you will change it in 2 or 3 files).

Oh and one and the most important thing. Stock Pie ROM have troubles with loading magisk modules. I mean it's working fine, but every audio file is loaded as stock. You must kill audioserver (every reboot) to reload it and it will work.

Back to stock? No problemo. LG up + proper KDZ file and you are stock.

Here is tutorial.

https://xdaforums.com/lg-g7-thinq/development/rom-how-to-install-pie-stock-treble-aosp-t3914079
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] onlime1:
Thanks for the answer dude :good: .

About that stock Pie question I meant the first step of installation of this ROM. I don't want to use LG's bloatware even with Magisk debloater module :p (Thank you LG for destroying my G4's memory with bunch of LG crap that I don't need)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
So , i am sry my G7 got bricked today and i cant affort to pay to fix it , so i will move on to another phone i have here , means till i maybe fix my phone there wont be any update to lineageos or so , if you want to build it yourself checkout my github for sources github.com/j0sh1x
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] J0SH1X:
Fixed the phone today , expect stuff ...

... soon
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] anelcolo:
I can't complete step 5. I can enter fastboot, but my Win10 will say that the device is not recognized.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] QQboss:
you got me hanging there man... :D

that is great news btw, gj

---------- Post added at 07:37 AM ---------- Previous post was at 07:35 AM ----------

seems like driver issue man
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ricardo99831390:
Sorry for asking again but has someone installed this on the EAW model??. I want to know if it works

That would make me to unlock the bootloader
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] coolrevi:
:confused: I believe only European EM variants bootloader can be unlocked. Unless they have found a way to unlock other models
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] pedro1977:
No it won't work.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ricardo99831390:
There is a way to unlock the bootloader. An unofficial way

---------- Post added at 02:14 PM ---------- Previous post was at 02:14 PM ----------

Why is that
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] pedro1977:
Because LG haven't enabled the unlocking of the bootloader, be careful with unofficial methods.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] bongster:
Hi guys,

I have a Verizon device with unofficial bootloader unlock. After flashing Pie my phone went into fastboot loop. With the help of an octoplus user I was able to recover the download mode and flashed EU pie.

After that my fastboot mode is gone. Any suggestions how to bring it back?

I know this Is not really a los problem, but maybe someone had the same issue.

Now to my los question in case I'm able to get fastboot back. The octoplus guy told me that my problem was caused due to that the v35 bootloader (for unofficial unlock) does not work with pie.

First step in the OP is to install pie, which is no problem with a official unlock.

How to install on a unofficial unlocked phone?

Many thanks!

B
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] pedro1977:
I would assume you would have to flash stock again for your model if it's available. Maybe you could pull the fastboot image file out and ADB it on its own, otherwise I presume you would lose pie if you reflashed stock.