Like about your One or whatever it is, this will give you needed information like what type of One it is and so on. WIll show your IMEI and so on, it’s very useful if you want to have all phone info in a file (just copy and paste into a text or word document).
– windows computer
– usb debugging turned ON, if you can’t find Developer options in phone: Read this
– usb cable (of course)
Edit: I assume that you’ve got a properly setup Android SDK or mini installation with ADB/Fastboot. If you need more help, you’ve got that HERE.
This guide is based on WIndows 8
First you need to open command line interface, in windows 8[.1] you press windows button + R (run) where you enter
which will open the command line.
NB! with 4.3 on your HTC One you will get asked on phone to ok the usb debugging mode from computer.
If you want to make sure that your phone is connected:
Which will simply list android device connected to computer (devices with usb debugging turned ON). This isn’t really necessary as it’s a part of the commands used later on, but sometimes it’s a useful way to make sure all things are GO.
First we need to reboot phone into bootloader mode
This you can either do manually, or with ADB and Fastboot installed on computer. You have a simple way HERE how, or use the more complex android sdk way. Simply use a ADB command for it.
adb reboot bootloader
This will force the phone to reboot into bootloader, if everything works like it’s supposed to, you will see windows load the fastboot driver (this will fail on htc one running 4.2.2 against a windows 8.1 computer, so don’t use a 4.2.2 One against win 8.1), and “fastboot usb” on the phone display.
Now you enter the fastboot main command with the command getvar (get variable) and “all” as parament for that
fastboot getvar all
Which will get you a list of various variables on the phone with model and such useful things.
Edit: Dec 12 2015
And, if you want to output this to a textfile, you can’t use the standard dos output since fastboot.exe doesn’t support that. So you have to use the 2nd output.
fastboot getvar all 2> phoneinfo.txt
That will create a text-file called “phoneinfo.txt” in the folder where you stand when you enter that command.
When you’re done, simply enter
Which just reboots phone out of bootloader mode. Done! See, that wasn’t hard now was it?
And as usual: if you find an error in text or something that’s pure wrong, please LET ME KNOW