[FAQ][Discussion]LineageOS 15.1 by abhishek987 [ask your questions HERE]

Search This thread

radogost

Senior Member
Sep 9, 2015
317
287
Jaworzno
Because LineageOS 15.1 by @abhishek987 thread is bloated by questions anwsered before or not dev related - ask and discuss here - to debloat main thread.

How to flash Lineage 15.1:
!NEW AND THE ONLY RECOMMENDED METHOD!

You must be on Oreo. Before flashing delete all your saved fingerprints and screen locks.
1. Reboot to bootloader (Bootloader must be unlocked)
2. fastboot boot recovery-xx.img (in ADB)
-> Grab official recovery from here: https://xdaforums.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472
3. Wipe System/Data/Cache/Dalvik
4. Flash Lineage & TWRP Installer zip
-> Grab TWRP installer from the link above
5. Reboot to recovery using TWRP Recovery (In TWRP go to Reboot -> recovery)
6. Flash Gapps/MicroG (opengapps.org -> platform ARM64 -> Android 8.1 + Variant [IMO pico is your best pick])
7. Flash Magisk [latest] if you want ROOT (I bet you want!)
-> Grab Magisk from here: http://tiny.cc/latestmagisk
8. Reboot to System


How to update from previous build:
If you don't have permament TWRP, just follow the method above.
If you have permament TWRP:
Delete all your previous fingerprints (just for safety)
Boot to TWRP
Wipe Data/Cache/Dalvik (wiping is optional - but clean flash is always encouraged)
Flash Lineage ROM zip file
Flash Magisk
Flash Gapps/MicroG
Reboot



KNOWN BUGS:
* No bugs right now! Enjoy bug-free rom! :)
If you have signal stability issues, try this:
Dial *#*#4636#*#*
Go to Phone information
Set Preferred Network Type from Unknown to LTE or WCDMA only


WHAT IS WORKING:
* Everything else :)

LINEAGE BUILD CHANGELOG:
Code:
[FONT="Arial"]
[B]Most recent build (24.03.2018):[/B]
    Fixed portrait mode
    Enabled hal3 camera by default
    Added doze
    Lineage upstream

[B](22.03.2018): [/B]
    Fixed double tap to wake (should only work for focaltech panel)
    Rebased kernel to latest oreo source drop
    Enabled cpusets
    Lineage upstreams

[B](13.03.2018): [/B]  
    Fixed verity issue (builds now can be flashed without magisk)
    Fixed Live Display
    Fixed Substratum
    Fixed ril issues
    Lineage Upstream changes

[B](08.03.2018): [/B]
    Fixed notification light (should work in call cases now)
    Fixed slow charging
    Fixed deep sleep issue
    Added navbar toggle
    Fixed goodix fingerprint issue (should work for all and all 5 fingerprint should be registered now)
    Lineage Upstream changes

[B](06.03.2018): [/B]
    Fixed led light
    Added fingerprint gestures
    Fixed Bluetooth name
    Fixed battery capacity
    Lineage upstream changes[/FONT]


Have fun with LOS!
 
Last edited:

radogost

Senior Member
Sep 9, 2015
317
287
Jaworzno
Q&A

What does NIGHTLY mean?
Nightlies are automatical builds (every few days), so it mean you will have frequent updates, recent Lineage changes will be present in a rom. Also fixes and new stuff will come faster!


How I can go back to stock?

Grab Mi A1 tool from here: https://xdaforums.com/mi-a1/how-to/tool-xiaomi-mi-a1-tool-drivers-unlock-t3742857.
Install it in your PC, enable USB Debugging on your phone, plug phone to PC
Click Flash Stock ROM button
Click Download ROM and wait
Click FlashAll. Your phone will reboot to fastboot and it will start to flash stock :)
[You will loose all your data, so backup is encouraged]


Do I need to downgrade to Nougat before flashing?

Not anymore :) It's advised to flash from Oreo


After update my FP don't work, wat to do?!

Make a clean flash using method from OP. If clean flash won't help, try: https://xdaforums.com/mi-a1/development/xiaomi-mi-a1-tissot-firmware-flashable-t3759886


Is Dolby working on Lineage 15.1? How to install it?

Just download Magisk module and enjoy!


My mobile signal is unstable. Is there a way to fix it?

Yes, see a workaround from OP


Why Selinux is permissive, not enforcing?

In unofficial builds Selinux is permissive. If the build goes official, it will have Selinux set to enforcing. Don't worry, just wait for official version!


Is this rom stable enough to be a daily driver?

Depends what you need. Check buglist - if these bugs don't bother you - it can surely be a daily driver


When new build will be avaible?

Don't ask for ETAs. Developers are working hard (in their free time!) to fix a bugs - we just need to wait patiently. :)
 
Last edited:

amithiel

Senior Member
Nov 9, 2011
211
82
/local/bin
Some users are experiencing wifi issues (myself included). How can i fetch the log?
Steps to reproduce: Turn off bluetooth. wait a moment... wifi will start dropping connection a lot. To fix, just turn on BT again.
 

kazumakiryu

Member
Oct 5, 2017
12
1
Headphones are working!

By the way. I found a bug. The equalizer don't work correct. Everytime when you skip a song you must tap the bass regulator again in the equalizer app. When you don't do it, it plays without bass.
 
  • Like
Reactions: JakobSWE

mermigas

Senior Member
Mar 16, 2009
956
367
Installed and used for 24 hrs with no apparent problems. No fingerprint bug.
All the other bugs reported in OP exists.
Returned to Stock since I found it a bit smoother.
I will wait for a more stable official build
Good work so far
 
  • Like
Reactions: radogost

rasputine

Senior Member
Apr 4, 2014
102
7
still
 

Attachments

  • Screenshot_1970-03-23-03-06-07.png
    Screenshot_1970-03-23-03-06-07.png
    154.3 KB · Views: 1,538

mjnck

Member
Mar 16, 2014
39
3
Warsaw
Can I install LOS 15.1 without flashing magisk? I have tried this and had bootloop before any lineageos bootlogo
 

saski4711

Senior Member
Jul 9, 2016
518
131
Because LineageOS 15.1 by @abhishek987 thread is bloated by questions anwsered before or not dev related - ask and discuss here - to debloat main thread.

How to flash Lineage 15.1:
There's a few working methods. First, most popular one:
....

Third, last one:
Boot to the recovery (same recovery as method above)
Wipe system and cache ( data is optional if your are on Oreo)
Check which partition you are on (A or on partiton B)
Flash the rom on one of the partitions
Flash the twrp installer zip
link: http://www.mediafire.com/file/338o7cl72z52rzz/twrp-3.2.1-1-installer-tissot-FIXED_By_DroiDMester.zip
Reboot back to the recovery
Switch to the second partition
Flash GAPPS/MicroG and Magisk
Reboot

Sorry to pick this up again but the last method implies that TWRP will be installed permanently as default recovery, right? I was successfull only with the first method however I always end up in LOS recovery when try to enter recovery with Vol-up+Power after everything is installed.
I'm sure we all agree that this whole recovery mess needs to be sorted out quickly. Even experienced users are hitting snags and flood the board with questions :(.
 

kouklakiss

Member
Dec 9, 2017
10
0
i face the same issue with any methond i am using.

in some cases i am unable to install all the zips and in another case i am unable to install only magisk(error 1)

i followed exactly the steps.

any suggestions?
 

goofball2k

Senior Member
Oct 5, 2010
1,568
459
Ottawa
I'm not sure why the issues. I followed the steps in the OP, except I didn't flash TWRP, I just boot to it temporarily.

I did the following:

Flashed 7.11.18 ROM using MiFlash.
Booted into the ROM, set it up minimally.
Rebooted to fastboot, unlocked bootloader
booted temporarily to deadman TWRP, wiped system/cache/dalvik/data (just to be sure it is completely clean)
rebooted and then booted back into deadman TWRP
flashed LOS.
rebooted and then booted back into deadman TWRP
Flashed gapps and magisk.
rebooted to OS.
 

t0per666

Senior Member
Dec 25, 2012
832
283
Manila
hey guys! If you are in STOCK OREO you need to downgrade to NOUGAT FIRMWARE version 7.11.18 because DEADMAN'S TWRP will NOT WORK PROPERLY in STOCK OREO! DEADMAN'S TWRP is made ONLY to WORK ON NOUGAT rom that's why you get those errors!
 

Rakibboss

Senior Member
Jul 25, 2014
509
50
ZSL mode of gcam doesn't work..
Can somebody tell me how to disable hardware navigation keys?

---------- Post added at 01:47 PM ---------- Previous post was at 01:47 PM ----------

ZSL mode of gcam doesn't work..
Can somebody tell me how to disable hardware navigation keys?
 

joeyhuab

Recognized Developer

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Because LineageOS 15.1 by @abhishek987 thread is bloated by questions anwsered before or not dev related - ask and discuss here - to debloat main thread.

    How to flash Lineage 15.1:
    !NEW AND THE ONLY RECOMMENDED METHOD!

    You must be on Oreo. Before flashing delete all your saved fingerprints and screen locks.
    1. Reboot to bootloader (Bootloader must be unlocked)
    2. fastboot boot recovery-xx.img (in ADB)
    -> Grab official recovery from here: https://xdaforums.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472
    3. Wipe System/Data/Cache/Dalvik
    4. Flash Lineage & TWRP Installer zip
    -> Grab TWRP installer from the link above
    5. Reboot to recovery using TWRP Recovery (In TWRP go to Reboot -> recovery)
    6. Flash Gapps/MicroG (opengapps.org -> platform ARM64 -> Android 8.1 + Variant [IMO pico is your best pick])
    7. Flash Magisk [latest] if you want ROOT (I bet you want!)
    -> Grab Magisk from here: http://tiny.cc/latestmagisk
    8. Reboot to System


    How to update from previous build:
    If you don't have permament TWRP, just follow the method above.
    If you have permament TWRP:
    Delete all your previous fingerprints (just for safety)
    Boot to TWRP
    Wipe Data/Cache/Dalvik (wiping is optional - but clean flash is always encouraged)
    Flash Lineage ROM zip file
    Flash Magisk
    Flash Gapps/MicroG
    Reboot



    KNOWN BUGS:
    * No bugs right now! Enjoy bug-free rom! :)
    If you have signal stability issues, try this:
    Dial *#*#4636#*#*
    Go to Phone information
    Set Preferred Network Type from Unknown to LTE or WCDMA only


    WHAT IS WORKING:
    * Everything else :)

    LINEAGE BUILD CHANGELOG:
    Code:
    [FONT="Arial"]
    [B]Most recent build (24.03.2018):[/B]
        Fixed portrait mode
        Enabled hal3 camera by default
        Added doze
        Lineage upstream
    
    [B](22.03.2018): [/B]
        Fixed double tap to wake (should only work for focaltech panel)
        Rebased kernel to latest oreo source drop
        Enabled cpusets
        Lineage upstreams
    
    [B](13.03.2018): [/B]  
        Fixed verity issue (builds now can be flashed without magisk)
        Fixed Live Display
        Fixed Substratum
        Fixed ril issues
        Lineage Upstream changes
    
    [B](08.03.2018): [/B]
        Fixed notification light (should work in call cases now)
        Fixed slow charging
        Fixed deep sleep issue
        Added navbar toggle
        Fixed goodix fingerprint issue (should work for all and all 5 fingerprint should be registered now)
        Lineage Upstream changes
    
    [B](06.03.2018): [/B]
        Fixed led light
        Added fingerprint gestures
        Fixed Bluetooth name
        Fixed battery capacity
        Lineage upstream changes[/FONT]


    Have fun with LOS!
    4
    OP UPDATED. Improved OP readability! Added LineageOS changelog! Updated bugs and what's working section! Hope my thread is helpful for you guys! :)


    How to get night mode option in Los15.1
    3march2018 build.

    On 3th march Live Display (night mode) is not working. Flash latest build and enable Live Display.
    3
    Q&A

    What does NIGHTLY mean?
    Nightlies are automatical builds (every few days), so it mean you will have frequent updates, recent Lineage changes will be present in a rom. Also fixes and new stuff will come faster!


    How I can go back to stock?

    Grab Mi A1 tool from here: https://xdaforums.com/mi-a1/how-to/tool-xiaomi-mi-a1-tool-drivers-unlock-t3742857.
    Install it in your PC, enable USB Debugging on your phone, plug phone to PC
    Click Flash Stock ROM button
    Click Download ROM and wait
    Click FlashAll. Your phone will reboot to fastboot and it will start to flash stock :)
    [You will loose all your data, so backup is encouraged]


    Do I need to downgrade to Nougat before flashing?

    Not anymore :) It's advised to flash from Oreo


    After update my FP don't work, wat to do?!

    Make a clean flash using method from OP. If clean flash won't help, try: https://xdaforums.com/mi-a1/development/xiaomi-mi-a1-tissot-firmware-flashable-t3759886


    Is Dolby working on Lineage 15.1? How to install it?

    Just download Magisk module and enjoy!


    My mobile signal is unstable. Is there a way to fix it?

    Yes, see a workaround from OP


    Why Selinux is permissive, not enforcing?

    In unofficial builds Selinux is permissive. If the build goes official, it will have Selinux set to enforcing. Don't worry, just wait for official version!


    Is this rom stable enough to be a daily driver?

    Depends what you need. Check buglist - if these bugs don't bother you - it can surely be a daily driver


    When new build will be avaible?

    Don't ask for ETAs. Developers are working hard (in their free time!) to fix a bugs - we just need to wait patiently. :)
    2
    Please, can you add in OP the way to update from previous version of LO to the new release?

    Thak you, but there's some confusion about it in official thread :)

    Done
    1
    If everything is working, why this ROM does not become official LOS?
    Selinux is still permissive, enforcing is mandatory to be official.