Hi everyone , this is my first how-to guide
i will try to keep it as clear as possible
NOTE : I will not be held responsible if you change your wifi mac address for illegal purposes.
A backup of your NVRAM is recommended.
Method 1(via Engineering mode)
This method does NOT require ROOT access.
1.Download MTK Engineering Mode shortcut app from here :https://play.google.com/store/apps/details?id=com.themonsterit.EngineerStarter
2.Turn Off your Wifi .Open MTK Engineering Mode shortcut app and Click MTK Settings.
(Incase you are not able to access Engineering mode, skip to alternate method below)
3.Swipe To Connectivity Tab.
4.Click Wifi
5.Click NVRAM
6.In Byte String Access put values as
addr(h,byte) : 4
length(byte) : 6
7.Click Read. The 12 Digits shown in value(h) field is your current wifi mac address.Better make a note of it.
8.Erase the value(h) field and now put your own 12 digit mac address,
IMPORTANT:
RULES FOR WIFI MAC ADDRESS
1.Should be 12 Digits long only
2.Should have hexadecimal characters only (0-F)
3.Second digit of mac address should be Even Digit only (0 or 2 or 4 or 6 or 8 or A or C or E)
valid example - 0205160F0A3E
invalid example - 016GEABCDF59
9.Click write.
10.Exit to Home, Turn Off and turn On your Wifi Again.
11.Now Check your Wifi mac address in Phone Status.It should be Changed to what you entered in Step 8.
12.To get back your original Mac address, repeat the process with original Mac address value.
Alternate Method
THIS METHOD REQUIRES ROOT ACCESS
1.Get any good File Browser with Root access (https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree)
2.Get this Hex Editor : https://play.google.com/store/apps/details?id=tuba.tools
3.Turnoff your wifi.With the File Browser, browse to /data/nvram/APCFG/APRDEB/
4.Copy the file called WIFI to sdcard twice(one for backup purpose and other to edit)
5.Also note the permissions on the WIFI file (for me it was rw-rw----)
6.Rename this file to WIFI.bak
7.Open the copied WIFI file on sdcard with Hex Editor.
8.Notice your Wifi mac Address from address 04 to 09.Change the values of addresses 04,05,06,07,08,09 each with corresponding 2 digits of your new mac address
IMPORTANT:
RULES FOR WIFI MAC ADDRESS
1.Should be 12 Digits long only
2.Should have hexadecimal characters only (0-F)
3.Second digit of mac address should be Even Digit only (0 or 2 or 4 or 6 or 8 or A or C or E)
valid example - 0205160F0A3E
invalid example - 016GEABCDF59
9.Save it.
10.Now copy this modified WIFI file to /data/nvram/APCFG/APRDEB/
11.Set the permissions you noticed in step 5 to this just copied WIFI file( rw-rw---- in my case)
12.Turn on Your Wifi And check your mac address,it should be changed.
Screenshots coming soon,
If this guide helped you ,Click THANKS button.
chiragjn said:
Hi everyone , this is my first how-to guide
i will try to keep it as clear as possible
NOTE : I will not be held responsible if you change your wifi mac address for illegal purposes.
A backup of your NVRAM is recommended.
Method 1(via Engineering mode)
This method does NOT require ROOT access.
1.Download MTK Engineering Mode shortcut app from here :https://play.google.com/store/apps/details?id=com.themonsterit.EngineerStarter
2.Turn Off your Wifi .Open MTK Engineering Mode shortcut app and Click MTK Settings
.
(Incase you are not able to access Engineering mode, skip to alternate method below)
3.Swipe To Connectivity Tab.
4.Click Wifi
5.Click NVRAM
6.In Byte String Access put values as
addr(h,byte) : 4
length(byte) : 6
7.Click Read. The 12 Digits shown in value(h) field is your current wifi mac address.Better make a note of it.
8.Erase the value(h) field and now put your own 12 digit mac address,
IMPORTANT:
RULES FOR WIFI MAC ADDRESS
1.Should be 12 Digit long only
2.Should have hexadecimal characters only (0-F)
3.Second digit of mac address should be Even Digit only (0 or 2 or 4 or 6 or 8 or A or C or E)
valid example - 0205160F0A3E
invalid example - 016GEABCDF59
9.Click write.
10.Exit to Home, Turn Off and turn On your Wifi Again.
11.Now Check your Wifi mac address in Phone Status.It should be Changed to what you entered in Step 8.
12.To get back your original Mac address, repeat the process with original Mac address value.
Alternate Method
THIS METHOD REQUIRES ROOT ACCESS
1.Get any good File Browser with Root access (https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree)
2.Get this Hex Editor : https://play.google.com/store/apps/details?id=tuba.tools
3.Turnoff your wifi.With the File Browser, browse to /data/nvram/APCFG/APRDEB/
4.Copy the file called WIFI to sdcard twice(once for backup purpose)
5.Also note the permissions on the WIFI file (for me it was rw-rw----)
6.Rename this file to WIFI.bak
7.Open the copied WIFI file on sdcard with Hex Editor.
8.Notice your Wifi mac Address from address 04 to 09.Change the values of addresses 04,05,06,07,08,09 each with corresponding 2 digits of your new mac address
IMPORTANT:
RULES FOR WIFI MAC ADDRESS
1.Should be 12 Digit long only
2.Should have hexadecimal characters only (0-F)
3.Second digit of mac address should be Even Digit only (0 or 2 or 4 or 6 or 8 or A or C or E)
valid example - 0205160F0A3E
invalid example - 016GEABCDF59
9.Save it.
10.Now copy this modified WIFI file to /data/nvram/APCFG/APRDEB/
11.Set the permissions you noticed in step 5 to this just copied WIFI file( rw-rw---- in my case)
12.Turn on Your Wifi And check your mac address,it should be changed.
Screenshots coming soon,
If this guide helped you ,Click THANKS button.
Click to expand...
Click to collapse
Lenovo S920, MT6589 device, data folder is empty. Nevertheless there's a lot of stuff in the folder /dev, but no /APCFG/APRDEB/ route at all either.
The first "non-root" method didn't worked for me either. It changes the MAC but when I am trying to connect to the router with this "new" MAC, which by the way it worked in my Galaxy Note with Cyanogenmod 10.2 installed, the phone can't get internet, although it connects to the router.
mulenguezt said:
Lenovo S920, MT6589 device, data folder is empty. Nevertheless there's a lot of stuff in the folder /dev, but no /APCFG/APRDEB/ route at all either.
Click to expand...
Click to collapse
Now I know that all these "Droids" are not created equal... But, I suspect that your unable to find the /APCFG/APRDEB/ in the /dev Folder... Is 'cause its under the /data Folder....
/data/nvram"/APCFG/APRDEB" -> WIFI & WIFI_CONFIG...
BTW:
2.Turn Off your Wifi .Open MTK Engineering Mode shortcut app and Click MTK Settings
.
(Incase you are not able to access Engineering mode, skip to alternate method below)
3.Swipe To Connectivity Tab.
4.Click Wifi
5.Click NVRAM
6.In Byte String Access put values as
addr(h,byte) : 4
BTW: You messed up... At least so with whatever version of MTK Engineering Mode is currenty on Google play...
length(h,byte) : 6
lenght(byte) : 4
That'll net you the first Four Digits plus the last Eight of your MAC Address... Such as it is.
Though I'll doubt that this too would survive a wipe. Before heading back off to 00:08:22:xx:xx:xx-random-land again...
nice guide but is there any way to permanently change MAC address. it auto Revert back to original MAC address On reboot
Thanks!
ANY IDEA ABOUT THIS ISSUE????
>>Step: Ap Meta Disconnect with target...
>>OK: Exit Meta successfully
>>----------------------------------------------------------------------<<
>>Step:Begin Scan Smart Phone data...
>>Step: Cancel scan Barcode DiagBox.
>>-------------------------------------------------------------------<<
>>Step: Enter Meta Mode && Smart Phone;
>>Step:Begin Scan Smart Phone data...
>>Step: Start to Init AP Nvram Database...
OK: Init AP Nvram Database successfully.
>>Step: Start to Connect with target...
COM port searching and preloader handshake
COM port searching and preloader handshake ok
COM port searching and Kernel handshake
COM port searching and Kernel handshake OK
SP_META_ConnectInMetaMode_r Error: maybe is META_MISC_FAIL_TO_WRITE_BACKUP_RESULT cause...
Error: Connect failed, Exit Meta Mode and turn to next phone.
ERROR!! Go to ST_END statues is: ST_AP
>>Step: Ap Meta Disconnect with target...
>>OK: Exit Meta successfully
>>----------------------------------------------------------------------<<
>>Step:Begin Scan Smart Phone data...
>>Step: Cancel scan Barcode DiagBox.
chamelemac
I know of this app
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac&hl=en
chamelemac
it changed mac adress for Leva ported Rom perfectly.And it persist through restart of phone.
It will however have "error not compatible device" if device prop is changed to something like "samsung galaxy" etc.
IcemanSR said:
I know of this app
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac&hl=en
chamelemac
it changed mac adress for Leva ported Rom perfectly.And it persist through restart of phone.
It will however have "error not compatible device" if device prop is changed to something like "samsung galaxy" etc.
Click to expand...
Click to collapse
Worked for me too!!!! Every time i reboot, the last 3 par of HEX char randomly change.
After set the original mac address with Chamelemac, and a reboot, MAC ADDRESS remains!!!!
NOTE: tested and working with MT6595 Zopo zp999 3gb RAM 32gb ROM
5.Click NVRAM
6.In Byte String Access put values as
addr(h,byte) : 4
length(byte) : 6
Ok this works but evidently my info are stored somewhere else. at 4 and 6 I have only zeroes. Programming those worked (it stick after reboot) but didn't fix the issue. Still have the 1st 6 hex the same and the other 6 randomly changed everytime I disable the wifi
Question is, do you have any idea where (at what addres) this string could be stored?
I have an ALPS w806 aka K18
thank you
How could you restore your device.prop or build.prop to its default? I'm encountering an Chamelemac error: "error not compatible device" on my Huawei Y220-U10. I wish you could enlighten me a bit because just last few months I've been able to change my mac address with the use of Chamelemac but now I can't. And i don't know why, maybe application update but it seems like chamelemac is just stuck with version 1.0 . Maybe you know something that could help me. By the way I'd rather use chamelemac other than those posted on the thread because it's easy to use just one click and i could change my mac address instantly. Hope for your response. Thanks in advance!
Ichijoe said:
Now I know that all these "Droids" are not created equal... But, I suspect that your unable to find the /APCFG/APRDEB/ in the /dev Folder... Is 'cause its under the /data Folder....
/data/nvram"/APCFG/APRDEB" -> WIFI & WIFI_CONFIG...
BTW:
2.Turn Off your Wifi .Open MTK Engineering Mode shortcut app and Click MTK Settings
.
(Incase you are not able to access Engineering mode, skip to alternate method below)
3.Swipe To Connectivity Tab.
4.Click Wifi
5.Click NVRAM
6.In Byte String Access put values as
addr(h,byte) : 4
BTW: You messed up... At least so with whatever version of MTK Engineering Mode is currenty on Google play...
length(h,byte) : 6
lenght(byte) : 4
That'll net you the first Four Digits plus the last Eight of your MAC Address... Such as it is.
Though I'll doubt that this too would survive a wipe. Before heading back off to 00:08:22:xx:xx:xx-random-land again...
Click to expand...
Click to collapse
Hi there. This is work to Lenovo TAB2 A8-50F. My Wi-Fi Mac Address is every time when I turn on and connect to Wi-Fi point is automatic changing. Now, I have a fixed Mac Address. Thanks.
What I am do?
Install MTK Engineering Mode app. Then turn off Wi-Fi. Launch MTK EM app > Go to Connectivity Tab > Wi-Fi > NVRAM. Then type at "Byte String Access:".
add(n,byte): 6
length(byte): 4
value(h): 11223344
Then push button Write. Turn on Wi-Fi. Go to check Wi-Fi Mac Address. There must be an 00:00:11:22:33:44. Thanks!
my phone a1 aq4501 processor MT 6582 help me
Thanks a lot. You saved me
the MTK Engineering methods doesnt works for me,, neither does any other method iam trying since past few days. Could anyone help? I have a Infinix hot 4 pro
/data/nvram does no texist in my system and nothing hapend when i create it a put the file exist another way for fix it? i try install another roms but only one work but imei wifi BT dont work, i can not intall many roms my phone and PC dont install good the preloader driver. i just can use the fastboot and only one rom can be intalled sucses whit that bug i'm sad
I click write many times but it doesn't change. Crap
TheDarkLord098 said:
I click write many times but it doesn't change. Crap
Click to expand...
Click to collapse
I too am stuck here with you.
daveburnt said:
I too am stuck here with you.
Click to expand...
Click to collapse
Sucks really ?
Thanks a lot.
Last resort
If you are unable to change your MAC with those methods, I found a working solution that should work for everyone. Try this: http://bbs.infinixmobility.com/forum.php?mod=viewthread&action=printable&tid=13678 It worked for me when anything I tried didn't work.
Hi,
I'm sorry, but the files below are not found:/data/nvram/APCFG/APRDEB/
any other solution?
Thanks
Hey there,
a view days ago I 'll had installed the Lineage OS 18.1 in to an tablet Samsung SM-T555.
All works fine an the consume of the battery is good, thanks without G-Apps. My elementary problem is:
I have access pointers an these are connected with my server, for authenticity I'll used freeradius on fedora server.
With the Android 10 ( Lineage 17.1 ) I 'm able to log in to my wifi network. I'm typing the username, password and no certificating the certificates.
In the Android 11 ( Lineage 18.1 ), there is an grade different, the system will be or must be have type an Domain for log into the wifi network with radius.
Can I change on the easy way the configuration on the Android 11? Or I will have to change the server configuration on the radius?
The problem is, this a lot of work for me, because, the documentation for this theme is not so good or bad. And takes a lot of time for me.
Has anybody an good idea, for solving this problem?
Greetings tiptel170
1. create certs:
/etc/raddb/certs/
ca.cnf, client.cnf, inner-server.cnf and server.cnf must be adapted according to your own system specifications.
In the files *.cnf at communName must be entered a FQDN, except in the ca.cnf, server.cnf, inner-server.cnf and client.cnf must be entered in each case another name,
but this must be resolvable with the server.
Execute
Code:
./bootstrap
2. /etc/raddb/radius.conf adjust the file paths
Code:
prefix = /usr
exec_prefix = /usr
sysconfdir = /etc
localstatedir = /var
sbindir = /usr/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
#
# name of the running server. See also the "-n" command-line option.
name = radiusd
# Location of config and logfiles.
confdir = ${raddbdir}
modconfdir = ${confdir}/mods-config
certdir = ${confdir}/certs
cadir = ${confdir}/certs
run_dir = ${localstatedir}/run/${name}
db_dir = ${localstatedir}/lib/radiusd
3. /etc/raddb/mods-available/eap comment out these lines and paste the password from /etc/raddb/certs/ca.cnf into this file.
Code:
eaþ {
....
pwd {
group = 19
server_id = servername.domain.home
fragment_size = 1020
virtual_server = "inner-tunnel"
}
tls-config tls-common {
...
private_key_password = whatyouwant
private_key_file = ${certdir}/server.key
certificate_file = ${certdir}/server.pem
ca_file = ${cadir}/ca.pem
dh_file = ${certdir}/dh
random_file = /dev/urandom
ca_path = ${cadir}
tls_min_version = "1.0"
tls_max_version = "1.3"
...
}
/etc/raddb/mods-available/ntlm_auth
Code:
exec ntlm_auth {
wait = yes
program = "/usr/bin/ntlm_auth --request-nt-key --domain=SMB01 --username=%{mschap:User-Name} --password=%{User-Password}"
}
** --domain=SMB01 -> change accordingly
4. change permissions to allow the Radius server to read the pipe file.
Code:
usermod -a -G root radiusd
chown root:root /var/lib/samba/winbindd_privileged/
5. in the /etc/raddb.bck/mods-available/mschap add these lines.
mschap {
Code:
....
require_encryption = yes
require_strong = yes
with_ntdomain_hack = yes
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{mschap:User-Name:-None} --domain=%{%{mschap:NT-Domain}:-SMB01} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}
winbind_domain = "%{mschap:NT-Domain}"
.....
}
** }:-SMB01} -> modify accordingly.
6. /etc/raddb/sites-available/default
Code:
authenticate {
...
ntlm_auth
...
}
7. /etc/raddb/sites-available/inner-tunnel and default
Code:
authenticate {
...
ntlm_auth
Auth-type LDAP {
ldap
}
...
}
8. /etc/raddb/sites-available/ldap
Code:
ldap {
server = '192.168.0.1' }
base_filter = "(objectclass=posixAccount)"
base_dn = 'ou=myserver,dc=home,dc=net'
identity = 'cn=manager,dc=home,dc=net
password = Secret
...
}
9. it is very important that the user has been stored in the ldap database as a unix user and also as a windows user and so has the password, otherwise the ntlm authentication will not work!
Create new:
Code:
smbldap-useradd -am [username]
smbldap-passwd -su [username]
Change:
Code:
smbldap-usermod -a [username]
smbldap-passwd -su [username]
Settings for Android clients 9, 10 and 11 (Lineage OS)
1. install the certificates:
- Transfer the certificates client.pem, client.p12, client.csr, ca.der, ca.key and ca.pem to the tablet or phone.
- Settings -> Wireless networks -> Advanced WLAN settings -> Advanced -> Select Install certificates.
-> Select the file client.p12 and enter the password from the client.cnf, in the pulldown menu - Wifi - select, then a long number and letter combination appears in the name field, this then
change this to a meaningful name.
-> Afterwards select the ca.pem and assign a name.
2. select the WLan where the tablet / cell phone should log in.
- First delete the old connection of the WLan to avoid possible errors.
- Method EAP: PEAP, Login for phase 2: MSCHAPV2, CA Certificate: ( here from step 1, select the name from the ca.pem file ), Online Certificate Status: Not validate, Domain ( from the server.cnf, commonName )
enter the server name ( FQD ), it must be resolvable in the network,
- Identity: username - the one stored in the central user database.
- Anonymous identity, remain here in this case free - do not enter anything.
- Password: is clear, from the user database.
3. save or connect antipen, then the mobile device should be able to log in to the WLan.
Important for Android 11: The ca.pem file, will be deleted after the 3 failed attempt from the system again, then you have to import the ca.pem again into the system!
Check:
radtest user password 192.168.0.1 1812 pwd from the clients.conf
radtest -t mschap user password 192.168.0.1 1812 pwd from the clients.conf
ntlm_auth --request-nt-key --domain=MYDOMAIN --username=user --password=password
tiptel170 said:
Hey there,
a view days ago I 'll had installed the Lineage OS 18.1 in to an tablet Samsung SM-T555.
All works fine an the consume of the battery is good, thanks without G-Apps. My elementary problem is:
I have access pointers an these are connected with my server, for authenticity I'll used freeradius on fedora server.
With the Android 10 ( Lineage 17.1 ) I 'm able to log in to my wifi network. I'm typing the username, password and no certificating the certificates.
In the Android 11 ( Lineage 18.1 ), there is an grade different, the system will be or must be have type an Domain for log into the wifi network with radius.
Can I change on the easy way the configuration on the Android 11? Or I will have to change the server configuration on the radius?
The problem is, this a lot of work for me, because, the documentation for this theme is not so good or bad. And takes a lot of time for me.
Has anybody an good idea, for solving this problem?
Greetings tiptel170
Click to expand...
Click to collapse
tiptel170 said:
Hey there,
a view days ago I 'll had installed the Lineage OS 18.1 in to an tablet Samsung SM-T555.
All works fine an the consume of the battery is good, thanks without G-Apps. My elementary problem is:
I have access pointers an these are connected with my server, for authenticity I'll used freeradius on fedora server.
With the Android 10 ( Lineage 17.1 ) I 'm able to log in to my wifi network. I'm typing the username, password and no certificating the certificates.
In the Android 11 ( Lineage 18.1 ), there is an grade different, the system will be or must be have type an Domain for log into the wifi network with radius.
Can I change on the easy way the configuration on the Android 11? Or I will have to change the server configuration on the radius?
The problem is, this a lot of work for me, because, the documentation for this theme is not so good or bad. And takes a lot of time for me.
Has anybody an good idea, for solving this problem?
Greetings tiptel170
Click to expand...
Click to collapse
Hello, I am looking for a stable Rom for my Sm-t555. Can you tell me how you got a custom rom on your tablet? I can't find anything unfortunately.
Hi,
if somebody is interested here are all(?) service codes of P11 Pro from "Engineering Code.apk"
Settings/Search:
####0000# : Display version info
####1111# : factory test log (Service Test)
####2222# : Display SN
####3333# : offline log (LenovoLogger)
####3334# : open all offline log
####3335# : close all offline log
####5993# : Display internal frameWork version (incl. Regional Code)
####6020# : Set Regional Code (Does Factory Reset)
####6030# : Auto Set Regional Code if "countryCode" present, else set Regional Code and "second_ccode" == "true" (Does Factory Reset)
####7777# : Factory reset
####8375# : Baseband version info
####33284# : Debug set
####025160# : turn off lte sar
####025161# : turn on lte sar
####025162# : turn off wifi sar
####025163# : turn on wifi sar
Generic:
*#*# ... #*#* == android_secret_code:// ...
Click to expand...
Click to collapse
What dialer will connect with wifi tablet ?