[ROM][10.0][Xiaomi Mi 9][UNOFFICIAL]LineageOS 17.1 CLEAN, STOCK + Signature Spoofing [2021-01-21] - Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev

** Standard Disclaimer: Unlocking your Bootloader will Void your Warranty. I take no responsibility for this or for any bricked devices. These thing should go without saying at this point, but there they are. If you are here, I assume you are familiar with LineageOS, TWRP, and moving from MIUI to AOSP-based ROMs**
I've built a clean version of LineageOS 17.1 for Mi 9 that includes Signature Spoofing, but no other modifications.
This will allow those who are interested to get full MicroG support without the need of using any sort of Patcher or Magisk/XPosed Module. YOu all may have used my previous LineageOS Clean,Stock ROM and this is just an updated build of that ROM + Signature Spoofing to make life easier for those who want MicroG.
I flashed this and followed the simple steps of installing F-Droid, adding the MicroG Repo, and Installing the necessary packages via F-Droid and confirmed MicroG Self-check passes all the tests (once you finish granting the necessary permissions for each).
I prefer this over the NanoDroid or other patching methods as a much cleaner way to use MicroG with LineageOS.
Proprietary Blobs/Device Tree are DRG-Developer's as referenced in their post: here
Kernel source is by DRG-Developer: here
Xiaomi Hardware package used is the primary LineageOS from their github here
My reason for this is that there does not seem to be an officially-supported build for our device on the LineageOS for MicroG project or a recent, unofficial build.
What Works:
Pretty much everything from what I can tell
Fingerprint Sensor it working like a champ so far.
DT2W/DT2S
NFC Seems to be working but I don't have a device to test against
Known Issues:
You tell me...
Download:
849.98 MB file on MEGA
mega.nz
Prerequisite:
Make sure you are running a current AOSP/MIUI ROM with the latest firmware flashed and TWRP Installed
Install:
From TWRP:
1) Wipe Date (standard wipe)
2) Format Date ---> 'yes'
3) push ROM zip to /sdcard/
4) Flash ROM zip
4b) - OPTIONAL - Flash Magisk Zip for Root
5) Reboot to system
If you want to to install MicroG, just follow the steps outlined here in the "Install" section to get F-Droid installed, add the MicroG Repo, and install the handful of apps needed. No need for any of the patching steps.
DRG-Developer's device trees were last updated on 2020-10-18 so expect this build to reflect that. So far everything seems to function very well.

Does it support GApps too or it's only for MicroG?
Edit:
I test it and It's working well with GApps
Thanks for your build.

Vogie said:
Does it support GApps too or it's only for MicroG?
Edit:
I test it and It's working well with GApps
Thanks for your build.
Click to expand...
Click to collapse
Thanks for testing! If you find any bugs, please post them here. I may not be able to troubleshoot everything but at least other users will be aware.

What changes between your older release of LineageOS 17.1? https://forum.xda-developers.com/t/...ineageos-17-1-clean-stock-2020-07-10.4041523/

ICanTrollU said:
What changes between your older release of LineageOS 17.1? https://forum.xda-developers.com/t/...ineageos-17-1-clean-stock-2020-07-10.4041523/
Click to expand...
Click to collapse
Later/updated device trees and built-in Signature Spoofing that you don't get with stock Lineage.

photonmedia said:
Thanks for testing! If you find any bugs, please post them here. I may not be able to troubleshoot everything but at least other users will be aware.
Click to expand...
Click to collapse
Sure,
I'm using this ROM for daily use since yesterday and seems like very stable since now and battery life is good.
I missed `Internet Band-with Speed indicator` and `three finger swipe screen shot gesture` that I think these features are not available in LineageOS.

Vogie said:
Sure,
I'm using this ROM for daily use since yesterday and seems like very stable since now and battery life is good.
I missed `Internet Band-with Speed indicator` and `three finger swipe screen shot gesture` that I think these features are not available in LineageOS.
Click to expand...
Click to collapse
Yes, I do not believe those are included in stock LineageOS.

photonmedia said:
Yes, I do not believe those are included in stock LineageOS.
Click to expand...
Click to collapse
I didn't find any issue that relate to ROM, it's quite stable
I just have a issue on ANXCamera self camera that force close the ANXCamera that I think is not related to ROM

photonmedia said:
...
What Works:
...
NFC Seems to be working but I don't have a device to test against
Click to expand...
Click to collapse
This morning I checked NFC by sending a picture from my MI 9 to my wife's Mi 9T (also equipped with LOS). The transfer was successfull!
Thank you very much for providing this clean (stock) ROM!

Hi,
I've just unlocked my device and flashed Mauronofrio's TWRP afer that, i've installed this rom. And everytime it seems to be bootlooping. Showing the MI logo and after that it turns off and goes back to the Mi logo again. I've tried flashing it a few times, wiping data / system ETC. At the moment I'm restoring it with flashtool to get it back working. But am I doing something wrong?

nico445 said:
Hi,
I've just unlocked my device and flashed Mauronofrio's TWRP afer that, i've installed this rom. And everytime it seems to be bootlooping. Showing the MI logo and after that it turns off and goes back to the Mi logo again. I've tried flashing it a few times, wiping data / system ETC. At the moment I'm restoring it with flashtool to get it back working. But am I doing something wrong?
Click to expand...
Click to collapse
Did you wipe data AND "Format" Data? When you Format data is asks you to confirm by typing "yes" in the TWRP Recovery. Try Wiping and Formatting data, then push the ROM to the phone and Flash.

Ah that was probably it. ADB Sideload wasn't co-operating so i've flashed the rom first and after that wiped + formatted the data. Thanks! I've just restored the phone but will try this later again.

nico445 said:
Ah that was probably it. ADB Sideload wasn't co-operating so i've flashed the rom first and after that wiped + formatted the data. Thanks! I've just restored the phone but will try this later again.
Click to expand...
Click to collapse
Also, be sure you are coming from an updated ROM running current firmware.

Thank for your build ;-)
Are NFC Payements working on it?

john_matrix said:
Thank for your build ;-)
Are NFC Payements working on it?
Click to expand...
Click to collapse
I have not tested payments. Another user confirmed that file transfer via NFC works. I do not use NFC for payments so cannot test.

Hi, does screen off fod work?

Your rom is really simple stock rom, but there is something that I can't make it work. Waze has been my pain, the map dont load and I cant make it run. Anyway you did a good job. You discovered how can we put updates in the rom?

theandroid02 said:
Hi, does screen off fod work?
Click to expand...
Click to collapse
No, you have to double-tap to wake or hit the power button to wake the screen before you can use the fingerprint scanner.
Vinicius7 said:
Your rom is really simple stock rom, but there is something that I can't make it work. Waze has been my pain, the map dont load and I cant make it run. Anyway you did a good job. You discovered how can we put updates in the rom?
Click to expand...
Click to collapse
After installing, did you Install F-Droid and enable the Magisk repositories to install the necessary Magisk Modules and Location Backends? Then in the MicroG settings ensure all the checkboxes are checked?

Thanks for making this ROM. Really appreciate it.
The only small issue I am noticing is that my finance apps (example: banking apps, stock trading apps) popup an alert saying that my device is rooted (even though it is not) and this could be a security risk. The apps do still function but its a bit annoying to see this alert every time I launch the app.
Is this because the ROM has been signed with public keys? This alert does not appear when I used the iode OS ROM for Mi 9 or when I use the official Lineage OS for MicroG ROM on my Mi 8.

dmahtani said:
Thanks for making this ROM. Really appreciate it.
The only small issue I am noticing is that my finance apps (example: banking apps, stock trading apps) popup an alert saying that my device is rooted (even though it is not) and this could be a security risk. The apps do still function but its a bit annoying to see this alert every time I launch the app.
Is this because the ROM has been signed with public keys? This alert does not appear when I used the iode OS ROM for Mi 9 or when I use the official Lineage OS for MicroG ROM on my Mi 8.
Click to expand...
Click to collapse
I'm not sure. It could be the Signature Spoofing aspect. I don't think iode has that and I know stock LIneage does not.
Do you have Magisk installed?

Related

How do you update a Project Treble GSI image ?

Hi friends, so there's a lot about installing gsi images on various phones that support project treble but i cannot find anything about how you update them. I installed OmniRom beta3, via fastboot, on my H9L and 3 days later they put out an update. The rom works fine and i set it up to my preference with magisk and it even shows up as Play certified, so all is good. However, with the update I prefer not to go through the whole magisk uninstall/install again. Anyone here knows how you would update an existing gsi images ? If I use fastboot to load the new update wouldn't that erase everything again, as stated on the openkirin.net installation instructions ? or could i jsut fastboot the new beta3.1 over beta3 and just not do a factory reset as recommended ?
Weird everyone writes about installation and no one things about updates ?
thanks.
xzyk said:
Hi friends, so there's a lot about installing gsi images on various phones that support project treble but i cannot find anything about how you update them. I installed OmniRom beta3, via fastboot, on my H9L and 3 days later they put out an update. The rom works fine and i set it up to my preference with magisk and it even shows up as Play certified, so all is good. However, with the update I prefer not to go through the whole magisk uninstall/install again. Anyone here knows how you would update an existing gsi images ? If I use fastboot to load the new update wouldn't that erase everything again, as stated on the openkirin.net installation instructions ? or could i jsut fastboot the new beta3.1 over beta3 and just not do a factory reset as recommended ?
Weird everyone writes about installation and no one things about updates ?
thanks.
Click to expand...
Click to collapse
Good question mate. Since you're on omni I rom do you think it's better than ressuruction remix?
Fredin_ said:
Good question mate. Since you're on omni I rom do you think it's better than ressuruction remix?
Click to expand...
Click to collapse
for me, yes, because one of the most important feature i need is safetynet to pass. Omni was easier to get it to pass safetynet checks (via magisk) then RR. I also like the way Omni implemented the dark theme, obviously all of these are just preferences both roms are good daily drivers.
UPDATE: so i fastbooted the updated img file with stock recovery and did not do any wipes. All was fine including root and certification.
xzyk said:
for me, yes, because one of the most important feature i need is safetynet to pass. Omni was easier to get it to pass safetynet checks (via magisk) then RR. I also like the way Omni implemented the dark theme, obviously all of these are just preferences both roms are good daily drivers.
UPDATE: so i fastbooted the updated img file with stock recovery and did not do any wipes. All was fine including root and certification.
Click to expand...
Click to collapse
Good to hear that you updated successfully. I also love the theme engine in Omni rom but had to switch to stock for the camera

[ROM][XZ][P][9.0][WEEKLY]OmniROM

XZ/KAGURA/F8331 OmniROM BUILDS
PIE 9.0
DOWNLOAD WEEKLY
REQUIREMENTS TO SUCCESSFULLY FLASH OMNIROM:
1. The device has the latest stock ftf
2. The device has an unlocked bootloader
3. The ODM image zip (version 9) has been downloaded from HERE, and the ODM image has been extracted from it
4. The WEEKLY zip file has been downloaded and copied to the device
INSTALLATION INSTRUCTIONS:
1. Reboot device to fastboot mode, and flash the ODM image with this command
Code:
fastboot flash oem <ODM image>
2. Reboot device to TWRP and flash the WEEKLY zip file
3. (If coming from an 8.1 ROM) Fix /dsp SELinux labels with the dsp-label-fixer.zip
4. (Optional) Flash a gapps package
5. Reboot device to system
CURRENT ISSUES ON OFFICIAL:
1. Device wakes up by itself every 5 seconds, reason unknown
2. Camera quality is suboptimal
KERNEL SOURCE: https://github.com/omnirom/android_kernel_sony_msm/tree/android-9.0
BUG REPORTS
REPORT BUGS ONLY:
- AFTER A CLEAN INSTALL
- USING STOCK OMNI KERNEL
- NO MODS OF ANY SORT
OMNI GERRIT REVIEW
https://gerrit.omnirom.org/
DISCLAIMER:
No one is responsible for any damage done to your device but YOU. You've been warned.
XDA:DevDB Information
[ROM][XZ][P][9.0][WEEKLY]OmniROM, ROM for the Sony Xperia XZ
Contributors
oshmoun, humberos, local__hero
Source Code: https://github.com/omnirom
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: latest stock ftf
Version Information
Status: Beta
Created 2019-03-17
Last Updated 2019-05-31
Thank you for the separate this from the other pie roms.
I will flash it after I arrive home.
Thank you all for the hard work!
Sent from my kagura using XDA Labs
I'm loving the fact Omnipie is official. I will be flashing this right now. Thank you so much.
Finally flashed! been using it for less than an hour, i can say that its definitely good for daily use. Camera seems better and hasnt crashed yet (like it use to), mic actually picks up audio properly, brightness slider is finally proportional to the brightness level, and its pie
however, the stereo speaker seems to muffle at high volumes (especially with the ringtones and less with youtube, but still a little prevelent), app opening times seem a little longer than 8.1, and 120HZ still doesnt work
im also curious why the linked odm isnt the latest one (im pretty sure the latest is 1st march not feb)
anyways, thanks dev! (may be editing this thread after more use for battery etc)
XxperexX said:
however, the stereo speaker seems to muffle at high volumes (especially with the ringtones and less with youtube, but still a little prevelent)
Click to expand...
Click to collapse
Could it be this kernel bug: https://github.com/sonyxperiadev/bug_tracker/issues/336 ? Looks like the sonyxperiadev team is working on it.
XxperexX said:
im also curious why the linked odm isnt the latest one (im pretty sure the latest is 1st march not feb)
Click to expand...
Click to collapse
The March 1 release says "Android 8.1", the linked one looks like the latest for Pie.
sinivalas23 said:
Could it be this kernel bug: https://github.com/sonyxperiadev/bug_tracker/issues/336 ? Looks like the sonyxperiadev team is working on it.
The March 1 release says "Android 8.1", the linked one looks like the latest for Pie.
Click to expand...
Click to collapse
Ah, your correct it does say 8.1 my bad
opps
I saw this version from delta updater (using 8.1 omni) and immediately downloaded flashed oem for pie and downloaded omni 9 but it stucked new omni animated logo. Waited like 10 minutes but nothing happened then rebooted phone but same thing happened. Should i wait more or something went wrong?
Im here with OmniROM freshly flashed trough Open Delta.
I have some problems. First boot never ends, BUT restart worked for me but I have another problem.
Now I need 10 min to unlock the phone when Im lucky.
I unlock with the code and then its instantly relock and it say I cant use fingerprint for first unlock, so I use code again and not work again and still can't use fingerprint.
I do this A LOT OF TIME before I can use my phone. Sometimes it helps sometimes not if I not unlock my phone but use corner dial icon first and then if its ask for code i use it and then I got SystemUI crash error again and again and again.
As I said I try to repeat this methods for like 10 min after every restart. I tried to delete some maybe not compatible apps with this new update but still nothing. Now I will remove some Magisk modules. I will write again.
KikiGames said:
Im here with OmniROM freshly flashed trough Open Delta.
I have some problems. First boot never ends, BUT restart worked for me but I have another problem.
Now I need 10 min to unlock the phone when Im lucky.
I unlock with the code and then its instantly relock and it say I cant use fingerprint for first unlock, so I use code again and not work again and still can't use fingerprint.
I do this A LOT OF TIME before I can use my phone. Sometimes it helps sometimes not if I not unlock my phone but use corner dial icon first and then if its ask for code i use it and then I got SystemUI crash error again and again and again.
As I said I try to repeat this methods for like 10 min after every restart. I tried to delete some maybe not compatible apps with this new update but still nothing. Now I will remove some Magisk modules. I will write again.
Click to expand...
Click to collapse
you need to do a full wipe before upgrading to p
Just as @oshmoun said; before flashing new ROMs, it's imperative to do full wipe (if you don't want to lose all your data, then do a full backup in TWRP), as flashing without full wiping can cause TONS of problems. Don't be lazy and follow the instructions properly.
oshmoun said:
you need to do a full wipe before upgrading to p
Click to expand...
Click to collapse
I used the same rom before but the last update. I updated through OpenDelta.
Hello !
It's cool to see our XZ is alive !
I have some problems with this rom after a full wipe and update to oem V6 :
- no sounds during calls, no mic, no earphone, no sounds on speaker
- Magisk 18.1 not working
- With official camera app, while using the flash, only the autofocus led is lit, the second and much powerful led is never triggered resulting on dark shots
For now that's all
Thx
Performance is somewhat distressed and the camera does not work for the sound is not working after restarting the device is improving
KikiGames said:
I used the same rom before but the last update. I updated through OpenDelta.
Click to expand...
Click to collapse
you cant do that. its pretty misleading having it available on that opendelta ota thingy. you have to follow the instructions in this thread
Flashed data, cache and dalvik, factory reset. And installed latest nightly with gapps and magisk 18.1.
Only reason I did it this way is because I was on a unofficial build on Omni. Everything is working as it should. Very snappy and no lag. Still have to see how the ROM handles after it's settled for a couple day, but right off the bat it's amazing. Thank you very much Dev, and happy to see you back on XDA.
XxperexX said:
you cant do that. its pretty misleading having it available on that opendelta ota thingy. you have to follow the instructions in this thread
Click to expand...
Click to collapse
Why this ROM showed up as an update then?
I just don't understand it.
Nevermind this is my main and only phone and I work 4 days straight before I can use my PC so I need to use this ROM buggy for me. :/
KikiGames said:
Why this ROM showed up as an update then?
I just don't understand it.
Nevermind this is my main and only phone and I work 4 days straight before I can use my PC so I need to use this ROM buggy for me. :/
Click to expand...
Click to collapse
You need a PC to flash this. Follow all steps in order and it'll work. Always remember, unless you have a messaging app that backups texts, you will lose them flashing a cfw. Always always backup anything you don't want to lose.
---------- Post added at 12:56 AM ---------- Previous post was at 12:28 AM ----------
I've had a reoccurring issue on the unofficial and official builds so far. I do not have the option to use my phone when calling unless speaker phone or a Bluetooth headset. I cannot put the phone to my head and use normally. Is there any kind of option to fix this nuisance. Any feedback is truly appreciated
Every 9.0 ROM I ever flash, I always seem to have the same problem. Whether its dirty flashing, or starting with flashtool, to CMD, and then to TWRP, the same problem seems to happen. After the ROM has settled, audio quality through calls becomes a huge problem. I'm not sure if I'm doing something wrong, but it has been a persistent bug, next chance I get for the next nightly ill send a logcat, kinda cant not since back on stock. I need good call quality for work lol. Either way, thank you for bringing OMNI to 9.0 official
anyone having problems with video playback? videos dont play on instagram, youtube or snapchat. using magisk 18.1 and latest omni 9 rom
edit: nvm, found out that the Google camera fix module for magisk was the problem

Is it possible to install gapps on the Android 11 beta?

Have some free time this coming weekend and was considering installing the android 11 beta posted here
Reading around this forum I've seen people have had issues installing gapps.
Has anyone managed to install gapps successfully? If not, I will stay on the NX627J_CNCommon_V2.23 build.
Thanks in advance.
EDIT:
I have now upgraded to Android 11 and installed google apps, here's how I did it.
The usual disclaimers apply: DO NOT DO THIS IF YOU ARE NOT FAMILIAR WITH ADB, FASTBOOT ETC. I will not be held responsible for bricked devices.
If you wish to void your warranty the command to unlock the bootloader and allow flashing with fasboot the command is "fastboot oem nubia_unlock NUBIA_NX627J"
1. Backup the data you want to keep from your phone. Wipe the phone using stock recovery or TWPR
2. Upgrade to 2.24 using full zip. As I had previously rooted my device so the stock recovery wasn't working and I had to flash TWRP.
3. Upgrade to 3.11 using full zip. Either use the stock recovery or TWRP. This will be the last time you can use TWRP for flashing due to changes in Android 11. TWRP does not support Android 11 yet. If I'd have realised this before I would have tried to flashed google apps at this step. Can't confirm if this works but I wish I'd have tried it.
4. If you need root, install the APK for magisk "canary" (or any version that supports patching boot.img)
5. Open the zip for 3.11 and extract boot.img, copy to your device
6. Patch the boot.img using Magisk. I used these instructions. Reboot.
7. Congratluations, you have Android 11 with root!
If you need gapps and didn't install them yet, it's still possible. Flashing without TWRP was a challenge, but after a lot of hours wasted, I found that BiTG apps was working which I downloaded from this page. I flashed using EX Kernel Manager but I would imagine other apps that allow root flashing will work similarly.
Currently, I have not been able to get SafetyNet checks to pass. I will update this thread with details as I uncover them.
For WhatsApp verfication to pass make sure you have granted Google services framework SMS permissions.
Hope this is helpful for some people who are thinking about making the move to Android 11. No major issues to report yet, will update this thread if anything comes up.
EDIT 2021/02/22: I have repeated this process successfully for V3.15.
thais rom support to flash twrp or google app?
someone who helps? very ugly problem that notifications from whatsapp do not arrive
mmason75123 said:
Have some free time this coming weekend and was considering installing the android 11 beta posted here
Reading around this forum I've seen people have had issues installing gapps.
Has anyone managed to install gapps successfully? If not, I will stay on the NX627J_CNCommon_V2.23 build.
Thanks in advance
Click to expand...
Click to collapse
All work fine in this version (NX627J_CNCommon_V2.23 build)? notifications whatsapp? names of calls?
updated OP now, I have finally managed to upgrade to Android 11!
mmason75123 said:
Have some free time this coming weekend and was considering installing the android 11 beta posted here
Reading around this forum I've seen people have had issues installing gapps.
Has anyone managed to install gapps successfully? If not, I will stay on the NX627J_CNCommon_V2.23 build.
Thanks in advance.
EDIT:
I have now upgraded to Android 11 and installed google apps, here's how I did it.
The usual disclaimers apply: DO NOT DO THIS IF YOU ARE NOT FAMILIAR WITH ADB, FASTBOOT ETC. I will not be held responsible for bricked devices.
1. Backup the data you want to keep from your phone. Wipe the phone using stock recovery or TWPR
2. Upgrade to 2.24 using full zip. As I had previously rooted my device so the stock recovery wasn't working and I had to flash TWRP.
3. Upgrade to 3.11 using full zip. Either use the stock recovery or TWRP. This will be the last time you can use TWRP for flashing due to changes in Android 11. TWRP does not support Android 11 yet. If I'd have realised this before I would have tried to flashed google apps at this step. Can't confirm if this works but I wish I'd have tried it.
4. If you need root, install the APK for magisk "canary" (or any version that supports patching boot.img)
5. Open the zip for 3.11 and extract boot.img, copy to your device
6. Patch the boot.img using Magisk. I used these instructions. Reboot.
7. Congratluations, you have Android 11 with root!
If you need gapps and didn't install them yet, it's still possible. Flashing without TWRP was a challenge, but after a lot of hours wasted, I found that BiTG apps was working which I downloaded from this page. I flashed using EX Kernel Manager but I would imagine other apps that allow root flashing will work similarly.
Currently, I have not been able to get SafetyNet checks to pass. I will update this thread with details as I uncover them.
For WhatsApp verfication to pass make sure you have granted Google services framework SMS permissions.
Hope this is helpful for some people who are thinking about making the move to Android 11. No major issues to report yet, will update this thread if anything comes up.
Click to expand...
Click to collapse
how can i unbloat this **** and get the stock rom? Are they going to release a global rom android 11?
B4$Q said:
how can i unbloat this **** and get the stock rom? Are they going to release a global rom android 11?
Click to expand...
Click to collapse
you can uninstall most of the bloat without root, and even more of it with
obviously I don't work for nubia but at this point a global ROM seems a way off, especially given there has been nothing since 2.03
here is the forum post for release 3.11
【2020年11月30日】Android R V311 for Z20 小批量更新公告-努比亚Z20-努比亚/红魔社区 - 手机版
mmason75123 said:
you can uninstall most of the bloat without root, and even more of it with
obviously I don't work for nubia but at this point a global ROM seems a way off, especially given there has been nothing since 2.03
here is the forum post for release 3.11
【2020年11月30日】Android R V311 for Z20 小批量更新公告-努比亚Z20-努比亚/红魔社区 - 手机版
Click to expand...
Click to collapse
I want to make it stock. Is there a tutorial for that? Their rom has too many issues, including the notifications and that ugly skin with their useless chinese features.
B4$Q said:
I want to make it stock. Is there a tutorial for that? Their rom has too many issues, including the notifications and that ugly skin with their useless chinese features.
Click to expand...
Click to collapse
"stock" for this phone is what you have installed now. There is no custom ROM, which is your real complaint. To be honest, I would also much prefer a custom ROM, if you find one let me know! Anyway this is completely off topic for this thread
mmason75123 said:
"stock" for this phone is what you have installed now. There is no custom ROM, which is your real complaint. To be honest, I would also much prefer a custom ROM, if you find one let me know! Anyway this is completely off topic for this thread
Click to expand...
Click to collapse
Yeah, stock is what I have installed right now, which is Android 9. I would like to get the stock Android 11, without their skin. Maybe a GSI rom could fix it, but I was not able to install it. As soon as you flash the gsi rom on nubia ui 8, the system breaks.
B4$Q said:
Yeah, stock is what I have installed right now, which is Android 9. I would like to get the stock Android 11, without their skin. Maybe a GSI rom could fix it, but I was not able to install it. As soon as you flash the gsi rom on nubia ui 8, the system breaks.
Click to expand...
Click to collapse
Yeah I hear you - it's incredibly annoying that you can't set the default launcher to anything else. Well, I'm sure you can probably! But I'm going to leave my phone to settle for a few days at least before messingw ith it any more
Good luck.
mmason75123 said:
Yeah I hear you - it's incredibly annoying that you can't set the default launcher to anything else. Well, I'm sure you can probably! But I'm going to leave my phone to settle for a few days at least before messingw ith it any more
Good luck.
Click to expand...
Click to collapse
I'll stay on Android 9 for the moment, but I will never buy from this brand again. Apple proved me again that their phones are the best from the market. And Google Phones of course.
I have updated my phone from Android 9 to Android 11 V3.11 everything works fine but can I install gapps and how?
mmason75123 said:
Have some free time this coming weekend and was considering installing the android 11 beta posted here
Reading around this forum I've seen people have had issues installing gapps.
Has anyone managed to install gapps successfully? If not, I will stay on the NX627J_CNCommon_V2.23 build.
Thanks in advance.
EDIT:
I have now upgraded to Android 11 and installed google apps, here's how I did it.
The usual disclaimers apply: DO NOT DO THIS IF YOU ARE NOT FAMILIAR WITH ADB, FASTBOOT ETC. I will not be held responsible for bricked devices.
1. Backup the data you want to keep from your phone. Wipe the phone using stock recovery or TWPR
2. Upgrade to 2.24 using full zip. As I had previously rooted my device so the stock recovery wasn't working and I had to flash TWRP.
3. Upgrade to 3.11 using full zip. Either use the stock recovery or TWRP. This will be the last time you can use TWRP for flashing due to changes in Android 11. TWRP does not support Android 11 yet. If I'd have realised this before I would have tried to flashed google apps at this step. Can't confirm if this works but I wish I'd have tried it.
4. If you need root, install the APK for magisk "canary" (or any version that supports patching boot.img)
5. Open the zip for 3.11 and extract boot.img, copy to your device
6. Patch the boot.img using Magisk. I used these instructions. Reboot.
7. Congratluations, you have Android 11 with root!
If you need gapps and didn't install them yet, it's still possible. Flashing without TWRP was a challenge, but after a lot of hours wasted, I found that BiTG apps was working which I downloaded from this page. I flashed using EX Kernel Manager but I would imagine other apps that allow root flashing will work similarly.
Currently, I have not been able to get SafetyNet checks to pass. I will update this thread with details as I uncover them.
For WhatsApp verfication to pass make sure you have granted Google services framework SMS permissions.
Hope this is helpful for some people who are thinking about making the move to Android 11. No major issues to report yet, will update this thread if anything comes up.
Click to expand...
Click to collapse
You may want to add in the instructions the command to unlock the bootloader of the z20 since users wouldn't be able to flash otherwise.
I managed to get this working and trying to de-china-fy to have english only. Will report back if I can somehow replace the default launcher.
Edit: got a my total launcher running by placing the apk inside the folder where the default nubia launcher is sitting. With root, just place the apk under system/app/nubia launcher folder. It's not working 100% perfect for me as nubia edge gestures stop letting me pull up recent apps so I can't multi task anymore
aso89 said:
I have updated my phone from Android 9 to Android 11 V3.11 everything works fine but can I install gapps and how?
Click to expand...
Click to collapse
See OP "If you need gapps", here's the link again to get them again. BiTGApps-arm64-11.0.0-R17_signed-20200923.zip is the name of the file I have.
[GAPPS] Download GApps for Android 11 (JUNE 2021 UPDATE)
Google Apps (GApps) for Android 11 based ROMs needs to be flashed separately. Here is a direct link to download Android 11 compatible GApps.
www.cyanogenmods.org
xda-nitro said:
You may want to add in the instructions the command to unlock the bootloader of the z20 since users wouldn't be able to flash otherwise.
I managed to get this working and trying to de-china-fy to have english only. Will report back if I can somehow replace the default launcher.
Edit: got a my total launcher running by placing the apk inside the folder where the default nubia launcher is sitting. With root, just place the apk under system/app/nubia launcher folder. It's not working 100% perfect for me as nubia edge gestures stop letting me pull up recent apps so I can't multi task anymore
Click to expand...
Click to collapse
Thanks that's a good idea, I'll try it out. Can you explain a little more around the gestures issue, is it that you show the navbar and the nubia controls are now somehow in the way? I've been a fan of the nubia navigation since I gave it a go and became used to it. Having the back button at any point in the screen is useful I find.
I've added the command to unlock the bootloader to the OP btw.
mmason75123 said:
Thanks that's a good idea, I'll try it out. Can you explain a little more around the gestures issue, is it that you show the navbar and the nubia controls are now somehow in the way? I've been a fan of the nubia navigation since I gave it a go and became used to it. Having the back button at any point in the screen is useful I find.
I've added the command to unlock the bootloader to the OP btw.
Click to expand...
Click to collapse
With the stock nubia launcher even with the Chinese app taken out, swiping left always tries to get you to the Chinese google feed like page. I didn't care for that so I replaced the launcher with total launcher which worked.
The problem is that the swipe up gesture that usually pull up the recent apps to allow switching between application is not working. Even switching the navigation from gestures to 3 button navigation and pressing the recent apps button does nothing.
Perhaps I took one too many Chinese system apps out which caused this error or it is somehow tied into system and nubia launcher itself. Will have to test further.
xda-nitro said:
With the stock nubia launcher even with the Chinese app taken out, swiping left always tries to get you to the Chinese google feed like page. I didn't care for that so I replaced the launcher with total launcher which worked.
The problem is that the swipe up gesture that usually pull up the recent apps to allow switching between application is not working. Even switching the navigation from gestures to 3 button navigation and pressing the recent apps button does nothing.
Perhaps I took one too many Chinese system apps out which caused this error or it is somehow tied into system and nubia launcher itself. Will have to test further.
Click to expand...
Click to collapse
Thanks makes sense. Yes it sounds like you've uninstalled the Recents app, either reinstate or there are alternatives out there I believe
mmason75123 said:
Thanks makes sense. Yes it sounds like you've uninstalled the Recents app, either reinstate or there are alternatives out there I believe
Click to expand...
Click to collapse
Just to confirm, I have just tried to set a new default launcher as you suggest above by replacing the APK. Replacing with SmartLauncher I couldn't return to the home screen using the swipe up gesture so have rolled back.
mmason75123 said:
Just to confirm, I have just tried to set a new default launcher as you suggest above by replacing the APK. Replacing with SmartLauncher I couldn't return to the home screen using the swipe up gesture so have rolled back.
Click to expand...
Click to collapse
It's weird, the recent apps and swipe up are linked to the nubia launcher for some reason. Despite this, I'm staying with with my launcher as I can't stand the apple like nature of the nubia launcher. I think I have managed to get rid of all the Chinese apps though so all good for now.
xda-nitro said:
It's weird, the recent apps and swipe up are linked to the nubia launcher for some reason. Despite this, I'm staying with with my launcher as I can't stand the apple like nature of the nubia launcher. I think I have managed to get rid of all the Chinese apps though so all good for now.
Click to expand...
Click to collapse
Do you get notifications from apps? When I had that rom, I was not receiving any notification.

Xiaomi Mi 9T Pro decryption issues and flashing woes

Phone: Xiaomi Mi 9T /K20 Pro
Current Rom: Miui Global 12.5.1
Wanted Rom: Stock google/pixel with all google apps, but without the awful miui interface
Evening everyone.
I would be very grateful if some kind soul can assist me. I'm trying to replace the standard and hated miui rom with Evolution X (Raphael) rom or any other recommend rom. So far I've successfully managed to connect the phone, setup usb drivers and unlocked the phone as well as used fastboot to flash twrp-3.7.0_9-0-raphael.img.
So far so good, but here's the questions I have or issues I'm having:-
Even though I have removed all screenlocks, the phone files on twrp are still showing as decrypted. I've also deliberately put on a screenlock and then booted to twrp, but I get no messages or request to enter a password. FYI, if I go to Settings>Privacy, the phone does state that it's encrypted.. Other than flashing twrp-3.7.0_9-0-raphael.img, I have also flashed many other versions of twrp, but they all do the same thing, i.e. no mention of any screenlock or decryption.
Although I can flash twrp, if I reboot, it reverts back to miui stock recovery. I then have to reflash twrp image to get back in. Is there a way to keep it installed permanently?
I'm also confused whether I need to root the phone. Is this compulsory and if not, and is it worth it?
Lastly my main goal is to install a rom without the rubbish miui. I still want all google apps, camera, nfc, and everything else to work, but with so many custom roms available, it's getting confusing. Can you please recommend one that is new, popular and has all the standard google apps/rom and stuff?
Thanks in advance.
Apologies - Just BUMPING this up as no reply.
Try this recovery https://androidfilehost.com/?fid=15664248565197208247
vito_metallica said:
Try this recovery https://androidfilehost.com/?fid=15664248565197208247
Click to expand...
Click to collapse
Thanks very much. Sorry about this, but would you mind explaining what that file is and how do I install it? Is there a step-by-step guide that I can follow? Also once it's installed how do I use it to install the custom rom?
Thanks again for your help.
wowandroid said:
Thanks very much. Sorry about this, but would you mind explaining what that file is and how do I install it? Is there a step-by-step guide that I can follow? Also once it's installed how do I use it to install the custom rom?
Thanks again for your help.
Click to expand...
Click to collapse
It's a version of orangefox twrp with a fix to support android 13 encryption. Guides on how and what to install are usually provided by the ROMs developers, since each ROM requires different software and steps. I don't think anybody can really recommend you a specific custom ROM, since most of them have their quirks and bugs, but I tried both EvolutionX and VoltageOS and both were running fine on my device (both android 13), now I'm running lineageos 20 unofficial and it runs fine too.
I see you want to install EvolutionX, and you will find all info on their thread, and should ask support for that specific ROM on that thread.
Sorry @vito_metallica, when I was asking for a guide or link, is was not for how to install a ROM, but how to install the orangefox twrp. Last thing I want to do is to brick the phone, lol.
wowandroid said:
Sorry @vito_metallica, when I was asking for a guide or link, is was not for how to install a ROM, but how to install the orangefox twrp. Last thing I want to do is to brick the phone, lol.
Click to expand...
Click to collapse
Extract the zip and there is a recovery.img file inside. Maybe try it before actually flashing it (fastboot boot recovery.img)
And finally flash with fastboot flash recovery recovery.img
EDIT:
Just wanna say, thanks so much @vito_metallica
Believe it or not, I've now edited this same post 5-6 times, because each time there was an issue, I'd edit the post again and again, lol.
Good news! I've managed to successfully install the EvolutionX rom.
I've had a play around and its a brilliant rom. Just a few issues which I hope I can iron out:-
The Android System WebView won't update - I've tried to uninstall, clear cache/data etc, but it still won't work
Is there a way to remove, relocate or hide the bottom Google Search Bar? - I never tend to use it as I find it annoying, so I would prefer to totally remove it if possible.
Thanks again
I
wowandroid said:
EDIT:
Just wanna say, thanks so much @vito_metallica
Believe it or not, I've now edited this same post 5-6 times, because each time there was an issue, I'd edit the post again and again, lol.
Good news! I've managed to successfully install the EvolutionX rom.
I've had a play around and its a brilliant rom. Just a few issues which I hope I can iron out:-
The Android System WebView won't update - I've tried to uninstall, clear cache/data etc, but it still won't work
Is there a way to remove, relocate or hide the bottom Google Search Bar? - I never tend to use it as I find it annoying, so I would prefer to totally remove it if possible.
Thanks again
Click to expand...
Click to collapse
- Did you also clear cache and storage of Play store? If nothing works you could still install updates manually via apkmirror or you could install Chrome and use that as system WebView ( you can switch in dev settings ) or you could use Bromite system WebView ( search on GitHub for info about installation)
- If there isn't an option to remove the search bar you could still switch to a different launcher like lawnchair or Nova Launcher ( which I personally prefer), but maybe you should ask the EvolutionX devs first, since maybe the stock launcher has features built in that you would lose if using a custom one.
vito_metallica said:
I
- Did you also clear cache and storage of Play store? If nothing works you could still install updates manually via apkmirror or you could install Chrome and use that as system WebView ( you can switch in dev settings ) or you could use Bromite system WebView ( search on GitHub for info about installation)
- If there isn't an option to remove the search bar you could still switch to a different launcher like lawnchair or Nova Launcher ( which I personally prefer), but maybe you should ask the EvolutionX devs first, since maybe the stock launcher has features built in that you would lose if using a custom one.
Click to expand...
Click to collapse
I always thought by clearing the cache/storage , it would cause major issues, like apps stop working. Am I actually safe to do this without any ill-effect? Will it still remember that I'm logged in and what apps I've already downloaded/updated?
Regarding the bottom google search bar - I think I read somewhere this is built-in and it can't be removed without causing major issues. I guess I'll just have to live with it.
The other issue I've found with this rom is that after disabling gestures and re-enabling the 3 navigation buttons (which I prefer), they are the wrong-way round, i.e. I prefer the back button to be on the right-hand side. So if you know any way of fixing this then please let me know.
I'll post these questions on the dev's chat too.
Thanks for all your help and advice.

[GUIDE] Install LineageOS 20 on SM-T290 and SM-T295 with Google Apps (MindTheGapps)

Install LineageOS 20 on SM-T290 and SM-T295 with Google Apps (MindTheGapps)​
* Your warranty is now void. (It might already been)
* I am not responsible for any damage that it may do to your device. I WARNED YOU
* It's your choice to do it. Not mine. I just made it as I wanted to do it, but you have the choice to do so. If you choose to do it, you know that it may have consequences.
Click to expand...
Click to collapse
WARNING! This won't work on a bootloader with version U4! Flashing won't work and so you will not be able to use this guide. Unfortunately, you can also currently not downgrade the bootloader, making it impossible to get any custom stuff (custom recovery, custom ROM, etc.) on your device...
Hello there! This is another guide from me here on XDA Developers! Today, I will show you how to install LineageOS 20 on an SM-T290 and SM-T295, and yes, it works on both! Let's get started:
Prerequisites​But first, make sure you have all of this:
An SM-T290 or SM-T295 tablet
TWRP (v3.7.0 recommended for SM-T290 and v3.5.2 for SM-T295)
Unlocked bootloader
1. Download LineageOS 20 ZIP from here (There stands it is for gtowifi, but it also works on the LTE model).
2. Choose the nightly build for the ZIP, it is very stable even though it is nightly.
3. OPTIONAL BUT I DO NOT RECOMMEND: You could also choose the recovery, but that's more like the stock recovery and I recommend you to keep TWRP as it has better features.
4. Download the ZIP that has the format 'lineage-20.0-YYYYMMDD-nightly-gtowifi-signed.zip'
- OPTIONAL: Download the recovery image for LineageOS 20 with the format 'lineage-20.0-YYYYMMDD-recovery-gtowifi.img'.
5. Download MindTheGapps from here.
6. Choose the one with the format 'MindTheGapps-13.0.0-arm64-YYYYMMDD_BBBBBB.zip'
7. Follow the links to download the ZIP file.
8. Place the LineageOS and MindTheGapps ZIP to an SD card or USB drive. If you choose to also take LineageOS recovery, you will also need to place the .IMG to an SD card or USB drive.
9. Insert the SD card or USB drive into your tablet.
10. Boot the device into TWRP.
11. Go to 'Wipe' > 'Swipe to Wipe'.
12. Then go once again to 'Wipe' > 'Format data' > 'Swipe to format'.
13. Go to install, make sure that it is not install image but as flash ZIP!
14. Use the select storage button to choose the storage where the ZIPs are saved.
15. Choose the LineageOS 20 ZIP and swipe to install.
16. Wait until it is done and now install MindTheGapps.
17. Optional step (depending on whether you have the following things):
- Install Magisk (root) ZIP if you have it. You could also do this later on.
- Install LineageOS recovery ZIP if you have chosen to use it. This can also be done later.
17. Click on 'Reboot system' or go to 'Reboot' > 'System'.
18. Wait until the boot is done.
19. Go through the setup, but WAIT! First read the step below.
20. Depending on whether you have LineageOS recovery or TWRP, you need to enable the option 'Auto-update LineageOS Recovery/LOS Recovery' in the setup if you have LineageOS/LOS Recovery and disable that if you have TWRP.
21. Once the setup completed, you are done!
That was easy to follow. Thank you.
Heeni said:
That was easy to follow. Thank you.
Click to expand...
Click to collapse
No problem!
Heeni said:
That was easy to follow. Thank you.
Click to expand...
Click to collapse
Nice. Guess you have LineageOS 20 right now.
Minionguyjpro said:
Nice. Guess you have LineageOS 20 right now.
Click to expand...
Click to collapse
Yes. I was previously running a GSI, but I like this better.
I'm not using Gapps, so I just skipped para. 16. I did install Magisk.
Does OTA update work with TWRP, or only with Lineage recovery?
Heeni said:
Yes. I was previously running a GSI, but I like this better.
I'm not using Gapps, so I just skipped para. 16. I did install Magisk.
Does OTA update work with TWRP, or only with Lineage recovery?
Click to expand...
Click to collapse
It does work with TWRP. It uses an OpenRecoveryScript. If you have Gapps (which you don't have), you need to reflash them afterwards. Also Magisk needs to be reflashed, but it is much easier to do than the stock!
How does this tablet with LineageOS work now?
Has it become more responsive than the original Samsung ROM or does it continue to suffer from the same exasperating slowness that characterized it?
dequadim said:
How does this tablet with LineageOS work now? Has it become more responsive than the original Samsung ROM or does it continue to suffer from the same exasperating slowness that characterized it?
Click to expand...
Click to collapse
I'm not sure, but it has some good features though. Some parts are a bit buggy, but most are not. It's also much faster.
Hello, thank you for the installation guide. Used my T290 and everything was working perfectly fine... I then decided to use LineageOS for MicroG and also everything ist working...
LineageOS 20 for MicroG:
gtowifi
My other SM-T295 is now on Bootloader5 (T295XXS5CWA1) so I think there is no way anymore to get LineageOS 20 on it. I now ordered a "new" SM-T295, which is supposed to be on Android 9. When I use the Guide above, is the cellular modul and LTE working with the CustomRom? Or should I use the GSI? Why is it such a different between those two devices?
SGX22 said:
Hello, thank you for the installation guide. Used my T290 and everything was working perfectly fine... I then decided to use LineageOS for MicroG and also everything ist working...
LineageOS 20 for MicroG:
gtowifi
My other SM-T295 is now on Bootloader5 (T295XXS5CWA1) so I think there is no way anymore to get LineageOS 20 on it. I now ordered a "new" SM-T295, which is supposed to be on Android 9. When I use the Guide above, is the cellular modul and LTE working with the CustomRom? Or should I use the GSI? Why is it such a different between those two devices?
Click to expand...
Click to collapse
Hello there! LTE will not be included, but you have 2 workarounds:
Make a hotspot over Wi-Fi with your phone or any other SIM device
Use the GSI ROM, which may have support
Well, LTE doesn't work, because of this: LineageOS is made on base of the drivers and packages of the device. And, they are almost the same I think, that's why the other stuff will or should work. But, the SM-T295 also has a driver and/or package for the SIM, LTE and so. And because it was originally made for the SM-T290, instead of an SM-T295, it will not include those drivers and so the support for it. You could try a GSI, although I had issues with it. But I may have done it wrong or so.., I always say: if there is an official custom ROM, use that over GSI, because it was really made for the device and includes the drivers and packages for the device. Although I don't really know whether GSI is bad, it may also work correctly..., if you try GSI, and it doesn't work, you could take a look at this: https://forum.xda-developers.com/t/gsi-lte-fix.3925151/
dequadim said:
How does this tablet with LineageOS work now?
Has it become more responsive than the original Samsung ROM or does it continue to suffer from the same exasperating slowness that characterized it?
Click to expand...
Click to collapse
In my opinion it is much faster and very responsive. It is really an improvement!
SGX22 said:
In my opinion it is much faster and very responsive. It is really an improvement!
Click to expand...
Click to collapse
Well, I will install it as soon as I can.
I flashed TWRP on my T295 But unfortunately i got this eroor SECURE CHECK FAIL : recovery.img)
nima2005com said:
I flashed TWRP on my T295 But unfortunately i got this eroor SECURE CHECK FAIL : recovery.img)
Click to expand...
Click to collapse
That's I think because your bootloader version is 4 or higher, instead of 3..., this updates after an update, and it can also not be downgraded for now. Bootloader version 3 has not got this protection that disallows flashing custom things like TWRP. Bootloader version 4 and higher do have...
Minionguyjpro said:
That's I think because your bootloader version is 4 or higher, instead of 3..., this updates after an update, and it can also not be downgraded for now. Bootloader version 3 has not got this protection that disallows flashing custom things like TWRP. Bootloader version 4 and higher do have...
Click to expand...
Click to collapse
ok i haved installed this rom on T295 Android 9 Bootloader 3 And everything works .Thanks for making this awesome rom . the only bug i noticed is low brightness . i think oneui max brightness was higher than this rom
nima2005com said:
ok i haved installed this rom on T295 Android 9 Bootloader 3 And everything works .Thanks for making this awesome rom . the only bug i noticed is low brightness . i think oneui max brightness was higher than this rom
Click to expand...
Click to collapse
Note: as i experienced you cant install Twrp on android 10 bootloader 3
nima2005com said:
I flashed TWRP on my T295 But unfortunately i got this eroor SECURE CHECK FAIL : recovery.img)
Click to expand...
Click to collapse
You can repair it quickly. Please search on youtube.
Deleted, need to search some further to make sure it is correct...
nima2005com said:
ok i haved installed this rom on T295 Android 9 Bootloader 3 And everything works .Thanks for making this awesome rom . the only bug i noticed is low brightness . i think oneui max brightness was higher than this rom
Click to expand...
Click to collapse
Hello, I ordered a "new" T295 with Android 10, but it is T295XXU4BUD3 as well, like my old T295. Is there still no way to get LineageOS on it.
I must say I am very disappointed now. I tried so many things bought 3!!! Devices.. It is just to much work to get LineageOS on a tablet. Is there any (small Tablet) that I can put LineageOS on with LTE which is working. Man, I am trying this for 2 years now..... What about Sony Tablets?
SGX22 said:
Hello, I ordered a "new" T295 with Android 10, but it is T295XXU4BUD3 as well, like my old T295. Is there still no way to get LineageOS on it.
I must say I am very disappointed now. I tried so many things bought 3!!! Devices.. It is just to much work to get LineageOS on a tablet. Is there any (small Tablet) that I can put LineageOS on with LTE which is working. Man, I am trying this for 2 years now..... What about Sony Tablets?
Click to expand...
Click to collapse
Well, an old Samsung Galaxy Tab 4 with LineageOS 18.1 (Android 11). I helped someone today to get it on his device! It was very easy to do, so.

Categories

Resources