Error Message after trying to flash Boot.img (help) - Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers

I accidently deleted my boot.img on mi miCC9 and someone send me theirs but when i try to flash it i get this error:
Sending 'boot.img' (15360 KB) OKAY [ 0.332s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed

How can I fix this?
..

Maybe try to flash whole system image?

Can you send me yours?
..
obiwanbartek said:
Maybe try to flash whole system image?
Click to expand...
Click to collapse

realseal3 said:
..
Click to expand...
Click to collapse
Download it off official miui site

is this the right one: "https://c.mi.com/oc/miuidownload/detail?device=1900374"?
Also can I go into the recovery without the boot.img? Because i can't get in it and I don't know why.

Try flashin whole system with fastboot rom, flash it with mi flash tool
Lock / unlock BL?

It didn't work with the tool but I reflashed twrp and flashed the stock miui rom from there and it worked. But thank you very much anyways.
Beast.Kuvretz said:
Try flashin whole system with fastboot rom, flash it with mi flash tool
Lock / unlock BL?
Click to expand...
Click to collapse

realseal3 said:
It didn't work with the tool but I reflashed twrp and flashed the stock miui rom from there and it worked. But thank you very much anyways.
Click to expand...
Click to collapse
Stock Rom from official mi web?
Well for reference if this case happen in the future for some users.

Yes with the Stock Rom from the offial website (https://c.mi.com/oc/miuidownload/detail?device=1900374). Why?
Beast.Kuvretz said:
Stock Rom from official mi web?
Well for reference if this case happen in the future for some users.
Click to expand...
Click to collapse

Related

[Q] HBoot only, no RUU available -- recoverable?

Attempted my first root and ROM flash.
Followed HTC Holiday Superguide instructions (I did skip the S-OFF bit) then tried to flash CyanogenMod 10 using these instructions. Got stuck on the CyanogenMod flash screen. Don't quite remember what I did in my panicked attempts to recover. I did relock the bootloader at some point.
Now the phone continually boots to HBoot.
Can't find the RUU I need anywhere (Telstra 3.44.841.3).
Should I return to Apple in shame having found myself not man enough for rooted Androids? Or can someone help me regain some self-respect?
Did you flash the boot.img using fastboot?
Spectrejester said:
Did you flash the boot.img using fastboot?
Click to expand...
Click to collapse
Yes, I did.
SaintBen said:
Yes, I did.
Click to expand...
Click to collapse
Are you able to boot into recovery ? if so does it just flash for a sec the go back to Hboot ?
esloan said:
Are you able to boot into recovery ? if so does it just flash for a sec the go back to Hboot ?
Click to expand...
Click to collapse
When I choose RECOVERY, it displays the HTC logo while a status bar fills up, then it goes back to HBoot.
SaintBen said:
When I choose RECOVERY, it displays the HTC logo while a status bar fills up, then it goes back to HBoot.
Click to expand...
Click to collapse
Okay so you no longer have a custom recovery installed ? Is your HBOOT still locked ? If it is still locked unlock it and Flash TWRP or WCX recovery and see if you can boot into recovery.
esloan said:
Okay so you no longer have a custom recovery installed ? Is your HBOOT still locked ? If it is still locked unlock it and Flash TWRP or WCX recovery and see if you can boot into recovery.
Click to expand...
Click to collapse
It is still locked, but can I flash TWRP or WCX without having access to the phone's internal SD card through Windows? I don't know how to get them on there without that (when I connect the phone to my PC, I don't get the option anymore).
SaintBen said:
It is still locked, but can I flash TWRP or WCX without having access to the phone's internal SD card through Windows? I don't know how to get them on there without that (when I connect the phone to my PC, I don't get the option anymore).
Click to expand...
Click to collapse
No SDCARD ?
Either way you can have the recovery saved to some place on your PC and flash it to the phone. In HBOOT you should select fastboot USB and this will allow you to send fastboot commands to the phone. EX fastboot flash recovery recovery.img to flash a recovery.
esloan said:
No SDCARD ?
Click to expand...
Click to collapse
No, I haven't bought one.
esloan said:
Either way you can have the recovery saved to some place on your PC and flash it to the phone. In HBOOT you should select fastboot USB and this will allow you to send fastboot commands to the phone. EX fastboot flash recovery recovery.img to flash a recovery.
Click to expand...
Click to collapse
Okay, thanks, but it failed.
fastboot flash recovery wcxrecovery.img
sending 'recovery' (6996 KB)... OKAY [ 1.395s]
writing 'recovery'... INFOsignature checking...
FAILED (remote: signature verify fail)
finished. total time: 3.066s
Any suggestions?
SaintBen said:
Okay, thanks, but it failed.
fastboot flash recovery wcxrecovery.img
sending 'recovery' (6996 KB)... OKAY [ 1.395s]
writing 'recovery'... INFOsignature checking...
FAILED (remote: signature verify fail)
finished. total time: 3.066s
Any suggestions?
Click to expand...
Click to collapse
HBOOT still locked ?
esloan said:
HBOOT still locked ?
Click to expand...
Click to collapse
Yes, it was, so I unlocked and successfully ran fastboot flash recovery wcxrecovery.img. What do you think I should do now?
SaintBen said:
Yes, it was, so I unlocked and successfully ran fastboot flash recovery wcxrecovery.img. What do you think I should do now?
Click to expand...
Click to collapse
Can you boot into recovery ?
esloan said:
Can you boot into recovery ?
Click to expand...
Click to collapse
Sorry, I realised after I posted my last reply that you said I should try that earlier, I but had to wait five minutes before XDA would let me post again.
Yes, I can now boot into recovery. What next?
SaintBen said:
Sorry, I realised after I posted my last reply that you said I should try that earlier, I but had to wait five minutes before XDA would let me post again.
Yes, I can now boot into recovery. What next?
Click to expand...
Click to collapse
Your set.. you should be able to flash your rom of choice and fastboot flash boot boot.im (I'm assuming your not S-OFF) and then the phone will boot up like it should. The boot.img file will be located in the ROM zip but you may have to push modules around to get wifi to work depending on the ROM.
esloan said:
Your set.. you should be able to flash your rom of choice and fastboot flash boot boot.im (I'm assuming your not S-OFF) and then the phone will boot up like it should. The boot.img file will be located in the ROM zip but you may have to push modules around to get wifi to work depending on the ROM.
Click to expand...
Click to collapse
Okay, I'll have another crack at it, then. Thanks very much, esloan. I really appreciate your help.
Well, I haven't managed to get anywhere. I've tried flashing a couple of different ROMs, but I couldn't get them to boot. When I boot into recovery, I get a bunch of "Can't mount" notifications. Is that bad?
Did you start with clockworkmod?
If so...
Boot to recovery...
Mount via USB(in the mount menu)
Hook to windows...
Let windows format it...
Try again
CWM has a problem with formatting/wiping
Sent from my Vivid 4G using Tapatalk 2
rignfool said:
Did you start with clockworkmod?
If so...
Boot to recovery...
Mount via USB(in the mount menu)
Hook to windows...
Let windows format it...
Try again
CWM has a problem with formatting/wiping
Sent from my Vivid 4G using Tapatalk 2
Click to expand...
Click to collapse
No, I haven't used CWM.
Did you use factory reset from the hboot menu then?
Sent from my Vivid 4G using Tapatalk 2

[Q] Stock Recovery Partition Missing?

Just curious, does anyone have a dump of the recovery partition for the Dev Edition? It looks like from a bit of reading is that the recovery partition doesn't seem to be present.
I am unable to use recovery mode properly since it saids invalid operation when I do apply from SD, storage or cache, followed by the phone automatically restarting.
Has anyone else noticed this? I wonder if the unlocked 32 GB versions is unaffected.
try to reflash the recovery, the partitions should be the same as the original One
I tried to do that by using the RUU and using the zip, but it did not bring it back.
Is there a way to get the recovery image itself? I tried to extract the zip but it looked like it's encrypted as I cannot do so.
Looks like one mike1986 mentioned it's missing as well.
mike1986. said:
1. Well, I decided not to mention some things to avoid confusion. At the moment unlocking bootloader removes content of /data/preload partition, so indeed, installing OTA will fail. But I truly hope that HTC will fix it at some point and unlocking bootloader won't cause some stock apps to be missing.
2. Which procedure?
Click to expand...
Click to collapse
Sango2 said:
I tried to do that by using the RUU and using the zip, but it did not bring it back.
Is there a way to get the recovery image itself? I tried to extract the zip but it looked like it's encrypted as I cannot do so.
Looks like one mike1986 mentioned it's missing as well.
Click to expand...
Click to collapse
if you can point me where the RUU for your dev edition is i can extract the recovery.img for you
matt95 said:
if you can point me where the RUU for your dev edition is i can extract the recovery.img for you
Click to expand...
Click to collapse
Great, thanks a lot.
Two places you can get it from
http://forum.xda-developers.com/showthread.php?p=39588860 (BrightstarUS_WWE which is Developer)
or directly from HTCdev
http://www.htcdev.com/devcenter/downloads
Sango2 said:
Great, thanks a lot.
Two places you can get it from
http://forum.xda-developers.com/showthread.php?p=39588860 (BrightstarUS_WWE which is Developer)
or directly from HTCdev
http://www.htcdev.com/devcenter/downloads
Click to expand...
Click to collapse
ok, i'm downloading!
very very slow D:
matt95 said:
ok, i'm downloading!
very very slow D:
Click to expand...
Click to collapse
No worries, I'll be back on tonight since got some meetings to attend in the office. Lets see what you can discover.
Thanks!
ok, iside of it i found this recovery file! try to flash it using
Code:
fastboot flash recovery recovery_signed.img
Download
matt95 said:
ok, iside of it i found this recovery file! try to flash it using
Code:
fastboot flash recovery recovery_signed.img
Download
Click to expand...
Click to collapse
Tried it but for some reason I get this.
Code:
recovery recovery_signed.img
sending 'recovery' (9590 KB)...
OKAY [ 1.233s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.376s
Sango2 said:
Tried it but for some reason I get this.
Code:
recovery recovery_signed.img
sending 'recovery' (9590 KB)...
OKAY [ 1.233s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.376s
Click to expand...
Click to collapse
as i though, mmmhh, unzipping the file breaks the signature.... well then you need to download a stock nandroid backup and inside of it you will fina a recovery.zip... just flash it and you're ready to go
matt95 said:
as i though, mmmhh, unzipping the file breaks the signature.... well then you need to download a stock nandroid backup and inside of it you will fina a recovery.zip... just flash it and you're ready to go
Click to expand...
Click to collapse
Hmm, I'm beginning to wonder if the stock recovery is suppose to work like that, where if I try to apply storage, sd card, or cache it saids invalid operation and reboot. The reason is, a new HTC One S my relative got she her phone is being replaced for free under warranty... I go to the recovery and do those certain the apply stuff, it also saids invalid operation out and restarts!
I find this a bit interesting on my HTC One when I go to the recovery and wondering the failed mount SD card messages is normal.
Try this -> http://vps.rana.sg/HTC_ONE/individual_files/recovery.emmc.win
fastboot erase cache
fastboot flash recovery recovery.emmc.win
v-b-n said:
Try this -> http://vps.rana.sg/HTC_ONE/individual_files/recovery.emmc.win
fastboot erase cache
fastboot flash recovery recovery.emmc.win
Click to expand...
Click to collapse
I get this error.
Forbidden
You don't have permission to access /HTC_ONE/individual_files/recovery.emmc.win on this server.
Click to expand...
Click to collapse
Sango2 said:
I get this error.
Click to expand...
Click to collapse
Oops ... try now
v-b-n said:
Oops ... try now
Click to expand...
Click to collapse
I don't mean to hijack this thread but I tried flashing it on my HTC One and I received a signature verify fail...
Code:
sending 'recovery' (16383 KB)...
OKAY [ 1.921s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 3.876s
I don't get it why signature check is happening... Is the bootloader in unlock status and which custom recovery aren't of trying to overwrite?
Sent from my HTC One using xda premium
v-b-n said:
I don't get it why signature check is happening... Is the bootloader in unlock status and which custom recovery aren't of trying to overwrite?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
i'm wondering that too, but is that a recovery taken from the RUU.zip?
matt95 said:
i'm wondering that too, but is that a recovery taken from the RUU.zip?
Click to expand...
Click to collapse
It's A twrp backup which is flashable using fastboot... I have done it so many times, hope people are flashing the fastboot way?
Sent from my HTC One using xda premium
The only time bootloader is going to Sig check a recovery partition is if he is relocked. He said he used the ruu a couple times so he is still relocked.
v-b-n said:
It's A twrp backup which is flashable using fastboot... I have done it so many times, hope people are flashing the fastboot way?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
... you mean taken from the TWRP backup?

LMY48B 5.1.1 Factory Image Now Up at Google's Site!!!

https://dl.google.com/dl/android/aosp/hammerhead-lmy48b-factory-596bb9c1.tgz
md5sum: 2002e1b813921b1dfc67aca09c30a171
sha1sum: 596bb9c125525ce5baf4762a1cac6f5880c50cbc
I dint have access to take a look from here. I know there's an updated radio. Is there also an updated bootloader?
mikebeatrice said:
I dint have access to take a look from here. I know there's an updated radio. Is there also an updated bootloader?
Click to expand...
Click to collapse
Yes, from HHZ12f to HHZ12h.
I Tried to flash 5.1.1 without wipe (-w )
however I had the error "failed to allocate 1046266608 bytes".
So after flashing bootloader and radio,
I had to extract all .img and flash them one by one :
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
everything is working now ... I hope the damn memory leak bug is fixed.
Any new appearance or features?
Could you upload the new radio and bootloader? You could make something like this thread.
http://forum.xda-developers.com/goo...us5-update-bootloader-radio-lmy47d-5-t3052571
SA3DX said:
Could you upload the new radio and bootloader? You could make something like this thread.
http://forum.xda-developers.com/goo...us5-update-bootloader-radio-lmy47d-5-t3052571
Click to expand...
Click to collapse
You can download radio in this thread:
http://forum.xda-developers.com/goo...t/modem-nexus-5-flashable-modems-efs-t2514095
Matrix_19 said:
I Tried to flash 5.1.1 without wipe (-w )
however I had the error "failed to allocate 1046266608 bytes".
So after flashing bootloader and radio,
I had to extract all .img and flash them one by one :
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
everything is working now ... I hope the damn memory leak bug is fixed.
Click to expand...
Click to collapse
The ADB Error of failed to allocate X Bytes is easily resolved with a reboot of your computer.
mike102871 said:
Any new appearance or features?
Click to expand...
Click to collapse
Generally .1 releases fix bugs, so no, there is no new features or appearance
markdapimp said:
The ADB Error of failed to allocate X Bytes is easily resolved with a reboot of your computer.
Click to expand...
Click to collapse
Sadly in my case this didn´t work. Thanks anyway.
Regards
Android 5.1.1 factory image
I want to know the changelog in android 5.1.1 (LMY48B). is it fix memory leak? and what features added in this OTA?
markdapimp said:
The ADB Error of failed to allocate X Bytes is easily resolved with a reboot of your computer.
Click to expand...
Click to collapse
Matrix_19 said:
I Tried to flash 5.1.1 without wipe (-w )
however I had the error "failed to allocate 1046266608 bytes".
So after flashing bootloader and radio,
I had to extract all .img and flash them one by one :
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
everything is working now ... I hope the damn memory leak bug is fixed.
Click to expand...
Click to collapse
For me, this doesnt happen if i close CHROME and all other running programs and run fastboot as admin
for some reason even tho i have plenty of ram, i get that fail when chrome is open...i close that and fastboot does its thing fine
chaco81 said:
For me, this doesnt happen if i close CHROME and all other running programs and run fastboot as admin
for some reason even tho i have plenty of ram, i get that fail when chrome is open...i close that and fastboot does its thing fine
Click to expand...
Click to collapse
Good to know...
I'll try it next time
BiggerSpain said:
Sadly in my case this didn´t work. Thanks anyway.
Regards
Click to expand...
Click to collapse
Do you have the latest fastboot files?
xda6969 said:
Do you have the latest fastboot files?
Click to expand...
Click to collapse
I think so, but I flashed the system.img manually.
Thank you for your interest.
Regards
BiggerSpain
Same x bytes error for me on both a Win 8 PC and a Win 7 PC, Chrome open/closed doesn't matter. I finally flashed on a Linux machine. Took awhile to figure out Terminal, because this is the first time I've used Linux, but eventually got it right (I like a learning challenge). No problems with a Linux flash.
VivaErBetis said:
You can download radio in this thread:
http://forum.xda-developers.com/goo...t/modem-nexus-5-flashable-modems-efs-t2514095
Click to expand...
Click to collapse
I guess I wasn't clear enough. I want BOTH the new RADIO AND BOOTLOADER. Which part do you not understand?
SA3DX said:
I guess I wasn't clear enough. I want BOTH the new RADIO AND BOOTLOADER. Which part do you not understand?
Click to expand...
Click to collapse
Ho ho.....calm down Fury.....
Do you really believe that someone is willing to help you
when you write in this way???
krillehb said:
Ho ho.....calm down Fury.....
Do you really believe that someone is willing to help you
when you write in this way???
Click to expand...
Click to collapse
My thoughts exactly.
SA3DX If you download the factory image from google and unzip it everything is there. http://lmgtfy.com/?q=nexus+5+factory+images
SA3DX said:
I guess I wasn't clear enough. I want BOTH the new RADIO AND BOOTLOADER. Which part do you not understand?
Click to expand...
Click to collapse
Now Now stop having a tantrum
SENT BY ENTANGLEMENT
---------- Post added at 07:43 PM ---------- Previous post was at 07:28 PM ----------
Jamalleelee said:
My thoughts exactly.
SA3DX If you download the factory image from google and unzip it everything is there. http://lmgtfy.com/?q=nexus+5+factory+images
Click to expand...
Click to collapse
That link is so funny
SENT BY ENTANGLEMENT

Unlocked bootloader but I can't flash anything

I had unlocked bootoader for more than 1 year and didn't have any problem with it. But now for some reason I can't flash anything.
When I try to flash using TWRP i get ERROR 1. From recovery log:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
and when i try adb (not only flash but other commands like fastboot oem device-info aswell)
Code:
FAILED <Remote: command not allowed>
Any idea how to fix this?
woooz said:
I had unlocked bootoader for more than 1 year and didn't have any problem with it. But now for some reason I can't flash anything.
When I try to flash using TWRP i get ERROR 1. From recovery log:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
and when i try adb (not only flash but other commands like fastboot oem device-info aswell)
Code:
FAILED <Remote: command not allowed>
Any idea how to fix this?
Click to expand...
Click to collapse
Try to unlock again!
Bootloader say locked in green or unlocked in red?
.
persona78 said:
Try to unlock again!
Bootloader say locked in green or unlocked in red?
.
Click to expand...
Click to collapse
Unlocked red.
woooz said:
Unlocked red.
Click to expand...
Click to collapse
try to unlock again, and check what it say will you try to unlock.
.
Note: The only file system that works with fastboot is the file system that you extract from update.app, only!
But doesn´t work if you flash with twrp, for twrp is the file system that you pull from the phone.
.
persona78 said:
try to unlock again, and check what it say will you try to unlock.
Click to expand...
Click to collapse
FAILED (remote: already fastboot unlocked)
persona78 said:
Note: The only file system that works with fastboot is the file system that you extract from update.app, only!
But doesn´t work if you flash with twrp, for twrp is the file system that you pull from the phone.
Click to expand...
Click to collapse
I know. Tried to flash stock boot img with fastboot and zip with magisk in twrp.
EDIT: I was able to flash boot.img after this, I guess it worked. Thanks!
I have the same problem again... But now unlocking bootloader again doesn't help.
Also reflashed twrp.
Anyone?
woooz said:
Anyone?
Click to expand...
Click to collapse
If you only want to flash boot.img you can do that in TWRP.
keikari said:
If you only want to flash boot.img you can do that in TWRP.
Click to expand...
Click to collapse
Not only and I can't.
When I try flash anything in twrp i get this error:
Code:
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
woooz said:
Not only and I can't.
When I try flash anything in twrp i get this error:
Click to expand...
Click to collapse
You still didn't fixed since then?
D1stRU3T0R said:
You still didn't fixed since then?
Click to expand...
Click to collapse
When I created this topic all I had to do to fix this problem was unlocking bootloader again.
But few days ago this problem occured again and unlocking bootloader doesn't help.
It's a bug. REINSTALL default firmware it 3 buttons, let it turn on. Unlock boot again and flash twrp. If that does not work either your phone is damaged or you did something wrong in the middle.

Problem flashing on fastboot!

Everytime i try to flash something on fastboot i get stuck at this:
Sending 'boot.img' (33304 KB)
Tried everything on the internet but still no solution...
I'm trying to flash the twrp so i can remove the bootloader unlocked boot screen
XPKillah said:
Everytime i try to flash something on fastboot i get stuck at this:
Sending 'boot.img' (33304 KB)
Tried everything on the internet but still no solution...
I'm trying to flash the twrp so i can remove the bootloader unlocked boot screen
Click to expand...
Click to collapse
This is usually resolved by trying it on another computer. If I recall correctly, I think it is because of older hardware on a PC, though not sure.
XPKillah said:
Everytime i try to flash something on fastboot i get stuck at this:
Sending 'boot.img' (33304 KB)
Tried everything on the internet but still no solution...
I'm trying to flash the twrp so i can remove the bootloader unlocked boot screen
Click to expand...
Click to collapse
Actually you are doing it wrong. The Moto X4 doesn't have recovery partition anymore. It is A/B.
Instead of flash do boot boot.img
Then flash the twrp installer from the official site.
This will make twrp permanent.
Make sure you have unlocked your bootloader. Also i recommend installing the latest twrp from twrp site as the decrypting bug is not present any longer.
RobinPharswan said:
Actually you are doing it wrong. The Moto X4 doesn't have recovery partition anymore. It is A/B.
Instead of flash do boot boot.img
Then flash the twrp installer from the official site.
This will make twrp permanent.
Make sure you have unlocked your bootloader. Also i recommend installing the latest twrp from twrp site as the decrypting bug is not present any longer.
Click to expand...
Click to collapse
sorry, i actually did the boot thing, but it just keeps stuck at sending...

Categories

Resources