Views:


Summarized by AI

🧾 Description 

This article explains how to change the network-visible device name (also known as the Android hostname) on Android 4.4 devices such as Datalogic terminals. This does not change the device’s unique Device ID, but rather the name shown on the network when connecting via Wi-Fi or other services.

Background

  • By default, Android 4.4 devices configure the hostname using the system-level ANDROID_ID, resulting in a name like: Shellandroid-486674f8306d7b0bShow more lines
  • You can view the current hostname using:
  • Shelladb shell getprop net.hostnameShow more lines

 

 

🛠️ Resolution Steps 

 

Option 1: Use the Hostname Changer Utility
Datalogic provides a utility with a graphical interface to change the hostname.
Steps:

  • Download and install the DL Hostname Changer utility from the internal resources or support portal.
  • Launch the app on the device.
  • Enter the desired hostname manually, or use the device’s Serial Number (SN) for automatic configuration.
  • Save and reboot the device to apply changes.


Option 2: Use ADB Command with Intent

  • You can also change the hostname programmatically using an ADB command, which is useful for scripting or MDM deployment.
  • Command: Shelladb shell am start -n com.datalogic.mobile.tss.dlhostnamechanger/.MainActivitySS5536 -e hostname B1SCAN12
  • Replace B1SCAN12 with your desired hostname.

Important Notes

  • This change affects how the device is identified on the network, but does not alter the device’s hardware ID or Android ID.
  • Reboot the device after applying changes to ensure the new hostname is active.
  • This method is compatible with Android 4.4 and may vary slightly on other versions.

 

 

Add a comment