Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I see names of computers in my router's DHCP leasing list. My android galaxy tab is listed under an alphanumeric name. How do I set a friendly name that I like?

share|improve this question

4 Answers 4

You can change the hostname to a less cryptic name in the Developer Options under Settings. Under the "Debugging" section in the Developer Options you will see an option called "Device hostname" which should currently be set to this rather cryptic name. You can change it to any alpha numeric name you like.

If you are on Android 5.0 that option is not there anymore. Though using the ADB shell still works. See this answer: How to set friendly network name of android computer? Root doesn't seem to be required on my phone. From the answer linked above without acquiring root access:

adb shell
getprop net.hostname
setprop net.hostname <new_hostname>
share|improve this answer
Sadly this option does not appear on a Bionic running rooted stock ROM 4.1.2. – ericx Jul 17 '14 at 16:00
Worked like a charm on my S3 running Cyanogenmod. :) – Ƭᴇcʜιᴇ007 Jan 15 at 17:10
This option is not available anymore since Android 5.0. – bk138 May 20 at 19:47
You can try @bayuah answer. I tried it and works without root access on my Android 5.01 phone. – Professor Sparkles May 20 at 21:17

Open terminal. Enter the following:

adb shell
getprop net.hostname
setprop net.hostname <new_hostname>

Root access is required.

share|improve this answer

Simply download and install the app called "Change Hostname" from the Play Store and enjoy editing your android device hostname (android-xxxxxxxxxxx).

Root access is required though, sorry for the non-rooted users.


share|improve this answer

The name that is sent to the DHCP server is not the hostname as is commonly thought, it's the VID (Vendor ID Code) which you cannot change. You could try changing the name at the router level if possible.

share|improve this answer
Is it possible to set hostname? Is it possible to set any name on Android? – Suzan Cioc Apr 4 '12 at 17:15
You should be able to change it in the settings, otherwise rooting it will allow console access and you could change it through there. – paradd0x Apr 4 '12 at 18:07
I can find only Bluethooth name setting. Can you please point where other name settings can be located? – Suzan Cioc Apr 5 '12 at 10:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.