Unrooted Android 4.3 "ip link set wlan0 address de:ad:be:ef:ca:fe"
operation not permitted
This article, dated in 2015, says we can temporarily set the MAC
address of an unrooted Android device using a terminal emulator:
http://www.techpluto.com/how-to-temporarily-change-android-mac-address-without-rooting
The article suggests Terminal Emulator for Android by Jack Palevich
https://play.google.com/store/apps/details?id=jackpal.androidterm
The steps they suggest are:
0. Find your MAC address in the settings about menu
1. Start the "Terminal Emulator for Android"
2. Get out your reading glasses because the text output is tiny!
3. Find the name of your WiFi card
4. Change the MAC address
Example on my system:
0. My WiFi MAC was 5c:0a:5b:a1:ff:00
1. I started the terminal emulator (& put on my reading glasses)
2. I typed "ip link show" (or "ip link show | grep -i 5c:")
3. That MAC address showed up as "wlan0"
4. I typed "ip link set wlan0 address de:ad:be:ef:cafe"
and "ip link set broadcast de:ad:be:ef:ca:fe"
I got the error "Operation not permitted".
I also tried "ifconfig hw ether wlan0 down" but got an error for
"permission denied" (I was going to then change the MAC address).
What am I doing wrong?