Hello there,
I just got a Nokia 6.2 to use for my app reverse-engineering/development needs, but I would need to root it.
Recovery is just saying "no command" and fastboot does not want to flash recovery.
Code:
C:\Users\<user>\Downloads\platform-tools_r29.0.5-windows\platform-tools>fastboot flash recovery twrp-3.3.1-PL2.img
Sending 'recovery' (38736 KB) FAILED (remote: 'unknown command')
fastboot: error: Command failed
Apperently the device's flashing functionality appears to be encrypted.
per the how-to at https://www.androidweblog.com/nokia-6-2-ta-1198-root-install-twrp-recovery/:
Code:
C:\Users\<username>\Downloads\platform-tools_r29.0.5-windows\platform-tools>fastboot oem unlock-go
FAILED (remote: 'Failed to unlock, decrypt failed!')
fastboot: error: Command failed
Device state is listed as unlocked.
Try
HTML:
fastboot flashing unlock
I'll start this off with the fact that my Pixel 4a is a Google Store variant and the bootloader is unlocked.
So basically I downloaded the October factory image off of Google's website with the intent of wiping my phone completely and starting fresh.
I flashed it using the flash-all script however during the install for some reason an error occurred and my 4a rebooted.
Now it apparently no longer has an OS installed and boots straight into fastboot, so all I have access to is fastboot and recovery mode.
Attempting to reflash the factory image with flash-all while in fastboot gives me the following which I have never seen before:
Code:
Sending 'bootloader' (8341 KB) FAILED (Write to device failed (no link))
fastboot: error: Command failed
Rebooting into bootloader FAILED (Write to device failed (no link))
fastboot: error: Command failed
Sending 'radio' (72372 KB) FAILED (Write to device failed (no link))
fastboot: error: Command failed
Rebooting into bootloader FAILED (Write to device failed (no link))
fastboot: error: Command failed
--------------------------------------------
getvar:version-bootloader FAILED (Write to device failed (no link))
getvar:version-baseband FAILED (Write to device failed (no link))
getvar:serialno FAILED (Write to device failed (no link))
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
getvar:product FAILED (Write to device failed (no link))
Checking 'product' FAILED
Could not getvar for 'product' (Write to device failed (no link))
fastboot: error: requirements not met!
Attempted to run "Wipe data/factory reset" in recovery mode and get the following:
Code:
-- Wiping data...
E:eek:pen failed: /metadata/ota: No such file or directory
Formatting /data...
Formatting /metadata...
Wiping Titan M...
E:can't send spi message: Try again
E:can't send spi message: Try again
E:can't send spi message: Try again
E:can't send spi message: Try again
E:can't send spi message: Try again
E:can't send spi message: Try again
E:can't send spi message: Try again
Data wipe complete.
I've done this plenty of times before with other devices and have never ran into something like this, so I really am lost on what to do.
Edit: Just tried downloading the standalone OTA file from Google and flashing that. It went smoothly until it hit 94% and then there was an error. Even with the error that was enough for it to be able to boot into the OS though and everything seems to be working fine.
Hey there. Did you ever figure out a fix for this? I had a similar thing happen to me last night. Everything is working fine but I'm worried it will eventually have consequences.
hi
its op8 os12 when ever i try FB os12 rom to flash i always get bootload and not flashing these files only
even device is in FBD mode
Code:
Writing 'my_bigball_b' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
E:\IN2011_11_C.21_202205172355>fastboot flash my_carrier_b my_carrier.img
Sending 'my_carrier_b' (340 KB) OKAY [ 0.000s]
Writing 'my_carrier_b' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
E:\IN2011_11_C.21_202205172355>fastboot flash my_company_b my_company.img
Sending 'my_company_b' (328 KB) OKAY [ 0.016s]
Writing 'my_company_b' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
E:\IN2011_11_C.21_202205172355>fastboot flash my_engineering_b my_engineering.img
Sending 'my_engineering_b' (328 KB) OKAY [ 0.016s]
Writing 'my_engineering_b' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
I got this error while flashing global rom in oneplus 8 In2017. Please assist me.
I unlocked the bootloader and just press flash-all file in Global rom file and now my phone is stuck in Fastmode and this error occurs in windows 11 pc. SDK tools are up-to-date, fastboot version is 33.03 I just downloaded them from their official site.
I also tried:
fastboot flashing unlock
fastboot flashing unlock_critical
but it said ,Device Already: Unlocked
Please help me otherwise I'll lost my device.
Do you want to wipe all the data ( Reccomended )[Y/N]?y
Erasing 'userdata' OKAY [ 0.117s]
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
C:\Users\khateeb\Desktop\G-Rom Flash Oneplus 8 5G\10.5.12-GLOBAL-OnePlus8Oxygen_15.O.21_OTA_021_all_2008080054_906daa239-FASTBOOT/make_f2fs failed: 4294967295
fastboot: error: Cannot generate image for userdata
Sending 'boot_a' (98304 KB) OKAY [ 3.290s]
Writing 'boot_a' OKAY [ 0.518s]
Finished. Total time: 3.871s
Sending 'dtbo' (8192 KB) OKAY [ 0.276s]
Writing 'dtbo' OKAY [ 0.025s]
Finished. Total time: 0.350s
Sending 'modem_a' (524288 KB) OKAY [ 17.560s]
Writing 'modem_a' OKAY [ 2.063s]
Finished. Total time: 19.678s
Sending 'recovery' (102400 KB) OKAY [ 3.386s]
Writing 'recovery' OKAY [ 0.337s]
Finished. Total time: 3.767s
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (8 KB) OKAY [ 0.006s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.059s
Sending 'vbmeta_system' (4 KB) OKAY [ 0.008s]
Writing 'vbmeta_system' OKAY [ 0.008s]
Finished. Total time: 0.075s
current-slot: a
Finished. Total time: 0.010s
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' (1996 KB) OKAY [ 0.070s]
Writing 'abl' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'aop' (200 KB) OKAY [ 0.009s]
Writing 'aop' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'bluetooth' (460 KB) OKAY [ 0.022s]
Writing 'bluetooth' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'cmnlib' (384 KB) OKAY [ 0.019s]
Writing 'cmnlib' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'cmnlib64' (500 KB) OKAY [ 0.018s]
Writing 'cmnlib64' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'devcfg' (48 KB) OKAY [ 0.004s]
Writing 'devcfg' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'dsp' (65536 KB) OKAY [ 2.117s]
Writing 'dsp' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'featenabler' (88 KB) OKAY [ 0.011s]
Writing 'featenabler' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'hyp' (436 KB) OKAY [ 0.020s]
Writing 'hyp' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'imagefv' (20 KB) OKAY [ 0.009s]
Writing 'imagefv' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'keymaster' (248 KB) OKAY [ 0.018s]
Writing 'keymaster' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'logo' (7784 KB) OKAY [ 0.233s]
Writing 'logo' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'mdm_oem_stanvbk' (3776 KB) OKAY [ 0.118s]
Writing 'mdm_oem_stanvbk' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'multiimgoem' (16 KB) OKAY [ 0.012s]
Writing 'multiimgoem' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'odm' (960 KB) OKAY [ 0.032s]
Writing 'odm' FAILED (remote: '(odm_a) No such partition')
fastboot: error: Command failed
Sending 'opproduct' (48828 KB) OKAY [ 1.580s]
Writing 'opproduct' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'qupfw' (56 KB) OKAY [ 0.010s]
Writing 'qupfw' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'spunvm' (348 KB) OKAY [ 0.013s]
Writing 'spunvm' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
fastboot: error: cannot load 'storsec.img': No such file or directory
Sending 'tz' (3236 KB) OKAY [ 0.120s]
Writing 'tz' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'uefisecapp' (124 KB) OKAY [ 0.011s]
Writing 'uefisecapp' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'xbl' (3392 KB) OKAY [ 0.116s]
Writing 'xbl' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Sending 'xbl_config' (96 KB) OKAY [ 0.007s]
Writing 'xbl_config' FAILED (remote: 'Flashing is not allowed for Critical Partitions.
')
fastboot: error: Command failed
Khateeb2110 said:
I got this error while flashing global rom in oneplus 8 In2017. Please assist me.
I unlocked the bootloader and just press flash-all file in Global rom file and now my phone is stuck in Fastmode and this error occurs in windows 11 pc. SDK tools are up-to-date, fastboot version is 33.03 I just downloaded them from their official site.
Click to expand...
Click to collapse
You are a candidate for the MSM Tool to revert back to stock.
-- Did you follow this guide to alleviate the pain of converting to Global?
rodken said:
You are a candidate for the MSM Tool to revert back to stock.
-- Did you follow this guide to alleviate the pain of converting to Global?
Click to expand...
Click to collapse
Yes similar procedure , I got bootloader unlock token from oneplus site.
then I just unlocked the bootloader and run flash-all file in Global rom folder. Then I got this error.
then I tried :
fastboot flashing unlock
fastboot flashing unlock_critical
It said that device is unlocked but still facing this error.
I think that error is from this command:
fastboot reboot fastboot
I got this error:
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
after that no more commands are able to run properly.
Khateeb2110 said:
I think that error is from this command:
fastboot reboot fastboot
I got this error:
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
after that no more commands are able to run properly.
Click to expand...
Click to collapse
Try to avoid using the flash-all bat file. Run each command separately and switch slots to see if you hit paydirt.
rodken said:
Try to avoid using the flash-all bat file. Run each command separately and switch slots to see if you hit paydirt.
Click to expand...
Click to collapse
what do you mean by switching slots?
Khateeb2110 said:
what do you mean by switching slots?
Click to expand...
Click to collapse
How to manually switch the active slot - link.
rodken said:
How to manually switch the active slot - link.
Click to expand...
Click to collapse
Thankyou so much bro that error got solved but now getting a new error:
Writing 'product' FAILED (remote: 'No such file or directory')
i rechecked the file name also tried by dragg in drop but still not working.
Khateeb2110 said:
Thankyou so much bro that error got solved but now getting a new error:
Writing 'product' FAILED (remote: 'No such file or directory')
i rechecked the file name also tried by dragg in drop but still not working.
Click to expand...
Click to collapse
In some cases, you might need a high-end USC-C cable or reinstall your ADB drivers from a different source.
rodken said:
In some cases, you might need a high-end USC-C cable or reinstall your ADB drivers from a different source.
Click to expand...
Click to collapse
I'm using original cable of oneplus 8 and also downloaded sdk tools from official android site and also tried from some other sites. but still getting this error at last step of flashing rom.
Khateeb2110 said:
I'm using original cable of oneplus 8 and also downloaded sdk tools from official android site and also tried from some other sites. but still getting this error at last step of flashing rom.
Click to expand...
Click to collapse
Is there a reason as to why you haven't skipped the last step to see if the device will boot?
Ye
rodken said:
Is there a reason as to why you haven't skipped the last step to see if the device will
Click to expand...
Click to collapse
Yeah! I tried once but it goes to Qualcomm CrashDump Mode.
Khateeb2110 said:
Ye
Yeah! I tried once but it goes to Qualcomm CrashDump Mode.
Click to expand...
Click to collapse
It's clearly the ROM that you are flashing.
-- Are you in FastbootD mode when flashing?
rodken said:
It's clearly the ROM that you are flashing.
-- Are you in FastbootD mode when flashing?
Click to expand...
Click to collapse
Yes when I run:
fastboot reboot fastboot
My phone reboots and open in fastbootd mode. and fastbootd is written on the top of phone. so i'm sure about that.
I also tried by installing Indian version. but it also got the same error.
All the files got flashed successfully. but at the end the :
fastboot flash product product.img
is not working properly.
Khateeb2110 said:
All the files got flashed successfully. but at the end the :
fastboot flash product product.img
is not working properly.
Click to expand...
Click to collapse
Indication points to the fact that the ROM is somewhat corrupted.
Have you tried to run the commands in Fastboot mode and not FastbootD mode?
When I tried this in fast boot it said "no such partition". but when i flash in fastbootd mode it said "no such file or directory".
Khateeb2110 said:
When I tried this in fast boot it said "no such partition". but when i flash in fastbootd mode it said "no such file or directory".
Click to expand...
Click to collapse
Wondering if the flash-all file within in the Global ROM folder corrupted a file or two.
So you are saying that the files are corrupted???
Khateeb2110 said:
So you are saying that the files are corrupted???
Click to expand...
Click to collapse
Just the file that is seeming to be a problem child in 'writing'.
-- Bear in mind that not all ROMs are created equal regarding stability even after downloading it and flashing it.
-- Have you seen this thread as of yet?
rodken said:
Just the file that is seeming to be a problem child in 'writing'.
-- Bear in mind that not all ROMs are created equal regarding stability even after downloading it and flashing it.
-- Have you seen this thread as of yet?
Click to expand...
Click to collapse
I tried by changing Rom file global and indian but both are showing same error.
Brother Now I switched the slot and used the latest global rom. All files are flashed successfully but phone is not booting, when I turn on the phone it opens in fastboot mode. Any solution.
Khateeb2110 said:
Brother Now I switched the slot and used the latest global rom. All files are flashed successfully but phone is not booting, when I turn on the phone it opens in fastboot mode. Any solution.
Click to expand...
Click to collapse
Have you tried to redownload the ROM and try again?
Please assist me, got stuck at last step.
Oneplus 8 In2017 converting t mobile to indian version
fastboot flash product product.img
Invalid sparse file format at header magic
Sending sparse 'product' 1/6 (261800 KB) OKAY [ 9.148s]
Writing 'product' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed