首页
登录 | 注册

error: failed to load 'image-marlin-nof26v.zip': Not enough space

在用fastboot刷Nexus系列或者Pixel系统手机原生系统时,经常会碰到 error: failed to load 'image-marlin-nof26v.zip': Not enough space 这种错误;

这个错误经常会给我们造成误导,以为是手机系统空间不够,其实不是,这个是fastboot工具的一个bug,google已经在最新的版本上解决了些问题;

25.0.3 (December 16, 2016)
Fixed fastboot bug causing Android Things devices to fail to flash

解决办法,到google官网下载最新platform-tools-for-windows.zip,并将其中的fastboot.exe更新到系统盘根目录下,替换掉原来的fastboot.exe;

再次执行flash-all.bat。

整个刷机过程如下:

D:\google pixel root\marlin-nof26v>flash-all.bat
< waiting for any device >
target reported max download size of 536870912 bytes
sending 'bootloader_a' (32980 KB)...
OKAY [  0.830s]
writing 'bootloader_a'...
(bootloader) Valid bootloader version.
(bootloader) Flashing active slot "_a"
(bootloader) Flashing active slot "_a"
OKAY [  4.788s]
finished. total time: 5.627s
rebooting into bootloader...
OKAY [  0.047s]
finished. total time: 0.049s
< waiting for any device >
target reported max download size of 536870912 bytes
sending 'radio_a' (57192 KB)...
OKAY [  1.436s]
writing 'radio_a'...
OKAY [  0.560s]
finished. total time: 2.005s
rebooting into bootloader...
OKAY [  0.046s]
finished. total time: 0.048s
< waiting for any device >
archive does not contain 'boot.sig'
archive does not contain 'boot_other.img'
archive does not contain 'recovery.img'
archive does not contain 'system.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
archive does not contain 'vendor_other.img'
wiping userdata...
Creating filesystem with parameters:
    Size: 26663190528
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 6509568
    Block groups: 199
    Reserved block group size: 1024
Created filesystem with 11/1630208 inodes and 146354/6509568 blocks
--------------------------------------------
Bootloader Version...: 8996-012001-1611091517
Baseband Version.....: 8996-012511-1611190200
Serial Number........: FA6AC0300160
--------------------------------------------
checking product...
OKAY [  0.050s]
checking version-bootloader...
OKAY [  0.045s]
checking version-baseband...
OKAY [  0.046s]
sending 'boot_a' (26209 KB)...
OKAY [  0.688s]
writing 'boot_a'...
OKAY [  0.298s]
erasing 'system_a'...
OKAY [  0.407s]
sending sparse 'system_a' 1/8 (203376 KB)...
OKAY [  6.495s]
writing 'system_a' 1/8...
OKAY [  1.596s]
sending sparse 'system_a' 2/8 (183816 KB)...
OKAY [  5.746s]
writing 'system_a' 2/8...
OKAY [  3.052s]
sending sparse 'system_a' 3/8 (204797 KB)...
OKAY [  6.496s]
writing 'system_a' 3/8...
OKAY [  1.691s]
sending sparse 'system_a' 4/8 (180686 KB)...
OKAY [  5.901s]
writing 'system_a' 4/8...
OKAY [  1.551s]
sending sparse 'system_a' 5/8 (190946 KB)...
OKAY [  5.997s]
writing 'system_a' 5/8...
OKAY [  2.697s]
sending sparse 'system_a' 6/8 (204581 KB)...
OKAY [  6.703s]
writing 'system_a' 6/8...
OKAY [  2.997s]
sending sparse 'system_a' 7/8 (203148 KB)...
OKAY [  6.500s]
writing 'system_a' 7/8...
OKAY [  2.807s]
sending sparse 'system_a' 8/8 (190713 KB)...
OKAY [  5.988s]
writing 'system_a' 8/8...
OKAY [  1.946s]
erasing 'system_b'...
OKAY [  0.459s]
sending sparse 'system_b' 1/9 (203309 KB)...
OKAY [  6.639s]
writing 'system_b' 1/9...
OKAY [  1.691s]
sending sparse 'system_b' 2/9 (184710 KB)...
OKAY [  5.805s]
writing 'system_b' 2/9...
OKAY [  1.593s]
sending sparse 'system_b' 3/9 (204796 KB)...
OKAY [  6.464s]
writing 'system_b' 3/9...
OKAY [  1.478s]
sending sparse 'system_b' 4/9 (181402 KB)...
OKAY [  5.755s]
writing 'system_b' 4/9...
OKAY [  1.759s]
sending sparse 'system_b' 5/9 (203877 KB)...
OKAY [  6.587s]
writing 'system_b' 5/9...
OKAY [  1.746s]
sending sparse 'system_b' 6/9 (181733 KB)...
OKAY [  5.700s]
writing 'system_b' 6/9...
OKAY [  1.454s]
sending sparse 'system_b' 7/9 (204796 KB)...
OKAY [  6.493s]
writing 'system_b' 7/9...
OKAY [  1.593s]
sending sparse 'system_b' 8/9 (191130 KB)...
OKAY [  5.503s]
writing 'system_b' 8/9...
OKAY [  1.546s]
sending sparse 'system_b' 9/9 (85778 KB)...
OKAY [  2.245s]
writing 'system_b' 9/9...
OKAY [  0.845s]
erasing 'vendor_a'...
OKAY [  0.161s]
sending sparse 'vendor_a' 1/2 (204195 KB)...
OKAY [  5.588s]
writing 'vendor_a' 1/2...
OKAY [  3.147s]
sending sparse 'vendor_a' 2/2 (31127 KB)...
OKAY [  0.941s]
writing 'vendor_a' 2/2...
OKAY [  0.698s]
Setting current slot to 'a'...
OKAY [  0.063s]
erasing 'userdata'...
OKAY [  1.883s]
sending 'userdata' (138957 KB)...
OKAY [  3.449s]
writing 'userdata'...
OKAY [  1.298s]
rebooting...

finished. total time: 152.733s
Press any key to exit...


基实看到了这里,你也可以将 image-marlin-nof26v.zip 解压到本地,改写原来的 flash-all.bat 文件应该也可以解决此问题;

原来是这样:

PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-marlin-8996-012001-1611091517.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-marlin-8996-012511-1611190200.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot -S 200M -w update image-marlin-nof26v.zip

echo Press any key to exit...
pause >nul
exit

可以更改为:

PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-marlin-8996-012001-1611091517.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-marlin-8996-012511-1611190200.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
::fastboot -S 200M -w update image-marlin-nof26v.zip

fastboot flash aboot aboot.img
fastboot erase system_a
fastboot flash system_a system.img
fastboot erase system_b
fastboot flash system_b system_other.img
fastboot erase verdor_a
fastboot flash vendor_a vendor.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot reboot
echo Press any key to exit...
pause >nul
exit

方法二慎用,没有亲自测试过,只是提供一种思路;


2020 jeepxie.net webmaster#jeepxie.net
10 q. 0.009 s.
京ICP备10005923号