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

Search This thread

sisssou

Senior Member
Feb 9, 2013
104
10
Paris
Xiaomi Mi A3
was that ever working? Do you have tried to mount firmware manually or does that happen during install?
from the log it looks like it cannot detect the partition properly which is weird ofc.. but it also looks like the install went fine. is the last message a success or fail from the GUI screen?
Yes install process went fine (Success). But I get a black screen on boot.
And it seems that /firmware partition is Obyte long...
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
Idem with twrp-3.3.1-PREVIEW-222.
I also have this message :
Code:
Unable to decrypt FBE device

ok so this is nothing new .. still 0 byte for the firmware partition so it was maybe never working that way on N.
u can safely ignore the FBE device message.

as the flashing is successful all that might does not matter (much).
I would recommend to do a clean flash so wipe cache, system and dalvik and then flash LOS


-.
 

sisssou

Senior Member
Feb 9, 2013
104
10
Paris
Xiaomi Mi A3
ok so this is nothing new .. still 0 byte for the firmware partition so it was maybe never working that way on N.
u can safely ignore the FBE device message.

as the flashing is successful all that might does not matter (much).
I would recommend to do a clean flash so wipe cache, system and dalvik and then flash LOS

I tried that with both TWRP twrp-3.3.1-PREVIEW-222 and TWRP 3.4.0-PREVIEW-230_g4_N : black screen (I waited enough time for a boot after a dalvik flash).

Is there a way to restore firmware partition ? With fastboot ? Flashing another ROM ?
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
I tried that with both TWRP twrp-3.3.1-PREVIEW-222 and TWRP 3.4.0-PREVIEW-230_g4_N : black screen (I waited enough time for a boot after a dalvik flash).

Is there a way to restore firmware partition ? With fastboot ? Flashing another ROM ?

what do you mean by "long enough" ? I just flashed the latest N as well. the boot animation is gone here as well dunno why. but it boots after 5min of waiting. its just the boot animation which is gone.
there is no need to restore a firmware partition. the partition is fine! it is just TWRP which is not able to detect it and AGAIN: TWRP does not need that partition to flash LOS.

consider joining my TG group ;)

.
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
I tried that with both TWRP twrp-3.3.1-PREVIEW-222 and TWRP 3.4.0-PREVIEW-230_g4_N : black screen (I waited enough time for a boot after a dalvik flash).

Is there a way to restore firmware partition ? With fastboot ? Flashing another ROM ?

u can also flash this TEST TWRP for N: I have build it just now and it has that mounting issue fixed (see attachment)

.-
 

Attachments

  • twrp-3.4.0-TEST-2008281455_g4_N.img
    17.7 MB · Views: 16

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
I tried that with both TWRP twrp-3.3.1-PREVIEW-222 and TWRP 3.4.0-PREVIEW-230_g4_N : black screen (I waited enough time for a boot after a dalvik flash).

Is there a way to restore firmware partition ? With fastboot ? Flashing another ROM ?

something weird happened to the bootanimation.zip..
I simply replaced it with one from here: https://xdaforums.com/android/themes/alienware-t3721978 and it shows the boot animation as it should.

Code:
adb root
adb remount
adb push <custom>.zip /system/media/bootanimation.zip
adb reboot

the above is just a quick workaround but at least it is not just a black screen anymore.. will look into that asap.

.-
 

sisssou

Senior Member
Feb 9, 2013
104
10
Paris
Xiaomi Mi A3
something weird happened to the bootanimation.zip..
I simply replaced it with one from here: https://xdaforums.com/android/themes/alienware-t3721978 and it shows the boot animation as it should.

Code:
adb root
adb remount
adb push <custom>.zip /system/media/bootanimation.zip
adb reboot

the above is just a quick workaround but at least it is not just a black screen anymore.. will look into that asap.

Cool !
Bootanimation problem is quite old, but without it it used to work like a charm ;)

u can also flash this TEST TWRP for N
No more errors in TWRP ;)
But still no boot...

---------- Post added at 03:48 PM ---------- Previous post was at 03:34 PM ----------

I revert back a quite recent TWRP backup. I will try later to update this ROM ;)
 

sisssou

Senior Member
Feb 9, 2013
104
10
Paris
Xiaomi Mi A3
No luck with this ROM, impossible to update...
I gave it up and tried last LOS 16 : it's now faster that 14.1, very snappy and stable !
I will stick on this one now ;)
Thanks for all this work !
 

sdembiske

Senior Member
Jan 4, 2015
1,420
1,942
For those of you who may still be building this rom (8.1) for themselves. The latest version of the rom (built on September 12) appears to break the installation/flashing of the Open GApps zips. The Open GApps zips will install (after a full clean) without the rom being installed but when the rom is flashed first followed by the installation of the OpenGApps zip, it fails, hanging endlessley on the completing step. A workaround is to use the MindTheGapps zip referenced on LineageOS Wiki - Google Apps. - No problems with that one and while it is older, all the apps will update eventually to the latest.
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
Reminder

Check out my Telegram groups:
  • sfX Android -> for all questions around Android (i.e. not just LG G4): here
  • sfX Automation -> whenever I build something(i.e. not just LG G4 and will be used for TWRP, SHRP, LOS, /e/, ...): here

New 15.1 builds are cooking..

Progress: sfX Automation
Changelog: sfX Automation

Summary changelog:

  • FIXING OTA update support. From this build on any next build can be downloaded Over The Air (OTA). So .. don't blame me. It is my first implementation of OTA support and so I encountered another issue which can only be solved by this new build.

  • Platform Security Patch: 2020-10-05
.-
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
Reminder

Check out my Telegram groups:
  • sfX Android -> for all questions around Android (i.e. not just LG G4): here
  • sfX Automation -> whenever I build something(i.e. not just LG G4 and will be used for TWRP, SHRP, LOS, /e/, ...): here

New 14.1 builds are cooking..

Progress: sfX Automation
Changelog: sfX Automation

Summary changelog:

  • FIXING OTA update support. From this build on any next build can be downloaded Over The Air (OTA). So .. don't blame me. It is my first implementation of OTA support and so I encountered another issue which can only be solved by this new build.

  • Platform Security Patch: 2020-09-05 (latest avail atm)
.-
 

drasterlx

Senior Member
May 22, 2005
170
8
Reminder

Check out my Telegram groups:
  • sfX Android -> for all questions around Android (i.e. not just LG G4): here
  • sfX Automation -> whenever I build something(i.e. not just LG G4 and will be used for TWRP, SHRP, LOS, /e/, ...): here

New 15.1 builds are cooking..

Progress: sfX Automation
Changelog: sfX Automation

Summary changelog:

  • FIXING OTA update support. From this build on any next build can be downloaded Over The Air (OTA). So .. don't blame me. It is my first implementation of OTA support and so I encountered another issue which can only be solved by this new build.

  • Platform Security Patch: 2020-10-05
.-

Made the update but give me problems.... at the start of the system.. then of linage logo... automatic message shutingdown .... tested rollback to previus version. but the same... so solved with clear reinstall... lucky i have backup of tools with titanium ..
can be a problem of the rom?
is better to move to 16?
Thanks
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,250
15,485
127.0.0.1
OnePlus 7T Pro
Made the update but give me problems.... at the start of the system.. then of linage logo... automatic message shutingdown .... tested rollback to previus version. but the same... so solved with clear reinstall... lucky i have backup of tools with titanium ..
can be a problem of the rom?
is better to move to 16?
Thanks

do you had opengapps installed before?
do you had magisk installed before?
OTA update or regular install?

.-
 

Top Liked Posts

  • There are no posts matching your filters.
  • 74
    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

    .