Not working Nexus 5X - Nexus 5X Q&A, Help & Troubleshooting

I can't run Nexus 5X after flash stock firmware.
Phone restarts when is boot animation.
I have locked bootloader.
Please help

reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box

noidea24 said:
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
Click to expand...
Click to collapse
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.

Have you tried a factory reset from the stock recovery?

The_mamba said:
Have you tried a factory reset from the stock recovery?
Click to expand...
Click to collapse
Yes
I have this phone only 2 weeks.

XPawlex said:
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Click to expand...
Click to collapse
bootloader does not have to be unlocked for those commands.

Once you try the above suggestions, download the latest OTA and ADB sideload it. No unlocked bootloader required. The instructions on how to sideload are on the download page.
Sent from my Nexus 5X using Tapatalk

noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
uhm, from what I remember from the Nexus 6 brick disaster due to locked bootloader + disabled OEM unlocking + fail OTA, people were claiming that they couldn't do those 2 commands either with a locked bootloader.

noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
I haven't tested with the latest bootloaders, but I thought I recalled you couldn't do any write operations through the bootloader when it was locked.

Thank You
Thank you all for your answers, I will give tomorrow to repair. I will answer when I get it back and write what was the cause.
They gave me money for the phone, topic is closed.

Related

Bootloader doesnt show Fastboot option (Noob)

hi guys,
i tried following a the htc unlock guides. but when i boot my m9 into the bootloader (vol down + power on ) there is no option for fastboot.
when i use the command fastboot devices my device is recognized but i cant use the fastboot oem get_identifier_token command
it just gives me an error.
can someone please give me tip? am i missing something?
thanks in advance for your help
chronicg said:
hi guys,
i tried following a the htc unlock guides. but when i boot my m9 into the bootloader (vol down + power on ) there is no option for fastboot.
when i use the command fastboot devices my device is recognized but i cant use the fastboot oem get_identifier_token command
it just gives me an error.
can someone please give me tip? am i missing something?
thanks in advance for your help
Click to expand...
Click to collapse
Instructions are a bit wanky. You need to be in download mode for the instructions to work. Had similar issue.
Fastboot Doesnt Show
dratsablive said:
Instructions are a bit wanky. You need to be in download mode for the instructions to work. Had similar issue.
Click to expand...
Click to collapse
I tried going into download mode and then doing "fastboot boot recovery.img" so that I could take a nandroid in it's current stock form before flashing the TWRP recovery. All i got was a "Start Downloading" Prompt and when I'd select it, the device kept saying "Under Flash" over and over again. Any idea of what to do or do I have to take the plunge and flash the boot with the recovery image?
debasser2 said:
I tried going into download mode and then doing "fastboot boot recovery.img" so that I could take a nandroid in it's current stock form before flashing the TWRP recovery. All i got was a "Start Downloading" Prompt and when I'd select it, the device kept saying "Under Flash" over and over again. Any idea of what to do or do I have to take the plunge and flash the boot with the recovery image?
Click to expand...
Click to collapse
you can't boot recovery
you need to flash TWRP 2.8.6.4 beta
Make a nandroid and save it to your pc
In TWRP Terminal use this command
Code:
mount -t ext4 /dev/block/bootdevice/by-name/system /system
Reboot recovery and your ready to start flashing SuperSU / roms
clsA said:
you can't boot recovery
Click to expand...
Click to collapse
do you know why this is?
Update: found the answer plus more details for the other answers above, in this thread.
Captain_Throwback said:
8. How do I backup stock recovery prior to flashing TWRP?
You can't. The "fastboot boot" command appears to be disabled on the M9's ABOOT, so TWRP must be fastboot flashed over stock recovery. The firmware zip included in the OTA will include a usable stock recovery image. That can be extracted and flashed after stock system is restored so that the OTA can be applied.
Click to expand...
Click to collapse
i just bought this phone, and i also have this new "download mode"
the instructions ive found for unlocking the bootloader all belong to the old version of this fastboot mode.
does anyone know how i can unlock my bootloader so i can have root please?
thanks in advance
reignzy said:
i just bought this phone, and i also have this new "download mode"
the instructions ive found for unlocking the bootloader all belong to the old version of this fastboot mode.
does anyone know how i can unlock my bootloader so i can have root please?
thanks in advance
Click to expand...
Click to collapse
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Thank you sir, i think thats exactly the answer ive been searching for
Wish me luck im trying now
reignzy said:
Thank you sir, i think thats exactly the answer ive been searching for
Wish me luck im trying now
Click to expand...
Click to collapse
You're welcome.
You should be fine.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You're welcome.
You should be fine.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
bootloader now unlocked, time for the fun to begin!
YUS!!! thank you again kind sir
No problem.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Thanks, just got a M9 and going to Download mode worked.
kingvortex said:
No problem.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
i have htc one m9 demo device so im not allowed to change any of developer options. though usb debugging is enabled. is there any way i can unlock bootloader ?
someone tricked me nd sold this to me as a original deivce. quick help would be appreciated.
numanmalik77 said:
i have htc one m9 demo device so im not allowed to change any of developer options. though usb debugging is enabled. is there any way i can unlock bootloader ?
someone tricked me nd sold this to me as a original deivce. quick help would be appreciated.
Click to expand...
Click to collapse
As long as its not a verizon branded phone, you may be able to unlock it at www.htcdev.com/bootloader.I say may be because im not sure about a demo device, and whats different on that than a regular phone.
cmlusco said:
As long as its not a verizon branded phone, you may be able to unlock it at .I say may be because im not sure about a demo device, and whats different on that than a regular phone.
Click to expand...
Click to collapse
the difference is that i can not store any data in the phone. the app named "demo" keeps popping up automatically. and when it does my all data is gone like my contacts, messages, even the pictures.
in settings there are some option which i can not change, like i can not lock the phone or enter in the security section.
The phone is international version, i tried to unlock it from htcdev but for that u must be able to enter in FASTBOOT nd that OEM option in developer setting must be enabled. i am not able to enter any of those. No fastboot option in Settings. nd when i boot to Bootloader mode there is no option like fastboot. i hope this will make u understand what im trying to say! thannks
I dont know if its a demo thing, but general m9's dony even have the oem option in developer settings. There is no fastboot option to select in the bootloader, you just use a cmd prompt on your pc while in bootloader to type fastboot oem get_identifier token. Mabey i still dont understand.
In settings - display and gestures look for daydream and see if it gives you the option to shut it off. Or go to manage apps find daydream and see if you can disable it. I believe demo mode is part of daydream. Also may be called basic daydream. Also look for any other apps that say demo and try to disable them.

Bricked Pixel XL

So I messed up a bit when relocking my bootloader. I relocked the bootloader, and completely forgot that I had the ElementalX kernel installed. Now I'm at a point where my phone wont boot because it has a custom kernel installed on top of a locked bootloader, and I can't boot the phone to enable OEM unlocking. What the hell do I do here?
Flash the stock images.
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
Doesn't the bootloader need to be unlocked?
harritaco said:
Doesn't the bootloader need to be unlocked?
Click to expand...
Click to collapse
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
flonker said:
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
Click to expand...
Click to collapse
That is not an option. You need to have the bootloader unlocked in order to flash the images. I can't unlock the bootloader because I can't boot the device. I can get in to fastboot, and watch the charging animation, thats it. I can push commands, then it just comes back at me and tells me that I need to unlock the bootloader.
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
harritaco said:
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
Click to expand...
Click to collapse
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
schwem said:
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
Click to expand...
Click to collapse
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
harritaco said:
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
Click to expand...
Click to collapse
Hey! I'm the guy that mentioned the jcase solution in your Reddit post. Glad you got it fixed.
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
longbowpilot said:
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
Click to expand...
Click to collapse
Did you load into bootloader (vol down + power) and try to run "fastboot -w" (to wipe userdata) then "fastboot continue" and wait 10 min. If you still don't boot power down, go into bootloader again and try "fastboot continue" again.
Sent from my sailfish using XDA Labs
I have tried the "fastboot -w" it says failed and the phone still says courpt. I guess ill just get a replacement. Thanks for the help.
I just want to confirm 100%...flashing stock will not RELOCK bootloader correct? I have a terrible freezing and force closing issue after rooting. I have flashed the stock boot image and tried other kernels but it hasn't helped. So I'm going to flash complete stock but afraid it will RELOCK bootloader
Forgot to mention I have an OTA but the download/install fails every time
Sent from my Pixel XL using XDA-Developers mobile app
Flashing stock will not relock the bootloader.
DIXZ06 said:
Flashing stock will not relock the bootloader.
Click to expand...
Click to collapse
Good to hear. Thank you for confirming
Sent from my Pixel XL using XDA-Developers mobile app
It happened in my case, i forgot to oem unlocking and usb debugging activated.. my rom is 7.1.1, need help, i am stuck in dot loop..
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Mike02z said:
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Click to expand...
Click to collapse
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
toknitup420 said:
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
Click to expand...
Click to collapse
dont understand that too^^
I think there should be a sticky that not to relock the bootloader before reading the proper instructions or please search the xda forums.
Sent from my Pixel XL using XDA-Developers Legacy app

Phone stuck in encryption screen after bootloader relock

I recently tried to relock the bootloader. All was successful, phone restarted, went to encryption screen but when i provided the PIN, it says wrong PIN. Not sure if there is any default PIN as the phone is not accepting the PIN which I kept.
Also tried to do factory reset the data via recovery mode, but the phone doesnt enter into recovery mode.
What should I do to get back the phone to original state.
vinuodh said:
I recently tried to relock the bootloader. All was successful, phone restarted, went to encryption screen but when i provided the PIN, it says wrong PIN. Not sure if there is any default PIN as the phone is not accepting the PIN which I kept.
Also tried to do factory reset the data via recovery mode, but the phone doesnt enter into recovery mode.
What should I do to get back the phone to original state.
Click to expand...
Click to collapse
You will have to unlock bootloader, and flash TWRP. i TWRP format (not wipe, format. the option which requires you to type yes) your data partition. Then flash stock recovery and relock bootloader. I have had similar issue when flashing custom ROMs with encryption enabled
Khizar Amin said:
You will have to unlock bootloader, and flash TWRP. i TWRP format (not wipe, format. the option which requires you to type yes) your data partition. Then flash stock recovery and relock bootloader. I have had similar issue when flashing custom ROMs with encryption enabled
Click to expand...
Click to collapse
Thanks for your reply. BTW where can I find the stock recovery files?
vinuodh said:
Thanks for your reply. BTW where can I find the stock recovery files?
Click to expand...
Click to collapse
In the guides section there's a whole thread with stock files.
kazuki1 said:
In the guides section there's a whole thread with stock files.
Click to expand...
Click to collapse
cool, thanks.
When tried to unlock it throws error - (bootloader) [KillSwitch] oem unlock Turn Off!. I think I haven't done allow oem unlocking. Is there any other way?
vinuodh said:
When tried to unlock it throws error - (bootloader) [KillSwitch] oem unlock Turn Off!. I think I haven't done allow oem unlocking. Is there any other way?
Click to expand...
Click to collapse
Are you using HTCdev website for bootloader unlocking?
You can wipe your data partition in the HTC recovery menu, no need for twrp I think
Flash RUU as it will format your data.
yldlj said:
Flash RUU as it will format your data.
Click to expand...
Click to collapse
Yes, need the right RUU download link.. Mine is HTC__039 Oreo.
Cro Cop said:
You can wipe your data partition in the HTC recovery menu, no need for twrp I think
Click to expand...
Click to collapse
Phone doesnt get into reecovery menu.
vinuodh said:
Yes, need the right RUU download link.. Mine is HTC__039 Oreo.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=818070582850511253
yldlj said:
https://androidfilehost.com/?fid=818070582850511253
Click to expand...
Click to collapse
Great worked like charm. Thanks guys for the help.

How to Relock Bootloader of OnePlus 7t

Anyone know how to Relock Bootloader of OnePlus 7t
frank602z said:
Anyone know how to Relock Bootloader of OnePlus 7t
Click to expand...
Click to collapse
fastboot oem lock
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
Does it swipe the phone?
I know it does when unlocking but I'm not sure about locking... Actually I never did it xD
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"
frank602z said:
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"
Click to expand...
Click to collapse
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
:good:
Never lock the bootloader after making system-level changes!
Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
how do i restore to stock? please help me
is it safe to just relock normally in fastboot via command prompt if ur on beta 2 one plus ?? Do i need any files to do it ? except adb etc...
If You did not messed with Rom it will be ok, but if You root it, first You need to go back to stock rom
Will the phone boot after relocking with a custom rom without root?
If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Use MSM tool.
Sent from my OnePlus7TPro using XDA Labs
Globus.gd said:
If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool
Click to expand...
Click to collapse
My phone is full stock, never rooted, just one day i unlock the bootloader but (so far) i want the bootloader locked again. I did the same procedure but wrote "lock" instead and nothing happend.
---------- Post added at 09:43 AM ---------- Previous post was at 09:28 AM ----------
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
I tried 3 weeks ago and no work!
And what You get as response for: fastboot oem device-info
??
yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Download the same version zip file and then use the local upgrade method to flash. I hope the "Corrupt" wiriting will go way.
Globus.gd said:
And what You get as response for: fastboot oem device-info
??
Click to expand...
Click to collapse
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
---------- Post added at 10:36 PM ---------- Previous post was at 10:30 PM ----------
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.
nice tips!
wilsonmd said:
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.
Click to expand...
Click to collapse
Got my HD1905, unlocked bootloader (no root etc. Only to be able to use TWRP, just in case) and installed my apps. Then I noticed the Netflix problem with unlocked bootloader. If I do a 'fastboot oem lock' now, I'm pretty sure it will do a factory reset, correct?
Thx, W

Does Locking bootloader again wipe data?

I have unlocked bootloader. Now i want to lock the bootloader again. Will it wipe my phone's data?
Sent from my Redmi K20 Pro using Tapatalk
Yes
SolitarioRider said:
cant unlock boot loader help please
Click to expand...
Click to collapse
it is not possible to relock the bootloader, from Fastboot directly ... The device will be corrupted later. To relock the bootloader, use the restore tool which will return the phone to its factory configuration ... Under ROM 10.0.7 .. The bootloader will be relock ... and all the data on the phone will be erased. It's the only way.
https://forum.xda-developers.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835
Zayatoshi said:
it is not possible to relock the bootloader, from Fastboot directly ... The device will be corrupted later. To relock the bootloader, use the restore tool which will return the phone to its factory configuration ... Under ROM 10.0.7 .. The bootloader will be relock ... and all the data on the phone will be erased. It's the only way.
https://forum.xda-developers.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835
Click to expand...
Click to collapse
I tried re-locking the bootloader using fastboot and it happened successfully.
I am on Beta 2. It got successful because i haven't modified my system. Also it did wipe all the data.
Sent from my HD1901 using Tapatalk

Categories

Resources