Hi all
My phone is in bootloop since many day. I was on Lineage 18.1 with deezer and google maps installed (only theses 2 apps)
After turning off (for the first time) because there was no battery left. It never restarted
And even worse, the erecoevery is no longer accessible, the TWRP is broken ..
I only have access to Fastboot.
I tested flashing a TWRP or booting on a TWRP via fastboot command ... Impossible. It crashes before splash to the TWRP. (which appears an half second)
I tested hisuite which recognizes my phone in fastboot but does not recognize the model and refuses to restore a system: "device not supported"
I am trying to flash a complete system (via command terminal or via ZRK tool) = impossible to reboot
Bellow the result of my commands
Does anyone have a suggestion for me ?
Code:
./fastboot erase system -w
Erasing 'system' OKAY [ 75.573s]
Finished. Total time: 75.632s
./fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.175s]
Writing 'cache' OKAY [ 0.176s]
Finished. Total time: 0.379s
./fastboot flash crc CRC.img
Sending 'crc' (235 KB) OKAY [ 0.013s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.007s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash dts DTS.img
Sending 'dts' (23678 KB) OKAY [ 0.679s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash efi EFI.img
Sending 'efi' (17 KB) OKAY [ 0.007s]
Writing 'efi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.698s]
Writing 'kernel' OKAY [ 0.865s]
Finished. Total time: 1.590s
./fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (98304 KB) OKAY [ 2.745s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (14224 KB) OKAY [ 0.396s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash odm ODM.img
Sending 'odm' (109702 KB) OKAY [ 3.108s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.007s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash product PRODUCT.img
Sending 'product' (113532 KB) OKAY [ 3.186s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.464s]
Writing 'ramdisk' OKAY [ 0.398s]
Finished. Total time: 0.890s
./fastboot flash recovery_ramdisk RECOVERY_RAMDISK.img
Sending 'recovery_ramdisk' (32768 KB) OKAY [ 0.930s]
Writing 'recovery_ramdisk' OKAY [ 0.800s]
Finished. Total time: 1.760s
./fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.007s]
Writing 'recovery_vbmeta' OKAY [ 0.030s]
Finished. Total time: 0.067s
./fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.464s]
Writing 'recovery_vendor' OKAY [ 0.401s]
Finished. Total time: 0.896s
./fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (820 KB) OKAY [ 0.027s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash system SYSTEM.img
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.234s]
Writing 'system' OKAY [ 12.118s]
Sending sparse 'system' 2/6 (460074 KB) OKAY [ 13.597s]
Writing 'system' OKAY [ 12.556s]
Sending sparse 'system' 3/6 (460751 KB) OKAY [ 13.416s]
Writing 'system' OKAY [ 11.778s]
Sending sparse 'system' 4/6 (453466 KB) OKAY [ 13.196s]
Writing 'system' OKAY [ 11.609s]
Sending sparse 'system' 5/6 (454756 KB) OKAY [ 12.975s]
Writing 'system' OKAY [ 11.150s]
Sending sparse 'system' 6/6 (418060 KB) OKAY [ 11.904s]
Writing 'system' OKAY [ 10.762s]
Finished. Total time: 148.684s
./fastboot flash teeos TEEOS.img
Sending 'teeos' (2576 KB) OKAY [ 0.075s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (115 KB) OKAY [ 0.010s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.027s]
Finished. Total time: 0.060s
./fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (460710 KB) OKAY [ 13.273s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash verlist VERLIST.img
Sending 'verlist' (0 KB) OKAY [ 0.007s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash xloader XLOADER.img
Sending 'xloader' (68 KB) OKAY [ 0.008s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
naced said:
Hi all
My phone is in bootloop since many day. I was on Lineage 18.1 with deezer and google maps installed (only theses 2 apps)
After turning off (for the first time) because there was no battery left. It never restarted
And even worse, the erecoevery is no longer accessible, the TWRP is broken ..
I only have access to Fastboot.
I tested flashing a TWRP or booting on a TWRP via fastboot command ... Impossible. It crashes before splash to the TWRP. (which appears an half second)
I tested hisuite which recognizes my phone in fastboot but does not recognize the model and refuses to restore a system: "device not supported"
I am trying to flash a complete system (via command terminal or via ZRK tool) = impossible to reboot
Bellow the result of my commands
Does anyone have a suggestion for me ?
Code:
./fastboot erase system -w
Erasing 'system' OKAY [ 75.573s]
Finished. Total time: 75.632s
./fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.175s]
Writing 'cache' OKAY [ 0.176s]
Finished. Total time: 0.379s
./fastboot flash crc CRC.img
Sending 'crc' (235 KB) OKAY [ 0.013s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.007s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash dts DTS.img
Sending 'dts' (23678 KB) OKAY [ 0.679s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash efi EFI.img
Sending 'efi' (17 KB) OKAY [ 0.007s]
Writing 'efi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.698s]
Writing 'kernel' OKAY [ 0.865s]
Finished. Total time: 1.590s
./fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (98304 KB) OKAY [ 2.745s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (14224 KB) OKAY [ 0.396s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash odm ODM.img
Sending 'odm' (109702 KB) OKAY [ 3.108s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.007s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash product PRODUCT.img
Sending 'product' (113532 KB) OKAY [ 3.186s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.464s]
Writing 'ramdisk' OKAY [ 0.398s]
Finished. Total time: 0.890s
./fastboot flash recovery_ramdisk RECOVERY_RAMDISK.img
Sending 'recovery_ramdisk' (32768 KB) OKAY [ 0.930s]
Writing 'recovery_ramdisk' OKAY [ 0.800s]
Finished. Total time: 1.760s
./fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.007s]
Writing 'recovery_vbmeta' OKAY [ 0.030s]
Finished. Total time: 0.067s
./fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.464s]
Writing 'recovery_vendor' OKAY [ 0.401s]
Finished. Total time: 0.896s
./fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (820 KB) OKAY [ 0.027s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash system SYSTEM.img
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.234s]
Writing 'system' OKAY [ 12.118s]
Sending sparse 'system' 2/6 (460074 KB) OKAY [ 13.597s]
Writing 'system' OKAY [ 12.556s]
Sending sparse 'system' 3/6 (460751 KB) OKAY [ 13.416s]
Writing 'system' OKAY [ 11.778s]
Sending sparse 'system' 4/6 (453466 KB) OKAY [ 13.196s]
Writing 'system' OKAY [ 11.609s]
Sending sparse 'system' 5/6 (454756 KB) OKAY [ 12.975s]
Writing 'system' OKAY [ 11.150s]
Sending sparse 'system' 6/6 (418060 KB) OKAY [ 11.904s]
Writing 'system' OKAY [ 10.762s]
Finished. Total time: 148.684s
./fastboot flash teeos TEEOS.img
Sending 'teeos' (2576 KB) OKAY [ 0.075s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (115 KB) OKAY [ 0.010s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.027s]
Finished. Total time: 0.060s
./fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (460710 KB) OKAY [ 13.273s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash verlist VERLIST.img
Sending 'verlist' (0 KB) OKAY [ 0.007s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
./fastboot flash xloader XLOADER.img
Sending 'xloader' (68 KB) OKAY [ 0.008s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
Click to expand...
Click to collapse
Hi...
you write that you flashed a TWRP via fastboot and then try to reboot from fastboot mode to TWRP recovery right?
But there is no command to reboot from fastboot directly to recovery like fastboot reboot-recovery or some thing else!
you just can use the command fastboot reboot
then instant unplug the usb-cable and press/hold Vol+ button
i repeat...
fastboot reboot-->enter
unplug the usb cable
press and hold Vol+ button (just the 1 button Vol+ nothing more needet)
good luck
solong
speedson
Related
dear
i have Lg Nexus4 want to downgrade from lollipop to kitkat
i did download 4.4.4 file occam-ktu84p
after i connected my phone in fastboot and run the flash-all.bat
after loading some files it failed
for me i dont want to keep backup so i need flash-W so i keep bootloader locked
sending 'bootloader' (2203 KB)...
OKAY [ 0.094s]
writing 'bootloader'...
FAILED (remote: not supported in locked device)
finished. total time: 0.109s
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s
< waiting for device >
sending 'radio' (45537 KB)...
OKAY [ 1.605s]
writing 'radio'...
FAILED (remote: not supported in locked device)
finished. total time: 1.621s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 748585716 bytes
error: update package missing system.img
Press any key to exit...
i show also image of file i used
almoudamer said:
dear
i have Lg Nexus4 want to downgrade from lollipop to kitkat
i did download 4.4.4 file occam-ktu84p
after i connected my phone in fastboot and run the flash-all.bat
after loading some files it failed
for me i dont want to keep backup so i need flash-W so i keep bootloader locked
sending 'bootloader' (2203 KB)...
OKAY [ 0.094s]
writing 'bootloader'...
FAILED (remote: not supported in locked device)
finished. total time: 0.109s
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s
< waiting for device >
sending 'radio' (45537 KB)...
OKAY [ 1.605s]
writing 'radio'...
FAILED (remote: not supported in locked device)
finished. total time: 1.621s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 748585716 bytes
error: update package missing system.img
Press any key to exit...
i show also image of file i used
Click to expand...
Click to collapse
You need unlocked bootloader to flash image.
Sent from my Nexus 4 using XDA Free mobile app
Hello
thxfor ur quick reply
i did unlock bootloader and tested again ,but still facing this same problem as update package missing system.img even it is available in zip file if we open as i showed in before picture
sending 'bootloader' (2203 KB)...
OKAY [ 0.078s]
writing 'bootloader'...
OKAY [ 0.296s]
finished. total time: 0.374s
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s
< waiting for device >
sending 'radio' (45537 KB)...
OKAY [ 1.641s]
writing 'radio'...
OKAY [ 2.605s]
finished. total time: 4.262s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 748585716 bytes
error: update package missing system.img
Press any key to exit...
br
TLDR/update: false alarm, after a pc reboot. and leaving the shield unplugged for a few min. i was able to "adb reboot bootloader" then reflash with fastboot, all good now. mods feel free to delete this bs...
i downloaded the official 3.0 recovery image from nvidia and commented out the bit to flash there recovery so i could keep twrp just like i have previously w/o issues. now im stuck and cant seem to access the bootloader by holding the power button, adb, or fastboot. what other options do i have? flashing from update.zip on sd card?
Code:
./flash-all.sh
< waiting for any device >
target reported max download size of 67108864 bytes
sending 'staging' (3091 KB)...
OKAY [ 0.091s]
writing 'staging'...
OKAY [ 0.152s]
finished. total time: 0.243s
target reported max download size of 67108864 bytes
sending 'boot' (21772 KB)...
OKAY [ 0.527s]
writing 'boot'...
OKAY [ 1.024s]
finished. total time: 1.551s
rebooting...
finished. total time: 0.059s
< waiting for any device >
sending 'system' (1578475 KB)...
FAILED (command write failed (Protocol error))
finished. total time: 0.000s
target reported max download size of 67108864 bytes
erasing 'vendor'...
OKAY [ 0.164s]
sending sparse 'vendor' (65498 KB)...
OKAY [ 1.606s]
writing 'vendor'...
OKAY [ 3.285s]
sending sparse 'vendor' (65472 KB)...
OKAY [ 1.582s]
writing 'vendor'...
OKAY [ 2.895s]
sending sparse 'vendor' (65532 KB)...
OKAY [ 1.611s]
writing 'vendor'...
OKAY [ 3.437s]
sending sparse 'vendor' (48152 KB)...
OKAY [ 1.196s]
writing 'vendor'...
OKAY [ 2.448s]
finished. total time: 18.223s
rebooting...
if it didnt sent the reboot command i could have seen the error and hopefully fixed it. guess i gave nvidia too much credit for error detection in there script.
Hi everybody!
I installed Xiaomi.eu 12 stable few weeks ago and the device worked perfectly until this morning. When I unlocked the screen and clicked on the toggle wifi to activate it, the device stopped working. Totally freezed.
I tried with a reboot but the device was stuck to the boot logo. So I've tried to enter the recovery mode (Orange Fox in my case) and also it was stuck in the Orangefox logo. The only thing which works is fastboot.
So I decided to try to reset the phone, without success in all the cases. Here all my attempts:
1) Install other recoveries with fastboot (Orangefox, TWRP, Stock recovery) and depite the installation succeed, none of them worked; when I try to enter the recovery mode, it's still stuck into OrangeFox logo (also after I've installed other recoveries).
2) Install MIUI global fastboot rom with MiFlash tool. It reports error xbl.
3) The last thing I tried: several attempts with fastboot and MIUI global fastboot ROMs. In all the cases the reported error was the write protection of xbl.
NB: I used both command prompt of linux and windows without success.
Code:
[[email protected] lavender1]$ sudo ./flash_all.sh
product: lavender
Sending 'antirbpass' (8 KB) OKAY [ 0.005s]
Writing 'antirbpass' OKAY [ 0.000s]
Finished. Total time: 0.013s
Sending 'xbl' (2512 KB) OKAY [ 0.075s]
Writing 'xbl' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'xblbak' (2512 KB) OKAY [ 0.076s]
Writing 'xblbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'tz' (1924 KB) OKAY [ 0.061s]
Writing 'tz' OKAY [ 0.013s]
Finished. Total time: 0.082s
Sending 'tzbak' (1924 KB) OKAY [ 0.060s]
Writing 'tzbak' OKAY [ 0.014s]
Finished. Total time: 0.076s
Sending 'rpm' (219 KB) OKAY [ 0.015s]
Writing 'rpm' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'rpmbak' (219 KB) OKAY [ 0.011s]
Writing 'rpmbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'hyp' (272 KB) OKAY [ 0.011s]
Writing 'hyp' OKAY [ 0.002s]
Finished. Total time: 0.016s
Sending 'hypbak' (272 KB) OKAY [ 0.011s]
Writing 'hypbak' OKAY [ 0.003s]
Finished. Total time: 0.016s
Sending 'pmic' (38 KB) OKAY [ 0.006s]
Writing 'pmic' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'pmicbak' (38 KB) OKAY [ 0.002s]
Writing 'pmicbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'keymaster' (305 KB) OKAY [ 0.012s]
Writing 'keymaster' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'keymasterbak' (305 KB) OKAY [ 0.010s]
Writing 'keymasterbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'cmnlib' (216 KB) OKAY [ 0.010s]
Writing 'cmnlib' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'cmnlibbak' (216 KB) OKAY [ 0.011s]
Writing 'cmnlibbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'cmnlib64' (267 KB) OKAY [ 0.015s]
Writing 'cmnlib64' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'cmnlib64bak' (267 KB) OKAY [ 0.011s]
Writing 'cmnlib64bak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'mdtpsecapp' (1053 KB) OKAY [ 0.030s]
Writing 'mdtpsecapp' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'mdtpsecappbak' (1053 KB) OKAY [ 0.035s]
Writing 'mdtpsecappbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'modem' (111873 KB) OKAY [ 3.123s]
Writing 'modem' OKAY [ 0.745s]
Finished. Total time: 3.876s
Sending 'dsp' (16384 KB) OKAY [ 0.454s]
Writing 'dsp' OKAY [ 0.110s]
Finished. Total time: 0.571s
Sending 'bluetooth' (556 KB) OKAY [ 0.024s]
Writing 'bluetooth' OKAY [ 0.004s]
Finished. Total time: 0.031s
Sending 'storsec' (48 KB) OKAY [ 0.004s]
Writing 'storsec' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'storsecbak' (48 KB) OKAY [ 0.012s]
Writing 'storsecbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'devcfg' (47 KB) OKAY [ 0.011s]
Writing 'devcfg' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'devcfgbak' (47 KB) OKAY [ 0.012s]
Writing 'devcfgbak' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'abl' (148 KB) OKAY [ 0.012s]
Writing 'abl' OKAY [ 0.002s]
Finished. Total time: 0.016s
Sending 'ablbak' (148 KB) OKAY [ 0.012s]
Writing 'ablbak' OKAY [ 0.002s]
Finished. Total time: 0.016s
Sending 'dtbo' (8192 KB) OKAY [ 0.251s]
Writing 'dtbo' OKAY [ 0.055s]
Finished. Total time: 0.310s
Sending 'dtbobak' (8192 KB) OKAY [ 0.228s]
Writing 'dtbobak' OKAY [ 0.055s]
Finished. Total time: 0.286s
Sending 'vbmeta' (4 KB) OKAY [ 0.004s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending 'vbmetabak' (4 KB) OKAY [ 0.003s]
Writing 'vbmetabak' OKAY [ 0.001s]
Finished. Total time: 0.006s
Sending 'boot' (65536 KB) OKAY [ 1.860s]
Writing 'boot' OKAY [ 0.437s]
Finished. Total time: 2.301s
Sending 'recovery' (65536 KB) OKAY [ 1.836s]
Writing 'recovery' OKAY [ 0.437s]
Finished. Total time: 2.276s
Sending sparse 'system' 1/5 (786428 KB) OKAY [ 22.248s]
Writing 'system' OKAY [ 0.000s]
Sending sparse 'system' 2/5 (786428 KB) OKAY [ 22.449s]
Writing 'system' OKAY [ 0.000s]
Sending sparse 'system' 3/5 (786428 KB) OKAY [ 21.480s]
Writing 'system' OKAY [ 0.000s]
Sending sparse 'system' 4/5 (786428 KB) OKAY [ 21.680s]
Writing 'system' OKAY [ 0.000s]
Sending sparse 'system' 5/5 (327952 KB) OKAY [ 9.250s]
Writing 'system' OKAY [ 0.000s]
Finished. Total time: 97.119s
Sending sparse 'vendor' 1/2 (786428 KB) OKAY [ 21.900s]
Writing 'vendor' OKAY [ 0.000s]
Sending sparse 'vendor' 2/2 (57832 KB) OKAY [ 5.300s]
Writing 'vendor' OKAY [ 0.000s]
Finished. Total time: 29.298s
Sending 'userdata' (367876 KB) OKAY [ 10.647s]
Writing 'userdata' OKAY [ 0.000s]
Finished. Total time: 10.944s
Sending 'mdtp' (17390 KB) OKAY [ 0.483s]
Writing 'mdtp' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Sending 'cache' (128 KB) OKAY [ 0.005s]
Writing 'cache' OKAY [ 0.002s]
Finished. Total time: 0.017s
Sending 'splash' (26594 KB) OKAY [ 0.760s]
Writing 'splash' FAILED (remote: 'Error flashing partition : Write Protected')
fastboot: error: Command failed
Erasing 'ddr' OKAY [ 0.001s]
Finished. Total time: 0.003s
Erasing 'misc' OKAY [ 0.001s]
Finished. Total time: 0.002s
Erasing 'apdp' OKAY [ 0.001s]
Finished. Total time: 0.003s
Erasing 'msadp' OKAY [ 0.001s]
Finished. Total time: 0.003s
Sending 'cust' (248280 KB) OKAY [ 7.047s]
Writing 'cust' OKAY [ 0.000s]
Finished. Total time: 7.064s
Rebooting OKAY [ 1.574s]
In windows, when I do "flash_all" it stops at write error in xbl; but when I try with linux, the terminal follows all the script, writing down all the errors. As is possible to see in the code above, there are other errors of "write protection";
Any suggest of how to proceed?
[UPDATE]
I tried the test of emmc as suggested below and the result is that the memory is broken. Thanks for the support!
probably broken emmc ? could you access data partition using fastboot, try to paste 1gb of data to there, restart the phone enter fastboot again and copy the data to your pc, use sha256 to verify the data, if its not broken then its not the emmc
Rifaldi34 said:
probably broken emmc ? could you access data partition using fastboot, try to paste 1gb of data to there, restart the phone enter fastboot again and copy the data to your pc, use sha256 to verify the data, if its not broken then its not the emmc
Click to expand...
Click to collapse
How can I get access to data partition with fastboot?
flashing it using miflash and edl mode using test point...
Here is the sequence of commands:
C:\Users\blah\Desktop\platform-tools>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
PM1LHMA7blahblah unauthorized
C:\Users\blah\Desktop\platform-tools>adb devices
List of devices attached
PM1LHMA7blahblah device
C:\Users\blah\Desktop\platform-tools>adb reboot bootloader
C:\Users\blah\Desktop\platform-tools>fastboot devices
PM1LHMA7blahblah fastboot
C:\Users\blah\Desktop\platform-tools>fastboot getvar current-slot
current-slot: _a
Finished. Total time: 0.001s
C:\Users\blah\Desktop\platform-tools>fastboot flash vendor_a vendor-QQ1A.200105.088.img # OOPS i should have put b so i try to fix it in the next command
Sending 'vendor_a' (392296 KB) OKAY [ 9.211s]
Writing 'vendor_a' OKAY [ 2.446s]
Finished. Total time: 11.667s
C:\Users\blah\Desktop\platform-tools>fastboot flash vendor_b vendor-QQ1A.200105.088.img
Sending 'vendor_b' (392296 KB) OKAY [ 9.215s]
Writing 'vendor_b' OKAY [ 2.439s]
Finished. Total time: 11.661s
C:\Users\blah\Desktop\platform-tools>fastboot erase system_b
Erasing 'system_b' OKAY [104.577s]
Finished. Total time: 104.580s
C:\Users\blah\Desktop\platform-tools>fastboot flash system_b system.img
Invalid sparse file format at header magic
Sending sparse 'system_b' 1/6 (523151 KB) OKAY [ 12.365s]
Writing 'system_b' OKAY [ 3.943s]
Sending sparse 'system_b' 2/6 (520769 KB) OKAY [ 12.262s]
Writing 'system_b' OKAY [ 3.271s]
Sending sparse 'system_b' 3/6 (523599 KB) OKAY [ 12.327s]
Writing 'system_b' OKAY [ 3.311s]
Sending sparse 'system_b' 4/6 (522306 KB) OKAY [ 12.262s]
Writing 'system_b' OKAY [ 3.563s]
Sending sparse 'system_b' 5/6 (503327 KB) OKAY [ 11.967s]
Writing 'system_b' OKAY [ 8.774s]
Sending sparse 'system_b' 6/6 (42300 KB) OKAY [ 1.068s]
Writing 'system_b' OKAY [ 0.311s]
Finished. Total time: 87.248s
C:\Users\blah\Desktop\platform-tools>fastboot flash boot_b unsigned-new.img
fastboot: error: Couldn't parse partition size '0x'.
C:\Users\blah\Desktop\platform-tools>fastboot flash boot_a unsigned-new.img
fastboot: error: Couldn't parse partition size '0x'.
C:\Users\blah\Desktop\platform-tools>fastboot flash:raw boot_b unsigned-new.img
Sending 'boot_b' (23864 KB) OKAY [ 0.634s]
Writing 'boot_b' OKAY [ 0.298s]
Finished. Total time: 0.958s
##FORGET TO USE COMMAND fastboot set_active a
C:\Users\blah\Desktop\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 54.443s]
mke2fs 1.45.4 (23-Sep-2019)
Creating filesystem with 26768215 4k blocks and 6692864 inodes
Filesystem UUID: blah
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done
Sending 'userdata' (544 KB) OKAY [ 0.100s]
Writing 'userdata' OKAY [ 0.018s]
Finished. Total time: 54.827s
Now when i restart the phone it just stays on the screen with the essential logo and powered by android at the bottom; never gets to spinning circles. When I restart i can pause it from booting because the bootloader is unlocked, but adb cant find it because to do that i have to give it debug permissions, but no OS to boot to so i cant do that. Did i brick my phone?
If you can still get into the bootloader, its fixable. Just reflash stock
vsn4 said:
If you can still get into the bootloader, its fixable. Just reflash stock
Click to expand...
Click to collapse
When I reboot, it says press power to pause (the screen where it says g.co/ABH), but then eventually proceeds to boot by itself after a few seconds.
noideawtf said:
When I reboot, it says press power to pause (the screen where it says g.co/ABH), but then eventually proceeds to boot by itself after a few seconds.
Click to expand...
Click to collapse
It boots back into the screen with the logo and phrase powered by android and sits there. After it dissipated its power all night doing that, I was able to get the bootloader screen to appear (The word start in big green letters) this morning, but i selected start and now that screen refuses to show up again, so ill try draining it again i guess?
I drained it of power and as soon as i plugged it into a charger it turned on by itself and went into the bootloader unlike it was doing before. Was able to issue the command I missed earlier and now it loads right up.
Help Me !!
I own Nothing Phone 1 (Global Model),
I used sh4tteredd's flash tool (https://forum.xda-developers.com/t/nothing-phone-1-flashing-utilities.4478457/) to flash the firmware. I had a lot of errors, rebooted, and ended up in a Fastboot Loop. (See view full log (1))
Then when I did "fastboot set _ active b" and rebooted, the Nothing OS started.
However, I wanted to fix the error of _ a,
I flashed Super.img as sh4tteredd advised (https://forum.xda-developers.com/t/nothing-phone-1-flashing-utilities.4478457/post-87456457) and then flashed the firmware again (see view full log (2)).
Then, according to "FAILED (remote: 'Flashing is not allowed for Critical Partitions"), fastboot flashing critical _ unlock and flushing again (see view full log (3))
Then fastboot reboot fastboot "fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable. "is displayed and the operation fails.
I then rebooted into recovery mode and fastbootd in reboot mode and flashed super.img as before.
It then falls into a Fastboot loop again, and currently doesn't even boot into the Nothing OS.
I would appreciate it if you could give me a solution or advice.
Spoiler: view full log (1)
Code:
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
Now connect your phone in fastboot mode to the PC via USB, then press enter to continue
product: lahaina
Erasing 'userdata' OKAY [ 0.239s]
F2FS-tools: mkfs.f2fs Ver: 1.15.0 (2022-05-20)
Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Enable Project quota
Error: Sparse mode is only supported for android
/usr/local/bin/make_f2fs failed with status 255
fastboot: error: Cannot generate image for userdata
Setting current slot to 'a' OKAY [ 0.038s]
Finished. Total time: 0.041s
Flashing A slot. Please wait...
Rebooting into fastboot OKAY [ 0.002s]
< waiting for any device >
Finished. Total time: 15.541s
Sending 'abl_a' (148 KB) OKAY [ 0.006s]
Writing 'abl_a' OKAY [ 0.005s]
Finished. Total time: 0.016s
Sending 'aop_a' (204 KB) OKAY [ 0.008s]
Writing 'aop_a' OKAY [ 0.006s]
Finished. Total time: 0.017s
Sending 'bluetooth_a' (476 KB) OKAY [ 0.016s]
Writing 'bluetooth_a' OKAY [ 0.008s]
Finished. Total time: 0.028s
Sending 'boot_a' (98304 KB) OKAY [ 3.249s]
Writing 'boot_a' OKAY [ 1.270s]
Finished. Total time: 4.524s
Sending 'cpucp_a' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_a' OKAY [ 0.006s]
Finished. Total time: 0.015s
Sending 'devcfg_a' (52 KB) OKAY [ 0.003s]
Writing 'devcfg_a' OKAY [ 0.004s]
Finished. Total time: 0.010s
Sending 'dsp_a' (65536 KB) OKAY [ 2.164s]
Writing 'dsp_a' OKAY [ 0.290s]
Finished. Total time: 2.457s
Sending 'dtbo_a' (24576 KB) OKAY [ 0.816s]
Writing 'dtbo_a' OKAY [ 0.133s]
Finished. Total time: 0.954s
Sending 'featenabler_a' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_a' OKAY [ 0.005s]
Finished. Total time: 0.012s
Sending 'hyp_a' (3592 KB) OKAY [ 0.119s]
Writing 'hyp_a' OKAY [ 0.027s]
Finished. Total time: 0.152s
Sending 'imagefv_a' (524 KB) OKAY [ 0.019s]
Writing 'imagefv_a' OKAY [ 0.010s]
Finished. Total time: 0.033s
Sending 'keymaster_a' (264 KB) OKAY [ 0.010s]
Writing 'keymaster_a' OKAY [ 0.007s]
Finished. Total time: 0.021s
Sending 'modem_a' (173676 KB) OKAY [ 5.726s]
Writing 'modem_a' OKAY [ 0.387s]
Finished. Total time: 6.117s
Sending 'multiimgoem_a' (16 KB) OKAY [ 0.001s]
Writing 'multiimgoem_a' OKAY [ 0.004s]
Finished. Total time: 0.010s
Sending 'odm_a' (1052 KB) OKAY [ 0.036s]
Writing 'odm_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Sending sparse 'product_a' 1/8 (262108 KB) OKAY [ 8.609s]
Writing 'product_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Sending 'qupfw_a' (56 KB) OKAY [ 0.002s]
Writing 'qupfw_a' OKAY [ 0.027s]
Finished. Total time: 0.033s
Sending 'shrm_a' (48 KB) OKAY [ 0.002s]
Writing 'shrm_a' OKAY [ 0.004s]
Finished. Total time: 0.009s
Sending sparse 'system_a' 1/6 (262104 KB) OKAY [ 8.482s]
Writing 'system_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Sending sparse 'system_ext_a' 1/2 (262116 KB) OKAY [ 8.643s]
Writing 'system_ext_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Sending 'tz_a' (3636 KB) OKAY [ 0.118s]
Writing 'tz_a' OKAY [ 0.046s]
Finished. Total time: 0.167s
Sending 'uefisecapp_a' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp_a' OKAY [ 0.006s]
Finished. Total time: 0.015s
Sending 'vbmeta_a' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_a' OKAY [ 0.004s]
Finished. Total time: 0.009s
Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_a' OKAY [ 0.004s]
Finished. Total time: 0.009s
Sending sparse 'vendor_a' 1/5 (262104 KB) OKAY [ 8.451s]
Writing 'vendor_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Sending 'vendor_boot_a' (98304 KB) OKAY [ 3.203s]
Writing 'vendor_boot_a' OKAY [ 0.284s]
Finished. Total time: 3.491s
Sending 'xbl_a' (3600 KB) OKAY [ 0.118s]
Writing 'xbl_a' OKAY [ 0.034s]
Finished. Total time: 0.156s
Sending 'xbl_config_a' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_a' OKAY [ 0.008s]
Finished. Total time: 0.021s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'b' OKAY [ 0.038s]
Finished. Total time: 0.040s
Flashing B slot. Please wait...
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
Finished. Total time: 13.681s
Sending 'abl_b' (148 KB) OKAY [ 0.006s]
Writing 'abl_b' OKAY [ 0.005s]
Finished. Total time: 0.015s
Sending 'aop_b' (204 KB) OKAY [ 0.008s]
Writing 'aop_b' OKAY [ 0.006s]
Finished. Total time: 0.017s
Sending 'bluetooth_b' (476 KB) OKAY [ 0.015s]
Writing 'bluetooth_b' OKAY [ 0.008s]
Finished. Total time: 0.027s
Sending 'boot_b' (98304 KB) OKAY [ 3.231s]
Writing 'boot_b' OKAY [ 1.261s]
Finished. Total time: 4.497s
Sending 'cpucp_b' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_b' OKAY [ 0.006s]
Finished. Total time: 0.017s
Sending 'devcfg_b' (52 KB) OKAY [ 0.002s]
Writing 'devcfg_b' OKAY [ 0.005s]
Finished. Total time: 0.011s
Sending 'dsp_b' (65536 KB) OKAY [ 2.160s]
Writing 'dsp_b' OKAY [ 0.245s]
Finished. Total time: 2.409s
Sending 'dtbo_b' (24576 KB) OKAY [ 0.811s]
Writing 'dtbo_b' OKAY [ 0.138s]
Finished. Total time: 0.952s
Sending 'featenabler_b' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_b' OKAY [ 0.004s]
Finished. Total time: 0.012s
Sending 'hyp_b' (3592 KB) OKAY [ 0.122s]
Writing 'hyp_b' OKAY [ 0.028s]
Finished. Total time: 0.154s
Sending 'imagefv_b' (524 KB) OKAY [ 0.018s]
Writing 'imagefv_b' OKAY [ 0.009s]
Finished. Total time: 0.032s
Sending 'keymaster_b' (264 KB) OKAY [ 0.010s]
Writing 'keymaster_b' OKAY [ 0.007s]
Finished. Total time: 0.021s
Sending 'modem_b' (173676 KB) OKAY [ 5.723s]
Writing 'modem_b' OKAY [ 0.412s]
Finished. Total time: 6.139s
Sending 'multiimgoem_b' (16 KB) OKAY [ 0.001s]
Writing 'multiimgoem_b' OKAY [ 0.002s]
Finished. Total time: 0.007s
Resizing 'odm_b' OKAY [ 0.004s]
Sending 'odm_b' (1052 KB) OKAY [ 0.035s]
Writing 'odm_b' OKAY [ 1.082s]
Finished. Total time: 1.124s
Resizing 'product_b' OKAY [ 0.004s]
Sending sparse 'product_b' 1/8 (262108 KB) OKAY [ 8.635s]
Writing 'product_b' OKAY [ 1.626s]
Sending sparse 'product_b' 2/8 (262124 KB) OKAY [ 8.536s]
Writing 'product_b' OKAY [ 0.568s]
Sending sparse 'product_b' 3/8 (262128 KB) OKAY [ 8.522s]
Writing 'product_b' OKAY [ 0.534s]
Sending sparse 'product_b' 4/8 (262120 KB) OKAY [ 8.426s]
Writing 'product_b' OKAY [ 0.567s]
Sending sparse 'product_b' 5/8 (262116 KB) OKAY [ 8.489s]
Writing 'product_b' OKAY [ 0.560s]
Sending sparse 'product_b' 6/8 (262128 KB) OKAY [ 8.485s]
Writing 'product_b' OKAY [ 0.575s]
Sending sparse 'product_b' 7/8 (262132 KB) OKAY [ 8.442s]
Writing 'product_b' OKAY [ 0.570s]
Sending sparse 'product_b' 8/8 (160752 KB) OKAY [ 5.182s]
Writing 'product_b' OKAY [ 0.415s]
Finished. Total time: 70.801s
Sending 'qupfw_b' (56 KB) OKAY [ 0.002s]
Writing 'qupfw_b' OKAY [ 0.002s]
Finished. Total time: 0.007s
Sending 'shrm_b' (48 KB) OKAY [ 0.002s]
Writing 'shrm_b' OKAY [ 0.019s]
Finished. Total time: 0.023s
Resizing 'system_b' OKAY [ 0.004s]
Sending sparse 'system_b' 1/6 (262104 KB) OKAY [ 8.496s]
Writing 'system_b' OKAY [ 1.587s]
Sending sparse 'system_b' 2/6 (262120 KB) OKAY [ 8.592s]
Writing 'system_b' OKAY [ 0.560s]
Sending sparse 'system_b' 3/6 (262112 KB) OKAY [ 8.449s]
Writing 'system_b' OKAY [ 0.583s]
Sending sparse 'system_b' 4/6 (262124 KB) OKAY [ 8.429s]
Writing 'system_b' OKAY [ 0.555s]
Sending sparse 'system_b' 5/6 (262124 KB) OKAY [ 8.302s]
Writing 'system_b' OKAY [ 0.559s]
Sending sparse 'system_b' 6/6 (212224 KB) OKAY [ 6.768s]
Writing 'system_b' OKAY [ 0.485s]
Finished. Total time: 53.918s
Resizing 'system_ext_b' OKAY [ 0.003s]
Sending sparse 'system_ext_b' 1/2 (262116 KB) OKAY [ 8.409s]
Writing 'system_ext_b' OKAY [ 1.633s]
Sending sparse 'system_ext_b' 2/2 (221164 KB) OKAY [ 7.123s]
Writing 'system_ext_b' OKAY [ 0.494s]
Finished. Total time: 17.863s
Sending 'tz_b' (3636 KB) OKAY [ 0.117s]
Writing 'tz_b' OKAY [ 0.033s]
Finished. Total time: 0.154s
Sending 'uefisecapp_b' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp_b' OKAY [ 0.005s]
Finished. Total time: 0.015s
Sending 'vbmeta_b' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' OKAY [ 0.004s]
Finished. Total time: 0.008s
Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_b' OKAY [ 0.004s]
Finished. Total time: 0.008s
Resizing 'vendor_b' OKAY [ 0.004s]
Sending sparse 'vendor_b' 1/5 (262104 KB) OKAY [ 8.516s]
Writing 'vendor_b' OKAY [ 1.571s]
Sending sparse 'vendor_b' 2/5 (262100 KB) OKAY [ 8.156s]
Writing 'vendor_b' OKAY [ 0.580s]
Sending sparse 'vendor_b' 3/5 (262120 KB) OKAY [ 8.357s]
Writing 'vendor_b' OKAY [ 0.539s]
Sending sparse 'vendor_b' 4/5 (262132 KB) OKAY [ 8.355s]
Writing 'vendor_b' OKAY [ 0.573s]
Sending sparse 'vendor_b' 5/5 (148720 KB) OKAY [ 4.686s]
Writing 'vendor_b' OKAY [ 0.387s]
Finished. Total time: 42.142s
Sending 'vendor_boot_b' (98304 KB) OKAY [ 3.087s]
Writing 'vendor_boot_b' OKAY [ 0.310s]
Finished. Total time: 3.400s
Sending 'xbl_b' (3600 KB) OKAY [ 0.117s]
Writing 'xbl_b' OKAY [ 0.033s]
Finished. Total time: 0.154s
Sending 'xbl_config_b' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_b' OKAY [ 0.008s]
Finished. Total time: 0.020s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'a' OKAY [ 0.037s]
Finished. Total time: 0.041s
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
Your phone(1) is rebooting
Press enter to continue
Spoiler: view full log (2)
Code:
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
Now connect your phone in fastboot mode to the PC via USB, then press enter to continue
product: lahaina
Erasing 'userdata' OKAY [ 0.012s]
F2FS-tools: mkfs.f2fs Ver: 1.15.0 (2022-05-20)
Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Enable Project quota
Error: Sparse mode is only supported for android
/usr/local/bin/make_f2fs failed with status 255
fastboot: error: Cannot generate image for userdata
Setting current slot to 'a' OKAY [ 0.006s]
Finished. Total time: 0.009s
Flashing A slot. Please wait...
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Sending 'abl_a' (148 KB) OKAY [ 0.006s]
Writing 'abl_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'aop_a' (204 KB) OKAY [ 0.008s]
Writing 'aop_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'bluetooth_a' (476 KB) OKAY [ 0.016s]
Writing 'bluetooth_a' OKAY [ 0.002s]
Finished. Total time: 0.026s
Sending 'boot_a' (98304 KB) OKAY [ 3.087s]
Writing 'boot_a' OKAY [ 0.193s]
Finished. Total time: 3.290s
Sending 'cpucp_a' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_a' OKAY [ 0.002s]
Finished. Total time: 0.016s
Sending 'devcfg_a' (52 KB) OKAY [ 0.003s]
Writing 'devcfg_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'dsp_a' (65536 KB) OKAY [ 2.050s]
Writing 'dsp_a' OKAY [ 0.171s]
Finished. Total time: 2.229s
Sending 'dtbo_a' (24576 KB) OKAY [ 0.720s]
Writing 'dtbo_a' OKAY [ 0.082s]
Finished. Total time: 0.810s
Sending 'featenabler_a' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_a' OKAY [ 0.001s]
Finished. Total time: 0.013s
Sending 'hyp_a' (3592 KB) OKAY [ 0.114s]
Writing 'hyp_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'imagefv_a' (524 KB) OKAY [ 0.017s]
Writing 'imagefv_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'keymaster_a' (264 KB) OKAY [ 0.009s]
Writing 'keymaster_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'modem_a' (173676 KB) OKAY [ 5.431s]
Writing 'modem_a' OKAY [ 0.541s]
Finished. Total time: 5.981s
Sending 'multiimgoem_a' (16 KB) OKAY [ 0.002s]
Writing 'multiimgoem_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'odm_a' (1052 KB) OKAY [ 0.035s]
Writing 'odm_a' FAILED (remote: '(odm_a_a) No such partition')
fastboot: error: Command failed
Sending sparse 'product_a' 1/3 (786360 KB) OKAY [ 24.684s]
Writing 'product_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'qupfw_a' (56 KB) OKAY [ 0.003s]
Writing 'qupfw_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'shrm_a' (48 KB) OKAY [ 0.002s]
Writing 'shrm_a' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending sparse 'system_a' 1/2 (786336 KB) OKAY [ 24.722s]
Writing 'system_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'system_ext_a' (484932 KB) OKAY [ 15.221s]
Writing 'system_ext_a' FAILED (remote: '(system_ext_a_a) No such partition')
fastboot: error: Command failed
Sending 'tz_a' (3636 KB) OKAY [ 0.111s]
Writing 'tz_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'uefisecapp_a' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'vbmeta_a' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_a' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_a' OKAY [ 0.001s]
Finished. Total time: 0.011s
Sending sparse 'vendor_a' 1/2 (786324 KB) OKAY [ 24.953s]
Writing 'vendor_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'vendor_boot_a' (98304 KB) OKAY [ 3.159s]
Writing 'vendor_boot_a' OKAY [ 0.351s]
Finished. Total time: 3.518s
Sending 'xbl_a' (3600 KB) OKAY [ 0.117s]
Writing 'xbl_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Sending 'xbl_config_a' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_a' FAILED (remote: 'Flashing is not allowed for Critical Partitions
')
fastboot: error: Command failed
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'b' OKAY [ 0.037s]
Finished. Total time: 0.040s
Flashing B slot. Please wait...
Rebooting into fastboot OKAY [ 0.002s]
< waiting for any device >
Finished. Total time: 18.899s
Sending 'abl_b' (148 KB) OKAY [ 0.005s]
Writing 'abl_b' OKAY [ 0.006s]
Finished. Total time: 0.015s
Sending 'aop_b' (204 KB) OKAY [ 0.007s]
Writing 'aop_b' OKAY [ 0.006s]
Finished. Total time: 0.018s
Sending 'bluetooth_b' (476 KB) OKAY [ 0.016s]
Writing 'bluetooth_b' OKAY [ 0.008s]
Finished. Total time: 0.028s
Sending 'boot_b' (98304 KB) OKAY [ 3.158s]
Writing 'boot_b' OKAY [ 1.316s]
Finished. Total time: 4.480s
Sending 'cpucp_b' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_b' OKAY [ 0.006s]
Finished. Total time: 0.017s
Sending 'devcfg_b' (52 KB) OKAY [ 0.002s]
Writing 'devcfg_b' OKAY [ 0.004s]
Finished. Total time: 0.010s
Sending 'dsp_b' (65536 KB) OKAY [ 2.051s]
Writing 'dsp_b' OKAY [ 0.307s]
Finished. Total time: 2.362s
Sending 'dtbo_b' (24576 KB) OKAY [ 0.807s]
Writing 'dtbo_b' OKAY [ 0.136s]
Finished. Total time: 0.948s
Sending 'featenabler_b' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_b' OKAY [ 0.004s]
Finished. Total time: 0.012s
Sending 'hyp_b' (3592 KB) OKAY [ 0.120s]
Writing 'hyp_b' OKAY [ 0.027s]
Finished. Total time: 0.150s
Sending 'imagefv_b' (524 KB) OKAY [ 0.018s]
Writing 'imagefv_b' OKAY [ 0.008s]
Finished. Total time: 0.030s
Sending 'keymaster_b' (264 KB) OKAY [ 0.010s]
Writing 'keymaster_b' OKAY [ 0.006s]
Finished. Total time: 0.020s
Sending 'modem_b' (173676 KB) OKAY [ 5.632s]
Writing 'modem_b' OKAY [ 0.407s]
Finished. Total time: 6.043s
Sending 'multiimgoem_b' (16 KB) OKAY [ 0.001s]
Writing 'multiimgoem_b' OKAY [ 0.002s]
Finished. Total time: 0.008s
Resizing 'odm_b' OKAY [ 0.008s]
Sending 'odm_b' (1052 KB) OKAY [ 0.036s]
Writing 'odm_b' OKAY [ 1.100s]
Finished. Total time: 1.148s
Resizing 'product_b' FAILED (remote: 'Not enough space to resize partition')
fastboot: error: Command failed
Sending 'qupfw_b' (56 KB) OKAY [ 0.003s]
Writing 'qupfw_b' OKAY [ 0.004s]
Finished. Total time: 0.011s
Sending 'shrm_b' (48 KB) OKAY [ 0.002s]
Writing 'shrm_b' OKAY [ 0.004s]
Finished. Total time: 0.010s
Resizing 'system_b' FAILED (remote: 'Not enough space to resize partition')
fastboot: error: Command failed
Resizing 'system_ext_b' OKAY [ 0.005s]
Sending sparse 'system_ext_b' 1/2 (262116 KB) OKAY [ 8.523s]
Writing 'system_ext_b' OKAY [ 1.584s]
Sending sparse 'system_ext_b' 2/2 (221164 KB) OKAY [ 7.047s]
Writing 'system_ext_b' OKAY [ 0.506s]
Finished. Total time: 17.842s
Sending 'tz_b' (3636 KB) OKAY [ 0.117s]
Writing 'tz_b' OKAY [ 0.029s]
Finished. Total time: 0.150s
Sending 'uefisecapp_b' (124 KB) OKAY [ 0.004s]
Writing 'uefisecapp_b' OKAY [ 0.005s]
Finished. Total time: 0.015s
Sending 'vbmeta_b' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' OKAY [ 0.004s]
Finished. Total time: 0.009s
Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_b' OKAY [ 0.004s]
Finished. Total time: 0.008s
Resizing 'vendor_b' OKAY [ 0.004s]
Sending sparse 'vendor_b' 1/5 (262104 KB) OKAY [ 8.253s]
Writing 'vendor_b' OKAY [ 1.588s]
Sending sparse 'vendor_b' 2/5 (262100 KB) OKAY [ 8.316s]
Writing 'vendor_b' OKAY [ 0.564s]
Sending sparse 'vendor_b' 3/5 (262120 KB) OKAY [ 8.262s]
Writing 'vendor_b' OKAY [ 0.570s]
Sending sparse 'vendor_b' 4/5 (262132 KB) OKAY [ 8.304s]
Writing 'vendor_b' OKAY [ 0.600s]
Sending sparse 'vendor_b' 5/5 (148720 KB) OKAY [ 4.932s]
Writing 'vendor_b' OKAY [ 0.436s]
Finished. Total time: 42.288s
Sending 'vendor_boot_b' (98304 KB) OKAY [ 3.197s]
Writing 'vendor_boot_b' OKAY [ 0.305s]
Finished. Total time: 3.505s
Sending 'xbl_b' (3600 KB) OKAY [ 0.118s]
Writing 'xbl_b' OKAY [ 0.032s]
Finished. Total time: 0.154s
Sending 'xbl_config_b' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_b' OKAY [ 0.007s]
Finished. Total time: 0.019s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'a' OKAY [ 0.037s]
Finished. Total time: 0.040s
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
Your phone(1) is rebooting
Press enter to continue
Spoiler: view full log (3)
Code:
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
Now connect your phone in fastboot mode to the PC via USB, then press enter to continue
product: lahaina
Erasing 'userdata' OKAY [ 0.012s]
F2FS-tools: mkfs.f2fs Ver: 1.15.0 (2022-05-20)
Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Enable Project quota
Error: Sparse mode is only supported for android
/usr/local/bin/make_f2fs failed with status 255
fastboot: error: Cannot generate image for userdata
Setting current slot to 'a' OKAY [ 0.037s]
Finished. Total time: 0.040s
Flashing A slot. Please wait...
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Sending 'abl_a' (148 KB) OKAY [ 0.006s]
Writing 'abl_a' OKAY [ 0.001s]
Finished. Total time: 0.015s
Sending 'aop_a' (204 KB) OKAY [ 0.008s]
Writing 'aop_a' OKAY [ 0.001s]
Finished. Total time: 0.018s
Sending 'bluetooth_a' (476 KB) OKAY [ 0.017s]
Writing 'bluetooth_a' OKAY [ 0.003s]
Finished. Total time: 0.027s
Sending 'boot_a' (98304 KB) OKAY [ 3.162s]
Writing 'boot_a' OKAY [ 0.272s]
Finished. Total time: 3.445s
Sending 'cpucp_a' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_a' OKAY [ 0.001s]
Finished. Total time: 0.016s
Sending 'devcfg_a' (52 KB) OKAY [ 0.003s]
Writing 'devcfg_a' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending 'dsp_a' (65536 KB) OKAY [ 2.119s]
Writing 'dsp_a' OKAY [ 0.183s]
Finished. Total time: 2.312s
Sending 'dtbo_a' (24576 KB) OKAY [ 0.784s]
Writing 'dtbo_a' OKAY [ 0.037s]
Finished. Total time: 0.829s
Sending 'featenabler_a' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_a' OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending 'hyp_a' (3592 KB) OKAY [ 0.114s]
Writing 'hyp_a' OKAY [ 0.008s]
Finished. Total time: 0.130s
Sending 'imagefv_a' (524 KB) OKAY [ 0.018s]
Writing 'imagefv_a' OKAY [ 0.001s]
Finished. Total time: 0.027s
Sending 'keymaster_a' (264 KB) OKAY [ 0.010s]
Writing 'keymaster_a' OKAY [ 0.002s]
Finished. Total time: 0.019s
Sending 'modem_a' (173676 KB) OKAY [ 5.595s]
Writing 'modem_a' OKAY [ 0.543s]
Finished. Total time: 6.145s
Sending 'multiimgoem_a' (16 KB) OKAY [ 0.002s]
Writing 'multiimgoem_a' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'odm_a' (1052 KB) OKAY [ 0.036s]
Writing 'odm_a' FAILED (remote: '(odm_a_a) No such partition')
fastboot: error: Command failed
Sending sparse 'product_a' 1/3 (786360 KB) OKAY [ 25.170s]
Writing 'product_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'qupfw_a' (56 KB) OKAY [ 0.003s]
Writing 'qupfw_a' OKAY [ 0.008s]
Finished. Total time: 0.018s
Sending 'shrm_a' (48 KB) OKAY [ 0.003s]
Writing 'shrm_a' OKAY [ 0.007s]
Finished. Total time: 0.018s
Sending sparse 'system_a' 1/2 (786336 KB) OKAY [ 25.236s]
Writing 'system_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'system_ext_a' (484932 KB) OKAY [ 15.759s]
Writing 'system_ext_a' FAILED (remote: '(system_ext_a_a) No such partition')
fastboot: error: Command failed
Sending 'tz_a' (3636 KB) OKAY [ 0.120s]
Writing 'tz_a' OKAY [ 0.011s]
Finished. Total time: 0.139s
Sending 'uefisecapp_a' (124 KB) OKAY [ 0.006s]
Writing 'uefisecapp_a' OKAY [ 0.003s]
Finished. Total time: 0.016s
Sending 'vbmeta_a' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_a' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_a' OKAY [ 0.001s]
Finished. Total time: 0.011s
Sending sparse 'vendor_a' 1/2 (786324 KB) OKAY [ 25.080s]
Writing 'vendor_a' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'vendor_boot_a' (98304 KB) OKAY [ 3.114s]
Writing 'vendor_boot_a' OKAY [ 0.293s]
Finished. Total time: 3.415s
Sending 'xbl_a' (3600 KB) OKAY [ 0.117s]
Writing 'xbl_a' OKAY [ 0.012s]
Finished. Total time: 0.136s
Sending 'xbl_config_a' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_a' OKAY [ 0.003s]
Finished. Total time: 0.019s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'b' OKAY [ 0.037s]
Finished. Total time: 0.040s
Flashing B slot. Please wait...
Rebooting into fastboot OKAY [ 0.002s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Sending 'abl_b' (148 KB) OKAY [ 0.006s]
Writing 'abl_b' OKAY [ 0.001s]
Finished. Total time: 0.017s
Sending 'aop_b' (204 KB) OKAY [ 0.008s]
Writing 'aop_b' OKAY [ 0.001s]
Finished. Total time: 0.017s
Sending 'bluetooth_b' (476 KB) OKAY [ 0.017s]
Writing 'bluetooth_b' OKAY [ 0.003s]
Finished. Total time: 0.027s
Sending 'boot_b' (98304 KB) OKAY [ 3.090s]
Writing 'boot_b' OKAY [ 0.308s]
Finished. Total time: 3.408s
Sending 'cpucp_b' (184 KB) OKAY [ 0.007s]
Writing 'cpucp_b' OKAY [ 0.001s]
Finished. Total time: 0.016s
Sending 'devcfg_b' (52 KB) OKAY [ 0.003s]
Writing 'devcfg_b' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending 'dsp_b' (65536 KB) OKAY [ 2.058s]
Writing 'dsp_b' OKAY [ 0.216s]
Finished. Total time: 2.281s
Sending 'dtbo_b' (24576 KB) OKAY [ 0.773s]
Writing 'dtbo_b' OKAY [ 0.082s]
Finished. Total time: 0.863s
Sending 'featenabler_b' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_b' OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending 'hyp_b' (3592 KB) OKAY [ 0.115s]
Writing 'hyp_b' OKAY [ 0.012s]
Finished. Total time: 0.135s
Sending 'imagefv_b' (524 KB) OKAY [ 0.019s]
Writing 'imagefv_b' OKAY [ 0.001s]
Finished. Total time: 0.028s
Sending 'keymaster_b' (264 KB) OKAY [ 0.010s]
Writing 'keymaster_b' OKAY [ 0.002s]
Finished. Total time: 0.020s
Sending 'modem_b' (173676 KB) OKAY [ 5.469s]
Writing 'modem_b' OKAY [ 0.536s]
Finished. Total time: 6.013s
Sending 'multiimgoem_b' (16 KB) OKAY [ 0.002s]
Writing 'multiimgoem_b' OKAY [ 0.001s]
Finished. Total time: 0.011s
Sending 'odm_b' (1052 KB) OKAY [ 0.034s]
Writing 'odm_b' FAILED (remote: '(odm_b_b) No such partition')
fastboot: error: Command failed
Sending sparse 'product_b' 1/3 (786360 KB) OKAY [ 25.229s]
Writing 'product_b' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'qupfw_b' (56 KB) OKAY [ 0.003s]
Writing 'qupfw_b' OKAY [ 0.005s]
Finished. Total time: 0.015s
Sending 'shrm_b' (48 KB) OKAY [ 0.003s]
Writing 'shrm_b' OKAY [ 0.005s]
Finished. Total time: 0.015s
Sending sparse 'system_b' 1/2 (786336 KB) OKAY [ 25.048s]
Writing 'system_b' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'system_ext_b' (484932 KB) OKAY [ 15.432s]
Writing 'system_ext_b' FAILED (remote: '(system_ext_b_b) No such partition')
fastboot: error: Command failed
Sending 'tz_b' (3636 KB) OKAY [ 0.114s]
Writing 'tz_b' OKAY [ 0.009s]
Finished. Total time: 0.130s
Sending 'uefisecapp_b' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp_b' OKAY [ 0.002s]
Finished. Total time: 0.015s
Sending 'vbmeta_b' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_b' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending sparse 'vendor_b' 1/2 (786324 KB) OKAY [ 24.951s]
Writing 'vendor_b' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Sending 'vendor_boot_b' (98304 KB) OKAY [ 3.133s]
Writing 'vendor_boot_b' OKAY [ 0.231s]
Finished. Total time: 3.372s
Sending 'xbl_b' (3600 KB) OKAY [ 0.117s]
Writing 'xbl_b' OKAY [ 0.012s]
Finished. Total time: 0.136s
Sending 'xbl_config_b' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config_b' OKAY [ 0.002s]
Finished. Total time: 0.019s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Setting current slot to 'a' OKAY [ 0.037s]
Finished. Total time: 0.040s
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
Your phone(1) is rebooting
Press enter to continue
Why trying to fix a when b is working? Redo what you did at the beginning until it boots and enjoy your phone?
Check your fastboot drivers and make sure they are the latest, and from what i Can see on the last log, your super partition is corrupted, try reflashing it then use Sh4ttered tool then Switch your partition if it doesn't boot on a or b one by the other one, it should work
From what i understood on other forums, a and b partitions work like this : one is for the rom, the other is for incremental updates. So you only need one to work i suppose, i'm not sure of what i say but that's my guess