[Android 10.0.0]LineageOS 17.1 [STABLE] - LineageOS 18.0 [PRE-ALPHA] for V40

Search This thread

SGCMarkus

Recognized Developer
Jan 10, 2011
1,110
2,179
HTC Desire HD
OnePlus 2
Lineage-OS-Feature-Image-Background-Colour.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

Code:
#include "std_disclaimer.h"
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

What's working:
  • RIL (Calls, SMS, Data)
  • Fingerprint
  • Wi-Fi
  • Bluetooth
  • Camera
  • Video Recording
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • GPS
  • DAC
  • Vibration
  • Wifi Hotspot
  • Selinux enforcing

What's not working:
  • BT Audio in some situations

Where are the features? (LOS18.0 edition)
  • LineageOS 18.0 is in early development process so don't complain about xyz features missin or crashing!


Instructions:
  • you flash in TWRP
  • you DONT inject TWRP (yet, when TWRP is made for metadata, then you can)
  • you reboot to other lots recovery (atm thats lineage one)
  • there you HAVE TO format data/factory reset
  • then you can install gapps and so (by apply update and adb sideload)
  • then boot system

V40 Telegram group chat

Downloads:
GDrive

Sources:
Device Tree judypn: judypn
Device Tree sdm845-common: sdm845-common
Device Tree lge common: lge common
hardware/lge: hardware/lge
Kernel: sdm845
Vendor: lge
lineage-17.1 branch

XDA:DevDB Information
LOS for Judypn, ROM for the LG V40

Contributors
SGCMarkus
Source Code: https://github.com/LineageOS

ROM OS Version: Android 10/11
ROM Kernel: Linux 4.x
ROM Firmware Required: 10

Version Information
Status: Stable + Pre-Aplha

Created 2019-09-20
Last Updated 2020-09-20
 

Attachments

  • photo_2019-09-20_21-50-28.jpg
    photo_2019-09-20_21-50-28.jpg
    49.2 KB · Views: 15,102
  • photo_2019-09-20_21-50-32.jpg
    photo_2019-09-20_21-50-32.jpg
    65.8 KB · Views: 15,287
  • photo_2019-09-20_21-50-35.jpg
    photo_2019-09-20_21-50-35.jpg
    57.9 KB · Views: 14,918
  • photo_2019-09-20_21-50-37.jpg
    photo_2019-09-20_21-50-37.jpg
    72.8 KB · Views: 13,911
  • photo_2019-09-20_21-50-39.jpg
    photo_2019-09-20_21-50-39.jpg
    50.2 KB · Views: 13,522
  • photo_2019-09-20_21-50-42.jpg
    photo_2019-09-20_21-50-42.jpg
    75.4 KB · Views: 13,568
  • photo_2019-09-20_21-50-45.jpg
    photo_2019-09-20_21-50-45.jpg
    86.7 KB · Views: 13,128
  • photo_2019-09-20_21-50-51.jpg
    photo_2019-09-20_21-50-51.jpg
    52.9 KB · Views: 12,634
  • photo_2019-09-20_21-50-55.jpg
    photo_2019-09-20_21-50-55.jpg
    35.4 KB · Views: 12,097
  • photo_2019-09-20_21-50-58.jpg
    photo_2019-09-20_21-50-58.jpg
    26.5 KB · Views: 11,586
  • photo_2019-09-20_21-51-00.jpg
    photo_2019-09-20_21-51-00.jpg
    28.3 KB · Views: 11,079
  • photo_2019-09-20_21-51-07.jpg
    photo_2019-09-20_21-51-07.jpg
    52.7 KB · Views: 10,841
  • photo_2019-09-20_21-51-10.jpg
    photo_2019-09-20_21-51-10.jpg
    42.1 KB · Views: 10,761
Last edited:

SGCMarkus

Recognized Developer
Jan 10, 2011
1,110
2,179
HTC Desire HD
OnePlus 2
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Changelogs

Release 20.09.2019
- Initial release

Release 02.11.2019
- Updated LOS sources (October security patch, other things)
- Switched to Z01R prebuilt Display and Media HALs
- Building nearly everything except the necessary prebuilt from source (Display + Media HALs)
- Fixed Wifi hotpot (thx to @Xsavi for pointing me into the right direction :) )
- Vibration wont **** up anymore (but is weaker instead for some reason)
- Tons of other stuff i might have forgotten

Release 05.01.2020
- Updated LOS 17.0 to LOS 17.1 (december security patch, pixel feature drop rebase)
- Updated Z01R prebuilt Display and Media HALs to final
- Using V405EBW 20d (November) proprietary files
- Added SDFAT driver for exfat support by the kernel
- Few wifi changes
- other things i may have forgotten

Release 09.12.2020
- Updated LineageOS sources, September patch
- based on V405EBW 30b -> requires 10 firmware
- enabled A2DP offload + Qti BT Stack
- Qti power hal + different dt2w
- fixed offscreen gestures
- enabled metadata encryption (ext4 + f2fs supported) by using persdata
- SELinux enforcing (gib logs if something doesnt work properly, so far what i tested it worked)
- removed some unneeded LG crap
- rebased kernel on V405EBW 30b + CAF Upstream to 08100, Linux Upstream to 4.9.235
- fixed DAC issues with avc reset/it turning off automatically
 
Last edited:

SGCMarkus

Recognized Developer
Jan 10, 2011
1,110
2,179
HTC Desire HD
OnePlus 2
Frequently Asked Questions:

Q. Can this ROM be flashed through TWRP?
A. Yes, proceed with the latest TWRP image

Q. Sounds good. How can I contribute to project?
A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.

Q. How to disable "Apps running in background" dialog?
A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.

Q. Which Models of the V40 are supported?
A. Tested on V405EBW and V405UA so far, but should work on all, EXCEPT US T-mobile variant.
 
Last edited:

T3R4BYTE

Member
Sep 16, 2019
47
19
Arlington
Awesome work Markus! Your dedication to the development of this device is extremely encouraging to get other to want to start developing on this phone. Thank you for your work!:D
 

Droidman61

Senior Member
Apr 18, 2013
293
23
Nor Cal
Awesome guys thank you all, I will be donating. Question how do I install TWRP on my Sprint (Unlocked Pie) to install this?:confused:
 

samfriedmann_

New member
Sep 15, 2017
3
1
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?
 

Ainz_Ooal_Gown

Senior Member
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?

Because T-Mobile wants to be different, if you try to unlock the bootloader the normal way you get a brick. If my memory is working correctly, Vlad has mentioned something about being able to unlock the bootloader but with soldering and opening the device itself.

---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------

What partitions would I check on backup in TWRP if I was going to install Lineage 16 or 17?:confused:

Well first you would backup everything minus system.img and Vendor.img...on both slots just to make sure
 

SGCMarkus

Recognized Developer
Jan 10, 2011
1,110
2,179
HTC Desire HD
OnePlus 2
Why doesn't this work on the T-Mobile model, and is there any hope for owners of that model in terms of custom ROMs?

The tmobile variants always have a different RSA key for their firmware -> the one from the other models wont work.
Kernel and so on would work fine (would just need different firmware files), but the issue is that you cant even unlock/root in the first place (to my knowledge)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Lineage-OS-Feature-Image-Background-Colour.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    Code:
    #include "std_disclaimer.h"
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    What's working:
    • RIL (Calls, SMS, Data)
    • Fingerprint
    • Wi-Fi
    • Bluetooth
    • Camera
    • Video Recording
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • GPS
    • DAC
    • Vibration
    • Wifi Hotspot
    • Selinux enforcing

    What's not working:
    • BT Audio in some situations

    Where are the features? (LOS18.0 edition)
    • LineageOS 18.0 is in early development process so don't complain about xyz features missin or crashing!


    Instructions:
    • you flash in TWRP
    • you DONT inject TWRP (yet, when TWRP is made for metadata, then you can)
    • you reboot to other lots recovery (atm thats lineage one)
    • there you HAVE TO format data/factory reset
    • then you can install gapps and so (by apply update and adb sideload)
    • then boot system

    V40 Telegram group chat

    Downloads:
    GDrive

    Sources:
    Device Tree judypn: judypn
    Device Tree sdm845-common: sdm845-common
    Device Tree lge common: lge common
    hardware/lge: hardware/lge
    Kernel: sdm845
    Vendor: lge
    lineage-17.1 branch

    XDA:DevDB Information
    LOS for Judypn, ROM for the LG V40

    Contributors
    SGCMarkus
    Source Code: https://github.com/LineageOS

    ROM OS Version: Android 10/11
    ROM Kernel: Linux 4.x
    ROM Firmware Required: 10

    Version Information
    Status: Stable + Pre-Aplha

    Created 2019-09-20
    Last Updated 2020-09-20
    10
    Changed the Download Link to point to a folder on my gdrive, which will contain all future builds... There been quite the changes since last release on here and the build in there, so i might have forgotten something:
    - Newer LOS Sources/Security patch
    - Improved Audio
    - DAC has its own HAL now
    - Hotspot fully works now
    9
    I know, its been a while, been busy with uni, but got an update for you (using it as my daily driver)

    Release 02.11.2019
    - Updated LOS sources (October security patch, other things)
    - Switched to Z01R prebuilt Display and Media HALs
    - Building nearly everything except the necessary prebuilt from source (Display + Media HALs)
    - Fixed Wifi hotpot
    - Vibration wont **** up anymore (but is weaker instead for some reason)
    - Tons of other stuff i might have forgotten
    8
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    Changelogs

    Release 20.09.2019
    - Initial release

    Release 02.11.2019
    - Updated LOS sources (October security patch, other things)
    - Switched to Z01R prebuilt Display and Media HALs
    - Building nearly everything except the necessary prebuilt from source (Display + Media HALs)
    - Fixed Wifi hotpot (thx to @Xsavi for pointing me into the right direction :) )
    - Vibration wont **** up anymore (but is weaker instead for some reason)
    - Tons of other stuff i might have forgotten

    Release 05.01.2020
    - Updated LOS 17.0 to LOS 17.1 (december security patch, pixel feature drop rebase)
    - Updated Z01R prebuilt Display and Media HALs to final
    - Using V405EBW 20d (November) proprietary files
    - Added SDFAT driver for exfat support by the kernel
    - Few wifi changes
    - other things i may have forgotten

    Release 09.12.2020
    - Updated LineageOS sources, September patch
    - based on V405EBW 30b -> requires 10 firmware
    - enabled A2DP offload + Qti BT Stack
    - Qti power hal + different dt2w
    - fixed offscreen gestures
    - enabled metadata encryption (ext4 + f2fs supported) by using persdata
    - SELinux enforcing (gib logs if something doesnt work properly, so far what i tested it worked)
    - removed some unneeded LG crap
    - rebased kernel on V405EBW 30b + CAF Upstream to 08100, Linux Upstream to 4.9.235
    - fixed DAC issues with avc reset/it turning off automatically
    5
    Frequently Asked Questions:

    Q. Can this ROM be flashed through TWRP?
    A. Yes, proceed with the latest TWRP image

    Q. Sounds good. How can I contribute to project?
    A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.

    Q. How to disable "Apps running in background" dialog?
    A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.

    Q. Which Models of the V40 are supported?
    A. Tested on V405EBW and V405UA so far, but should work on all, EXCEPT US T-mobile variant.