yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam General] CrunchyGremlin:
i dropped my phone hard a week or so ago and was trying to find the same answer.

yeah anything that does an enter will take a picture.

keypad. center button. pressing down on the scroll wheel. all will take a picture.

I wonder what it is about that button that makes it so "fragile"

I basically, not literlly, threw my phone at concrete... it scuffed and the camera button broke. Internal speaker wire came undone as well.

had to void the warrenty to open it up and fix it but i was amazed at the phones durability at least externally.

now if only the software was as solid.
[Nexus 5X General] SlimSnoopOS:
Reserved #2
[Nexus 5X General] SlimSnoopOS:
Reserved #3
[Nexus 5X General] SlimSnoopOS:
OSX, ADB and Fastboot commands!

So you use OSX and would like to use ADB/fastboot, unlock, root, or simply have a working knowledge of your phone. Welcome! Most of the information in the guide above applies to OSX, however there are a few key changes.

Google hosts ADB/Fastboot (platform-tools) for Windows, OSX, and Linux. This is a minimal download, however these links and file sizes may be updated periodically by Google. Download the OSX platform-tools. Note that clicking the link for platform-tools will immediately start a download.

*OSX: platform-tools.

Once you have downloaded the platform-tools zip, extract the file then transfer the platform-tools folder to your desktop. The platform-tools folder contains adb, fastboot, and several other files.

To make sure your ADB is installed correctly, open a terminal command prompt and issue this cd command (change directory) to the platform-tools folder:

cd /users/username/desktop/platform-tools

then issue this command to check your adb version:

./adb version

If it returns a version number for Android Debug Bridge then you're good to go.

Using ADB/Fastboot commands

OSX natively requires "./" to prefix any ADB or Fastboot commands. If following the guide in post #1, commands issued in OSX must be written as follows ./adb [command] or ./fastboot [command]. Below are example scenarios.

To check if your device sees ADB, enable USB Debugging from within Android in Settings/Developer options. Go into Settings/About Phone, scroll down and click on build number continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and enable USB Debugging.

./adb devices

It should return your device serial number, if so, adb is working.

Reboot into the bootloader:

./adb reboot bootloader

Reboot into the recovery:

./adb reboot recovery

Fastboot commands must be performed while in the bootloader. Power off your phone then boot into the bootloader (power + volume down). Below are some example OSX fastboot commands that can be used throughout the guide:

Check if your device sees fastboot:

./fastboot devices

Install a factory image:

cd into the platform-tools folder with the following command:

cd /users/username/desktop/platform-tools

Now enter commands to flash a factory image:

./fastboot flash bootloader /users/username/desktop/bullhead/images/bootloader-bullhead-bullhead-xx.xx.img
./fastboot reboot-bootloader
./fastboot flash radio /users/username/desktop/bullhead/images/radio-bullhead-bullhead-xx.xx.img
./fastboot reboot-bootloader
./fastboot flash boot /users/username/desktop/bullhead/images/boot.img
./fastboot erase cache
./fastboot flash cache /users/username/desktop/bullhead/images/cache.img
./fastboot flash recovery /users/username/desktop/bullhead/images/recovery.img
./fastboot flash system /users/username/desktop/bullhead/images/system.img
./fastboot flash vendor /users/username/desktop/bullhead/images/vendor.img
[Nexus 5X General] NOSTALGIA:
[MENTION=4153349]Heisenberg[/MENTION] you mind if i create an index thread?
[Nexus 5X General] Heisenberg:
Go right ahead, first in best dressed as far as I'm concerned. It is a fair bit of work to keep an index maintained though, as long as you're aware. There's a new template for indexes too, using your Google goggles you should be able to track it down pretty easily.
[Nexus 5X General] NOSTALGIA:
il take note.. il update the thread once im back on my pc.. now still at work ...
[Nexus 5X General] NexusPenguin:
Deleted...

Should have read the first lines in the OP :(
[Nexus 5X General] Avenue Blue:
Cant wait, should have mine around october 30th.
[Nexus 5X General] AquilaDroid:
Might want to point out the cable /adapter required to connect to pc. (I just saw that it's not included with the phone.)
[Nexus 5X General] areku:
I picked up a few of these to get me by for now until the price of Type-C goes down a bit http://www.ebay.com/itm/381344035966
[Nexus 5X General] FoleyRose:
I ordered one along with my phone, will be helpful for flashing.
[Nexus 5X General] maxoum88:
Thanks, a friend of mine pre order this phone, I'll follow these steps :)
[Nexus 5X General] KidWave:
Thanks for starting this, these were some of the most helpful threads in the N5 forum.

For Mac users who have upgraded to El Capitan, the adb/fastboot installation doesn't necessarily work perfectly right now. I'm sure the Android SDK package will update for this, but in the mean time:

Install adb/fastboot as usual similar to this thread, or for specifics:

http://xdaforums.com/showthread.php?t=1917237

but, once you test this with [adb devices] or [fastboot devices] you'll most likely get a command not found error.

You'll need to add a line to your ~/.bash_profile, per this reddit thread

add the following line to your ~/.bash_profile, changing username to your mac username

export PATH="/usr/local/lib/node_modules:/usr/local/apache-maven-3.0.3/bin:/Users/[B]username[/B]/.composer/vendor/bin:/Users/[B]username[/B]/Library/Android/sdk/platform-tools:$PATH"

exit, save, then run

source ~/.bash_profile

then adb/fastboot should be good to go like before!
[Nexus 5X General] H0tep:
OP has best username ever
[Nexus 5X General] The-Kevster:
Doesn't work!

C:\Users\Kevin\Downloads\Nexus 5x>fastboot oem unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.017s

C:\Users\Kevin\Downloads\Nexus 5x>fastboot flashing unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.014s

C:\Users\Kevin\Downloads\Nexus 5x>fastboot flashing unlock_critical
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.011s

C:\Users\Kevin\Downloads\Nexus 5x>fastboot flashing get_unlock_ability
...
(bootloader) get_unlock_ability: 0
OKAY [ 0.020s]
finished. total time: 0.022s
[Nexus 5X General] Jdban:
Did you allow OEM Unlock in developer options?
[Nexus 5X General] KidWave:
Does the 5X have the hardware QFuse that that pops when you unlock the bootloader like the 6P?
[Nexus 5X General] shimp208:
They both use Qualcomm based chips so yes the same thing would happen on the 5X.
[Nexus 5X General] perkymango:
**HELP** Can't boot

Hey, I was following the guide and I did step 4 and rebooted. Now I am stuck on the boot animation and don't know how to fix. I get the little device corrupt warning and all but I don't know what to do. TWRP works fine, bootloader, fine. I don't know my build number. I just really need help here. Also I flashed boot image Thanks ~ Nick

//Yes I am new to this

//I'm okay with just getting back to stock just I don't know how

Extra Details: Went to download SuperSU to my phone but it didn't start up.

TWRP is ok and works fine

Bootloader is ok and works fine

I can do fastboot commands
[Nexus 5X General] reddv1:
The guide is wrong, you shouldn't have rebooted until you flashed the modified boot image in step 5. Your device was probably re-encrypting when you rebooted in step 4, that takes a long time and you probably interrupted it.

To go back to stock:

Just flash the radio.img, system.img, boot.img, cache.img, and userdata.img; then you'll be back at stock. Format userdata if you have a 32 GB version to fix the storage bug "fastboot erase userdata".

Flash all those, but flash the modified boot.img instead to decrypt. Then boot up android.
[Nexus 5X General] perkymango:
Hey man

Actually dude, thanks for the reply. I swear I did that 5 minutes ago with google stock and just restried. This time, I did boot.img BEFORE TWRP. Thanks for the reply though man.
[Nexus 5X General] SnowWolf75:
I just got a shiny new 5X (32GB) by signing up with Project Fi (Google's cellular baby). I want to root it, but I'm running into a bit of a problem:

$ fastboot oem unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.004s

I am running on a Mac, but I've used this very machine (and version of adb/fastboot) to unlock the bootloader of a Nexus 7 a little while ago, so I'm fairly sure the problem isn't in my programs/OS.

Since I can't post a screenshot (yet), here is a transcript of the fastboot menu::

FASTBOOT MORE

PRODUCT_NAME - bullhead

VARIANT - bullhead LGH790 32GB

HW VERSION - rev_1.0

BOOTLOADER VERSION - BHZ10i

BASEBAND VERSION - M8994F-2.6.28.0.65

CARRIER INFO - N/A

SERIAL NUMBER - <hidden>

SIGNING - production

SECURE BOOT - enabled

DEVICE STATE - locked
[Nexus 5X General] rustybathtub:
Go to developer settings first and enable oem unlocking, then try the steps again
[Nexus 5X General] SnowWolf75:
Aye, that did it. Missed that step among the others. Thanks.
[Nexus 5X General] ibilln:
How to get to twrp?

fastboot oem unlock. Check

Install TWRP per guide. Check

Reboot into fastboot mode from fastboot mode. Check

Scroll up to recovery in Fastboot menu. Check

Press power button. Check

reboot into TWRP. Check

reboot into system from TWRP. Power off. Reboot into fastboot mode. Scroll up to Recovery. Press power.

It reboots into stock recovery.

I've done/fixed this before but cant remember what I did, & now, to get back to TWRP I have to re-fastboot flash TWRP. Halp! Tnx

---

solved...
[Nexus 5X General] teapea:
Where can I find the boot.img for MDB08L for use with systemless root?
[Nexus 5X General] ibilln:
There's a link in the first post, section 5

---

Bad info, link not to systemless boot.img
[Nexus 5X General] teapea:
Ah OK thanks - so this method is for the systemless root anyway then?
[Nexus 5X General] ibilln:
Thaz my understanding. Actually about to try it. Will post in a bit.

---

Not true, ref'd link is not to the systemless boot.img.

---

OK, supposedly, here is a link to the systemless root boot.img - from here. I can only verify that it works on my MDB08L stock load, and does provide root via SuperSU-v2.56-20151030013730.zip. I can not verify it is in fact systemless although probably SU-v2.56 would not work if it weren't.... Will try to provide more info.

---edit---

Am running the referenced boot.img, am rooted, and yesterday (11/20) did my first android pay. (!)
[Nexus 5X General] teapea:
Ah, thanks for the update ibilln, so back to the original question then, where can I find the boot.IMG for systemless root?
[Nexus 5X General] joetheshmo:
I would check chainfires thread regarding sysyemless root (SuperSU version 2.56)
[Nexus 5X General] ibilln:
Only bullhead-mdb08i-boot-systemless.zip is there. ..."8i".

---------- Post added at 12:28 PM ---------- Previous post was at 12:25 PM ----------

See my post #189 for non-definitive info.

--edit--

Less non-definitive. Am running the referenced boot.img, am rooted, and yesterday did my first android pay!
[Nexus 5X General] reddv1:
I'll try making systemless root boot images for MDB08L&M tonight. I won't test them because I'm already rooted with system root.
[Nexus 5X General] ibilln:
Kewell!
[Nexus 5X General] reddv1:
Here are systemless root modified boot images for MDB08L & MDB08M

bullhead-mdb08l-mboot-systemless.zip (not tested)

bullhead-mdb08m-mboot-systemless.zip (not tested)

These boot images have the following modifications per Chainfires instructions, just like the modified mdb08i boot image:

- patched sepolicy

- disabled dmverity

- disabled forceencrypt

-systemless root ramdisk modifications

From Chainfire:

Instructions:

You must absolutely re-flash your stock /system partition, or the separate root instances will interfere with eachother. The installer for this experiment will not clean up old root files.

- Flash stock /system

- Flash the attached boot image

- Flash the attached SuperSU ZIP in TWRP

Note:

- Not all SuperSU options are supported yet in this mode

- I have not tested with encrypted devices

- /system should never be remounted r/w, I hope I didn't miss anything here

- Root with modifying /system is also still operational. I can't predict what the exploiters will need.

- I'm not sure where we're going with this. Future roots may require a clean system.
[Nexus 5X General] perusmuro:
I am little confused with Busybox. Marshmallow has not enough space to install this under /system/xbin? It's possible to install somewhere else location? If it's what is that location?

I readed that Marshmallow has only 12Mb space and that is not enough.

Edit. This program work well: https://play.google.com/store/apps/details?id=me.timos.busyboxonrails
[Nexus 5X General] ibilln:
You da man!
[Nexus 5X General] Corbula:
Great post, I've never rooted or used a custom rom or kernel before but I'm considering for the 5x when I get one, so this is a great guide for someone like me. I think I will only root to begin with but I may try custom kernel to change the screen colours depending on how mine looks.

I have a couple of questions though.

1) I'm worried about the warranty though, at what point in this guide would the warranty become void?

2) Is it possible to make a backup while the phone is stock?

So A if anything goes wrong or I want to get the OTA updates again I can go back to complete stock as if new and start a fresh?

And B if something goes wrong and I need to send it off under warranty I can go back to a state where the phone would be covered by the warranty again?

Thanks
[Nexus 5X General] droidpulkit:
Hmmmm Wierd
[Nexus 5X General] SlimSnoopOS:
Quick answer, no there is no solution. It sounds like the motherboard was replaced on your 5X and if you boot into download mode, you'll see "no rpmb" in one of the lines.

Below is a workaround people used to utilize when we had Nougat and Oreo:

https://www.reddit.com/r/nexus5x/comments/5hj0r0/bootloop_after_lg_replaced_mainboard_bootloader/

Your bootloader will always relock itself on reboot though.

Edit: The thread below might be how you'd install a custom rom but again, this issue doesn't go away:

https://amp.reddit.com/r/nexus5x/comments/arw9vj/simple_solution_to_unlock_bootloader_root_and/

and this one too:

https://xdaforums.com/nexus-5x/help/rpmb-how-to-install-twrp-rom-using-t3891649/
[Nexus 5X General] freddienuxx:
Thank you brotha
[Nexus 5X General] rehatpz:
Hi. I have LGH791

BOOTLOADER VERSION: BHZ32C

SECURE BOOT -ENABLED

DEVICE STATE- LOCKED

Not able to open phone and go to developer options it is keep booting in Google logo. I have tried ``Nexus Root TOolkit`` > Unlock Bootloader> it does boot the phone but again keep coming same Google logo. I have tried" Fastboot oem unlock and fastboot flashing unlock > I have got ""FAILED: Oem unlock is not allowed.

Is there any one who can help me with this I have been trying over 2 hours but cant get it unlock or even factory reset. Thank you all
[Nexus 5X General] CLPose:
Hi! Sorry to say that your N5X seems to get the BLOD (boot loop of death). If you can make it boot with the hairdryer method, flash the 4-core zip workaround. Look for all these terms here, in XDA, and you'll learn. Sorry, man.
[Nexus 5X General] rehatpz:
I did try hair dryer method and downgraded to Android 7.1.2 version. So far it working fine it has been 2 days.I am not sure to upgrade to 8.0.0 android. Phone seems to be slower with opening programs and wifi. I will monitor and maybe will do reboot. Thank you again.
[Nexus 5X General] CLPose:
Great to know that it is working again. But don't count on it. Flash the 4-core patch and use it synchronized so that no important file is missed in case of death. Good luck!
[Nexus 5X General] lapputappu:
hey, i have a dead nexus 5x. when i am booting into fastboot mode and run adb shell command then it responds for fastboot devices but not for adb devices. please help
[Nexus 5X General] The_Jacoz:
Hello folks!

cant install usb drivers. Windows 7 64 bit tell me that cannot find a valid drivers. Even when pointing to the Google USB drivers.

Since that, my device isnt working in fastboot mode.

Yet i can access my nexusx 5x while running to download photos or upload files

Please any help? sorry first time rooting nexus 5x

thanks
[Nexus 5X General] CLPose:
Hey! You definitely have a driver problem. Did you follow steps to install your N5X drivers? If you don't want to do with this method, you can try the Nexus Root Toolkit. Though not updated anymore, it has a step-by-step driver installation that works great! Good luck!
[Nexus 5X General] The_Jacoz:
Thanks CLPose

suddenly i have been able to load the drivers and all working good. Rooting Nexus 5x was really funny and yes finally i can use all the appz in Android Auto :D
[Nexus 5X General] loversky420:
my device not boot .... so i cant oem enable ,,,.. please give me solution

my device not boot .... so i cant oem enable ,,,.. please give me solution ...how to bootloader unlock.. my bootloader ability 0... please help meeee... :(
[Nexus 5X General] Suodes:
this cursed ADB

Hi everyone.

My N5X is now 4 years old and, since I'm changing phone anyway, I wanna try some custom roms.

I have a mild experience with my even older phone, the nexus 4.

Now, I have a problem at the very beginning of the guide, I can't get past the "Prerequisites".

Probably things have changed since the guide was last edited and I can't get to install the ADB, which as far as I can tell is essential to unlook the phone ecc.

Can someone help me? Maybe check if there's something missing in the guide?

Thanks in advance.
[Nexus 5X General] fvisagie:
Can you say exactly what step you get stuck with and what the problem/error message is?

From a quick look the guide for installing ADB still looks up to date enough. The only minor update missing I could spot was that Option B's

should now read

(although that section's description and filenames should still suffice to direct one to the right download).
[Nexus 5X General] Suodes:
Thank you very much for the reply!

So, on Option A the guide lists:

- *Windows: platform-tools. Google USB Driver install.

The guide says "download the google driver and install them". Done, everything ok even though window says i've already installed the latest driver.

Then the guide says: "Once you have downloaded the platform-tools zip, extract the file then transfer the platform-tools folder to your desktop."

Done that.

Now the next step would be the first check "For Option A and B, make sure adb is correctly installed."

At this point I don't have ADB installed, and nothing in the folder platform-tools let me install ADB, as far as I know.

I've also tried Option B, I manage to download "Command line tools only" and extract it in the C:\SDK folder.

But then it says "Navigate to C:\SDK\android-sdk-windows and open SDK Manager.exe.".

In my C:\SDK folder I've only the tools folder.

I don't know what I'm doing wrong in either methods :crying:
[Nexus 5X General] CLPose:
It sounds crazy, but using Nexus Root Toolkit is the best way to install N5X drivers. It has a step by step guide! I tried so many times and I finally did it with NRT. Try it!
[Nexus 5X General] Suodes:
I'll give it a shot, do you have any link? I don't know what it is and I definitely need a guide for that.
[Nexus 5X General] fvisagie:
Pay attention to the guide. E.g. Option A & following (my bold emphasis):
[Nexus 5X General] Suodes:
Again, thank you so much for your reply, but I'm still in trouble.

I have that directory on the desktop with the files inside (adb.exe, fastboot.exe, ecc..), but I can't install them.

Double clicking doesn't do anything, and in the command prompt the command adb version gives me an error saying that the it can't find such command.

Prompt screenshot (it's in italian)

[IMG="screenshot"]https://i.imgur.com/cNi6p0Q.jpg[/IMG]

It suggest me to type .\adb, it works but I don't know what to do with all those lines, I've tried to read through it but I don't understand very much about it.

I don't know what's wrong with me.
[Nexus 5X General] CLPose:
Sure! Take a look at this: https://xdaforums.com/showthread.php?t=1766475. Good luck!
[Nexus 5X General] Suodes:
can someone help me?
[Nexus 5X General] fvisagie:
Ah, the command prompt you get is PowerShell, and not the legacy cmd.exe (you're probably using Windows 10). It wasn't clear from your previous message where the screenshot doesn't display for me.

As suggested you could preface each command with ".\" (e.g. "adb" becomes ".\adb" etc.), or you could simply add one step of your own and then proceed with the instructions as provided.

Once you have opened the command prompt as instructed (which in your case is the PowerShell command prompt), execute

cmd

then proceed with the rest of the instructions.

[Instead of adding the "cmd" step, you could also change your default command prompt to that, but that's off-topic.]
[Nexus 5X General] droidpulkit:
Did anyone noticed that installing Magisk on Stock rom, makes it kinda slow. Considering that Magisk is running always in background to allow/disallow things. System-less after all have some effect I think so
[Nexus 5X General] fvisagie:
Can't really say I've experienced that.

Any other changes in the meantime that could have caused that perhaps?
[Nexus 5X General] droidpulkit:
No other changes, probably my bad luck, will try clearing Cache and Delvik and see sup
[Nexus 5X General] Suodes:
Thank you very much mate, I was stuck in this stupid problem unable to escape.

Your help was incredibly helpful, sorry if didn't say I was running Win10, I assumed it was the norm these days.

Now I can start my trying not to brick my phone adventure, wish me luck!
[Nexus 5X General] haylebob:
i ran adb faastboot bootloader see result Nexus 5X shows Fastboot Mode than

i ran the command fastboot devices but the nexus dont returns a fastboot devices

what do i wrong here?

thank you

Michael
[Nexus 5X General] ibilln:
AFIK, the Goog does not void warranties. Ie, you could root the heck out of it and send it back as-is within 14 days, and get a refund, although I've not "tested" this. I prefer the "complete stock" path below.

To do a Nandroid backup you have to have a custom recovery, thus, you've un-stocked it. However, see below. You could do an adb backup while totally stock with USB debugging on in settings. ADB backup is very weak tea, IMO.

To go back to complete stock, go here and follow directions. But, really, follow Heisenberg's directions in the OP.
[Nexus 5X General] Corbula:
Thanks.

So I could do an ADB backup while in stock before I touched anything, mess around with what Heisenberg has posted then if I need to send it off in a couple of months under warranty or just want to start fresh for further modification or back to OTA, I could either restore the ADB backup or just flash the Google Devs image and I'll be back to as if new.

Edit: Also, why do you say that ADB backup is weak tea? What don't you like about it?