• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][STABLE] LineageOS 18.0 [MI A3] [laurel_sprout]

Search This thread

PrathameshMS

Senior Member
Jun 6, 2016
61
348
Mumbai
Fk2u0vv.jpg

Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here 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. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */

LineageOS 18.0 based on Android 11.0

LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.

WHATS WORKING :-

- RIL
- WiFi
- Bluetooth.
- Camera
- Audio
- Sensors
- Flash
- GPS
- VoLTE
- FOD (Fingerprint on display)
- Face unlock.
- DT2W.
- Proximity in calls.
- FBE.

WHAT DOESN'T :-

- You tell.

HOW TO FLASH :-

1) Download ROM zip and Gapps (optional).
2) Reboot to Recovery.
3) Wipe Data, System, Cache.
4) Format data. (It might work without this too but its recommended to format data to boot successfully. If stuck on splash or boot animation or reboots back to fastboot or recovery, format data)
5) Flash ROM + Recovery installer (any as per your choice).
6) Reboot to Recovery.
7) Wipe cache.
8) Reboot and enjoy.

IMPORTANT INSTRUCTIONS :-

- The build is based on OSS vendor. Firmware is included in the ROM zip. No need to flash any firmware.
- Fingerprint works fine with no flicker. (Accuracy is improved.)
- Face unlock works.

DOWNLOADS :-

ROM :- LineageOS 18.0

GAPPS :- GAPPS (optional)

DONATION LINKS :-

PLEASE DONATE ME IF YOU LIKE MY WORK

PayTM : [email protected]
Paypal : http://paypal.me/pms2299
GPay : [email protected]

I can't build continuously on my laptop and I need a server to build. Consider donating for continuous support. I will be able to provide bug fixes sooner if I get a server. Please donate if you can. Thanks :)

SUPPORT GROUP :-

LineageOS Support group :- Telegram

SOURCES :-

KERNEL

XDA:DevDB Information
LineageOS, ROM for the Xiaomi Mi A3

Contributors
PrathameshMS
ROM OS Version: Android 10
ROM Kernel: Linux 4.x

Version Information
Status: Stable
Current Stable Version: 18.0
Stable Release Date: 2020-10-10

Created 2020-10-10
Last Updated 2020-10-10
 

shahroozv9

New member
Jun 15, 2020
3
0
i dont know is it only me or not
when im in a call (in discord or any other apps) others say that they can hear my phone sound like instagram or any other thing
i have this problem with any other roms so as lineage
please fix it thanks i realy want to use android 11
 

igorfs10

Member
Sep 3, 2013
32
17
Itapevi
Great work. Fod is better than stock to recognize my finger, it has just a small and quickly brightness flickering but is almost unnoticeable.
SElinux is permissive and FM radio is missing but they aren't a big issues for me.

Thanks for this rom.
 
Last edited:

Typhus_

Senior Member
Jan 9, 2013
1,250
1,504
41
Lisbon
www.facebook.com
Xiaomi Mi A1
Xiaomi Mi A3
Step by step install procedure for LOS18

1 - Turn your phone into fastboot mode (run adb reboot bootloader or shutdown the phone and turn it on again while pressing Power + Vol- keys)

2 - On fastboot mode set a as the active slot by running the command:
Code:
fastboot set_active a

3 - Now, flash latest STOCK FASTBOOT ROM using flash_all.bat (or flash_all.sh if you're using Linux)

4 - Wait for the installation to finish and, after seeing the welcome screen, go to fastboot mode again

5 - Now run these commands:
Code:
fastboot set_active b
Code:
fastboot erase boot
Code:
fastboot flash boot twrp-3.3.1-17-laurel_sprout_Android_10_mauronofrio.img
Code:
fastboot reboot
(keep pressing Vol+ key to force the phone into recovery mode)

6 - We're on TWRP Recovery using slot B. Do this:
Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip
Reboot to Recovery
Format Data with "yes"
Install lineage ROM zip
Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip (yes, again...)
Reboot to Recovery​

7 - Now we're on TWRP Recovery using slot A. Do this:
Install NikGApps Core version. (This is optional! The ROM works fine without any GApps but if you want them, use CORE version!)
Install Magisk (This is also optional! The ROM works fine without it but if you want it, get the MagiskR zip you'll find on the telegram support group!)
Reboot to fastboot and run:
Code:
fastboot flash dtbo dtbo.img
Code:
fastboot reboot
Your device will now reboot to System and you may enjoy LineageOS 18!


NOTES:

  • By doing this procedure you will have LineageOS 18 system installed only on slot A!
  • If your device fails to boot, you should just start all over again! Trust me, it's easier than trying other flashing methods.
  • You can now install a different Recovery if you like, for example, SHRP Recovery. Simply go to TWRP and flash SHRP installer zip.
  • You can, also, install a different Kernel. Check the Telegram support group, there are other kernels compatible with this ROM (I'm using No. 192 OSS Batt version, for instance).
  • All files mentioned on this post can be found on the Telegram support group (including latest ROM build, MagiskR version, twrp and dtbo.img)

Cheers!
 
Last edited:

logosA

Recognized Contributor
Nov 17, 2013
3,433
3,289
Heraklion Crete
1 -
Turn your phone into fastboot mode (run adb reboot bootloader or shutdown the phone and turn it on again while pressing Power + Vol- keys)

2 - On fastboot mode run the command:
Code:
fastboot set_active a

3 - Now, flash latest STOCK FASTBOOT ROM using flash_all.bat (or flash_all.sh if using Linux)

4 - Wait for the installation to finish and as soon as you see the welcome screen on stock, go to fastboot mode again

5 - Now run these commands:
Code:
fastboot set_active b
Code:
fastboot erase boot
Code:
fastboot flash boot twrp-3.3.1-17-laurel_sprout_Android_10_mauronofrio.img
Code:
fastboot reboot
(keep pressing Vol+ key to force the phone into recovery mode)

6 - Now we're on TWRP Recovery using slot B. Do this:
Wipe Dalvik, System and Data
Install lineage-18.0-20201010-UNOFFICIAL-laurel_sprout.zip
Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip
Reboot to Recovery​

7 - Now we're on TWRP Recovery but on slot A. Do this:
Wipe Dalvik, System and Data (Yes, again. I'm not Stupid, trust me.)
Install lineage-18.0-20201010-UNOFFICIAL-laurel_sprout.zip
Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip
Reboot to Recovery​

8 - You will be on slot B again. Change it back to slot A and reboot to Recovery. Now Format Data with "yes" option to remove stock encryption

9 - Reboot to Recovery again

10 - Install GApps (This is optional! The ROM works fine without any GApps. If you really want GApps you may install any version but I recommend just Core version)

11 - Reboot to bootloader and flash the dtbo.img by running the command:
Code:
fastboot flash dtbo dtbo.img
Code:
fastboot reboot

Your phone while boot into LineageOS 18 and it will be awesomely lag free!


NOTES:

  • By doing this procedure you will have LOS18 system and vendor installed on both slots!
  • dtbo.img has to be flashed because when you flash a "new vendor" on both slots you need to flash dtbo as well. If you don't do this you will lose your WiFi and Bluetooth!!
  • Now you can install Magisk if you want root features (for the time being you must use Magisk 20422 Canary Version)
  • You can now also install a different Recovery if you like, for example, SHRP Recvoery. Simply go to TWRP and flash SHRP installer zip.
  • I've tested this procedure yesterday like 2 or 3 times. I've been up almost to 3 AM testing stuff. Right now I'm on LOS18 WITHOUT ANY BUG!
  • All files mentioned on this post can be found on the Telegram support group (including Magisk version)
  • Of course that you must store the TWRP img file on the same folder you have platform-tools and the TWRP zip file on your SDCard or phone internal memory....duh...
  • If you feel like this procedure sucks because it's too long, or if you think that this can be completely ignored and just flash the ROM like you've always done then DON'T ASK FOR ANY HELP!!! This will SOLVE any stupid problem your phone might have, so.... yeah, I won't give you credit if you don't want to spare 20 minutes (if so...) flashing things the correct way.

Cheers!

Thank you for this great how to do process.
Always most informative and helpful.
I have just one question.
I am now in the latest STOCK EU rom, which I flashed through RECOVERY rom and then used the magisk_patched boot method to root. No TWRP or any other recovery in it.
My question is this:
Can I skip fastboot flash the STOCK rom again AND go to step 2 , OR it is mandatory to start from step 1?
Again, thanks for all your help giving us all that knowledge
:good::):good:
 

pol00001

New member
Sep 21, 2020
4
0
after executing commands

fastboot set_active b
Code:
fastboot erase boot
Code:
fastboot flash boot twrp-3.3.1-17-laurel_sprout_Android_10_mauronofrio.img
Code:
fastboot reboot

i am booting back in fastboot even holding Vol+ while booting what should i do? Thank you
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Step by step install procedure for LOS18

    1 - Turn your phone into fastboot mode (run adb reboot bootloader or shutdown the phone and turn it on again while pressing Power + Vol- keys)

    2 - On fastboot mode set a as the active slot by running the command:
    Code:
    fastboot set_active a

    3 - Now, flash latest STOCK FASTBOOT ROM using flash_all.bat (or flash_all.sh if you're using Linux)

    4 - Wait for the installation to finish and, after seeing the welcome screen, go to fastboot mode again

    5 - Now run these commands:
    Code:
    fastboot set_active b
    Code:
    fastboot erase boot
    Code:
    fastboot flash boot twrp-3.3.1-17-laurel_sprout_Android_10_mauronofrio.img
    Code:
    fastboot reboot
    (keep pressing Vol+ key to force the phone into recovery mode)

    6 - We're on TWRP Recovery using slot B. Do this:
    Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip
    Reboot to Recovery
    Format Data with "yes"
    Install lineage ROM zip
    Install twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip (yes, again...)
    Reboot to Recovery​

    7 - Now we're on TWRP Recovery using slot A. Do this:
    Install NikGApps Core version. (This is optional! The ROM works fine without any GApps but if you want them, use CORE version!)
    Install Magisk (This is also optional! The ROM works fine without it but if you want it, get the MagiskR zip you'll find on the telegram support group!)
    Reboot to fastboot and run:
    Code:
    fastboot flash dtbo dtbo.img
    Code:
    fastboot reboot
    Your device will now reboot to System and you may enjoy LineageOS 18!


    NOTES:

    • By doing this procedure you will have LineageOS 18 system installed only on slot A!
    • If your device fails to boot, you should just start all over again! Trust me, it's easier than trying other flashing methods.
    • You can now install a different Recovery if you like, for example, SHRP Recovery. Simply go to TWRP and flash SHRP installer zip.
    • You can, also, install a different Kernel. Check the Telegram support group, there are other kernels compatible with this ROM (I'm using No. 192 OSS Batt version, for instance).
    • All files mentioned on this post can be found on the Telegram support group (including latest ROM build, MagiskR version, twrp and dtbo.img)

    Cheers!
    2
    Fk2u0vv.jpg

    Code:
    /*
     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     * Please do some research if you have any concerns about features included in the products you find here 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. 
     * Your warranty will be void if you tamper with any part of your device / software.
     * Same statement for XDA.
     */

    LineageOS 18.0 based on Android 11.0

    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.

    WHATS WORKING :-

    - RIL
    - WiFi
    - Bluetooth.
    - Camera
    - Audio
    - Sensors
    - Flash
    - GPS
    - VoLTE
    - FOD (Fingerprint on display)
    - Face unlock.
    - DT2W.
    - Proximity in calls.
    - FBE.

    WHAT DOESN'T :-

    - You tell.

    HOW TO FLASH :-

    1) Download ROM zip and Gapps (optional).
    2) Reboot to Recovery.
    3) Wipe Data, System, Cache.
    4) Format data. (It might work without this too but its recommended to format data to boot successfully. If stuck on splash or boot animation or reboots back to fastboot or recovery, format data)
    5) Flash ROM + Recovery installer (any as per your choice).
    6) Reboot to Recovery.
    7) Wipe cache.
    8) Reboot and enjoy.

    IMPORTANT INSTRUCTIONS :-

    - The build is based on OSS vendor. Firmware is included in the ROM zip. No need to flash any firmware.
    - Fingerprint works fine with no flicker. (Accuracy is improved.)
    - Face unlock works.

    DOWNLOADS :-

    ROM :- LineageOS 18.0

    GAPPS :- GAPPS (optional)

    DONATION LINKS :-

    PLEASE DONATE ME IF YOU LIKE MY WORK

    PayTM : [email protected]
    Paypal : http://paypal.me/pms2299
    GPay : [email protected]

    I can't build continuously on my laptop and I need a server to build. Consider donating for continuous support. I will be able to provide bug fixes sooner if I get a server. Please donate if you can. Thanks :)

    SUPPORT GROUP :-

    LineageOS Support group :- Telegram

    SOURCES :-

    KERNEL

    XDA:DevDB Information
    LineageOS, ROM for the Xiaomi Mi A3

    Contributors
    PrathameshMS
    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x

    Version Information
    Status: Stable
    Current Stable Version: 18.0
    Stable Release Date: 2020-10-10

    Created 2020-10-10
    Last Updated 2020-10-10
    2
    Can please someone build it with December Update??
    1
    Anyone use this Rom as daily driver ? Any bugs ?
    1
    Anyone use this Rom as daily driver ? Any bugs ?


    navigation thingie doesn't respect fullscreen apps sometimes and block some of my actions (I'm using gestures) and whatsapp freak out sometimes, some apps stop responding more frequently than stock