Themes / Apps / Mods Nothing Phone 1 Flashing Utilities

Search This thread

bottom

Member
Dec 25, 2006
26
10
Huawei Mate XS
just modifie file name (./flash-all.sh) to (./flash_all.sh) in readme.mid github
everything is working smoothly

if know how i can fix this error,,,
I had this problem before..and I need to flash system.img file

Sending sparse 'system' 1/2 (786336 KB) OKAY [ 17.972s]
Writing 'system' FAILED (remote: 'Partition not found')
 
Last edited:

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
the script runs, but i get the same results as before, i guess my phones partition table is corrupted
but thanks to the script i went down from 9 errors while flashing to only 5, maybe i had some typos or errors when copy pasting the commands.
i will send it in tomorrow morning, and see what the shop tells me
I think that they won't charge you anything, but let us know! I'm curious..!
 
  • Like
Reactions: aBsolute_Blue

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
just modifie file name (./flash-all.sh) to (./flash_all.sh) in readme.mid github
everything is working smoothly

if know how i can fix this error,,,
I had this problem before..and I need to flash system.img file

Sending sparse 'system' 1/2 (786336 KB) OKAY [ 17.972s]
Writing 'system' FAILED (remote: 'Partition not found')
maybe the system partition needs fastbootd (I'm not sure). Try with this modified script that, according to the Android docs, should work without rebooting into fastbootd, let me know.
 

Attachments

  • flash_all_patch.sh
    2 KB · Views: 50

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
the script runs, but i get the same results as before, i guess my phones partition table is corrupted
but thanks to the script i went down from 9 errors while flashing to only 5, maybe i had some typos or errors when copy pasting the commands.
i will send it in tomorrow morning, and see what the shop tells me
Please paste here the partitions that are giving you problems!
 

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
All logical partitions must be flashed over fastbootd
system
product
system_ext
vendor
yes I was actually reading on the Android guide about these dynamic partitions (my previous device Mi 9T doesn't use them). According to the guide the --force option should flash it without rebooting to fastbootd. And thanks for the list of all the dynamic partitions! If someone can try I've attached a script that should work. If someone can confirm this I'll upload it to the github repo
 

Attachments

  • flash_all_patch.sh
    2 KB · Views: 31

Displax

Senior Member
Jan 19, 2015
384
2,123
27
Ukraine - Kyiv
Google Pixel 4a 5G
yes I was actually reading on the Android guide about these dynamic partitions (my previous device Mi 9T doesn't use them). According to the guide the --force option should flash it without rebooting to fastbootd. And thanks for the list of all the dynamic partitions! If someone can try I've attached a script that should work. If someone can confirm this I'll upload it to the github repo
One more suggestion: You can download OTA from Google API directly (original URLs) instead of slow and buggy AFH. It is much simpler.

1.1.2 GL
https://android.googleapis.com/packages/ota-api/package/a244285dfb5aef198999463c2d55f353ed0e7b1b.zip

1.1.0 GL
https://android.googleapis.com/packages/ota-api/package/e4c58031ffcd430294bd99cfb7df45a2645bef21.zip

1.0.2 GL
https://android.googleapis.com/packages/ota-api/package/fad5d83167989dd71ef9adbb4243a8baa02956e6.zip


1.1.2 EEA
https://android.googleapis.com/packages/ota-api/package/0f77244380edcc46a4d60397f5c22ea911352bfe.zip

1.1.0 EEA
https://android.googleapis.com/packages/ota-api/package/c9d6795361da9d8364c7a7fefd26ccebbc529fdf.zip

1.0.2 EEA
https://android.googleapis.com/packages/ota-api/package/09a261dea24fa76050bf9b03fff232dbab9b3a28.zip

P.S. PR with fix "wget" check already on GitHub.;)
 

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
One more suggestion: You can download OTA from Google API directly (original URLs) instead of slow and buggy AFH. It is much simpler.

1.1.2 GL
https://android.googleapis.com/packages/ota-api/package/a244285dfb5aef198999463c2d55f353ed0e7b1b.zip

1.1.0 GL
https://android.googleapis.com/packages/ota-api/package/e4c58031ffcd430294bd99cfb7df45a2645bef21.zip

1.0.2 GL
https://android.googleapis.com/packages/ota-api/package/fad5d83167989dd71ef9adbb4243a8baa02956e6.zip


1.1.2 EEA
https://android.googleapis.com/packages/ota-api/package/0f77244380edcc46a4d60397f5c22ea911352bfe.zip

1.1.0 EEA
https://android.googleapis.com/packages/ota-api/package/c9d6795361da9d8364c7a7fefd26ccebbc529fdf.zip

1.0.2 EEA
https://android.googleapis.com/packages/ota-api/package/09a261dea24fa76050bf9b03fff232dbab9b3a28.zip

P.S. PR with fix "wget" check already on GitHub.;)
lol I spent like an hour of my life fixing AFH and I'm discovering this links just now, thanks man!
 
  • Like
Reactions: dedors

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
yes I was actually reading on the Android guide about these dynamic partitions (my previous device Mi 9T doesn't use them). According to the guide the --force option should flash it without rebooting to fastbootd. And thanks for the list of all the dynamic partitions! If someone can try I've attached a script that should work. If someone can confirm this I'll upload it to the github repo
if this script doesn't work, try with this one that reboots into fastbootd and doesn't use --force
 

Attachments

  • flash_all_patch.sh
    2 KB · Views: 21

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
Please paste here the partitions that are giving you problems!
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)
 
Last edited:

sh4tteredd

Senior Member
Aug 9, 2022
79
64
Italy
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)
You're using this script, right?
if this script doesn't work, try with this one that reboots into fastbootd and doesn't use --force
Have you tried with the first one? this:
yes I was actually reading on the Android guide about these dynamic partitions (my previous device Mi 9T doesn't use them). According to the guide the --force option should flash it without rebooting to fastbootd. And thanks for the list of all the dynamic partitions! If someone can try I've attached a script that should work. If someone can confirm this I'll upload it to the github repo

btw i've added a "Press enter to continue" line, in this way we can actually read the errors.

If you haven't tried with one of two scripts, try it!
 

Attachments

  • flash_all_without_fastbootd.sh
    2 KB · Views: 28
  • flash_all_with_fastbootd.sh
    2 KB · Views: 29
Last edited:

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
You're using this script, right?

Have you tried with the first one? this:


btw i've added a "Press enter to continue" line, in this way we can actually read the errors.

If you haven't tried with one of two scripts, try it!
i tried it with the one yes, same issue

even now with these two new scripts both with and without booting into fastbootd i get the same errors.


nothing phone(1) fastboot flash by @sh4tteredd

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

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.018s]
C:\WINDOWS/make_f2fs failed: 3221225477
fastboot: error: Cannot generate image for userdata
Sending 'abl' (148 KB) OKAY [ 0.005s]
Writing 'abl' OKAY [ 0.002s]
Finished. Total time: 0.015s
Sending 'aop' (204 KB) OKAY [ 0.006s]
Writing 'aop' OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending 'bluetooth' (476 KB) OKAY [ 0.012s]
Writing 'bluetooth' OKAY [ 0.001s]
Finished. Total time: 0.021s
Sending 'boot_a' (98304 KB) OKAY [ 2.270s]
Writing 'boot_a' OKAY [ 0.203s]
Finished. Total time: 2.484s
Sending 'cpucp' (184 KB) OKAY [ 0.005s]
Writing 'cpucp' OKAY [ 0.001s]
Finished. Total time: 0.017s
Sending 'devcfg' (52 KB) OKAY [ 0.002s]
Writing 'devcfg' OKAY [ 0.001s]
Finished. Total time: 0.011s
Sending 'dsp' (65536 KB) OKAY [ 1.510s]
Writing 'dsp' OKAY [ 0.057s]
Finished. Total time: 1.576s
Sending 'dtbo' (24576 KB) OKAY [ 0.566s]
Writing 'dtbo' OKAY [ 0.024s]
Finished. Total time: 0.598s
Sending 'featenabler' (88 KB) OKAY [ 0.003s]
Writing 'featenabler' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending 'hyp' (3592 KB) OKAY [ 0.083s]
Writing 'hyp' OKAY [ 0.015s]
Finished. Total time: 0.106s
Sending 'imagefv' (524 KB) OKAY [ 0.014s]
Writing 'imagefv' OKAY [ 0.001s]
Finished. Total time: 0.023s
Sending 'keymaster' (264 KB) OKAY [ 0.007s]
Writing 'keymaster' OKAY [ 0.001s]
Finished. Total time: 0.016s
Sending 'modem_a' (173436 KB) OKAY [ 4.019s]
Writing 'modem_a' OKAY [ 0.364s]
Finished. Total time: 4.393s
Sending 'multiimgoem' (16 KB) OKAY [ 0.001s]
Writing 'multiimgoem' OKAY [ 0.001s]
Finished. Total time: 0.011s
Sending 'odm' (1048 KB) OKAY [ 0.025s]
Writing 'odm' FAILED (remote: '(odm_a) No such partition')
fastboot: error: Command failed
Sending 'qupfw' (56 KB) OKAY [ 0.002s]
Writing 'qupfw' OKAY [ 0.002s]
Finished. Total time: 0.012s
Sending 'shrm' (48 KB) OKAY [ 0.002s]
Writing 'shrm' OKAY [ 0.006s]
Finished. Total time: 0.016s
Sending 'tz' (3636 KB) FAILED (remote: 'GetVar Variable Not found')
fastboot: error: Command failed
< waiting for any device >
Sending 'uefisecapp' (124 KB) OKAY [ 0.004s]
Writing 'uefisecapp' OKAY [ 0.001s]
Finished. Total time: 0.013s
Sending 'vbmeta' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.009s
Sending 'vbmeta_system' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta_system' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'vendor_boot' (98304 KB) OKAY [ 2.263s]
Writing 'vendor_boot' OKAY [ 0.187s]
Finished. Total time: 2.459s
Sending 'xbl' (3600 KB) OKAY [ 0.084s]
Writing 'xbl' OKAY [ 0.006s]
Finished. Total time: 0.097s
Sending 'xbl_config' (224 KB) OKAY [ 0.006s]
Writing 'xbl_config' OKAY [ 0.002s]
Finished. Total time: 0.016s
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
Finished. Total time: 18.319s
Invalid sparse file format at header magic
Sending sparse 'vendor' 1/5 (262104 KB) OKAY [ 6.330s]
Writing 'vendor' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'product' 1/8 (262108 KB) OKAY [ 6.367s]
Writing 'product' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'system' 1/6 (262104 KB) OKAY [ 6.255s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'system_ext' 1/2 (262116 KB) OKAY [ 6.255s]
Writing 'system_ext' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
Your phone(1) is rebooting
Press enter to continue

i get this C:\WINDOWS/make_f2fs failed: 3221225477 error, googling it it seems that my sdk is outdated? or is that locked by the OEM?
 

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
i tried it with the one yes, same issue

even now with these two new scripts both with and without booting into fastbootd i get the same errors.




i get this C:\WINDOWS/make_f2fs failed: 3221225477 error, googling it it seems that my sdk is outdated? or is that locked by the OEM?
i digged around with the make_f2fs failed: 3221225477 error, i got that part working now, but except that everything is the same
nothing phone(1) fastboot flash by @sh4tteredd

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

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.021s]

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 = 474394264 (231637 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 0x01a00000
[f2fs_write_root_inode:1274] Writing root inode (hot node), 2ba00 0 200 at offset 0x00178688
[f2fs_write_default_quota:1350] Writing quota data, at offset 0002c001, 0002c002
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 2ba00 0 200 at offset 0x00178689
[f2fs_write_default_quota:1350] Writing quota data, at offset 0002c003, 0002c004
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 2ba00 0 200 at offset 0x00178690
[f2fs_write_default_quota:1350] Writing quota data, at offset 0002c005, 0002c006
[f2fs_write_qf_inode:1407] Writing quota inode (hot node), 2ba00 0 200 at offset 0x00178691
[f2fs_update_nat_root:1461] Writing nat root, at offset 0x00001a00
[f2fs_add_default_dentry_root:1658] Writing default dentry root, at offset 0x0002c000
Info: Overprovision ratio = 0.420%
Info: Overprovision segments = 966 (GC reserved = 484)
[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.003s]
Writing 'userdata' OKAY [ 0.003s]
Erasing 'metadata' OKAY [ 4.156s]
mke2fs 1.45.4 (23-Sep-2019)
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.002s]
Writing 'metadata' OKAY [ 0.008s]
Finished. Total time: 5.022s
Sending 'abl' (148 KB) OKAY [ 0.004s]
Writing 'abl' OKAY [ 0.001s]
Finished. Total time: 0.013s
Sending 'aop' (204 KB) OKAY [ 0.005s]
Writing 'aop' OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending 'bluetooth' (476 KB) OKAY [ 0.012s]
Writing 'bluetooth' OKAY [ 0.002s]
Finished. Total time: 0.023s
Sending 'boot_a' (98304 KB) OKAY [ 2.268s]
Writing 'boot_a' OKAY [ 0.181s]
Finished. Total time: 2.464s
Sending 'cpucp' (184 KB) OKAY [ 0.005s]
Writing 'cpucp' OKAY [ 0.001s]
Finished. Total time: 0.014s
Sending 'devcfg' (52 KB) OKAY [ 0.003s]
Writing 'devcfg' OKAY [ 0.000s]
Finished. Total time: 0.010s
Sending 'dsp' (65536 KB) OKAY [ 1.509s]
Writing 'dsp' OKAY [ 0.099s]
Finished. Total time: 1.616s
Sending 'dtbo' (24576 KB) OKAY [ 0.566s]
Writing 'dtbo' OKAY [ 0.028s]
Finished. Total time: 0.602s
Sending 'featenabler' (88 KB) OKAY [ 0.002s]
Writing 'featenabler' OKAY [ 0.001s]
Finished. Total time: 0.012s
Sending 'hyp' (3592 KB) OKAY [ 0.083s]
Writing 'hyp' OKAY [ 0.005s]
Finished. Total time: 0.098s
Sending 'imagefv' (524 KB) OKAY [ 0.014s]
Writing 'imagefv' OKAY [ 0.001s]
Finished. Total time: 0.023s
Sending 'keymaster' (264 KB) OKAY [ 0.007s]
Writing 'keymaster' OKAY [ 0.001s]
Finished. Total time: 0.016s
Sending 'modem_a' (173436 KB) OKAY [ 4.019s]
Writing 'modem_a' OKAY [ 0.356s]
Finished. Total time: 4.385s
Sending 'multiimgoem' (16 KB) OKAY [ 0.001s]
Writing 'multiimgoem' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'odm' (1048 KB) OKAY [ 0.025s]
Writing 'odm' FAILED (remote: '(odm_a) No such partition')
fastboot: error: Command failed
Sending 'qupfw' (56 KB) OKAY [ 0.003s]
Writing 'qupfw' OKAY [ 0.004s]
Finished. Total time: 0.015s
Sending 'shrm' (48 KB) OKAY [ 0.002s]
Writing 'shrm' OKAY [ 0.006s]
Finished. Total time: 0.015s
Sending 'tz' (3636 KB) OKAY [ 0.084s]
Writing 'tz' OKAY [ 0.009s]
Finished. Total time: 0.100s
Sending 'uefisecapp' (124 KB) OKAY [ 0.003s]
Writing 'uefisecapp' OKAY [ 0.002s]
Finished. Total time: 0.013s
Sending 'vbmeta' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta' OKAY [ 0.000s]
Finished. Total time: 0.010s
Sending 'vbmeta_system' (4 KB) OKAY [ 0.000s]
Writing 'vbmeta_system' OKAY [ 0.001s]
Finished. Total time: 0.010s
Sending 'vendor_boot' (98304 KB) OKAY [ 2.263s]
Writing 'vendor_boot' OKAY [ 0.203s]
Finished. Total time: 2.474s
Sending 'xbl' (3600 KB) OKAY [ 0.084s]
Writing 'xbl' OKAY [ 0.030s]
Finished. Total time: 0.121s
Sending 'xbl_config' (224 KB) OKAY [ 0.006s]
Writing 'xbl_config' OKAY [ 0.002s]
Finished. Total time: 0.017s
Rebooting into fastboot OKAY [ 0.002s]
< waiting for any device >
Finished. Total time: 10.565s
Invalid sparse file format at header magic
Sending sparse 'vendor' 1/5 (262104 KB) OKAY [ 6.323s]
Writing 'vendor' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'product' 1/8 (262108 KB) OKAY [ 6.368s]
Writing 'product' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'system' 1/6 (262104 KB) OKAY [ 6.269s]
Writing 'system' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Invalid sparse file format at header magic
Sending sparse 'system_ext' 1/2 (262116 KB) OKAY [ 6.259s]
Writing 'system_ext' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
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
64
Italy
i digged around with the make_f2fs failed: 3221225477 error, i got that part working now, but except that everything is the same
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.
 

aBsolute_Blue

Member
Aug 5, 2022
21
1
Nothing Phone 1
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.
i send my phone away a few hours ago, its now going to repair, if they charge money for the repair or replacement, and its too much, im happy to try it once i get it back, but as far as i got told on the phone i can be assured to get it replaced
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    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!

    5
    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