MI5 bootloop - miflash dosen't help - Xiaomi Mi 5 Questions & Answers

After flasing new xiaomi.eu rom every thing was ok to first reboot. After this i have perm bootloop I already tried to flashing new rom (gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global) by miflash but still the same. Fastboot works, i can flash twrp but i have still bootloop. When i trying mount storage in twrp windows don't see device and i can't transfer zip file with another rom. ADB sideload also wan't start.
Any advices?

Related

issues with twrp (apparent file encryption)

Hi, im having a little bit of a problem here, i succesfully managed to unlock the bootloader of my chinese mi8, flashed and booted twrp, the issue is, my files seem to be encrypted, i can't copy anything to the device while on fastboot/recovery mode from the pc, tried booting to miui, allowing the transfer of files and booting to twrp again (for some reason i can't boot to twrp from the device itself, it has to be via fastboot with the command "fastboot boot ***") but all twrp shows me are folders with random characters, it seems to be some sort of auto-encryption, do you know how to solve it?
Miui auto encrypts the device, that is why your device is encrypted. You are unable to boot to twrp for two reasons: 1. Miui auto checks and rewrites over any custom recovery 2. Fastboot boot command does not install twrp, it only boots into it, from which u must install twrp again.
Upon booting into twrp, you need to FORMAT data, flash TWRP, flash this file https://zackptg5.com/android.php#disverfec (DM-verity and anti-encryption) this will prevent anti encryption when your freshly flashed ROM boots up.
Side note: DO NOT RELOCK YOUR BOOT LOADER IF YOUR MI 8 IS CHINA VARIANT AND YOU ARE INSRALLING GLOBAL ROM.
I HIGHLY SUGGEST YOU HEAD OVER ONTO THIS THREAD TO UNDERSTAND BETTER! https://forum.xda-developers.com/mi-8/development/rom-mi-8-miui-10-global-beta-8-8-7-t3826560/page7
achickennugget said:
Miui auto encrypts the device, that is why your device is encrypted. You are unable to boot to twrp for two reasons: 1. Miui auto checks and rewrites over any custom recovery 2. Fastboot boot command does not install twrp, it only boots into it, from which u must install twrp again.
Upon booting into twrp, you need to FORMAT data, flash TWRP, flash this file https://zackptg5.com/android.php#disverfec (DM-verity and anti-encryption) this will prevent anti encryption when your freshly flashed ROM boots up.
Side note: DO NOT RELOCK YOUR BOOT LOADER IF YOUR MI 8 IS CHINA VARIANT AND YOU ARE INSRALLING GLOBAL ROM.
I HIGHLY SUGGEST YOU HEAD OVER ONTO THIS THREAD TO UNDERSTAND BETTER! https://forum.xda-developers.com/mi-8/development/rom-mi-8-miui-10-global-beta-8-8-7-t3826560/page7
Click to expand...
Click to collapse
Ok, lets see if i got it right, just to be sure...
i boot to twrp
i format data in twrp (only data)
flash the twrp file from fastboot
flash the file for preventing encryption IN TWRP
flash my rom of choice
what i did was
1.flash global stable 9.5 via fastboot
2.Wait till it gets on
3.Restart the device
4.flash twrp via fastboot
5.install magisk 16.7 using twrp
6.install dm verity
7.format data
8.wait till it boots downgrade magisk to 16.0 via magisk manager

Having trouble with TWRP error 1 "Cannot mount /system"

Hello, everyone!
I hope anyone can help me.
Yesterday I assisted with rooting and flashing a Mi 9 T Pro with Xiaomi.eu firmware.
Here are the steps which were done:
1. Unlocking bootloader via MiFlash Tool.
2. Flashing TWRP (this one: https://androidfilehost.com/?fid=6006931924117906979)
3. First trouble: It only booted once into TWRP with "fastboot boot recovery xxx.img, after formatting data and a restart of TWRP it refused to get access again, neither with a command nor with hardware keys. It was stuck in fastboot.
4. With the MiFlash Tool I reverted to the stock global (this one: http://bigota.d.miui.com/V10.3.1.0....M_20190805.0000.00_9.0_global_135788d537.tgz)
5. After successfully flashing the stock ROM, I downloaded and flashed this TWRP: https://www.androidfilehost.com/?fid=1899786940962577905
6. Flashing this version of TWRP went perfectly fine.
7. In TWRP I formatted data again. I restarted TWRP and copied the following files to storage:
ROM: https://androidfilehost.com/?fid=1899786940962578113
Magisk 19.2.zip
Disable_dm verity_ForceEncrypt
8. I wiped Dalvik, cache, system and data.
9. I flashed ROM - it went through without problems
10. I tried to flash the dm verity, then an error occurred (please see the attached picture).
Can you please tell me what I'm doing wrong? Root is mandatory for me, I definitely need it.
I'm looking forward to your input and your help, it's very appreciated!
try to unmount system then flash it again
SkipperRyujin said:
try to unmount system then flash it again
Click to expand...
Click to collapse
Thanks for your input. I tried that, unfortunately this didn't work.
But I found the solution a few minutes ago:
I downloaded TWRP 3.3.1-13 (one version newer) and flashed it inside of my old TWRP. I rebooted to recovery again and then flashed Magisk without problems.
(The dm verity still refuses to install but the phone is booting and running.)
Well, it always work for me, or simply reboot recovery also work. Try wzsx twrp, it has remove DM verity & forced encryption remover in advanced menu

Mi Pad 4 won't flash

Hi,
I have Carbon ROM with Android 10,
I wanted to flash Bliss ROM, and it says that I need a rooted device,
So I've downloaded Magisk and follow the instruction, created a boot.img and flashed it in fastboot, then I did the same only with twrp recovery & Magisk, flashed it and now it is wiered and I'm not sure what is the problem,
I have fastboot BUT when I try to perform any command, it shutsdown and preety useless, I've tried from PC, if I try from MAC, I can boot into twrp but every operation is causing the tablet to reboot.. So I can't even flash a stock ROM,
In PC, the recognized Android device (When in fastboot mode) I update it's driver to Android bootloader device
How can I solve it?
Thanks !!!

Problem with flash rom Mi9

Hi
i was trying flash CrDroid ROM on Mi9, unfortunately the system did not wake up despite correctly installing it. I think ok, I will install other ROM. I wipe the data and this is where the problem appeared - I cannot transfer the file to the phone.
PC not detect the phone (before the first flash there was no problem with it), adb fastboot did the same (before 1st flash it did NOT detect it either, nothing changed,). USB OTG is not working. I tried to reinstall the drivers.
TWRP is custom - Orange Fox
Any ideas?

Phone stuck in fastboot (after updating magisk to v22)

Hello guys,
unfortunatley I managed to softbrick my phone so that it's now stuck in fastboot. This happnend during the installation of magisk v22.
The phone still is recognized by miflash tool and I can flash roms with that method. Unfortunately I can't manage to get it working with adb to install twrp.
Is there any other method to install twrp? Through miflash tool maybe?
Any other ideas to get adb working?
Edit:
So I managed to install the latest twrp (twrp-3.5.2_9-0-raphael). But after flashing the xiaomi.eu v12.5.4.0 I land in some kind of 'twrp bootloop', meaning that twrp is only rebooting into twrp, not the firmware. Any ideas on that?
Kind regards
frosty234 said:
Hello guys,
unfortunatley I managed to softbrick my phone so that it's now stuck in fastboot. This happnend during the installation of magisk v22.
The phone still is recognized by miflash tool and I can flash roms with that method. Unfortunately I can't manage to get it working with adb to install twrp.
Is there any other method to install twrp? Through miflash tool maybe?
Any other ideas to get adb working?
Edit:
So I managed to install the latest twrp (twrp-3.5.2_9-0-raphael). But after flashing the xiaomi.eu v12.5.4.0 I land in some kind of 'twrp bootloop', meaning that twrp is only rebooting into twrp, not the firmware. Any ideas on that?
Kind regards
Click to expand...
Click to collapse
Try formatting data after flashing your rom.
Wipe everything and flash miui rom and then format data and reboot and check. Also u will lose recovery if u boot into a11 miui 12.5 and u will have to reflash it again.

Categories

Resources