yashsingh1/xdaforums huggingface dataset:
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] moatef:
I didn't flash roms since 5 years for my previous phones , so i have forget what should i do specially i wasn't expert before

Can i find all steps to flash this rom

Step by step detailed ?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Ngokimloc2k4:
In this version, which twrp/recovery did you use? Can you upload it up here?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] vintotale:
You mean that you used QFIL to flash the attached DRM.bin (or your own Android 12 backup) and overwrote the Lineage OS drm partition?

My fingerprint always works with the stock OS from 9 to 12, without any "repairs"; but stops working properly with Lineage OS. I tried to flash the attached DRM partition overwriting the LOS DRM partition, and turning AOD on. It still does not work.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
I repaired the original LG Drm file, the one that does not work with the bootloader unlocked, that is the one that is repaired

The file I attach is the one I repaired for my device but it didn't work for my friend, perhaps because the phone was a v50s. Someone else should try to see if the file I uploaded works, first clear your fingerprints and then go to qfil, save a copy of your Drm file and then update the one I uploaded. Maybe it will work for you, if not, try the method to fix fingerprint with original Drm on Android 9.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] AdamGGU:
Well I tried your drm file and still have the same issues. Maybe I'll try to do the whole process on stock android once my internet connection is better. So it's not because the device using the drm. Could be lac of proper calibration or LOS bugs
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
Well then all that remains is for everyone to repair their stock Drm file, good luck.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Have you ever changed your display? When you changed it, did the FP continue to work? If not, it is a hardware problem. (My problem is the same as yours, but the point is that not even in Stock ROM, FP doesn't work).
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] xpedro:
i got it refurbished. so i don't know if the display has been changed. anyways, the fp sensor worked when i was on stock rom.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
Someone try this, it is the DRM file that I currently have on my cell phone with lineageOs and the fingerprint works for me, maybe this will help.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
What is your region in stock rom?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
it's the g850UM

Canadian
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Thank you, it has a great chance of working for me.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
I hope it works for you
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
In this latest update 23/04 I have noticed that my cell phone gets a little hot, touching 35-37 degrees C° without the cell phone making more effort.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Do a clean installation, go back to the original system and then start all over again, the instabilities practically disappeared, it stopped heating up, and my device became more stable and powerful.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
After applying the .bin file to the "drm" partition, I could no longer unlock my G8X, so I was forced to go back to the original system. I don't know if this happened to everyone, but the method of downgrading to Android 9 and doing the FP test and registering didn't work on my G8X, but interestingly, it worked this time. It's just a theory, but I think wiping or replacing the "drm" partition might solve the problem of I couldn't fix FP on Android 9 (Although I'm not sure about that). In any case, don't be so stupid as to forget to make a backup like I did (Although this was beneficial for me).
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
So I imagine that it is never possible to use a fixed Drm.bin file for the different models since each sensor would have to be calibrated differently.

Of course, you always have to make backup copies. But do fingerprints work for you now in lineageOs?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Yes, worked.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] vintotale:
In my case, the drm file you provided (from a canadian G850UM) and the last one that was offered gave similar results on my canadian G850UM on LOS20: registering new fingerprints is very hard, but already registered fingerprints more or less work when AOD is active and without a screen protector. To summarise, in my case flashing those DRM files provided here worked to some extent. The finger recognition was far better with the stock ROM, though.

Thank you for uploading these DRM files. 😊
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] shoo2668:
dual screen work this rom?

thank you.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Sabab21:
Is this rom support voLTE?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] xpedro:
do you use any screen protector?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
No, I don't use any
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
Does anyone know how to fix the GPS, only the United States location appears, and I don't live there and I can't put another location. since I can't send my location or use applications like Google Maps
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
It's working perfectly here...
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
Thanks, rebooted and it worked again, Maybe it was some bug
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] The.Night.King:
No.

No.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] MARKFNZ:
I'm having an issue with the fingerprint messing with my screen colours/contrast/brightness.

I downgraded to factory Android 9, recalibrated the FP reader and then installed Lineage 20, successfully adding 2 FPs. Unlocking the phone and apps which use FP work well.

The problem I have is that if I unlock with FP and the screen is at anything less than 80-100% brightness, the images on the screen, especially photos, have a strange contract is best described as mid tones being dark, and perhaps a bit of a green tint.

If I unlock and the screen brightness is high 80-100% then mid tones look fine. It's most notable at night when auto-brightness has dimmed my screen.

If I unlock using a pattern, then everything is normal.

I noticed the FP reader does go bright green when reading, so it's almost like the burst to full brightness or green to do a FP read throws off the underlying UI screen calibration.

The screen remains in the weird state until I lock the screen and unlock with pattern.

I'm running the latest Lineage 20, 20240430, on a LG V50S LM-V510N

Any ideas?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
That rarely happens to me, maybe once a week at most But randomly, I always keep the brightness between 50-70.

The temporary solution, I just turn the screen off and on again, and it goes away, Although I don't know what this is due toHopefully there will be a solution in the future.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
I solved this by changing the region of the stock rom in version A12, my cell phone is originally AT&T (AAG3OP), but I changed the region to OP CAN (Canada) through cross flash. I don't know how it's related, but this fixed it.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] MARKFNZ:
Wow that's bizarre. I don't think it will help much with mine as I'm running Lineage, but something to think about and maybe provide a clue for the developers. Mine is Korean phone and I wasn't able to cross flash to an open stock ROM when I tried.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
As bizarre as this may sound, doing this even resolved bugs with instability, battery life and even processing power.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Minshitbro:
I also encountered this error on the LG V50s, but installing the cross firmware from the G8x EU region resolved this error, it seems that the LG V50s Korean rom has some modifications. But when cross-installing the G8x EU rom, 5G could not be used and the original V50s Korean rom had to be reinstalled. I think this issue could be resolved if developers find the root cause. I will go back to using the original ROM instead of continuing to use the LOS ROM.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] chungnguyenbg:
Can work with 901LG (Japanese Version) ?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] markhobber:
This worked for me for my Canadian LG G8X (with 40c firmware) after I had already setup LineageOS 20. Thank you!
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] pulkit.kumar:
Why is everyone building a LineageOS ROM? Can we not have a stripped down version of LG Stock ROM with necessary tweaks?

LG did release kernel sources, right?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] tschunneman:
This is amazing news, I just found out.

I have the wonderful LM-G850UM unlocked from AT&T.

Currently running Andr9 coz FP but I really think this old phone of mine could use an update.

Thank you very much for this...!!!
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Dehja123:
I warn you that here in the forum they have uploaded unofficial lineageOs 21, in case anyone wants to try it

https://xdaforums.com/t/rom-unofficial-14-lineageos-21-0-for-lg-g8x-v50s-mh2lm.4673839/
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lgv60user:
When will the lineageos ROM be available for LG V60?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Minshitbro:
The LG V60 has an unofficial LineageOS 20 Android 13 version from another developer, they are still updating and uploading it recently.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
I do wonder why they hijacked my thread to begin with though, unless they wanna give me a V60 for free so I can do it :p

Kind of rude of them
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lfos51:
Hey! I need some help! I installed lineageos 20 on my LG V50s and now I need to change the NT Code to use the sim card from my country (Brazil). I can't find any folder or file that contains the information...
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Is your device the LM-G850EMW?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lfos51:
My device was an LG V50s (V510N) and after installing the lineageos 20 it became an LG LM-G850N.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Did you install it following the guide on the LineageOS website?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lfos51:
Yes! My problem is changing the NT Code, do you know how I can change it?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
In this post A way to modify the NT Code is mentioned. In fact, several different methods, I particularly used HEX modifying the FTM partition.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ned14:
Hi,

I'm trying to build this from source using the official guide at https://wiki.lineageos.org/devices/mh2lm/build/variant3/. I extracted the binary blobs from the stock lineageos 20 release using https://wiki.lineageos.org/extracting_blobs_from_zips. I get as far as lunch:

FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:1369:24: unrecognized property "fuzz_config.triage_assignee"
15:20:38 soong bootstrap failed with: exit status 1

#### failed to build some targets (3 seconds) ####

So I remove the entire "fuzz_config" section from that Makefile, as it surely isn't needed. I then get:

FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" -o out/soong/build.ni
nja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:433:1: "libupdate_engine_boot_control_proto-full" depends on undefined module "libsnapshot_static"
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:433:1: "libupdate_engine_boot_control_proto-full" depends on undefined module "android.hardware.boot-V1-ndk"
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:433:1: "libupdate_engine_boot_control_proto-full" depends on undefined module "libboot_control_client"
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:424:1: "libupdate_engine_boot_control" depends on undefined module "libsnapshot_static"
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:424:1: "libupdate_engine_boot_control" depends on undefined module "android.hardware.boot-V1-ndk"
error: device/lge/mh2lm/system-dump/android/system/update_engine/Android.bp:424:1: "libupdate_engine_boot_control" depends on undefined module "libboot_control_client"
15:23:03 soong bootstrap failed with: exit status 1

#### failed to build some targets (11 seconds) ####

I am thinking I must be missing something now, so I ask for advice here.

I am building on Ubuntu 24.04.

Thanks,

Niall
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Sameer_008:
Can anyone have drm l3 file for lg g8x thinq?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] sharan singh:
Does dual screen work on this? Also does volte work?

What are the known bugs?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Skull_Reaper:
I'm looking to flash a cutom rom on my g8x and just came across this thread. Lineage is is the only one I could find that officially supports my device.

One area of concern for me is volte and voip calling. The "IMS" is listed as a known quirk and from what I understand, it means that volte and voip won't work at all. It's this still a thing? Have you found any fix?

Also, what about the fingerprint reader? A lot of places listed an issue with the fingerprint reader on this phone with custom roms.

I'm new to this stuff,so another question, will apps like Google pay still work even on the custom rom?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] ThePhanton:
Does not work.

Yes, it works, but you need to fix fingerprint on Android 9. Just follow these steps.

Yes, they work, but you will need to correct the Play Integrity status, as Safety Net has been discontinued, so it needs to be fixed manually.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Skull_Reaper:
Cool,thanks a lot!
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Sabab21:
My device is lg g8x sprint and I am using lineage os 19.0 . My question is if I flash this rom using twrp will it work?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Vansh678:
I have been using this ROM for the past 2 days, and it is working flawlessly (apart from the dual SIM issue, which is being worked on by @lifehackerhansol). To get a clean installation, I did the following (assuming you have unlocked your bootloader):

1. Backup everything as even the internal storage will be cleared completely.

2. Get the fingerprint working through the guides posted on XDA (https://xdaforums.com/t/new-way-to-...f-an-unlocked-device-lg-g8x-and-v50s.4568061/)

3. Flash Android 12 Stock using LGUP (after making the FP work). Go through the Android setup once and ensure FP works.

4. Put the phone in Qualcomm HS9008 mode. (connect USB>Press vol.down+Power>start spamming vol.up as soon as the screen goes blank)

5. Load boot.img (from lineage website) onto the boot_a and boot_b partitions using QFIL. Quit QFIL once done.

6. Press vol. down and power button. start spamming power button once the LG logo appears. (dont leave vol. down)

7. Keep doing yes till the lineage recovery appears.

8. Format data using the recovery. (no need to reboot reocvery afaik)

9. go to apply update > adb sideload

10. flash the lineage zip using adb command "adb sideload lineage.zip"

11. after flashing, the recovery will ask you to reboot recovery. choose yes.

12. after reboot recovery, choose apply update, and flash gapps using adb sideload "gapps".zip (you need to edit "gapps" with the exact file name)

13. *this step is not as per instructions but it is what i did* : instead of directly reboot to system after flashing gapps, i went into the hs9008 mode once more to replace the vbmeta and dtbo.img partitions (both a and b) with the ones provided on the lineage builds page. (use qfil same as before)

14. reboot to system

15. everything along with fp works flawlessly. (no volte and dual sim though).

All in all it is a clean ROM. Great battery life and smoothness for me.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Vansh678:
Fingerprint will probably break. Also, LG download mode was replaced with fastboot when I tried flashing using twrp or any other method. Once lineage recovery is flashed, there is no option to switch slots, so no more twrp either. I had to individually flash all the a and b partitions using qfil to fix download mode and flash back to stock using lg up.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
Something to note is, while not a recommended practice, you can daily drive the G8X engineering ABL on devices that don't have a fastboot. I have been doing it for a while now, works quite well.

Do whatever you want with that information. I use my G8X that way so fastboot is accessible, but I've also been told that daily driving that bootloader isn't really a good idea.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
TWRP is not supported. Use root + dd or fastboot to flash the boot.img to both boot_a/b partitions as instructed in the wiki.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] fshmo21:
I unlocked bootloader and tried flashing boot via fastboot/ QFIL but it won't bring up the LOS recovery, just the stock one. Followed the wiki every step so far
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Alecsto:
Screenshots pls
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Vansh678:
Don't let system boot up even for a second. Go to recovery directly from hs9008 mode using power buttons. Press vol.down and power button together till the g8x logo shows up. Once the logo shows up, keep pressing vol.down and start spamming power button till you get the Format data screen. Keep doing yes and you should boot into lineage recovery.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] HalfAwesome:
I'm trying to go back to stock and noticed that the LG download mode was replaced with fastboot like you said. What partitions did you flash in qfil to fix download mode? Did you already have backups on hand to flash with?

I flashed my backups of the abl, laf and boot partitions but I'm still having problems.

EDIT: Also I've tried installing TWRP and Orangefox but both of them can't seem to mount the data partition or even format it. Not sure how to proceed...
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Vansh678:
If your ROM was installed on slot B, I would suggest you read data from all partitions on slot A (all including system, vendor, product, abl, boot, etc.) and load it into the respective B partitions. Its a time consuming process. I tried flashing just some particular partitions but that didn't work, so now I just replace all of them and that works everytime.

In case you have the LMG850EMW model and the data from your slot A doesn't work, I can share my backup with you.

Let me know.

After doing all of this, I'd recommend not letting it boot system and going directly to download mode to flash any stock rom using lgup.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
Note that the "copy-partitions" zip in the wiki page is supposed to do exactly that.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] Vansh678:
I haven't tried that zip. But wouldn't that copy B partitions to A? Or is there an option to choose?
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
It copies your current slot to the other slot. If you're currently on A, it copies to B, vice-versa.

... and this is why you read the wiki instructions, at least for installing. Bootloader unlock I can't help much with.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] HalfAwesome:
Awesome, just want to say thanks for working on this bringing this device back from the dead. Your LineageOS 20 build is rock solid and smooth 👍. I would totally run this as it solved an issue I was having getting my external USB IR touch frame to work properly. The problem is I'm using this output to a vertical/portrait mounted display and apparently the following commands that I used to rotate the HDMI output no longer work past Android 10:

That said, do you know why TWRP and/or Orangefox wouldn't be able to mount the data partition after installing this rom? At first I thought it was related to encryption, but I can't format or modify the filesystem either.

And what would be the recommended or most efficient way to restore LG download mode? I thought restoring the laf partitions (along with the boot and abl) would've brought that back.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] lifehackerhansol:
Breaking change between stock firmware and our ROM. The other LG devs and I decided to commonize the filesystem table (fstab), which required renaming the fstab to something any existing recovery won't recognize. I have no plans to fix the existing recoveries out there, so either just use LOS recovery or have fun fixing TWRP.

Restoring ABL/XBL/LAF should be enough...? As long as those 3 are from the exact same stock version, and they are flashed to both slots, it should boot. I tested this with my own device, I was switching back and forth between stock ABL and engineering ABL.

Why do you need LAF though? Just for the record...

I think those are LG-specific properties(?). I'll take a look, but no guarantees.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] HalfAwesome:
Thanks for the explanation! TWRP was just a means to an end (flashing roms via img files) -- it seemed that with LOS I could only use ADB to sideload with .zip files?

Very high probability of user-error here so I'll try again. LAF was just so I could use LGUP to restore the stock Android 10 rom.

Much appreciated and thanks! They're not LG-specific as I found those properties elsewhere while searching (being used on other devices). On further searching it seemed that Android 10 was the last version this method actually worked and I couldn't find anyone who worked out an alternative.
[LG G8X ThinQ ROMs, Kernels, Recoveries, & Other De] HalfAwesome:
Looks like I needed to restore vbmeta and dtbo as well, but I got back in 👍. Guess that's what I get for doing stuff outside of the official instructions lol...

You've given me hope getting my setup working the way I need it though! This is the first rom that actually solved the issue with my external IR touch frame. I initially didn't think it was a driver issue since it seemed that the touch events were being received just fine and would even respond if swiped from the edge... but maybe it is? Any clue as to what could've fixed it in your build of LOS?