1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Droid 4 Wifi Hostname

Discussion in 'Droid 4 Hacks' started by K.ZIMM, Feb 19, 2012.

  1. K.ZIMM
    Offline

    K.ZIMM New Member

    Joined:
    Jun 5, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Found a method for a different phone that also works for the Droid 4. Original post is here [SCRIPT] Change Hostname - xda-developers.

    This is handy if you have multiple android devices connected to your router. Instead of cryptic names, you can change them to something more easily identifiable.

    This does require root.

    Using Script Manager, add the following code to run as SU and on start-up.

    Code:
    #!/system/bin/sh#change devName to whatever you want.
    devName=Droid4
    
    
    if [ "$(/system/xbin/hostname)" = "$devName" ] && [ "$(getprop net.hostname)" = "$devName" ]
    then
        echo "Device hostname does not need to be changed."
    else
        echo "Device hostname is being changed to $devName."
        /system/xbin/hostname $devName
        setprop net.hostname $devName
        if [ "$(/system/xbin/hostname)" != "$devName" ] && [ "$(getprop net.hostname)" != "$devName" ]
        then
            echo "Device hostname has not been changed."
        else
            echo "Device hostname has been successfully changed."
        fi
    fi
    
    QR Code for Script Manager

    http://qrcode.kaywa.com/img.php?s=8&d=http://pastebin.com/raw.php?i=C76ZjxdQ
  2. myfishbear
    Offline

    myfishbear Developer Developer

    Joined:
    Jan 30, 2011
    Messages:
    1,291
    Likes Received:
    30
    Trophy Points:
    38
    Location:
    in the sea. sometimes on land as well
    thank you!!!
Search tags for this page
alterando hostname android 4.0
,
andoid 4.1.2 change hostname
,
android 4.3 change device hostname
,
android change wifi name
,
android device name
,
android hostname wifi
,

android wifi hostname

,
changge hostname for androird dna
,
droid bionic hostname
,
droid dna change hostname
,
hostname motorola phone on wifi
,
mudar hostname android
,
net.hostname android 4.3