Need help. K20 pro stuck in bootloop. - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hi..
The concerned device is a k20 pro (RAPHAELIN) indian version.
I unlocked the bootloader.
Installed Orange Fox.
Flashed Pixel Experience Plus.
Wiped cache/dalvik cache
Rebooted
..
The phone keeps taking me to fastboot.
I can boot into recovery by pressing the volume up + power button.
I can flash zips via all-in-one tool.
I have tried reflashing the indian fastboot rom as well as the global one.
But nothing seems to be solving the issue. It keeps booting into fastboot.
I'm sorry. I'm a noob. I tried following the tutorials but eventually ended up in this mess.
Any help would be appreciated.

Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back

nosidefcp said:
Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back
Click to expand...
Click to collapse
Didn't work. It shows that it's an invalid zip format.
i downloaded the zip like you said. What am I doing wrong?

nosidefcp said:
Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back
Click to expand...
Click to collapse
Yessss!!! Thank you so much. Figured it out finally.. There was a compatibility.zip in the file which was giving a compatibility error.. deleted that file, repackaged, flashed. Booted into the chinese rom...
at least the phone is functional now.
Thank you so much!

Related

Mi 9 - Can not boot, even after MiFlash

To keep it short: tried to flash a new MIUI Version and now i cant get any system to boot, even after flashing with MiFlash.
My Bootloader is unlocked, if that helps
My history of failure
- I successfully unlocked my bootloader
- i flashed twrp
- i wiped only data
- i flashed xiaomi.eu miui 11 https://xiaomi.eu/community/threads/9-9-26-27-v2-miui-11.52341/
- didnt boot the system
- went back to twrp
- wiped á la "factory reset" (the pre-setting)
- then my sdcard folder was "scrambled" with folder like "IK76889AJSNDKAJ"
What I tried already:
- copying the rom again, copying didnt work
- then i downloaded and flashed cepheus_global_images_V10.2.6.0.PFAMIXM fastboot rom
EDIT: and flashed sucessfully via MiFlash
- still doesnt boot
Any idea what i can do?
Try to flash TWRP again, format data not wipe. Wipe cache/dalvik cache. Flash any ROM you want. It's take sometimes up to 15 min to boot, with clean flash.
In bad case, if you flash wrong version with your base one and choose “ flash all and lock “ in bottom bar. Your device is brick. Like I have a Mi 9 china version, when i flash global rom and forget choose “ flash all” . My device is brick . Hope you not , fr
g_seva said:
Try to flash TWRP again, format data not wipe. Wipe cache/dalvik cache. Flash any ROM you want. It's take sometimes up to 15 min to boot, with clean flash.
Click to expand...
Click to collapse
you're right!
my fault was to "wipe" and not to click "format data"
afterwards i was able to flash and boot a roms again
JonnyZaggi said:
you're right!
my fault was to "wipe" and not to click "format data"
afterwards i was able to flash and boot a roms again
Click to expand...
Click to collapse
Wipe don't remove encryption.

Cannot boot into recovery (TWRP)

As the title suggest, I fail to boot into TWRP.
I have unlocked the phone and flashed TWRP (https://dl.twrp.me/raphael/twrp-3.3.1-0-raphael.img).
I could boot into TWRP using Power + Volume Up , wiped everything (except vendor) and pushed a custom rom to the internal storage.
I restarted the phone for some reason and cannot boot into TWRP anymore. Whatever I do, I end up in fastboot. Tried to flash various versions of TWRP with the same result.
Can you guys help me out?
Edit: I flashed the corresponding Xiaomi fastboot image and repeated the process, same problem.
Edit: Solved by repeating again.
flel said:
As the title suggest, I fail to boot into TWRP.
I have unlocked the phone and flashed TWRP (https://dl.twrp.me/raphael/twrp-3.3.1-0-raphael.img).
I could boot into TWRP using Power + Volume Up , wiped everything (except vendor) and pushed a custom rom to the internal storage.
I restarted the phone for some reason and cannot boot into TWRP anymore. Whatever I do, I end up in fastboot. Tried to flash various versions of TWRP with the same result.
Can you guys help me out?
Edit: I flashed the corresponding Xiaomi fastboot image and repeated the process, same problem.
Edit: Solved by repeating again.
Click to expand...
Click to collapse
In future, don't wipe everything. You should only need to do the factory reset in TWRP, which will automatically wipe data, cache and dakvik. If you are flashing over MIUI then you will also need to format data.
There is almost never any need to wipe anything else in TWRP when doing normal custom ROM flashing.

My k20 pro isnt booting up

I tried installing custom rom for the first time now i did it with xiaomitool but it gave error that it couldnt wipe data and my phone stuck on boot.
Then on my phone i booted to twrp and frm there i wiped dalvik cache and data with a wrappedkey error but i continued and flashed pixel exp plus and formatted data and when i rebooted system i again got stuck there
Then once again i went to twrp and tried wiping dalvik cache and data again but this time with wrappedkey amd some decrypted error to and formated data and then tried rebooting to system. Again nothing worked pls help my otherwose my parents are going to kill me
EDIT : Also my laptop has mac os so i think there isnt much i could do with pc and thats only why i used unofficial xiaomitool in the first place
If youre coming from xiaomi rom or xiaomi eu rom you need to format data ( option in twrp where you type yes) not just wipe data, then reboot to recovery (twrp) again and then follow instruction of rom you want to install. Some custom roms require flashing vendor firmware before flashing rom , then gapps , then magisk if you require root ( if magisk wont install then after flashing rom reboot to twrp again). Also xiaomitool is not ideal for installing custom rom but for recovery and fastboot roms ( one that came originally with phone when phone had locked bootloader, never tick wipe and lock)
Disregard my comment about xiaomitool, had thoght that you mean miflash tool
But how
That rom is not in my phone anymore nor i know how to install back to xiaomi rom btw my phone is indian varient
UPDATE
I once again tried flashing pixl exp plus using a diff tutorial which included flashing some disable force encryption and now my device wont even boot into twrp its stuck on fastboot mode.
Now i only hot two question :
1.) will i be able to charge my phone in fastboot mode (or any other way?)
2.) will i be able to flash stock miui rom in fastboot mode through my mac (or if theres any other way pls tell me)
Yes you will be able to charge through fastboot
Just flash twrp again thn boot into twrp and go to wipe - format data and type yes.
Until and unless you format data you will not be able to do anything
Thn download Indian vendor zip ,your required rom and disableforceencryption.zip in your pc and copy it to the phone while in twrp.
Go to wipe and wipe cache ,dalvik ,data,system,vendor
Thn flash vendor zip followed by rom and dfe
Now reboot
device is jusr stuck on fastboot
Pronoy_ said:
Yes you will be able to charge through fastboot
Just flash twrp again thn boot into twrp and go to wipe - format data and type yes.
Until and unless you format data you will not be able to do anything
Thn download Indian vendor zip ,your required rom and disableforceencryption.zip in your pc and copy it to the phone while in twrp.
Go to wipe and wipe cache ,dalvik ,data,system,vendor
Thn flash vendor zip followed by rom and dfe
Now reboot
Click to expand...
Click to collapse
i did the sameexcept for vendor as i had latest miui but phone got stuck in fastboot and twrp is not accessible.
now what if i install official fastboot rom will it relock the bootloader and brick my phone for good?
ak20prouser said:
i did the sameexcept for vendor as i had latest miui but phone got stuck in fastboot and twrp is not accessible.
now what if i install official fastboot rom will it relock the bootloader and brick my phone for good?
Click to expand...
Click to collapse
Only if you forget to change the option in the Mi Flash Tool, which is easily done if you're not paying attention. If the fastboot ROM is the correct version for the phone then you won't brick the phone if you forget to change the flash option. You will just need to unlock the bootloader again before doing anything else.
After flashing a fastboot ROM, boot into MIUI once so that the install finalises itself.
Then flash TWRP and boot into TWRP.
Do a factory reset, then format data. No need to wipe anything else.
Reboot into TWRP to ensure the newly formatted data partition is properly mounted.
Now copy across and flash the ROM of choice plus any optional extras.
There is no need to flash dfe files or vbmeta, etc.
Assuming you've flashed the latest fastboot ROM, then there's no need to flash vendor or firmware files.
Just go through this post
Trust me it has solved all of my issues
http://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543
Pronoy_ said:
Just go through this post
Trust me it has solved all of my issues
http://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543
Click to expand...
Click to collapse
Hello Bro. I flashed the latest firmware and the evolution x rom but now my phone is stuck on the redmi logo. I am able to go back to recovery but what do I do now?

Stuck in recovery bootloop

Hello guys
I tried to flash my K20 Pro today with a custom ROM and somehow ended up with a bootloop (I wiped everything pretty much, Data, Vendor (which was probably the mistake, dunno), System, caches, all that). So, I went ahead and flashed the stock ROM through the MiFlash tool, and I can use the stock ROM. After that, I flash TWRP and repeat the process. Wipe, flash, reboot. And I get the bootloop.
Bootloader is unlocked as should be.
Anyone know what's causing this and what I can do to fix it?
Thanks in advance
EDIT: Just noticed that after this last attempt where it bootlooped into the recovery, everything's encrypted, don't know if that helps but it's there.
Format data
camp70 said:
Format data
Click to expand...
Click to collapse
Had it running on the fastboot MIUI ROM, flashed TWRP, wiped caches, system and data. Then data again. Storage shows up in 3 "partitions" and I can't paste files to them. When I try to reboot back to TWRP it just goes to fastboot and after reflashing TWRP, it still will boot to fastboot instead of the just flashed recovery. Using fastboot oem reboot-recovery if that helps.
After the wipe, doing fastboot boot twrp.img will fire up a "Failed to load/authenticate boot image: Load Error"
Format is not the same that wipe
From MIUI
Install TWRP.
Boot TWRP.
Go to wipe menu and factory reset.
Return to wipe menu and select format data.
At no point do you need to go into the advanced wipe menu.
Return to the main menu.
Go to boot menu.
Select (re)boot recovery to allow TWRP to correctly mount the newly formatted data partition.
Copy across the files you want to flash, then flash them.

Question How do i get Stock recovery to not replace TWRP when rebooting???

Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Helhound0 said:
Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Click to expand...
Click to collapse
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Laptapper said:
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Click to expand...
Click to collapse
Sorry mate that didn't work. Still going back to stock recovery...
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Helhound0 said:
Sorry mate that didn't work. Still going back to stock recovery...
Click to expand...
Click to collapse
Then you've got to do a flash with stock ROM and miflash via pc
Laptapper said:
Then you've got to do a flash with stock ROM and miflash via pc
Click to expand...
Click to collapse
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
romuser87 said:
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
Click to expand...
Click to collapse
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
Helhound0 said:
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Click to expand...
Click to collapse
The attached file worked for me
Helhound0 said:
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
Click to expand...
Click to collapse
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
HiQual said:
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
Click to expand...
Click to collapse
The first ever twrp install i did, i rebooted to system by mistake but i reflashed twrp and made sure to reboot to recovery.... That was the second try. I think i may have tried at least two dozen times since that but it just kept booting back to stock recovery...
I think I'll run with this until the end of Jan and then redo everything from scratch...
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
I'm stuck at this stage. Have you found any solution yet?

Categories

Resources