Fastboot error - Nexus 7 Q&A, Help & Troubleshooting

I keep getting this error with fastboot when trying to flash stock img could anyone tell me why

Related

[Q] Stuck at boot animation after flashing 5.1

I was using 5.0.1, with stock bootloader, stock recovery, actually stock everything except SuperSU added.
I downloaded the 5.1 image from Google, and tried flashing it:
fastboot flash bootloader bootloader-mako-makoz30f.img
fastboot reboot-bootloader
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.06.img
fastboot reboot-bootloader
fastboot update image-occam-lmy47o.zip
Got some missing sig errors, and "failed to allocate xxxxxxxxx bytes" error. Thus after searching for more information I ended up unpacking image-occam-lmy47o.zip and running:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
Then rebooted. The result is an endless boot animation, regardless of anything I try. Tried restoring my TWRP backup, reflashing 5.1, reflashing 5.0.1, always the same. Last logcat line at boot:
E/kickstart( 233): Sahara protocol completed
Then it's just stuck there. For minutes. For tens of minutes. Looks like forever. Anyone else ever seen this problem, and happens to have a solution? (Preferably without losing my data)
Edit: After a few hours I restored the original (or so I hope) state, by wiping, then flashing 5.0.1, then restoring my backup. But now I don't dare to try flashing 5.1 again. Still would love to hear ideas from who might have seen this problem and knows a solution.
After you've flashed the factory image boot into the stock recovery and do a factory reset.
Sent from my Nexus 9 using XDA Free mobile app
IVBela said:
I was using 5.0.1, with stock bootloader, stock recovery, actually stock everything except SuperSU added.
I downloaded the 5.1 image from Google, and tried flashing it:
fastboot flash bootloader bootloader-mako-makoz30f.img
fastboot reboot-bootloader
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.06.img
fastboot reboot-bootloader
fastboot update image-occam-lmy47o.zip
Got some missing sig errors, and "failed to allocate xxxxxxxxx bytes" error. Thus after searching for more information I ended up unpacking image-occam-lmy47o.zip and running:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
Then rebooted. The result is an endless boot animation, regardless of anything I try. Tried restoring my TWRP backup, reflashing 5.1, reflashing 5.0.1, always the same. Last logcat line at boot:
E/kickstart( 233): Sahara protocol completed
Then it's just stuck there. For minutes. For tens of minutes. Looks like forever. Anyone else ever seen this problem, and happens to have a solution? (Preferably without losing my data)
Edit: After a few hours I restored the original (or so I hope) state, by wiping, then flashing 5.0.1, then restoring my backup. But now I don't dare to try flashing 5.1 again. Still would love to hear ideas from who might have seen this problem and knows a solution.
Click to expand...
Click to collapse
You only really need to flash the following (unless there is a new bootloader and radio):
fastboot flash boot boot.img
fastboot flash recovery recovery.img (if you are running custom recovery you can skip flashing this)
fastboot flash system system.img
metpage said:
You only really need to flash the following (unless there is a new bootloader and radio):
fastboot flash boot boot.img
fastboot flash recovery recovery.img (if you are running custom recovery you can skip flashing this)
fastboot flash system system.img
Click to expand...
Click to collapse
There was a new radio, but that worked (I accidentally booted normally after flashing it). The rest is the same that I did, except the cache, guess next time I'll try doing it without flashing that one. Do I not have to wipe the cache partition either? (And no custom recovery here, I boot TWRP from my PC via fastboot.)
Edit: Who understands this.... I tried it again tonight, flashed radio, then fastboot update image-occam-lmy47o.zip worked, no error this time, no unpacking, nothing. Just a successful update this time.
Guess that wipe was needed, maybe something was already corrupted before I tried flashing the first time.
Case closed.

When Flashing TWRP I Get an Error

When i am in the bootloader (in state "flashing_unlocked") and i try to flash twrp through fastboot i get the error "(bootloader) has-slot:recovery: not found" and the flash fails. any help? Ive got the nougat soak test installed
Nougat is not rootable.
Try: fastboot boot twrp.img
Youre the best!!!!! it worked!

Nexus Player Rom help

Hi im having problems here with my nexus player
i purchased and used this since 3year with custom AOSP android lollirock that i found on this forum how to install in the begining when i purchased it now since there are newer version of android and app stop working correctly on it i wanna return to the stock rom
what it did is after booting into fastboot and running those command using google official rom
fastboot erase boot
fastboot erase recovery
fastboot erase system
fastboot erase cache
fastboot flash bootloader (bootloader filename)
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache (there were no cache.img in the google official rom package so i leave it like this)
fastboot reboot
my nexus bootloader is in UNlocked state, i remeber unlocked it the first time i flash the original rom to install the lollirock one
the device rebooted and now im stuck in the bootloop of circle turning in the screen
i did the exact samething trying to install a older version of the rom (after i read on the internet that the 8.00 was sending people who never messed around with fastboot and just using OTA to update into this samebootloop)
i got the same exact problem using an older version of the google official rom 7.1.2 i try i think
then i tried to reinstall AOSP custom 7.1 of android that i found on the forum of zulu99 he tell to
fastboot flash boot boot.img
fastboot flash system system.img
fastboot -w (and i noticed that when i run this fastboot return me and error saying that the file is missing (cannot generate image for userdata)
anyone know what i can do from here ?
im able to get into fastboot no problem holding the button under the device before i plugged in the power cord
im pretty a beginner using ADB and flashing android roms so i have no clue what im missing here but i guess its something due to the fact that ivd run fastboot erase cache.img in the begining !?!?
Please any help would be greatly appreciated
I always used the nexus root tool kit for everything.
http://www.wugfresh.com/nrt/

flash modem_a error

I have been trying to fix my device it is stuck on boot screen. I tried to flash stock rom using miflash tool but it gives this error. There are no white spaces in path of the file but still gives me this error.
Have you unlocked the bootloader?

2019 pro stuck in boot loop

Got this working with Lineage ok but decided to go back to stock. I downloaded the stock recovery rom from NV and set everything up. Inside the recovery bundle is a bat file. Usually I would flash all files manually but this time I used the bat file. It manged the first 3 or 4 commands then came up with error. The box is now stuck in a boot loop and I am unable to access over adb.
Can anyone please suggest a way around this.
Thanks
Here is the bat file
fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtb mdarcy.dtb.img
fastboot flash vbmeta vbmeta.img
fastboot oem lock (optional step: required for certain functionality)
fastboot reboot
EDIT:
Eventually managed to flash lineage zip again. Used USB keyboard to access recovery
may i ask, what kind of keyboard did u use?
thanks in advance

Categories

Resources