Need some help! - Xiaomi Redmi 4X Questions & Answers

Hey guys, i am on miui global 10 8.9.20 beta and i have already unlocked the bootloader. (I just want some tips because i bootlocked my santoni at the first attempt )
So.. what recovery and method i should use as i only want magisk and audio mods.

NFS420 said:
Hey guys, i am on miui global 10 8.9.20 beta and i have already unlocked the bootloader. (I just want some tips because i bootlocked my santoni at the first attempt )
So.. what recovery and method i should use as i only want magisk and audio mods.
Click to expand...
Click to collapse
I suppose you mean bootlooped not "bootlocked" because it is already unlocked, right?
A custom recovery with official MIUI requires a boot image fix and you'd better simply install this https://xiaomi.eu/community/threads/8-9-20.46616/ as it works without any issues and you'll be able to easily mod it any way you want.
:good:

Use Official twrp recovery, download it from here -> https://twrp.me/xiaomi/xiaomiredmi4x.html
Magisk manager -> https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
there are several audio mods available, i do not use any so can not suggest any.

k23m said:
I suppose you mean bootlooped not "bootlocked" because it is already unlocked, right?
A custom recovery with official MIUI requires a boot image fix and you'd better simply install this https://xiaomi.eu/community/threads/8-9-20.46616/ as it works without any issues and you'll be able to easily mod it any way you want.
:good:
Click to expand...
Click to collapse
yup it bootlooped not locked(my bad), the bootloader is unlocked.
And would i lose all my data if i flashed this on top of my global rom and can i restore my data via restore from a backup in twrp ?

NFS420 said:
yup it bootlooped not locked(my bad), the bootloader is unlocked.
And would i lose all my data if i flashed this on top of my global rom and can i restore my data via restore from a backup in twrp ?
Click to expand...
Click to collapse
You will not lose anything if you try a "dirty flash". Wipe only advanced-cache/dalvik (don't wipe data!) and everything should work if you use "xiaomi.eu_multi_HM4X_8.9.20_v10-7.1.zip" which is exactly the same MIUI version as the official.
A "dirty flash" while preserving data/setup may not be always successful but you can restore your backup later should something go wrong.
Normal flash is recommended but you'd have to deal with app re-installations.

Related

Can I install MIUI ROMs trough TWRP like any other ROM?

I just get the Mi5 and like I said in other se treads, im kind desapointed with the MIUI mostly because the touchscreen, performance and the notifications bar. I realy into adveture myself in the world of the custom ROMs, like CM 14.1, but my doubt is.. Can I only go back to complete Stock by flashing MIUI by Fastboot or can be installed trough TWRP like any other ROM?
GabrielMed said:
I just get the Mi5 and like I said in other se treads, im kind desapointed with the MIUI mostly because the touchscreen, performance and the notifications bar. I realy into adveture myself in the world of the custom ROMs, like CM 14.1, but my doubt is.. Can I only go back to complete Stock by flashing MIUI by Fastboot or can be installed trough TWRP like any other ROM?
Click to expand...
Click to collapse
official MIUI - use MI flashtool via fastboot method only
unofficial MIUI - flash via TWRP recovery or MI flashtool will also work
Sure you can. Actually I used twrp to update the stable version of miui for countless times. It is OK, at least for my 64G mi5
No. Official rom you must need miui flash tool.
you can flash Custom recovery form EDL mode even in bootloader locked
Hi. What would be the safest way to go back to global stable rom? I am on miui eu 6.11.10. Boot loader is unlocked, and my recovery is twrp 3.0.2.0. In recovery I get error message when I try to clear cache "can't mount cache". I just want to be able to receive ota, got tired of changing roms. Thanks
Hi I'm on eu Stable 8.1.6. I want to flash developer Global 7.1.19. What is the safest way? Can I do it by TWRP and what I should wipe?
GabrielMed said:
Can I install MIUI ROMs trough TWRP like any other ROM?
Click to expand...
Click to collapse
Yes; if you do a backup via TWRP of your miUI rommed device: sysimage + data + boot
advice: save it outside of the device (your computer, etc) for storage.
Then you can go frolicking with wathever rom you want, when tired put back in the device the backup files; reboot in recovery and via TWRP do a restore.
advice 2: as a baseline for a good/solid backup save also "efs" (that is the modem/sim stuff).
Why sysimage and not system?
Because that is an image (all the bytes) and the other is just the bytes in use; so sysimage will be a larger (in mb/gb) file but a more robust one (backup wise).
...
and for the two who inserted their personal questions in this semi-old thread...
sol81 said:
the safest way to go back to global stable rom
Click to expand...
Click to collapse
selmandeli said:
I want to flash developer Global
Click to expand...
Click to collapse
the TWRP website with mi5 version, wich the latest is "twrp-3.0.2-3-gemini.img" 2016-11-20 https://twrp.me/devices/xiaomimi5.html
the mi5 forum: http://en.miui.com/forum-92-1.html
the rom download page with the official flashing guides: http://en.miui.com/download-299.html
Because to do what you ask you have the recovery method and the fastboot method.
Going from eu to global ROM by TWRP what should I wipe (data, system, dalvik, cashe...)?
selmandeli said:
Going from eu to global ROM by TWRP what should I wipe (data, system, dalvik, cashe...)?
Click to expand...
Click to collapse
Read this page:
https://twrp.me/faq/whattowipe.html
and for more information:
https://twrp.me/faq/backupexclusions.html
I flashed global miui rom through twrp. Use this article:
http://en.miui.com/thread-357065-1-1.html

OTA updates after unlocking bootloader

Hey guys I'd like to know if i can have OTA updates after unlocking bootloader (NO TWRP & ROOT).
live4speed said:
Hey guys I'd like to know if i can have OTA updates after unlocking bootloader (NO TWRP & ROOT).
Click to expand...
Click to collapse
based on other phones i would say yes, but dont quote me on that ^^
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Can anyone confirm this? There's a new OTA update available for mi max 2 but I'm not updating coz I'm waiting for 72 hours to complete so I can unlock bootloader. I'm kinda worried that if I update my device to miui 9.2 I might have problem unlocking my bootloader. So I'm thinking to unlock my bootloader first & then update my device thru OTA update.
I've got them but don't launch the upgrade because, if I do that, it remove my twrp by re-flashing xioami stock recovery.
I've got a global beta rom, bootloader unlocked, twrp installed and rom rooted.
lightman33 said:
I've got them but don't launch the upgrade because, if I do that, it remove my twrp by re-flashing xioami stock recovery.
I've got a global beta rom, bootloader unlocked, twrp installed and rom rooted.
Click to expand...
Click to collapse
oh wow, so even with all that ota updates are possible, good to know
flashing twrp isnt a big deal though, just boot into fastboot, connect to pc and input a command, thats it not like u need hours of work to get it done
would be interesting to know if the rom gets unrooted on update.
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
I received a phone with an unlocked bootloader. It just received V9.0.3.0.NDDMIEI
I don't know if it's just the China model reflashed with the English ROM or what, but it's definitely got an unlocked bootloader and I'm not sure why.
ZHNN said:
I received a phone with an unlocked bootloader. It just received V9.0.3.0.NDDMIEI
I don't know if it's just the China model reflashed with the English ROM or what, but it's definitely got an unlocked bootloader and I'm not sure why.
Click to expand...
Click to collapse
lucky you, no need to unlock BL anymore
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
jbmc83 said:
lucky you, no need to unlock BL anymore
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Click to expand...
Click to collapse
Am I correct in thinking that the update would have reflashed the recovery area and eliminated anything that didn't belong? I put TWRP on it and I'm going to load a stock ROM through TWRP.
I'm wondering whether I've gotten ahead of myself and I should have gone Stock ROM-->TWRP-->Stock ROM with root.
I'm also not sure if the rooted stock ROM will allow me to enable LTE bands just by changing NVRAM settings in QPST. Does anyone know if the bands are blocked in MIUI as well?
I run unlocked boot loader, global stable and Magisk.
Every OTA, I gotta reflash TWRP, and reinstall Magisk, but yeah, I can OTA.
Chisame said:
I run unlocked boot loader, global stable and Magisk.
Every OTA, I gotta reflash TWRP, and reinstall Magisk, but yeah, I can OTA.
Click to expand...
Click to collapse
How do you install OTA? from the updater app in the device OR full Rom in twrp?
I just use the updater app, it reboots, and then proceeds to flash and remove TWRP and Magisk.
The only time that I've used TWRP is to flash Magisk.
Just I want. I only need TWRP to flash Magisk to enable use of Titanium Backup Pro and any adsblocker.
So Flashing TWRP via fastboot, then using TWRP flash Magisk. Use mobile as usually and when i update via OTA, reflash TWRP and Magisk, true?
EDIT: After flashing Magisk, flash stock recovery via fastboot so mobile is ready to OTA update. Right?
Chisame said:
I just use the updater app, it reboots, and then proceeds to flash and remove TWRP and Magisk.
The only time that I've used TWRP is to flash Magisk.
Click to expand...
Click to collapse
Yeah, just choose to download the full rom press reboot and it'll upgrade, then flash TWRP and Magisk again.
Chisame said:
Yeah, just choose to download the full rom press reboot and it'll upgrade, then flash TWRP and Magisk again.
Click to expand...
Click to collapse
so you are saying ota update through updater app is not working?
do i need mi app on pc to update,that too after downloading the full rom for every update?
status: bl UNLOCKED ,root-NO
I dont think so, if you allow replacement of twrp by stock recovery after magisk flashing i think it should be possible install ota using update app. When its done, then reflash twrp and magisk from it.
sirarisma said:
I dont think so, if you allow replacement of twrp by stock recovery after magisk flashing i think it should be possible install ota using update app. When its done, then reflash twrp and magisk from it.
Click to expand...
Click to collapse
It works. unless something is modified in system partition
Right.
reversegear said:
It works. unless something is modified in system partition
Click to expand...
Click to collapse
I have redmi note 11 pro (china) which it's bootloader unlocked and installed global miui rom cause with stock recovery and not rooted so will I receive OTA updates?
And is there anything I should do specifically for this case while updating the phone

Root with Magisk Global Stable Rom

Hi ! I have just buy a mi 8 Global on Rom Global stable Pie V10.1.2.0 and I want to know how install Twrp and flash magisk for use magisk mod as Youtube vanced and Gcam or Notifications mods.
I do to Unlock the BL before ?
But after juste flash the Twrp dipper on Xiaomi.eu ? flash it on fastboot ? But after ? wipe Dalvik, cache, system & data and flash the Global stable Rom again and magisk ?
I don't understand Xiaomi I comes from Oneplus I read many post but I'm loose sorry
Thank you for help
Hi ! Nobody can help me ? Or if they had a link for root global Rom Miui 10 Pie ?
They had a tuto for mi 8 light bit nothing for mi 8
Can I unlock with a old Mi Account without waiting 2 weeks?
Relax, take your time and google everything you need, digest it first before you rush into doing something that you're not ready for.
By the time you become well informed yourself in two weeks time, then your phone will be ready to unlock.
Perfect timing.
Rommco05 said:
Hi,
first of all u need make request for unlock bootloader that will take 2 weeks for approved unlock BL
Click to expand...
Click to collapse
Hi ! Yes I do it Yesterday Thank you.
Just download miunlock tool. And Twrp 3.2.3.120 .
But When I flash it on fastboot and reboot to Twrp what I do ? Factory reset and format data ?
And after ? Flash global stable Pie Rom and remove encryption dm verity and magisk directly or do reboot to recovery before ?
Rommco05 said:
What u want to do, that depends
Click to expand...
Click to collapse
Hi ! I want to root the global Rom I use. Global V12.1.2.0. I have send for unlock it. Just do unlock now.
For root it do flash Twrp but After don't know ?
Rommco05 said:
If u interested in root, I suggest to you go to Global beta or some custom ROM based on MIUI, that just advice. Yes u need TWRP is way also without but this more practice. Flash TWRP which is posted here in Dev section this way:
fastboot flash recovery nameofrecovery.img
fastboot boot nameofrecovery.img
in TWRP flash avian nameofrecovery.img to recovery partition
Meantime download Magisk, latest is 18 and is good, put them to internal storage and flash... "abrakadara" and u are rooted
Click to expand...
Click to collapse
Ok thank you very much.
Just flash magisk on beta rom no need to wipe or format. And no flash remove encryption too.
Just flash Twrp on fastboot and flash again Twrp on Twrp and flash magisk and reboot.
Great thanks. Have a good day.
Ps : I think flash dev global but factory reset before flash twrp and magisk because I had mistake after change local and use theme.
Rommco05 said:
No need to wipe/format anything. When u will install beta (over updater app) factory reset will be automatically
Click to expand...
Click to collapse
Ok thank you I had install the beta with updater App but I do to configure it on boot and install App (use mi restore) for reply to you.
I'm on beta now just flash twrp now.
I don't factory reset it just flash magisk 18 on Twrp ?
But just a presision when reboot on Twrp just reflash Twrp img (install/image/recovery) because don't understand on recovery partition ? It's because treble my last phone are an oneplus 3 and no have treble partition and more easy to flash.
And every weeks they had an update of Dev Global Rom how do update it ? Flash the full Rom on Twrp and magisk to or can update it with updater App ?
Thanks have a good day.
Rommco05 said:
Yes that's right. Updates need be flashed in TWRP full version. Or have look into Pitch black recovery but still isn't tested
Click to expand...
Click to collapse
Ok ! Thanks.
But I think flash Xiaomi.eu rom based on china rom. The stable Rom.eu stable.
But nobody response me on forum .eu.
I'm on global stable if I flash the Xiaomi.eu Rom it's chinese Rom and different it's right ? I do Factory reset for flash it ?
What the difference of the Twrp on dev section and twrp dipper on Xiaomi.eu ? I do use the Twrp dipper for flash this custom and do flash again Twrp on Twrp too.
I have change because the global rom for me is less good than chinese ! I had a mistake with notifications push youtube never had notifs ? But receive on YouTube but never on mi 8. I had remove all battery energized on system ! Check all notifications system and on App but never receive notifications.
Thanks have a good day
Rommco05 said:
MiRoom is better than Xiaomi.eu. Before installing custom Miui Roms must format data. TWRP form Dev section is good
Click to expand...
Click to collapse
Ok thank you but MIRooms are not multi french langage and in French lot of people use Xiaomi.eu and for help is more good for me.
Ok do format data but if format data I loose encryption and don't do to flash the zip for remove it.
It's really a guys said me is better to buy a chinese version of mi 8 it's true... I have this global but no more people use it ! many people use chinese version of mi 8.
The chinese version of mi 8 are not encypted ? Thank you
Rommco05 said:
No that's isn't true, is much better owning Global version. Chines phones are also encrypted by default. So flash xiaomi.eu is up to your choice
Click to expand...
Click to collapse
Ok thank you I make the good choice.
But why if global version are better all guys use custom rom based on china version ?
I don't know if they had but I would like a custom rom based on global rom but with more option than can make 5x5 on mi launcher because with theme it crash and don't stay every day or can use different song fir App like Twitter on my oneplus use the ios Twitter song and know if is a tweat and for Google message can't have the message song work only for mi message etc etc..
For flash Xiaomi.eu you said format data but you know on Twrp chose wipe and format and data and type yes ? Or wipe data partition ? Because if format it loose encryption and when boot to rom no have mistake with DM verity ? Thanks.
ggkameleon said:
Ok thank you very much.
Just flash magisk on beta rom no need to wipe or format. And no flash remove encryption too.
Just flash Twrp on fastboot and flash again Twrp on Twrp and flash magisk and reboot.
Great thanks. Have a good day.
Ps : I think flash dev global but factory reset before flash twrp and magisk because I had mistake after change local and use theme.
Click to expand...
Click to collapse
Just install the room and start it to finish the installation.
Then go to fastboot and install twrp with the commands that Rommco05 already said.
Rommco05 said:
If u interested in root, I suggest to you go to Global beta or some custom ROM based on MIUI, that just advice. Yes u need TWRP is way also without but this more practice. Flash TWRP which is posted here in Dev section this way:
fastboot flash recovery nameofrecovery.img
fastboot boot nameofrecovery.img
in TWRP flash avian nameofrecovery.img to recovery partition
Meantime download Magisk, latest is 18 and is good, put them to internal storage and flash... "abrakadara" and u are rooted
Click to expand...
Click to collapse
And then install magisk with twrp, its easyer with an otg pendrive to avoid posible data encription.
Pescao said:
Just install the room and start it to finish the installation.
Then go to fastboot and install twrp with the commands that Rommco05 already said.
And then install magisk with twrp, its easyer with an otg pendrive to avoid posible data encription.
Click to expand...
Click to collapse
Hi ! Thanks for support. It's different than oneplus.
I'm on Dev Rom Global and stay for unlock the BL.
When I can unlock it I reinstall The Dev Global Rom or new update (every weeks) but wipe data on stock recovery (clean install) just start it as a new phone.
"I have a usb type-c otg " and then make that flash Twrp....& Magisk..
Thank you. Have a good day.
1990marcow1990 said:
Can I unlock with a old Mi Account without waiting 2 weeks?
Click to expand...
Click to collapse
No, you can't. I tried with my old mi 5s but it just works for 1 device.

Magisk 19.1 KILLED my Note 7 4/128 Gb

Stock rom, bought Note 7 4/128 Gb 2 weeks ago and waited till yesterday to unlock bootloader. Without using the phone.
Finally... Flashed TWRP but understood that with stock rom, every time I reboot to system, stock recovery replaces my TWRP.
So... Today I've flashed MAGISK 19.1 and yeah, TWRP remains every time... But...
EVERY TIME I REBOOT INTO SYSTEM, PHONE REQUIRES 4 MINUTES !!!! It stays on Redmi logo, with sign "Unlocked" in the bottom of the screen for more than 3 minutes... Damn And now? What to do?
Download a fastboot flash file for redmi note 7 and flash it via miflash your problem should be fixed
but your bootloader will be locked again
and twrp will be gone
@engloa wrong category
anikbarai123 said:
Download a fastboot flash file for redmi note 7 and flash it via miflash your problem should be fixed
but your bootloader will be locked again
and twrp will be gone
Click to expand...
Click to collapse
R u joking man ?! For what? For waiting other 15 or 30 days in order to unlock again the bootloader? And try again to root this damned phone obtaining this same result? Rather I'll put it in the trash and buy another one, maybe a decent phone this time.
zhad0ws said:
@engloa wrong category
Click to expand...
Click to collapse
Sorry, u've right. I've reported my tread in order to let moderators move it. :good:
PYCON said:
Stock rom, bought Note 7 4/128 Gb 2 weeks ago and waited till yesterday to unlock bootloader. Without using the phone.
Finally... Flashed TWRP but understood that with stock rom, every time I reboot to system, stock recovery replaces my TWRP.
So... Today I've flashed MAGISK 19.1 and yeah, TWRP remains every time... But...
EVERY TIME I REBOOT INTO SYSTEM, PHONE REQUIRES 4 MINUTES !!!! It stays on Redmi logo, with sign "Unlocked" in the bottom of the screen for more than 3 minutes... Damn And now? What to do?
Click to expand...
Click to collapse
Question: do you have a bootloop? Or does your phone simply need 4 minutes to boot up? If so where is the problem?
EZ solution: flash xiaomi.eu rom (which is way better) or flash another AOSP project.
If you really want to stay on stockrom: take the stockrom.zip -> remove the "verification.zip (or whatever it is called)" within the stockrom.zip and flash it via twrp.
Also: you should be able to flash the stockrom fastboot file without locking your bootloader again (since this only happens if you execute respective batch file).
I have magisk 19.1 installed and nothing is bricked, your thread is very misleading. Modding your device to hell and back isn't that difficult! ^^
Edit: when I flashed twrp first my device got encrypted (with no password setup). Everything can be fixed after a while.
MarvinMe said:
Question: do you have a bootloop? Or does your phone simply need 4 minutes to boot up? If so where is the problem?
EZ solution: flash xiaomi.eu rom (which is way better) or flash another AOSP project.
If you really want to stay on stockrom: take the stockrom.zip -> remove the "verification.zip (or whatever it is called)" within the stockrom.zip and flash it via twrp.
Also: you should be able to flash the stockrom fastboot file without locking your bootloader again (since this only happens if you execute respective batch file).
I have magisk 19.1 installed and nothing is bricked, your thread is very misleading. Modding your device to hell and back isn't that difficult! ^^
Edit: when I flashed twrp first my device got encrypted (with no password setup). Everything can be fixed after a while.
Click to expand...
Click to collapse
Question: do you have a bootloop? => NO
Or does your phone simply need 4 minutes to boot up? => YES
If so where is the problem? => these 4 minutes to boot up this phone... that's the problem, I think it's sufficient no?
It doesn't matter what rom I'm using but I need 48 MPixel working so, I suppose, or Global or EU. Not AOSP based. It's correct?
EDIT : just to be more specific... Stock camera app doesn't open anymore after flashing Magisk I get simply a black screen.
PYCON said:
Question: do you have a bootloop? => NO
Or does your phone simply need 4 minutes to boot up? => YES
If so where is the problem? => these 4 minutes to boot up this phone... that's the problem, I think it's sufficient no?
It doesn't matter what rom I'm using but I need 48 MPixel working so, I suppose, or Global or EU. Not AOSP based. It's correct?
EDIT : just to be more specific... Stock camera app doesn't open anymore after flashing Magisk I get simply a black screen.
Click to expand...
Click to collapse
Hi, thanks for the quick reply.
I have a very special tincture for you (except your really like it between scylla and charybdis):
Rom
Debloating - you can delete pretty much everything
#Feel free to flash magisk afterwards
#In case you get and error while completing the setup wizzard: just restart it without having wifi enabled and you are good.
#Best Google camera mod (everything works + focus tracking n'stuff)
It's worth it: I've been on the Stock rom side for years but I think MIUI is superior (GCAM > MIUI cam but doesn't matter) "and all of it just works :fingers-crossed:"
Edit: all of your data will be lost & you have to do the setup of your device again but trust me: it'll be so worth it ^^ just amazing
Follow the instructions on xiaomi.eu (<ROM> link) carefully and you are good.
MarvinMe said:
Hi, thanks for the quick reply.
I have a very special tincture for you (except your really like it between scylla and charybdis):
Rom
Debloating - you can delete pretty much everything
#Feel free to flash magisk afterwards
#In case you get and error while completing the setup wizzard: just restart it without having wifi enabled and you are good.
#Best Google camera mod (everything works + focus tracking n'stuff)
It's worth it: I've been on the Stock rom side for years but I think MIUI is superior (GCAM > MIUI cam but doesn't matter) "and all of it just works :fingers-crossed:"
Edit: all of your data will be lost & you have to do the setup of your device again but trust me: it'll be so worth it ^^ just amazing
Follow the instructions on xiaomi.eu (<ROM> link) carefully and you are good.
Click to expand...
Click to collapse
I'll try this EU rom, hope it'll work fine again Thx for the moment man.
PYCON said:
I'll try this EU rom, hope it'll work fine again Thx for the moment man.
Click to expand...
Click to collapse
In case you need help feel free contact me (DM) ^^ always glad to help :highfive:
Cheers!
https://forum.xda-developers.com/re...oot-redmi-note-7-one-click-root-tool-t3925785
or you can try this. installed twrp and magisk v19 without hassle.
note that everything gets wiped after, but you are ok since you said you didn't use your phone yet.
Did you disable verified boot by flashing dmverity zip? I think that could be causing the problem.
mtencarguez said:
https://forum.xda-developers.com/re...oot-redmi-note-7-one-click-root-tool-t3925785
or you can try this. installed twrp and magisk v19 without hassle.
note that everything gets wiped after, but you are ok since you said you didn't use your phone yet.
Click to expand...
Click to collapse
Thx but why use Rooter? Magisk should do this job...
agenius5 said:
Did you disable verified boot by flashing dmverity zip? I think that could be causing the problem.
Click to expand...
Click to collapse
No! Really? Where's written this step?! Did u try this? In the tread of unlocking bootloader, TWRP and so on, this step is not shown or I haven't seen
PYCON said:
Thx but why use Rooter? Magisk should do this job...
it's a 1-click rooter. if you want root use this. you don't have to do anything but plug your phone to your computer, go to bootloader and click. it installs twrp 3.3 and magisk v19. hassle free, that's what it is.
Click to expand...
Click to collapse
mtencarguez said:
it's a 1-click rooter. if you want root use this. you don't have to do anything but plug your phone to your computer, go to bootloader and click. it installs twrp 3.3 and magisk v19. hassle free, that's what it is.
Click to expand...
Click to collapse
Ok, first I'll try with Xiaomi EU rom but then I'll try this too.
I hope that there's a way to unbrick the phone if something goes wrong
No, I have to wait 2 more days. I used to flash it with redmi 5a. I don't know why this step is not there with rn7.
Just some little info, before flashing EU.
1) EU tutorial reports to wipe Dalvik / Cache / Data but NOT System before flashing rom... Really?! So strange
2) If Magisk involves issues, maybe it's possible to use SuperSU instead. Or not? It's too old?
3) If after flashing EU rom something goes wrong, my Bootloader remains unlocked? Or not? Just to be sure.
4) If after flashing EU rom something goes wrong, my TWRP will remain? In order to try other ways.
5) If after flashing EU rom something goes wrong, it's possible to restore a Nandroid backup with TWRP? All partitions? Or I've to skip some partition?
PYCON said:
Just some little info, before flashing EU.
1) EU tutorial reports to wipe Dalvik / Cache / Data but NOT System before flashing rom... Really?! So strange
2) If Magisk involves issues, maybe it's possible to use SuperSU instead. Or not? It's too old?
3) If after flashing EU rom something goes wrong, my Bootloader remains unlocked? Or not? Just to be sure.
4) If after flashing EU rom something goes wrong, my TWRP will remain? In order to try other ways.
5) If after flashing EU rom something goes wrong, it's possible to restore a Nandroid backup with TWRP? All partitions? Or I've to skip some partition?
Click to expand...
Click to collapse
1) it's not strange at all, as xiaomi.eu ROM is a system partition image. So no need to wipe a partition that will be overwritten seconds later.
2) no doubt your issue happened after you flashed magisk, as you stated it, but magisk is most probably not the main cause of the issue. It's the safest way to get root, SuperSU should not be used/trusted anymore as it is not maitained by chainfire anymore (iirc he sold his app long ago to some company)
I'm currently using my rn7 4/64 xiaomi.eu + magisk 19.1 with no issue nor boot delay.
Before that I had global eeu stock rom.
Xiaomi.eu is based on Xiaomi stock, but is not provided by Xiaomi, so it's actually more a custom rom than stock, so...
3) bootloader will stay unlocked
4) TWRP will stay there
5) I don't know, I did not do it yet. I would not overwrite any partition other than system, data and cache without knowing exactly what I'm doing
Well, firstly... Thank u all :good:
It seems I solved. I've followed these steps:
* boot into TWRP
* from TWRP, Format Data
* reboot into TWRP
* from TWRP, Full Wipe ( Dalvik / Cache / Data / System )
* copy Xiaomi EU ZIP into Internal Memory ( TWRP MTP ) => Release 9.4.25
* copy Magisk into Internal Memory ( TWRP MTP ) => Release 19.1
* from TWRP, flash Xiaomi EU ZIP
* reboot System
* configure initial setup wizard ( language, country, etc )
* reboot into TWRP
* from TWRP, flash Magisk ZIP
* from TWRP, Wipe ( Dalvik / Cache )
That's all. System boots in few seconds, as normal :highfive:
* ROOT => OK
* TWRP => remains (OK)
* BOOTLOADER => remains unlocked (OK)
PYCON said:
Well, firstly... Thank u all :good:
It seems I solved. I've followed these steps:
* boot into TWRP
* from TWRP, Format Data
* reboot into TWRP
* from TWRP, Full Wipe ( Dalvik / Cache / Data / System )
* copy Xiaomi EU ZIP into Internal Memory ( TWRP MTP ) => Release 9.4.25
* copy Magisk into Internal Memory ( TWRP MTP ) => Release 19.1
* from TWRP, flash Xiaomi EU ZIP
* reboot System
* configure initial setup wizard ( language, country, etc )
* reboot into TWRP
* from TWRP, flash Magisk ZIP
* from TWRP, Wipe ( Dalvik / Cache )
That's all. System boots in few seconds, as normal :highfive:
* ROOT => OK
* TWRP => remains (OK)
* BOOTLOADER => remains unlocked (OK)
Click to expand...
Click to collapse
can you give me the link of "Xiaomi EU ZIP " file you used, i can't find that !?
aka70 said:
can you give me the link of "Xiaomi EU ZIP " file you used, i can't find that !?
Click to expand...
Click to collapse
Yes, I think it's possible to post links of Xiaomi EU here.
10.4 Release is 9.4.25 => https://xiaomi.eu/community/threads/9-4-25-26.50275/
Older releases, like 10.3 => https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-10-3-stable-release.47170/

How to update without losing TWRP and root?

Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
MagikGab said:
Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
Click to expand...
Click to collapse
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Robbo.5000 said:
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Click to expand...
Click to collapse
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
i have the same question too..
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
P12AV33N said:
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
Click to expand...
Click to collapse
I would just add to this that, although this is all that is required, I would still backup things, just in case.
It's always good practice when flashing things to backup what you can, even when it's not needed should things go smoothly. It only takes an absent minded moment of stupidity in TWRP to do some serious damage. As many people, myself included, can vouch for.
Thank you everyone!
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
macanovic88 said:
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
Click to expand...
Click to collapse
Flashing a minor update is fine to do as a dirty flash in TWRP.
Doing a major update is 50/50 (going from 10.3.x to 10.4.x as it's s change from Android 9 to 10, or going from 10.x.x to 11.x.x). You may be fine, you may have issues. It might be a better option to try using the 'save data' option in the Mi Flash Tool, which is the same as a dirty flash, but will still update vendor and firmware files, should they have changed between the versions.
You might be guided by what the OTA would do. Occasionally when an OTA provides a major version change, it will perform a clean flash and give you big warnings that this will happen first. If an OTA tells you this will happen, then I would definitely use the Mi Flash Tool and use the 'clean all' option.
As for the compatibility zip, it depends on the TWRP you are using. Just try as is first and if your get an error about the wrong device, then remove it and try again.
Thanks a lot, your answers are very helpful in this thread! ?
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
cgdams said:
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
Click to expand...
Click to collapse
You need to confirm if orangefox is actually ready for OTA by checking in its settings.
Sent from my Redmi K20 Pro using Tapatalk

Categories

Resources