• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][11.0][UNOFFICIAL] LineageOS 18.1 for Mix 3 5G [andromeda]

Search This thread

Inkypen

Senior Member
Aug 19, 2018
426
1,313
London
2okPze5.png

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

Code:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

GPL compliance:
yG18r6g.png


Working:
Almost everything

Broken:
Proximity sensor

Compatibility:
This is for Mi Mix 3 5G (andromeda) only. Not compatible with regular Mix 3 (perseus)

Downloads:
https://sourceforge.net/projects/xiaomi-andromeda/files/R

Installation:
Reboot to recovery
Wipe /system, /vendor, /data and /cache
Install LineageOS zip package
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

Important notes:
GApps can only be flashed on clean installs.
Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

Contributors
Inkypen
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
Based On: AOSP
 
Last edited:

Inkypen

Senior Member
Aug 19, 2018
426
1,313
London
Additional installation instructions if coming from stock MIUI:

In order to install a custom ROM you must have an unlocked bootloader. You can apply for this at Xiaomi's official site: https://en.miui.com/unlock/

You then need to install a custom recovery. Official TWRP builds are available, and the official maintainer has a thread with installation instructions here: https://forum.xda-developers.com/mi...covery-unofficial-twrp-xiaomi-mi-mix-t3941867

Once you have TWRP installed, boot into recovery mode. Wipe cache,dalvik,system,vendor partitions.

You are strongly advised to flash the latest modem firmware. You can grab that here: https://xiaomifirmwareupdater.com/firmware/andromeda/
This only needs to be done once, once the updated firmware has been flashed you can forget about it.

WARNING: You will lose all saved files on your internal storage in the next step, make a backup of important files before proceeding
Data partition must be formatted (not wiped) to remove forced encryption. Use the bottom right "Format Data" button in the Wipe menu. You will be asked to type "yes" to confirm your choice.

At this point your internal storage will be empty. Copy the ROM from your PC to the phone, click install in TWRP and select the ROM. If you wish to install gapps/nanodroid, copy it to the phone and install after the ROM. Once you have flashed the ROM and any add ons, you must format internal storage again. Internal storage must be completely empty for the very first custom ROM boot, once a custom ROM has been installed and you want to swap to a different one, further formatting is not necessary.

Reboot back to system and enjoy custom ROM goodness :)
 
Last edited:

Inkypen

Senior Member
Aug 19, 2018
426
1,313
London
This post is reserved for FAQs and will be added to when frequently asked questions pop up.

Where can I get Android 11 gapps from?
Opengapps 11 are not currently (publically) available. Beta builds exist but these are untested by me.
https://sourceforge.net/projects/opengapps/files/arm64/test/

Nikgapps 11 are available and work well, I have personally been using the stock package with no issues.
https://nikgapps.com/downloads.html

How can I stop the slider from opening the camera?
If the slider annoys you, deleting the slider settings apk will disable it. You could delete it in recovery mode (twrp or orangefox) if you don't have root. Don't forget to mount /system partition while you are in TWRP.
/system/priv-app/DeviceSettings/DeviceSettings.apk
 
  • Like
Reactions: c1-p8

pm4rcin

Member
Jun 13, 2020
8
0
Hi, huge thanks for the Lineage 17.1 which I used and it was amazing! My first Custom ROM and awesome experience. I have some questions:
1. Regarding the 18.1 which modem firmware should I choose? I bought phone from polish store and don't know if I should choose the Global or Europe?
2. Is there a chance for the 4k60 video on stock or OpenCamera app?
Thanks again for your hard work! :)
 

carimatia

New member
Dec 2, 2020
3
0
I have lineage-18.0-20201204-UNOFFICIAL-andromeda.zip installed. Can I just flash lineage-18.1-20210101-UNOFFICIAL-andromeda-signed.zip over this, wipe /cache and keep /data as is?
 

Oldmanam

New member
Mar 13, 2017
2
0
Hello, I really want to install this rom especially as it seems the device won't be upgraded. I've never done this before, and tried today but I soft bricked my phone 😭. Got the standard ROM back on now.

Can someone help with what I did wrong.
I followed the instructions on this to down load recovery, https://www.xda-developers.com/how-to-install-twrp/?amp

I managed to get the phone into recovery.

I wiped the cache etc, then I installed the modem firmware which was successful.

Then I formatted the drive as the instructions.

I went to move the ROM into the device but when doing this on the PC is timed out, it wouldn't allow me to move the ROM, once I rebooted the device it continued to go into fast boot.

Any help would be welcome.
 
Last edited:

pommefrite8

Member
Dec 10, 2014
9
1
Hello, I really want to install this rom especially as it seems the device won't be upgraded. I've never done this before, and tried today but I soft bricked my phone 😭. Got the standard ROM back on now.

Can someone help with what I did wrong.
I followed the instructions on this to down load recovery, https://www.xda-developers.com/how-to-install-twrp/?amp

I managed to get the phone into recovery.

I wiped the cache etc, then I installed the modem firmware which was successful.

Then I formatted the drive as the instructions.

I went to move the ROM into the device but when doing this on the PC is timed out, it wouldn't allow me to move the ROM, once I rebooted the device it continued to go into fast boot.

Any help would be welcome.

If you are blocked into fastboot you can reflash the official firmware.
Choose the firmware format : https://xiaomifirmwareupdater.com/miui/andromeda/
 

Oldmanam

New member
Mar 13, 2017
2
0
Last edited:

carimatia

New member
Dec 2, 2020
3
0
Hey Inkypen,
Thanks a lot for the ROM, it's currently my daily driver.
What's the upgrade process between the linked Lineage 18 ROMs? Also, do you have a change log somewhere?
You mentioned in the other thread that you are more active in the Telegram chat - how can I join that?
 

Inkypen

Senior Member
Aug 19, 2018
426
1,313
London
Hey Inkypen,
Thanks a lot for the ROM, it's currently my daily driver.
What's the upgrade process between the linked Lineage 18 ROMs? Also, do you have a change log somewhere?
You mentioned in the other thread that you are more active in the Telegram chat - how can I join that?
Apologies for the late reply, for some reason I don't get email notifications about this thread even though I'm subscribed. The Mix 3 support group can be found at https://t.me/mimix3_5G and I'm way more active there. All the admins are pretty friendly and willing to help, I'm about most of the time for help and troubleshooting. You can also get access to all the latest builds and other stuff you can't get on XDA ;)
 

Dougieee

Member
Apr 26, 2017
11
0
Hello, thank you for all the detailed explanations but I am currently having some trouble with purple/green lines at the bottom of the screen or at the edges of white tabs? I have installed lineage os and have also tried pixel experience but i have had the same results, I have reinstalled lineage a few time but still the same, with miui I haven't had this problem, so my screen isn't faulty, I will try and install the android 10 version of pixel exp and lineage os to see if there is a difference. the green and purple lines aren't too noticeable but I can't stop looking at them! maybe I have ocd?
 

Attachments

  • Capture.PNG
    Capture.PNG
    1.1 MB · Views: 85
  • IMG_20210227_205359_compress6.jpg
    IMG_20210227_205359_compress6.jpg
    500.4 KB · Views: 84
  • IMG_20210227_205350_compress59.jpg
    IMG_20210227_205350_compress59.jpg
    468.6 KB · Views: 81

pm4rcin

Member
Jun 13, 2020
8
0
Hi @Inkypen, I saw that you've pushed the update yesterday but unfortunately it's not available. Did you discover a critical bug or something? Also what's the current status on that ROM. Is there something that doesn't work? :)
 

Inkypen

Senior Member
Aug 19, 2018
426
1,313
London
Hi @Inkypen, I saw that you've pushed the update yesterday but unfortunately it's not available. Did you discover a critical bug or something? Also what's the current status on that ROM. Is there something that doesn't work? :)
I uploaded a testing build to the wrong place. I've now uploaded the proper build with the May security patch. I've added an additional two extras not in official Lineage which are long screenshot and built in signature spoofing support for micro-g users.
 

Arcticsoldier

Member
Jan 28, 2016
10
0
ive been been on 17.1 since last year and decided to upgrade to 18.1. seems pretty stable however i get random lockup/freezes which requires me to perform a shutdown/power up by holding in the power button. i followed the guide, updated to the latest twrp and using the latest build. other than that the battery life and speed is great
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    2okPze5.png

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

    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are 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 us for messing up your device, we will laugh at you.
    *
    */

    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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:
    yG18r6g.png


    Working:
    Almost everything

    Broken:
    Proximity sensor

    Compatibility:
    This is for Mi Mix 3 5G (andromeda) only. Not compatible with regular Mix 3 (perseus)

    Downloads:
    https://sourceforge.net/projects/xiaomi-andromeda/files/R

    Installation:
    Reboot to recovery
    Wipe /system, /vendor, /data and /cache
    Install LineageOS zip package
    Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)

    Important notes:
    GApps can only be flashed on clean installs.
    Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

    Contributors
    Inkypen
    ROM OS Version: Android 11
    ROM Kernel: Linux 4.x
    Based On: AOSP
    3
    Hey Inkypen,
    Thanks a lot for the ROM, it's currently my daily driver.
    What's the upgrade process between the linked Lineage 18 ROMs? Also, do you have a change log somewhere?
    You mentioned in the other thread that you are more active in the Telegram chat - how can I join that?
    Apologies for the late reply, for some reason I don't get email notifications about this thread even though I'm subscribed. The Mix 3 support group can be found at https://t.me/mimix3_5G and I'm way more active there. All the admins are pretty friendly and willing to help, I'm about most of the time for help and troubleshooting. You can also get access to all the latest builds and other stuff you can't get on XDA ;)
    2
    Additional installation instructions if coming from stock MIUI:

    In order to install a custom ROM you must have an unlocked bootloader. You can apply for this at Xiaomi's official site: https://en.miui.com/unlock/

    You then need to install a custom recovery. Official TWRP builds are available, and the official maintainer has a thread with installation instructions here: https://forum.xda-developers.com/mi...covery-unofficial-twrp-xiaomi-mi-mix-t3941867

    Once you have TWRP installed, boot into recovery mode. Wipe cache,dalvik,system,vendor partitions.

    You are strongly advised to flash the latest modem firmware. You can grab that here: https://xiaomifirmwareupdater.com/firmware/andromeda/
    This only needs to be done once, once the updated firmware has been flashed you can forget about it.

    WARNING: You will lose all saved files on your internal storage in the next step, make a backup of important files before proceeding
    Data partition must be formatted (not wiped) to remove forced encryption. Use the bottom right "Format Data" button in the Wipe menu. You will be asked to type "yes" to confirm your choice.

    At this point your internal storage will be empty. Copy the ROM from your PC to the phone, click install in TWRP and select the ROM. If you wish to install gapps/nanodroid, copy it to the phone and install after the ROM. Once you have flashed the ROM and any add ons, you must format internal storage again. Internal storage must be completely empty for the very first custom ROM boot, once a custom ROM has been installed and you want to swap to a different one, further formatting is not necessary.

    Reboot back to system and enjoy custom ROM goodness :)
    1
    This post is reserved for FAQs and will be added to when frequently asked questions pop up.

    Where can I get Android 11 gapps from?
    Opengapps 11 are not currently (publically) available. Beta builds exist but these are untested by me.
    https://sourceforge.net/projects/opengapps/files/arm64/test/

    Nikgapps 11 are available and work well, I have personally been using the stock package with no issues.
    https://nikgapps.com/downloads.html

    How can I stop the slider from opening the camera?
    If the slider annoys you, deleting the slider settings apk will disable it. You could delete it in recovery mode (twrp or orangefox) if you don't have root. Don't forget to mount /system partition while you are in TWRP.
    /system/priv-app/DeviceSettings/DeviceSettings.apk