[ROM][ALL VARIANTS] LineageOS-14.1 for LG V20 [Weeklys']

Search This thread

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
DO NOT REPORT BUGS UNLESS YOU HAVE DONE A FULL WIPE, INSTALLED THE GAPPS PROVIDED , AND ARE RUNNING STOCK KERNEL WITHOUT STUPID MODS OR YOUR BUG REPORT WILL BE IGNORED PERIOD. ALSO THIS IS AN ALPHA EXPECT BUGS AND I'M ONLY ONE PERSON

These are OFFICIAL builds of CM/LineageOS-14.1 for LG V20 variants. I did NOT create this ROM, it is an Open Source project by the community for the community and I am the device maintainer of LG v20 as well as many of people contributing to throughout the ROM. thanks to all other coders who contributed to CyanogenMod/LineageOS.

Supported devices: H918 T-Mobile, LS997 Sprint, US996 U.S. Unlocked, VS995 Verizon, H910 (AT&T)

Code:
[B]IMPORTANT[/B]

* Builds are done on a Weekly basis
* Do NOT ask for support for flashing in this thread.
* Do NOT be rude.
* If you don't get a reply from me in a timely manner about your bug, file a report on JIRA
* Respect all users
* If I see a NOOB question and I don't feel like replying, I WONT.


c4ypvbf.png

  • Built from CM source
  • Service
  • Text
  • Data
  • Call
  • Audio
  • WiFi
  • Google Now
  • Bluetooth
  • GPS
  • MMS
  • Video playback
  • Audio playback
  • Internal SDcard mounting
  • External SDcard mounting
  • Camera
  • Video recording
  • IR Blaster
  • NFC

bJO9QqG.png

  • 2nd Screen Support
  • VoLTE and WiFi calling do not work yet

2jpqfKR.png

  • Do NOT use superwipes
  • DO NOT dirty flash (or if you do, DON"T REPORT BUGS UNTIL YOU DO)
  • Wipe data, cache, and dalvik cache
    *** ((but do not report bugs if you didn't full wipe))
  • Flash ROM
  • Flash GAPPS(No other gapps packages are officially supported!)
  • Reboot
  • Profit
To enable Developer Options go to Settings, About Phone and repeatedly press Build Number.
If you use ADB read this: PSA by CM
If you use reboot to recovery read this: PSA by CM
Regarding new Superuser: PSA by CM



w5xnyz0.png

  • Any and all users in this thread who contributed or will contribute to making this ROM as stable as possible
  • Cyanogen Inc & Team-Kang
  • Rashed
  • albinoman887

cvU6373.png


so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means :)

Note: The name on the Paypal account may say Patricia, this is because it's a family Paypal account. :)



Thanks and happy flashing!

l5SakBJ.png

ROM: https://download.lineageos.org/
Gapps: opengapps.org/

lSuV72q.png

https://github.com/LineageOS
https://github.com/LineageOS/android_device_lge_h918
https://github.com/LineageOS/android_kernel_lge_msm8996
 
Last edited:

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
sB7atuO.png


Mar 11
** Major Update **
* rebased on CAF 7.1
* massive cleanup of device tree and kernel
* massive cleanup of vendor libs
* Fixed 2nd backlight not matching main backlight brightness (fixes shadow in upper right corner)
* Switched to source built ril, better compatibility and adds support for LTE Advanced (LTE+)
* Enabled noise suppression during calls
* Fixed issues with Google Camera
* Fixed wakelock issues with bluetooth
* aptX support
* Fixed static screen on US996
* A few other updates i can't remember
* Any and all changes from Lineage at time of compile
* Official Nightlies should be coming soon

Feb 14
* Fixed Ambient Display
* Fixed BT Pairing issues on h918
* Fixed Bluetooth not turning on on other variants (ls997,vs995,us996,h910)
* Fixed default bluetooth device name
* CDMA should work "out of the box" now no needing to play with settings (sprint,vzw)
* Disabled VoLTE and WiFi Calling settings as they are broken and causes random issues when dialing out
* Any and all upstream Lineage updates at time of compile
NOTE: as far as i know whats still messed up now is, low audio in video recording, no VoLTE, Quad DAC, and maybe a couple little things (writing this off the top of my head)

Jan 30
* Fixed Bluetooth Wakelock
* Fixed animation glitch when rotating or sleeping device
* Fixed touch inaccuracy in 270 degree landscape mode
* Baseband now shows in system info
* Lots of Lineage updates
* NOTE: Lineage is removing superuser from main rom and making a flashable zip. for now i'm still including it but this could stop at any time. Basically once they have the zip up on lineageos.org i'll remove it
* NOTE2: released for all variants but CDMA devices still have the same data issues. I need more then just pople saying "this works" that works i need LOGS people...


Jan 13
* Attempt #2 at us996 build
* Attempt #2 at vs995 build
* Attempt #2 at h910 build
* Attempt #2 at ls997 build
* All sources synced and up to date as of the build date and time

Jan 10
* Fixed LS997 build to flash without editing script
* initial H910 build

Jan 9
* initial VS995 build

Jan 8
* initial LS997 build
* initial US996 build

Jan 04
* Removed some unneeded telephony related overlays. Seems to fix slow connection of phone calls
* Fixed Wi-Fi Tethering (credit: Rashed)
* Various changes to fix GPS in navigation, not 100% yet but a lot better

Dec 28
* We are now at the same state as the G5 builds
* Removed LED settings since we don't have one
* Add a couple missing build props from stock (dalvik heap size etc)
* Updated mixer_paths.xml to match stock. (no real world difference just good practice)
* Updated telephony libs (fixes the random FC of .timeservice and .dataservice
* Fixed the static during boot animation (was a merge fail of a .dtsi for screen commands)
* Speed improvments do the above fix
* Wide angle camera now is usable in Snap. To use, just tap the button you tap for front camera until you get to wide angle lens
* Synced with latest source
* Picked commits that rebrand CM to LineageOS

Dec 25
* Fixed UI "bleeding" into 2nd screen, still a animation glitch but tracking that down
* Fixed Camera (Picture and Video)
* Fixed LiveDisplay
* fixed auto brightness curve
* Cleanup


Dec 19
* initial test release


l5SakBJ.png



lSuV72q.png

https://github.com/LineageOS
https://github.com/LineageOS/android_device_lge_h918
https://github.com/Team-Hydra/android_device_lge_v20-common
https://github.com/Team-Hydra/android_kernel_lge_msm8996

Contributors
albinoman887
 
Last edited:
I have been working on this for days and it has gone very poorly haha, I've been alternating between attempting to build entirely from source, and trying to at the very least get the latest cm14.1 nightly for the T-Mobile G5 booting, and it's been unsuccessful so far. I've been able to get it stuck at the boot animation, but no matter what I've tried, I can't get adb enabled, so I have zero idea where the issue lies and I've basically just been blindly trying things and hoping it'll give me adb. This is of course super tedious because in order to boot into recovery requires a battery pull, getting to the factory reset screen, waiting for it to boot into TWRP, and quickly running adb reboot recovery within the 1 second twrp is running before it auto reboots. BUT I AM DETERMINED TO GET THIS TO WORK

---------- Post added at 09:41 AM ---------- Previous post was at 09:38 AM ----------

I'm trying to figure out the best boot.img to use, because I'm 99% sure the problem lies somewhere in there, I've tried using the boot.img inside the g5 zip, the boot.img in the stock debloated zip for our device, and I've also tried unpacking and modifying both to various degrees, to NO SUCCESS
 

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
I have been working on this for days and it has gone very poorly haha, I've been alternating between attempting to build entirely from source, and trying to at the very least get the latest cm14.1 nightly for the T-Mobile G5 booting, and it's been unsuccessful so far. I've been able to get it stuck at the boot animation, but no matter what I've tried, I can't get adb enabled, so I have zero idea where the issue lies and I've basically just been blindly trying things and hoping it'll give me adb. This is of course super tedious because in order to boot into recovery requires a battery pull, getting to the factory reset screen, waiting for it to boot into TWRP, and quickly running adb reboot recovery within the 1 second twrp is running before it auto reboots. BUT I AM DETERMINED TO GET THIS TO WORK

---------- Post added at 09:41 AM ---------- Previous post was at 09:38 AM ----------

I'm trying to figure out the best boot.img to use, because I'm 99% sure the problem lies somewhere in there, I've tried using the boot.img inside the g5 zip, the boot.img in the stock debloated zip for our device, and I've also tried unpacking and modifying both to various degrees, to NO SUCCESS

have you tried building a eng build instead of userdebug? that will enable adb by default. Hey at least your at the boot animation. thats half the battle. could you put your device trees and stuff on github? we can fork it and i'll give you access to my Team-Hydra orginization github and we can get cracking. I'm gonna PM you my email. hit me up on Hangouts please.

about boot.img . you could "try" unpacking the g5 boot.img and grabbing the init.ivercon.rc or whatever its called and init.cm.rc and then pack those into the stock boot.img but the better solution would be to fork the g5 and then add the differences. but getting ADB going would be the No 1 priority.
 

OneDon

Senior Member
May 10, 2016
233
338
Brooklyn
This is my first time with a none nexus device, personally I see it as a big step some might say the opposite as in a "big step back" but I see opportunities for this device. I've had my fair share bringing OwnRom (CM based) to the nexus 5 successfully and other experiences with bringing ROMs to dropped devices I've owned. One of questions is how long did it take LG to release there sources for the v10, that's all I'm waiting for tbh. I'm really not in for the making a ROM via a twrp backup I'm more of a from scratch type of guy. Because even over on Google+ they mentioned that tesla ROM (AOSP based) only needed a maintainer for the v20 but there's no source yet.
 

TheLoonyRebel

Senior Member
Mar 20, 2010
2,350
1,250
Amazon Fire TV
Nexus Player
Subscribed! Hopefully this actually becomes a reality, otherwise my next phone will be One Plus.

This is my first time with a none nexus device, personally I see it as a big step some might say the opposite as in a "big step back" but I see opportunities for this device. I've had my fair share bringing OwnRom (CM based) to the nexus 5 successfully and other experiences with bringing ROMs to dropped devices I've owned. One of questions is how long did it take LG to release there sources for the v10, that's all I'm waiting for tbh. I'm really not in for the making a ROM via a twrp backup I'm more of a from scratch type of guy. Because even over on Google+ they mentioned that tesla ROM (AOSP based) only needed a maintainer for the v20 but there's no source yet.

This thread is ONLY for discussing development of CM14 for the V20 not your back stories on previous devices or saying you subscribed.
 

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
This is my first time with a none nexus device, personally I see it as a big step some might say the opposite as in a "big step back" but I see opportunities for this device. I've had my fair share bringing OwnRom (CM based) to the nexus 5 successfully and other experiences with bringing ROMs to dropped devices I've owned. One of questions is how long did it take LG to release there sources for the v10, that's all I'm waiting for tbh. I'm really not in for the making a ROM via a twrp backup I'm more of a from scratch type of guy. Because even over on Google+ they mentioned that tesla ROM (AOSP based) only needed a maintainer for the v20 but there's no source yet.

source is out. how do you think there are modded kernels. Someone needs to spend the time on making a device tree and with all the stuff that just happened with cyanogen.inc idk if CM is even going to be around in a couple months.
 
  • Like
Reactions: mallman

joshtheitguy

Senior Member
Nov 23, 2006
138
47
Cleveland
Well, just when I was about to abandon all hope and switch back to my G3 but I finally got my build to quit failing around 3%.

I'm not expecting this to boot but I'll take what I can get right now. I'd rather get it to build, try flashing and if renders my V20 useless in the process then I'll just switch back to my G3. I feel my V20 will be more useful stuck in a boot loop than it is now currently with LG's crappy UI mods anyway.

If I can actually get this going to the point where I can at least get ADB going I'll post a download link ASAP but I'm probably way out of my league right now. Is anyone else still trying or am I the only one who is so fed up with the stock ROM that they are still continuing to try and get a build going?
 

joshtheitguy

Senior Member
Nov 23, 2006
138
47
Cleveland
I got it to build but it hangs up immediately after the cannot verify message. I'm done for now, see if my backup restores otherwise it is back to my G3 running CM14.1 for now,
 

DarkestSpawn

Senior Member
Aug 16, 2010
288
110
I got it to build but it hangs up immediately after the cannot verify message. I'm done for now, see if my backup restores otherwise it is back to my G3 running CM14.1 for now,

When building the ROM or after flashing it on boot it does this? Might help to specify for other users that might know or have an idea to solve this or at least get you to adb debugging.
 

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
I got it to build but it hangs up immediately after the cannot verify message. I'm done for now, see if my backup restores otherwise it is back to my G3 running CM14.1 for now,

where are your device trees. its dm-verify disable it. ... seriously if you guys would post your device trees we would all be on easy street right now. or at least what did you do to get ot build. what device did you fork to base it on?
 

OneDon

Senior Member
May 10, 2016
233
338
Brooklyn
I tried to build from stock AOSP last night but it failed at around 3% the first time then after a clean rebuild it failed at 0% , when I get home I'll post a link to my log so you guys can help me debug this because I'm absolutely new to developing for LG.
 

joshtheitguy

Senior Member
Nov 23, 2006
138
47
Cleveland
where are your device trees. its dm-verify disable it. ... seriously if you guys would post your device trees we would all be on easy street right now. or at least what did you do to get ot build. what device did you fork to base it on?

I forked the h850 and v20-common from the Cyanogenmod Github. I figured since they share a lot of the same components it would be a good place to start.

I'm pretty sure dm-verify is off and I tried even flashing one of the various zip files that would disable it for the stock rom so I'm fairly certain I'm missing proprietary files at this point. I also just tried building the kernel using the g5 just to see if it would work after several attempts from other sources.

When building the ROM or after flashing it on boot it does this? Might help to specify for other users that might know or have an idea to solve this or at least get you to adb debugging.

It immediately goes black after the LG boot logo after flashing.

I'm going to try one last thing and try another build, after that I'll see about what I need to do to get my local git sources up to github. As I mentioned before I'm new to this so I'm not even sure if I am going down the right path. I didn't do anything really other than go through all the various *.mk files and replace any references for "h850", "h1" or "g5-common" to "h918", "elsa" or "v20-common" and added a few other sources to the cm.dependencies file to satisfy build errors.

As I mentioned before I'm new to this but I really don't like the LG stock ROM so I'm just trying anything at this point to get to AOSP.
 
Last edited:

albinoman887

Inactive Recognized Developer
Dec 14, 2010
3,913
16,217
Snohomish, WA
looking over the v20 and g5 device trees i'd fork the g5. i'm gonna repo sync cm14 tomorrow and start playing around a bit. the most annoying part for me is the vendor libs... i have no idea what we will and will not need.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    DO NOT REPORT BUGS UNLESS YOU HAVE DONE A FULL WIPE, INSTALLED THE GAPPS PROVIDED , AND ARE RUNNING STOCK KERNEL WITHOUT STUPID MODS OR YOUR BUG REPORT WILL BE IGNORED PERIOD. ALSO THIS IS AN ALPHA EXPECT BUGS AND I'M ONLY ONE PERSON

    These are OFFICIAL builds of CM/LineageOS-14.1 for LG V20 variants. I did NOT create this ROM, it is an Open Source project by the community for the community and I am the device maintainer of LG v20 as well as many of people contributing to throughout the ROM. thanks to all other coders who contributed to CyanogenMod/LineageOS.

    Supported devices: H918 T-Mobile, LS997 Sprint, US996 U.S. Unlocked, VS995 Verizon, H910 (AT&T)

    Code:
    [B]IMPORTANT[/B]
    
    * Builds are done on a Weekly basis
    * Do NOT ask for support for flashing in this thread.
    * Do NOT be rude.
    * If you don't get a reply from me in a timely manner about your bug, file a report on JIRA
    * Respect all users
    * If I see a NOOB question and I don't feel like replying, I WONT.


    c4ypvbf.png

    • Built from CM source
    • Service
    • Text
    • Data
    • Call
    • Audio
    • WiFi
    • Google Now
    • Bluetooth
    • GPS
    • MMS
    • Video playback
    • Audio playback
    • Internal SDcard mounting
    • External SDcard mounting
    • Camera
    • Video recording
    • IR Blaster
    • NFC

    bJO9QqG.png

    • 2nd Screen Support
    • VoLTE and WiFi calling do not work yet

    2jpqfKR.png

    • Do NOT use superwipes
    • DO NOT dirty flash (or if you do, DON"T REPORT BUGS UNTIL YOU DO)
    • Wipe data, cache, and dalvik cache
      *** ((but do not report bugs if you didn't full wipe))
    • Flash ROM
    • Flash GAPPS(No other gapps packages are officially supported!)
    • Reboot
    • Profit
    To enable Developer Options go to Settings, About Phone and repeatedly press Build Number.
    If you use ADB read this: PSA by CM
    If you use reboot to recovery read this: PSA by CM
    Regarding new Superuser: PSA by CM



    w5xnyz0.png

    • Any and all users in this thread who contributed or will contribute to making this ROM as stable as possible
    • Cyanogen Inc & Team-Kang
    • Rashed
    • albinoman887

    cvU6373.png


    so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means :)

    Note: The name on the Paypal account may say Patricia, this is because it's a family Paypal account. :)



    Thanks and happy flashing!

    l5SakBJ.png

    ROM: https://download.lineageos.org/
    Gapps: opengapps.org/

    lSuV72q.png

    https://github.com/LineageOS
    https://github.com/LineageOS/android_device_lge_h918
    https://github.com/LineageOS/android_kernel_lge_msm8996
    19
    sB7atuO.png


    Mar 11
    ** Major Update **
    * rebased on CAF 7.1
    * massive cleanup of device tree and kernel
    * massive cleanup of vendor libs
    * Fixed 2nd backlight not matching main backlight brightness (fixes shadow in upper right corner)
    * Switched to source built ril, better compatibility and adds support for LTE Advanced (LTE+)
    * Enabled noise suppression during calls
    * Fixed issues with Google Camera
    * Fixed wakelock issues with bluetooth
    * aptX support
    * Fixed static screen on US996
    * A few other updates i can't remember
    * Any and all changes from Lineage at time of compile
    * Official Nightlies should be coming soon

    Feb 14
    * Fixed Ambient Display
    * Fixed BT Pairing issues on h918
    * Fixed Bluetooth not turning on on other variants (ls997,vs995,us996,h910)
    * Fixed default bluetooth device name
    * CDMA should work "out of the box" now no needing to play with settings (sprint,vzw)
    * Disabled VoLTE and WiFi Calling settings as they are broken and causes random issues when dialing out
    * Any and all upstream Lineage updates at time of compile
    NOTE: as far as i know whats still messed up now is, low audio in video recording, no VoLTE, Quad DAC, and maybe a couple little things (writing this off the top of my head)

    Jan 30
    * Fixed Bluetooth Wakelock
    * Fixed animation glitch when rotating or sleeping device
    * Fixed touch inaccuracy in 270 degree landscape mode
    * Baseband now shows in system info
    * Lots of Lineage updates
    * NOTE: Lineage is removing superuser from main rom and making a flashable zip. for now i'm still including it but this could stop at any time. Basically once they have the zip up on lineageos.org i'll remove it
    * NOTE2: released for all variants but CDMA devices still have the same data issues. I need more then just pople saying "this works" that works i need LOGS people...


    Jan 13
    * Attempt #2 at us996 build
    * Attempt #2 at vs995 build
    * Attempt #2 at h910 build
    * Attempt #2 at ls997 build
    * All sources synced and up to date as of the build date and time

    Jan 10
    * Fixed LS997 build to flash without editing script
    * initial H910 build

    Jan 9
    * initial VS995 build

    Jan 8
    * initial LS997 build
    * initial US996 build

    Jan 04
    * Removed some unneeded telephony related overlays. Seems to fix slow connection of phone calls
    * Fixed Wi-Fi Tethering (credit: Rashed)
    * Various changes to fix GPS in navigation, not 100% yet but a lot better

    Dec 28
    * We are now at the same state as the G5 builds
    * Removed LED settings since we don't have one
    * Add a couple missing build props from stock (dalvik heap size etc)
    * Updated mixer_paths.xml to match stock. (no real world difference just good practice)
    * Updated telephony libs (fixes the random FC of .timeservice and .dataservice
    * Fixed the static during boot animation (was a merge fail of a .dtsi for screen commands)
    * Speed improvments do the above fix
    * Wide angle camera now is usable in Snap. To use, just tap the button you tap for front camera until you get to wide angle lens
    * Synced with latest source
    * Picked commits that rebrand CM to LineageOS

    Dec 25
    * Fixed UI "bleeding" into 2nd screen, still a animation glitch but tracking that down
    * Fixed Camera (Picture and Video)
    * Fixed LiveDisplay
    * fixed auto brightness curve
    * Cleanup


    Dec 19
    * initial test release


    l5SakBJ.png



    lSuV72q.png

    https://github.com/LineageOS
    https://github.com/LineageOS/android_device_lge_h918
    https://github.com/Team-Hydra/android_device_lge_v20-common
    https://github.com/Team-Hydra/android_kernel_lge_msm8996

    Contributors
    albinoman887
    18
    the second screen is more than likely rooted into LS's Framework (notifications) and not a public source. meaning to make it work like its current state will be more than adding a few apps.
    just my 2 cents

    yeah i'm not even gonna try and bother emplementing its features i just want to disable it. i tried playing with the dts for the panel which i got the display to the right size but it messes up touch and hw overlays. wm overscan causes gltiches wm size bases its size off the center of the screen so to get everything out of the 160px 2nd screen you need to set it to 1400x2400 which isnt ideal and it causes glitches on rotation. my goal is to either A: fix the hw overlays then mod the touch driver to offset itself.. B: change wm overcan C: fix the scailing issues with the overscan option... been trying for days with Rashed but still nothing new..

    got cam and ok google from any screen working though :)
    13
    Could you do a build of Beanstalk or Resurection Remix for T-Mobile? Or are those still far away?

    I'm getting my device h918 tomorrow to join in the fun. I'll be officially maintaining for RR
    13
    new builds posted. major updates... if you have issues do a full wipe... make a backup before flashing... should be good though. even though i havent released a build in almost a month ive been working every single day to get thsi phone closer to stable status... we are pretty much there minus a few things like volte and low video recording volume. I should be enabling lineage nigtlies sometime soon. (week or two) after that this thread will no longer be updated... Ive spent hours and hours and HOURs on this and although it was fun I have everything I need for a DD working and the donations arent really something to write home about. I will still be working on it but i might not take as much of a active role in the xda community part until a new los version like los 15 or something comes out. We have a few great devs in here who have forked my work and are in contact with me on probably a weekly, if not daily basis. Basically i'm just saying if i dont post for awhile dont worry. thats a good thing. that means the device is stable enough i can just allow the cm servers to build and i can maintain the functionality of what it is at this state by fixing new bugs that crop up (if they do) from new source merges) But honestly i'm getting ahead of myself the nightlies arent even going for v20 yet so....


    Enjoy the build guys.

    let me know of any bugs if any