[OnePlus Nord N10 5G Guides, News, & Discussion] powergo:
Any way to do it in Linux ? i mean script to do all, i know about

extracting zip to fastboot all like

wael@wael-pc ~/Downloads/extract_android_ota_payload-master $ python extract_android_ota_payload.py OnePlusN10Oxygen_14.E.09_OTA_009_all_2101021731_9c32820c43e443f1.zip 1/
Extracting 'payload.bin' from OTA file...
Extracting 'abl.img'
Extracting 'boot.img'
Extracting 'dtbo.img'
Extracting 'odm.img'
Extracting 'product.img'
Extracting 'recovery.img'
Extracting 'system.img'
Extracting 'vbmeta.img'
Extracting 'vbmeta_system.img'
Extracting 'vendor.img'
Extracting 'aop.img'
Extracting 'bluetooth.img'
Extracting 'devcfg.img'
Extracting 'dsp.img'
Extracting 'featenabler.img'
Extracting 'hyp.img'
Extracting 'imagefv.img'
Extracting 'keymaster.img'
Extracting 'modem.img'
Extracting 'qupfw.img'
Extracting 'storsec.img'
Extracting 'tz.img'
Extracting 'uefisecapp.img'
Extracting 'xbl_config.img'
Extracting 'xbl.img'
Extracting 'oem_stanvbk.img'
(n):cry:wael@wael-pc ~/Downloads/extract_android_ota_payload-master $ cd 1
abl.img dtbo.img odm.img storsec.img vendor.img
aop.img featenabler.img oem_stanvbk.img system.img xbl_config.img
bluetooth.img hyp.img payload.bin tz.img xbl.img
boot.img imagefv.img product.img uefisecapp.img
devcfg.img keymaster.img qupfw.img vbmeta.img
dsp.img modem.img recovery.img vbmeta_system.img
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash boot boot.img
< waiting for any device >
Sending 'boot_b' (98304 KB) OKAY [ 2.314s]
Writing 'boot_b' OKAY [ 1.953s]
Finished. Total time: 4.279s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash system system.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/3 (782003 KB) OKAY [ 18.506s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot erase userdata
******** Did you mean to fastboot format this f2fs partition?
Erasing 'userdata' OKAY [ 0.822s]
Finished. Total time: 0.828s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot erase cache
Erasing 'cache' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot -w
Erasing 'userdata' OKAY [ 0.801s]
/usr/bin/make_f2fs failed with status 1
fastboot: error: Cannot generate image for userdata
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash boot boot.img
Sending 'boot_b' (98304 KB) OKAY [ 2.318s]
Writing 'boot_b' OKAY [ 1.885s]
Finished. Total time: 4.217s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash dtbo dtbo.img
Sending 'dtbo' (8192 KB) OKAY [ 0.195s]
Writing 'dtbo' OKAY [ 0.188s]
Finished. Total time: 0.391s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash modem modem.img
Sending 'modem_b' (152332 KB) OKAY [ 3.607s]
Writing 'modem_b' OKAY [ 2.974s]
Finished. Total time: 6.590s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash recovery recovery.img
Sending 'recovery' (102400 KB) OKAY [ 2.412s]
Writing 'recovery' OKAY [ 2.023s]
Finished. Total time: 4.455s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot reboot fastboot
Rebooting into fastboot OKAY [ 0.003s]
< waiting for any device >
Finished. Total time: 9.477s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash abl abl.img
Sending 'abl_b' (1996 KB) OKAY [ 0.057s]
Writing 'abl_b' OKAY [ 0.028s]
Finished. Total time: 0.093s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash aop aop.img
Sending 'aop_b' (176 KB) OKAY [ 0.006s]
Writing 'aop_b' OKAY [ 0.007s]
Finished. Total time: 0.020s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash bluetooth bluetooth.img
Sending 'bluetooth_b' (220 KB) OKAY [ 0.007s]
Writing 'bluetooth_b' OKAY [ 0.008s]
Finished. Total time: 0.021s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash devcfg devcfg.img
Sending 'devcfg_b' (44 KB) OKAY [ 0.002s]
Writing 'devcfg_b' OKAY [ 0.005s]
Finished. Total time: 0.014s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash dsp dsp.img
Sending 'dsp_b' (65536 KB) OKAY [ 1.618s]
Writing 'dsp_b' OKAY [ 0.531s]
Finished. Total time: 2.153s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash featenabler featenabler.img
Sending 'featenabler_b' (88 KB) OKAY [ 0.003s]
Writing 'featenabler_b' OKAY [ 0.006s]
Finished. Total time: 0.014s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash hyp hyp.img
Sending 'hyp_b' (396 KB) OKAY [ 0.011s]
Writing 'hyp_b' OKAY [ 0.010s]
Finished. Total time: 0.025s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash imagefv imagefv.img
Sending 'imagefv_b' (524 KB) OKAY [ 0.017s]
Writing 'imagefv_b' OKAY [ 0.012s]
Finished. Total time: 0.036s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash keymaster keymaster.img
Sending 'keymaster_b' (232 KB) OKAY [ 0.008s]
Writing 'keymaster_b' OKAY [ 0.008s]
Finished. Total time: 0.022s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash logo logo.img
fastboot: error: cannot load 'logo.img': No such file or directory
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash oem_stanvbk oem_stanvbk.img
Sending 'oem_stanvbk' (2920 KB) OKAY [ 0.078s]
Writing 'oem_stanvbk' OKAY [ 0.038s]
Finished. Total time: 0.123s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash odm odm.img
Resizing 'odm_b' OKAY [ 0.004s]
Sending 'odm_b' (968 KB) OKAY [ 0.027s]
Writing 'odm_b' OKAY [ 0.293s]
Finished. Total time: 0.331s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash qupfw qupfw.img
Sending 'qupfw_b' (56 KB) OKAY [ 0.002s]
Writing 'qupfw_b' OKAY [ 0.005s]
Finished. Total time: 0.012s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash storsec storsec.img
Sending 'storsec_b' (20 KB) OKAY [ 0.001s]
Writing 'storsec_b' OKAY [ 0.005s]
Finished. Total time: 0.013s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash tz tz.img
Sending 'tz_b' (2960 KB) OKAY [ 0.076s]
Writing 'tz_b' OKAY [ 0.038s]
Finished. Total time: 0.120s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash uefisecapp uefisecapp.img
Sending 'uefisecapp_b' (124 KB) OKAY [ 0.004s]
Writing 'uefisecapp_b' OKAY [ 0.006s]
Finished. Total time: 0.018s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash xbl xbl.img
Sending 'xbl_b' (3296 KB) OKAY [ 0.083s]
Writing 'xbl_b' OKAY [ 1.794s]
Finished. Total time: 1.884s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash xbl_config xbl_config.img
Sending 'xbl_config_b' (96 KB) OKAY [ 0.003s]
Writing 'xbl_config_b' OKAY [ 0.029s]
Finished. Total time: 0.040s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash system system.img
Invalid sparse file format at header magic
Resizing 'system_b' OKAY [ 0.004s]
Sending sparse 'system_b' 1/4 (523001 KB) OKAY [ 12.780s]
Writing 'system_b' OKAY [ 3.391s]
Sending sparse 'system_b' 2/4 (520279 KB) OKAY [ 12.756s]
Writing 'system_b' OKAY [ 3.428s]
Sending sparse 'system_b' 3/4 (523321 KB) OKAY [ 12.786s]
Writing 'system_b' OKAY [ 3.450s]
Sending sparse 'system_b' 4/4 (450188 KB) OKAY [ 11.003s]
Writing 'system_b' OKAY [ 3.045s]
Finished. Total time: 62.944s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash vendor vendor.img
Invalid sparse file format at header magic
Resizing 'vendor_b' OKAY [ 0.003s]
Sending sparse 'vendor_b' 1/3 (523167 KB) OKAY [ 12.819s]
Writing 'vendor_b' OKAY [ 3.502s]
Sending sparse 'vendor_b' 2/3 (510001 KB) OKAY [ 12.478s]
Writing 'vendor_b' OKAY [ 3.398s]
Sending sparse 'vendor_b' 3/3 (291316 KB) OKAY [ 7.133s]
Writing 'vendor_b' OKAY [ 2.147s]
Finished. Total time: 41.657s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot flash product product.img
Invalid sparse file format at header magic
Resizing 'product_b' OKAY [ 0.003s]
Sending sparse 'product_b' 1/4 (522958 KB) OKAY [ 12.807s]
Writing 'product_b' OKAY [ 3.412s]
Sending sparse 'product_b' 2/4 (523010 KB) OKAY [ 12.818s]
Writing 'product_b' OKAY [ 3.418s]
Sending sparse 'product_b' 3/4 (520218 KB) OKAY [ 12.759s]
Writing 'product_b' OKAY [ 3.440s]
Sending sparse 'product_b' 4/4 (235736 KB) OKAY [ 5.795s]
Writing 'product_b' OKAY [ 1.825s]
Finished. Total time: 56.543s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $ fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.051s
wael@wael-pc ~/Downloads/extract_android_ota_payload-master/1 $