nothing phone(1) fastboot flash by
@sh4tteredd
DON'T flash a nothingOS version lower than that one that's currently installed on the phone!
In order to gather all the files that we need, consider to run my other script available on
https://github.com/sh4tteredd/nothing-phone-1-tools
Instead, if you already have the .img files, put all your files in a subfolder called 'images' to continue
product: lahaina
product: lahaina
Erase successful, but not automatically formatting.
File system type f2fs not supported.
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: GetVar Variable Not found)
erasing 'userdata'...
OKAY [ 0.014s]
erasing 'cache'...
FAILED (remote: Check device console.)
finished. total time: 0.017s
fastboot: unknown option -- set-active=a
Flashing A slot. Please wait...
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
flashing lock locks the device. Prevents flashing partitions
flashing unlock unlocks the device. Allows user to flash any partition except the ones that are related to bootloader
flashing lock_critical Prevents flashing bootloader related partitions
flashing unlock_critical Enables flashing bootloader related partitions
flashing get_unlock_ability Queries bootloader to see if the device is unlocked
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot [bootloader] reboot device, optionally into bootloader
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
target reported max download size of 805306368 bytes
sending 'abl_a' (148 KB)...
OKAY [ 0.007s]
writing 'abl_a'...
OKAY [ 0.003s]
finished. total time: 0.011s
target reported max download size of 805306368 bytes
sending 'aop_a' (204 KB)...
OKAY [ 0.007s]
writing 'aop_a'...
OKAY [ 0.003s]
finished. total time: 0.012s
target reported max download size of 805306368 bytes
sending 'bluetooth_a' (476 KB)...
OKAY [ 0.015s]
writing 'bluetooth_a'...
OKAY [ 0.004s]
finished. total time: 0.019s
target reported max download size of 805306368 bytes
sending 'boot_a' (98304 KB)...
OKAY [ 2.430s]
writing 'boot_a'...
OKAY [ 0.361s]
finished. total time: 2.794s
target reported max download size of 805306368 bytes
sending 'cpucp_a' (184 KB)...
OKAY [ 0.007s]
writing 'cpucp_a'...
OKAY [ 0.005s]
finished. total time: 0.012s
target reported max download size of 805306368 bytes
sending 'devcfg_a' (52 KB)...
OKAY [ 0.004s]
writing 'devcfg_a'...
OKAY [ 0.004s]
finished. total time: 0.009s
target reported max download size of 805306368 bytes
sending 'dsp_a' (65536 KB)...
OKAY [ 1.621s]
writing 'dsp_a'...
OKAY [ 0.160s]
finished. total time: 1.784s
target reported max download size of 805306368 bytes
sending 'dtbo_a' (24576 KB)...
OKAY [ 0.609s]
writing 'dtbo_a'...
OKAY [ 0.066s]
finished. total time: 0.677s
target reported max download size of 805306368 bytes
sending 'featenabler_a' (88 KB)...
OKAY [ 0.005s]
writing 'featenabler_a'...
OKAY [ 0.004s]
finished. total time: 0.009s
target reported max download size of 805306368 bytes
sending 'hyp_a' (3592 KB)...
OKAY [ 0.092s]
writing 'hyp_a'...
OKAY [ 0.013s]
finished. total time: 0.105s
target reported max download size of 805306368 bytes
sending 'imagefv_a' (524 KB)...
OKAY [ 0.015s]
writing 'imagefv_a'...
OKAY [ 0.005s]
finished. total time: 0.021s
target reported max download size of 805306368 bytes
sending 'keymaster_a' (264 KB)...
OKAY [ 0.011s]
writing 'keymaster_a'...
OKAY [ 0.004s]
finished. total time: 0.016s
target reported max download size of 805306368 bytes
sending 'modem_a' (174012 KB)...
OKAY [ 4.302s]
writing 'modem_a'...
OKAY [ 0.530s]
finished. total time: 4.838s
target reported max download size of 805306368 bytes
sending 'multiimgoem_a' (16 KB)...
OKAY [ 0.003s]
writing 'multiimgoem_a'...
OKAY [ 0.004s]
finished. total time: 0.007s
target reported max download size of 805306368 bytes
sending 'odm_a' (1052 KB)...
OKAY [ 0.029s]
writing 'odm_a'...
FAILED (remote: (odm_a_a) No such partition)
finished. total time: 0.035s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
target reported max download size of 805306368 bytes
sending 'qupfw_a' (56 KB)...
OKAY [ 0.004s]
writing 'qupfw_a'...
OKAY [ 0.004s]
finished. total time: 0.009s
target reported max download size of 805306368 bytes
sending 'shrm_a' (48 KB)...
OKAY [ 0.004s]
writing 'shrm_a'...
OKAY [ 0.008s]
finished. total time: 0.012s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
target reported max download size of 805306368 bytes
sending 'system_ext_a' (485092 KB)...
OKAY [ 11.975s]
writing 'system_ext_a'...
FAILED (remote: (system_ext_a_a) No such partition)
finished. total time: 11.981s
target reported max download size of 805306368 bytes
sending 'tz_a' (3636 KB)...
OKAY [ 0.092s]
writing 'tz_a'...
OKAY [ 0.024s]
finished. total time: 0.118s
target reported max download size of 805306368 bytes
sending 'uefisecapp_a' (124 KB)...
OKAY [ 0.006s]
writing 'uefisecapp_a'...
OKAY [ 0.004s]
finished. total time: 0.012s
target reported max download size of 805306368 bytes
sending 'vbmeta_a' (8 KB)...
OKAY [ 0.003s]
writing 'vbmeta_a'...
OKAY [ 0.004s]
finished. total time: 0.007s
target reported max download size of 805306368 bytes
sending 'vbmeta_system_a' (4 KB)...
OKAY [ 0.003s]
writing 'vbmeta_system_a'...
OKAY [ 0.003s]
finished. total time: 0.007s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
target reported max download size of 805306368 bytes
sending 'vendor_boot_a' (98304 KB)...
OKAY [ 2.423s]
writing 'vendor_boot_a'...
OKAY [ 0.289s]
finished. total time: 2.713s
target reported max download size of 805306368 bytes
sending 'xbl_a' (3600 KB)...
OKAY [ 0.091s]
writing 'xbl_a'...
OKAY [ 0.016s]
finished. total time: 0.108s
target reported max download size of 805306368 bytes
sending 'xbl_config_a' (224 KB)...
OKAY [ 0.007s]
writing 'xbl_config_a'...
OKAY [ 0.006s]
finished. total time: 0.015s
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.002s
fastboot: unknown option -- set-active=b
Flashing B slot. Please wait...
< waiting for device >
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
flashing lock locks the device. Prevents flashing partitions
flashing unlock unlocks the device. Allows user to flash any partition except the ones that are related to bootloader
flashing lock_critical Prevents flashing bootloader related partitions
flashing unlock_critical Enables flashing bootloader related partitions
flashing get_unlock_ability Queries bootloader to see if the device is unlocked
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot [bootloader] reboot device, optionally into bootloader
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
target reported max download size of 805306368 bytes
sending 'abl_b' (148 KB)...
OKAY [ 0.006s]
writing 'abl_b'...
OKAY [ 0.010s]
finished. total time: 0.018s
target reported max download size of 805306368 bytes
sending 'aop_b' (204 KB)...
OKAY [ 0.007s]
writing 'aop_b'...
OKAY [ 0.011s]
finished. total time: 0.020s
target reported max download size of 805306368 bytes
sending 'bluetooth_b' (476 KB)...
OKAY [ 0.014s]
writing 'bluetooth_b'...
OKAY [ 0.011s]
finished. total time: 0.025s
target reported max download size of 805306368 bytes
sending 'boot_b' (98304 KB)...
OKAY [ 2.430s]
writing 'boot_b'...
OKAY [ 0.284s]
finished. total time: 2.717s
target reported max download size of 805306368 bytes
sending 'cpucp_b' (184 KB)...
OKAY [ 0.007s]
writing 'cpucp_b'...
OKAY [ 0.010s]
finished. total time: 0.018s
target reported max download size of 805306368 bytes
sending 'devcfg_b' (52 KB)...
OKAY [ 0.004s]
writing 'devcfg_b'...
OKAY [ 0.011s]
finished. total time: 0.015s
target reported max download size of 805306368 bytes
sending 'dsp_b' (65536 KB)...
OKAY [ 1.618s]
writing 'dsp_b'...
OKAY [ 0.181s]
finished. total time: 1.802s
target reported max download size of 805306368 bytes
sending 'dtbo_b' (24576 KB)...
OKAY [ 0.609s]
writing 'dtbo_b'...
OKAY [ 0.051s]
finished. total time: 0.662s
target reported max download size of 805306368 bytes
sending 'featenabler_b' (88 KB)...
OKAY [ 0.004s]
writing 'featenabler_b'...
OKAY [ 0.010s]
finished. total time: 0.015s
target reported max download size of 805306368 bytes
sending 'hyp_b' (3592 KB)...
OKAY [ 0.091s]
writing 'hyp_b'...
OKAY [ 0.017s]
finished. total time: 0.109s
target reported max download size of 805306368 bytes
sending 'imagefv_b' (524 KB)...
OKAY [ 0.017s]
writing 'imagefv_b'...
OKAY [ 0.010s]
finished. total time: 0.029s
target reported max download size of 805306368 bytes
sending 'keymaster_b' (264 KB)...
OKAY [ 0.008s]
writing 'keymaster_b'...
OKAY [ 0.011s]
finished. total time: 0.020s
target reported max download size of 805306368 bytes
sending 'modem_b' (174012 KB)...
OKAY [ 4.308s]
writing 'modem_b'...
OKAY [ 0.573s]
finished. total time: 4.883s
target reported max download size of 805306368 bytes
sending 'multiimgoem_b' (16 KB)...
OKAY [ 0.004s]
writing 'multiimgoem_b'...
OKAY [ 0.010s]
finished. total time: 0.014s
target reported max download size of 805306368 bytes
sending 'odm_b' (1052 KB)...
OKAY [ 0.028s]
writing 'odm_b'...
FAILED (remote: (odm_b_a) No such partition)
finished. total time: 0.040s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
sending sparse 'product_b' (785245 KB)...
OKAY [ 20.055s]
writing 'product_b'...
FAILED (remote: Partition not found)
finished. total time: 20.067s
target reported max download size of 805306368 bytes
sending 'qupfw_b' (56 KB)...
OKAY [ 0.004s]
writing 'qupfw_b'...
OKAY [ 0.017s]
finished. total time: 0.021s
target reported max download size of 805306368 bytes
sending 'shrm_b' (48 KB)...
OKAY [ 0.005s]
writing 'shrm_b'...
OKAY [ 0.015s]
finished. total time: 0.021s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
target reported max download size of 805306368 bytes
sending 'system_ext_b' (485092 KB)...
OKAY [ 11.863s]
writing 'system_ext_b'...
FAILED (remote: (system_ext_b_a) No such partition)
finished. total time: 11.890s
target reported max download size of 805306368 bytes
sending 'tz_b' (3636 KB)...
OKAY [ 0.095s]
writing 'tz_b'...
OKAY [ 0.022s]
finished. total time: 0.118s
target reported max download size of 805306368 bytes
sending 'uefisecapp_b' (124 KB)...
OKAY [ 0.005s]
writing 'uefisecapp_b'...
OKAY [ 0.011s]
finished. total time: 0.017s
target reported max download size of 805306368 bytes
sending 'vbmeta_b' (8 KB)...
OKAY [ 0.002s]
writing 'vbmeta_b'...
OKAY [ 0.009s]
finished. total time: 0.013s
target reported max download size of 805306368 bytes
sending 'vbmeta_system_b' (4 KB)...
OKAY [ 0.003s]
writing 'vbmeta_system_b'...
OKAY [ 0.010s]
finished. total time: 0.015s
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
sending sparse 'vendor_b' (772790 KB)...
OKAY [ 19.698s]
writing 'vendor_b'...
FAILED (remote: Partition not found)
finished. total time: 19.710s
target reported max download size of 805306368 bytes
sending 'vendor_boot_b' (98304 KB)...
OKAY [ 2.387s]
writing 'vendor_boot_b'...
OKAY [ 0.355s]
finished. total time: 2.743s
target reported max download size of 805306368 bytes
sending 'xbl_b' (3600 KB)...
OKAY [ 0.091s]
writing 'xbl_b'...
OKAY [ 0.023s]
finished. total time: 0.115s
target reported max download size of 805306368 bytes
sending 'xbl_config_b' (224 KB)...
OKAY [ 0.008s]
writing 'xbl_config_b'...
OKAY [ 0.012s]
finished. total time: 0.020s
rebooting into bootloader...
OKAY [ 0.002s]
finished. total time: 0.003s
fastboot: unknown option -- set-active=a
< waiting for device >
rebooting...