fastboot: error: ANDROID_PRODUCT_OUT not set错误
~/hammerhead_antidebug fastboot -w flashall
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
fastboot: error: ANDROID_PRODUCT_OUT not set
解决方法:
~/hammerhead_antidebug pwd
/Users/HHHHH/hammerhead_antidebug
~/hammerhead_antidebug export ANDROID_PRODUCT_OUT=/Users/HHHHH/hammerhead_antidebug
~/hammerhead_antidebug fastboot -w flashall
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
--------------------------------------------
Bootloader Version...: HHZ12k
Baseband Version.....: M8974A-2.0.50.2.27
Serial Number........: 0625ccb3887a53ac
--------------------------------------------
Checking product OKAY [ 0.100s]
mke2fs 1.44.3 (10-July-2018)
Creating filesystem with 7137786 4k blocks and 1785856 inodes
Filesystem UUID: 7ef1d90e-f9c5-4116-a965-573802cf7b2a
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
mke2fs 1.44.3 (10-July-2018)
Creating filesystem with 179200 4k blocks and 44832 inodes
Filesystem UUID: 95bda7a8-bc56-4436-9890-02984ec0f068
Superblock backups stored on blocks:
32768, 98304, 163840
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
Sending 'boot' (9150 KB) OKAY [ 0.540s]
Writing 'boot' OKAY [ 0.767s]
Sending 'recovery' (10008 KB) OKAY [ 0.583s]
Writing 'recovery' OKAY [ 0.826s]
Sending 'system' (409598 KB) OKAY [ 14.657s]
Writing 'system' OKAY [ 28.511s]
Erasing 'userdata' OKAY [ 2.089s]
Sending 'userdata' (4416 KB) OKAY [ 0.350s]
Writing 'userdata' OKAY [ 0.496s]
Erasing 'cache' OKAY [ 0.264s]
Sending 'cache' (428 KB) OKAY [ 0.230s]
Writing 'cache' OKAY [ 0.218s]
Rebooting
Finished. Total time: 52.177s
~/hammerhead_antidebug