Change the Hostname of Your Android Device

You may want to change the hostname of your Android device for organizational purposes. My money-making Androids are already numbered physically and in their build.prop file. This is a new method I am doing to keep the DHCP tables nice and neat.

You are going to need ADB for this.

Download ADB & Fastboot

Windows
Mac

Remember Mac requires a “./” before these commands!

You will need to input these into command prompt when you connect your Android phone to the computer. Make sure you enable USB debugging in developer options first.


adb shell
getprop net.hostname
setprop net.hostname

https://youtu.be/Ck8PXM2ffIo