[ROM][10-Q][OFFICIAL] LineageOS 17.1 for the LG V20 variants

partyman66

Senior Member
Dec 2, 2014
110
21
38
What version of gamma kernel are you using along with what ir blaster app?
IR blaster works on my H910A after installing Gamma kernel 3.0. That was the only version I could find aside from 20.0 (which is for LOS 18.0 and didn't run right on my phone with LOS 17) since the Gamma kernel download page links are dead.

IR blaster wouldn't work for me with the stock LOS 17.1 kernel.
 
  • Like
Reactions: DonVasaschi

DonVasaschi

Member
Sep 8, 2013
14
0
21
IR blaster works on my H910A after installing Gamma kernel 3.0. That was the only version I could find aside from 20.0 (which is for LOS 18.0 and didn't run right on my phone with LOS 17) since the Gamma kernel download page links are dead.

IR blaster wouldn't work for me with the stock LOS 17.1 kernel.
Okay, thanks. I am having some doubts about flashing the gamma kernel because I have magisk 20.4 on the phone now (it appeared to have auto updated some point yesterday). I would like to know can I go ahead and flash the gamma kernel 3.0 and not encounter any booting problems also would I have to flash the thermal and audio mods? And if so could you possibly share the order in which i should do it, it will be much appreciated. I will spend some time today finding the files but I won't flash anything until I hear back from you or someone else that have done it based on how my phone is currently setup.
 

partyman66

Senior Member
Dec 2, 2014
110
21
38
Okay, thanks. I am having some doubts about flashing the gamma kernel because I have magisk 20.4 on the phone now (it appeared to have auto updated some point yesterday). I would like to know can I go ahead and flash the gamma kernel 3.0 and not encounter any booting problems also would I have to flash the thermal and audio mods? And if so could you possibly share the order in which i should do it, it will be much appreciated. I will spend some time today finding the files but I won't flash anything until I hear back from you or someone else that have done it based on how my phone is currently setup.
Make a TWRP backup of your boot partition before putting gamma kernel in. You can always roll back to stock kernel by restoring just that partition and wiping cache if something goes wrong or you don't like it.

The gamma kernel install is as straight forward as it comes. Boot into TWRP and just flash the flashable gamma kernel zip file that's the correct one for your v20 model. It doesn't matter if you flash it from internal storage or SD card.

As I mentioned earlier, I'm using Gamma 3.0 because that's the only one I could find that's compatible with LOS 17. I tried using version 20.0 which is for LOS 18 and my system ran all choppy and generally like crap so I switched to 3.0 and it's fine except that I noticed the KSMD process taking up a bit of CPU almost constantly while my screen is on, so I manually disable it by going to /sys/kernel/mm/ksm/run and changing the 1 to a 0. This can be automated with a startup script or even set to automatically apply with a kernel manager app on startup. They really need to fix the downloads section for Gamma kernel, because there are many versions newer than 3.0 that supposedly have improvements and bug fixes all the way up to version 10.0, but nobody seems to have those other gamma kernel versions available anywhere that i could find.

If for some reason you don't have working root after the kernel install, boot back into TWRP and flash Magisk again. The Magisk stuff is tied into your boot image (kernel), so I've found I usually need to reinstall it after restoring an old kernel.

Also flash the modded stock thermal engine config after the kernel from TWRP. I think there are just 2 files in the package, and i found where the originals were on my system and made backups of them just in case i didn't like it so i could go back, but nobody ever goes back on those... just me being cautious.

I'd also recommend staying with the Magisk version you are currently using. Don't upgrade to the new version. Magisk started blocking root apps that it arbitrarily thinks aren't worthy of root in the later versions which made it so that I couldn't use ES File Explorer anymore as root(old safe version of it). I don't like that and just want root manager to be simple and do what it's told.
 
Last edited:
  • Like
Reactions: DonVasaschi

DonVasaschi

Member
Sep 8, 2013
14
0
21
Make a TWRP backup of your boot partition before putting gamma kernel in. You can always roll back to stock kernel by restoring just that partition and wiping cache if something goes wrong or you don't like it.

The gamma kernel install is as straight forward as it comes. Boot into TWRP and just flash the flashable gamma kernel zip file that's the correct one for your v20 model. It doesn't matter if you flash it from internal storage or SD card.

If for some reason you don't have working root after the kernel install, boot back into TWRP and flash Magisk again. The Magisk stuff is tied into your boot image (kernel), so I've found I usually need to reinstall it after restoring an old kernel.

Also flash the thermal modded stock thermal engine config after the kernel.

I'd also recommend staying with the Magisk version you are currently using. Don't upgrade to the new version. Magisk started blocking root apps that it arbitrarily thinks aren't worthy of root in the later versions which made it so that I couldn't use ES File Explorer anymore as root(old safe version of it). I don't like that adjust want root manager to be simple and do what it's told.
Thanks for the reply bro, I've been holding out waiting in your reply, i will definitely try it when I get off work in the next 6 or so hours. I will inform you how it goes.

UPDATE

I've returned with positive news. The ir blaster is now working. Along with flashing the thermal file and editing the file you suggested everything is fantastic. It's a minor issue but I currently have to install 3 different camera app on the phone. In one the selfie is blurry, in the other the selfie is super sharp and the stock lineage camera app records audio low (tested the back camera and not the selfie camera) is it possible to just install an audio mod just for boosting the audio when recording or could there be a flashible zip that tells the microphone to record on a higher decibels than normal so as the playback in the video may seem normal (hopefully not too baffling). Let me know if that is something that could work (theoretically yes but in reality???)
 
Last edited:

rsr911

Senior Member
Aug 22, 2014
61
28
38
I was on stock rooted Oreo with TWRP and installed LineageOS 17.1, nanodroid and magisk. Working fine but fingerprints (at least) don't work.

As I understand it I need to use LGUP to flash back to nougat, then install LineageOS to get the fingerprints to work.

Can anyone confirm that and will I lose TWRP when downgrading to nougat?

If I lose TWRP then I assume I use the dirtysanta method to get TWRP back and then flash Lineage like I did before. Is that correct.

Sorry just a little confused after reading all 58 pages in this thread.
 

partyman66

Senior Member
Dec 2, 2014
110
21
38
I was on stock rooted Oreo with TWRP and installed LineageOS 17.1, nanodroid and magisk. Working fine but fingerprints (at least) don't work.

As I understand it I need to use LGUP to flash back to nougat, then install LineageOS to get the fingerprints to work.

Can anyone confirm that and will I lose TWRP when downgrading to nougat?

If I lose TWRP then I assume I use the dirtysanta method to get TWRP back and then flash Lineage like I did before. Is that correct.

Sorry just a little confused after reading all 58 pages in this thread.
You'll lose TWRP if you go back to Nougat since you have to do it by KDZ. Just re-root with filthy Santa, install the right firmware files for your device from TWRP (unless the KDZ was the right one for your device... Meaning not an H910A), and then do lineage install. I did the 15.1, 16, 17 progression of lineage so I could make sure my fingerprint sensor and various other devices worked after each install (did a factory reset after each one).
 

partyman66

Senior Member
Dec 2, 2014
110
21
38
Thanks for the reply bro, I've been holding out waiting in your reply, i will definitely try it when I get off work in the next 6 or so hours. I will inform you how it goes.

UPDATE

I've returned with positive news. The ir blaster is now working. Along with flashing the thermal file and editing the file you suggested everything is fantastic. It's a minor issue but I currently have to install 3 different camera app on the phone. In one the selfie is blurry, in the other the selfie is super sharp and the stock lineage camera app records audio low (tested the back camera and not the selfie camera) is it possible to just install an audio mod just for boosting the audio when recording or could there be a flashible zip that tells the microphone to record on a higher decibels than normal so as the playback in the video may seem normal (hopefully not too baffling). Let me know if that is something that could work (theoretically yes but in reality???)
I also ran into a bunch of issues with every Camera that I've tried on this Rom. They all pretty much crash on occasion (even the one that comes with the ROM). As you mentioned, the stock camera that comes with it takes unuseably blurry selfie pics. I tried various GCam ports with various configs and none of them could do a combination of front cam, selfie cam, video and audio recording successfully. The one that I found which did all of them is TRCamera. I'm using TRCamera and currently bouncing back and forth between Maciek and Diablo configs. Weird thing though..... all of a sudden my selfie cam on the stock camera now shoots clear shots in the past few days instead of those blurry ones. I don't get it. It seems like me messing around with GCam and TRCam settings somehow kicked my stock Lineage camera into now working for selfies, which is nice since that seems to be the most stable of the bunch despite not necessarily having the most features or having much for customizable options.
 
  • Like
Reactions: DonVasaschi

BloodyIron

Member
Feb 25, 2017
23
1
3
I really hope the Friday release fixes Exchange Services on my device, because if not, I'm going to wipe and re-flash from two weeks ago and not update for a while. :/
 

DonVasaschi

Member
Sep 8, 2013
14
0
21
Thanks for the reply bro, I've been holding out waiting in your reply, i will definitely try it when I get off work in the next 6 or so hours. I will inform you how it goes.
I also ran into a bunch of issues with every Camera that I've tried on this Rom. They all pretty much crash on occasion (even the one that comes with the ROM). As you mentioned, the stock camera that comes with it takes unuseably blurry selfie pics. I tried various GCam ports with various configs and none of them could do a combination of front cam, selfie cam, video and audio recording successfully. The one that I found which did all of them is TRCamera. I'm using TRCamera and currently bouncing back and forth between Maciek and Diablo configs. Weird thing though..... all of a sudden my selfie cam on the stock camera now shoots clear shots in the past few days instead of those blurry ones. I don't get it. It seems like me messing around with GCam and TRCam settings somehow kicked my stock Lineage camera into now working for selfies, which is nice since that seems to be the most stable of the bunch despite not necessarily having the most features or having much for customizable options.
Yes. It sucks but that's the price we pay as testers. Could you somehow send me the exact settings you're currently using for trcamera and GCam. I'd like to see if I can possibly improve on those while also wishing that my stock lineage camera starts to take selfies better.
Also in-between those three camera has the audio after recording a video increase or is it still low?
 

rsr911

Senior Member
Aug 22, 2014
61
28
38
You'll lose TWRP if you go back to Nougat since you have to do it by KDZ. Just re-root with filthy Santa, install the right firmware files for your device from TWRP (unless the KDZ was the right one for your device... Meaning not an H910A), and then do lineage install. I did the 15.1, 16, 17 progression of lineage so I could make sure my fingerprint sensor and various other devices worked after each install (did a factory reset after each one).
Thanks much! I kinda figured.

What I did was flash H91810p using Uppercut after I made sure I had all the LGUP drivers, dll, and program installed. That got me back to nougat stock.

Then I used FWUL inside a virtual machine (I have a persistent version) and ran RunningNak3d's TWRP scripts, step 1 and step 2. That got me TWRP which I then used to flash to the newest TWRP.

From there I flashed LineageOS, Magisk, and Nanodroid GAPPs. Its working great!

My goal was a degoogled phone and that's what I have now. When I tried to install on Oreo fingerprints didn't work but they work fine now!

Now I just gotta figure LineageOS out. I have a few banking apps I need that I can't find apk files for. Looks like I can just use Aurora store to get them from Play anonymously.

I must have had a brain cramp earlier. Like duh! Of course flashing back to stock nougat kdz would wipe out TWRP lol. But it never hurts to ask. Only reason I didn't use dirty Santa is I've never used it before but I have used FWUL. Just gotta make sure you have the right kdz to work with the script.

Anyway again, much thanks! I'll have to find a lineage forum or thread as well as nanodroid so I can learn the ins and outs and keep big tech from spying on me.
 

partyman66

Senior Member
Dec 2, 2014
110
21
38
Thanks much! I kinda figured.

What I did was flash H91810p using Uppercut after I made sure I had all the LGUP drivers, dll, and program installed. That got me back to nougat stock.

Then I used FWUL inside a virtual machine (I have a persistent version) and ran RunningNak3d's TWRP scripts, step 1 and step 2. That got me TWRP which I then used to flash to the newest TWRP.

From there I flashed LineageOS, Magisk, and Nanodroid GAPPs. Its working great!

My goal was a degoogled phone and that's what I have now. When I tried to install on Oreo fingerprints didn't work but they work fine now!

Now I just gotta figure LineageOS out. I have a few banking apps I need that I can't find apk files for. Looks like I can just use Aurora store to get them from Play anonymously.

I must have had a brain cramp earlier. Like duh! Of course flashing back to stock nougat kdz would wipe out TWRP lol. But it never hurts to ask. Only reason I didn't use dirty Santa is I've never used it before but I have used FWUL. Just gotta make sure you have the right kdz to work with the script.

Anyway again, much thanks! I'll have to find a lineage forum or thread as well as nanodroid so I can learn the ins and outs and keep big tech from spying on me.
You can get official safe versions of banking app apks by installing the app from the Play store on an Android Emulator like Knox and then finding the APK in /Data/app on the Emulator and copying it off to your phone. Kind of a pain to do if they regularly update it though.
 
  • Like
Reactions: rsr911

BloodyIron

Member
Feb 25, 2017
23
1
3
Updated to daily that rolled out yesterday. Did not properly solve the Exchange Services issue. Going to wipe device clean and re-flash to two weeks ago and not update for a while. Really annoyed the updating ecosystem breaks things like this. Punishing me for wanting to stay secure and updated.
 

rsr911

Senior Member
Aug 22, 2014
61
28
38
You can get official safe versions of banking app apks by installing the app from the Play store on an Android Emulator like Knox and then finding the APK in /Data/app on the Emulator and copying it off to your phone. Kind of a pain to do if they regularly update it though.
That would work. Then I could fire it up from time to time and let it update and grab the new apk files.

Anything wrong with just using Aurora store though?
 

rsr911

Senior Member
Aug 22, 2014
61
28
38
I also ran into a bunch of issues with every Camera that I've tried on this Rom. They all pretty much crash on occasion (even the one that comes with the ROM). As you mentioned, the stock camera that comes with it takes unuseably blurry selfie pics. I tried various GCam ports with various configs and none of them could do a combination of front cam, selfie cam, video and audio recording successfully. The one that I found which did all of them is TRCamera. I'm using TRCamera and currently bouncing back and forth between Maciek and Diablo configs. Weird thing though..... all of a sudden my selfie cam on the stock camera now shoots clear shots in the past few days instead of those blurry ones. I don't get it. It seems like me messing around with GCam and TRCam settings somehow kicked my stock Lineage camera into now working for selfies, which is nice since that seems to be the most stable of the bunch despite not necessarily having the most features or having much for customizable options.
Where are you finding TRCam?
 

Jesus is God Almighty

Senior Member
Aug 19, 2016
308
19
18
Make a TWRP backup of your boot partition before putting gamma kernel in. You can always roll back to stock kernel by restoring just that partition and wiping cache if something goes wrong or you don't like it.

The gamma kernel install is as straight forward as it comes. Boot into TWRP and just flash the flashable gamma kernel zip file that's the correct one for your v20 model. It doesn't matter if you flash it from internal storage or SD card.

As I mentioned earlier, I'm using Gamma 3.0 because that's the only one I could find that's compatible with LOS 17. I tried using version 20.0 which is for LOS 18 and my system ran all choppy and generally like crap so I switched to 3.0 and it's fine except that I noticed the KSMD process taking up a bit of CPU almost constantly while my screen is on, so I manually disable it by going to /sys/kernel/mm/ksm/run and changing the 1 to a 0. This can be automated with a startup script or even set to automatically apply with a kernel manager app on startup. They really need to fix the downloads section for Gamma kernel, because there are many versions newer than 3.0 that supposedly have improvements and bug fixes all the way up to version 10.0, but nobody seems to have those other gamma kernel versions available anywhere that i could find.

If for some reason you don't have working root after the kernel install, boot back into TWRP and flash Magisk again. The Magisk stuff is tied into your boot image (kernel), so I've found I usually need to reinstall it after restoring an old kernel.

Also flash the modded stock thermal engine config after the kernel from TWRP. I think there are just 2 files in the package, and i found where the originals were on my system and made backups of them just in case i didn't like it so i could go back, but nobody ever goes back on those... just me being cautious.

I'd also recommend staying with the Magisk version you are currently using. Don't upgrade to the new version. Magisk started blocking root apps that it arbitrarily thinks aren't worthy of root in the later versions which made it so that I couldn't use ES File Explorer anymore as root(old safe version of it). I don't like that and just want root manager to be simple and do what it's told.
Disgusting... That is absolutly unacceptable. So they are now deciding which apps deserves or does not deserve root?
 

partyman66

Senior Member
Dec 2, 2014
110
21
38
Disgusting... That is absolutly unacceptable. So they are now deciding which apps deserves or does not deserve root?
It seems so. I'm sure it's of noble intent so that people don't install untrustworthy apps with root permissions, but I'm of the opinion that once you root your device the responsibility to act as warden of your root apps should fall on us and not have it decided for us by the root manager's programming.
 

nexus5+user

Member
Dec 23, 2020
6
1
3
Did it work fine on stock? I recently got my H918 to work fine on 17.1 with fingerprint sensors and things. Don't have a flip case to test with since my mom took it (will be back in 2 weeks).
Try what I did:
1. Flash latest TWRP 3.5 and reboot to recovery
2. Wipe everything except External SD. Format
3. Flash following in chain: H91810u > Permissiver_v5.zip > LOS 17.1 > GAPPS (optional) > Permissiver_v5.zip
Howdy there,
Do you have an update on the case please good sir?

Thank you kindly & Bless
 
  • Like
Reactions: BloodyIron