[ROM][14.0][UNOFFICIAL] LineageOS 21.0 for Mix 3 5G [andromeda]

Search This thread

Inkypen

Senior Member
Aug 19, 2018
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
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:
You tell me

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/14/LineageOS

Installation:
Reboot to recovery
Wipe /system, /vendor, /data and /cache
Install LineageOS zip package
A LineageOS package with built in Gapps is available. No need to flash separately.

Important notes:
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 14
ROM Kernel: Linux 4.14.x
Based On: AOSP
 
Last edited:

Inkypen

Senior Member
Aug 19, 2018
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
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://xdaforums.com/mi-mix-3/development/recovery-unofficial-twrp-xiaomi-mi-mix-t3941867

The official TWRP for Mix 3 5G cannot decrypt A12+ encryption scheme so if you see scrambled filenames in recovery mode and want to access your files then use my unofficial build (version 3.7.0-12.0).

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:

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
12
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
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
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: 176
  • IMG_20210227_205359_compress6.jpg
    IMG_20210227_205359_compress6.jpg
    500.4 KB · Views: 175
  • IMG_20210227_205350_compress59.jpg
    IMG_20210227_205350_compress59.jpg
    468.6 KB · Views: 169

Inkypen

Senior Member
Aug 19, 2018
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
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
11
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
 

Groctel

Member
Dec 3, 2018
15
3
27
Granada
Hi! Could files accept characters that are not typically accepted in Windows systems but are in Linux? Like ':', or '?'.
 

fhille

New member
Jul 18, 2022
1
0
First of all thanks a bunch for this ROM. Been running it for several weeks now, everything has worked fine so far.
Today however I stumbled into an issue: USB Tethering does not seem to work for me.
- tried with 3 computers and different OSs (Windows, Linux) ... never worked
- I have another Android10-based Sony smartphone - for this one USB tethering works fine with all 3 computers
- the computers all recognize my Mi Mix 3, but fail to establish a network connection (no IP obtained?)

Does USB Tethering work for you guys? Or anybody having similar issues?

Thanks!
 

Inkypen

Senior Member
Aug 19, 2018
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
Sorry guys, I pretty much missed out on A12 Lineage, but I'm back with A13 Lineage for you guys! I will provide both integrated gapps builds and vanilla builds for those that don't want gapps. The official TWRP for andromeda isn't able to decrypt A12+ encryption scheme so I've ported the A12 version of TWRP and OrangeFox for our device. Don't try and install the updated recovery if you're running A11 or below, in that case stick with the official version.

Biggest change to my builds is that OTA updates are now enabled, you'll get a notification prompting to update. The builds are hosted on sourceforge and download speeds can be very slow depending on where in the world you are and which mirror it selects. It might be quicker to download updates on a PC. Not a lot I can do about it, that's the downside of free file hosting.

LOS builds: https://sourceforge.net/projects/xiaomi-andromeda/files/T/LineageOS/
TWRP: https://sourceforge.net/projects/xiaomi-andromeda/files/twrp-3.7.0_12-0-andromeda.img/download
Orangefox: https://sourceforge.net/projects/xi...A12.1-R11.1-Unofficial-andromeda.zip/download
 

pirloui

Member
Jul 22, 2018
5
1
Sorry guys, I pretty much missed out on A12 Lineage, but I'm back with A13 Lineage for you guys! I will provide both integrated gapps builds and vanilla builds for those that don't want gapps. The official TWRP for andromeda isn't able to decrypt A12+ encryption scheme so I've ported the A12 version of TWRP and OrangeFox for our device. Don't try and install the updated recovery if you're running A11 or below, in that case stick with the official version.

Biggest change to my builds is that OTA updates are now enabled, you'll get a notification prompting to update. The builds are hosted on sourceforge and download speeds can be very slow depending on where in the world you are and which mirror it selects. It might be quicker to download updates on a PC. Not a lot I can do about it, that's the downside of free file hosting.

LOS builds: https://sourceforge.net/projects/xiaomi-andromeda/files/T/LineageOS/
TWRP: https://sourceforge.net/projects/xiaomi-andromeda/files/twrp-3.7.0_12-0-andromeda.img/download
Orangefox: https://sourceforge.net/projects/xi...A12.1-R11.1-Unofficial-andromeda.zip/download
Hi,
first of all, thank you for your follow-up on the roms on the mi mix 3 5g.
I just have one question, why not make it official?
 

Inkypen

Senior Member
Aug 19, 2018
542
1,625
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
Hi,
first of all, thank you for your follow-up on the roms on the mi mix 3 5g.
I just have one question, why not make it official?
I have one question for you. What benefit is there to being official? The only real perk is OTA updates, which my builds now have.

The requirements to go official for LOS are unbelievably strict, for example I wouldn't be allowed to patch the ROM to pass safetynet or be allowed to take updated device drivers from a QCOM BSP (which I already have done several times). I don't have the time or energy to work around their restrictions.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    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:
    You tell me

    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/14/LineageOS

    Installation:
    Reboot to recovery
    Wipe /system, /vendor, /data and /cache
    Install LineageOS zip package
    A LineageOS package with built in Gapps is available. No need to flash separately.

    Important notes:
    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 14
    ROM Kernel: Linux 4.14.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 ;)
    3
    Hi,
    first of all, thank you for your follow-up on the roms on the mi mix 3 5g.
    I just have one question, why not make it official?
    I have one question for you. What benefit is there to being official? The only real perk is OTA updates, which my builds now have.

    The requirements to go official for LOS are unbelievably strict, for example I wouldn't be allowed to patch the ROM to pass safetynet or be allowed to take updated device drivers from a QCOM BSP (which I already have done several times). I don't have the time or energy to work around their restrictions.
    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://xdaforums.com/mi-mix-3/development/recovery-unofficial-twrp-xiaomi-mi-mix-t3941867

    The official TWRP for Mix 3 5G cannot decrypt A12+ encryption scheme so if you see scrambled filenames in recovery mode and want to access your files then use my unofficial build (version 3.7.0-12.0).

    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 :)
    2
    This post is reserved for FAQs and will be added to when frequently asked questions pop up.

    How can I stop the slider from opening the camera?
    Go to Settings->System->Gestures->Slider settings