Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unrooted Android 4.3 "ip link set wlan0 address de:ad:be:ef:ca:fe" operation not permitted

1,703 views
Skip to first unread message

Paul B. Andersen

unread,
Jul 7, 2015, 10:24:51 PM7/7/15
to
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?

J.O. Aho

unread,
Jul 8, 2015, 12:42:29 AM7/8/15
to
Some android devices uses SELinux to limit things even more and could be
this which limits you.

--

//Aho

Paul B. Andersen

unread,
Jul 8, 2015, 12:54:53 AM7/8/15
to
"J.O. Aho" <us...@example.net> wrote in message
d03o1j...@mid.individual.net

> Some android devices uses SELinux to limit things even more and could be
> this which limits you.

It's a Samsung Galaxy S3, Android 4.3, not rooted.

DecadentLinuxUserNumeroUno

unread,
Jul 8, 2015, 3:51:07 AM7/8/15
to
On Wed, 8 Jul 2015 02:24:50 +0000 (UTC), "Paul B. Andersen"
<some...@somewhere.no> Gave us:
You are not on as a super user when you try to do it?

subhampate...@gmail.com

unread,
Aug 8, 2017, 8:27:55 AM8/8/17
to
How to become a super user then? My phone is Moto G4 plus unrooted
0 new messages