My Moto G4 Plus (XT1643) is perfectly functional.
I decided to unlock the bootloader, and it worked (fastboot screen seconds that too).
However, before unlocking the bootloader, i accidentally flashed TWRP through ADB, and it failed after some steps.
Now, even after the bootloader has been unlocked, I pretty much cannot flash anything.
I get the "Bootloader validation failed", and "remote error".
And whenever I try to flash any recovery, it says "error : 'filename' cannot be loaded".
Any help is appreciated,
thanks.
It could be that you have disabled the option (OEM UNLOCK) in developer options! Check it, it has to be checked to flash through fastboot
Related
Before I describe my issue I'll let you know I've been looking up articles on how to solve this for weeks now. first post to XDA, so bear with me I'm new
I have two OPT, both have a similar problem, but one is working (I dare not try to mess with it) and the other I've already tried and tried and now I'm stuck in fastboot, no recovery, no OS.
I HAD an OS on it (Paranoid Android 6.0.1), but I couldn't factory reset, and I needed to, so that I could sell the phone. when I tried to factory reset through OS settings, it would boot loop until I hard reset the phone. I had no recovery apparently (IDK how I did that) but trying to install a recovery requires the "OEM Unlocking" setting to be checked. and for some reason it won't let me check the box. My working OPT phone has the same problem, the "Allow OEM unlocking?" box pops up, I select enable, and the toggle moves itself back to the grayed out selection. so I couldn't install a custom recovery, I can't do any formatting or erasing in fastboot either without that selection for some reason either. trying to only gives me a "FAILED (remote: device is locked. cannot erase images)" or "FAILED (remote: device is locked. cannot flash images)"
AND SO, I tried this (search google for "mega unbrick guide for a hard bricked oneplus 2". I can't post links apparently as it is my first post. it will be on the oneplus website) and now I have no OS. or at least I believe I have no OS because trying boot causes a bootloop. I've tried all the methods, but I'm assuming because my bootloader is locked, It failed with the "A2001_save_brick_mini" tool.
And so, all I have right now is bootloader. didn't have a recovery I guess, and now I think I don't have an OS. and I can't do anything in fastboot because is returns with a "FAILED" hehe. dang locked bootloader. I have no idea how both of these phones have locked bootloaders anyways, because I obviously unlocked the bootloader to install a custom ROM in the first place. did the bootloader relock itself, or maybe during the process of installing the ROM, the bootloader relocked? I'm not sure as I wasn't watching for that. the phones had booted with the new OS, and so I happily went along my business and didn't find out I had a problem until I tried to factory reset one of them.
no I have no phones now with similar problems, but at different stages of the same issue.
My ONE A2005 is working, but I can't toggle the "OEM unlocking". At least it has a working custom recovery (TWRP)
and MY ONE A2003 is stuck in fastboot (fastboot recognizes it via "fastboot devices" and I can reboot and "fastboot oem device-info") with what I believe to be no recovery or OS.
ask me any questions to further explain my predicament, and PLEASE offer me any things to try. I ave two phones to test different things with. I would prefer to keep the working one working though.
Have you tried the fastboot oem unlock command?
DR_HAX34 said:
Have you tried the fastboot oem unlock command?
Click to expand...
Click to collapse
Ah yes, I forgot to write that in. That also results in a "FAILED (remote: unlock device to use this command)"
I can't unlock because of the OS, or perhaps lack of OS now; And I can't install a new OS or recovery because my bootloader is locked
use qualcomm recovery tool if you can't get any help. it'll restore your phone to 100% stock
I seem to have lost the ability to unlock the bootloader of my XT1700. I previously had unlocked the bootloader and installed TWRP and SuperSU, which took a while to figure out, but it worked. Today I tried to install a newer version of the stock firmware using SP flash tool (from here), which seemed to work fine, except now I find I am unable to reinstalled TWRP or SuperSU because I cannot unlock the boot loader.
When the phone boots, I still see the "device unlocked" message, and I have enabled oem unlocking and USB debugging in the developer options menu, however when I go into fastboot mode, if I run the "fastboot oem unlock" command, when the phone prompts me to press up or down, I get an "unlocking failed" error, and Fastboot reports "Unlock operation is not allowed"
Any ideas on how I can unlock this device again?
So it seems like those firmware images must have locked boot loaders. I ended up installing an xt1706 firmware instead (from here) and was able to unlock the boot loader successfully.
Anyone know where to get xt1700 stock firmwares with unlocked boot loader?
Hi,
I've tried all the following steps in the video and I got the error "flashing lock is not allowed". I've already flashed stock rom and recovery and wiped the phone so it's as stock as it gets yet I still get the same error when I enter "fastboot oem lock". Please help ASAP!!!! I'm trying to update to Android 8.0 but the update keeps failing because my bootloader is unlocked
Thanks in advanced.
https://forum.xda-developers.com/oneplus-5/how-to/lock-oneplus-5-bootloader-guide-t3651819
Go to developer settings.. check the oem unlock option. If it's off, bootloader won't relock. You need to turn it on. If it's greyed out & can't be turned on, then you need to root your firmware or flash custom rom & turn it on.
When you have this problem, only magisk will help you turn on allow bootloader unlocked when it's grayed out.
So, you have to flash magisk, turn on allow bootloader to be unlocked in devlopper settings, then flash a clean OOS, make sure there's no modification like custom recovery or root, then relock your bootloader.
Good luck!
use command "fastboot flashing lock" instead of "fastboot oem lock", this will lock your bootloader
hope this tutorial will help you....!!! https://www.youtube.com/watch?v=CQYCSdDUdAU
I had the same problem and solved using magistik, reenable unlock volta loader and After relock.
I was using lineageos in my moto g4 plus. I wanted to flash stock again, so i did that. my bad I downloaded an update. After that i could pass the bootlaoder it shows an error message "failed to initialize partition table" . Recovery mode is also not working. since oem is locked i can not flash recovery, or any rom. what should i do to unlock the oem and flash a rom?
sunny_mathew said:
I was using lineageos in my moto g4 plus. I wanted to flash stock again, so i did that. my bad I downloaded an update. After that i could pass the bootlaoder it shows an error message "failed to initialize partition table" . Recovery mode is also not working. since oem is locked i can not flash recovery, or any rom. what should i do to unlock the oem and flash a rom?
Click to expand...
Click to collapse
almost the same here. my girlfriend´s moto g4 entered into bootloop, even though we havent tampered with custom roms, root or anything. so its got everything just like lenovo intented, rom, recovery, everything.
we managed to unlock oem at moto´s website, but since the system doesnt start, we cant enable it from developer options.
the bootloop takes us out of fastboot. and within fastboot we can scroll through the options but cant select any option.
is her phone a brick? or is there something we can do to save it?
we cant afford another phone nor tech service (right now), and she cant afford to be phoneless because of her job. so if anyone knows of anything it could help us a whole lot.
edit: also it doesnt charge
So I'm stupid and I wiped everything fully intending to install other software but my phone ran out of battery. Now there's nothing but fastboot. I tried to flash the twrp image onto the recovery part but it says FAILED (remote: unknown command) for everything I try. Any advice? I know the bootloader is unlocked because it says it's unlocked everytime I "fastboot oem unlock".