Themes / Apps / Mods Nothing Phone 1 Flashing Utilities

Search This thread

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
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
 

pankspoo

Senior Member
Jun 27, 2013
1,863
983
in front of ENCHILADA
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!

Windows tool ?
 

AntoXik72

Senior Member
Feb 27, 2013
100
50
sending 'odm' (1048 KB) OKAY[ 0.026s]
writing 'odm' FAILED (remote: '(odm_a) No such partition' )

after the reboot in fastbootd i have problems with 4 partitions
Vendor.img
(stops at sparse 1/5) "no such file or directory"

product.img
(stops at sparse 1/8) "no such file or directory"

system.img
(stops at sparse 1/6) "no such file or directory"

system_ext.img
(stops at sparse 1/2) "no such file or directory"


product: lahaina
Erasing 'userdata' OKAY [ 0.016s]
C:\WINDOWS/make_f2fs failed: 3221225477 (i dont really know what this means)
fastboot: error: Cannot generate image for userdata
Sending 'abl' (148 KB) OKAY [ 0.004s]
Writing 'abl' OKAY [ 0.002s]
Finished. Total time: 0.014s
...
...
Writing 'xbl_config' OKAY [ 0.002s]
Finished. Total time: 0.016s
(so far it works)
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >

Invalid sparse file format at header magic
Sending sparse 'vendor' 1/5 (262104 KB) OKAY [ 6.354s]
Writing 'vendor' FAILED (remote: 'No such f or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'product' 1/8 (262108 KB) OKAY [ 6.403s]
Writing 'product' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
...
(and the rest goes by so fast that the window closes before i can copy it, but same error)
Not sure why, odm wasn't working for me either, tried "fastboot --force flash super odm.img" and it worked, same for system_ext but for vendor product and system, they went through 1/3, 2/3 and 3/3 but still no boot
 
Last edited:

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
Not sure why, odm wasn't working for me either, tried "fastboot --force flash super odm.img" and it worked, same for system_ext but for vendor product and system, they went through 1/3, 2/3 and 3/3 but still no boot
because they aren't super img. A super image file would have made way easier the flash of the phone but actually there isn't a super.img available. I hope I can test the flash on the phone ASAP (mine currently is out for a display issue).

A super.img is an image that can be flashed directly to the super partition. It automatically bundles the contents of logical partitions, meaning it contains system.img, vendor.img, and so on
 

AntoXik72

Senior Member
Feb 27, 2013
100
50
I don't think that I can do anything at this point. Probably is something about a/b slots... I need to do some testing with my np(1) when it'll return from repair. For now thanks for everything! If you have time please write this command fastboot getvar all and look for current-slot and paste here the result.
Current slot for mine is B but I tried switching to A, same result. Tried all your scripts, no one is working because of the super partition being untouchable. Everything that touches at vendor, system, product or odm doesn't work. I tried adb sideload from the recovery still not working, stops at 47%, when trying to flash system i guess, timestamp error, the phone thinks i'm downgrading and wont pass 47%.

I guess I'll have to wait for paranoid or twrp

Edit : Maybe MSM Tools like on the Oneplus would work?
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
Current slot for mine is B but I tried switching to A, same result. Tried all your scripts, no one is working because of the super partition being untouchable. Everything that touches at vendor, system, product or odm doesn't work. I tried adb sideload from the recovery still not working, stops at 47%, when trying to flash system i guess, timestamp error, the phone thinks i'm downgrading and wont pass 47%.

I guess I'll have to wait for paranoid or twrp

Edit : Maybe MSM Tools like on the Oneplus would work?
MSM Tools (EDL Mode) should (must) work. We have to wait Nothing to release it
 
Last edited:

AntoXik72

Senior Member
Feb 27, 2013
100
50
Carl twitted 1 hour ago about an update rolling out now, maybe we can flash it through sideload hoping that timestamp let us pass the 47%. Can someone share the zip file once out?
 

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
Carl twitted 1 hour ago about an update rolling out now, maybe we can flash it through sideload hoping that timestamp let us pass the 47%. Can someone share the zip file once out?
if it does please let me know, im currently waiting to get my phone back, either repaired or replaced i dont know yet, but a friend of mine has the same issue now, he waits to see what the provider or the shop say about a repair, how much it will cost
 

AntoXik72

Senior Member
Feb 27, 2013
100
50
With the new 1.1.3 update full package, same stop at 47% by sideload but not the same message : Error applying update : 7 (ErrorCode::kInstallDeviceOpenError)
E:Error in /sideload/package.zip (status 1)

I' don't really know what to do now, time for a new search about this error I guess...
 
Last edited:

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