Themes / Apps / Mods Nothing Phone 1 Flashing Utilities

Search This thread

AntoXik72

Senior Member
Feb 27, 2013
100
50
Even tho you find the exact size, all those a and b slots are all in the super partition in nothing phone. This only work if you have one partition still rolling. If not, this won't work. Pain in the butt I know, but that's very new and I guess dev on this phone is gonna be real hard because of that
 

Oswald Boelcke

Senior Moderator / Moderator Committee
Staff member
Hello guys!
As I wrote on other threads, these some tools that I wrote in order to download, extract and flash the firmware of the NP1 via fastboot. Check them out! And feel free to contribute!

@sh4tteredd Prefix of thread changed from "Development" to "Themes/Apps/Mods" as it didn't qualify for the first one! Please don't change it.

Prior to your next posting, please read the announcements and guidances that are stuck at the top of every forum or section like
Thanks for your cooperation.

Regards
Oswald Boelcke
Senior Moderator
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
@sh4tteredd Prefix of thread changed from "Development" to "Themes/Apps/Mods" as it didn't qualify for the first one! Please don't change it.

Prior to your next posting, please read the announcements and guidances that are stuck at the top of every forum or section like
Thanks for your cooperation.

Regards
Oswald Boelcke
Senior Moderator
got it, so sorry for the error!
 
  • Like
Reactions: Oswald Boelcke

icetea250

Member
Sep 19, 2022
14
1
I can't get _a to flash properly
I am able to flush all parts of the log except _b and the attached log.
Also, after flashing, the fastboot loop repeats itself and keeps booting and launching fastboot even after powering off.
Any solutions or advice would be appreciated.

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
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
I can't get _a to flash properly
I am able to flush all parts of the log except _b and the attached log.
Also, after flashing, the fastboot loop repeats itself and keeps booting and launching fastboot even after powering off.
Any solutions or advice would be appreciated.

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
btw, if the flashing of system vendor etc gives problems I usually suggest to:

  1. flash the super partition backup
  2. boot to recovery and wipe
  3. boot into fastboot and flash with flash_all script (if you had problems before flashing the super partition now it should work without problems)
  4. boot to recovery and wipe
  5. boot into system
follow these:
USE THE LATEST PLATFORM TOOLS
fastboot reboot bootloader fastboot reboot fastboot
flash this: https://mega.nz/file/tVoEXJ4A#vA_X4y7R9X_ptEWbPJ0juuKTUAayW8SU8jB4URC-kig with
fastboot flash super DOWNLOADED.IMG fastboot reboot bootloader

run the script flash_all script

if it doesn't boot at first try, try to wipe from recovery and/or re-run the script from fastboot
 
  • Like
Reactions: icetea250

icetea250

Member
Sep 19, 2022
14
1
follow these:
USE THE LATEST PLATFORM TOOLS
fastboot reboot bootloader fastboot reboot fastboot
flash this: https://mega.nz/file/tVoEXJ4A#vA_X4y7R9X_ptEWbPJ0juuKTUAayW8SU8jB4URC-kig with
fastboot flash super DOWNLOADED.IMG fastboot reboot bootloader

run the script flash_all script

if it doesn't boot at first try, try to wipe from recovery and/or re-run the script from fastboot
Thanks for the reply.
I tried running it, but it only changed some of the logs and did not fix the fastboot loop.

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
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
Thanks for the reply.
I tried running it, but it only changed some of the logs and did not fix the fastboot loop.

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
please write
fastboot --version
and sent me the output
 

icetea250

Member
Sep 19, 2022
14
1
Attempted to flush again after fastboot critical unlock. (Logged below)
After that, I rebooted and went into Fastboot mode, so I executed fastboot reboot fastboot, but I couldn't execute it because it displayed
Code:
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Then, I executed fastboot setactive b, and when I rebooted, I started up in recovery mode, so I went into Fastboot mode, executed fastboot flash super super.img, and flashed it.
Then, when you reboot, you're in a Fastboot loop.

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
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
Attempted to flush again after fastboot critical unlock. (Logged below)
After that, I rebooted and went into Fastboot mode, so I executed fastboot reboot fastboot, but I couldn't execute it because it displayed
Code:
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Then, I executed fastboot setactive b, and when I rebooted, I started up in recovery mode, so I went into Fastboot mode, executed fastboot flash super super.img, and flashed it.
Then, when you reboot, you're in a Fastboot loop.

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
Hello,
sorry for late reply... Did you solved your issue? If not write me a PM here on XDA, I'll try yo help you to figure out this!
 

WizardDeviZ

Senior Member
Feb 21, 2015
65
7
Mozzate
Nothing Phone 1
Is there a way to copy the a slot and clone it into A? i need to restore MEET_DEVICE_INTEGRITY that means my bl slot is somehow not liked by Google, for that i need to reinstall my stock rom, but I can't downgrade neither local sideload the incremental package again, is there something i can do?
 

Mopishcross17

Member
Dec 18, 2021
8
0
Hello all
So bricked/soft bricked my nothing phone trying to unroot it. Have flashed the Super.img and used the script to no avail. having issues flashing the files that need to use fastbootd normally. Iv tried replacing the .SH file in the script and that didn't help the .bat file will not launch. Not to sure where to go from here

Boot loader is unlocked
Can't access Fastbootd
Flashed Super.img
ran the script
Errors flashing certain partitions that normally need fastbootd
Tried with modified script for use without rebooting to fastbootd
.bat would not launch or hang
Fastboot wont recognize the force command when attempting manually
 
Last edited:

Mopishcross17

Member
Dec 18, 2021
8
0
This is the output of the script after running it with the force commands manually

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...

EDIT: Redownload latest ADB and fastboot tools. Force does work but now errors out saying there is no partition on certain images

C:\Users\Alex\Desktop\platform-tools>fastboot -w
< waiting for any device >
^C
C:\Users\Alex\Desktop\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 0.020s]

F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2020-08-24)

Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Enable Project quota
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 224472728 (109605 MB)
Info: zone aligned segment0 blkaddr: 512
Info: add quota type = 0 => 4
Info: add quota type = 1 => 5
Info: add quota type = 2 => 6
Info: format version with
""
[f2fs_init_sit_area: 626] Filling sit area at offset 0x00600000
[f2fs_init_nat_area: 660] Filling nat area at offset 0x00e00000
[f2fs_write_root_inode:1274] Writing root inode (hot node), 1cc00 0 200 at offset 0x00117760
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d201, 0001d202
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117761
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d203, 0001d204
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117762
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d205, 0001d206
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117763
[f2fs_update_nat_root:1461] Writing nat root, at offset 0x00000e00
[f2fs_add_default_dentry_root:1658] Writing default dentry root, at offset 0x0001d200
Info: Overprovision ratio = 0.610%
Info: Overprovision segments = 665 (GC reserved = 335)
[f2fs_write_check_point_pack: 819] Writing main segments, cp at offset 0x00000200
[f2fs_write_check_point_pack: 975] Writing Segment summary for HOT/WARM/COLD_DATA, at offset 0x00000201
[f2fs_write_check_point_pack:1002] Writing Segment summary for HOT_NODE, at offset 0x00000202
[f2fs_write_check_point_pack:1014] Writing Segment summary for WARM_NODE, at offset 0x00000203
[f2fs_write_check_point_pack:1025] Writing Segment summary for COLD_NODE, at offset 0x00000204
[f2fs_write_check_point_pack:1033] Writing cp page2, at offset 0x00000205
[f2fs_write_check_point_pack:1053] Writing NAT bits pages, at offset 0x000003fe
[f2fs_write_check_point_pack:1074] Writing cp page 1 of checkpoint pack 2, at offset 0x00000400
[f2fs_write_check_point_pack:1093] Writing cp page 2 of checkpoint pack 2, at offset 0x00000405
[f2fs_write_super_block:1126] Writing super block, at offset 0x00000000
Info: format successful
Sending 'userdata' (97 KB) OKAY [ 0.004s]
Writing 'userdata' OKAY [ 0.018s]
Erasing 'metadata' OKAY [ 4.153s]
mke2fs 1.46.2 (28-Feb-2021)
Creating filesystem with 4096 4k blocks and 4096 inodes

Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

Sending 'metadata' (44 KB) OKAY [ 0.003s]
Writing 'metadata' OKAY [ 0.011s]
Finished. Total time: 5.004s

C:\Users\Alex\Desktop\platform-tools>fastboot flash abl ./images/abl.img
Sending 'abl' (148 KB) OKAY [ 0.005s]
Writing 'abl' OKAY [ 0.007s]
Finished. Total time: 0.024s

C:\Users\Alex\Desktop\platform-tools>fastboot flash aop ./images/aop.img
Sending 'aop' (204 KB) OKAY [ 0.007s]
Writing 'aop' OKAY [ 0.008s]
Finished. Total time: 0.026s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash bluetooth ./images/bluetooth.img
Sending 'bluetooth' (476 KB) OKAY [ 0.013s]
Writing 'bluetooth' OKAY [ 0.009s]
Finished. Total time: 0.033s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash boot ./images/boot.img
Sending 'boot_a' (98304 KB) OKAY [ 2.445s]
Writing 'boot_a' OKAY [ 0.273s]
Finished. Total time: 2.734s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash cpucp ./images/cpucp.img
Sending 'cpucp' (184 KB) OKAY [ 0.007s]
Writing 'cpucp' OKAY [ 0.008s]
Finished. Total time: 0.025s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash devcfg ./images/devcfg.img
Sending 'devcfg' (52 KB) OKAY [ 0.002s]
Writing 'devcfg' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash dsp ./images/dsp.img
Sending 'dsp' (65536 KB) OKAY [ 1.629s]
Writing 'dsp' OKAY [ 0.173s]
Finished. Total time: 1.812s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash dtbo ./images/dtbo.img
Sending 'dtbo' (24576 KB) OKAY [ 0.610s]
Writing 'dtbo' OKAY [ 0.053s]
Finished. Total time: 0.675s

C:\Users\Alex\Desktop\platform-tools>fastboot flash featenabler ./images/featenabler.img
Sending 'featenabler' (88 KB) OKAY [ 0.004s]
Writing 'featenabler' OKAY [ 0.007s]
Finished. Total time: 0.026s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash hyp ./images/hyp.img
Sending 'hyp' (3592 KB) OKAY [ 0.090s]
Writing 'hyp' OKAY [ 0.015s]
Finished. Total time: 0.117s

C:\Users\Alex\Desktop\platform-tools>fastboot flash imagefv ./images/imagefv.img
Sending 'imagefv' (524 KB) OKAY [ 0.015s]
Writing 'imagefv' OKAY [ 0.009s]
Finished. Total time: 0.035s

C:\Users\Alex\Desktop\platform-tools>fastboot flash keymaster ./images/keymaster.img
Sending 'keymaster' (264 KB) OKAY [ 0.008s]
Writing 'keymaster' OKAY [ 0.008s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot flash modem ./images/modem.img
Sending 'modem_a' (174012 KB) OKAY [ 4.324s]
Writing 'modem_a' OKAY [ 0.585s]
Finished. Total time: 4.923s

C:\Users\Alex\Desktop\platform-tools>fastboot flash multiimgoem ./images/multiimgoem.img
Sending 'multiimgoem' (16 KB) OKAY [ 0.002s]
Writing 'multiimgoem' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>fastboot flash odm ./images/odm.img
Sending 'odm' (1052 KB) OKAY [ 0.028s]
Writing 'odm' FAILED (remote: '(odm_a) No such partition')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash odm_b ./images/odm.img
Sending 'odm_b' (1052 KB) OKAY [ 0.027s]
Writing 'odm_b' FAILED (remote: '(odm_b_a) No such partition')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash product ./images/product.img
Invalid sparse file format at header magic
Sending sparse 'product' 1/3 (786360 KB) OKAY [ 19.611s]
Writing 'product' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash shrm ./images/shrm.img
Sending 'shrm' (48 KB) OKAY [ 0.003s]
Writing 'shrm' OKAY [ 0.016s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash system ./images/system.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/3 (786340 KB) OKAY [ 19.636s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash tz ./images/tz.img
Sending 'tz' (3636 KB) OKAY [ 0.091s]
Writing 'tz' OKAY [ 0.016s]
Finished. Total time: 0.118s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash uefisecapp ./images/uefisecapp.img
Sending 'uefisecapp' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp' OKAY [ 0.010s]
Finished. Total time: 0.025s

C:\Users\Alex\Desktop\platform-tools>fastboot flash vbmeta ./images/vbmeta.img
Sending 'vbmeta' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta' OKAY [ 0.008s]
Finished. Total time: 0.020s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash vbmeta_system ./images/vbmeta_system.img
Sending 'vbmeta_system' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta_system' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash vendor ./images/vendor.img
Invalid sparse file format at header magic
Sending sparse 'vendor' 1/2 (786324 KB) OKAY [ 19.624s]
Writing 'vendor' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash vendor_boot ./images/vendor_boot.img
Sending 'vendor_boot' (98304 KB) OKAY [ 2.440s]
Writing 'vendor_boot' OKAY [ 0.389s]
Finished. Total time: 2.840s

C:\Users\Alex\Desktop\platform-tools>fastboot flash xbl ./images/xbl.img
Sending 'xbl' (3600 KB) OKAY [ 0.091s]
Writing 'xbl' OKAY [ 0.019s]
Finished. Total time: 0.121s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash xbl_config ./images/xbl_config.img
Sending 'xbl_config' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config' OKAY [ 0.009s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot $* reboot
fastboot: usage: unknown command $*

C:\Users\Alex\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.002s
 
Last edited:

AntoXik72

Senior Member
Feb 27, 2013
100
50
This is the output of the script after running it with the force commands manually

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...

EDIT: Redownload latest ADB and fastboot tools. Force does work but now errors out saying there is no partition on certain images

C:\Users\Alex\Desktop\platform-tools>fastboot -w
< waiting for any device >
^C
C:\Users\Alex\Desktop\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 0.020s]

F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2020-08-24)

Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Enable Project quota
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 224472728 (109605 MB)
Info: zone aligned segment0 blkaddr: 512
Info: add quota type = 0 => 4
Info: add quota type = 1 => 5
Info: add quota type = 2 => 6
Info: format version with
""
[f2fs_init_sit_area: 626] Filling sit area at offset 0x00600000
[f2fs_init_nat_area: 660] Filling nat area at offset 0x00e00000
[f2fs_write_root_inode:1274] Writing root inode (hot node), 1cc00 0 200 at offset 0x00117760
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d201, 0001d202
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117761
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d203, 0001d204
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117762
[f2fs_write_default_quota:1350] Writing quota data, at offset 0001d205, 0001d206
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 1cc00 0 200 at offset 0x00117763
[f2fs_update_nat_root:1461] Writing nat root, at offset 0x00000e00
[f2fs_add_default_dentry_root:1658] Writing default dentry root, at offset 0x0001d200
Info: Overprovision ratio = 0.610%
Info: Overprovision segments = 665 (GC reserved = 335)
[f2fs_write_check_point_pack: 819] Writing main segments, cp at offset 0x00000200
[f2fs_write_check_point_pack: 975] Writing Segment summary for HOT/WARM/COLD_DATA, at offset 0x00000201
[f2fs_write_check_point_pack:1002] Writing Segment summary for HOT_NODE, at offset 0x00000202
[f2fs_write_check_point_pack:1014] Writing Segment summary for WARM_NODE, at offset 0x00000203
[f2fs_write_check_point_pack:1025] Writing Segment summary for COLD_NODE, at offset 0x00000204
[f2fs_write_check_point_pack:1033] Writing cp page2, at offset 0x00000205
[f2fs_write_check_point_pack:1053] Writing NAT bits pages, at offset 0x000003fe
[f2fs_write_check_point_pack:1074] Writing cp page 1 of checkpoint pack 2, at offset 0x00000400
[f2fs_write_check_point_pack:1093] Writing cp page 2 of checkpoint pack 2, at offset 0x00000405
[f2fs_write_super_block:1126] Writing super block, at offset 0x00000000
Info: format successful
Sending 'userdata' (97 KB) OKAY [ 0.004s]
Writing 'userdata' OKAY [ 0.018s]
Erasing 'metadata' OKAY [ 4.153s]
mke2fs 1.46.2 (28-Feb-2021)
Creating filesystem with 4096 4k blocks and 4096 inodes

Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

Sending 'metadata' (44 KB) OKAY [ 0.003s]
Writing 'metadata' OKAY [ 0.011s]
Finished. Total time: 5.004s

C:\Users\Alex\Desktop\platform-tools>fastboot flash abl ./images/abl.img
Sending 'abl' (148 KB) OKAY [ 0.005s]
Writing 'abl' OKAY [ 0.007s]
Finished. Total time: 0.024s

C:\Users\Alex\Desktop\platform-tools>fastboot flash aop ./images/aop.img
Sending 'aop' (204 KB) OKAY [ 0.007s]
Writing 'aop' OKAY [ 0.008s]
Finished. Total time: 0.026s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash bluetooth ./images/bluetooth.img
Sending 'bluetooth' (476 KB) OKAY [ 0.013s]
Writing 'bluetooth' OKAY [ 0.009s]
Finished. Total time: 0.033s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash boot ./images/boot.img
Sending 'boot_a' (98304 KB) OKAY [ 2.445s]
Writing 'boot_a' OKAY [ 0.273s]
Finished. Total time: 2.734s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash cpucp ./images/cpucp.img
Sending 'cpucp' (184 KB) OKAY [ 0.007s]
Writing 'cpucp' OKAY [ 0.008s]
Finished. Total time: 0.025s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash devcfg ./images/devcfg.img
Sending 'devcfg' (52 KB) OKAY [ 0.002s]
Writing 'devcfg' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash dsp ./images/dsp.img
Sending 'dsp' (65536 KB) OKAY [ 1.629s]
Writing 'dsp' OKAY [ 0.173s]
Finished. Total time: 1.812s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash dtbo ./images/dtbo.img
Sending 'dtbo' (24576 KB) OKAY [ 0.610s]
Writing 'dtbo' OKAY [ 0.053s]
Finished. Total time: 0.675s

C:\Users\Alex\Desktop\platform-tools>fastboot flash featenabler ./images/featenabler.img
Sending 'featenabler' (88 KB) OKAY [ 0.004s]
Writing 'featenabler' OKAY [ 0.007s]
Finished. Total time: 0.026s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash hyp ./images/hyp.img
Sending 'hyp' (3592 KB) OKAY [ 0.090s]
Writing 'hyp' OKAY [ 0.015s]
Finished. Total time: 0.117s

C:\Users\Alex\Desktop\platform-tools>fastboot flash imagefv ./images/imagefv.img
Sending 'imagefv' (524 KB) OKAY [ 0.015s]
Writing 'imagefv' OKAY [ 0.009s]
Finished. Total time: 0.035s

C:\Users\Alex\Desktop\platform-tools>fastboot flash keymaster ./images/keymaster.img
Sending 'keymaster' (264 KB) OKAY [ 0.008s]
Writing 'keymaster' OKAY [ 0.008s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot flash modem ./images/modem.img
Sending 'modem_a' (174012 KB) OKAY [ 4.324s]
Writing 'modem_a' OKAY [ 0.585s]
Finished. Total time: 4.923s

C:\Users\Alex\Desktop\platform-tools>fastboot flash multiimgoem ./images/multiimgoem.img
Sending 'multiimgoem' (16 KB) OKAY [ 0.002s]
Writing 'multiimgoem' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>fastboot flash odm ./images/odm.img
Sending 'odm' (1052 KB) OKAY [ 0.028s]
Writing 'odm' FAILED (remote: '(odm_a) No such partition')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash odm_b ./images/odm.img
Sending 'odm_b' (1052 KB) OKAY [ 0.027s]
Writing 'odm_b' FAILED (remote: '(odm_b_a) No such partition')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash product ./images/product.img
Invalid sparse file format at header magic
Sending sparse 'product' 1/3 (786360 KB) OKAY [ 19.611s]
Writing 'product' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash shrm ./images/shrm.img
Sending 'shrm' (48 KB) OKAY [ 0.003s]
Writing 'shrm' OKAY [ 0.016s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash system ./images/system.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/3 (786340 KB) OKAY [ 19.636s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>fastboot flash tz ./images/tz.img
Sending 'tz' (3636 KB) OKAY [ 0.091s]
Writing 'tz' OKAY [ 0.016s]
Finished. Total time: 0.118s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash uefisecapp ./images/uefisecapp.img
Sending 'uefisecapp' (124 KB) OKAY [ 0.005s]
Writing 'uefisecapp' OKAY [ 0.010s]
Finished. Total time: 0.025s

C:\Users\Alex\Desktop\platform-tools>fastboot flash vbmeta ./images/vbmeta.img
Sending 'vbmeta' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta' OKAY [ 0.008s]
Finished. Total time: 0.020s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash vbmeta_system ./images/vbmeta_system.img
Sending 'vbmeta_system' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta_system' OKAY [ 0.008s]
Finished. Total time: 0.021s

C:\Users\Alex\Desktop\platform-tools>fastboot --force flash vendor ./images/vendor.img
Invalid sparse file format at header magic
Sending sparse 'vendor' 1/2 (786324 KB) OKAY [ 19.624s]
Writing 'vendor' FAILED (remote: 'Partition not found')
fastboot: error: Command failed

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash vendor_boot ./images/vendor_boot.img
Sending 'vendor_boot' (98304 KB) OKAY [ 2.440s]
Writing 'vendor_boot' OKAY [ 0.389s]
Finished. Total time: 2.840s

C:\Users\Alex\Desktop\platform-tools>fastboot flash xbl ./images/xbl.img
Sending 'xbl' (3600 KB) OKAY [ 0.091s]
Writing 'xbl' OKAY [ 0.019s]
Finished. Total time: 0.121s

C:\Users\Alex\Desktop\platform-tools>
C:\Users\Alex\Desktop\platform-tools>fastboot flash xbl_config ./images/xbl_config.img
Sending 'xbl_config' (224 KB) OKAY [ 0.008s]
Writing 'xbl_config' OKAY [ 0.009s]
Finished. Total time: 0.028s

C:\Users\Alex\Desktop\platform-tools>fastboot $* reboot
fastboot: usage: unknown command $*

C:\Users\Alex\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.002s
Your super partition has not been flashed correctly. All the failed parts are located into super partition. Yours is corrupted, try reflashing it then run the script. Remember all this is for 1.1.3 only. Then, after flashing super partition, the script should run perfectly. Other thing : check if the failed lines are only on a or b slot. If it says ok on a slot or another, Switch your slot to the one working
 

Mopishcross17

Member
Dec 18, 2021
8
0
Your super partition has not been flashed correctly. All the failed parts are located into super partition. Yours is corrupted, try reflashing it then run the script. Remember all this is for 1.1.3 only. Then, after flashing super partition, the script should run perfectly. Other thing : check if the failed lines are only on a or b slot. If it says ok on a slot or another, Switch your slot to the one working
I have been flashing with the super.img on the thread and still getting the same result using Fastboot flash super <path to super.img>

Just at a loss at this point as to what else to do
 

AntoXik72

Senior Member
Feb 27, 2013
100
50
Do you have a log on when you flash super partition, does it flash correctly? Because that solved the issue on mine
 

Mopishcross17

Member
Dec 18, 2021
8
0
Do you have a log on when you flash super partition, does it flash correctly? Because that solved the issue on mine
Thats what im getting in the output
C:\Users\Alex\Desktop\platform-tools>fastboot flash super super.img
Invalid sparse file format at header magic
Sending sparse 'super' 1/9 (786428 KB) OKAY [ 19.574s]
Writing 'super' OKAY [ 0.013s]
Sending sparse 'super' 2/9 (786428 KB) OKAY [ 19.587s]
Writing 'super' OKAY [ 0.018s]
Sending sparse 'super' 3/9 (786428 KB) OKAY [ 19.609s]
Writing 'super' OKAY [ 0.012s]
Sending sparse 'super' 4/9 (698716 KB) OKAY [ 17.393s]
Writing 'super' OKAY [ 0.012s]
Sending sparse 'super' 5/9 (765968 KB) OKAY [ 19.103s]
Writing 'super' OKAY [ 0.010s]
Sending sparse 'super' 6/9 (763420 KB) OKAY [ 19.074s]
Writing 'super' OKAY [ 0.017s]
Sending sparse 'super' 7/9 (786097 KB) OKAY [ 19.636s]
Writing 'super' OKAY [ 0.009s]
Sending sparse 'super' 8/9 (786089 KB) OKAY [ 19.745s]
Writing 'super' OKAY [ 0.029s]
Sending sparse 'super' 9/9 (102406 KB) OKAY [ 2.853s]
Writing 'super' OKAY [ 6.798s]
Finished. Total time: 167.087s
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Hello guys!
    As I wrote on other threads, these some tools that I wrote in order to download, extract and flash the firmware of the NP1 via fastboot. Check them out! And feel free to contribute!

    4
    Here a backup of my super partition (maybe this helps somebody) - EEA 1.1.3:

    3
    if they would charge me a huge amount i just let them send it back and let you know.
    i wouldnt pay too much, and since bootloader and fastbootd and the recovery menu still works i dont give up on that phone
    Just discovered on the android guide how to get all the partition of the phone (fastboot getvar all) and how to create them on fastbootd, so if only I had my NP(1) available for testing maybe we could found out the problem... sorry for discovering it just now lol. Looking forward to complete 100% the flash tool
    2
    Attempted to flush again after fastboot critical unlock. (Logged below)
    After that, I rebooted and went into Fastboot mode, so I executed fastboot reboot fastboot, but I couldn't execute it because it displayed
    Code:
    fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
    Then, I executed fastboot setactive b, and when I rebooted, I started up in recovery mode, so I went into Fastboot mode, executed fastboot flash super super.img, and flashed it.
    Then, when you reboot, you're in a Fastboot loop.

    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
    Hello,
    sorry for late reply... Did you solved your issue? If not write me a PM here on XDA, I'll try yo help you to figure out this!
    2
    Finally fixed my phone from brick! A huge thanks to Sh4tterred! To those of you who are in the same situation, check the Post Help To developper, download the backup of HofaTheRipper super partition and just flash it via fastboot flash super super.img