yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] ol2:
I can get into the bootloader no problem. In the bootloader, the DEVICE STATE is locked. When I do "fastboot oem unlock" it fails with:

FAILED (remote: oem unlock is not allowed)

This is because you must first enable unlocking in the Settings menu in Android before the fastboot command works. Android doesn't boot anymore since I re-locked the device, so there is no way to unlock the device...hence it is permanently bricked.
[Nexus 5X Q&A, Help & Troubleshooting] The_Automator:
Interesting didn't know that the developer option for oem unlocking unchecked itself when you locked the bootloader. That seems pretty dangerous
[Nexus 5X Q&A, Help & Troubleshooting] 0.0:
Can you enter safe mode? I thought there's a safe mode function built into Android

Sent from my Nexus 5
[Nexus 5X Q&A, Help & Troubleshooting] nyjumpman:
Can't you just flash a stock recovery?
[Nexus 5X Q&A, Help & Troubleshooting] jawmail:
[MENTION=1811927]simms22[/MENTION] they need your help here:) Same issues as w/ Nexus 6.
[Nexus 5X Q&A, Help & Troubleshooting] ol2:
Nope. You can't flash stock images unless the device is unlocked. If I run "flash-all.sh" it says "FAILED (remote: device is locked. Cannot flash images)".

This phone is totally bricked.
[Nexus 5X Q&A, Help & Troubleshooting] PhoenixTank:
Do these work?

I'm pulling out stuff from an interesting N9 thread

Which linked to this post
[Nexus 5X Q&A, Help & Troubleshooting] ol2:
Nope. "fastboot format userdata" returns:

FAILED (remote: device is locked. Cannot erase)
[Nexus 5X Q&A, Help & Troubleshooting] kibmikey1:
I'm not sure why your phone isn't booting into Android, since it's stock, but you could try a factory reset inside TWRP. If that doesn't work, did you make a back-up you can flash or sideload in TWRP? If not, you may have to wait until someone either uploads a flashable OTA, or a custom ROM you can flash in TWRP.

Edit: If none of these methods work, you could try pushing the stock images via TWRP and then a factory reset/wipe. I'm not sure if you can do this with a locked bootloader, though. Also, if the re-locking wiped your device, you'll have lost root, which will render this option useless.
[Nexus 5X Q&A, Help & Troubleshooting] PhoenixTank:
When you are in TWRP (broken, right? but will it just hang on the logo?), can you get adb to work?

Can you get adb shell to work?

If yes,

This might provide some help.

Bear in mind, those dd commands probably aren't correct for this device. I don't have an n5x yet to check...
[Nexus 5X Q&A, Help & Troubleshooting] ol2:
Awesome idea. TWRP is broken but there's a slight delay before it reboots itself. I'm trying to get the timing right to issue some adb commands before the reboot.
[Nexus 5X Q&A, Help & Troubleshooting] sn0warmy:
I made this same stupid mistake on my Nexus 6 a while back. I locked the bootloader for some reason and then ended up in the same position. Using the following commands while in the bootloader solved it for me. It took me hours to figure it out. In fact, I think Simms was the one who recommended it.

fastboot format userdata

fastboot format cache

If they are not working for you, then I wish you the best of luck. I feel your pain man.
[Nexus 5X Q&A, Help & Troubleshooting] Gig103:
I agree. I will have to keep it in mind and the geniuses that write guides hopefully will mention it.

Edit: Crud, that sounded sarcastic. It wasn't.
[Nexus 5X Q&A, Help & Troubleshooting] gee one:
How about fastboot boot twrp-bullhead-blah.img

This will boot into twrp but not flash it. Adb will work if you can get in.

Also, try just flashing the os image file with fastboot update image-bullhead-marshmallow-delta-tango.zip (unzipb from the factory image)

The flash all command will try to flash the bootloader which is forbotten.

Make sure you are using the latest fastboot too. There are some new commands- flashboot flashing unlock blah to unlock the non-bootloader bits. I'm not sure if it will work for you, but at this point it can't hurt.

I don't think that you are locked out just yet.
[Nexus 5X Q&A, Help & Troubleshooting] jimburke57:
Have you tried flashing factory images in fastboot?
[Nexus 5X Q&A, Help & Troubleshooting] MrCDWJR:
Deleted post..
[Nexus 5X Q&A, Help & Troubleshooting] ol2:
Thanks for your help here guys. Unfortunately none of the fastboot commands worked....all failing with "locked" messages, including flashing factory images directly from google. I was about to give up... I took the SIM card out and suddenly I was able to boot into TWRP (previously TWRP booted but instantly crashed and rebooted before I could do anything). Once in TWRP I was able to wipe/format. That allowed Android to boot up, then I could enable unlocking and get access to fastboot again. So my advice... don't ever lock this device even if it's working perfectly.
[Nexus 5X Q&A, Help & Troubleshooting] nyjumpman:
Glad you were able to get that resolved. I wonder why we have to allow oem unlock now in the developers section?
[Nexus 5X Q&A, Help & Troubleshooting] Andromjb:
Personally I think you're crazy for re-locking the device in such early developments. I would never take that risk.

Glad you are back up and running though. :good:
[Nexus 5X Q&A, Help & Troubleshooting] PhoenixTank:
Glad to hear you're up and running again!
[Nexus 5X Q&A, Help & Troubleshooting] Alferboy:
Very good you were lucky!!!! (And we all learned a few important lessons about auto-bootunlock-deauthorization and being extra careful when locking).
[Nexus 5X Q&A, Help & Troubleshooting] efrant:
Starting with the Nexus 6, re-locking the bootloader forces a wipe of userdata. This is done by the bootloader telling the stock recovery to wipe. If you don't have the stock recovery (and you have a custom recovery) your device won't boot because the bootloader is looking for the stock recovery to complete the wipe before it loads the kernel.
[Nexus 5X Q&A, Help & Troubleshooting] gee one:
I'm trying to understand the mechanism here... so by getting into a non-stock recovery and wiping cache, this will clear the recovery command/flag to wipe and allow the boot to proceed?
[Nexus 5X Q&A, Help & Troubleshooting] efrant:
If you have a custom recovery, and you decide to lock your bootloader, then I believe that if you boot into the custom recovery, then format data and cache, then reboot, it should work. (I got rid of my Nexus 6, so I can't verify.) I guess the question is, if you have a custom recovery flashed, why would you want to lock the bootloader? A custom recovery is not secure, so you won't be "more secure" by locking your bootloader.
[Nexus 5X Q&A, Help & Troubleshooting] gee one:
I've been wondering about the custom recovery and locked bootloader- I think if you were to change the keys in the recovery and then lock the bootloader, you could make the recovery secure. You would also have to build all your own roms as well as the customized custom recovery. This is probably more feasible for a corporation that uses proprietary software on the phone... or someone looking for a fun weekend project.
[Nexus 5X Q&A, Help & Troubleshooting] f1steiger:
Wish I would have known about this issue before I locked my bootloader and now I'm in the same boat. I need help, the only thing I can access is my bootloader but I can't flash anything since its locked. I tried everything on this forum and I'm still stuck. Any ideas would be appreciated
[Nexus 5X Q&A, Help & Troubleshooting] sn0warmy:
Did you try doing what the OP ended up doing, which worked for them?

.....
[Nexus 5X Q&A, Help & Troubleshooting] f1steiger:
Yeah I tried that and still can't get it to access twrp. :(
[Nexus 5X Q&A, Help & Troubleshooting] Alferboy:
Am I to understand you can't manually boot into TWRP, not by flashing but by removing sim card and booting once from it?
[Nexus 5X Q&A, Help & Troubleshooting] f1steiger:
Yeah I tried removing the sim card and let my phone boot normally. It goes to twrp but then it crashes, also I tried to boot to twrp through bootloader and I still get the same results.

---------- Post added at 11:29 PM ---------- Previous post was at 11:19 PM ----------

So while typing up my former response. The nexus finally booted into twrp, it took about 10 or so bootloops. But removing of the sim card is the answer.

For anyone else who reads this post just remove the sim and let it boot into bootloop. It may take quite a few bootloops but eventually it will work.
[Nexus 5X Q&A, Help & Troubleshooting] Alferboy:
Very glad you managed to sort out!
[Nexus 5X Q&A, Help & Troubleshooting] adrialk:
So, what is the best way to have a rooted phone while keeping the bootloader locked? (Without bricking the device)

Currently unlocked bootloader, rooted and TWRP installed. Would like to relock the bootloader. I'm OK giving up TWRP for stock recovery.
[Nexus 5X Q&A, Help & Troubleshooting] DroidsOnRoids:
To everyone that helped this guy,

Just wanted to say the support you guys offered up in helping this fellow member unlock his phone was VERY cool to see. Good things happen to good people!!
[Nexus 5X Q&A, Help & Troubleshooting] efrant:
Well, I don't have the device to test (so I take no responsibility for any issues that arise), but I believe this should work:

1) Verify that "Allow OEM unlock" is enabled in settings;

2) Reboot and re-verify that "Allow OEM unlock" is enabled in settings;

3)) Flash the stock recovery;

4) Re-lock the bootloader (which will wipe ALL your data, including everything in /sdcard).

5) Reboot.

Technically that should allow you to have a locked bootloader and root (and you could even flash back TWRP using something like Flashify from within Android).

Having said all of that, please be aware that, because you are not stock (i.e., you have made modifications to get root), you will have unlock your bootloader to update to the next version of Android, which will obviously wipe your device again. Moreover, you need to make sure that the stock recovery is flashed BEFORE you attempt to unlock the bootloader.

As I kind of asked earlier, I guess all of this begs the question of why you would want a locked bootloader? Going through all of these steps every time there is a new version of Android is very much a hassle.
[Nexus 5X Q&A, Help & Troubleshooting] adrialk:
Thanks for the explanation. I would like root with a locked bootloader because I want maximum security while still having root.

Now that I am rooted, I'm no longer being prompted for a code during boot. Unless this is just a result of TWRP? Which flashing the stock recovery would resolve? That might be enough security for me.
[Nexus 5X Q&A, Help & Troubleshooting] efrant:
What kind of security are you looking for? If you want to keep your data secure, all you need is to turn on encryption and have a strong lockscreen password/PIN. Whether your bootloader is locked or unlocked will not make a difference because no one will be able to access your data regardless, in the event you lose/misplace leave your phone somewhere.

Not sure I understand what you are saying about "no longer being prompted for a code during boot".
[Nexus 5X Q&A, Help & Troubleshooting] adrialk:
So what happened is that at the same time i rooted, I enabled accessibility for tasker. This disabled secure startup, which is the password prompt I was talking about.

Without this enabled, you can boot directly into TWRP and view data/transfer to a pc.

Nothing to do with the bootloader or anything like that in the end.
[Nexus 5X Q&A, Help & Troubleshooting] ViRb3:
Secure start-up is a OS setting, it doesn't affect bootloader, recovery, etc.
[Nexus 5X Q&A, Help & Troubleshooting] lukypuie:
Sorry for the late reply, but for everyone who is having this problem, there is a solution.

http://xdaforums.com/nexus-5x/help/req-help-to-unbrick-t3251740?nocache=1
[Nexus 5X Q&A, Help & Troubleshooting] David:
without download mode?
[Nexus 5X Q&A, Help & Troubleshooting] abdelrahmannagi:
i have the same problem but that post is talking about 32 GB devices . well it work on nexus 5x h791 16 GB ?

if not then is there TOT file for nexus 5x h791 16 GB ?
[Nexus 5X Q&A, Help & Troubleshooting] sumeluppal:
Hey friends, i m having the same situation here, Nexus 5X "DEVICE STATE - Locked" Itried some LGUP software to flash a .TOT file and later my device is not able to boot up and even that recovery mode is broken. Some Specifications are below

USB Debugging - off

Bootloader - Locked

Variant - bullhead LGH790 32GB

Bootloader Version - BHZ11e

I am able to go to download mode for LGUP software.

Please Help
[Nexus 5X Q&A, Help & Troubleshooting] PotentPotables:
You can flash stock rom on locked bootloader with ADB and then unlock it using "fastboot oem unlock" command.

Edit: assuming that you can boot into bootloader mode?!
[Nexus 5X Q&A, Help & Troubleshooting] sumeluppal:
Thanks for reply, Bootloader is Accessible, but i tried that command, its not working, it says "Device is locked". Any Idea to unlock it other than this command, like to turn o USB Debugging or Somthing else! Like making .TOT files to flash with LGUP software, in download mode.
[Nexus 5X Q&A, Help & Troubleshooting] milan187:
For anyone that wants a locked bootloader. Never unlock it and run stock.

Anyone on these forums should just unlock their bootloader even jf they are stock. No reason to have it locked at all and if you have any trouble you can actually fix it then.

When I bought this phone the first thing I did was umlock bootloader. Then started using it.
[Nexus 5X Q&A, Help & Troubleshooting] vito.exe:
Nexus 5X Bricked, Locked, Bootloop, Bootloader Lock, Unlock is not allowed

Found on google forum!

"... you *can* apply the full block rescue OTA files. These are fully signed by Google so they do not have the unlock requirement These steps should get you back up and running."

https://drive.google.com/file/d/0Bz6x7k-VkpUJam5Mc1hKa09PVGc/view?usp=sharing

In Short - if link not working

Go to “FASTBOOT MODE” next to "Recowery Mode". If “No command” appear. Press and hold Power, then tap Volume Up once. Here is your current Build Number. 6.0.1 / MOB30I / 2756745

Download same build from google - https://developers.google.com/android/ota

In Recowery mode “Wipe cache partition” and next “Apply Update from ADB”

On your PC execute command "adb sideload bullhead-ota-n2g47f-87f5e6a4.zip"
[Nexus 5X Q&A, Help & Troubleshooting] atk1024:
nexus 5x 32GB oem locked, bootloader locked phone in bootloop

I updated my nexus 5x to android O dev preview, factory resetted the phone and wiped the data in recovery mode to get it wiped completely. It went to bootloop from there. I am able to get into fastboot and recovery, but not ale to flash the factoy image as the phone was never rooted, hence oem is locked. No options are working for me. I tried flashing everything through fastboot option and it says device is locked, cannot flash images everytime.

I am able to get into recovery mode and adb, but in adb when i push the update file it is giving me error signature verification failed. Please help...
[AT&T Samsung Galaxy Note 4] asif_jamal@ymail.com:
I have AT&T note 4 unlocked with kitkat on it, if i flash lollipop will it again get locked? plz help
[AT&T Samsung Galaxy Note 4] umarsharif:
If you flash the Correct firmware properly you will not lose your factory unlock, but if done incorrectly or with the wrong firmware there is a chance of bricking your Note 4!
[AT&T Samsung Galaxy Note 4] asif_jamal@ymail.com:
flashed that and worked fine,but i am selling that and will buy the international version now so that i can root and can do anything with it
[AT&T Samsung Galaxy Note 4] umarsharif:
I will be doing the same & getting the Note 5 NOT from AT&T so I can customize my phone however I want to & not be stuck without root!
[Galaxy S6 Edge Q&A, Help & Troubleshooting] RecIV:
I flashed twrp 2860 onto my jp softbank s6 edge sm925Z. 5.0.2 android.

I want to remove this bloatware trash.

Is there a way for me to backyp my current firmware

And then try another countrys firmware with odin, from the samsung

Firmware page?

Samsung does not release the jp softbank sm925z firmware.

So my question is, . . .

If i flash chinese firmware i will lose TWRP right?

Then i can not return to my backup stock rom. Because no twrp.

So i would need to hope i can reinstall twrp on the chinese rom right?

If i try other firmwares, i will lose wifi and cellular service right?

Is there a way for me to change or insert my wifi cellular partition information

To new roms or firmwares?
[Galaxy S6 Edge Q&A, Help & Troubleshooting] Uzair40:
If you install a stock firmware you'll lose TWRP, and you'll have to install it again. You'll not lose wifi.
[Android One (First-Generation) Cross-Device Genera] maanu_raj:
Many android one users are facing problems in wifi (NVRAM WARNING err 10x0)

After updating their device to android marshmallow..

I have found a way to solve this error.. Just follow the steps in order to troubleshoot:

Warning: I AM NOT RESPONSIBLE FOR ANY BROKEN WIFI OR DEVICES BECAUSE THIS THREAT IS FOR ANDROID ONE ONLY.

What you need to perform the methods..??

1. A Rooted a1 device

2. Root Explorer.apk

3. Wifi Error Fix.rar

How to do this? (If it solves your problem.. "HIT THANKS"):good:

On Your Rooted device go to root Explorer

And navigate to File system root/

data/nvram/APCFG/APRDEB

There you will found to files named 1) WIFI , 2) WIFI_CUSTOM just simply delete these files

Now extract the files from the WiFi fix.rar

and move the extracted files to the previous (root/

data/nvram/APCFG/APRDEB) folder.

After this process complete You need to just reboot your device. Now go to the wifi adapter setting and you will find the message of NVRAM Error Warning is gone...

wififix.zip download link ��

http://xdaforums.com/attachment.php?attachmentid=2707382&d=1398400409

Rootexplorer.apk��

http://xdaforums.com/attachment.php?attachmentid=2859179&d=1405748913
[Android One (First-Generation) Cross-Device Genera] meprakash_pyc:
this may be the temporary solution. if you wipe data, the problem will again appear.
[Android One (First-Generation) Cross-Device Genera] durgeshshahi:
I always trying new rom and i use cwm recovery but after flashing cm12 beta 5 my phone stop importing data from oem.prop now in phone model it is showing unknown i check oem.prop and that is fine and when i copy data of oem.prop and paste in build.prop then phone model show right model so i need help to make my phone import autonatically data from oem.prop
[Android One (First-Generation) Cross-Device Genera] Tyaginator:
Make sure permissions are set to rw--r--r
[Android One (First-Generation) Cross-Device Genera] Esssdie92:
Thanks Sir, You are awesome!!!!!!!!!!!! :cool: :good: :highfive: :cowboy:
[Android One (First-Generation) Cross-Device Genera] nageen9211:
ON which file?
[General Accessories] shawndh:
Does this exist? I'm about to purchase an HTC P3300 and I would like to use a car diagnostic software call "VagCheck". To use it, you need a cable to connect from the the PPC to the cars OBDII port. These cables only come for iPaq ppc connectors to OBDII, serial to OBDII, and USB to OBDII. These cables are expensive and I already have a serial to OBDII cable. So I'm looking for some kind of way to connect the cable to the P3300 via the mini USB connector but I know there will need to be some drivers involved.

Does anyone know if there's an adapter from mini USB to regular USB or Serial for PPC's with drivers?

BTW, there is a more expensive alternative. There's a bluetooth connector for the car that plugs into the OBDII and you can just connect via BT. But that is the most expensive set-up.
[General Accessories] banerjeez:
USB to serial

I guess you can use USB to serial converter, which is inexpensive.
[General Accessories] TaurusBullba R.I.P.:
Thread moved. :)
[General Accessories] Antzzz:
AFAIK the P3300 is USB client only, which means it can only be used as a client device to a PC. USB host capability is required to work with USB peripherals such as a USB to serial adapter.

So basically what you are trying to do won't work with the P3300 unfortunately.

The only way around this problem would be to get a bluetooth-serial module which would connect to the serial - OBDII unit and allow the P3300 to connect to it via bluetooth.

A bit silly I know, this is the result of most PDA manufacturers choosing not to equip their devices with USB host capability.
[General Accessories] PressDigital:
Antzzz et al,

You're right.. The current HTC range are all only USB Client.. So you can't connect an HID device, serial adaptor etc.. There IS rumoured to be a set of serial pins on the non-standard Mini-USB style connector on the D810 device range - however, we've never seen a cable that breaks out (or explains the RS232 pins)..

Does anyone have a full pinout of the extended connector??? This might be a project for further investigation.... ?

There are a few industrial RS232 to Bluetooth adaptors, such as :

http://store.pressdigital.com.au/industrial-bluetooth-serial-adaptor-rs232-p-5092.html

But they're expensive as a rule.. You may want to grab a Bluetooth OBDII interface.. (or another cheap PDA with RS232 like a cheap low-end iPAQ hx2490).

Let us know if you stumble across the RS232 pinout on the extended D810 connector.

Cheers

Andy

www.pressdigital.com.au

Support Team
[General Accessories] mark.a:
i am having the same problem. i have a xda orbit with some software on it to adjust my air suspension on my car. i have tried connecting the cable supplied with it to a serial lead and then the obd11 lead but i could not get it to work. just found a Original O2 XDA Serial Sync Cable . ordered today from

http://l8shop.net/products/Original-O2-XDA-Serial-Sync-Cable-3280.asp

if you have any success in getting yours to work i would appreciate any help.
[AT&T Galaxy Note 3 Q&A, Help & Troubleshooting] Muzhiwan:
I found that there has a function to change auto brightness level on Korean Galaxy note 3 model.

But my ATT Galaxy note doesn't have that function.

Can i add it?
[General Topics] spix123:
Here is some information regarding the different touchscreen technology currently used in smartphones, their pros/cons and some examples of which phones use which.

Add on touch type The touch panel is separate from both the cover glass and the display panel.

In the past, this is what all phones used, ranging from budget to highend such as the iphone 4s. There was several variations, mainly whether an airgap was used, and if the material of the touch was film or glass. Those without an airgap and a glass sensor would give a very solid feeling screen, such as the iphone 4s. it's very durable but thicker and heavier than the other technologies.

Touch integrated into cover glass, also known as OGS or one glass solution. The touch sensors are integrated into the cover glass.

Many phones which you consider to use OGS don't actually use it. The huge disadvantage with this technology is that the touch sensor can be easily damaged and cracking the cover glass will always damage it. Depending on where the crack is, you may only loose only a small percent of the touch, half, or complete.

The 2 major smartphone makers who still use this technology in their flagship smartphones are Sony and Xiaomi. It has been previously used in Nexus phones, Oneplus One, LG G series amongst others. It's a good way of being able to include high quality displays which are thin and light, whilst keeping costs low. They are usually purchased as completed assemblies from screen manufacturers. Anyone notice how often you see complaints of touch screen problems with the Xperia Z phones? Unless you are okay with your phone becoming unusable if you crack it, do not buy a phone with this type of touchscreen.

Touch integrated into display, on cell and in cell.

These technologies have all the benefits of OGS whilst also being significantly more durable. Examples of phones which use this technology are recent flagships from Apple, Samsung, Huawei, LG, Asus. The screens with built in touch are usually purchased without a cover glass, then the glass of choice is applied ontop during assembly. Some cheaper phones also have this type of touchscreen, but with a lower quality display.
[General Topics] sakibm47:
I have galaxy s4 with on cell