Hello guys,
I was using stock ROM in my Moto X Play xt1563. It doesn't show the notification panel, the HOME button doesn't work, the DEVELOPER options don't unlock.
I tried to WIPE DATA/FACTORY RESET, but after the bootloader it won't advance do the wipe options.
So I tried to flash a STOCK ROM and the phone is BRICKED.
I can access the BOOTLOADER, but the bootloader is LOCKED.
I can't UNLOCK the bootloader because the USB debugging is not active.
Without the bootloader unlocked, I can't FLASH to the phone.
FASTBOOT WORKS.
What can I do to unlock the bootloader without the USB debugging?
Looks like you've got factory reset protection active and there isn't much you can do about it. bTW, you don't need unlocked bootloader nor usb debugging to flash factory firmware. It goes via fastboot not adb
minimale_ldz said:
Looks like you've got factory reset protection active and there isn't much you can do about it. bTW, you don't need unlocked bootloader nor usb debugging to flash factory firmware. It goes via fastboot not adb
Click to expand...
Click to collapse
I tried to Flash the STOCK ROM 5.1.1, but my phone was 6.0.1.
I am downloading the stock 6.0.1 to try again.
Downgrading firmware is not a good idea unless you know how to do it
Related
After unlocking the bootloader a month ago or so and installing tpxmm , I noticed oem unlock under developer options was disabled.
Well I had to enable oem unlock to disable device protection to reinstall tpxmm.
Should this be set to disabled now after install?
Sent from my XT1575 using Tapatalk
Doesn't matter. That setting only affects whether you can use the "fastboot oem unlock" command. Since your bootloader is currently unlocked, that setting will have no affect.
divinemyth99 said:
Doesn't matter. That setting only affects whether you can use the "fastboot oem unlock" command. Since your bootloader is currently unlocked, that setting will have no affect.
Click to expand...
Click to collapse
Old thread, but still relevant.
Are we sure about this? If "OEM unlocking" is disabled, does Moto's bootloader not block flashing certain images? I have read about other devices not allowing modification with this setting disabled, including flashing back to stock. The solution was restoring a full backup of stock in TWRP, then booting stock and enabling OEM unlocking.
Can anybody confirm if this is the case with the MXPE?
quakeaz said:
Can anybody confirm if this is the case with the MXPE?
Click to expand...
Click to collapse
That's the phone I have.
In Android OS, Developer Settings -> Allow OEM Unlocking is Off, but boot loader was previously unlocked and I have TWRP 3.0.0 installed. Rebooting to bootloader shows
Code:
Device is UNLOCKED. Status code: 3
Software status: Modified
I was able to upgrade to TWRP 3.0.2 using fastboot despite the Developer Settings- > Allow OEM Unlocking setting.
Re-locking the bootloader and restoring to stock as a bit of a process for another thread and if your bootloader shows "Device is LOCKED" then you will need to change the setting in Android before fastboot oem unlock will work. I've never had to change the setting since then, though, and every factory reset in android set it back to Off.
divinemyth99 said:
That's the phone I have.
In Android OS, Developer Settings -> Allow OEM Unlocking is Off, but boot loader was previously unlocked and I have TWRP 3.0.0 installed. Rebooting to bootloader shows
I was able to upgrade to TWRP 3.0.2 using fastboot despite the Developer Settings- > Allow OEM Unlocking setting.
Re-locking the bootloader and restoring to stock as a bit of a process for another thread and if your bootloader shows "Device is LOCKED" then you will need to change the setting in Android before fastboot oem unlock will work. I've never had to change the setting since then, though, and every factory reset in android set it back to Off.
Click to expand...
Click to collapse
Thank you for the info. Have you tried flashing stock recovery with the setting off? If so, no issues?
quakeaz said:
Thank you for the info. Have you tried flashing stock recovery with the setting off? If so, no issues?
Click to expand...
Click to collapse
Not in a log time, so I just tried just now and did the following.
Installed factory recovery
booted into factory recovery
wiped cache (I couldn't remember how to get the menu in the factory recovery, so that took a while =D)
booted into android
rebooted back to boot loader
flashed twrp
booted into recovery to verify twrp installed and is functional
Everything seems to be working.
divinemyth99 said:
Not in a log time, so I just tried just now and did the following.
Installed factory recovery
booted into factory recovery
wiped cache (I couldn't remember how to get the menu in the factory recovery, so that took a while =D)
booted into android
rebooted back to boot loader
flashed twrp
booted into recovery to verify twrp installed and is functional
Everything seems to be working.
Click to expand...
Click to collapse
You flashed stock recovery with the OEM unlocking option turned off, correct? That's what I was reading on a Hauwei device was the problem. With the setting turned off in stock, it wouldn't let him flash stock recovery image. He had to restore via twrp backup.
quakeaz said:
You flashed stock recovery with the OEM unlocking option turned off, correct? .
Click to expand...
Click to collapse
Yes, I left the OEM unlocking option in Developer Settings turned off through the whole process. I haven't turned that setting on since I originally unlocked my bootloader back in January.
Am I completely out of luck. I try to run flash.bat from a factory image but img flash fails because the device is locked. I can't find any way to unlock it without getting into developer options which of course is impossible in boot loop. I've tried Wug's tools to no avail. Does anyone know of any way to unlock bootloader without getting into settings to enable usb debugging? Any help is greatly appreciated.
CeeJayII said:
Am I completely out of luck. I try to run flash.bat from a factory image but img flash fails because the device is locked. I can't find any way to unlock it without getting into developer options which of course is impossible in boot loop. I've tried Wug's tools to no avail. Does anyone know of any way to unlock bootloader without getting into settings to enable usb debugging? Any help is greatly appreciated.
Click to expand...
Click to collapse
There's no way you can unlock the bootloader. If the phone is stock with no modifications you can try using the stock recovery to adb sideload one of the full OTA updates. Check out section 13 of my guide here:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
So my Nexus6p randomly restarted once (I had been on 7.0 since release date with no issues) and since then is stuck in bootloop on the Google Logo.
Holding the Power+Volume Down boots into bootloader. From there I can't get to recovery or even tried the factory reset from there and it always gets stuck on the Google Logo.
I have downloaded the SDK and while fastboot works, adb doesn't.
I can't flash anything through fastboot because boot loader is locked. I can't unlock the booatloader because remote oem unlock is disabled. I have never had the need to root or unlock bootloader, so never had USB debugging or allowing unlock checked under debugging tools.
Can't sideload OTAs since adb doesn't work.
Do I have any options to recover the device and make it work again?
kumarshah said:
So my Nexus6p randomly restarted once (I had been on 7.0 since release date with no issues) and since then is stuck in bootloop on the Google Logo.
Holding the Power+Volume Down boots into bootloader. From there I can't get to recovery or even tried the factory reset from there and it always gets stuck on the Google Logo.
I have downloaded the SDK and while fastboot works, adb doesn't.
I can't flash anything through fastboot because boot loader is locked. I can't unlock the booatloader because remote oem unlock is disabled. I have never had the need to root or unlock bootloader, so never had USB debugging or allowing unlock checked under debugging tools.
Can't sideload OTAs since adb doesn't work.
Do I have any options to recover the device and make it work again?
Click to expand...
Click to collapse
Do you just have stock recovery? If so, can you boot directly into it with power + vol up. If so, maybe try hitting stock recovery menu to side load ADB or factory reset? Otherwise, sounds pretty borked unfortunately.
Sent from my Nexus 6P using Tapatalk
Hi all,
I've wanted to go back to Stock OS but when i type "fastboot oem lock" it says "FAILED <remote: Flashing Lock is not allowed."
Everything boots normally to OS 4.5.2. In DEV options the Unlock Bootloader is greyed out and says bootloader is already unlocked.
What can i do?
Cheers
These instructions did work for me with the OnePlus 3/3T. They should also work for the OnePlus5, just make sure that you download the OnePlus5 version of the software and recovery.
https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Use this link for the stock recovery: https://forum.xda-developers.com/showpost.php?p=72748921&postcount=5
reayard said:
These instructions did work for me with the OnePlus 3/3T. They should also work for the OnePlus5, just make sure that you download the OnePlus5 version of the software and recovery.
https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Use this link for the stock recovery: https://forum.xda-developers.com/showpost.php?p=72748921&postcount=5
Click to expand...
Click to collapse
Hi i tried but does the same when i get to fastboot oem lock (it says Flashing Lock is not allowed).
r1card0amr said:
Hi i tried but does the same when i get to fastboot oem lock (it says Flashing Lock is not allowed).
Click to expand...
Click to collapse
Thanks I asked the same question earlier glad u tried it..I want to make sure we can relock it before I get the phone. Did u enable oem unlocking in the developer options before doing a fastboot oem lock? Also, make sure you are on stock everything including recovery..
mohan_kr said:
Thanks I asked the same question earlier glad u tried it..I want to make sure we can relock it before I get the phone. Did u enable oem unlocking in the developer options before doing a fastboot oem lock? Also, make sure you are on stock everything including recovery..
Click to expand...
Click to collapse
Hello. I first thing I do always is to install drivers. I start by connecting the phone to the laptop in charge mode, then in transfer files mode, MTP or camera. In this way he will recognise all the drivers your laptop needs.
Also I enter in fastboot mode and recovery so the laptop can recognise the drivers and always reboot laptop and phone just to double check.
What I did was: go to Developer Options and enabled Unlock Bootloader and USB Debugging.
Then I accepted the laptop request on my phone and all drives were OK.
I run CMD and typed fastboot devices to see if it recognises my phone and it displayed a serial number. So I proceed next to type fastboot oem unlock and the process went OK and on my phone it asked Yes or No to unlock and I choose yes.
Then I flash a twrp image by typing on CMD: fastboot flash recovery recovery.img (my twrp I'm had other name so I rename it. You need to enable "Show file extensions" in Windows so you can see what the extension is).
I then type fastboot boot recovery.img and the phone entered in Recovery Mode in this case TWRP.
My phone was always connected to the laptop and he open the internal storage window so I drag the supersu inside.
Then on TWRP I wiped dalvik and cache and I went to Install and installed the SupeSU on my internal memory root.
The phone then rebooted and ready to go.
But then I went to developer options and the Unlock bootloader was greyed out. I unroot my phone and flashed a stock recovery for OP5 and the stock image 4.5.2 and when I type fastboot oem lock it always says it can't be flashed.
I need to stock it since I'm giving to a family member and they don't understand much about phones and If there's a problem the warranty doesn't cover.
Just installed supersu to try an app. I never install 3rd party roms.
r1card0amr said:
I need to stock it since I'm giving to a family member and they don't understand much about phones and If there's a problem the warranty doesn't cover.
Click to expand...
Click to collapse
the warranty is not voided with unlocked bootloader..
https://oneplus.net/hk/support/answer/will-rooting-or-unlocking-the-bootloader-void-my-warranty
I found now that if i take pictures or screenshots the Album Folder is empty. I think my phone is bricked. Hence i can't lock the bootloader.
r1card0amr said:
I found now that if i take pictures or screenshots the Album Folder is empty. I think my phone is bricked. Hence i can't lock the bootloader.
Click to expand...
Click to collapse
if your phones boots its not bricked... My guess is that you data is corrupted, i would wipe everything including userdata en reflashing the stock with recovery.
Hogyoku said:
if your phones boots its not bricked... My guess is that you data is corrupted, i would wipe everything including userdata en reflashing the stock with recovery.
Click to expand...
Click to collapse
Hi right before your comment i managed lol.
I re-flash the stock recovery and in recovery i reset and wipe everything. then i install the OS4.5.3 by ADB Sideload and it's working now.
Just wanted to get rid of the inital warning that my bootloader is unlocked. I want to lock again.
I rooted my device with Magisk, and now I want to restore it to factory state.
I flashed stock recovery and OOS several times, wiped everything but fastboot oem lock failed all times (FAILED (remote: Flashing Lock is not allowed)).
Can you help me?
What should I do to relock bootloader?
here is your solution
r1card0amr said:
Hi right before your comment i managed lol.
I re-flash the stock recovery and in recovery i reset and wipe everything. then i install the OS4.5.3 by ADB Sideload and it's working now.
Just wanted to get rid of the inital warning that my bootloader is unlocked. I want to lock again.
Click to expand...
Click to collapse
here in this video u can see in detail how to lock bootloader. hope this help you
https://www.youtube.com/watch?v=CQYCSdDUdAU
HOW TO RELOCK..
Install TWRP and Magisk if you don't have them yet.
Magisk should allow you to slide "OEM unlocking" to "enabled"
Reboot to fastboot
Flash stock recovery via fastboot.
Run locking via fastboot flashing lock
Allow it to reboot and upon start up it will say device corrupted (THIS IS NORMAL)
Boot to recovery via the warning start screen.
Once in recovery, sideload latest FW.
Profit.
I usually do it this way (successfully):
Wipe everything but OTG in TWRP
Format data
Reboot to TWRP
Flash the full stock OOS zip
Reboot to fastboot
Flash stock recovery
Lock bootloader with the fastboot lock command
Has anyone made any progress with this? I too am having the issue as described and have tried the solution by Ricyksydhu, along with solutions from various other places around the net.
i decided to flash stock nougat from stock oreo (currently usb debugging is on). While flashing nougat in fastboot my phone showed erase screen and rebooted back to stock 8.1(this happens after may update when the bootloader is unlocked and this time i'm sure that usb debugging option has been reseted and turned off by itself because of boot loader unlock). And then i forgot to turn usb debugging on and booted into fastboot mode and flashed stock nougat and bricked my phone. Please help, is there anyway to turn usb debugging on a bricked device?
Edit: i can access fastboot mode and bootloader is unlocked.
Thank You
Ykhenix said:
i decided to flash stock nougat from stock oreo (currently usb debugging is on). While flashing nougat in fastboot my phone showed erase screen and rebooted back to stock 8.1(this happens after may update when the bootloader is unlocked and this time i'm sure that usb debugging option has been reseted and turned off by itself because of boot loader unlock). And then i forgot to turn usb debugging on and booted into fastboot mode and flashed stock nougat and bricked my phone. Please help, is there anyway to turn usb debugging on a bricked device?
Edit: i can access fastboot mode and bootloader is unlocked and my adb recognize my device.
Thank You
Click to expand...
Click to collapse
Put your phone in fastboot mode (power and vol-) and flash stock Rom with Miflash (clean all).
sipollo said:
Put your phone in fastboot mode (power and vol-) and flash stock Rom with Miflash (clean all).
Click to expand...
Click to collapse
is it possible when usb debugging is turned off?
and when my devices even not detect in adb
EDIT: My device detects in miflash and got error when i flash (error:FAILED(data transfer failure (too may link))
Ykhenix said:
is it possible when usb debugging is turned off?
and when my devices even not detect in adb
EDIT: My device detects in miflash and got error when i flash (error:FAILED(data transfer failure (too may link))
Click to expand...
Click to collapse
Change USB port, change cable or try in another PC.