[ROM][UNOFFICIAL][N/O][F500,LS991,H81x,US991,VS986] LineageOS 15.1/14.1

Search This thread

ThePiGuy

Senior Member
Nov 5, 2017
1,305
1,245
113
  • Like
Reactions: polfrank

miguelr4720

Senior Member
May 24, 2015
111
35
58
27
New York
Hopefully not


Not yet for h811. I wanted to try it with h815 first.

And regarding BT calls, as I told you last time it is a known problem. Yes we are trying to solve it, but as we do not know know why it is happening, we can't solve it yet.

Edit: also try a clean install without magisk to see if it clears up the vendor mismatch error

After removing magisk and reinstall magisk and install safetynet fix I get the miss match error again any clue :confused:
 

kessaras

Recognized Developer
Sep 28, 2013
4,665
9,445
263
36
Athens
www.audioshow.gr
crap, it still not working... my mac still 0... plz somebody heulp me T_T

no. backup won't restore it.
you have to find your mac address and manually add it back.

you will find it using a binary hex editor and opening with it your misc partition.

then copy your real mac address into /data/misc/wifi/config
Must look like this :
cur_etheraddr=00:00:00:00:00:00
replace zeros with your mac address. reboot, fixed.

how to edit misc partition ?
dd command to extract your misc partition or SALT of @steadfasterX and open it with a hex editor.
happy fixing it and never format or erase everything again. only wipe whats needed and thats the data partition.
 
  • Like
Reactions: polfrank

ThePiGuy

Senior Member
Nov 5, 2017
1,305
1,245
113
After removing magisk and reinstall magisk and install safetynet fix I get the miss match error again any clue :confused:

Do a full clean install. Make sure you have the latest version of the rom downloaded to internal storage and then boot to twrp, wipe system, data, cache and dalvik (make a backup first of anything)

Then tell me if you get a vendor mismatch error (without installing magisk at all)
 
  • Like
Reactions: polfrank

JK-FINN

Senior Member
Jan 3, 2012
172
42
0
Ok this shouldn't be the case. It has been working up until recently. Do you hear nothing at all? If so, it's another mixer path that needs to be fixed.

Above 4 or so posts up, I have linked instructions to do a logcat - please complete them and come back here
I am still on Official N LineageOS, I need my BT ANC headphones every day for music listening, so I asked before installation.
 

Wuddelchen

Member
Dec 20, 2017
14
2
3
So, I had a boot loop out of nothing today and re-flashed the latest, no problems there - except flashlight missing.

One question: LOS 14.x had a "soft reboot" option, is that hidden somewhere? Or was it removed for a reason?
 

ThePiGuy

Senior Member
Nov 5, 2017
1,305
1,245
113
So, I had a boot loop out of nothing today and re-flashed the latest, no problems there - except flashlight missing.

One question: LOS 14.x had a "soft reboot" option, is that hidden somewhere? Or was it removed for a reason?

Lineage 15.1 is still missing a few features when compared to Lineage 14.1. We haven't done anything to remove anything - everything is source built from the LOS sources so when/if it is ported over, then it will appear in the next update afterwards
 

Wuddelchen

Member
Dec 20, 2017
14
2
3
Lineage 15.1 is still missing a few features when compared to Lineage 14.1. We haven't done anything to remove anything - everything is source built from the LOS sources so when/if it is ported over, then it will appear in the next update afterwards

Alright, I'm still new-ish to these things, good to know how things are done! Thanks :)
 

miguelr4720

Senior Member
May 24, 2015
111
35
58
27
New York
Do a full clean install. Make sure you have the latest version of the rom downloaded to internal storage and then boot to twrp, wipe system, data, cache and dalvik (make a backup first of anything)

Then tell me if you get a vendor mismatch error (without installing magisk at all)


I Try All Of That Already and i keep getting the Same thing it all starts after installing Universal Safetynet Fix :confused:

When Ever I Remove Magisk Safetynet Fix the Error Goes Away but am Getting and X ctsprofile False and basicIntergrity True after removing safetynet fix. but when i install magisk safety net fix the same error comes again on boot everytime and i think is a rom issue ctsprofile H811 Device please fix or leet me know with any other solution wiping data and system and factory wiping cache reset factory setting did not help??:crying:
 

rocky184

Senior Member
Jan 16, 2011
57
19
28
Last edited:
  • Like
Reactions: ThePiGuy

miguelr4720

Senior Member
May 24, 2015
111
35
58
27
New York
The Only Fix i guess for this is to wait for a New Build H811 Update to Come Soon
hope it fix the BT Issue and the Vendor Error every time i get in after boot to click Ok

Hope to see a fix for this in the future

---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------

@ ThePiGuy
Has a couple of reboots today so did a full wipe and reinstalled 28/04 version which works fine and sound ok.
Have then done another clean install of 23/05 version and no sound for phone when connected via headphones....logcat attached

i Did Follow All The Instruction still no luck

Format Data and System and Cache did not solve anything with the Vendor error i get everytime using Magisk?
 

ThePiGuy

Senior Member
Nov 5, 2017
1,305
1,245
113
I Try All Of That Already and i keep getting the Same thing it all starts after installing Universal Safetynet Fix :confused:

When Ever I Remove Magisk Safetynet Fix the Error Goes Away but am Getting and X ctsprofile False and basicIntergrity True after removing safetynet fix. but when i install magisk safety net fix the same error comes again on boot everytime and i think is a rom issue ctsprofile H811 Device please fix or leet me know with any other solution wiping data and system and factory wiping cache reset factory setting did not help??:crying:
Ok right. So the problem stems from magisk SafetyNet fix. That's what I needed to know. For some reason it's tampering with the device vendor signature. I don't know why that is.

Hopefully once we get everything enforcing, SafetyNet will pass anyway (it's not very stringent on the G4 - locked bootloader or custom software does not cause it to fail but permissive selinux does)
 

miguelr4720

Senior Member
May 24, 2015
111
35
58
27
New York
lineage-15.1-20180520-UNOFFICIAL-h811.zip 2018-May-20 20:04

This the build am using

Getting the Vendor Error Using Magisk with safetynet fix?

---------- Post added at 05:20 PM ---------- Previous post was at 05:18 PM ----------

Ok right. So the problem stems from magisk SafetyNet fix. That's what I needed to know. For some reason it's tampering with the device vendor signature. I don't know why that is.

Hopefully once we get everything enforcing, SafetyNet will pass anyway (it's not very stringent on the G4 - locked bootloader or custom software does not cause it to fail but permissive selinux does)


Great So Hopefully you can fix this in the future so yea i guess ctsprofile false withot safetynet fix but then safetynet fix triggers the Vendor Signature:D:D:D:D
 

raptorddd

Senior Member
Jun 13, 2013
6,481
2,325
253
culiacan
The Only Fix i guess for this is to wait for a New Build H811 Update to Come Soon
hope it fix the BT Issue and the Vendor Error every time i get in after boot to click Ok

Hope to see a fix for this in the future

---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------

@ ThePiGuy
Has a couple of reboots today so did a full wipe and reinstalled 28/04 version which works fine and sound ok.
Have then done another clean install of 23/05 version and no sound for phone when connected via headphones....logcat attached

i Did Follow All The Instruction still no luck

Format Data and System and Cache did not solve anything with the Vendor error i get everytime using Magisk?

dont get your hopes high. blue tooth if am not mistaken its present and all if not most oreo roms. so its a tough one.
 

miguelr4720

Senior Member
May 24, 2015
111
35
58
27
New York
i know BT Could take more longer to fix but really it sounds like your talking on radio this bug is crazy with BT Everytime i have to keep Switching My BT Handset earpiece LOL Yea Definitely right is more and Oreo Issue on 14.1 i never had this issue on Phone LOL
 

ThePiGuy

Senior Member
Nov 5, 2017
1,305
1,245
113
The Only Fix i guess for this is to wait for a New Build H811 Update to Come Soon
hope it fix the BT Issue and the Vendor Error every time i get in after boot to click Ok

Hope to see a fix for this in the future

---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------



dont get your hopes high. blue tooth if am not mistaken its present and all if not most oreo roms. so its a tough one.
Yep unfortunately so. We have sent out requests to bullhead, nextbit robin and OnePlus 2 owners for logcats (they use very similar/the same hardware) so we can see where ours goes wrong (btw if anybody here owns the OnePlus 2, please pm me about it) and so far we have got logs from @tinuthir (nexus 5x owner) and also from @javelinanddart (nextbit maintainer) so a massive thanks to both of those guys. From this point we need to analyse the logs to see what those devices do compared to ours
 
Last edited:

hteles

Senior Member
Oct 10, 2011
522
235
73
Sintra
Moto G 5G Plus
Hi guys.
Been out on vacation and had some problems with the hotel, because, just figure, everytime I did reboot the phone my wifi Mac address changed.

I guess that this started happening after I encrypted my phone, so if anyone can confirm that this doesn't happen with unencrypted data, it should be added to the known bugs.

I suppose that when data is fully encrypted a lot of things stop working. Is /data been mounted too late?

I have a valid /data/misc/wifi/config that is been ignored totally.
Everytime i restart the phone the wifi will change last three octects starting with 00:90:4c

Regards
 
Last edited:
  • Like
Reactions: obvious

sreehax

Senior Member
May 27, 2017
52
9
0
United States
Hi guys.
Been out on vacation and had some problems with the hotel, because, just figure, everytime I did reboot the phone my wifi Mac address changed.

I guess that this started happening after I encrypted my phone, so if anyone can confirm that this doesn't happen with unencrypted data, it should be added to the known bugs.

I suppose that when data is fully encrypted a lot of things stop working. Is /data been mounted too late?

I have a valid /data/misc/wifi/config that is been ignored totally.
Everytime i restart the phone the wifi will change last three octects starting with 00:90:4c

Regards

wait how did you get encryption working (how did you install this rom, did you install root etc)
 

hteles

Senior Member
Oct 10, 2011
522
235
73
Sintra
Moto G 5G Plus
wait how did you get encryption working (how did you install this rom, did you install root etc)

Please check OP, I think it refers something, but this ROM supports encryption since first day ( Oreo 8.1 )
Also you will need a in-development TWRP from SteadfasterX's.

Sorry can't help more, but I'm away from my laptop.

Edit: Please read the problems related to encryption.
 

sreehax

Senior Member
May 27, 2017
52
9
0
United States
Please check OP, I think it refers something, but this ROM supports encryption since first day ( Oreo 8.1 )
Also you will need a in-development TWRP from SteadfasterX's.

Sorry can't help more, but I'm away from my laptop.

Edit: Please read the problems related to encryption.

Huh thats weird encryption works perfectly for everyone else except me. I tried using official builds, building myself, etc. Possibly this is a sign of the impending doom of the bootloop
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Introduction

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

    Requirements
    • Your device need to be unlocked either officially (h815 international or h811) or by UsU
    • Your bootloader stack should be on MM 20p (20x for H811) or higher! (see FAQ #20 for how to upgrade your bootloader stack).
      .... and for your convenience I have even created TWRP flashable files for that here
    • in particular that means this thread is for:
      F500 (UsU'd)
      H810 (UsU'd)
      H811
      H812 (UsU'd)
      H815 (official unlocked or UsU'd)
      H819 (UsU'd)
      LS991 (UsU'd)
      US991 (UsU'd)
      VS986 (UsU'd)
    • Latest TWRP - PREVIEW build: click
    • Do a full Nandroid backup before doing anything!
    Installation Instructions

    1. This single very first step is for UsU'd devices only:
      If you have ever flashed the UsU baseband package: Clean flash the modem partition from your backup in TWRP.
      If you do not know if you ever flashed it simply flash your modem partition again and you can be sure. This can't do any harm.
      If you have no backup:
      - TWRP flashable MM modems (N might not work)
    2. Full clean install as described here (FAQ "#2") is highly recommended. DO NOT REPORT ISSUES when you have skipped that step!
    3. Flash LOS
    4. Optional: Flash GApps (8.1 - ARM64 for LOS 15.1, 7.1 - ARM64 for LOS 14.1) if you like
    5. Optional (if you want root): Flash the official LOS root-addon (addonsu-15.1-arm64-signed.zip or addonsu-14.1-arm64-signed.zip) or Magisk (do not report issues if you have Magisk installed though!)
    6. Boot (will take a bit on first boot!!!)
    7. Enjoy

    For more detailed instructions, please see my website (thepiguy0.github.io/installing)

    Update Instructions

    To update from a previous version of my rom:
    • If it is an old version of the rom, it is recommended to do a clean flash - Be aware that your data will be deleted
    • If it is a relatively recent version, a dirty flash should be ok - wipe cache and dalvik cache and then flash on top of your current installation - This keeps all your files
    Current Issues

    For a current list of all issues including possible workarounds:


    Summary (again check out the above linked issue tracker for a current state):
    • Bluetooth calling FIXED!
    • Flashlight icon on quick toggles FIXED!
    • SIM pin unlocking (Ril works, better to use an unlocked sim card for now) FIXED!
    • Magisk when encrypted - state UNKNOWN
    • Permissive SELinux FIXED!
    • Probably more undiscovered bugs
    Downloads

    Get the latest builds from steadfasterX's server
    Get the legacy builds from my Google drive

    Building from source

    If you want to build this from source, follow the LG H815 build guide (replace H815 with H811 if needed). Immediately before the "repo sync" step, copy our local manifest (https://github.com/Suicide-Squirrel/local_manifests/blob/los-15.1/roomservice.xml) into the .repo/local_manifests/ folder. Now run repo sync.
    Then miss out breakfast and proprietary files steps before continuing with Jack memory optimisations
    Changelog

    Go through the results here: click
    older ones click here:

    20/05/2018
    • WiFi Hotspot is now fixed
    • H811 audio is fixed
    • More audio enhancements behind the scenes
    • Increased performance in Titan Kernel
      28/04/2018
      • Audio is now fully working (with the exception of bluetooth calling)
      • Camera and screen recorder are now both fully fixed and work
      • Latest Lineage and Titan updates


    • FAQ
      Will be added as the time goes.


      Credits

      @kessaras, @steadfasterX and the LineageOS team

      Sources

      Lineage source code - https://github.com/LineageOS/
      Device trees and kernel (forked from cypheros) - https://github.com/suicide-squirrel/
      Proprietary files - https://github.com/CypherOS/





      PREVIOUS OP (for historical reasons)

      Introduction

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

      Requirements
      • LG G4 H815/H811
      • Latest MM firmware for H811 and latest Nougat/MM firmware for H815
      • Latest official TWRP or the latest TWRP preview from steadfasterX's server - This prevents the error 7 from appearing
      • For UsU devices, follow @steadfasterX's instructions for TWRP
      Installation Instructions

      1. Download appropriate zip for your device along with any additional modules such as gapps (arm64 android 8.1 needed)
      2. Recommended - Create a full nandroid backup to allow you to restore to your previous OS if needed
      3. Wipe system, data, cache and dalvik cache - Be aware that this WILL remove your currently installed OS and wipe your apps and most data
      4. Flash the lineage zip, followed immediately by gapps if applicable
      5. Reboot into system and wait for boot

      For more detailed instructions, please see my website (thepiguy0.github.io/installing)

      Update Instructions

      To update from a previous version of my rom:
      • If it is an old version of the rom, it is recommended to do a clean flash - Be aware that your data will be deleted
      • If it is a relatively recent version, a dirty flash should be ok - wipe cache and dalvik cache and then flash on top of your current installation - This keeps all your files
      Current Issues

      For a current list of all issues including possible workarounds:


      Summary (again check out the above linked issue tracker for a current state):
      • Bluetooth calling
      • Flashlight icon on quick toggles
      • SIM pin unlocking (Ril works, better to use an unlocked sim card for now)
      • Magisk when encrypted
      • Permissive SELinux
      • Probably more undiscovered bugs
      Downloads

      Get the latest builds from steadfasterX's server
      Get the legacy builds from my Google drive

      Building from source

      If you want to build this from source, follow the LG H815 build guide (replace H815 with H811 if needed). Immediately before the "repo sync" step, copy our local manifest (https://github.com/Suicide-Squirrel/local_manifests/blob/los-15.1/roomservice.xml) into the .repo/local_manifests/ folder. Now run repo sync.
      Then miss out breakfast and proprietary files steps before continuing with Jack memory optimisations
      Changelog
      20/05/2018
      • WiFi Hotspot is now fixed
      • H811 audio is fixed
      • More audio enhancements behind the scenes
      • Increased performance in Titan Kernel
        28/04/2018
        • Audio is now fully working (with the exception of bluetooth calling)
        • Camera and screen recorder are now both fully fixed and work
        • Latest Lineage and Titan updates





      • XDA:DevDB Information
        LineageOS 14.1/15.1 for LG G4, ROM for the LG G4

        Contributors
        ThePiGuy, steadfasterX, kessaras, berkantkz and LineageOS
        Source Code: https://github.com/LineageOS/

        ROM OS Version: 8.x Oreo
        ROM Kernel: Linux 3.10.x
        ROM Firmware Required: v20 (or higher for H815) bootloader and modem
        Based On: Lineage OS

        Version Information
        Status: Stable
        Current Beta Version: 20180428
        Beta Release Date: 2018-04-28

        Created 2018-04-26
        Last Updated 2019-12-22
    24
    New builds are coming.

    I have scheduled a new build for all major G4 models - right now.
    The build will run in that order:
    1. h815
    2. h811
    3. UsU - h815
    4. UsU - vs986
    5. UsU - h812
    6. UsU - h810

    As usual the build process will take approx 6-10 hours until ALL models finished and its current progress can be watched here:

    Summary Changelog:
    • many selinux policies added - based on our tests and your feedback
    • selinux set to enforcing - the very first 15.1 build which comes with enforcing :highfive:
      if you encounter issues: provide a logcat output like this and upload it to http://bpaste.net):
      Code:
      adb logcat -b all -d |grep 'avc: '
    • a NFC error which might or might not fix things for some of you
    • camera and sensor related issues (kernel)
    • security patch level (for the Android framework - NOT the kernel): 5th of December 2018
    • .. and more

    Full Changelog:

    Cheers
    sfX

    UPDATE:
    Sorry for the delay but I ran out of disk space on my tmp directory. New builds for the affected models started already again :
    https://lets.binbash.it:8800/job/LG-G4/job/LOS-15.1/job/Build all LGE-G4 models/


    .
    23
    Thank you so much for your awesome roms! Oreo works awesome on my h815, can't wait to upgrade to Pie! Would you consider it as fairly stable for daily use?
    Also, do you have plans to register your server at Brave as a publisher in order to receive donations via BAT too? :)
    Wait with upgrading to pie for the next pie build which is coming soon.
    I don't know what brave or BAT is but I guess PayPal and Bitcoin are good enough for my needs. Donations are of course welcome but definitely not necessary. A click on the thank you button is all I expect ;)


    Sent from my OnePlus 6T using XDA Labs
    18
    The long wait is almost over..

    stay tuned dudes.. we HAVE A FIX for the infamous BT voice distortion!!!! I will do some more tests and optimizing it but IT WORKS :)
    Once I have finished all stuff I will do new builds asap.

    so KEEP EXCITED :)

    .-
    17
    jfi:
    I have scheduled a new build run for all major G4 models (h811, h815, UsU - h815, UsU - vs986, UsU - h812, UsU - h810) today at 8 PM CEST.

    As usual the build process will take approx 9-10 hours to complete and can be watched here (once it has started):
    https://lets.binbash.it:8800/blue/o...-G4/LOS-15.1/Build all LGE-G4 models/activity

    Changes which will be included:
    https://github.com/Suicide-Squirrel/android_device_lge_g4-common-LOS/commits/lineage-15.1
    https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4/commits/oreo-mr1-release_synced

    which should bring up the latest massive improvements by @kessaras :
    • battery achievements
    • RIL improvements
    • selinux policies added but I still set selinux to permissive
      (if you wanna help to enforce: provide a logcat output like this and upload it to http://bpaste.net):
      Code:
      adb shell dmesg |grep 'avc: '
    • .. and more

    Cheers
    sfX

    .
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone