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

Question A newbie question about X3 Pro with LineageOS

Search This thread

kamien8

Member
Sep 9, 2021
20
0
Inverness
Hi Fellows,

First of all, I’m newbie to flashing (or so-called) phones. I want to change my phone for de-googled one. I’m thinking about POCO X3 Pro with LineageOS 18.1.

I’ve been recently reading a lot about changing OS, but I feel completely overwhelmed by how complex knowledge it is. Even on the forum there is so much info, so much specific vocabulary/acronyms o_O

Can you advise me, how to start?

Or maybe different way... do you know any reliable service/somebody in the UK, who could help? I've already checked services in my town - no one does software modifications :confused:
 

SubwayChamp

Senior Member
Aug 6, 2016
3,092
2
1,330
Hi Fellows,

First of all, I’m newbie to flashing (or so-called) phones. I want to change my phone for de-googled one. I’m thinking about POCO X3 Pro with LineageOS 18.1.

I’ve been recently reading a lot about changing OS, but I feel completely overwhelmed by how complex knowledge it is. Even on the forum there is so much info, so much specific vocabulary/acronyms o_O

Can you advise me, how to start?

Or maybe different way... do you know any reliable service/somebody in the UK, who could help? I've already checked services in my town - no one does software modifications :confused:
You don´t need to pay someone else for that, you can do it by your own.

I will give you the topics in order, one by one, and just search for the info till understand what you are want to achieve.

1-Unlocking bootloader.
2-Flashing a custom recovery.
3-Rooting (optional)
4-installing a custom ROM (like LineageOS)

Search for these topics in your own forum, read carefully and apply them when you are sure what you are doing.
 
  • Like
Reactions: kamien8

Lu5ck

Senior Member
Dec 18, 2013
151
39
Copied these from my old post in other forums, I updated a little but still might be a little outdated

  1. Link your poco x3 pro to your MI account
  2. Activate "Find my device" for Mi account
  3. Settings > About Phone > Tab "MIUI version (For POCO)" until developer mode unlocked
  4. Settings > Additional Settings > Developer Options
    • OEM unlocking - Checked
    • Mi Unlock status > Add account and device - Do only once, anymore will reset 168 hours unlock counter
  5. Go to https://en.miui.com/unlock/and download the mi unlock software
  6. Prepare for future unlock
    • Turn off your mobile
    • Boot into fastboot mode - Volume Down + Power
    • Run "MiUsbDriver.exe" located in the miflash_unlock_en zip
    • Connect mobile to PC or laptop
    • Poco X3 Pro driver should be installed
    • Run "miflash_unlock.exe" and proceed through the software
    • If you yet to apply for permission to unlock, you can apply from there (I think, the last I applied was years ago, not sure still a thing now or not)
    • The software will tell you the countdown which is 168 hours aka 1 week.
    • Exit fastboot mode on phone by holding the power button.
  7. A week later, time to unlock.
    • Backup your file, if you have used the phone intensively, unlocking will result in factory reset.
    • Turn off mobile
    • Boot into fastboot mode - Volume Down + Power
    • Run "miflash_unlock.exe"
    • Connect mobile to PC
    • Proceed through "miflash_unlock.exe"
    • Unlocked
  1. Download google platform tool from https://developer.android.com/studio/releases/platform-tools
  2. Extract the tool
  3. In the tool folder, type "cmd" at "Address bar" to open command prompt to that folder
    • Press enter after you type "cmd", if it isn't obvious.
  4. Turn off mobile
  5. Boot into fastboot mode - Volume Down + Power
  6. Connect mobile to PC
  7. Go to command prompt window, type "fastboot devices".
    • Your phone will be shown if detected, otherwise, fix your driver.
  8. Download Custom Recovery
  9. Extract the "img" recovery file to the tool's folder
  10. Type "fastboot flash recovery <filename>"
  11. Done, type "fastboot reboot recovery" or Volume Up + Power on mobile to enter recovery
  1. Connect mobile to PC
  2. Copy files to mobile
    1. Firmware - https://xiaomifirmwareupdater.com/firmware/vayu/
    2. Rom
    3. Gapp (if you want)
      • MindtheGapps
      • NikGapps
      • FlameGapps
      • OpenGapps (Personally Recommended)
    4. Magisk (If rooting) - https://github.com/topjohnwu/Magisk/releases
  3. Boot into recovery - Vol up + Power
  4. install in order
    1. Firmware
    2. Rom
    3. Gapps (if you want)
    4. Magisk (if rooting)
  5. Format data in recovery
  6. Wipe Cache and Dalvik/Art Cache (If the recovery support it)
  7. Reboot into system
  8. Done
If you mess up the format data sequence, don't worry, you can always use "adb sideload". Also, if you use LOS recovery, you need to use sideload.
  1. Look for sideload in recovery
  2. Open command prompt in your tool folder, type "adb sideload <filename>" to install the things you want.
  1. Download xiaomi flash tool - https://xiaomiflashtool.com/
  2. Download fastboot package - https://xiaomifirmwareupdater.com/archive/miui/vayu/
  3. Extract xiaomi flash tool, run "XiaoMiFlash.exe"
  4. Extract fastboot package to somewhere, preferably root subfolder of c:\ or whatever drive
    • Long pathname can cause "XiaoMiFlash.exe" to run into error
  5. Boot mobile into fastboot - Vol down + power
  6. Connect mobile to pc
  7. In "XiaoMiFlash.exe", select folder of fastboot package
  8. Bottom right of the software, choose "clean all" or "clean and lock (bootloader)"
  9. Click flash
  10. Once done, it will auto reboot into MIUI
At the moment of this post, most custom roms fail safetynet. It is not absolutely necessary to get safetynet to work. Only do this if the gapps you want to install require it.
  1. Install magisk (No way around it)
  2. Install props config module
  3. Reboot
  4. Run any terminal app - https://play.google.com/store/apps/details?id=com.termux
  5. Type "su" and enter
  6. Grant super user rights to it
  7. Type "props" and enter
  8. Type "1" and enter
  9. Type "f" and enter
  10. Type "22" and enter
  11. Type "6" and enter
  12. Basically, you are choosing "Poco X3 Pro (Global)"
  13. Type "y"
  14. Reboot and test your safetynet
  1. In magisk, install Riru module
  2. Download Unshare - https://github.com/vvb2060/riru-unshare/releases
  3. In magisk, install Unshare
  4. In magisk, enable "Magisk Hide" in settings
  5. In magisk, "hide Magisk" in settings, choose some really unpredictable name
  6. In magisk, press "Shield", hide all options (dropdown) for the targetted App
  7. Reboot
  8. Try run the apps multiple times

  1. If fail
  2. Install App Manager - https://f-droid.org/en/packages/io.github.muntashirakon.AppManager/
  3. In App Manager, look for the apps, go to "Services", disable that one "(Isolated)" service.
  4. Double make sure it is applied
  5. Reboot
  6. Try run the apps multiple times

  1. Still fail
    1. Try this, some say it worked
      1. In magisk, install LsPosed module
      2. Install XPrivacyLua - https://repo.xposed.info/module/eu.faircode.xlua
      3. In LsPosed, enable XprivacyLua and Singpass in that same list
      4. Reboot
      5. In XPrivacyLua, look for the app, enable restrict on "Get Applications"
      6. Reboot
      7. Try run the apps multiple times
    2. this is the last resort
      1. Install Shelter - https://play.google.com/store/apps/details?id=net.typeblog.shelter
      2. Clone the App in Shelter
      3. In shelter, under work profile, make sure no rooted apps in there
      4. Reboot
      5. Try run the App in work profile multiple times
 

SubwayChamp

Senior Member
Aug 6, 2016
3,092
2
1,330
Thanks a lot. It makes sense.
I was also told, that before flashing it is esential to do a backup.
What's your opinion? How to do so?
About backup the first important is what is important for one, I mean personal information like messages, call, WhatsApp and so on.
But the most important in other sense is about the well functioning of the device itself, for example EFS where is stored the IMEIs, sometimes vendor, dtbo and persist images depending on the custom recovery if it includes these options.
Particularly, I never need any other partition from recovering eventually my device/s.
 
  • Like
Reactions: kamien8

kamien8

Member
Sep 9, 2021
20
0
Inverness
I would like to suggest you to try flashing some roms on any other device [...]
That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

However, for training purposes I could install any different OS, suitable for the device. Do you know any?

By the way, is the following link the only valid repository for the OS?
 

Lu5ck

Senior Member
Dec 18, 2013
151
39
That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

However, for training purposes I could install any different OS, suitable for the device. Do you know any?

By the way, is the following link the only valid repository for the OS?

yes, thats the official site
 
  • Like
Reactions: kamien8

pl1992aw

Senior Member
Apr 5, 2019
1,053
663
That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

However, for training purposes I could install any different OS, suitable for the device. Do you know any?

By the way, is the following link the only valid repository for the OS?

If you had no experience of flashing a phone, read and follow this guide with Pictures :
https://forum.xda-developers.com/t/4288121/post-85137963

It should be sufficient to help you flash a ROM.

No tutorial about backup data from phone in that guide, you have to do it on your own.
 

pinbanman

Member
Jan 17, 2019
30
1
Xiaomi Poco X3 Pro
If you had no experience of flashing a phone, read and follow this guide with Pictures :
https://forum.xda-developers.com/t/4288121/post-85137963

It should be sufficient to help you flash a ROM.

No tutorial about backup data from phone in that guide, you have to do it on your own.
I like this method, and this specific guide is what helped me flash custom rom on my X3 pro.
It is detailed and even gives notice if in case we get lost in a step.

I hope the OP can read this as the guide was really helpful. I know they used arrowOS for example, but I applied the method with different rom.
 

dey18

Member
Sep 11, 2021
15
1
Xiaomi Poco X3 Pro
That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

However, for training purposes I could install any different OS, suitable for the device. Do you know any?

By the way, is the following link the only valid repository for the OS?
I suggest you to try any other roms available for your device and not just lineage.
Try flashing multiple roms one by one and identify and rectify your errors.
And don't forget to read documentation provided by the wiki completely and also check out some vids on youtube(people on telegram would tell you to watch yt channel named "Munchy" because he has got this phone).
 
  • Like
Reactions: kamien8

Warren_Orange

Senior Member
Jun 2, 2011
1,120
142
I wouldn't try and flash an old p9 lite. I remember when I had a p9 and tried to flash it it was a nightmare and was an unorthodox method. If you could grab an old Moto like the Moto g as that would be ideal for a practise flash.
 

kamien8

Member
Sep 9, 2021
20
0
Inverness

Warren_Orange

Senior Member
Jun 2, 2011
1,120
142
Moto G5

Do you mean something like this?
gsmarena_moto_g
Will it be possible to go with LineageOS 18.1 on such an old phone?
Yes that's the one. After having a quick look at the forums I don't think you'd get 18.1 on it. There is a micro g 17.1 rom that seems active.

Is this for practice or for use as well? If it's for using I'd probably go with the g5 for a few bucks extra as the Moto g is quite old but it's not a bad spare spare phone. I picked one up as a backup and I liked the feel of it (if your into small phones) . It reminded me of the first Moto X.
 
  • Like
Reactions: kamien8

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I'd go for a moto g 2nd or 3rd Gen. You can get them for peanuts on eBay and there is still development for them even now.
    1
    I recommend Moto G5.. pretty active community on xda, replacable battery and should be very cheap
    1
    Moto G5

    Do you mean something like this?
    gsmarena_moto_g
    Will it be possible to go with LineageOS 18.1 on such an old phone?
    Yes that's the one. After having a quick look at the forums I don't think you'd get 18.1 on it. There is a micro g 17.1 rom that seems active.

    Is this for practice or for use as well? If it's for using I'd probably go with the g5 for a few bucks extra as the Moto g is quite old but it's not a bad spare spare phone. I picked one up as a backup and I liked the feel of it (if your into small phones) . It reminded me of the first Moto X.
  • 5
    Copied these from my old post in other forums, I updated a little but still might be a little outdated

    1. Link your poco x3 pro to your MI account
    2. Activate "Find my device" for Mi account
    3. Settings > About Phone > Tab "MIUI version (For POCO)" until developer mode unlocked
    4. Settings > Additional Settings > Developer Options
      • OEM unlocking - Checked
      • Mi Unlock status > Add account and device - Do only once, anymore will reset 168 hours unlock counter
    5. Go to https://en.miui.com/unlock/and download the mi unlock software
    6. Prepare for future unlock
      • Turn off your mobile
      • Boot into fastboot mode - Volume Down + Power
      • Run "MiUsbDriver.exe" located in the miflash_unlock_en zip
      • Connect mobile to PC or laptop
      • Poco X3 Pro driver should be installed
      • Run "miflash_unlock.exe" and proceed through the software
      • If you yet to apply for permission to unlock, you can apply from there (I think, the last I applied was years ago, not sure still a thing now or not)
      • The software will tell you the countdown which is 168 hours aka 1 week.
      • Exit fastboot mode on phone by holding the power button.
    7. A week later, time to unlock.
      • Backup your file, if you have used the phone intensively, unlocking will result in factory reset.
      • Turn off mobile
      • Boot into fastboot mode - Volume Down + Power
      • Run "miflash_unlock.exe"
      • Connect mobile to PC
      • Proceed through "miflash_unlock.exe"
      • Unlocked
    1. Download google platform tool from https://developer.android.com/studio/releases/platform-tools
    2. Extract the tool
    3. In the tool folder, type "cmd" at "Address bar" to open command prompt to that folder
      • Press enter after you type "cmd", if it isn't obvious.
    4. Turn off mobile
    5. Boot into fastboot mode - Volume Down + Power
    6. Connect mobile to PC
    7. Go to command prompt window, type "fastboot devices".
      • Your phone will be shown if detected, otherwise, fix your driver.
    8. Download Custom Recovery
    9. Extract the "img" recovery file to the tool's folder
    10. Type "fastboot flash recovery <filename>"
    11. Done, type "fastboot reboot recovery" or Volume Up + Power on mobile to enter recovery
    1. Connect mobile to PC
    2. Copy files to mobile
      1. Firmware - https://xiaomifirmwareupdater.com/firmware/vayu/
      2. Rom
      3. Gapp (if you want)
        • MindtheGapps
        • NikGapps
        • FlameGapps
        • OpenGapps (Personally Recommended)
      4. Magisk (If rooting) - https://github.com/topjohnwu/Magisk/releases
    3. Boot into recovery - Vol up + Power
    4. install in order
      1. Firmware
      2. Rom
      3. Gapps (if you want)
      4. Magisk (if rooting)
    5. Format data in recovery
    6. Wipe Cache and Dalvik/Art Cache (If the recovery support it)
    7. Reboot into system
    8. Done
    If you mess up the format data sequence, don't worry, you can always use "adb sideload". Also, if you use LOS recovery, you need to use sideload.
    1. Look for sideload in recovery
    2. Open command prompt in your tool folder, type "adb sideload <filename>" to install the things you want.
    1. Download xiaomi flash tool - https://xiaomiflashtool.com/
    2. Download fastboot package - https://xiaomifirmwareupdater.com/archive/miui/vayu/
    3. Extract xiaomi flash tool, run "XiaoMiFlash.exe"
    4. Extract fastboot package to somewhere, preferably root subfolder of c:\ or whatever drive
      • Long pathname can cause "XiaoMiFlash.exe" to run into error
    5. Boot mobile into fastboot - Vol down + power
    6. Connect mobile to pc
    7. In "XiaoMiFlash.exe", select folder of fastboot package
    8. Bottom right of the software, choose "clean all" or "clean and lock (bootloader)"
    9. Click flash
    10. Once done, it will auto reboot into MIUI
    At the moment of this post, most custom roms fail safetynet. It is not absolutely necessary to get safetynet to work. Only do this if the gapps you want to install require it.
    1. Install magisk (No way around it)
    2. Install props config module
    3. Reboot
    4. Run any terminal app - https://play.google.com/store/apps/details?id=com.termux
    5. Type "su" and enter
    6. Grant super user rights to it
    7. Type "props" and enter
    8. Type "1" and enter
    9. Type "f" and enter
    10. Type "22" and enter
    11. Type "6" and enter
    12. Basically, you are choosing "Poco X3 Pro (Global)"
    13. Type "y"
    14. Reboot and test your safetynet
    1. In magisk, install Riru module
    2. Download Unshare - https://github.com/vvb2060/riru-unshare/releases
    3. In magisk, install Unshare
    4. In magisk, enable "Magisk Hide" in settings
    5. In magisk, "hide Magisk" in settings, choose some really unpredictable name
    6. In magisk, press "Shield", hide all options (dropdown) for the targetted App
    7. Reboot
    8. Try run the apps multiple times

    1. If fail
    2. Install App Manager - https://f-droid.org/en/packages/io.github.muntashirakon.AppManager/
    3. In App Manager, look for the apps, go to "Services", disable that one "(Isolated)" service.
    4. Double make sure it is applied
    5. Reboot
    6. Try run the apps multiple times

    1. Still fail
      1. Try this, some say it worked
        1. In magisk, install LsPosed module
        2. Install XPrivacyLua - https://repo.xposed.info/module/eu.faircode.xlua
        3. In LsPosed, enable XprivacyLua and Singpass in that same list
        4. Reboot
        5. In XPrivacyLua, look for the app, enable restrict on "Get Applications"
        6. Reboot
        7. Try run the apps multiple times
      2. this is the last resort
        1. Install Shelter - https://play.google.com/store/apps/details?id=net.typeblog.shelter
        2. Clone the App in Shelter
        3. In shelter, under work profile, make sure no rooted apps in there
        4. Reboot
        5. Try run the App in work profile multiple times
    2
    That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

    However, for training purposes I could install any different OS, suitable for the device. Do you know any?

    By the way, is the following link the only valid repository for the OS?

    If you had no experience of flashing a phone, read and follow this guide with Pictures :
    https://forum.xda-developers.com/t/4288121/post-85137963

    It should be sufficient to help you flash a ROM.

    No tutorial about backup data from phone in that guide, you have to do it on your own.
    1
    Hi Fellows,

    First of all, I’m newbie to flashing (or so-called) phones. I want to change my phone for de-googled one. I’m thinking about POCO X3 Pro with LineageOS 18.1.

    I’ve been recently reading a lot about changing OS, but I feel completely overwhelmed by how complex knowledge it is. Even on the forum there is so much info, so much specific vocabulary/acronyms o_O

    Can you advise me, how to start?

    Or maybe different way... do you know any reliable service/somebody in the UK, who could help? I've already checked services in my town - no one does software modifications :confused:
    You don´t need to pay someone else for that, you can do it by your own.

    I will give you the topics in order, one by one, and just search for the info till understand what you are want to achieve.

    1-Unlocking bootloader.
    2-Flashing a custom recovery.
    3-Rooting (optional)
    4-installing a custom ROM (like LineageOS)

    Search for these topics in your own forum, read carefully and apply them when you are sure what you are doing.
    1
    Thanks a lot. It makes sense.
    I was also told, that before flashing it is esential to do a backup.
    What's your opinion? How to do so?
    About backup the first important is what is important for one, I mean personal information like messages, call, WhatsApp and so on.
    But the most important in other sense is about the well functioning of the device itself, for example EFS where is stored the IMEIs, sometimes vendor, dtbo and persist images depending on the custom recovery if it includes these options.
    Particularly, I never need any other partition from recovering eventually my device/s.
    1
    That was my idea. Unfortunately the only 'old' phone I've got is Huawei P9 Lite 2017 with Android 7. I haven't found any information, that there is a way to install LineageOS on the device.

    However, for training purposes I could install any different OS, suitable for the device. Do you know any?

    By the way, is the following link the only valid repository for the OS?

    yes, thats the official site