Possible Duplicate:
How do I change the name of my Android device?

It has a really long cryptic name. I want to rename it to something shorter.

  • Do you want to do this programmatically?
    – Michael Petrotta
    Commented Sep 8, 2010 at 4:34
  • @Michael I don't think so. This guy just asked this stackoverflow.com/questions/3664630/… some minutes ago. He wants to change the name of his handset. @Sheeham I think it does not worth the effort though; you can always use copy&paste or create an alias (or direct access if you use Windows).
    – Cristian
    Commented Sep 8, 2010 at 4:42
  • i just want to rename it, so i can type a shorter name into my terminal when im debugging. Commented Sep 8, 2010 at 4:47
  • 1
    You don't need to retype at all, pressing the "up button" on most Linux terminals and Windows' command prompt will give you the previous commands you have typed. Also, Copy-pasting in Linux terminal is easy, just select the text and middle click. Copy pasting in Windows' command prompt is more tricky, but doable: softwaretipsandtricks.com/windowsxp/articles/124/1/…. Alternatively, just unplug the devices/emulator you're not using. Alternatively, if you're using Eclipse, you can set which device you want to debug on.
    – Lie Ryan
    Commented Jan 16, 2011 at 7:46

1 Answer 1


If you are talking about when you do:

abd -s device-serial-number command

Then you can do this if it is the only device connected via USB:

adb -d command

But that will only work if you have just one device connected via USB, if there are more than one android devices connected via USB, it will return the "multiple devices" error.

Not the answer you're looking for? Browse other questions tagged .