Change android name from "android-..." I have many android devices connected to my network but they are all showing as android-[string of hexacecimal].

My OnePlus 3t (v7.1.1) is one of the devices. I have changed the name of the device but it still shows up as android-xxxxxxxxxx.... 

Is there a way of fixing this.
What you wish to change is the device's hostname. On certain ROMs such as LineageOS, you may do so via the Device hostname setting, located inside the Developer options. You can access them by typically tapping the Build number information, placed inside the About phone setting, seven or more times.

If the Device hostname setting is missing, you may achieve the same result by either using a computer and sending commands via adb, or by installing a terminal emulator app.

While I won't cover the topic of setting adb and USB debugging on, the command to use with adb is

adb shell "setprop net.hostname &lt;hostname&gt;"


If using a terminal emulator, instead, the command to use is

setprop net.hostname &lt;hostname&gt;


In both cases, replace &lt;hostname&gt; with a name of your choice, and press the Enter key to run the command.