ads

jeudi 24 septembre 2015

[HOW TO] Spoof/Change Wi-Fi MAC Address & Hostname in Yuphoria (Root)



Requirements:
1. Rooted Yuphoria phone.
2. Terminal Emulator app.

Steps:
1. Turn Off Wi-Fi and Open Terminal Emulator app.
2. Enter 'su' and grant root access.
3. To change MAC address, Enter the following:

Code:


echo XX:XX:XX:XX:XX:XX > /sys/devices/soc.0/a000000.qcom,wcnss-wlan/wcnss_mac_addr

(Replace XX:XX:XX:XX:XX:XX with your desired MAC address like 12:34:56:78:9a:bc)

(You can even edit the file 'wcnss_mac_addr' present in /sys/devices/soc.0/a000000.qcom,wcnss-wlan/ if you don't like Terminal ;))

4. To change the hostname (device id shown in router), Enter the following:

Code:


setprop net.hostname ZZZZZ

(Replace ZZZZZ with any desired name)

5. Now Turn ON your WiFi :)
That's it!!

NOTE:
The MAC Address & Hostname restores to original values after reboot (or Power Off ;))

Alternatively, you can create a script like this:

Code:


#!/system/bin/sh
echo 12:34:56:78:9a:bc > /sys/devices/soc.0/a000000.qcom,wcnss-wlan/wcnss_mac_addr
setprop net.hostname Anonymous


and execute it (give su permission before executing)

I also made a flashable zip to make the job easy. Just flash it and open Terminal and for example, enter:

Code:


su
spoof 12:34:56:78:9a:bc Anonymous


Reply if you have any doubts/issues :)







Aucun commentaire:

Enregistrer un commentaire