yashsingh1/xdaforums huggingface dataset:
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] warrenwjk:
Why is my mic not working during call, through voice recorder works fine ... I downloaded a mic test app, and when I select direct sound mode, the mic is working. When I select communication mode, there is no sound at all.

by looking at logcat, I can see some related output

D/audio_hw_primary: start_input_stream: enter: stream(0xe64a5a00)usecase(23: audio-record)

D/audio_hw_primary: select_devices for use case (audio-record)

D/audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(481: voip-speaker-mic)

D/audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0

E/audio_hw_primary: enable_snd_device: enter 481

D/audio_hw_primary: enable_snd_device: snd_device(481: voip-speaker-mic)

D/audio_hw_primary: enable_audio_route: apply mixer and update path: audio-record

D/audio_hw_primary: select_devices: done

E/audio_hw_primary: start_input_stream: pcm_prepare returned -1

D/audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record

D/audio_hw_primary: disable_snd_device: enter 481

D/audio_hw_primary: disable_snd_device: snd_device(481: voip-speaker-mic)

D/audio_hw_primary: start_input_stream: exit: status(-1)

D/audio_hw_primary: in_standby: enter: stream (0xe64a5a00) usecase(23: audio-record)

using logcat -b kernel to show kernel messages:

09-12 19:06:40.977 0 0 E msm-pcm-dsp soc: qcom,msm-pcm: ASoC: platform prepare error: -22

09-12 19:06:40.977 0 0 E SDM845 Media1: ASoC: prepare FE SDM845 Media1 failed

09-12 19:06:40.994 0 0 I tfa98xx_tfa_exception_put(): tfa98xx_tfa_exception_put(): tfa_exception (0)

09-12 19:06:41.093 0 0 E : send_afe_cal_type cal_block not found!!

09-12 19:06:41.113 0 0 E q6asm_send_cal: cal_block is stale

09-12 19:06:41.139 0 0 E adm_callback: cmd = 0x10356 returned error = 0x1

09-12 19:06:41.139 0 0 E adm_open: DSP returned error[ADSP_EFAILED]

09-12 19:06:41.139 0 0 E msm_pcm_routing_reg_phy_stream: adm open failed copp_idx:-131

09-12 19:06:41.139 0 0 E msm_pcm_routing_reg_phy_stream_v2: failed to reg phy stream

09-12 19:06:41.139 0 0 E msm_pcm_capture_prepare: stream reg failed ret:-22

09-12 19:06:41.139 0 0 E msm-pcm-dsp soc: qcom,msm-pcm: ASoC: platform prepare error: -22

09-12 19:06:41.139 0 0 E SDM845 Media1: ASoC: prepare FE SDM845 Media1 failed

09-12 19:06:41.157 0 0 I tfa98xx_tfa_exception_put(): tfa98xx_tfa_exception_put(): tfa_exception (0)

09-12 19:06:41.247 0 0 E : send_afe_cal_type cal_block not found!!

09-12 19:06:41.268 0 0 E q6asm_send_cal: cal_block is stale

Hope someone can provide any hints. I have spent a few days debugging this issue.... I think this might be a chance to learn how to build lineage os from source, and change every "AUDIO_SOURCE_VOICE_COMMUNICATION" to "AUDIO_SOURCE_MIC". This rom is so close to perfect !
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] DanCS1995:
were you in the required stock firmware for your device model before flash this rom?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] warrenwjk:
I forgot that !! I've forgotten the original stock rom now, my previous rom in Evolution X...

I just see related discussion in PixelExperience & PixelExperience Plus threads, I'm going to try that out.

I should have searched the forum before doing anything... 😭
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] warrenwjk:
if browser and camera keep crashing (after a fresh install), try reset (remove cache & data) gms service (google play service). by watching logcat, gms crashes when some fonts failed to download. https://github.com/bromite/bromite/issues/2156 (possibly related).
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] -弓私:
20d wrok well too,but it's not good on game.have any good kernels?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Oliver-James:
Hi everyone :-)

I have a LG710EM from TIM on V30c, last security patch 01.12.2020

I had LineageOS on tablets before and love the fact, that phones/tablets, which don't get any support from the vendor, can still be updated and that's why I'm here.

I have a few questions to not get into trouble applying all the information provided in this thread.

Q1:

I guess I have to take the following steps:

1. Update to V30h with LGUP

2. Unlock the bootloader with the "unofficial method"

3. follow the steps from "CLEAN FLASH : (If on A11/A12/A12L based rom other than Lineage 19.1)" with the fastboot/ORANGEFOX tips above that section

Is this correct?

Q2:

This phone is my "daily use" (and currently only) phone. I have a concern about the safety net (-A12) or integrity (A13), because I use Google Pay and other applications, which may rely on this check.

From what I understand, the problem is the unlocked bootloader. I saw a Magisk thread, but this requires to be rooted also and I don't know, if this works with the G7 ThinQ the same way.

Is it possible to use the LineageOS rom with the LG G7 ThinQ and still use all these apps like Google Pay, and if, how can this be done?

Q3 / Last one:

Would you propose to use already LineageOS 20 (A13) or use LOS 19 for stability reasons? If you propose LOS 20, is there a recommendation on GAPPS? (The recommendation for LOS 19 was mentioned in the thread.)

Best Regards, thanks for all the great work, greetings from Germany and looking forward to your answers,

Oliver
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] RicardoJCMarques:
Does anyone know if the external monitor output is working with these ROMs? Using an hdmi adapter or hub.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] __sterby__:
One (maybe stupid question)...

I'd like to try the new Los20 on my phone, currently running Los17. Can I just flash this in LOS recovery without losing user data and stuff? And if not, could someone help me to understand why? 😊

Thank you 🙂
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Barrytoo:
If you're running v17, and you've met all the requirements for v20, then you can flash in recovery with no data loss.

Alternatively, you can flash OTA just by checking for system updates in the settings.

I hope this helped.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] __sterby__:
Sooo, of course it didn't work as expected. From a LineageOS ROM (with no previous LG Firmware 30XX) orangefox didn't boot. Then I flashed with TWRP and of course destroyed everything :D

Now I flashed the required firmware with LGUP and then LineageOS 20 as described here. Somehow asking for permission dialoges didn't popup and apps didn't ask for permissions, so I couldn't install anything. Flashed Fdroid from orangefox, but it didn't ask for internet access, so I couldn't install from there either.

Next, I did the clean install path again with the LineageOS 19.1 version. Now I have the "no call" issue mentioned above. So apparently, I need to clean flash directly from the respective LG ROM (which is mentioned in the instructions, I guess :D).

So I guess I go back to the LG ROM EM30F and try again with clean install from there. Or any other thoughts on that?

Otherwise, amazing work! Everything else works really well so far!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] __sterby__:
This time I followed all the steps in proper detail. And now everything works perfectly with LOS19.1 🥳

Will this ROM receive OTA updates over time? I'm planning to use this as my daily driver :cowboy:

Great work!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] VenturaTime01:
This looks great but the links aren't working for me. :(
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Lieta:
LineageOS 19.1 with MindTheGapps-12.1.0 works, LineageOS 20.0 with MindTheGapps-13.0.0 doesn't - goes into reboot cycle.

EDIT: tried a clean flash one more time and LineageOS 20.0 with MindTheGapps-13.0.0 works.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Lieta:
There is no voice in both directions when calling.

EDIT: fixed by flashing 30F ROM firmware and reflashing LineageOS 20.0.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] __sterby__:
I using the 19.1 Version of this ROM for around two months now as a daily driver and I'm wondering if I should upgrade to 20.

Has anyone experiences with the dirty flash path? Is v20 reasonably stable?

Thank you and merry XMas (or whatever you celebrete or not)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] haukurpj:
This is my first time setting up a custom ROM and I wanted to share my progress and seek some advice. I'm using an EM model.

After some troubles with USB (seems to be hardware related) I was able to setup Lineageos v20 with mindthegapps v13 and magisk v25+. It works very well and I'm using it as a daily driver (see more below).

Then I was able to bypass safetynet using the magisk modules; universal safetynet fix and hide props. Using the latter to set a verified fingerprint. After clearing the cache of play store and play services I was able to get Netflix and Google Pay working.

On that note my mobile banking app does not work, as it detects my device as rooted. I know for a fact that the mobile app uses this API to check for root: https://backstage.forgerock.com/doc...-device-info.html#android-jailbreak-detection.

I would like to get my mobile banking app working and I would like to start enforcing SELinux. More concretely:

1. Has anyone tried setting "setenforce 1" to enforce the SELinux policies? I'm very interested in getting them to work as this is my daily driver.

2. I would also like to see the logs being generated now of possible denies which could cause system issues before trying it myself.

3. Does anyone know what the API is checking? My guess is that the API the banking app uses tests whether SELinux policies are being enforced and fails when they are not. I would like to verify this by looking at the logs. (Back to question 2)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] haukurpj:
I was able to the banking app working by just adding it to the deny list in magisk (no enforcing).

I have not looked into the other questions.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Stefanob__:
Hi. I installed lineageos 20.0, I noticed that when I connect the phone to the TV (miracast) only audio works without video. Any solution?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] IJoxer:
I would just like to say that I was a late comer to this phone and its been a long time sine I've had a decent phone I could BL unlock, root, and tweak to my geek hearts content. The information on this particular foru, is so spread out and contradicting, it was a bit disheartening, but I eventually took my Verizpm G7 from the original stock fw

G710VM10f to LOS20 without a single issue, and I'd like to just relay the exact steps I took, just in case some one might find it helpful.

So, starting from 100% stock Verizon fw...

***CREATED BACKUPS***​

and then:

1. Unlocked Bootlader - I followed the steps exactly, skipping 15-23

2. Crossflashed to g710em30f - LGUP DUAL or any LG UP with Partition DL option is acceptable.

3. Added OrangeFox | LineageOS 20 | MindTheGapps to my SD Card.

4. Rebooted into EDL

5. Used QFIL to flash ofox_metadata.img to boot_a and boot_b

6. Rebooted into OF recovery and did a full format and typed 'YES'.

7. Flashed LineageOS .zip (DO NOT REBOOT)

8. Flashed OrangeFox-R11.0_2.3-Stable-judyln.zip (Reboots to recovery automatically)

9. Flashed MindTheGapps

10. Flashed Magisk (Using OrangeFox built-in method)

11. OrangeFox Menu --> Manage Partitions --> Select Data --> Change FS --> F2FS

12. Reboot

13. PROFIT!

NOTE: I included my rooted boot img file just in case anyone needs it (30G EM FW)

I had to install the Magisk Manager upon completion of setup, but everything else went flawlessly, my service works just fine, all the other weird little issues I've seen people having were absent in my particular experience. So, follow my steps and I would imagine the same would be allowed for others. If there is any questions on specifics, I'd be happy to answer them. Also, its been a while since I've been active here, but hope all is well with everyone and glad to be back.

Good luck, and thank you for the wonderful ROM and I apologize for the 'hijack'!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] belrik:
Is there a version for LG V40 / JudyPN on XDA? I can't see it.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] minions301:
First off, thank you @DanCS1995 so much for putting this together. After figuring out Orange Fox, it was super easy to flash LOS 19 and then upgrade to 20.

There is one thing I'm having issues with and wondering if it's a problem for anyone else, and especially if there's a known solution.

Wherever my phone switches from LTE to GSM, the signal cuts out and I either see the signal icon with an "E" next to it or with a "!" on it and I'm not able to connect to the internet. Turning airplane mode on for 10-ish seconds and then back off fixes it and I get LTE again, but this happens between every 5 minutes and every 30 minutes.

When I changed my SIM settings to use LTE only (not LTE/GSM/CDMA), (almost) everything works well. LTE stays on the whole time and I have great signal.

But of course, since VoLTE doesn't work, I can't make or receive calls with that setting. So I have to switch back to LTE/GSM/CDMA, and my connection problems return.

I'm currently using Mint Mobile which, in my area, piggybacks off T-Mobile.

Would appreciate any tips or even just confirmation that this is happening to someone else.

Thanks again!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] TheDGITA:
Would it be possible to install this ROM without having unlocked the bootloader in time for the LG shutdown?

I have the European model (LM-G710EM) with the latest LG firmware

T.T I didn't know about the deadline.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] EmanuelCN:
no, and you can unlock bootloader even after the deadline, the guide is on xda.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] TheDGITA:
It this the guide that I should follow for the LM-G710EM?

https://xdaforums.com/t/guide-guide...-lg-sdm845-except-g710tm-with-photos.4168771/
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
Hi @EmanuelCN . I've been trying to get a new build of lineage (and also DivestOS) built with your tree. I had to make some modifications and unfortunately it's bootlooping. I'll get my branches pushed, and would appreciate if you could provide some guidance.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
GitHub - sajattack/android_device_lge_sdm845-common at sajattack-lineage

You must use this display hal: https://github.com/EmanuelCN/hardware_qcom-caf_sdm845_display - GitHub - sajattack/android_device_lge_sdm845-common at sajattack-lineage

github.com

GitHub - sajattack/android_device_lge_judyln at sajattack-lineage

Contribute to sajattack/android_device_lge_judyln development by creating an account on GitHub.

github.com

roomservice.xml

GitHub Gist: instantly share code, notes, and snippets.

gist.github.com
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
Works now.

lineage-20.0-20230926-UNOFFICIAL-judyln.zip

Nextcloud - a safe home for all your data

nextcloud.paulsajna.com

judyp and judypn available too (untested)

android

Nextcloud - a safe home for all your data

nextcloud.paulsajna.com
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] __sterby__:
Hey, thanks a lot! I'm currently running the 19.1 version from this thread and I want to upgrade to a more recent version 20. I have a few questions before upgrading :)

- Is the patch level of this version from the 26-09-2023? Nevermind, I saw its from the 2023-09-05

- Can I just upgrade without a clean flash?

Thanks again for your work!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
As far as I understand you need to clean flash when the signing key changes. And my signing key will be different from Dan's. But that's just what I've heard, not totally sure.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] juanantofb:
Thanks for your jobs, has ben flashed and work fine, only the warning messaje.

Thanks again.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] autemhelm:
Hey everyone, I've been following this guide to get LineageOS 20 onto my spare phone (an LG G7 Thinq EMW Variant). I haven't been successful thus far. I apologise in advance for any confusion, as that is my brain state right now!

I managed to unlock the bootloader with a bit of extra troubleshooting, so the 'Enable OEM Unlock' option is now greyed out in Dev Options in the stock ROM. Following the unlock it is running the V30f-AUS software version (I'm from NZ). I couldn't find an official build for EMW V30d, so I continued on the 'f' software.

I booted into the ofox-metadata.img file via fastboot. Inside ofox I then formatted the data successfully.

I then sideload the linked LineageOS ROM, which returns 'XFER 1.00x', indicating success.

Following that, I didn't reboot, and sideloaded the linked OrangeFox_R11_2.3 zip file. That completed successfully, so I rebooted.

Then I got the LG G7 Thinq/Android logo, followed by the LG logo animation. It then showed me 'Decryption Unsuccessful' with a paragraph underneath, on a white screen and a button saying 'Reset device'. When I tapped this, it took me through a boot loop back to Ofox.

So I repeated the process, same result. I figured this was due to the stock ROM encryption still being present. I then tried to flash the 'Disable DM Verity' zip after the OrangeFox_R11 zip. That didn't result in LineageOS either. I tried variants of this process; no Lineage.

Currently, whenever I try and reboot from Orangefox, it takes me straight to a fastboot menu, which stays in a boot loop. I can no longer reproduce the 'Decryption Unsuccessful' message. The only way to break this boot loop is to change the boot slot from '_a' to '_b' and then reboot VIA fastboot. This results in booting back into stock ROM, like a factory reset.

What can I try to get into LineageOS? Perhaps try a V30d firmware...?

If anyone is able to help, it would be much appreciated!

Thanks everyone!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] autemhelm:
Solved. I FOLLOWED THE INSTRUCTIONS and flashed an EMW V30d firmware. 5 minutes later I booted into LineageOS. If there are ny issues with the installation, I'lll post them in here! Thanks to all the developers involved!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] CHiBLaST:
Is there going to be new updates on this ROM?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
There's already a November update available under my "android" link. I also got the kernel updated to 4.9.337 tonight :D https://github.com/sajattack/android_kernel_lge_sdm845/tree/337-update
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] juanantofb:
Thank you

Where is you android link?

Thanks.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] weareallpuppets:
This rom kills your SD CARD. Two times happened here in the same day.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] weareallpuppets:
...and the LTE signal is very very poor compared to the stock one. Total garbage!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
android link is here. dec update is up with new kernel. The kernel sometimes has issues with the speaker. But certain apps work.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] weareallpuppets:
worst than the preious. a brand new sd card killed also with this new one. please stop doing this!
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] sajattack:
Bruh idk what's wrong with your cheap SD cards but I'm just making something for myself and sharing it with anyone who wants it. Take it or leave it and leave me alone. I don't owe you anything.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] weareallpuppets:
Yes dude, you are free to make your toys but now you know that it is sufficient a little spike in the voltages to fry the phone itself or the sd card. In my case It fried a 64Gb Sandisk and 2 nobrand 64gb. Actually testing with a nobrand 256gb and still running. I guess because some kind of microsd cards have a kinda voltage protection builtin. But I've never experienced these "issues" with the stock roms and kernels.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] skdenes:
will the desktop mode with touchpad works on this custom OS ?

thanks :)
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] CHiBLaST:
I dont know what happens but I m on Havoc OS as well and I feel like it tries to kill my SD CARD as well. I have to format it at random times in order to get it work.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] weareallpuppets:
I'm back to the stock room, debloated and unlocked by myself. not a problem anymore! Fast stable and battery friendly.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ronnz98:
II tried building with your source but got following error:

build/make/core/main.mk:1312: warning: device/lge/judyln/lineage_judyln.mk includes non-existent modules in PRODUCT_PACKAGES

Offending entries:

PicoTts

android.hardware.media.omx@1.0-service

build/make/core/main.mk:1312: error: Build failed.

17:01:15 ckati failed with: exit status 1
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] Juleast:
I think you just have to remove the offending lines or smtg?
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] ronnz98:
I looked in respective device files but could not locate these lines
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] boop123:
HI,

I successfully flashed the ulm firmware onto verizon g7 thinq, unlocked bootloader and I ran into this issue when trying to boot to ofox metadata

I've tried the fix.bat, using volume down to go to fastboot, and deleting download mode. What should I do? Windows does give me an error that the img is corrupted, but not sure if I trust that.
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] KOLORSZX:
Hello is it possible to change cpu governor without root since I use banking apps but I want to use Conservative or ondemand or powersave governor
[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] AnonVendetta:
How to disable data partition encryption? Anyone? I've tried flashing several encryption disabler zips but the ROM just bootloops.

Edit: figured it out. mount the vendor partition as read/write (LOS's vendor partition, not the one the stock ROM uses). open /vendor/etc/fstab.judyln in a text editor. Find the 2 lines for the userdata partition. In those lines, change "fileencryption=ice" to "encryptable". You will have to format your data partition after this (factory reset), because on the next boot you wont be able to get into the ROM. But once you do, it's a 1 time thing, no more encryption of the data partition.
[Touch Pro, Fuze General] alek-uk:
Hi All,

As the title describes, I've just upgraded from standard HTC Touch Pro rom to Elite project rom... Everything was kind of ok until I did an spb restore - now when i boot the device up, it asks me for my pin/password, which i remember correctly, but whatever i type in, it doesn't unlock!

I've searched the forums and found this thread which describes the same problem: http://xdaforums.com/showthread.php?t=381722 - However, they mention hard resetting the device using softkeys, but the Touch Pro doesn't seem to have 'hardware' soft keys and u cant press both at the same time on the screen.... Also, I'm pretty sure I unchecked "use previous password" when restoring..

I'm really stuck, and can't use my phone.

Can anyone please help? :(

Thanks.

Alek.
[Touch Pro, Fuze General] Matt-Helm:
http://lievenvw.wordpress.com/2008/10/27/howto-hardreset-format-your-htc-touch-pro/
[Touch Pro, Fuze General] johanromijn:
After doing a ROM upgrade with such a major difference (from stock ROM to Elite ROM) it's a very bad idea to restore a backup.

I personally never restore backups but simply re-install my apps. (you can use UC to make that faster)

I think when you do a fresh install everything will work much smooter / more stable.