Related
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
Hey,
So I am new to this and I want to make sure I don't break anything.
I have the Mi 9T Pro with MIUI Global 10.3.3.0 (PFKMIXM). I am not sure if its the Global or the EEA Version (?) How can I see?
I did not yet get an option to update to MIUI11 unlike many others either. I did unlock my bootloader.
What steps in which order do I have to take to get LOS17? I also want to have root and TWRP.
Can someone guide me through this step by step? Would really appreciate.
The "instructions" in the LOS17 thread are pretty minimal and not very detailed.
KuroRyu said:
Hey,
So I am new to this and I want to make sure I don't break anything.
I have the Mi 9T Pro with MIUI Global 10.3.3.0 (PFKMIXM). I am not sure if its the Global or the EEA Version (?) How can I see?
I did not yet get an option to update to MIUI11 unlike many others either. I did unlock my bootloader.
What steps in which order do I have to take to get LOS17? I also want to have root and TWRP.
Can someone guide me through this step by step? Would really appreciate.
The "instructions" in the LOS17 thread are pretty minimal and not very detailed.
Click to expand...
Click to collapse
The ROM is global, so I assume the phone is too. In PFKMIXM look at characters 4 & 5. MI = global. For EEA these would be EU (CN = China, IN = India).
I don't think MIUI 11 has been released for the global ROM. AFAIK this week was only the European ROM that got updated to 11.
To install LOS you would need to install MIUI 11 firmware & vendor first (these can be flashed on there own or you could install a fastboot MIUI 11 ROM)
The LOS 17 OP recommends keeping these as the original region of the phone. In this case you will need to wait until global MIUI 11 arrives.
However, you would, in all probability, have no issues if you went with European MIUI 11 ROM/firmware instead.
The decision is yours, if you want to keep things 'proper' then wait for global MIUI 11 before proceeding. If you're happy to go with EU firmware then we can give you an overview of the process.
Robbo.5000 said:
The ROM is global, so I assume the phone is too. In PFKMIXM look at characters 4 & 5. MI = global. For EEA these would be EU (CN = China, IN = India).
I don't think MIUI 11 has been released for the global ROM. AFAIK this week was only the European ROM that got updated to 11.
To install LOS you would need to install MIUI 11 firmware & vendor first (these can be flashed on there own or you could install a fastboot MIUI 11 ROM)
The LOS 17 OP recommends keeping these as the original region of the phone. In this case you will need to wait until global MIUI 11 arrives.
However, you would, in all probability, have no issues if you went with European MIUI 11 ROM/firmware instead.
The decision is yours, if you want to keep things 'proper' then wait for global MIUI 11 before proceeding. If you're happy to go with EU firmware then we can give you an overview of the process.
Click to expand...
Click to collapse
Thanks for the reply, very helpful.
Is there any information when MIUI 11 will be released for the global version?
Also can I already install TWRP? That should not have any effect on the ROM flashing process, right?
If so, how do I do this correctly for my current configuration?
KuroRyu said:
Thanks for the reply, very helpful.
Is there any information when MIUI 11 will be released for the global version?
Also can I already install TWRP? That should not have any effect on the ROM flashing process, right?
If so, how do I do this correctly for my current configuration?
Click to expand...
Click to collapse
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
Code:
fastboot flash recovery TWRP.img
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Code:
.\fastboot flash recovery .\TWRP.img
When that's finished and still in fastboot mode.
Press and hold the vol+ and power buttons.
Keep holding both until the phone vibrates and the initial splash screen appears.
Release the power button, but keep holding vol+ for a second or 2.
You should now have booted into TWRP if everything went OK.
Go to install and select the Magisk installation file on the phone.
Confirm the selection.
Once that's finished you can reboot the phone.
If all's OK you should now have TWRP and Magisk installed.
Robbo.5000 said:
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
Code:
fastboot flash recovery TWRP.img
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Code:
.\fastboot flash recovery .\TWRP.img
When that's finished and still in fastboot mode.
Press and hold the vol+ and power buttons.
Keep holding both until the phone vibrates and the initial splash screen appears.
Release the power button, but keep holding vol+ for a second or 2.
You should now have booted into TWRP if everything went OK.
Go to install and select the Magisk installation file on the phone.
Confirm the selection.
Once that's finished you can reboot the phone.
If all's OK you should now have TWRP and Magisk installed.
Click to expand...
Click to collapse
Alright. Thanks for the instructions, I will try this.
Just to make sure: Is this the correct TWRP image: TWRP 3.3.1-22 Unofficial by mauronofrio ?
Where can I find the correct magisk files for my device? Do I need magisk or magisk manager?
Would be sick if you could link me the correct ones
Cheers
KuroRyu said:
I've not heard anything about the global release, but as someone that doesn't use MIUI I don't go looking for information, so there could be some info around. Apparently there's no noticeable difference between EU and global versions for this phone, so now the EU version is released I don't think it would be too long for the global version to appear, but that's pure guesswork.
You can install TWRP now, it requires adb and fastboot. If you don't have these on your PC then search the xda forums for 'minimal adb'. The official post will give you all the details. Ordinarily whenever you boot MIUI ithe system checks the integrity of the recovery partition and, if it has changed, it will restore stock recovery. Therefore immediately after installing TWRP you'll need to install Magisk, which will then automatically protect the TWRP installation.
Copy your Magisk installation file onto the phone
Boot the phone into fastboot mode and connect to the PC.
To make life easier, copy the TWRP image file to the same folder that has adb and fastboot and rename the file as TWRP.img
Open command prompt and navigate to the adb/fastboot installation folder.
If you're using PowerShell then you'll need to qualify the location of fastboot and TWRP
Alright. Thanks for the instructions, I will try this.
Just to make sure: Is this the correct TWRP image: TWRP 3.3.1-22 Unofficial by mauronofrio ?
Where can I find the correct magisk files for my device? Do I need magisk or magisk manager?
Would be sick if you could link me the correct ones
Cheers
Click to expand...
Click to collapse
EDIT: JUST READ THAT THERE IS AN ISSUE WITH MAGISK 20.1 AND MIUI 11.
DOWNLOAD MAGISK 19.4
That is the correct TWRP.
Only ever get Magisk from here
https://github.com/topjohnwu/Magisk
There are no device specific versions, just one size fits all. Download the latest 20.1 Magisk installer zip to flash in TWRP. It will install Magisk and Magisk manager at the same time. Also download the uninstaller zip at the same time, just in case. If, for any reason, you need to uninstall then it's there ready.
If you need to know more about Magisk, follow the link on github to the xda official thread, it has very good information.
Hey all.
Currently running 11.0.1.0 Global Official on my phone. Installed via OrangeFox Incremental update method.
I had some Magusk modules installed before the update. All of them worked after except Viper4Android. So I decided to uninstall.
I selected reboot via Magisk and now the phone constantly goes to Fastboot!!
I manually booted into recovery and decided to wipe Dalvik and Cache. During this process it shows 'NO ROM' under 'Device: Raphael'
I don't know how on earth this happened and can't seem to re-install the rom as it gives me following error:
Detected MIUI Update Package
Support MIUI Incremental Package Status: Enabled
E3003: Can't install this package over newer build.
Update process ended with ERROR: 7
Are you installing onto the correct device?
Guys please help. I really don't want to do a clean install as I have lots os important sms that I haven't backed up.
Please help
Error 7 is because you're probably flashing another region ROM. Unzip the rom and find the Update script file, edit with notepad and rename all lines reading "Raphael" to "Raphaelin" or bice versa. Rezip and flash.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Error 7 is because you're probably flashing another region ROM. Unzip the rom and find the Update script file, edit with notepad and rename all lines reading "Raphael" to "Raphaelin" or bice versa. Rezip and flash.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Hey. Thanks for the reply. However this is the same file I used to upgrade from 10 to 11 in the first place.
Also this is the full ROM I believe as I do not see any update script inside the zip.
This is the one I downloaded: https://bigota.d.miui.com/V11.0.1.0.QFKMIXM/miui_RAPHAELGlobal_V11.0.1.0.QFKMIXM_7b25321468_10.0.zip
There should be update script file. Otherwise you'll have to flash a fastboot ROM with miflash and in there maybe try to KEEP DATA and see if it boots
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
There should be update script file. Otherwise you'll have to flash a fastboot ROM with miflash and in there maybe try to KEEP DATA and see if it boots
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Hey again. So I decided to go the fastboot ROM route with keep data option. My data partition was left intact (THANK YOU!) however my sms and call logs were only restored from the latest cloud backup available (not latest unfortunately).
Thanks again for your help.
Just wanted to check with you. Can I install OrangeFox directly onto this phone now? I recall having issues the first time I tried. Ended up having to install a specific version of TWRP made for the 9T Pro Global version and then install OrangeFox via that.
You'll have to format data i think. Otherwise try, this is the latest for raphael https://files.orangefox.tech/OrangeFox-Stable/raphael/OrangeFox-R10.0_8-Stable-raphael.zip
Unzip the file, then take the recovery.img file from it and FASTBOOT FLASH RECOVERY *RECOVERYNAME*. Once target is sent, press and hold volume up and power button together, once it vibrates release the power button and keep holding volume up, it will reboot to orangefox. Once it boots, copy the orangefox zip file and flash it again, now it will be permanent, then go to manage storage and format data (that where you type YES).
What I'm not sure is if it will boot without wiping data. Otherwise try skipping the data wipe and just flash orangefox twice like above
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
You'll have to format data i think. Otherwise try, this is the latest for raphael https://files.orangefox.tech/OrangeFox-Stable/raphael/OrangeFox-R10.0_8-Stable-raphael.zip
Unzip the file, then take the recovery.img file from it and FASTBOOT FLASH RECOVERY *RECOVERYNAME*. Once target is sent, press and hold volume up and power button together, once it vibrates release the power button and keep holding volume up, it will reboot to orangefox. Once it boots, copy the orangefox zip file and flash it again, now it will be permanent, then go to manage storage and format data (that where you type YES).
What I'm not sure is if it will boot without wiping data. Otherwise try skipping the data wipe and just flash orangefox twice like above
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Ok this is really weird. I sent across the latest OrangeFox via Fastboot. Booted into it. Installed again via Zip. It rebooted back into Orangefox. Wiped data. Then re-started phone and set everything up (second time today :crying.
I then downloaded magisk and booted into recovery to install it only to find out it's back to stock!!???
I really don't want to wipe my data again so any idea as to which TWRP works on this phone? I just tried the mauronofrio one but it boots to a black screen :crying:
Flash magisk before you setup your stuff, magisk will stop it from restoring back to stock recovery.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Flash magisk before you setup your stuff, magisk will stop it from restoring back to stock recovery.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Ok thanks. But are you aware of any TWRP that works on the Global 9t Pro with Android Q?
Yes that of Maurofanio or something like that is his name, it's in here.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Yes that of Maurofanio or something like that is his name, it's in here.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Got it! Thanks.
Hi, everyone, I'm on MINE 12.0.1 Stable Global. The bootloader is unlocked. Is it possible to proceed to root like on MUI 11? I install TWRP recovery and then Magisk? Or is there something different to do? Thank you in advance...
If you install TWRP, you need to flash DFE afterwards to boot.
After a successful boot, reboot to recovery and flash magisk.
Mi 9T Pro ll Tapatalk
kibria.mgk said:
If you install TWRP, you need to flash DFE afterwards to boot.
After a successful boot, reboot to recovery and flash magisk.
What is DFE?
Click to expand...
Click to collapse
Ferb1151 said:
What is DFE?
Click to expand...
Click to collapse
Disable Force Encryption
Mi 9T Pro ll Tapatalk
kibria.mgk said:
Disable Force Encryption
Where can I found it? Do you habe a guide or something like that?
Click to expand...
Click to collapse
Ferb1151 said:
Where can I found it? Do you habe a guide or something like that?
Click to expand...
Click to collapse
Got it from xeu telegram channel. To know more, join there. Also, flash this at your own risk.
Couldn't upload directly, here's gdrive mirror.
https://drive.google.com/file/d/1NctBFGwuT3X766mXGFTUxZeSZ5ipLFC2/view?usp=drivesdk
Procedure
The procedure is very simple. DFE or OFOX are NOT required. I flashed TWRP on an encrypted device and boots as expected.
1. Install ADB DRIVERS and download PLATFORM-TOOLS and TWRP. Also download Magisk and move it to the phone.
2. In Developer Options Enable USB Debugging, then reboot to fastboot (Vol Down + PWR Button).
3. Connect the device to PC. Extract the platform tools folder and in it press Shift+Left Click and open a powershell window. Type
Code:
fastboot flash recovery twrp-3.4.0-1-raphael.img
4. Reboot directly to TWRP (Vol Up + PWR Button).
5. From there flash magisk, and reboot to system.
6. Come back here and hit that thanks button. :good:
No need of flashing DFE. After installing TWRP boot directly into TWRP and flash latest Magisk. Then you can boot normally.
Ok, than is like on MiUI 11, right? Thanks!!!
Sorry to barge in, but will this also work with k20 pro premium?
demam said:
Sorry to barge in, but will this also work with k20 pro premium?
Click to expand...
Click to collapse
This method is unchanged since release of the 9T PRo/K20 Pro of premium.
Just the TWRP and Orangefox versions improved due to updating by the dev's.
trelokeeper said:
The procedure is very simple. DFE or OFOX are NOT required. I flashed TWRP on an encrypted device and boots as expected.
1. Install ADB DRIVERS and download PLATFORM-TOOLS and TWRP. Also download Magisk and move it to the phone.
2. In Developer Options Enable USB Debugging, then reboot to fastboot (Vol Down + PWR Button).
3. Connect the device to PC. Extract the platform tools folder and in it press Shift+Left Click and open a powershell window. Type
Code:
fastboot flash recovery twrp-3.4.0-1-raphael.img
4. Reboot directly to TWRP (Vol Up + PWR Button).
5. From there flash magisk, and reboot to system.
6. Come back here and hit that thanks button. :good:
Click to expand...
Click to collapse
Today I've followed this steps on my xiaomi mi 9t pro with miui version 12.0.3.0. I was able to unblock my boot loader and to install TWRP. Then I was able to install magick but when I reboot the system, twrp start again and again.
Do you have any idea?
Can't get redmi 7a 12.0.1 to root neither with or w/out decryption
Perform this at your own risk. You might LOSE all data on your phone.
( I'm not responsible for any damage to your device )
//
Update: OrangeFox Recovery Project for Xiaomi 11T Pro (vili) with the same installation instructions.
Caution: this recovery is intended for use with MIUI vendors ONLY, even having the flashing capability of MiLahaina based system, do not try to boot it on MiLahaina ROMs, as the builds aren't compatible.
Bugs as for now:
- Vibrator
- MTP (adb works fine)
https://sourceforge.net/projects/chemuski1-stuff/files/Xiaomi 11T Pro/Recovery (MIUI vendor)/OrangeFox-Unofficial-vili.img/download
//
This guide will walk you through the process of installing TWRP on your Xiaomi 11T Pro.
READ THIS FIRST:
You may brick your device if you don't know what you are doing.
This might ERASE ALL YOUR DATA so do a BACKUP encase.
Your bootloader will be unlocked.
Prerequisites:
The bootloader must be unlocked. Click here for a tutorial.
Install ADB and Fastboot Drivers from here (Select the latest) --> https://androidmtk.com/download-minimal-adb-and-fastboot-tool )
Install drivers for Xiaomi 11T Pro --> https://droidfilehost.com/download/download-xiaomi-usb-driver-for-windows (For Windows Only!)
Download the TWRP Image for Xiaomi 11T Pro --> https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/vili/
Installing TWRP:
Reboot the phone to fastboot (Power + Vol Down)
Connect the phone to the computer using an USB cable (Preferred to use original cable that came with the phone)
Extract the fastboot files and open CMD/Terminal there.
Paste the twrp.img in the same folder.
Type' fastboot boot twrp.img' without the apostrophes.
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP.
Done!
Note: Change twrp.img with the original file name example twrp-3.7-xxx.img.
Orignal Thread: https://forum.xda-developers.com/t/how-to-install-twrp-on-xiaomi-11t-pro.4350425/
Edit: The Recovery is now updated by skkk and is working on Android 12 without any problems just download it from the update link above
Good job!!
Thank youuu!
Edit: But everytime I open TWRP I need to put my pattern, why is that?
oh thanks, so i can flash EU rom through TWRP ???
Where is this twrp from, who made it. Information needed. Please share.
GeeyahnOfficial said:
Thank youuu!
Edit: But everytime I open TWRP I need to put my pattern, why is that?
Click to expand...
Click to collapse
Not 100% sure but it's probably because your device is encrypted which is the default behavior of miui when you setup your lockscreen method.
skcapk said:
oh thanks, so i can flash EU rom through TWRP ???
Click to expand...
Click to collapse
Not yet, we still don't have recovery rom yet, the current eu rom is for fastboot.
sushuguru said:
Not 100% sure but it's probably because your device is encrypted which is the default behavior of miui when you setup your lockscreen method.
Click to expand...
Click to collapse
How can I remove it? When I put my password it decrypt tho, should I keep it like that (keep putting password whenever I open twrp) or remove it? Which is better?
GeeyahnOfficial said:
How can I remove it? When I put my password it decrypt tho, should I keep it like that (keep putting password whenever I open twrp) or remove it? Which is better?
Click to expand...
Click to collapse
It is better to enter the password every time as this will enhance your security in case you lose your phone they won't find the password is decrypted therefore they can't access your data.
But still there is another way they might access your data and that if your bootloader is unlocked usually the best way to protect yourself is to leave the password in twrp and lock your bootloader.
Flashed Twrp Running smooth on Slot A Installing Magisk is making issue
Suggest how to fix this
djkrish5610 said:
Flashed Twrp Running smooth on Slot A Installing Magisk is making issue
Suggest how to fix this
Click to expand...
Click to collapse
What issues? Could you be more specific? I have both and I don't have any issues...
i have Tried as below:
Option1: Tried to boot Twrp after that go to Advanced > Flash Current TWRP > Done Magisk was missing so flashed Magisk from Twrp.
Not booting on system
Option2: Flashed TWRP on SLOT A & SLOT B and now messed up
This unofficial version of TWRP + Magisk root seems to cause network problems for me as the mobile connection dropped from 4G(LTE) to 2G(EDGE).
Using Magisk root without TWRP works like a charm.
Anyone else facing this issue?
I flashed the latest magisk on this TWRP and no problem facing.
TheRomFan said:
Perform this at your own risk. You might LOSE all data on your phone.
( I'm not responsible for any damage to your device )
This guide will walk you through the process of installing TWRP on your Xiaomi 11T Pro.
READ THIS FIRST:
You may brick your device if you don't know what you are doing.
This might ERASE ALL YOUR DATA so do a BACKUP encase.
Your bootloader will be unlocked.
Prerequisites:
The bootloader must be unlocked. Click here for a tutorial.
Install ADB and Fastboot Drivers from here (Select the latest) --> https://androidmtk.com/download-minimal-adb-and-fastboot-tool )
Install drivers for Xiaomi 11T Pro --> https://droidfilehost.com/download/download-xiaomi-usb-driver-for-windows (For Windows Only!)
Download the TWRP Image for Xiaomi 11T Pro --> https://sourceforge.net/projects/xi....6.0_11-0_LOCAL-20220203-01-vili.img/download.
Installing TWRP:
Reboot the phone to fastboot (Power + Vol Down)
Connect the phone to the computer using an USB cable (Preferred to use original cable that came with the phone)
Extract the fastboot files and open CMD/Terminal there.
Paste the twrp.img in the same folder.
Type' fastboot boot twrp.img' without the apostrophes.
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP.
Done!
Note: If you were using magisk, reflash it now
Orignal Thread: https://forum.xda-developers.com/t/how-to-install-twrp-on-xiaomi-11t-pro.4350425/
Click to expand...
Click to collapse
Greetings.
Amazing, however, I want to know whether this works for the Xiaomi 11T or not.
Jin_Vickaizer said:
Greetings.
Amazing, however, I want to know whether this works for the Xiaomi 11T or not.
Click to expand...
Click to collapse
It won't as it might brick your phone so make sure you install this in 11T Pro (vili) not 11T (agate)
Good morning, I use it with the 11t Pro, and no problem! great everything.
But now they updated to Android 12 and Miui 13, and it doesn't work anymore...
The developer will update the recovery to work on android 12??
First of all, thank you very much for the hard work you do.
Deleted
Hello,
So i flashed TWRP and it all worked fine but now I can't install any stock rom anymore. I always get the "Antirollback check error".
zLauch666 said:
Hello,
So i flashed TWRP and it all worked fine but now I can't install any stock rom anymore. I always get the "Antirollback check error".
Click to expand...
Click to collapse
Currently on which version of rom?
And you want to install?
NOSS8 said:
Currently on which version of rom?
And you want to install?
Click to expand...
Click to collapse
i got help from the discord server and here's what i did:
> launched TWRP > Advanced > ADB Sideload
> installed the newest platform-tools on my PC
> then flashed a recovery rom with version 12.5.10
>> NOTE: if it crashed at 47% - 49% that's fine, it's an ADB bug so 47 - 49 means 100%
> rebooted to system
after all that my devices was working again.