[Q] Device not unlocked cannot flash or erase) - ONE Q&A, Help & Troubleshooting

Hello there i had problem with my oneplus one the support send me a
We prepared an Automated batch file which will fix your issue automatically, all you need to do is to download the zip file from the link below and extract it, after extracting please open the "README !!!!!.pdf" and follow the instructions.
PLEASE NOTE :- IT WILL DELETE ALL YOUR PHONE'S DATA> PLEASE BACK UP YOUR PHONE'S DATA
This should resolve your issue.
but i have try the setup as the support writ to me 10 times but i am getting all times errors
######### This patch is Created by ONEPLUS Technical Support. #######
###### This patch should only be used for ONEPLUS ONE 64GB Global Version. #####
#
...
OKAY [ 0.020s]
finished. total time: 0.021s
< waiting for device >
erasing 'persist'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 4.901s
error: cannot load 'persist.img'
erasing 'reserve4'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.010s
error: cannot load 'reserve4.img'
error: cannot load 'boot.img'
error: cannot load 'userdata_64g.img'
error: cannot load 'system.img'
error: cannot load 'recovery.img'
error: cannot load 'cache.img'
error: cannot load 'NON-HLOS.bin'
error: cannot load 'sbl1.mbn'
error: cannot load 'sdi.mbn'
error: cannot load 'emmc_appsboot.mbn'
error: cannot load 'rpm.mbn'
error: cannot load 'tz.mbn'
error: cannot load 'logo.bin'
ihop some of you can help me
i have mailed oneplus one support no answer

What was the problem you were having in the first place please?
Transmitted via Bacon

To run that all-in-one batch FIX file released by OnePlus you need to unlock your bootloader FIRST then run that batch file(s). Put your device in bootloader mode and run fastboot oem unlock (This wipes you device)
Now put it in bootloader mode again and run the 3 batch files contained within that .zip file.
Edit: I see the second file actually does unlock your bootloader, have you run the files in the correct sequence e.g. ONEPLUS ONE - 0.bat then ONEPLUS ONE - 1.bat then ONEPLUS ONE - 2.bat with your device in bootloader mode ?

Related

Failed to Load

Hey all, sorry I may be posting this in the wrong place, new here. Can someone help me with this please?
I'm trying to flash 5.0 to my Nexus 5. I have unzipped the right hammerhead zip (I'm 95% sure) into the platform-tools folder which contains my fastboot file in it. I put my phone into fast boot mode (its unlocked, I flashed to 4.4. 4 this way). When I run the flash-all.sh command in terminal (on mac) I get the following dialog:
error: cannot load 'bootloader-hammerhead-hhz12d.img'
rebooting into bootloader...
OKAY [ 0.055s]
finished. total time: 0.056s
error: cannot load 'radio-hammerhead-m8974a-2.0.50.2.21.img'
rebooting into bootloader...
OKAY [ 0.048s]
finished. total time: 0.048s
error: failed to load 'image-hammerhead-lrx21o.zip': No such file or directory
Any thoughts on what this could be? My phone flashes just before every error. Would love any help, thank you!
croikee said:
Hey all, sorry I may be posting this in the wrong place, new here. Can someone help me with this please?
I'm trying to flash 5.0 to my Nexus 5. I have unzipped the right hammerhead zip (I'm 95% sure) into the platform-tools folder which contains my fastboot file in it. I put my phone into fast boot mode (its unlocked, I flashed to 4.4. 4 this way). When I run the flash-all.sh command in terminal (on mac) I get the following dialog:
error: cannot load 'bootloader-hammerhead-hhz12d.img'
rebooting into bootloader...
OKAY [ 0.055s]
finished. total time: 0.056s
error: cannot load 'radio-hammerhead-m8974a-2.0.50.2.21.img'
rebooting into bootloader...
OKAY [ 0.048s]
finished. total time: 0.048s
error: failed to load 'image-hammerhead-lrx21o.zip': No such file or directory
Any thoughts on what this could be? My phone flashes just before every error. Would love any help, thank you!
Click to expand...
Click to collapse
I've had the same issue while flashing Nexus 4 from Ubuntu, it found out i should just change directory with "cd" command before i run the script, so the command should be "sudo sh flash-all.sh", not "sudo sh /home/username/Downloads/occam-lrx21t/flash-all.sh", i used.
Hope this will help someone.

Please help me fix flash any stock ROM & recovery not failed

please help me my i ca'nt flash any stock rom or stock recovery.
flash stock recovery error :
C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.540s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 1.556s
flash stock rom :
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
...
FAILED (remote: Device already : unlocked!)
finished. total time: 0.021s
target reported max download size of 536870912 bytes
Invalid sparse file format at header magic
i try use MsmDownloadToolV4.0InternationalVersionOxygenOS5.1 .5 connect my phone to laptop and install OnePlus.QualcomDrivers I do not see my phone information displayed on the tool
current my device unable to boot into recovery and only in quancom fastboot mode
please help me thank a lot
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Gr8man001 said:
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Click to expand...
Click to collapse
my device boot to fastboot mode work
i try flash stock rom from your link error
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
flash witch MsmDownloadToolV4.0InternationalVersionOxygenOS5.1.5
me oneplus driver and install any driver from tool not show COM port
You must not have followed the step correctly to flash rom with fastboot method. I assume you have adb and appropriate drivers installed on your pc. Download the zip file from the link in that thread on your pc. Unzip the file. Put your phone in bootloader mode. Connect the OnePlus 6 to PC; Run flash-all.bat file from the folder where you unzipped the ROM. It worked all the time for me and many others.
https://forum.xda-developers.com/oneplus-6/themes/tool-gsi-installer-2-0-t3803779
try this, it's easy and fast,

[HELP][SYSTEM][AOSP] I can't get my customized system.img flashed in

I've recently gotten an unknown-manufactured android pad and I want to flash my custom AOSP system into it. I'd just prefer to change the system image of the pad, from Android 9 to Android 10, and when I tried to flash the system image into it, the error pops out like this:
Code:
[email protected]  /media/caesar/TLC_0/AOSP/out/target/product/generic  fastboot -S 128M flash system system.img
Invalid sparse file format at header magic
erasing 'system'...
FAILED (remote: unknown command)
finished. total time: 0.002s
And now I've got no idea how can I solve this problem, I would appreciate your help. THANKS!

Pixel fails all sideload and flash

I have an original pixel and I was trying to install a couple of custom roms, used to do it all the time but haven't in a number of yrs as I had an unlockable phone. Anywho sideloading custom roms from stock doesn't complete, only going to .75 or .76x. Trying to use flashall on the factory image gives me an error about a missing file or directory? Pretty sure I have the correct factory image "10.0.0 (QP1A.191005.007.A3, Dec 2019)". When running flashall I get
fastboot: error: cannot load 'radio-sailfish-8996-130361-1905270421.img': No such file or directory
Rebooting into bootloader OKAY [ 0.007s]
Finished. Total time: 0.008s
ziparchive W 11-06 14:45:29 6048 23428 Unable to open 'image-sailfish-qp1a.191005.007.a3.zip': No such file or directory
fastboot: error: failed to open zip file 'image-sailfish-qp1a.191005.007.a3.zip': I/O error
Press any key to exit...
I'm sure it's something simple I'm just not aware of, any assistance or info appreciated. Thank you

Flashing is not allowed for Critical Partitions

Hello guys!
Today I unlocked my old oneplus 6 phone,I wanted to flash google rom,so I execute
Bash:
adb reboot bootloader
and run flash script inside google android images.
Bash:
└─$ ./flash-all.sh
Sending 'bootloader' (4620 KB) OKAY [ 0.154s]
Writing 'bootloader' FAILED (remote: 'Flashing is not allowed for Critical Partitions
fastboot: error: Command failed
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.051s
I have no idea why this happpened,so I searched on google but got nothing.
And I've tried
Bash:
└─$ fastboot flashing unlock_critical
FAILED (remote: ' Device already : unlocked!')
Since I am new to these kinds of topics,any advice would be appreciated.
did you already set fastboot flashing unlock ?
makesure your adb / platform-tools is the latest too

Categories

Resources