Mi4i Always boots to fastboot even after flasing rom. Download mode also not opening. - Xiaomi Mi 4i

Hello,
I had Resurrection Remix Android 7.1.2 installed in my Mi4i. The apps were suddendly crashing (was getting app crashed alert) and thought to reboot the phone once.
Once I tried to reboot abnormality started showing up.
Tried flashing the Resurrection Remix again but it stuck at the boot animation screen.
Then tried flashing the official MIUI developer rom and it worked.
Again tried with RR but it did not boot up.
After trying a couple of times, none of the roms did boot up.
After some research found in TWRP logs that it is unable to mount system, cache, dalvik cache etc.
Also I could see that the space/memory is displayed as 0MB.
Some forums said to format the file system as ext4 and even the format failed saying it is unable to mount.
Now whenever I start the phone to goes to the fastboot screen.
The interesting point is that I tried flashing manually the developer rom and it said it falshed successfully.
But i still see the twrp as my recovery and not the stock recovery after flasing.
Also tried manually flashing the recovery like "fastboot flash recovery recovery.img" and did not find any errors still the stock recovery was not flashed instead the twrp remained as the recovery even after successful flash.
I am stuck with my phone now and not sure how to proceed.
Any help regarding this would really be helpful.
Help me to recover my phone please. :crying:
Thanks.

So have you format all of your data including internal data from TWRP ? Is it show some error like "unmount /data" types N how you flash rom manually means you tried of ADB slide load ??

Mukulkathuria008 said:
So have you format all of your data including internal data from TWRP ? Is it show some error like "unmount /data" types N how you flash rom manually means you tried of ADB slide load ??
Click to expand...
Click to collapse
1. Tried formating the partitions from TWRP.. Failed with error message saying cant mount
2. Hence thought TWRP was broken.. Tried flashing twrp again from fastboot as follows :
Code:
fastboot flash recovery recovery.img
Fastboot flashed successfully(got OKAY response in terminal).
3. Rebooted into recovery and tried formatting partitions again. Still got the same error saying cant mount partitions.
4. Thought to flash stock recovery. Had miui fastboot room. Picked up recovery.img from it and flashed from fastboot as follows :
Code:
fastboot flash recovery recovery.img
5. Surprisingly when I rebooted into recovery, the custom recovery was still twrp.. The stock recovery didn't got flashed.
6. To crosscheck, I directly booted the stock recovery fastboot boot recovery.img. But nothing boots up.. Gets stuck at the distorted fastboot screen (Attaching screenshot if possible).

Probal Basak said:
1. Tried formating the partitions from TWRP.. Failed with error message saying cant mount
2. Hence thought TWRP was broken.. Tried flashing twrp again from fastboot as follows :
Code:
fastboot flash recovery recovery.img
Fastboot flashed successfully(got OKAY response in terminal).
3. Rebooted into recovery and tried formatting partitions again. Still got the same error saying cant mount partitions.
4. Thought to flash stock recovery. Had miui fastboot room. Picked up recovery.img from it and flashed from fastboot as follows :
Code:
fastboot flash recovery recovery.img
5. Surprisingly when I rebooted into recovery, the custom recovery was still twrp.. The stock recovery didn't got flashed.
6. To crosscheck, I directly booted the stock recovery fastboot boot recovery.img. But nothing boots up.. Gets stuck at the distorted fastboot screen (Attaching screenshot if possible).
Click to expand...
Click to collapse
Try to flash TWRP v3.2.1.0 you can download from link below:
https://dl.twrp.me/ferrari/twrp-3.2.1-0-ferrari.img.html
And Advance Wipe And change the file format to ex4 and wipe all the data try ROM try flash ROM link below through OTG:
https://forum.xda-developers.com/mi-4i/development/unofficial-dotos-v1-2-t3726924
that surely solve your all problems :fingers-crossed:

Mukulkathuria008 said:
Try to flash TWRP v3.2.1.0 you can download from link below:
https://dl.twrp.me/ferrari/twrp-3.2.1-0-ferrari.img.html
And Advance Wipe And change the file format to ex4 and wipe all the data try ROM try flash ROM link below through OTG:
https://forum.xda-developers.com/mi-4i/development/unofficial-dotos-v1-2-t3726924
that surely solve your all problems :fingers-crossed:
Click to expand...
Click to collapse
Tried formating to ext4.. But nothing happened.. Still getting mount error.
Attaching pics below.
Attachment 1 : Advanced Wipe -> Wipe
Attachment 2 : Advanced Wipe -> Change File System -> /system -> ext4
I have also tried this
Code:
fastboot getvar all
Output:
Code:
all:
finished. total time: 0.001s
Any comments what may have gone wrong?

fix file system. or maybe emmc died

Related

Need help after installing a ROM

Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
_that said:
I don't know what you tried to install, but you can't install zip files using fastboot. Reboot to recovery and install it using ADB sideload. Or adb push it to the device and install it using "Install".
Click to expand...
Click to collapse
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
stefano0798 said:
Thanks,
Isn't there a way to push a zip through fastboot? My phone isn't seen as ADB device, only as fastboot one.
Click to expand...
Click to collapse
ADB works while in TWRP. If not, you may need to install some drivers (or use Linux).
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
stefano0798 said:
Hi,
today I have tried to install a custom rom and after a lot of troubles.
I have done a total wipe (cache, dalvik cache, system, data and internal storage) and I have tried to flash this rom, but always failing.
I typed in cmd:
fastboot flash system Lant.zip
now I'm stuck in bootloop and I can't turn off my phone -.- (pressing power button the device is rebooted, not turned off)
Click to expand...
Click to collapse
install motorola drivers on pc and boot in twrp then plug the phone to pc and copy the rom to phone.
Paradox♀ said:
If your bootloader is unlocked then just enter these commands in fastboot:
fastboot erase system
fastboot erase userdata
fastboot erase cache
Then install a custom recovery using:
fastboot flash recovery recovery_name.zip
And then finally install the custom ROM in the recovery.
Click to expand...
Click to collapse
Thanks a lot,
now how should I proceed? I have the rom in a .zip in my PC, but the command:
adb push rom.zip /data
says: "error: device '(null)' not found.
It also says "unable to mount /data" and "unable to mount /system". Any ideas?
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
Try formatting these partitions in TWRP (Wipe -> Advanced ....).
stefano0798 said:
Ok, i solved the driver problem, but I didn't found any solution about the 'mount' problem. It says my internal storage is 0 MBs and it don't let me mount any partition (Data-Cache-System).
Any help?
Click to expand...
Click to collapse
While in the recovery just wipe all the partitions and reboot to the recovery that should solve your mount problem and if you have installed TWRP as the custom recovery then it would initiate the MTP protocol from your device so you can transfer the ROM from your PC directly as you transfer your media. :good:
Thank you very much! It works perfectly

Restore Android Stock's Recovery Mode

Hello! I've tried to root my phone (Moto G XT1541 Europe 1GB) but failed. I got an error when trying to flash the custom recovery. Unfortunately, it has overwritten the stock recovery and it didn't install. So, now I have a phone without recovery and I can't do a factory reset because of that (I think).
So, this is my question: how can I re install the default Android 6.0 recovery mode for my phone?
Also, my phone boots automatically on bootloader mode and I can't re-lock the bootloader because I can't flash anymore either; I got an error because the pre flash validation failed when trying to flash with adb fastboot, but this is minimal issues that doesn't really bother me, but they could be helpful and if someone knows how to get rid of them, I want to know!
I hope someone will help me!
Azyreal said:
Hello! I've tried to root my phone (Moto G XT1541 Europe 1GB) but failed. I got an error when trying to flash the custom recovery. Unfortunately, it has overwritten the stock recovery and it didn't install. So, now I have a phone without recovery and I can't do a factory reset because of that (I think).
So, this is my question: how can I re install the default Android 6.0 recovery mode for my phone?
Also, my phone boots automatically on bootloader mode and I can't re-lock the bootloader because I can't flash anymore either; I got an error because the pre flash validation failed when trying to flash with adb fastboot, but this is minimal issues that doesn't really bother me, but they could be helpful and if someone knows how to get rid of them, I want to know!
I hope someone will help me!
Click to expand...
Click to collapse
The bootloader cannot be relocked in the Moto G 2015, the best you can do is hide the warning screen. Find the stock image and fastboot flash the recovery from there, or better yet, flash the entire image so you are in a known working state
If you are in Pre-Flash validation, you do not have the correct image for your device... I suggest you post in the "How to flash factory images" thread about returning to stock, if it is possible. You MUST factory default before flashing factory images, if you can't, try 'fastboot erase userdata' and try again.
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system,
reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Rename twrp recovery as only twrp in fastboot folder in your pc , not as twrp.img,
But cmd as fastboot flash recovery twrp.img , then no errors ( are you unlocked bootloader ?)
acejavelin said:
The bootloader cannot be relocked in the Moto G 2015, the best you can do is hide the warning screen. Find the stock image and fastboot flash the recovery from there, or better yet, flash the entire image so you are in a known working state
If you are in Pre-Flash validation, you do not have the correct image for your device... I suggest you post in the "How to flash factory images" thread about returning to stock, if it is possible. You MUST factory default before flashing factory images, if you can't, try 'fastboot erase userdata' and try again.
Click to expand...
Click to collapse
drmuruga said:
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system,
reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Rename twrp recovery as only twrp in fastboot folder in your pc , not as twrp.img,
But cmd as fastboot flash recovery twrp.img , then no errors ( are you unlocked bootloader ?)
Click to expand...
Click to collapse
Hey! Thank you! I've been able to flash the TWRP recovery and now I can do a factory reset (and also send sms, which I couldn't do anymore for some reason).
I still have the issue where the bootloader screen appears everytime I turn my phone on, and I still can't re lock my device because I can't flash anything either. I've recovered all of my data, so I think I'm going to stick with that for a moment but maybe I'll try what you said some day.
Again, really thank you for helping me!
drmuruga said:
Flash latest twrp via fastboot and reboot into recovery ,
don't reboot into system, reboot into recovery manually, then you can enter twrp recovery and can flash supersu 2.62.3.
when you just reboot after flash twrp and reboot system erase custom recovery and save stock recovery, so don't enter fastboot reboot, enter fastboot reboot recovery after flash recovery via pc.
Click to expand...
Click to collapse
Now I understand why my flashing TWRP did not take. I simply rebooted to system and still have stock recovery installed. I was successful booting twrp via fastboot and successfully flashed supersu 2.62.3. Is this step in listed in any faq? I must have missed it.
So after flashing TWRP, do you then power down device prior to manually booting to recovery?
MrTooPhone said:
Now I understand why my flashing TWRP did not take. I simply rebooted to system and still have stock recovery installed. I was successful booting twrp via fastboot and successfully flashed supersu 2.62.3. Is this step in listed in any faq? I must have missed it.
So after flashing TWRP, do you then power down device prior to manually booting to recovery?
Click to expand...
Click to collapse
Don't power down, already you are in fastboot mode, you can just enter recovery from that. I forget the reference, but i will search and post.
---------- Post added at 04:41 PM ---------- Previous post was at 04:18 PM ----------
I get this from twrp official page
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
In our phone press simultaneously volume down + power button to enter recovery.

e: can't mount/cache karbonn sparkle v

I was using cm13 sprout 4 and twrp recovery. Was getting error unfortunately ---- apps stopped again again from different apps.
So simply thought of wiping cache and dalvik from twrp . It gave error e: can't mount /cache. So thought of formattig data but by mistake instead of factory reset, i formatted my android. Now i have no os installed just a twrp and unlocked bootloader with me.
now it gives error also E: can't mount/ system also.
pls help, i have only this night to fix it , tight schedule ahead
Try to flash 4.4.4 (posted here) with SPTools. Then install TWRP and update to 6.0.1.
thanks for reply bro!!
but is their any alternate to sp flash tools.
As my sp flash tool does not detect my device. I have tried it many times on different pcs.
MihaiSG said:
Try to flash 4.4.4 (posted here) with SPTools. Then install TWRP and update to 6.0.1.
Click to expand...
Click to collapse
thanks for reply bro!!
but is their any alternate to sp flash tools.
As my sp flash tool does not detect my device. I have tried it many times on different pcs.
i have tried before on this thread also.
http://forum.xda-developers.com/sparkle-v/general/stock-firmware-t2889509/page5
#41
today i tried these commands in fastboot :
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot reboot
all commands finished successfully but strangely their no change in my device.
then i tried flashing cwm recovery
fastboot flash recovery cwm.img
but when i boot in recovery it was twrp only.
so i think the flash command from fastboot is not working.
pls help...
Now i managed to get my friends pc and flashed stock rom using sp flash tool , everything went smoothly without any error but strangely nothing happened in device. It remains same without any os . Is my device completely damaged?? :'(
i am attaching logs
please someone reply....
ghanta said:
i am attaching logs
please someone reply....
Click to expand...
Click to collapse
I used sp flash tool format+download option and flashed stock rom. Now its not even booting or charging anymore. Went to service center they simply said its dead buy a new one...
It is being detected by sp flash tools even now also.
Is their anyone who can help me out here???
i don't want to loose my device
please,anyone help
ghanta said:
I used sp flash tool format+download option and flashed stock rom. Now its not even booting or charging anymore. Went to service center they simply said its dead buy a new one...
It is being detected by sp flash tools even now also.
Is their anyone who can help me out here???
i don't want to loose my device
please,anyone help
Click to expand...
Click to collapse
Hi.. i am also facing the same problem. Did you solve it?? Or what did you do?
I have to buy a new phone.
It is still lying in one corner waiting for any solution if you can find
Karbonn Sparkle V
I have the same issue of mounting system as well as cache and data partition shows error and does not mount.
I did use below commands which completed successfully but does affect my device:
fastboot oem unlock (Press Vol+)
fastboot flash preloader preloader_sprout.bin
fastboot flash protect1 protect_f.img
fastboot flash protect2 protect_s.img
fastboot flash bootloader bootloader.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash secro secro.img
fastboot flash para para.img
fastboot flash logo logo.bin
fastboot flash oem oem.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot oem lock (Press Vol+)
fastboot reboot
Rajesh Jakhal
Got a solution!
This is kind of late but I hope this helps other people who have the same issue and are viewing this thread!
Take the battery out of your phone and connect it to your computer. Use SP flash tools and flash the stock rom, using the option, "Format All + Download"
You may have to press a button or button combination to get SPFT to recognize your phone. My phone's volume rockers don't work so I cant help you with that, it was pure luck for me!
Once you let it flash, let the phone boot. It will take some time, longer than usual but it WILL boot. And the bootloader will be locked, so be prepared to start tinkering from scratch!

[BRICKED] Honor 6X boots into Stock Recovery, after flash TWRP

hi, somehow wiped the 'system' through TWRP by mistake while installing Elemental ROM (I was on EMUI8). And since then I am trying to flash TWRP to boot, but I am getting nothing. I had EMUI 8
Tried flashing stock nougat through Multi Tool but no use, it succeeds but does not boot into anything, just the stock recovery whenever I turn it on. (boot.img didn't install while flashing)
Whenever I flash TWRP and try to boot into recovery (Vol-up+power), it would always boot into stock recovery.
Tried booting into eRecovery, but same thing.
Tried command 'fastboot boot RECOVERY-V2.img' but got the problem saying 'command not allowed'
what to do.
[EDIT]: Can't use 'dload' method because I had EMUI 8 and if i try to flash nougat firmware, it will show an error after 5%.
aryaban2011 said:
hi, somehow wiped the 'system' through TWRP by mistake while installing Elemental ROM (I was on EMUI8). And since then I am trying to flash TWRP to boot, but I am getting nothing. I had EMUI 8
Tried flashing stock nougat through Multi Tool but no use, it succeeds but does not boot into anything, just the stock recovery whenever I turn it on. (boot.img didn't install while flashing)
Whenever I flash TWRP and try to boot into recovery (Vol-up+power), it would always boot into stock recovery.
Tried booting into eRecovery, but same thing.
Tried command 'fastboot boot RECOVERY-V2.img' but got the problem saying 'command not allowed'
what to do.
Click to expand...
Click to collapse
What command are you using to boot into TWRP. Can you access Bootloader. What's the FRP and Phone status. Since you tried to flash Nougat I recommend you try fastboot flash recovery and then any Nougat Compatible TWRP. Yo boot into TWRP after flashing hold Power and Volume Up. If it boots into stock, try factory reset. Either it will boot into TWRP or try to reset. If by some miracle you boot into TWRP don't turn off your phone. Plug it on charging and don't let it Power Off no matter what. After that download Hurupdater and stock Nougat Update files i.e update.zip, update_data_public.zip & uodate_all_hw.zip. Now place these three files as well as Hurupdater in the same folder and transfer them to phone through Micro SD or something. Then go to wipe Format Data and then Advanced Wipe and Mark Dalvik Cache, Cache Data Internal and System. Now flash only the Hurupdater.zip in recovery. Once it completes reboot system and while phone is booting hold Volume up yo enter stock recovery and factory reset. Then format Cache and Reboot. First boot can take up to 10 mins. Don't panic. Good Luck.
Mannan Qamar said:
What command are you using to boot into TWRP. Can you access Bootloader. What's the FRP and Phone status. Since you tried to flash Nougat I recommend you try fastboot flash recovery and then any Nougat Compatible TWRP. Yo boot into TWRP after flashing hold Power and Volume Up. If it boots into stock, try factory reset. Either it will boot into TWRP or try to reset. If by some miracle you boot into TWRP don't turn off your phone. Plug it on charging and don't let it Power Off no matter what. After that download Hurupdater and stock Nougat Update files i.e update.zip, update_data_public.zip & uodate_all_hw.zip. Now place these three files as well as Hurupdater in the same folder and transfer them to phone through Micro SD or something. Then go to wipe Format Data and then Advanced Wipe and Mark Dalvik Cache, Cache Data Internal and System. Now flash only the Hurupdater.zip in recovery. Once it completes reboot system and while phone is booting hold Volume up yo enter stock recovery and factory reset. Then format Cache and Reboot. First boot can take up to 10 mins. Don't panic. Good Luck.
Click to expand...
Click to collapse
When factory resetting from stock recovery, shows that reset failed.
PHONE Unlocked
FRP Unlock
aryaban2011 said:
When factory resetting from stock recovery, shows that reset failed.
PHONE Unlocked
FRP Unlock
Click to expand...
Click to collapse
Try flashing TWRP. I have detailed it above. Don't just try to factory reset.
Mannan Qamar said:
Try flashing TWRP. I have detailed it above. Don't just try to factory reset.
Click to expand...
Click to collapse
Tried Flashing twrp-3.1.1-0-berlin for Honor 6X countless times, no success, still booting into stock recovery.
Try with commands for Oreo as well as Nougat.
Mannan Qamar said:
Try with commands for Oreo as well as Nougat.
Click to expand...
Click to collapse
the only difference in command i know is while flashing recovery, it's changed to 'flash fastboot recovery_ramdisk' from just 'flash fastboot recovery'
can't use dload method because last firmware is Nougat or Marshmellow I think, but I am updated to EMUI 8, so it will crash after 5%.
Dude. What command are you using to flash recovery. The command is
fastboot flash recovery nameofrecovery.img for Nougat
fastboot flash recovery_ramdisk nameof recovery.img for Oreo.
Try dload of EMUI 5. If you maybe try to flash system through fastboot. You can get system.img but extracting the update.app of main update.zip
is there a tool for flashing from your computer? like Multi Tool or something.
if there is, i might try with that.
the command i am using to flash recovery is : 'fastboot flash recovery_ramdisk RECOVERY-V2.img'
Try flashing system through fastboot. There isn't a flashing tool that I know of

Impossible to install custom rom zip with TWRP

Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 follow by "Failed to update system image" on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, lock and unlock bootlander and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10 (oreo )
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.I think that i figured out that I am able to flash system.img file using fastboot but I can't flash zip rom using recovery.
As anyone encounter this ?
bob_bricoleur said:
Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 follow by "Failed to update system image" on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, lock and unlock bootlander and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10 (oreo )
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.I think that i figured out that I am able to flash system.img file using fastboot but I can't flash zip rom using recovery.
As anyone encounter this ?
Click to expand...
Click to collapse
This usually happens when a partition is missed the way that TWRP doesn´t recognice the exact model and this error 7 is a kind of protection to avoid further mistake.
Some TWRP has in-built the option to fix system issue in advanced settings or then of try to flash a system image this option could appear.
Can you upload from any of the roms the updater script that is inside?
Also sometime you did a repartition? Or flashed some GSI?
SubwayChamp said:
This usually happens when a partition is missed the way that TWRP doesn´t recognice the exact model and this error 7 is a kind of protection to avoid further mistake.
Some TWRP has in-built the option to fix system issue in advanced settings or then of try to flash a system image this option could appear.
Can you upload from any of the roms the updater script that is inside?
Also sometime you did a repartition? Or flashed some GSI?
Click to expand...
Click to collapse
Here is a script from pixel experience:
https://pastebin.com/DXgKrB8Z
I have the error "E1001: Failed to update system image" or "E2001: Failed to update vendor image" or just error 7 if I remove all the abort and assert.
I never did a repartition or flashed a GSI.
bob_bricoleur said:
Here is a script from pixel experience:
https://pastebin.com/DXgKrB8Z
I have the error "E1001: Failed to update system image" or "E2001: Failed to update vendor image" or just error 7 if I remove all the abort and assert.
I never did a repartition or flashed a GSI.
Click to expand...
Click to collapse
Just to be sure I guess you removed all the lines with getprop and not only the words.
Try first flashing persist image through fastboot.
If not flash the rom not through fastboot but using EDL mode and MiFlash tool, if you have unlocked bootloader you can send device through adb with: adb reboot edl or through fastboot with: fastboot oem edl
SubwayChamp said:
Just to be sure I guess you removed all the lines with getprop and not only the words.
Try first flashing persist image through fastboot.
If not flash the rom not through fastboot but using EDL mode and MiFlash tool, if you have unlocked bootloader you can send device through adb with: adb reboot edl or through fastboot with: fastboot oem edl
Click to expand...
Click to collapse
Yep I removed all the line
I managed to flash a full fastboot rom with mi flash and I think that during the process, a persist image was flashed. So i'm runing a stock miui. I even managed to flash Twrp and magisk. But I can't flash a rom through TWRP even after that :crying:
bob_bricoleur said:
Yep I removed all the line
I managed to flash a full fastboot rom with mi flash and I think that during the process, a persist image was flashed. So i'm runing a stock miui. I even managed to flash Twrp and magisk. But I can't flash a rom through TWRP even after that :crying:
Click to expand...
Click to collapse
Some times causes different results flashing the fastboot full image through EDL mode (download mode) instead of through fastboot mode.
It could be the issue the TWRP version if there is other available.
And you could try deleting the recovery partition with fastboot erase recovery, then boot (don´t flash yet) to recovery using fastboot boot whateveriscalled.img, then in TWRP flash the TWRP image or the installer zip, then reboot for first time to TWRP and try again.

Categories

Resources