Magisk 19.1 KILLED my Note 7 4/128 Gb - Xiaomi Redmi Note 7 Guides, News, & Discussion

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/

Related

Anyone knows how to flash gsi roms on this device?

I tried to flash different gsi images and always get bootlop to fastboot mode.
jlorf7 said:
I tried to flash different gsi images and always get bootlop to fastboot mode.
Click to expand...
Click to collapse
To flash gsi images, I installed chinese rom then twrp and images have to be a/b not a.
jlorf7 said:
To flash gsi images, I installed chinese rom then twrp and images have to be a/b not a.
Click to expand...
Click to collapse
But the treble check shows redmagic 3 has only slot A not A&B.
So how did you do that flashing A/B
Please also post a guide if possible and you have time for the same..
Really appreciate.
Thanks
rajnathr said:
But the treble check shows redmagic 3 has only slot A not A&B.
So how did you do that flashing A/B
Please also post a guide if possible and you have time for the same..
Really appreciate.
Thanks
Click to expand...
Click to collapse
I know but with aonly always boot to fastboot mode, check in this it shows ab https://github.com/phhusson/treble_experimentations/wiki
I posted a mini guide in another thred: https://forum.xda-developers.com/showthread.php?p=80641265
Enviado desde mi NX629J mediante Tapatalk
I know I'm being a jerk here but the thing that I don't own a PC force me to post this here. If anyone can try to install game space and see if it would work. I believe gsi rom is much better than stock rom for our device as I'm using stock global rom and encounter lot of bugs and the only thing that make me happy is game space. Thanks!
Irwan Fauzi said:
I know I'm being a jerk here but the thing that I don't own a PC force me to post this here. If anyone can try to install game space and see if it would work. I believe gsi rom is much better than stock rom for our device as I'm using stock global rom and encounter lot of bugs and the only thing that make me happy is game space. Thanks!
Click to expand...
Click to collapse
This Friday hope I will be testing maximum no. of GSI image and will be posting which boots and working better for Redmagic 3 in a separated thread for discussion with the community.
Also will backup such as Game launcher, LED Strip and other important app using titanium backup and will try to install as system to check if they are working or not.
Just flash the Chinese rom then flash TWRP and then go here https://forum.xda-developers.com/project-treble/trebleenabled-device-development and pick any rom you want some of them even have GAPPS included
---------- Post added at 04:37 PM ---------- Previous post was at 04:31 PM ----------
If you're having trouble with GAPPS follow this steps
1) Boot into TWRP
2) Flash latest GSI img
3) Resize system file system (necessary on my device otherwise gapps will not install)
- Wipe -> Advanced -> select system -> resize file system
4) Flash pico or mini or aroma which ever you want gapps zip
6) Flash magisk zip
7) reboot
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
jenbot said:
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
Click to expand...
Click to collapse
Did you try ab version?
jenbot said:
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
Click to expand...
Click to collapse
Did you wipe system? Also, wipe data after 1st failed boot. Flash vbmeta ???
Irwan Fauzi said:
Did you try ab version?
Click to expand...
Click to collapse
yes
suzook said:
Did you wipe system? Also, wipe data after 1st failed boot. Flash vbmeta ???
Click to expand...
Click to collapse
yes, yes and yes
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
h4cxxc0r3 said:
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
Click to expand...
Click to collapse
Do you mind testing if game space work?
h4cxxc0r3 said:
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
Click to expand...
Click to collapse
Hi. I tried the phhusson 10.0 V203. It worked and it booted. I used ARM64 AB image. Everything was working fine, except i was unable to make any outgoing calls. So i tried to use a different image. After that nothing is working. Even the image that worked the first time doesn't work. It keeps getting stuck in boot loop and going to fastboot. I tried with 4 GSI images, nothing is working.
Irwan Fauzi said:
Do you mind testing if game space work?
Click to expand...
Click to collapse
I've reverted my phone back to cn rom soon after because of the strange vibration bug on every single gsi rom i've tested and forgot to take stock rom system dump at that time so i never got any chance to try it.
But i've tried to install gamespaces stuff to my other phone running aex pie with no avail. So, unless anyone know how to mod the app or port the necessary framework stuff from stock into gsi rom I think it will never work.
Maybe some overlay will make it work. i don't know, just guessing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:01 AM ----------
vimalrajan1988 said:
Hi. I tried the phhusson 10.0 V203. It worked and it booted. I used ARM64 AB image. Everything was working fine, except i was unable to make any outgoing calls. So i tried to use a different image. After that nothing is working. Even the image that worked the first time doesn't work. It keeps getting stuck in boot loop and going to fastboot. I tried with 4 GSI images, nothing is working.
Click to expand...
Click to collapse
If you stuck on fastboot after splash screen (without boot animation) then you have to use the unbrick tool to flash over the system and redo it if you want to. Never reboot without system on this phone or you'll stuck on fastboot.
But if it got bootloop at booting screen and able to enter twrp then you can try to wipe or format data. It happens on my phone too. I don't know if the twrp was buggy or something but yeah just try it back and forth between wiping and formating then it will randomly fixed.
Red magic 3 treble
That's the thing with this phone. Everything is random. I did use the repair tool and flashed the latest global version. But I am unable to flash the gsi again. It keeps getting stuck in fastboot screen. But if I select recovery from fastboot. It does goes to twrp recovery. But nothing after that. I hope someone can make a custom rom with Nubia launcher.
Red magic NEEDS to provide us with fastboot images...We have no real way to recover from a semi brick WTF!
h4cxxc0r3 said:
I've reverted my phone back to cn rom soon after because of the strange vibration bug on every single gsi rom i've tested and forgot to take stock rom system dump at that time so i never got any chance to try it.
But i've tried to install gamespaces stuff to my other phone running aex pie with no avail. So, unless anyone know how to mod the app or port the necessary framework stuff from stock into gsi rom I think it will never work.
Maybe some overlay will make it work. i don't know, just guessing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:01 AM ----------
If you stuck on fastboot after splash screen (without boot animation) then you have to use the unbrick tool to flash over the system and redo it if you want to. Never reboot without system on this phone or you'll stuck on fastboot.
But if it got bootloop at booting screen and able to enter twrp then you can try to wipe or format data. It happens on my phone too. I don't know if the twrp was buggy or something but yeah just try it back and forth between wiping and formating then it will randomly fixed.
Click to expand...
Click to collapse
I'm on havoc 2.9 right now. I managed to install game space and run it but it doesn't activate fan, so I'm guessing it need permissions and framework files which I don't know it's file name so I just give up on this. But game space does run like normal app. If you are wondering how I install game space, I pull out game space apk from global system.bat.br (after converted it to system.img) and put the apk in system/app using twrp file manager. Maybe someone knowledgeable can figure this out.
Irwan Fauzi said:
I'm on havoc 2.9 right now. I managed to install game space and run it but it doesn't activate fan, so I'm guessing it need permissions and framework files which I don't know it's file name so I just give up on this. But game space does run like normal app. If you are wondering how I install game space, I pull out game space apk from global system.bat.br (after converted it to system.img) and put the apk in system/app using twrp file manager. Maybe someone knowledgeable can figure this out.
Click to expand...
Click to collapse
What app did you use to covert the .br file? Trying to make fastboot .IMG files.
suzook said:
What app did you use to covert the .br file? Trying to make fastboot .IMG files.
Click to expand...
Click to collapse
I use termux app from play store.. There's a guide on xda how to extract system.dat.br without pc.. link

Complete setup of Lineage OS

Since in my last post I made a complete mess out of my first time trying to root my K20 and install lineage I wanted to my make a separate post so that I can list all the steps I need to take to correctly setup my phone how I want it.
What I actually want
A rooted device
Lineage OS
Minimal excess files (A clean Install)
Current Steps
Unlock and flash recovery
Backup
Format Data! (It's important if you come from Miui)
Install Q Firmware + vendor
Install LineageOS followed by gapps
Reboot into system and setup device.
Reboot into recovery and flash magisk
Profit???
Feel free to tell me how stupid I am and what I need to add to the list or steps I should take to make this process better.
I also dont know if its possible to get recovery and rom on android 10 versions.
Thanks
Did these steps not work?
Sent from my Redmi K20 Pro using Tapatalk
BJack0 said:
Since in my last post I made a complete mess out of my first time trying to root my K20 and install lineage I wanted to my make a separate post so that I can list all the steps I need to take to correctly setup my phone how I want it.
What I actually want
A rooted device
Lineage OS
Minimal excess files (A clean Install)
Current Steps
Flash a custom recovery
Create a backup
Root???
Install LineageOS
Profit???
Feel free to tell me how stupid I am and what I need to add to the list or steps I should take to make this process better.
Thanks
Click to expand...
Click to collapse
1. Unlock and flash recovery
2. Backup
3. Format Data! (It's important if you come from Miui)
4. Install Q Firmware + vendor
5. Install LineageOS followed by gapps
6. Reboot into system and setup device.
7. Reboot into recovery and flash magisk
You could also check LOS thread: Here and here
Remember:
Chinese firmware: Widevine L3 and NFC support
Indian firmware: Widevine L1 but no NFC support
ishaqtkr said:
Did these steps not work?
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
They may work as it but I was just wondering if anyone could go into more detail or if there was a better approach and from what Kollachi said there clearly is a better way that what I said.
Since I'm in stock ROM and haven't ever flashed AOSP ROM in this phone I'll just back off lol
Sent from my Redmi K20 Pro using Tapatalk
Kollachi said:
1. Unlock and flash recovery
2. Backup
3. Format Data! (It's important if you come from Miui)
4. Install Q Firmware + vendor
5. Install LineageOS followed by gapps
6. Reboot into system and setup device.
7. Reboot into recovery and flash magisk
Click to expand...
Click to collapse
I like the details steps but I have a few questions.
(Unlock and flash recovery) From what I can tell there are two recovery's Orange fox and TWRP
(Format data) Just format data or are there other sections I should format/wipe
(Install Q Firmware + Vendor) I have no idea what Q firmware is or what vendor you are referring to
(Install Lineage + gapps) Is there a specific version from the Mi 9T pro since the official site doesn't list it
Any of the two recoveries will work. Q firmware means Android Q. Wile data/cache dalvik that's it. Regarding firmware, there's a clear topic of Lineage OS in K20 Pro forum which is still in unofficially state
Sent from my Redmi K20 Pro using Tapatalk
BJack0 said:
I like the details steps but I have a few questions.
(Unlock and flash recovery) From what I can tell there are two recovery's Orange fox and TWRP
(Format data) Just format data or are there other sections I should format/wipe
(Install Q Firmware + Vendor) I have no idea what Q firmware is or what vendor you are referring to
(Install Lineage + gapps) Is there a specific version from the Mi 9T pro since the official site doesn't list it
Click to expand...
Click to collapse
1. You can take what you want. Orangefox is based on TWRP.
2. Format data is needed if you come from miui. If you did it you are good to go. But it wouldn't be false to wipe system, dalvic, cache
3.https://downloads.akhilnarang.me/MIUI/raphael/ --> Take 10.4.6.0 or 10.4.8.0 (Android 10 = Q)
4. No there is no specific version.
BJack0 said:
I like the details steps but I have a few questions.
(Unlock and flash recovery) From what I can tell there are two recovery's Orange fox and TWRP
(Format data) Just format data or are there other sections I should format/wipe
(Install Q Firmware + Vendor) I have no idea what Q firmware is or what vendor you are referring to
(Install Lineage + gapps) Is there a specific version from the Mi 9T pro since the official site doesn't list it
Click to expand...
Click to collapse
I would recommend the latest TWRP from here
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
The dev is an official TWRP dev, so this version, or something very close to this, is likely to become official in the future.
OrangeFox is a heavily modified TWRP and has a lot of added functionality specific to MIUI. If you wanted to stay on stock MIUI, but debloat and have root, etc. then OF would be the better choice, as it has functionality that lets it play nicely with MIUI (it can remain installed when OTA updates are installed)
As someone new to flashing on Android, I would suggest downloading a 10.4.x fastboot ROM from the site I pointed to in your other post, then follow the same procedure to flash the ROM.
Make your choice based on Kollachi's info and what's important to you (HD Netflix - choose Indian, or a working NFC - choose Chinese)
However you MUST change the flash option to 'clean all'.
At this point you've got a nice squeaky clean starting point.
Boot into the ROM at least once, though it's not necessary to go through all the setup.
After that follow Kollachi's steps but you can now ignore the step to flash vendor and firmware as it's all part of the fastboot ROM already flashed.
Wipe cache and dalvik, format data.
There is no official LOS for this phone yet. Hopefully it will go official in the future.
For now just get the current Android 10 based LOS from here.
https://forum.xda-developers.com/k20-pro/development/rom-lineageos-17-0-t3976469/post80406191
Robbo.5000 said:
I would recommend the latest TWRP from here
The dev is an official TWRP dev, so this version, or something very close to this, is likely to become official in the future.
OrangeFox is a heavily modified TWRP and has a lot of added functionality specific to MIUI. If you wanted to stay on stock MIUI, but debloat and have root, etc. then OF would be the better choice, as it has functionality that lets it play nicely with MIUI (it can remain installed when OTA updates are installed)
As someone new to flashing on Android, I would suggest downloading a 10.4.x fastboot ROM from the site I pointed to in your other post, then follow the same procedure to flash the ROM.
Make your choice based on Kollachi's info and what's important to you (HD Netflix - choose Indian, or a working NFC - choose Chinese)
However you MUST change the flash option to 'clean all'.
At this point you've got a nice squeaky clean starting point.
Boot into the ROM at least once, though it's not necessary to go through all the setup.
After that follow Kollachi's steps but you can now ignore the step to flash vendor and firmware as it's all part of the fastboot ROM already flashed.
Wipe cache and dalvik, format data.
There is no official LOS for this phone yet. Hopefully it will go official in the future.
For now just get the current Android 10 based LOS from here.
Click to expand...
Click to collapse
When ever I think I have the process memories and I follow the steps on my screen I still somehow **** this up and I cant understand how.
My current steps include
Flash the fastboot with the ROM that you linked me in my first post
Flash the recovery with TWRP (Every time I have then tried going back into TWRP is failed to work and prompted the original MIUI recovery)
Install the TWRP zip from custom recovery to try and fix the issue above (Only had this work once on orangefox and then never had success again)
So now I try to just flash the recovery and boot to it using CMD and it works fine
Move the lineageOS files from my PC to the phone SDCard
If I wipe data and the caches as suggested then the lineageOS zip is now go and I am back to flashing the fastboot ROM to restart the process
I know this might seem like im either stupid or just not getting it but could you or anyone else please make a bullet pointed list with links to what I have to download in order to actually achieve this since I cant do anything correctly even when trying to follow the steps.
(Im going to sleep since I have been trying to do this for hours now and I will check reply's in the morning.
Thanks for the help so far EVERYONE
BJack0 said:
When ever I think I have the process memories and I follow the steps on my screen I still somehow **** this up and I cant understand how.
My current steps include
Flash the fastboot with the ROM that you linked me in my first post
Flash the recovery with TWRP (Every time I have then tried going back into TWRP is failed to work and prompted the original MIUI recovery)
Install the TWRP zip from custom recovery to try and fix the issue above (Only had this work once on orangefox and then never had success again)
So now I try to just flash the recovery and boot to it using CMD and it works fine
Move the lineageOS files from my PC to the phone SDCard
If I wipe data and the caches as suggested then the lineageOS zip is now go and I am back to flashing the fastboot ROM to restart the process
I know this might seem like im either stupid or just not getting it but could you or anyone else please make a bullet pointed list with links to what I have to download in order to actually achieve this since I cant do anything correctly even when trying to follow the steps.
(Im going to sleep since I have been trying to do this for hours now and I will check reply's in the morning.
Thanks for the help so far EVERYONE
Click to expand...
Click to collapse
I just told you what I have done and I'm running it so far without issues.
Robbo just said you should flash the whole Chinese or indian rom but I don't like his steps because:
1. File is much bigger
2. MiFlash is just meh
3. If you forgot to change the flash process you are bricked if you don't take the correct firmware for your phone.
Default option in Miflash is set to "Clean all and lock". Every time you use it, you will need to change it into "clean all" or something other.
Kollachi said:
I just told you what I have done and I'm running it so far without issues.
Robbo just said you should flash the whole Chinese or indian rom but I don't like his steps because:
1. File is much bigger
2. MiFlash is just meh
3. If you forgot to change the flash process you are bricked if you don't take the correct firmware for your phone.
Default option in Miflash is set to "Clean all and lock". Every time you use it, you will need to change it into "clean all" or something other.
Click to expand...
Click to collapse
Yes flashing the whole fastboot ROM does add the risk, if you forget to change the flash option, but you are guaranteed a clean slate and so less likely to have any niggling issues that nobody else has. I would bet large sums of money that many of the issues you see on here, where only one person has some problem and everyone else is fine, would be solved by fastboot flashing MIUI before installing the ROM of choice.
If you know what you're doing and know when you'll be OK with what you've got and know when it's best to start clean, then going with the vendor and firmware is easier.
But if your unsure and new to flashing on Android phones, I will always suggest go with the overkill and know you've got the clean slate to start with.
---------- Post added at 10:56 AM ---------- Previous post was at 10:36 AM ----------
BJack0 said:
When ever I think I have the process memories and I follow the steps on my screen I still somehow **** this up and I cant understand how.
My current steps include
Flash the fastboot with the ROM that you linked me in my first post
Flash the recovery with TWRP (Every time I have then tried going back into TWRP is failed to work and prompted the original MIUI recovery)
Install the TWRP zip from custom recovery to try and fix the issue above (Only had this work once on orangefox and then never had success again)
So now I try to just flash the recovery and boot to it using CMD and it works fine
Move the lineageOS files from my PC to the phone SDCard
If I wipe data and the caches as suggested then the lineageOS zip is now go and I am back to flashing the fastboot ROM to restart the process
I know this might seem like im either stupid or just not getting it but could you or anyone else please make a bullet pointed list with links to what I have to download in order to actually achieve this since I cant do anything correctly even when trying to follow the steps.
(Im going to sleep since I have been trying to do this for hours now and I will check reply's in the morning.
Thanks for the help so far EVERYONE
Click to expand...
Click to collapse
It's sounds like the main issue is stock recovery is being restored. This is something that MIUI will do when it boots up.
When you first install TWRP you cannot boot into MIUI before booting to TWRP as you instantly lose TWRP. So you need to boot into TWRP first in order to do something to prevent it being overwritten.
Options are
1
Code:
fastboot boot TWRP.img
2 Use the button combo whilst still in fastboot - power and vol+, hold both until the phone vibrates and the initial logo appears.
Now to keep TWRP you need to either flash a custom ROM, flash Magisk or flash the dm-verity script.
In your case you want to flash LOS, so now you've booted into TWRP go ahead and continue with the steps given.
Also, wait until after you've formatted data before copying everything over. You can access the phone as an MTP device when in TWRP, so you'll be able to connect it to a PC and drag everything across, or you can stick everything on a USB OTG pen, if you have one, TWRP can read data from them too.
It's sounds like the main issue is stock recovery is being restored. This is something that MIUI will do when it boots up.
When you first install TWRP you cannot boot into MIUI before booting to TWRP as you instantly lose TWRP. So you need to boot into TWRP first in order to do something to prevent it being overwritten.
Options are
1
Code:
fastboot boot TWRP.img
2 Use the button combo whilst still in fastboot - power and vol+, hold both until the phone vibrates and the initial logo appears.
Now to keep TWRP you need to either flash a custom ROM, flash Magisk or flash the dm-verity script.
In your case you want to flash LOS, so now you've booted into TWRP go ahead and continue with the steps given.
Also, wait until after you've formatted data before copying everything over. You can access the phone as an MTP device when in TWRP, so you'll be able to connect it to a PC and drag everything across, or you can stick everything on a USB OTG pen, if you have one, TWRP can read data from them too.
Click to expand...
Click to collapse
The exact problem I have is that I cant transfer any files to the device after formatting the data. I follow the steps correctly and I get into TWRP successfully and then everyone has told me to format the data then install lineage but I cant install the OS if formatting the data removes it.
Get device into fastboot
Flash revocery with TWRP
power the device off
hold volume up and power
boot into custom recovery
format data
move lineageOS onto my device
install lineageOS
reboot
done.
This is the list of exact actions I am doing with no results is there something I am missing or something that is in the wrong order.
BJack0 said:
The exact problem I have is that I cant transfer any files to the device after formatting the data. I follow the steps correctly and I get into TWRP successfully and then everyone has told me to format the data then install lineage but I cant install the OS if formatting the data removes it.
Get device into fastboot
Flash revocery with TWRP
power the device off
hold volume up and power
boot into custom recovery
format data
move lineageOS onto my device
install lineageOS
reboot
done.
This is the list of exact actions I am doing with no results is there something I am missing or something that is in the wrong order.
Click to expand...
Click to collapse
You connect your phone to computer while in recovery to transfer the OS zip
Sent from my Redmi K20 Pro using Tapatalk
BJack0 said:
The exact problem I have is that I cant transfer any files to the device after formatting the data. I follow the steps correctly and I get into TWRP successfully and then everyone has told me to format the data then install lineage but I cant install the OS if formatting the data removes it.
Get device into fastboot
Flash revocery with TWRP
power the device off
hold volume up and power
boot into custom recovery
format data
move lineageOS onto my device
install lineageOS
reboot
done.
This is the list of exact actions I am doing with no results is there something I am missing or something that is in the wrong order.
Click to expand...
Click to collapse
After format data, reboot your device into recovery again and transfer LOS, gapps and all files you need.
Format data kills the storage.
I always used to reboot from TWRP back in to TWRP after formatting data, but I've recently seen someone saying that they just unmount data then remount it again. I haven't tried it myself but it certainly makes sense and would be quicker too.
Robbo.5000 said:
I always used to reboot from TWRP back in to TWRP after formatting data, but I've recently seen someone saying that they just unmount data then remount it again. I haven't tried it myself but it certainly makes sense and would be quicker too.
Click to expand...
Click to collapse
Yes I did that and it worked, unmounting and remounting helps detect the storage in PC
Sent from my Redmi K20 Pro using Tapatalk
Robbo.5000 said:
I always used to reboot from TWRP back in to TWRP after formatting data, but I've recently seen someone saying that they just unmount data then remount it again. I haven't tried it myself but it certainly makes sense and would be quicker too.
Click to expand...
Click to collapse
Yes that works. Tried it myself but prefer to reboot into recovery again.:laugh:
Finally Successful
After a long post I have finally finished the process successfully. This was pretty educational for me since I didn't understand any of this at the start I would like to thank everyone who reply's and all the information that you have provided.
need help guys, i stuck in bootloop.
- fastboot rom global china V10.3.17.0 PFKCNXM
- fastboot twrp 3.3.1
- format data
- flash vendor image cn 10.4.6.0
- wipe cache/dalvik
- flash lineage os
- flash gapps nano
- reboot
- stuck bootloop

[Guide] Flash MIUI OTA/Stock/Any MIUI based ROM from recovery without bricking device

Code:
/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
A guide to flash MIUI OTA/Stock/Any MIUI based rom from recovery without any bootloops or bricking device.
First things first, if you haven't done any modifications to your device (not even unlocked bootloader), then this guide is probably not for you. Just update via the Updater app. If you want to unlock bootloader and root read this guide first then come back.
Now if you have unlocked bootloader with TWRP installed and encrypted device then you can flash full ROM from TWRP without any issues.
Staying on an encrypted device is recommend for better security.
To check if your device is encrypted or not go to Phone Settings > Passwords & security > Privacy > Encryption & credentials > check if it shows encrypted or not.
To decrypt your internal storage (Not recommended):
Make sure you have a backup of your data copied in PC.
- In TWRP go to Wipe and select Format Data(don't go to advanced). Type yes and format data. [This process will format all your data so make sure your data is backed up].
- Go back to TWRP home and Reboot > Recovery.
- Reboot > System.
Now if you check again in Phone settings it'll show "Phone not encrypted".
If you have a decrypted device and want to flash MIUI rom or OTA through recovery you'll face bootloop.
Then there are two solutions to overcome this issue:
1. After flashing full MIUI rom through TWRP you need to format data again. But you will have to backup your data to PC everytime as your internal will be formatted. And then you would have to go through the hassle of setting up your phone which takes atleast 15 mins.
2. A better solution is to use another recovery like OrangeFox recovery. It has a special MIUI OTA support. So you can flash MIUI OTA and any MIUI based rom from recovery without bootloop, formatting data or bricking device in any way.
Here's how to use OrangeFox recovery:
Make sure you have a backup of your data copied in PC.
These steps work for both encrypted and non-encrypted devices
- Download the stock MIUI Recovery ROM for your region or any other MIUI based custom rom of your choice, and copy it to your phone’s storage.
- Download the OrangeFox recovery zip from here.
- If you don't have any recovery installed right now then extract the recovery.img file from the zip and follow the "Flashing TWRP" steps from here
- If you already have TWRP then go to Install > flash zip normally. Your device will boot into OrangeFox recovery automatically in 5 seconds.
- Go to the Menu > tap on OrangeFox settings icon in top right corner, and enable these under MIUI OTA settings :
1. Support MIUI incremental OTA
2. Include system in OTA survival
3. Incremental OTA signature verification
4. Prevent auto reboot after installing OTA
5. Disable DM-Verity
6. Disable Forced Encryption (Don't enable this if you have an encrypted device already and want to stay encrypted)
7. Aggressive stock recovery deactivation
- Now go to the “Wipe” menu :
1. If already on a MIUI based rom and flashing your current MIUI rom zip then select data, cache, and dalvik.
2. If coming from a non MIUI based rom to MIUI based one or if switching from current MIUI based rom to completely different MIUI based one then select data, cache, dalvik, system, vendor.
- Now go to "Install" and flash your MIUI ROM. (This is just a one time process.)
- After the ROM is flashed, OrangeFox will start the "OTA_BAK" process, which will backup your system and boot partitions into the /sdcard/Fox/OTA directory. You must NOT delete any of the files in the /sdcard/Fox/OTA directory. If you do, then incremental OTA updates will most definitely fail.
- Reboot > system.
Now when MIUI notifies you that there is an update:
- Download the update, using the MIUI updater app/official website.
- If on an encrypted device allow it to reboot automatically to OrangeFox. If decrypted, boot to recovery manually and under miui OTA settings enable the Disable Forced Encryption option first and then flash OTA from recovery.
- OrangeFox will install the update automatically (this might take several minutes).
- Your phone will reboot automatically upon completion of the installation of the MIUI OTA update (If it doesn't then reboot manually).
- After this, you will not need to flash a full rom any more.
- Enjoy your updated MIUI
Links
1. OrangeFox Recovery
2. Stock MIUI Recovery ROM
If this helped you then hit the Thanks Button. Good Luck.
im using android 10 syberia project and wanted to go back stock rom, will it work the same way?
aidenskcyu said:
im using android 10 syberia project and wanted to go back stock rom, will it work the same way?
Click to expand...
Click to collapse
Yes absolutely just make sure to wipe dalvic,cache,data,system,vendor...rest procedure is same
Hi,
do you think this procedure could work for willow (Redmi Note 8T) too?
I'm mainly concerned about OrangeFox package indicating ginkgo only...
Another question: when you suggest to backup data, you mean that everything (including installed apps and their settings) would be lost?
Thanks
Bye
how to decrypt
the_weird_aquarian said:
Yes absolutely just make sure to wipe dalvic,cache,data,system,vendor...rest procedure is same
Click to expand...
Click to collapse
thanks a lot!
aidenskcyu said:
thanks a lot!
Click to expand...
Click to collapse
Np :good:
imonshahed said:
how to decrypt
Click to expand...
Click to collapse
Mentioned in the post read it carefully
SbAgOoTs said:
Hi,
do you think this procedure could work for willow (Redmi Note 8T) too?
I'm mainly concerned about OrangeFox package indicating ginkgo only...
Another question: when you suggest to backup data, you mean that everything (including installed apps and their settings) would be lost?
Thanks
Bye
Click to expand...
Click to collapse
Well the only reason I didn't mention willow is I'm not sure if orangefox supports willow or not... although I think willow support was added after 10.1 stable version and it's the same file as of ginkgo....
Yes you need to backup your internal storage and every app as you will lose all data/apps/internal storage files.
Hello
Can I flash Global Stable 11.0.4.0 rom via orange fox recovery over India stable rom??
What's the process
Plz reply...
Isafurniture said:
Hello
Can I flash Global Stable 11.0.4.0 rom via orange fox recovery over India stable rom??
What's the process
Plz reply...
Click to expand...
Click to collapse
Yes you can...in wipe select dalvic,cache,data,system, vendor...rest process is same.
the_weird_aquarian said:
Yes you can...in wipe select dalvic,cache,data,system, vendor...rest process is same.
Click to expand...
Click to collapse
Thank you..
Isafurniture said:
Thank you..
Click to expand...
Click to collapse
Np??
1. Can I use this to flash Custom MIUI like eu, pro or custom MIUI step is different?
2. Do I need to follow this stock rom step if I already have a full backup of the ROM?
Dude,, u r guardian of this redmi note 8 forum.. thank you so much for
DailyRoutine said:
1. Can I use this to flash Custom MIUI like eu, pro or custom MIUI step is different?
2. Do I need to follow this stock rom step if I already have a full backup of the ROM?
Click to expand...
Click to collapse
1. Yes just wipe dalvic, cache,data,system,vendor...rest process is same.
2. If you're already on stock rom then whole process is same....if you're coming back to stock rom from custom rom then wipe dalvic, cache,data,system,vendor...rest process is same.
Mozar3lla said:
Dude,, u r guardian of this redmi note 8 forum.. thank you so much for
Click to expand...
Click to collapse
Just helping out others and sharing the knowledge... Thanks though.
Hello, i am on miui 11 eu, (thanks to you, great room honestly), i want to know if i can root with the EU ROM and still update when weekly update is come? or need to unistall the root first and then root?
Thanks
LuisElListo said:
Hello, i am on miui 11 eu, (thanks to you, great room honestly), i want to know if i can root with the EU ROM and still update when weekly update is come? or need to unistall the root first and then root?
Thanks
Click to expand...
Click to collapse
Yes you can root eu.. I'm using rooted eu without any issues....you will still receive updates, no need to uninstall root...but when you install the update you have to flash magisk zip again as after updating you will lose root...so after updating rom, flash magisk and everything will be back to normal.
Is that orangefox method same for encrypted version? I mean my data is encrypted and I'm okay with that but want to flash Orangefox also want MIUI ota/update... Do i need to follow the steps (formatting data/cach etc, flashing recovery miui for create sdcard/fox/ota folder) ?
Superraju said:
Is that orangefox method same for encrypted version? I mean my data is encrypted and I'm okay with that but want to flash Orangefox also want MIUI ota/update... Do i need to follow the steps (formatting data/cach etc, flashing recovery miui for create sdcard/fox/ota folder) ?
Click to expand...
Click to collapse
yes it'll also work in encrypted devices but under miui ota settings don't check disable encryption option so that you can still have an encrypted internal.. Yes you need to flash your current miui recovery rom once you flash orangefox. It's just a one time process for your current rom. Just wipe data,cache,dalvik nothing else.
the_weird_aquarian said:
yes it'll also work in encrypted devices but under miui ota settings don't check disable encryption option so that you can still have an encrypted internal.. Yes you need to flash your current miui recovery rom once you flash orangefox. It's just a one time process for your current rom. Just wipe data,cache,dalvik nothing else.
Click to expand...
Click to collapse
Thanks for your fast reply. The Fox/Ota now taking almost 5gb of internal storage. Can u pls help that...
1. Now if i flash Magisk, do i need to flash Universal DM-Verity and ForceEncrypt disabler zip? or OF will take care of it
2. if i want to flash others custom rom and after that change my mind and restore MIUI back, will ota still work from there? Or i need to repeat the whole process again?

GUIDE How to Instal GSI ROM- Havoc-OS-v4.X-Official Android 11 On Redmi 8

Here I bring to you the official Havoc-os 4.X ROM Android 11 and fully functional on Redmi 8
The intention of this post is to make a step-by-step tutorial on the installation of this excellent GSI ROM on Redmi 8 and give assistance in the installation process
All the development credits for this wonderful ROM go to the Havoc team
@Ruturaj Kadam
@jhenrique09
@SKULSHADY
Remember I am not a developer, if you are presenting any bugs let us know and you can contact the Havoc team on Telegram
I am not responsible for any damage caused to your device by not following the steps or negligence at the time of this process, All the steps were carried out and tested on my personal device and are confirmed, My device Redmi 8 3/32, the version that i tested Havoc-OS-v4.5-20210208-Official-arm64-ab.img.xz
Bugs
videos recorded with the default camera do not play
Update: Install the NGCam_7.4.104-v1.8-fix.apk Once the application is installed open it take a photo close the application, this will create a folder in the SD called Gcam, inside the Gcam folder create a folder and call it Config7 and inside this place the XML file Redmi 8 GCam 7.4.104.314953318 G_Modder.xml restart the application and you're done
the only bugs that have is slow motion record not work for now
Automatic brightness does not work
Update: to fix the automatic brightness on your device, after installing the ROM, put in the folder SYSTEM-OVERLAY the treble-overlay-xiaomi-redmi 8.apk and set the permission for the apk on 644 ( use root explorer ) and reboot ..... problem solved
the necessary files are at the end of the tutorial
Steps
Note: I did the installation coming from Mui 12.EU, and there was no problem in the installation process or in the boot process
If you come from Miui12 .EU or any other GSI Rom go to step 4, if you come from the Rom stock follow the this steps
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Install a custon recovery, if you dont know how to, follow this post: https://c.mi.com/thread-2850424-1-0.html
4- Make wipe only to Cache, Dalvik, System, Data and Internal SD
5- Format data,( if it doesn't format the data you will have bootloop) then Reboot into Recovery
6- Copy all the files to the phone (Havoc-OS-v4.X-20200522-Official-arm64-ab.img you can find it by unpacking the zip), Magisk,Magisk Path Fix, Permisiver, Certification Patch.zip, opengapp (recommended nano or pico)
7- Install system image to system partition (on TWRP go to install-Install image-System) .
8- Flash Permisiver v5 (on TWRP go to install selec permisver_v5.zip)
9- Resize system partition to flash opengapps (on TWRP go to Wipe-Advanced Wipe-Select System on the list-Repair or Change File System-Resize)
To Root
once you have installed an resized the system
10- Flash the Magisk path fix (on TWRP go to install selec MagiskA11_PATH_fix.zip)
11- Flash Magisk (on TWRP go to install selec Magisk-v23.0.zip)
12- Flash Opengapps
1-Flash Certification Patch
1 - Make a wipe to Cache and Dalvik
1- Reboot
The boot process takes 5 to 10 minutes the first boot, in case of any problem in any of the stages you can reinstall Miui version fastboot with Mi flash tool and start again
Download link Rom image:
arm64-ab • Havoc-OS
Havoc-OS Downloads
download.havoc-os.com
OpenGapss Android 11: https://sourceforge.net/projects/opengapps/files/arm64/test/20210130/
Magisk:
Download Magisk Manager Latest Version 26.1 For Android 2023
Magisk Manager is an app which helps users to root their phone. With the help of Magisk you can run banking apps and also pass SafetyNet tests.
magiskmanager.com
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
letouvetpierre said:
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
Click to expand...
Click to collapse
Don't mind it, I haven't read all the article....
letouvetpierre said:
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
Click to expand...
Click to collapse
You can place it in either of the two, as long as you can access the storage where you placed them from the recovery
D
letouvetpierre said:
Don't mind it, I haven't read all the article....
Click to expand...
Click to collapse
Dont worry
Darth Inferno said:
You can place it in either of the two, as long as you can access the storage where you placed them from the recovery
Click to expand...
Click to collapse
Okay thanks I think I will try this in the few days. Thanks for your guide !
Hey ! Do we need to flash a vbmeta image for Havocon boot ?
Is there any bugs when you install Havoc with TWRP ? 'cuz i'm a little bit experimented with TWRP but i'm shy with GSI...
Thanks for the answer
UPDATE :
I bricked my phone. When i arrived to the step 5 and i rebooted into fastboot (i would reboot into recovery...)
So, what can I do ? I installed MiFlashTool to unbrick my phone, if it can...
I tried to reboot from fastboot to twrp and this is what happened :
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 2.141s]
booting...
FAILED (remote: unknown reason)
finished. total time: 2.771s
Thanks...
letouvetpierre said:
UPDATE :
I bricked my phone. When i arrived to the step 5 and i rebooted into fastboot (i would reboot into recovery...)
So, what can I do ? I installed MiFlashTool to unbrick my phone, if it can...
I tried to reboot from fastboot to twrp and this is what happened :
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 2.141s]
booting...
FAILED (remote: unknown reason)
finished. total time: 2.771s
Thanks...
Click to expand...
Click to collapse
Hi, I need to know some things to help you, what ROM did you have before flashing Havoc? do you have the bootloader unlocked? When did you use My flashtool, what method did you use?
letouvetpierre said:
Hey ! Do we need to flash a vbmeta image for Havocon boot ?
Is there any bugs when you install Havoc with TWRP ? 'cuz i'm a little bit experimented with TWRP but i'm shy with GSI...
Thanks for the answer
Click to expand...
Click to collapse
In my particular case it was not necessary to flash vbmmeta as I comment in the OP I come from Miui12.eu, but it is necessary to avoid problems whatever the ROM you have before installing Havoc is to have the latest version of TWRP and have configured a lock pattern security in ROM access and in the flashing process I didn´t have problems
Hey!
I was on the stock ROM when i started to flash HavocOs.
I unbricked my phone with the MIUnlockTool V2 and my phone's still alive.
I booted on TWRP with fastboot boot TWRP.img 'cuz I can't boot to TWRP with volume up and power...
How can I flash HavocOs in the good way ?
I have Redmi 8 3/32 like you...
letouvetpierre said:
Hey!
I was on the stock ROM when i started to flash HavocOs.
I unbricked my phone with the MIUnlockTool V2 and my phone's still alive.
I booted on TWRP with fastboot boot TWRP.img 'cuz I can't boot to TWRP with volume up and power...
How can I flash HavocOs in the good way ?
I have Redmi 8 3/32 like you...
Click to expand...
Click to collapse
Ok the first thing is that you have the bootloader unlocked, if it is that way regardless of the stock version of the rom you have when installing twrp you must install magisk to ensure that the Recovery remains fixed in this link is a tutorial on how to install it, that tutorial was made by me and approved by Xiaomi https://c.mi.com/thread-2850424-1-0.html ,
install the latest version of TWRP and as it says in the tutorial then flash magisk, once you have everything ready install miui 12.eu do not do many settings except create a blocking pattern when starting the rom this is used by TWRP to be able to decrypt the internal memory
All ready do the steps as indicated in this tutorial (If you come from Miui12 .EU or any other GSI Rom go to step 4)
If for some reason you have a problem, use MI flashtool to return to the stock rom, but make sure to use the snapdragon method, select MIflash and when opening the screen at the bottom select clean all, this will prevent you from blocking the bootloader and you can start again without problems (note when selecting clean all at the end it will give you an error for not being able to block the bootloader and the device will restart, do not worry it will restart normally without problems)
Darth Inferno said:
Ok the first thing is that you have the bootloader unlocked, if it is that way regardless of the stock version of the rom you have when installing twrp you must install magisk to ensure that the Recovery remains fixed in this link is a tutorial on how to install it, that tutorial was made by me and approved by Xiaomi https://c.mi.com/thread-2850424-1-0.html ,
install the latest version of TWRP and as it says in the tutorial then flash magisk, once you have everything ready install miui 12.eu do not do many settings except create a blocking pattern when starting the rom this is used by TWRP to be able to decrypt the internal memory
All ready do the steps as indicated in this tutorial (If you come from Miui12 .EU or any other GSI Rom go to step 4)
If for some reason you have a problem, use MI flashtool to return to the stock rom, but make sure to use the snapdragon method, select MIflash and when opening the screen at the bottom select clean all, this will prevent you from blocking the bootloader and you can start again without problems (note when selecting clean all at the end it will give you an error for not being able to block the bootloader and the device will restart, do not worry it will restart normally without problems)
Click to expand...
Click to collapse
Hey!
I thought about something this afternoon : if I flash HavocOS with adb and fastboot, we also haven't any problems with TWRP installation ! But the problem is that I haven't found any wiki to do that and i won't transform my phone to a beta tester....
Thanks a lot for your help but I think i will wait until a custom rom of LineageOs or HavocOs...
Hi . I am currently running havoc is 3.12 on my device I tried multiple times to flash this ROM without any success. Is not installing open gapps a problem ? Anyways when I flash this rom without flashing the certification patch I get a no os installed warning before rebooting from orange fox recovery but when I flash the certification I no longer get this message. Etherway I am getting stuck on a bootloop . How can I solve this issue? I did all the steps correctly wiping the correct partitions and formating data . Edit I wiped cache and dalvik after the bootloop without any success .
Dragonnuu said:
Hi . I am currently running havoc is 3.12 on my device I tried multiple times to flash this ROM without any success. Is not installing open gapps a problem ? Anyways when I flash this rom without flashing the certification patch I get a no os installed warning before rebooting from orange fox recovery but when I flash the certification I no longer get this message. Etherway I am getting stuck on a bootloop . How can I solve this issue? I did all the steps correctly wiping the correct partitions and formating data . Edit I wiped cache and dalvik after the bootloop without any success .
Click to expand...
Click to collapse
Hey !
I had the same bug before installing the v3.12 version.
I think it goes from the Permissiver v5. I think we should flash it to have the Havoc v4.
I'll test later if I have the time to do this and I'll inform you about the possibilities.
Hope I can help.
letouvetpierre said:
Hey !
I had the same bug before installing the v3.12 version.
I think it goes from the Permissiver v5. I think we should flash it to have the Havoc v4.
I'll test later if I have the time to do this and I'll inform you about the possibilities.
Hope I can hel
Click to expand...
Click to collapse
Thanks for replying and trying to help but last night I managed to get havoc 4.1 is installed by flashing lineage first (using another guide from this category). I will try again to get havoc 4.1 working without flashing lineage as soon as posible because I am curious .
Used online available guides bit still not able to install magisk on Hovoc 4.1
Anyone succeeded?
mwaseem851 said:
Used online available guides bit still not able to install magisk on Hovoc 4.1
Anyone succeeded?
Click to expand...
Click to collapse
Magisk doesn't work on Android 11
letouvetpierre said:
Magisk doesn't work on Android 11
Click to expand...
Click to collapse
Finally managed to flash Magisk on Havoc 4.1 with the help of youtuberking (telegram and YouTube).
How: just flash Magisk path fix before magisk and it's good to go.

flashing custom rom ( pixel experience plus edition) Keep Booting Into TWRP Recovery

I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
basukala said:
I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
Click to expand...
Click to collapse
Use the correct TWRP if the rom is in A11 use A11 TWRP etc..
https://androidfilehost.com/?w=files&flid=318260
Twrp/wipe/format data write yes reboot Twrp/flash rom.
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
basukala said:
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
Click to expand...
Click to collapse
AOSP roms can be under ANDROID 11 or 12 or 13.
PixelExperience​
Android OS version: 11.0.0_r40
The first version is in A11 and since August in A12
Version: 12
File name: PixelExperience_raphael-12.1-20220820-1826-OFFICIAL.zip
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
Click to expand...
Click to collapse
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.img​Twrp
wipe/format data write yes reboot twrp
flash the rom
Use this O.F https://androidfilehost.com/?fid=15664248565197208249
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
NOSS8 said:
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.img​Twrp
wipe/format data write yes reboot twrp
flash the rom
Click to expand...
Click to collapse
Wipe everything, system, vendor, internal storage, dalvik, cache via advanced wipe, then flash firmware and vendor or if your rom has included firmware then just flash the rom directly. Try to boot into OS if it still bring back to twrp then again repeat the above steps and this time flash stock vendor and firmware from mi website and try to boot into OS.
Click to expand...
Click to collapse
All the best
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
basukala said:
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
Click to expand...
Click to collapse
Back to MIUI
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
flashed stock miui rom for now. Will tap into pixel rom in few days.
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Xiaomi has stopped updating on Android version 11.
Which rom do you want to install?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Why bothering to manually search here and there for official ROMs
Install the app:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
and the app will show you links to download the latest Global, EEA, etc, zip/recovery or tgz/fastboot, or you can scroll through the older versions and pick an older if you wish
Btw, latest are MIUI 12.5, A11 - there are no official A12 ROMs for Mi 9/Redmi K20 line of models
Even if they receive MIUI 13, it will be (for some already released, but eg China only, etc) it will be A11
Same issue, I guess this is it for me. Time to buy a new phone rather than accidentally losing data from time to time with custom ROMs. I wonder if they didn't know such issue exists before releasing it to the public.

Categories

Resources