Bootloop - Xiaomi Mi 4i

HELP!
My phone got stuck at MI logo after i tried to update it to the latest update.
I tried my luck, with wiping cache and cleared the data.
PS: I did root my phone before Updating Mi 4i!

derrick28 said:
HELP!
My phone got stuck at MI logo after i tried to update it to the latest update.
I tried my luck, with wiping cache and cleared the data.
PS: I did root my phone before Updating Mi 4i!
Click to expand...
Click to collapse
Reflash your Rom via fastboot

You tried to update your phone with root, there's your problem. You need to refresh your room with fastboot.

rob rich said:
Reflash your Rom via fastboot
Click to expand...
Click to collapse
The Mi PC suite will download ROM automatically if i connect my phone in fast-boot right?

derrick28 said:
The Mi PC suite will download ROM automatically if i connect my phone in fast-boot right?
Click to expand...
Click to collapse
or u could just download fastboot rom just in case
Cheers~

Always remember, flash the TWRP recovery also for the Mi4i. Just in case something goes wrong like this. Whenever you root your MIUI phone, NEVER update using the OTA. Download the update package from the site and flash manually.

Related

[Q] please help phone bricked can't flash

I was trying to flash this ROM http://forum.xda-developers.com/son...-lollipopxperiacb-2-16-stable-tested-t3011897
And I got to flashing the recovery and I flashed it using Mobileuncle as suggested.
I restarted and went into recovery, wiped dalvik cache and data and restarted by mistake.
The Sony logo appeared and stayed there.
I can still go into recovery but it doesn't flash anything and it keeps saying "error bad file"
I downloaded the stock ROM in .ftf format and tried flashing it using flashtool but it gets stuck at 0% saying "flashing loader" forever and I think that's because the boot loader is locked
Any suggestion would be much appreciated.
Thanks
mshtob said:
I was trying to flash this ROM http://forum.xda-developers.com/son...-lollipopxperiacb-2-16-stable-tested-t3011897
And I got to flashing the recovery and I flashed it using Mobileuncle as suggested.
I restarted and went into recovery, wiped dalvik cache and data and restarted by mistake.
The Sony logo appeared and stayed there.
I can still go into recovery but it doesn't flash anything and it keeps saying "error bad file"
I downloaded the stock ROM in .ftf format and tried flashing it using flashtool but it gets stuck at 0% saying "flashing loader" forever and I think that's because the boot loader is locked
Any suggestion would be much appreciated.
Thanks
Click to expand...
Click to collapse
You are able to go in cpockworkmod recovery right?
As for flashtool have you installed the drivers
Sent from my C2305 using Tapatalk
abhishekr700 said:
You are able to go in cpockworkmod recovery right?
As for flashtool have you installed the drivers
Sent from my C2305 using Tapatalk
Click to expand...
Click to collapse
I can access clockwork but it doesn't flash the rom I downloaded I will try another rom
mshtob said:
I can access clockwork but it doesn't flash the rom I downloaded I will try another rom
Click to expand...
Click to collapse
if u cant access recovery how can you say it cant flash rom??
abhishekr700 said:
if u cant access recovery how can you say it cant flash rom??
Click to expand...
Click to collapse
thank you very much I was able to flash the stock .ftf rom using Wmshua Flash Tool and everything is back to normal

P8max rooted : update B023

Hi,
With my P8max rooted, can I install directly my update B023 via OTA or must I only flash the update.zip with TWRP or another solution ?
Thank you so much for helping.
do not update if you rooted. softbricked my fone.
had to do a restore n manual update to the latest version before rooting the fone again
hpgin said:
do not update if you rooted. softbricked my fone.
had to do a restore n manual update to the latest version before rooting the fone again
Click to expand...
Click to collapse
hi, care to share how u restore back?
thanks
For some reason when I did the ota update I had an error. Couldn't boot into rom
Recovery error
Hold vol up n power button, make sure cable is plugged in.
Then reboot into fastboot mode.
Flash recovery img.
Reboot. Download huawei recovery image. Install it manually.
Do ota update to 23.
Factory reset twice cos for some reason Wi-Fi stopped working
Fast boot again flash img
Reboot install super user
Reboot
hpgin said:
For some reason when I did the ota update I had an error. Couldn't boot into rom
Recovery error
Hold vol up n power button, make sure cable is plugged in.
Then reboot into fastboot mode.
Flash recovery img.
Reboot. Download huawei recovery image. Install it manually.
Do ota update to 23.
Factory reset twice cos for some reason Wi-Fi stopped working
Fast boot again flash img
Reboot install super user
Reboot
Click to expand...
Click to collapse
you mean after flash custom recovery and reboot?or full wipe? then reboot?
??
hpgin said:
For some reason when I did the ota update I had an error. Couldn't boot into rom
Recovery error
Hold vol up n power button, make sure cable is plugged in.
Then reboot into fastboot mode.
Flash recovery img.
Reboot. Download huawei recovery image. Install it manually.
Do ota update to 23.
Factory reset twice cos for some reason Wi-Fi stopped working
Fast boot again flash img
Reboot install super user
Reboot
Click to expand...
Click to collapse
Hi,
Could you explain me why when I flash the stock recovery via Fastboot and when it reboots, it stuck at 90% with the message Huawei software installing...
Please Help me what to do...
william1974 said:
you mean after flash custom recovery and reboot?or full wipe? then reboot?
Click to expand...
Click to collapse
I chose to do a full wipe
I'm rooted on B023. Download rom . Update.
Unlock, fastboot TWRP recovery , install SU via TWRP from SD card, reinstall original recovery via fastboot.
Yeah that's the problem with root, you can't do OTA except flashing the full rom again and then setting up the phone all over. With such frequent updates from Huawei I wonder how many willing to keep it up.
Sent from my HUAWEI P8max using Tapatalk
Leechoonhwee said:
Yeah that's the problem with root, you can't do OTA except flashing the full rom again and then setting up the phone all over. With such frequent updates from Huawei I wonder how many willing to keep it up.
Sent from my HUAWEI P8max using Tapatalk
Click to expand...
Click to collapse
I would see it this way for regular updates:
- Download full ROM
- extract system.img & boot.img & flash via fastboot
or copy to sdcard & dd to partition (system is /dev/block/mmcblk0p38)
You don't need to setup the system from scratch then.
You can do full updates once a while if there are significant changes (for example major version upgrades).
If I extract the system.img and boot.img, does that includes the updated apps that huawei put in?
Sent from my HUAWEI P8max using Tapatalk
After update from root b021 to b023 system version not changed.
Hi all. I have some problem with update. After update from root b021 to b023 system version not changed. it's b021 and huawei app remind me update via ota to b023 every time.
How i update?
1. Download full rom (b023) from huawei site.
2. Extract system.img & boot.img files (b023) from "app" and flash them via fastboot.
3. Reboot phone.
Why version OS after update system.img & boot.img has not changed?

Bricked mi4i. Only able to boot to recovery, cant boot to system!!

Hey guys
so after ive rooted my MI4i, i installed a custom ROM called Infinitive OS, which is quite good then i stupidly flashed Sensei Kernel to My MI4i, and now, my phone is bricked. I tried to turn it on, after the Mi logo, it shuts off. I am still able to get to my TWRP Recovery, tried to delete cache/dalvik/factory reset, but no use. Still can't boot to system. PLEASE HELP GUYS
Thanks..
jonathanfilbert said:
Hey guys
so after ive rooted my MI4i, i installed a custom ROM called Infinitive OS, which is quite good then i stupidly flashed Sensei Kernel to My MI4i, and now, my phone is bricked. I tried to turn it on, after the Mi logo, it shuts off. I am still able to get to my TWRP Recovery, tried to delete cache/dalvik/factory reset, but no use. Still can't boot to system. PLEASE HELP GUYS
Thanks..
Click to expand...
Click to collapse
Tried flashing back the rom? and did you get to boot into the rom before flashing the kernel?
Yes, b4 I flashed the kernel everything works fine.
jonathanfilbert said:
Yes, b4 I flashed the kernel everything works fine.
Click to expand...
Click to collapse
If i understand well, if you can get to twrp there is no reason to worry...
You just download an official / developer rom or any custom rom, reflash and you are done.
Yeah I know, thing is, mi4i doesn't have an external memory slot..
jonathanfilbert said:
Yeah I know, thing is, mi4i doesn't have an external memory slot..
Click to expand...
Click to collapse
go to recovery and connect your phone in mtp mode from recovery , take backup from internal memory and flash official stable rom
You may flash the device recovery/kernel/firmware via FastBoot
Flash TWRP Recovery via Fastboot, then adb sideload a ROM on the Device. Or Download Official Fastboot firmware for the device and flash it.
Don't forget to say thanks
flash the device with fastboot rom via FastBoot using mi flash
I have the same problem. Just Go into TWRP and wipe Dalvik/Cache/Data/System, after that just flash ROM again and everything works fine
The problem is with firmware and kernel. The firmware isn't compatible with kernel. If u flash the whole rom with firmware it will be fine, if U know witch FW have u used flash it flash it back or flash back original kernel.
check http://forum.xda-developers.com/mi-4i/development/miui-firmware-flash-t3367968
Regards
Whatever You Do, first take a backup of your EFS Partition with TWRP or MI Toolkit. My device crashed and corrupted all partitions suddenly and my IMEI is lost now and I didn't have any backup of EFS to restore my IMEI.
And for restoring your device back to normal you will have to follow this..
1. Take backup of EFS and store it somewhere safe in you pc.
2. Download and extract the Fastboot ROM for Mi4i from here : http://update.miui.com/updates/v1/fullromdownload.php?d=ferrari_global&b=X&r=global&n=
3. As you have already rooted, I suppose that you already have adb drivers installed. If not then install
4. Open Recovery and press and hole POWER and VOLUME DOWN button after recovery boots up completely and do not release the keys until fastboot opens.
5. open Terminal(Linux)/CMD(Windows) and navigate into the directory you just downloaded and extracted.
5. Run "flash_all.bat"(Windows)/"flash_all.sh"(Linux).
6. Give it some time and you will get a brand new MIUI 7. After flashing miui 7 you can install any rom you wish.
Let me know if your device gets fixed or if you need any help..
Thanks.
not able boot to twrp recovery and even not in system
not able start twrp in my mi4i as system get crashed and now my phone is not booting up just suck in mi logo. plz help not able to start my device and not able flash my device. I think I lose my imei no. because i was trying to change my imei. I have a backup of miui8 by twrp will it help me to start my device. plz help !!!
My mi4i couldn't complete booting,when i try to switch on it will show mi logo and goes to black and again mi logo(mi logo is blinking in a regular interval) the red notification light is also blinking,i tried the mi flash tool ,but the problem is still alive....i was using cm 13 ....somebody please help me

[SOLVED] bootloop can access Twrp stuck

I can't access the system of my 1s, it stays on the screen of the EUI forever
my computer cannot detect it but i can access TWRP and i tried with a nandroid and a factory reset but it always stops at the EUI screen
this appened after i try to install magisk
i need help and thanks for the time guys
LordEnzo%& said:
I can't access the system of my 1s, it stays on the screen of the EUI forever
my computer cannot detect it but i can access TWRP and i tried with a nandroid and a factory reset but it always stops at the EUI screen
this appened after i try to install magisk
i need help and thanks for the time guys
Click to expand...
Click to collapse
Flash the stock firmware 14s via SP Flash tool. Google for guide.
superac11 said:
Flash the stock firmware 14s via SP Flash tool. Google for guide.
Click to expand...
Click to collapse
thanks. I solved the problem

Problem with flashing custom ROM (error 255)

Hey guys,
after searching through different websites and guides you are my last resort to get a custom ROM running on my Redmi S2.
Everytime i try to flash a custom ROM i get the error 255. Here is what i tried until now (bootloader is unlocked):
- flashing twrp(twrp-3.2.1-0-ysl) to recovery using fastboot
- wiping phone (first wipe to disable encryption since miui puts some kind of password on the hard drive that i dont know, second wipe to ensure partitions are clean for new OS)
- mounting phone to pc to transfer OS image (tried Lineage and Havoc, both modified for S2 (ysl version)) and GApps
- finally, installing OS zip (after which i get error message 255, telling me that twrp wasnt able to install the zip file)
please help me out, ask away if something's not clear
flying_shitnugget said:
Hey guys,
after searching through different websites and guides you are my last resort to get a custom ROM running on my Redmi S2.
Everytime i try to flash a custom ROM i get the error 255. Here is what i tried until now (bootloader is unlocked):
- flashing twrp(twrp-3.2.1-0-ysl) to recovery using fastboot
- wiping phone (first wipe to disable encryption since miui puts some kind of password on the hard drive that i dont know, second wipe to ensure partitions are clean for new OS)
- mounting phone to pc to transfer OS image (tried Lineage and Havoc, both modified for S2 (ysl version)) and GApps
- finally, installing OS zip (after which i get error message 255, telling me that twrp wasnt able to install the zip file)
please help me out, ask away if something's not clear
Click to expand...
Click to collapse
change your recovery..
Baim alif said:
change your recovery..
Click to expand...
Click to collapse
Mind elaborating? What do you mean exactly?
flying_shitnugget said:
Mind elaborating? What do you mean exactly?
Click to expand...
Click to collapse
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Baim alif said:
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Click to expand...
Click to collapse
so... i first tried taking the recovery.img out of the zip and flashing it via fastboot, didnt worked. after that i tried first flashing my old twrp and then (after wiping) installing the whole zip. the install finished successfully, sayed it will restart to recovery in 5 seconds... aaaand got stuck on the android screen. now it wont boot to recovery at all anymore, unless i flash the old twrp again. suggestions?
flying_shitnugget said:
so... i first tried taking the recovery.img out of the zip and flashing it via fastboot, didnt worked. after that i tried first flashing my old twrp and then (after wiping) installing the whole zip. the install finished successfully, sayed it will restart to recovery in 5 seconds... aaaand got stuck on the android screen. now it wont boot to recovery at all anymore, unless i flash the old twrp again. suggestions?
Click to expand...
Click to collapse
try to boot recovery with power button and volume up
Baim alif said:
try to boot recovery with power button and volume up
Click to expand...
Click to collapse
yes, that's what i did. i also tried booting into from fastboot and still nothing.
flying_shitnugget said:
yes, that's what i did. i also tried booting into from fastboot and still nothing.
Click to expand...
Click to collapse
hmmm... try this bro..
https://androidfilehost.com/?fid=6006931924117927913
flying_shitnugget said:
yes, that's what i did. i also tried booting into from fastboot and still nothing.
Click to expand...
Click to collapse
Try this, you have to flash first this in fastboot https://files.orangefox.download/OrangeFox-Beta/ysl/ the R10.0-1 RC1 .img file
And THEN flash this https://orangefox.download/en/device/ysl once you are in the recovery.
Then it worked for me, finally, hope this helps.
celephrn said:
Try this, you have to flash first this in fastboot https://files.orangefox.download/OrangeFox-Beta/ysl/ the R10.0-1 RC1 .img file
And THEN flash this https://orangefox.download/en/device/ysl once you are in the recovery.
Then it worked for me, finally, hope this helps.
Click to expand...
Click to collapse
so i tried this approach. i first installed how you told me to (orangefox R10.0-1 RC1 .img first), but factory reset nor installing the second recovery img worked because of the encryption miui puts on the phone. So i flashed twrp, wiped memory, flashed first orange fox img and from then installed the second img (as a zip). until here everything worked, orange fox told me that he's going to reboot to new recovery -- and i got stuck on the boot logo again. :c
flying_shitnugget said:
so i tried this approach. i first installed how you told me to (orangefox R10.0-1 RC1 .img first), but factory reset nor installing the second recovery img worked because of the encryption miui puts on the phone. So i flashed twrp, wiped memory, flashed first orange fox img and from then installed the second img (as a zip). until here everything worked, orange fox told me that he's going to reboot to new recovery -- and i got stuck on the boot logo again. :c
Click to expand...
Click to collapse
Did you flash the firmware? https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_ysl/releases/tag/stable-16.03.2020
Other thing you could try is flash the other .img files from https://files.orangefox.download/OrangeFox-Beta/ysl/ and the flash in there the same .zip file you did as before.
celephrn said:
Did you flash the firmware? https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_ysl/releases/tag/stable-16.03.2020
Other thing you could try is flash the other .img files from https://files.orangefox.download/OrangeFox-Beta/ysl/ and the flash in there the same .zip file you did as before.
Click to expand...
Click to collapse
im currently on MIUI V.10.3.1.0.OEFMIXM | Stable 654M, is it important to flash newer firmware?
flying_shitnugget said:
im currently on MIUI V.10.3.1.0.OEFMIXM | Stable 654M, is it important to flash newer firmware?
Click to expand...
Click to collapse
Could solve the issue, I'd give it a shot!
celephrn said:
Could solve the issue, I'd give it a shot!
Click to expand...
Click to collapse
i suppose you flash it using MiFlash right? If so, i have a problem with flashing new roms using it because my Mi account isnt allowed to do that, i unlocked the bootloader using a tool (dont know if this has something to do with the custom rom problem)
flying_shitnugget said:
i suppose you flash it using MiFlash right? If so, i have a problem with flashing new roms using it because my Mi account isnt allowed to do that, i unlocked the bootloader using a tool (dont know if this has something to do with the custom rom problem)
Click to expand...
Click to collapse
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
celephrn said:
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
Click to expand...
Click to collapse
so i flashed the firmware as you said, now neither orangefox or twrp throw me the error "unable to locate storage device", i cant mount the storage to the pc and cant copy the custom rom stuff as well
celephrn said:
As long as the bootloader is unlocked it should be fine. And no, you should flash the firmware just as you would flash the rom, i. e. from OrangeFox Recovery.
Click to expand...
Click to collapse
UPDATE: i finally ****ing did it. So here are the steps that i took (incase anyone has to go through this **** as well)
1. flash MIUI on mobile device using MiFlash (at least i did this by shorting 2 pins on the back)
2. (VERY IMPORTANT!!!) instantly boot to fastboot using Power button + Volume down. this has to be before android starts setting up the phone
3. flash recovery with the image that celephrn provided in this thread
4.boot to recovery by holding Volume up + Power button
5. install the miui update that celephrn provided in this thread
6. reboot to recovery
7. install orange recovery zip that celephrn provided in this thread (phone reboots to recovery)
8. now you can reboot to system (Do NOT (!!!) set the phone up, just let it work its things until you see the MIUI setup screen)
9. Now, finally you can dirty flash your custom rom (and GApps)
10. after flashing the new rom android will throw you alot of errors so you will have to wipe Dalvik/Cache, System, Data and Internal Storage.
11. now you can flash your Rom clean and you're good to go
(huge thanks to celephrn, helped me out after me struggling for a few good weeks with this damn phone)
Baim alif said:
use this recovery
https://files.orangefox.download/OrangeFox-Stable/ysl/OrangeFox-R10.0-1-Stable-ysl.zip
Click to expand...
Click to collapse
bro please help me i have the same issue error 255 on 3.2.1-0 ysl twrp.please help
Farrellclay said:
bro please help me i have the same issue error 255 on 3.2.1-0 ysl twrp.please help
Click to expand...
Click to collapse
so far, what have you done

Categories

Resources