Themes / Apps / Mods Nothing Phone 1 Flashing Utilities

Search This thread

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy

bottom

Member
Dec 25, 2006
26
10
Huawei Mate XS
good
i will try , i wish to fix my NP1

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? G
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 63 0 --:--:-- --:--:-- --:--:-- 64
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 19:46:45 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
 
  • Like
Reactions: Satis_H

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
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!

i know its a stupid question, how do i install the androud platform tools, all i can find are zip files with bat files and other files, but no installer
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
good
i will try , i wish to fix my NP1

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? G
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 63 0 --:--:-- --:--:-- --:--:-- 64
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 19:46:45 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
Just found out that androidfilehost (that is where it's hosted the nothingOS) change the link of the files every ~24h. Fixing in a while!
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
windows 7-8-10-11, either one that works
i can also boot into linux/ubuntu, but i´d be lost there
I'm actually developing the tool for Windows, but you can always do it manually. Install this https://forum.xda-developers.com/t/...fastboot-installer-latest-sdk-update.3516898/ , then download the firmware that you need and follow this guide https://forum.xda-developers.com/t/...one-1-update-04-08-2022.4470155/post-87230593 . You'll need to know how to open the cmd but believe me it's not that difficult
 

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
I'm actually developing the tool for Windows, but you can always do it manually. Install this https://forum.xda-developers.com/t/...fastboot-installer-latest-sdk-update.3516898/ , then download the firmware that you need and follow this guide https://forum.xda-developers.com/t/...one-1-update-04-08-2022.4470155/post-87230593 . You'll need to know how to open the cmd but believe me it's not that difficult
yeah i know how cmd works xD
i tired that guide already, but flashing vendor.img, system.img, odm.img and 2 others i forgot the names of gives out an error, that the partition cant be found, so i figured i give this script here a try, maybe it makes a difference.
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
good
i will try , i wish to fix my NP1

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? G
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 63 0 --:--:-- --:--:-- --:--:-- 64
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 19:46:45 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
As I already said androidfilehost changes the link. I'm changing the script and after the update you'll have to download the firmware manually and the give it to the script.
 
  • Like
Reactions: aBsolute_Blue

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
yeah i know how cmd works xD
i tired that guide already, but flashing vendor.img, system.img, odm.img and 2 others i forgot the names of gives out an error, that the partition cant be found, so i figured i give this script here a try, maybe it makes a difference.
actually I don't think because it's pretty the same but automatized. You'll probably need to wait the EDL tool and firmware
 

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
actually I don't think because it's pretty the same but automatized. You'll probably need to wait the EDL tool and firmware
in that case i send it in for replacement/repair. gave the shop a call and i got offered to send it in, have it checked, and only if they would charge me i can still decide. and if i want to get it back without paying, i wouldnt even pay the shipment either way, or it having be checked
 

HofaTheRipper

Senior Member
Apr 26, 2014
298
253
39
St. Veit an der Glan
would it be possible, that you add a "backup partition" feature to the script also? so everyone with a working phone and root can backup his own partitions... ATM i do this with an app on the phone and transfer it manually to the pc.
 
  • Like
Reactions: aBsolute_Blue

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
good
i will try , i wish to fix my NP1

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? G
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 63 0 --:--:-- --:--:-- --:--:-- 64
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 19:46:45 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
Just fixed it, check it out and let me know!
 

bottom

Member
Dec 25, 2006
26
10
Huawei Mate XS
Same problem..can't download a file [fw.zip]

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? g
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 66 0 --:--:-- --:--:-- --:--:-- 66
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 21:50:35 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
 

sh4tteredd

Senior Member
Aug 9, 2022
79
60
Italy
Same problem..can't download a file [fw.zip]

Nothing firmware downloader by @sh4ttered V1.1.0
Do you need the [G]lobal firmware or the [E]uropean firmware (G/E)? g
Downloading the global firmware 1.1.0
This may take a way depending on your internet speed

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40 100 40 0 0 66 0 --:--:-- --:--:-- --:--:-- 66
[fw.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of fw.zip or
fw.zip.zip, and cannot find fw.zip.ZIP, period.
2022/08/10 21:50:35 File does not exist: payload.bin

mv: rename extracted*/* to images/*: No such file or directory
cleaning...
rm: payload_properties.txt: No such file or directory
rm: payload.bin: No such file or directory
rm: apex_info.pb: No such file or directory
rm: care_map.pb: No such file or directory
you have to download the new version from github!
 
  • Like
Reactions: Pho3nX

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