yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
So it's still crashing:

10-15 03:07:08.692 0 0 E : LGE charging scenario : state 0 -> 0(0-0), temp=268, volt=3767, fl_volt=4400 BTM=0, charger=1, cur_set=3200/0, chg_cur = 1307

10-15 03:07:08.692 0 0 E [LGE-CC] lge_monitor_batt_temp_work: (alarm)->(alarm)

10-15 03:07:22.147 461 461 E lowmemorykiller: Error writing /proc/5071/oom_score_adj; errno=22

10-15 03:07:48.887 2450 3659 E NetworkScheduler.ATC: Error finding compatible intent-filter to handle SERVICE_ACTION_EXECUTE_TASK for com.google.android.gms/.chimera.GmsInternalBoundBrokerService [CONTEXT service_id=218 ]

10-15 03:07:48.887 2450 3659 E NetworkScheduler.TED: Invalid service definition provided: null [CONTEXT service_id=218 ]

10-15 03:08:04.061 0 0 E msm-dwc3 6a00000.ssusb: Abort PM suspend!! (USB is outside LPM)

10-15 03:08:04.061 0 0 E dpm_run_callback(): platform_pm_suspend+0x0/0x50 returns -16

10-15 03:08:04.061 0 0 E PM : Device 6a00000.ssusb failed to suspend: error -16

10-15 03:08:04.065 0 0 E PM : Some devices failed to suspend, or early wake event detected

10-15 03:08:04.342 0 0 E : Fatal error on the modem.

10-15 03:08:04.342 0 0 E : modem subsystem failure reason: sleep_target.c:305:.

10-15 03:08:04.351 0 0 E M-Notify: General: 8
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itt533:
i have a h990ds and the drain is sometimes only of 2 to 5 %. Most of the time, if i had to use the torch, or it went ringing alarm for minutes then the drain might reach 20%.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itt533:
you mean the parts of gamma kernel making it able to IR blast?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Oswald Boelcke:
Moderator Announcement

Thread slightly cleaned!

This is a development site and people contribute work as a fun hobby, NOT A JOB! They don't owe you anything but you owe the developers respect!

If a ROM does not work for you, what did you do to contribute? Did you clean flash? More important, did you run a log of errors to help the developer? Just remember what you would expect in your profession. Or were you just too lazy to help and prefer to leech and complain?

This world will only get better if we all learn to give instead of always taking! Please do not comment on rude posts, please report and a moderator will help.

Thank you all for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Yes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Old_ye:
There's a problem. My fingerprint recognition doesn't work.

Brush back to the original system can be used.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itt533:
I'm surprised that it is not what LOS devs were doing already. I thought that support for the IR blaster wasn't included in LOS because it is reverse engineered and not well working. I've indeed read that the blaster works one time and hangs during some time afterwards.

As for me I've never dug into linux-android kernel sources, I can try locating the files for IR support but it sounds too simple thus i'm not sure that's really what you want.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Flash nougat firmware.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] askermk2000:
@npjohnson I will be looking into the issue with IR. If I find a solution I'll share it.

I'm working on kernel for custom rom now, here is repo: mk2000-custom

Is AP/HotSpot working on stock lineage kernel? It wasn't on my kernel at first. If you see the latest commits in my git,

there are fixes to quite a lot of issues with the bcmdhd driver (from nvidia engineers). I should mention I'm using newer

driver from latest LG sources, so it's a bit more updated even without the nvidia patches.

A G5 dev has tested my kernel and got approx 1,5 h extra SOT doing youtube playback test, from 5 1/2 to 7 hours.

Is it ok by you if I post a few beta builds here? I don't want to maintain a separate thread for this, I don't even have a V20.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
hotspot works fine, and no - please don't - it complicates getting logs from people to have mods like that in the thread - it's own thread would be more appropriate.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] askermk2000:
Ok. My previous thread here is closed so that's why I asked.

Do you get a "HotSpot" icon in the quick settings? If not then is because of a problem with the kernel driver, which there is a fix for:

wireless: bcmdhd: Set FW in AP mode when enabling softAP · stendro/msm8996_lge_kernel@5e7f326

Issue: FW is not set in AP mode when softAP is enabled from UI. This leads to no link-up event for softAP once the DHD issues the IOVAR to set the ssid of the softAP. DHD times...

github.com
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
I do get the tile.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] askermk2000:
Uh I see. I got the wrong impression because that icon just popped up in my rom after applying some fixes to kernel.

I got panic while enabling AP at first. The reason is either because I'm using new compiler vs gcc4.9 or that some other parts is updated (I'm on 3.18.140).

In any case one of those patches from nvidia addressed the problem exactly.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Electrolite_XYZ:
Sorry for the late reply.

On the stock rom it detected the impedance of the headphone and then turned the amplifier on or off (high-impedance mode), there was no stock way to force the amplifier. The toggle was for the Quad-Dac only.

I'm not sure how it works on Lineage, if it's using the Quad-Dac at all times and the toggles only forces the amplifier or if the toggles turn both the amp and the DAC on.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mehsme:
New SIM solved this for me. Carry on & keep up the great work ya'll.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
Looks like the reboot problem is solved. I changed the SIM card and the current SIM card is also activated and have not had and reboot issues. Has anyone ever experienced an issue with phone rebooting due to a bad SIM?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
By the way, my install process (on h918 with TWRP installed) was to factory wipe,, install Dudeawesome's H91820h.zip, factory wipe again, install latest LineageOS, install Open Gapps 11 arm64 nano, then install Magisk 23 (had to rename the .apk to .zip in order to install).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
why does everyone think $RandomKernel will help with things lol - the DAC toggle works - I used it last week?

If it doesn't work for you file a bug report like the wiki details, and we'll fix it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] itt533:
did you find anything about why the sound is too loud when the dac is on?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Havent yet no.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Did you intentionally blankly quote my post?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
Unfortunately my h918 running 18.1-20211021-nightly-h918 is still crashing:

10-21 20:52:47.553 0 0 E : Fatal error on the modem.

10-21 20:52:47.553 0 0 E : modem subsystem failure reason: sleep_target.c:305:.

10-21 20:52:47.561 0 0 E M-Notify: General: 8

Also, don't know if this is relevant but I see this all the time in logcat:

10-21 20:50:46.124 0 0 E rmt_storage: INFO:rmt_storage_rw_iovec_cb: Write iovec request received for /boot/modem_fs1

10-21 20:50:46.126 0 0 E rmt_storage: INFO:rmt_storage_client_thread: Calling Write [offset=0, size=2097152]for /boot/modem_fs1!

10-21 20:50:46.200 0 0 E rmt_storage: INFO:rmt_storage_client_thread: Done Write (bytes = 2097152) for /boot/modem_fs1!

I run 'logcat *:E' and leave the phone sit and there are always a lot of messages that show up. Not sure if this is normal.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kokos76:
Please, could you check if MEID ( *#06# OR in "About phone") is displayed on this particular device? And after the srossflashing, did it become possible to switch to the CDMA band in phone settings?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
It is IMEI and yes its normal and the same number when phone was new. As for CDMA I can select GLOBAL or LTE/CDMA or LTE/GSM/UMTS. CDMA setting it shows signal BARS and LTE on phone BUT I have to use other 2 settings because I have a GSM att SIM card.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kokos76:
Do you have only IMEI, no MEID?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
H910 is a GSM phone. So I only have IMEI

All phones don’t always have both an IMEI or MEID number. An IMEI number is always on GSM system devices that use AT&T and T-Mobile carrier. A MEID number is always on CDMA system devices that use Verizon, U.S. Cellular, or Sprint carriers.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kokos76:
Did you flash KDZ or ZIP?

I assumed that the H910, after being flashed with an US996 KDZ, will have a MEID and I will be able to connect it to a CDMA operator in Ukraine. This operator requires the phone to have a MEID and ESN (any values, even those consisting of zeros)..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
I used zip so as to reflash and keep twrp. I could have also flashed version 20g or 20h. So far perfect operation. Very happy.

Possible problems with LOS may have been caused by flashing us996 rom and then install LOS.

I have another phone that is and has h910 rom and then flashed LOS on it but have not tested speakerphone yet on that phone.

In any case the us996 stock is perfect. If I get to a point where apks require higher than android 8 then I will spend more time trying LOS again.

I have a good feeling that LOS may require some specific vendor and specific modem files that if you dont have them you got more problems.

Then there is the issue of VoLTE. I am told by everyone that no custom Rom has VoLTE working. Cell towers are mandating VoLTE by next year.

LOS should package/include ALL needed files like a KDZ file has. EVERYTHING ! It does not. Thats frustrating.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
So after doing a clean install of LOS18 (as well as OpenGapps and Magisk) while updating my H918, I've run into some issues.

- Fingerprint sensor not recognized; phone setup doesn't even go to fingerprint setup.

- Camera not working.

- Flashlight not working; saying camera in use.

- SIM card not recognized.

I'm guessing that I will likely have to go back to stock and reinstall, but I'm not even sure what anti-rollback or version to look for? It's been a few years, so it's totally slipped my mind at this point. If anyone could give me a little guidance on where to go from here, that would be super duper appreciated. Being stuck on this janky Blu R1 HD is killing me. lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
Is vulkan still broken in the latest rom?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
have you downgrade to nougat firmware before clean install?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
I have not. Is this possible to do without messing up root/TWRP on the H918?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
yes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
I did a little searching for some H918 ROMs on here, but since there's a bajillion between all the unofficial LOS and custom ROMs, I'm not 100% on which I should grab. Any chance you or someone else can point me in the right direction?

I appreciate all the help, it's just that it's been a couple of years since I did my initial rooting with LOS 15.1, so some of this stuff is fresh to me again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
You can go custom or flash a rooted or nonrooted stock zip. There is a KDZ but you loose twrp. If you do zip, re flash twrp and also laf_restore just for insurance that all will be ok.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
So I tried looking for a flashable "stock" Nougat, but most of the nougat-based links seem to be dead now. I found an LOS14.1 link that worked. I flashed that, then dirty-flashed LOS18.1 over it... Still getting the same issues.

As soon as LOS started up, it gave my Google "start" screen and then popped up with "System UI not responding", then "System not responding." Rebooted itself, and getting through setup, it's still presenting all the same issues. SIM isn't recognized, fingerprint isn't setting up, etc.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Tell me what you want. Custom or Stock.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
I'd like to use LOS18.1, since I don't really care for the stock V20 software, so I'm thinking custom would be the way to go, right?

Wouldn't dirty flashing a custom ROM over a stock nougat one cause issues? I don't know, you seem to know a lot more about this than I do, so I will just say whichever you think would be the easiest or most convient. I absolutely appreciate your help though. Thank you!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Dirty flashing it will likely cause issues. A system, data and cache wipe is definitely recommended before flashing LOS 18.1 over other roms and/or android versions. When they recommended to go back to stock nougat, they usually mean a full KDZ flash, since flashing only the stock rom zip will not affect the firmware, modem and recovery, when the first two are generally the culprits of problems related to SIM Card and Fingerprint. And yes, you will unfortunately lose TWRP if you go that route, its not the most efficient way of "maybe" solving your problem, but it is the surest one to.

But its just my 2 cents, take it with a grain of salt since i have a different device and didn't face the same problem, so i can't detail the exact steps you need to take.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
If you have nougat = android 7, and you have twrp, then you must already have an unlocked bootloader thus you get a yellow or orange or red warning message on boot.

That being the case, put the CORRECT LOS 18.1 ROM file on sdcard and mindtheGapps pico android 11 version if you want google play store, go into twrp and do a data format.

Then flash LOS and then the Gapps and reboot.

Make a twrp backup on sdcard before you start just in case.

REMOVE SIM CARD before you boot up LOS for the 1st time. After that if you get a kernal crash with SIM card in then you have the wrong nougat modem/baseband installed. This can be fixed but it means starting all over.

Read the instructions on LOS. It says what I say above but has less details on nougat version.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
Absolutely correct. Avoid dirty flashing always
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aCIDsLAM:
https://xdaforums.com/t/firmware-h918-collection-twrp-flashable-bootloaders-and-modems.3547268/

No need to go to stock on h918
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
You volunteering to do that then? You are aware how hard validation of firmware per variant (h910 for example has various different firmwares based on region), making sure it doesn't mess up persist/efs status and permissions for the literal crap-load of installation cases we could see?

Lets do some quick math: 9 supported variants, with at least 4 others that people actively "rebrand" from us996.

Lets assume (some don't, I'm aware, but most do) at least 4 regions with differing firmware per device, and cross flashing firmware not at all guaranteed to be safe - nor something most people will want.

36 possible cases already, and to go further, be cause people "rebrand" - its not at all trivial to discern what firmware we should actually even flash on those devices.

Including all the files need is just _not_ feasible.

You started from Oreo firmware, start from nougat and all will work from that list.

Shouldn't be? Let me know if it is, I can look into it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rom1995:
Mine still show as not available
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
If I were the Dev for lets say h910, I would include everything for LOS H910. Recovery, Baseband, Kernal, LAF, Vendor, the whole package. And I would provide a list what does not work and what does not work well. Thats what a top professional expert engineer does.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] A.Whit:
And the speakerphone sucks. Not usable

THE LG V20 is my favorite phone
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Again, you don't account for carrier versions of firmware/baseband, LAF exploits some models need, the fact that all firmware (minus modem) has to match to prevent watchdog panics.

We can't include recovery in the ZIP as per charter requirements - I would if I could. But that would eliminate user choice for TWRP as well which would set fir for the masses.

It. Isn't. Feasible.

Cool - you're right, that's what OEMs do - we're not an OEM - and I can't state this to you enough, we're a hobbyist group. I do this in my free time.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Fun! The 20-something'th time you've said this?

For the love of god then either fix it, provide logs on a a freaking bug ticket (which I'll say for the 8th time, but you refuse to do), or just don't post!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
Darn, well... Looks like I'll have to download the KDZ and start from scratch then; It's not the way I wanted to spend my rainy Thursday evening, but at least I should hopefully have a decent phone again by the end of it.

Quick question: I'm not 100% sure, but I think "download mode" was flashed over with TWRP, so would flashing the KDZ wide out that TWRP mode as well, since it's not technically the recovery drive?

I appreciate your guy's help, btw.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
Just saw this... So in order to fix my fingerprint/camera/SIM issue, which files would I need? I'm assuming modem, but anything else? And if I'm not sure which ARB I'm on, should I just do the most recent one, since I don't particularly plan on "rolling back" any time soon, and will likely get a new phone before that's an issue?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] AShiningRay:
Yes, the KDZ is the closest you can get to a 100% reset on the phone's internal eMMC and partitions. Everything will be wiped and restored to "factory default", so in a sense, it usually feels like you just took the phone out of the box again.

The fingerprint and camera are commonly related to the firmware files (maybe supplied by the bootloader? My Redmi Note 4X had the firmware separate from the bootloader, but i don't know about the V20), while the SIM card has to do with the modem. As for the ARB, the post you linked has a disclaimer about what will happen if you flash an older bootloader than the one you currently have if it has ARB, so yes, the most recent one would be your safest bet. But even then, it seems @A.Whit has a similar device to yours, so you should ask for his input as he has more experience on that matter.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
yea, the stock rom checks for the impedance of the device, if it's a high impedance device it will automatically adapt into high impedance mode, if it isn't then it will work as normal mode. lineage os doesn't have that baked in. apparently, it's not trivial work to re-implement it in lineage os.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andruyd:
Is there a way to further lower call volume particularly when using a wired headset for calls? Disabling the DAC doesn't seem to affect the call volume.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xxseva44:
Grow up. You want oem level support and stuff? Do it yourself. A.We're doing this as a side thing B. We aren't obligated to do this so your lucky you even have a custom rom to run and C. we have lives and other things to do.

Don't throw bs at Npj as he leads the development behind the V20 long after others left.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Arrxa:
Is it safe to install LOS 18.1 over an unlocked stock Oero H918? I seen posts that say the best way is to downgrade to stock nougat but is there any bugs to wipe and install over stock oreo?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Yeah, go to nougat. FP and Camera will be buggy on Oreo.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
Here is where I got H91810u.zip which AFAIK is the latest version of Nougat. Contrary to what others have written, this .zip does contain the modem. I personally don't recommend to anyone to install a KDZ after they have managed to install TWRP.

FYI here's a list of flashable repackaged ROM .zips which keep everything from the KDZ except recovery (so you can keep TWRP): [ROM] [H918] H91810q/r/s/t/u Stock ROM TWRP Flashable Zip KEEP ROOT!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
I've have flashed LOS 18 over Oreo H91820h.zip and it ran fine except that fingerprint did not work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Because you didn't KDZ, you only flashed the stock rom itself not the firmware.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
Do you know what is the version of the correct baseband?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
According to this it contains everything in the KDZ except the bootloader.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
which is exactly what you need. You need the whole bootstack to match.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
I'm confused. Are you saying that if you flash the 20h KDZ that fingerprint and camera will work? If the 20h .zip and 20h KDZ are identical except for bootloader, and TWRP is installed, what difference can it make? Not sure I understand the issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
You need to be on a full nougat firmware. You're not on a nougat bootstack. It's as simple as that.

The 20h KDZ would solve the issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
Be on it for what? I'm not clear about that.

20h is Oreo not Nougat. All the 20x series firmwares are Oreo. 10x series are Nougat. cf. https://www.t-mobile.com/support/devices/android/lg-v20/software-versions-and-updates-lg-v20

The OP asked if LOS can be flashed on top of 20h. I correctly answered that it can, only that FP and camera don't work.

And no, I don't recommend to anyone once they've managed to switch to TWRP bootloader that they ever overwrite it again unless they intend to sell the phone and want it set back to original and potentially unrootable state due to blowing a Qfuse..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] npjohnson:
Apologies, mixed it up.

10h I think? I don't remember offhand.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MrBrightside1009:
I knew about this, but all of the links are dead and apparently have been for a while judging by the replies on the last few pages. Hence why I've been having so much trouble with doing all this stuff since so many links now no longer work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
10u is the last Nougat release for the h918.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Aethera:
I put a link to an alternate download source for H91810u.zip in the previous post.