My phone stucks in bootloader mode if I try format data option from twrp - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hi, i am on official indian rom for miui 11, i having an issue with installing custom rom
whenever I try to install a new rom, I install twrp recovery, then i click format data to wipe all the things first, then i need to restart my recovery coz i cant see my storage without it
as soon as it boots, it again goes in bootloader, then the loops start as even if i try to install the twrp again, it wont run, then i have to again flash stock rom. please help

AkshayTh9 said:
Hi, i am on official indian rom for miui 11, i having an issue with installing custom rom
whenever I try to install a new rom, I install twrp recovery, then i click format data to wipe all the things first, then i need to restart my recovery coz i cant see my storage without it
as soon as it boots, it again goes in bootloader, then the loops start as even if i try to install the twrp again, it wont run, then i have to again flash stock rom. please help
Click to expand...
Click to collapse
Flash it via official xiaomi flash tool.
Sent from my Redmi K20 Pro using Tapatalk

Related

Cant return to MIUI from LineageOS

Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
if the recovery method of flashing the full rom fails, then you have no other recourse except to flash via fastboot method.
take note of this "Please wipe all data in Recovery mode if you want to update to a discontinuous ROM version, or downgrade to an older ROM version using MIUI full ROM pack. If you upgrade from MIUI Stable ROM based on Android M to MIUI Developer ROM based on Android N, please flash it via Fastboot update. Recovery update might cause upgrade failure."
http://en.miui.com/a-232.html
http://en.miui.com/a-234.html
lucasho2312 said:
Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
Click to expand...
Click to collapse
Did you just tried rebooting to system after flashing? I also got that error "no OS installed" in TWRP so many times, but rebooting to system with no problems at all.
nnth said:
Did you just tried rebooting to system after flashing? I also got that error "no OS installed" in TWRP so many times, but rebooting to system with no problems at all.
Click to expand...
Click to collapse
Unmounted system before flashing ROM .
in my opinion why just not use rom from xioami.eu because you have custom recovery .
p.chandra284 said:
Unmounted system before flashing ROM .
Click to expand...
Click to collapse
Dont unmount system flash zip and after flash use hardware buttons to reeboot
U need to format data before installing miui
lucasho2312 said:
Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
Click to expand...
Click to collapse
The reason is, that you can't flash OFFICIAL Chinese (Developer/Stadle) Rom with cusom recovery (TWRP). But you can flash anything esle. Like Lineage OS. If you want to use MIUI Rom, you have to flast a Xiaomi.eu ( developer or stable) rom. NOT OFFICIIAL CHINESE !!! If you prefer Official Chinese Global rom, you must download a FASTBOOT rom (not recovery) , and flash it in fastboot mode, with MiFlash.
instead of beating around the bush, why not follow the official procedure of flashing an official miui rom
if you are coming from a custom rom, as specified herein?:
http://en.miui.com/a-234.html
When can we expect official RR for mi max 2?
It was already available for redmi note 4 which is having the same processor.
You have to wait for custom Rom until miui release the kernel source which is must have to develop a custom one. please be patience...
If you flash rom with out error, Even no os installed warning, you can boot into system without problem.

Unable to update to MIUI 9

Hello guys.
I've just tried to update to MIUI 9.0.1.0 NDDMIEI from MIUI 8.5.9.0 NDDMIED on device Xiaomi Mi Max 2 but it failed.
I have an unlocked bootloader and SuperSu installed, but the recovery is Mi Stock Recovery. :cyclops:
I had directly booted TWRP Recovery without flashing using
Code:
fastboot boot twrp.img
to flash SuperSu on device. :good:
Need support with this issue. I don't want to flash whole ROM every time I recieve an update.
steve.24 said:
Hello guys.
I've just tried to update to MIUI 9.0.1.0 NDDMIEI from MIUI 8.5.9.0 NDDMIED on device Xiaomi Mi Max 2 but it failed.
I have an unlocked bootloader and SuperSu installed, but the recovery is Mi Stock Recovery. :cyclops:
I had directly booted TWRP Recovery without flashing using
Code:
fastboot boot twrp.img
to flash SuperSu on device. :good:
Need support with this issue. I don't want to flash whole ROM every time I recieve an update.
Click to expand...
Click to collapse
i successfully flashed to miui v9(V9.0.1.0.NDDMIEI) over miui v8(V8.5.8.0.NDDMIED) without data wipe. all my data were intact
Keep a backup just in case
make sure you downloaded recovery flashable full rom package ~1.38GB (not the 500mb OTA update )
donot wipe data/cache/dalvik
flash via TWRP recovery
just flashing rom wont boot due to dm-verity. (result will be bootloop)
u need to flash super user or magisk (or lazy flasher "ive not tried though" ) which patches boot.img which makes rom bootable
reversegear said:
i successfully flashed to miui v9(V9.0.1.0.NDDMIEI) over miui v8(V8.5.8.0.NDDMIED) without data wipe. all my data were intact
Keep a backup just in case
make sure you downloaded recovery flashable full rom package ~1.38GB (not the 500mb OTA update )
donot wipe data/cache/dalvik
flash via TWRP recovery
just flashing rom wont boot due to dm-verity. (result will be bootloop)
u need to flash super user or magisk (or lazy flasher "ive not tried though" ) which patches boot.img which makes rom bootable
Click to expand...
Click to collapse
I'll give it a try. Currently I have data wiped and installed full ROM through fastboot method. So next time, for sure I'll give it a shot.
But I have a doubt, where TWRP be able to flash an MIUI ROM. I mean the bootloader unlocked, encrypted system partition and all.
Since you have your device rooted, first install flashify, and backup your stock recovery. Then you can flash twrp recovery and install Miui 9, and root the device again. Last, install flashify again and restore your stock recovery.
scholastova said:
Since you have your device rooted, first install flashify, and backup your stock recovery. Then you can flash twrp recovery and install Miui 9, and root the device again. Last, install flashify again and restore your stock recovery.
Click to expand...
Click to collapse
Can you give stock recovery from mi max 2? I forgot to back up his original recovery stock and was hit with twrp.

Xiaomi mi 8 se doesn't want to run any ROM

Hi, I've unlocked my xiaomi mi 8 se bootloader and i try to flash twrp recovery and xiaomi.eu rom, but every time i reboot the device he goes in bootloop and when i try to turn off the device and to acess the recovery, the device goes in bootloop. So every time I have to reinstall the recovery and then the ROM again. But for every recovery and rom i tried the device goes in bootloop. I tried every twrp on the forum and also some Rom but the device doesn't want turn on. Can you help me, pls? thanks and sorry for my english
You need to format data in twrp, reboot to recovery in twrp, do a factory reset then flash eu rom.
or use this twrp https://forum.xda-developers.com/showpost.php?p=78047648&postcount=14
luigieg said:
You need to format data in twrp, reboot to recovery in twrp, do a factory reset then flash eu rom.
Click to expand...
Click to collapse
i do, but the phone doesn't want to turn off
kakiyomi said:
or use this twrp https://forum.xda-developers.com/showpost.php?p=78047648&postcount=14
Click to expand...
Click to collapse
i already use this twrp, this time it has not been canceled
CH4nt0 said:
i already use this twrp, this time it has not been canceled
Click to expand...
Click to collapse
I had also bootloop problem but got it working with this twrp https://drive.google.com/file/d/1X39kp3oBz-SYD-fNK-uEgD6VlUUG-WMq/view
1. Boot twrp
2. Wipe -> format data then reboot, transfer rom to device, enter to fastbootmode and boot twrp again
3. install rom and after that wipe dalvik and cache
4. now it should work
The rom what i installed was xiaomi eu stable
i found another twrp and now i have xiaomi.eu dev, thanks for the help
CH4nt0 said:
i found another twrp and now i have xiaomi.eu dev, thanks for the help
Click to expand...
Click to collapse
what twrp?
I installed the twrp mentioned by maketzu111. Then I wiped data. Then rebooted into the twrp
Then I flashed "xiaomi.eu_multi_MI8SE_V10.0.1.0.OEBCNFH_v10-8.1.zip" from the miui 10.1 stable sourceforge page. It is stuck on the mi splash-logo for a very long time. what's happening?
shanty23 said:
I installed the twrp mentioned by maketzu111. Then I wiped data. Then rebooted into the twrp
Then I flashed "xiaomi.eu_multi_MI8SE_V10.0.1.0.OEBCNFH_v10-8.1.zip" from the miui 10.1 stable sourceforge page. It is stuck on the mi splash-logo for a very long time. what's happening?
Click to expand...
Click to collapse
You did format the data? What i have read it's the main reason why device goes bootloop if you didn't do that. Rom isn't installed properly if the device stuck to bootloop or in this case stucks to loading screen

I keep bricking my 9t pro, what's wrong ?

Hello,
I am trying to install lineage OS on my 9t pro, but it fails every time.
I managed to unrbick my phone thanks to miflash, but now i'm totally stuck
So, i'm on miui Global 11 QFKEUXM, and i can install twrp-3.3.1-22-raphael-mauronofrio.
Then, if I try to flash a rom with it (i also tried RevengeOS), i'm going to be stuck in a bootloop, until it goes to twrp again.
When it appens, i can't access files from my computer anymore, all folders seems to have random names like "uzehfj405Cuh5635azP5IUHDPuZ".
So i have to use miflash to go back to miui. I don't know what's wrong i've spent hours trying, can someone help me ?
Thanks and have a nice day
EDIT :
Indeed i didn't format data in TWRP. I tried to, and i'm still in that boot loop unfortunatly.
But this time, file system seems to be ok because i can access internal storage from my computer
EDIT2 :
I think the problem come from GAPPS. If i format then flash lineage without GAPPS, I can boot it
But if then i try to flash them, it won't boot anymore.
I am using the "nano" package here https://sourceforge.net/projects/opengapps/files/arm64/beta/20191114/
Is this incorrect ?
hi,
have already format data in TWRP?
BuckyBucks said:
Hello,
I am trying to install lineage OS on my 9t pro, but it fails every time.
I managed to unrbick my phone thanks to miflash, but now i'm totally stuck
So, i'm on miui Global 11 QFKEUXM, and i can install twrp-3.3.1-22-raphael-mauronofrio.
Then, if I try to flash a rom with it (i also tried RevengeOS), i'm going to be stuck in a bootloop, until it goes to twrp again.
When it appens, i can't access files from my computer anymore, all folders seems to have random names like "uzehfj405Cuh5635azP5IUHDPuZ".
So i have to use miflash to go back to miui. I don't know what's wrong i've spent hours trying, can someone help me ?
Thanks and have a nice day
Click to expand...
Click to collapse
See bro When we buy the android the the storage is
Encrypted , when you unlock the bootloader and install TWRP it doesn't decrypt the internal storage that's why only the stick rom i.e. Miui can access the storage , here is what you need to do ..
Install TWRP then go to wipe then click on format data and type yes this will decrypt the internal storage and so that any custom rom you install can access the data ..
Make sure that you format data then reboot trwp and then connect the phone to of transfer the files and install the rom and gappa it will boot just fine
Although for some reason when i install the LOS my storage gets decrypt again I say you try the EvoX rom which doesn't require gappa just flash the rom and the firmware
Also there is some force decrypt zip file that lets you decrypt the internal storage because sometime install the firmware may encrypt your storage again so flash that DFE file you will find that in telegram grp ..
Basically you can't boot into rom and see files on computer cause your storage is encrypted and only Miui can decrypt it unless decrypted ...
Hope it help
Every time when you want to flash aosp or other custom rom you need to format data ( wiping isnt enough because of encryption) when coming from stock miui or miui eu rom.
Best way is to read instruction of rom you want to install.
My steps are when coming from stock miui:
Install twrp
Boot to twrp
Format data with yes
Reboot to twrp
Copy rom you want to install to internal storage, usually you need also rom+vendor file of latest stable miui.
Flash vendor+rom of stable miui
Wipe dalvick+ cache
Flash custom rom (los, evolutionx...)
Wipe dalvick+ cache
Flash gapps if needed
Wipe dalvick + cache
Reboot to system, set your system to your liking
Then reboot to twrp to flash magisk ( if you like to be rooted, otherwise continue to use rom as is)
Best is to read install instructions of rom you want to install
ranjan_shivam said:
See bro When we buy the android the the storage is
Encrypted , when you unlock the bootloader and install TWRP it doesn't decrypt the internal storage that's why only the stick rom i.e. Miui can access the storage , here is what you need to do ..
Install TWRP then go to wipe then click on format data and type yes this will decrypt the internal storage and so that any custom rom you install can access the data ..
Make sure that you format data then reboot trwp and then connect the phone to of transfer the files and install the rom and gappa it will boot just fine
Although for some reason when i install the LOS my storage gets decrypt again I say you try the EvoX rom which doesn't require gappa just flash the rom and the firmware
Also there is some force decrypt zip file that lets you decrypt the internal storage because sometime install the firmware may encrypt your storage again so flash that DFE file you will find that in telegram grp ..
Basically you can't boot into rom and see files on computer cause your storage is encrypted and only Miui can decrypt it unless decrypted ...
Hope it help
Click to expand...
Click to collapse
Hello, thanks for taking the time to help me. I tried again formating the data, it seems a bit better (i can acces file system from my computer), but i'm still in that boot loop :/
BuckyBucks said:
Hello, thanks for taking the time to help me. I tried again formating the data, it seems a bit better (i can acces file system from my computer), but i'm still in that boot loop :/
Click to expand...
Click to collapse
Maybe it's the vendor. What device do you have (china, global, etc.)?
ef1x said:
Every time when you want to flash aosp or other custom rom you need to format data ( wiping isnt enough because of encryption) when coming from stock miui or miui eu rom.
Best way is to read instruction of rom you want to install.
My steps are when coming from stock miui:
Install twrp
Boot to twrp
Format data with yes
Reboot to twrp
Copy rom you want to install to internal storage, usually you need also rom+vendor file of latest stable miui.
Flash vendor+rom of stable miui
Wipe dalvick+ cache
Flash custom rom (los, evolutionx...)
Wipe dalvick+ cache
Flash gapps if needed
Wipe dalvick + cache
Reboot to system, set your system to your liking
Then reboot to twrp to flash magisk ( if you like to be rooted, otherwise continue to use rom as is)
Best is to read install instructions of rom you want to install
Click to expand...
Click to collapse
djoni wallauer said:
hi,
have already format data in TWRP?
Click to expand...
Click to collapse
Thanks to both of you for helping me. As i sayed, I tried to to so and now i can see the filesystem from my computer, but i'm still stuck in the bootloop
Isley_ said:
Maybe it's the vendor. What device do you have (china, global, etc.)?
Click to expand...
Click to collapse
I think it's a global one, but now i have doubts... Is there a way to be sure ?
In the MIUI i managed to flash with miflash, it's sayed MIUI GLOBAL
vladsendrix said:
if it s a mi9t pro its probbably the global version, to make sure try downloading the firmware and vendor from here https://downloads.akhilnarang.me/MIUI/raphael/ . try downloading the global and indian version and try both since you dont know whihch model you have. also dont forget to format before trying anything. hope i helped
Click to expand...
Click to collapse
I'm a bit affraid to flash indian version, it's says to not cross flash ^^
I’d flash MIUI.eu before lineage, let it boot and then do the whole process to install lineage. Yo don’t have nothing to lose.
vladsendrix said:
well i d rrecommen you put your device in fastboot, go to aXiaomiADBFastbootTools and it ll show you your model number or use TOOLSALLINONE. Search ythese on xda and youll find the links and that will definetly show you your model number
Click to expand...
Click to collapse
What fastboot commands should I use to get the model number ? I tried fastboot oem get-psid but it didnt work
When I boot MIUI, in the settings its "MIUI GLOBAL QFKEUXM". So it's correct isn't it ?
vladsendrix said:
well i d rrecommen you put your device in fastboot, go to aXiaomiADBFastbootTools and it ll show you your model number or use TOOLSALLINONE. Search ythese on xda and youll find the links and that will definetly show you your model number
Click to expand...
Click to collapse
I think the problem come from GAPPS. If i format then flash lineage without GAPPS, I can boot it
But if then i try to flash them, it won't boot anymore.
I am using the "nano" package here https://sourceforge.net/projects/ope...beta/20191114/
Is this incorrect ?

Stuck at MI Logo...

Hello all,
so i have an strange issue here. after installing magisk canary yesterday evening, i ended up in a bootloop.
so i stayed pretty cool and went to twrp, used magisk uninstaller and thought hmm okay ****, still not booting, not even shows the boot animation now.
stuck at the MI logo, flicks one time, and then stuck again.
so trying to reflash magisk then with 20.4, but nothing changed.
i ended up doing a full wipe, downloading the latest v12 vendor global and reflashed the rom.
booted up all fine. set it all up again, did a random restart, without doing stuff.
boot animation....10 minutes..
restarted stuck at mi logo again.
not even the system is trying to get up.
now i can wipe verything, vendor, data, system, dalvik, whatsoever, i wiped everything, flashed vendor again, installed rom.
nothing... stuck at the MI logo.
any ideas?
many thanks
If you're flashing recovery ROM i suggest you use fastboot ROM
Sent from my Redmi K20 Pro using Tapatalk
i reflashed now via xiami flash tool and stock rom and it boots up.
but as soon as i flash twrp and a custom rom, with wipe before, everything is stuck again on the mi logo.
what the...?
supelele said:
now i can wipe verything, vendor, data, system, dalvik, whatsoever, i wiped everything, flashed vendor again, installed rom, FORMAT DATA, reboot to system.
Click to expand...
Click to collapse
try format data after flashing the rom.
jcdr12 said:
try format data after flashing the rom.
Click to expand...
Click to collapse
does not change anything , still the same issue.
seems that i cannot use any custom rom anymore. always stuck at the Mi logo.
i need to reset the whole phone via MiFlashTool once i installed a custom rom which ends up not booting.
rip custom rom...
supelele said:
does not change anything , still the same issue.
seems that i cannot use any custom rom anymore. always stuck at the Mi logo.
i need to reset the whole phone via MiFlashTool once i installed a custom rom which ends up not booting.
rip custom rom...
Click to expand...
Click to collapse
From stock MIUI.
Install TWRP
Boot into TWRP
Do a factory reset
Format data - Format not wipe, need to type yes to confirm
Reboot to recovery (TWRP)
Flash custom ROM
Flash GApps if needed/wanted
Boot into the ROM
Everything should be good
Flash Magisk if required
Do not wipe any other partitions in TWRP, the factory reset is enough.
Make sure you format data in TWRP - don't miss this step out.
If you're doing this immediately after flashing MIUI, you must boot into MIUI once to finalise the installation.
Yes format data not wipe.
when i flash custom rom, even i am not on miui i first format data with yes in twrp then reboot to twrp. I put rom and gapps to internal memory, and install rom and gapps. and when finish reboot to system, when phone restart it stack at mi logo, so i have to go back to twrp and do again format data with typing yes, and then reboot to system and it works. so no wipe data, format data with typing yes.
oh and i thought, wipe is the same as format.... :/
works like charm. booted up successfully evo x with vendor 12 global.
Install TWRP
Boot into TWRP
Do a factory reset
Format data - Format not wipe, need to type yes to confirm
Reboot to recovery (TWRP)
Flash Vendor
Flash custom ROM
Boot into the ROM
Everything should be good
Flash Magisk if required
thanks all !
supelele said:
oh and i thought, wipe is the same as format.... :/
works like charm. booted up successfully evo x with vendor 12 global.
Install TWRP
Boot into TWRP
Do a factory reset
Format data - Format not wipe, need to type yes to confirm
Reboot to recovery (TWRP)
Flash Vendor
Flash custom ROM
Boot into the ROM
Everything should be good
Flash Magisk if required
thanks all !
Click to expand...
Click to collapse
If you want to change to a different ROM, or if you want to update Evo x, then the safest way is to remove lockscreen security before flashing. This will remove encryption, which will allow you to clean flash a new ROM, or dirty flash an update, without any issues caused by encryption.
Once your done, add the lockscreen security back.
supelele said:
i reflashed now via xiami flash tool and stock rom and it boots up.
but as soon as i flash twrp and a custom rom, with wipe before, everything is stuck again on the mi logo.
what the...?
Click to expand...
Click to collapse
whats your version of mi flash tool
supelele said:
i reflashed now via xiami flash tool and stock rom and it boots up.
but as soon as i flash twrp and a custom rom, with wipe before, everything is stuck again on the mi logo.
what the...?
Click to expand...
Click to collapse
I'm getting the same problem, is there any fix?

Categories

Resources