OnePlus 2 Wifi MAC change ? - OnePlus 2 Q&A, Help & Troubleshooting

Can anybody tell me if there is a way to spoof MAC address in opt ?
P.s : Mine is on OOS 2.2.0

ajithalbus said:
Can anybody tell me if there is a way to spoof MAC address in opt ?
P.s : Mine is on OOS 2.2.0
Click to expand...
Click to collapse
You need root + xposed ... Than install "device id imei changer" in xposed ... You can changer mac there

lummujaj said:
You need root + xposed ... Than install "device id imei changer" in xposed ... You can changer mac there
Click to expand...
Click to collapse
Thank you .. I'll give it a try :good:

help
ajithalbus said:
Thank you .. I'll give it a try :good:
Click to expand...
Click to collapse
can you confirm if the app works?
i changed mine successfully, but after sometime when i check my settings the mac address becomes unavailable.
same config: oneplus 2 with OOS 2.2.0

rushatrout said:
can you confirm if the app works?
i changed mine successfully, but after sometime when i check my settings the mac address becomes unavailable.
same config: oneplus 2 with OOS 2.2.0
Click to expand...
Click to collapse
No it aint working..Though it changes the MAC in Setting , the actual MAC remains the same .
PS : now i have moved to OOS 3

You could try Pryfi by Chainfire
http://forum.xda-developers.com/showthread.php?t=2631512
Don't know if you need a specific mac address and why but this one could change it. Did not test it myself on oxygen though.

I did search quite extensively for this ... tried many methods ... nothing works. Seems there is no known way to easily spoof the mac address on the OP2.
(I'm running OOS 2.1.2 / Android 5.1.1 , rooted with xposed)
Tried the following :
- Pry-Fi app , doesn't work
- Many other secondary "mac changer" apps from the play store , none of them work
- Xposed ID changer , doesn't work
- The xda method here : http://forum.xda-developers.com/showthread.php?t=2286440 , doesn't work
- The other xda method : http://forum.xda-developers.com/oneplus-one/help/mac-spoofing-t2873101/post58755325#post58755325 , doesn't work and there is no such file on the OP2 running OOS 2.1.2 and above
- And finally the usual terminal command method : http://forum.xda-developers.com/nexus-s/general/update-18-05-13-spoof-wifi-mac-address-t1385577 : seems to actually work but then wi-fi won't connect until you reboot / change the mac back. Not sure why.
As far as I know ... nothing works ... but yes it would be really useful to be able to find a way to spoof the mac address.

I don't quite see the usefulness in this, why change mac address unless you somehow manage to get your device mac address banned/locked out of the network, probably by doing something you're not allowed to do.
If I had kids in the teenages they would probably try this to get by me blocking them for not doing the homeworks ? but then I would just block the fake mac address through the Unifi App, and if repeated I would simple turn to mac filtering and only allow my devices mac addresses ??
Or I could just write a firewall rule in my Fortigate to redirect them to either useful pages or rotten.com ??

Related

wifi hotspot problem....

I have installed [CM7]JOYOS ported based cm7.2[percy_g2] http://forum.xda-developers.com/showthread.php?t=2396158 rom on my galaxy y.
Everything is working fine except wifi hotspot.. When i turned on wifi hotspot ,it is shown on other devices..but on connecting,.it stuck on obtaining IP address. Even after entering static IP details... i cant access net on other device.
I tried to resolve it with foxfi app & wifi tether for root app..but no luck.. Plz help me..how to resolve this issue..
jonny789 said:
I have installed [CM7]JOYOS ported based cm7.2[percy_g2] http://forum.xda-developers.com/showthread.php?t=2396158 rom on my galaxy y.
Everything is working fine except wifi hotspot.. When i turned on wifi hotspot ,it is shown on other devices..but on connecting,.it stuck on obtaining IP address. Even after entering static IP details... i cant access net on other device.
I tried to resolve it with foxfi app & wifi tether for root app..but no luck.. Plz help me..how to resolve this issue..
Click to expand...
Click to collapse
hey
obtaining ip must be a problem on other device not on yours
press thanx
jonny789 said:
I have installed [CM7]JOYOS ported based cm7.2[percy_g2] http://forum.xda-developers.com/showthread.php?t=2396158 rom on my galaxy y.
Everything is working fine except wifi hotspot.. When i turned on wifi hotspot ,it is shown on other devices..but on connecting,.it stuck on obtaining IP address. Even after entering static IP details... i cant access net on other device.
I tried to resolve it with foxfi app & wifi tether for root app..but no luck.. Plz help me..how to resolve this issue..
Click to expand...
Click to collapse
Reflash the kernel then the Tom
Go to recovery
Mount system
Flash Percy kernel or black reactor
Reboot recovery
Format data,cache,system
Mount all
Flash the Tom
Reboot
Additional thing : go to system / etc / wifi and set permission of folder to rwxrwxrwx and the wifi compliant *I don't remember exact name* to rwxrwxrwx too and try.
Sent from my GT-S5360 using Tapatalk 2
mohamedrashad said:
Reflash the kernel then the Tom
Go to recovery
Mount system
Flash Percy kernel or black reactor
Reboot recovery
Format data,cache,system
Mount all
Flash the Tom
Reboot
Additional thing : go to system / etc / wifi and set permission of folder to rwxrwxrwx and the wifi compliant *I don't remember exact name* to rwxrwxrwx too and try.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
another solution ????

[OK] EAP-SIM in OnePlus 2?

Is there EAP-SIM support in OnePlus 2?
EAP-SIM is supported by my carrier (France/Free) to connect phone to nearby WiFi Hotspots automatically using mobile account identification.
There are some posts around here talking about this feature (here and there for example).
It is not provided in AOSP, the android issue #9329 is open since 2012 asking for it.
Apple, Samsung, LG, HTC, Sony... phones support it through custom OS or Android overlay.
So the real question is: Do Oxygen OS provide it?
EDIT/ANSWER :
It works fine. I've used it multiple times.
Carrier application (Free) says it supports it
I just received the phone yesterday and installed an application provided by my carrier to configure Visual Voice Mail (Messagerie Free).
The application can also configure EAP-SIM and said that the phone is compatible and I completed its configuration.
However I didn't had the change to test it (EAP-SIM).
I'll post a reply if I'm able to test it.
Connection occurs
I saw the phone connecting to an EAP-SIM WiFi Hotspot (FreeWiFi_Secure), however I couldn't confirm the connection was working (I was driving, so safefty first).
It seems to be working, I just have to confirm it (browse some website when connected to a EAP-SIM WiFi Hotspot).
It works
I can confirm it works.
I've used it multiple times.
So good news.
Hi everyone !
Are you SURE EAP-SIM is working on the Oneplus 2 (the 2, not the one).
I had the oneplus ONE and, yes, it IS working, "Messagerie Vocale Free" can configure Freewifi_secure for the phone.
But I now have the Oneplus TWO and "Messagerie Vocale Free" cannot configure it : It says it cannot configure EAP-SIM on Dual SIM phones, you have to configure it manually. And when trying to configure EAP-SIM manually.. it's not possible...
I'm talking about stock ROM (Oxygen OS 2.1.2)
Yea it works I'm on stock rom and AK kernel.
In Singapore I needed Eap Sim for my provider's free WiFi, so it kind of look like this
network={
ssid="SingTel WIFI"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
sim_num=1
priority=235
}
network={
ssid="Singtel WIFI"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
sim_num=1
priority=242
}
The settings were automatically disabled by the phone once added for some reason, I thought it didn't work and left the code there until one day I realize I was connecting to the WiFi through Eap Sim. Nt sure what I did in between that made it work. Perhaps restart or add only when WiFi is off or disable then enable background WiFi scan
Take note that there are two wpa_supplicant file. The correct one should have some WiFi AP already there if u have previously connected to any WiFi AP. The path should be system>data>misc>WiFi
I modified the file using fx file manager with the free root add-on. Which means u need to root ur phone in order to change the settings. ES file explorer didn't work for me
10/8/16:
I've upgraded to Paranoid 6.0.2, there is EAP-SIM option when connecting to Singtel WiFi however it will always result in "Authentication Problem".
I've tried many ways to fix it:
- Removing pmf = 1
- Setting DHCP back to lollipop
- Disable 1.2 and 1.1 TLS for compatibility
- Adding sim_num = 1 (will be removed by driver due to external_sim = 1)
All of them did not work for me.
The only one that did work was to use EAP-AKA instead of EAP-SIM. It even works for [email protected] too.
P"
Thanks all for your advices,
Here is the procedure for French FREE MOBILE + OP2 users
The correct file "wpa_supplicant.conf" is in System(root)/data/misc/wifi as Imk1988 said (so grateful to him btw)
(do not modify the other wpa_supplicant.conf file in System(root)/etc/wifi)
Add this line
network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
sim_num=1
priority=5
}​
after rebooting, it's working like a charm
Conditions:
SIM FREE MOBILE in slot 1
OP2 rooted
Hi lmk1988,
I tried using your method for Singtel WiFi (using a Oneplus X on CM12.1) and it's not working I'm afraid. I could edit the file successfully, but I get a "WiFi connection failed" when I try to connect.
Will try again later!
(I'm wondering if it's just that CM doesn't support EAP-SIM at all...)
Unfortunately I'm using oneplus two (custom rom: SkyDragon v3.1 OOS2.2 and Boeffla 1.1-beta3) now.
Not really sure if it will work for oneplus X
Anyway do make sure u are modifying the correct file, there are two files with the same name.
And note that not all Singtel WiFi will work. It's funny it can be working on one day then not working the next. Kinda depends on time and place.
---------- Post added at 08:59 AM ---------- Previous post was at 08:27 AM ----------
Okay the issue seems to be from CM12.1 oneplus X
Take a look at bbs.zhiyoo.com/thread-9972195-1-1.html
(T.T I can't post links yet because under 10 post)
It's in Chinese but if you look at what they say for version 8
Code:
8.0更新:
回滚7.0版本的音频驱动设置
回声问题应该解决了
禁用EAP-SIM 设备本身不支持
It basically means
Code:
version 8.0:
Reverted Audio Driver to 7.0
Echo issue have been be fixed
[B]Restricted EAP-SIM setting, it is not supported[/B]
I'm not sure if it means CM12.1 for oneplus X does not support EAP-SIM, or does it mean oneplus X does not support EAP-SIM.
Try changing your ROM back to OOS and see if it works
I see.
Thanks man! I don't really know much about coding, etc., and finding out where everything us. Just kinda winging it by searching through forums and so on.
So really appreciate the help and the info! = )
I'm not sure if I'll try to switch back to the stock OS at the moment, found CM to be preferred at the moment. If I do, though, I'll let you know!

Change Mac Address

How Do i change the mac address on one plus two... on other Phone i usually edit the /sys/devices/fb000000.qcom.wcnss-wlan file ...but it doesnt exist in one plus two what should i do??
You could use this xposed framework:
Phone ID Changer Xposed
Cheers

[GUIDE] How to change MAC Address (mido/nikel)

*DO IT ON YOUR OWN RISK*
*I WILL NOT BE HELD RESPONSIBLE IF YOU CHANGE YOUR MAC ADDRESS FOR ILLEGAL PURPOSES*
Since there's no thread about it, I'll go ahead make one.
This guide is based on my experience, so if i miss something just tell me about it.
If what you're trying to do is to fix broken MAC Address on your custom ROM, please just flash latest firmware.
Option 1
1. Requirements
- Redmi Note 4X (Snapdragon) (mido)
nikel user read text below*
- ‎ROOT access
- ‎File manager with root access (i recommend MiXplorer)
2. Download
- MiXplorer : https://www.apkmirror.com/apk/pishr...release/mixplorer-6-27-4-android-apk-download
3. Change MAC Address
- Turn off wifi
- Open your file manager
- ‎Go to system folder(which us require root access)
- ‎Open /data/misc/wifi/
- ‎Open WCNSS_qcom_cfg.ini as text, then open with text editor
- ‎Scroll down find 'Inf0MacAddress=XXXXXXXXXXX'
- Change the value to the MAC Address you want without ':'
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
- Save
- Turn on wifi then done
That's all, if you can't find WCNSS_qcom_cfg.ini try option 2 in the next post
*i do not own nikel device, but based on my experience that in mediatek device you can find /data/nvram/APCFG/APRDEB, then change the value in the WIFI file. I'm not sure about the directory, just focus finding /APCFG/APRDEB/ folder. If someone succeed please tell me the exact directory in nikel please, so i can share it with you guys.
Option 2
THIS OPTION WORKS ON ANY SNAPDRAGON SOC DEVICES
1. Requirements
- Redmi Note 4X (Snapdragon) (mido) / Any Qualcomm Snapdragon Devices
- ‎PC/Laptop
- ‎ROOT Access
2. Download
- Terminal Emulator
https://play.google.com/store/apps/details?id=jackpal.androidterm
- QPST Tools
https://androiddatahost.com/np4wq
- Notepad++
https://notepad-plus-plus.org/download/
- Qualcomm Driver
http://www.androidbrick.com/download/qualcomm-qdloader-hs-9008-edl-usb-driver/
3. How to
- Device state turned on
- Install all QPST and Qualcomm Driver, reboot pc
- Open terminal emulator on your device then input commands below
su
setprop sys.usb.config diag,adb
- Open QPST and Start Client-->Software Download.
then go to Backup and take a backup
- Open a copy of the resulting file (*.qcn) in Notepad++ and search your phone's mac address as hex.
Eg. : if your mac address is 01:02:03:04:05:06 search it as 01 02 03 04 05 06
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
- You will get some search results. Now edit every search result with your desired MAC address. (approx 4 edits)
- And finally restore this edited *.qcn file and reboot your phone once complete.
That's all i wanted to share, if works simply leave a like to support me against my existential crisis. Thank
UPDATE APRIL 2019
Option 2 works on any qualcomm soc devices.
Tried it on:
- Asus Max Pro M1 (SD636)
- Redmi Note 5 Pro (SD636)
- Mi 5 (SD821)
Option 1 doesn't seem to work. I have a question for option 2, can I change MAC more than once? And do I have a fail-safe in case something goes wrong? i.e restore from a backup. TIA for answers. My reason for spoofing MAC is bypassing router bandwidth management(house rules -.-)
TheGreatAyad said:
Option 1 doesn't seem to work. I have a question for option 2, can I change MAC more than once? And do I have a fail-safe in case something goes wrong? i.e restore from a backup. TIA for answers. My reason for spoofing MAC is bypassing router bandwidth management(house rules -.-)
Click to expand...
Click to collapse
yes, simply keep the original .xqcn file, then restore it when things goes wrong. And I changed the mac address many times using option 2, but not recommended.
Based on my experience :
When option 2 not working at all(restore backup not working), go back to option 1.
justreybro said:
yes, simply keep the original .xqcn file, then restore it when things goes wrong. And I changed the mac address many times using option 2, but not recommended.
Based on my experience :
When option 2 not working at all(restore backup not working), go back to option 1.
Click to expand...
Click to collapse
Just tried it today since I went back to MIUI from a custom Oreo Rom. And I have to say, IT WORKS! Flawlessly!
ps.
btw, my MAC searching method was a bit different. Instead of searching it with no spaces like yours (010203040506) mine requires me to search it with a space (01 02 03 04 05 06) maybe it's because of the file type of my qcn, instead of .qcn i got .xqcn from the QPST backup. THANK YOU SO MUCH, you're a life saver mate. :good: :victory:
justreybro said:
yes, simply keep the original .xqcn file, then restore it when things goes wrong. And I changed the mac address many times using option 2, but not recommended.
Based on my experience :
When option 2 not working at all(restore backup not working), go back to option 1.
Click to expand...
Click to collapse
What is your version of miui?
The exact version when your option 1 works?
bonsoljoshua said:
What is your version of miui?
The exact version when your option 1 works?
Click to expand...
Click to collapse
i'm on custom rom with LATEST FIRMWARE, so i assume latest miui 9 global stable will work.
justreybro said:
i'm on custom rom with LATEST FIRMWARE, so i assume latest miui 9 global stable will work.
Click to expand...
Click to collapse
are you sure bro? is your note 4x is Qualcomm SD? because option reallyy doesn't work
bonsoljoshua said:
are you sure bro? is your note 4x is Qualcomm SD? because option reallyy doesn't work
Click to expand...
Click to collapse
describe how you tried the options, what rom do u use, etc
i can't help you if you didn't tell me.
Option 1 already worked thanks bro!
What's your custom rom?
What custom rom do you use when option 1 works? Is it nougat or oreo?
How about the kernel? Is it the original kernel or custom kernel?
bonsoljoshua said:
What custom rom do you use when option 1 works? Is it nougat or oreo?
How about the kernel? Is it the original kernel or custom kernel?
Click to expand...
Click to collapse
RR v6.0.0 Oreo Unofficial by EndLess
both stock and franco kernel working
EDIT : also using latest global stable firmware
justreybro said:
RR v6.0.0 Oreo Unofficial by EndLess
both stock and franco kernel working
EDIT : also using latest global stable firmware
Click to expand...
Click to collapse
What's your phone? nickel or mido?
what do you mean by global stable firmware?
the stock rom from miui? what version of global stable?
Is RR v6.0.0 Oreo Unofficial by EndLess smooth in PUBG?
bonsoljoshua said:
What's your phone? nickel or mido?
what do you mean by global stable firmware?
the stock rom from miui? what version of global stable?
Is RR v6.0.0 Oreo Unofficial by EndLess smooth in PUBG?
Click to expand...
Click to collapse
I'm pretty sure my device is mido (snapdragon)
if you're using custom rom, you should flash latest firmware which is based on latest miui, here's link to it, please read the thread carefully :
https://forum.xda-developers.com/re...lopment/firmware-xiaomi-redmi-note-4-t3760917
hell yea it's really good, I'm playing pubg mobile myself.
I recommend changing both cpu and gpu governor to performance in Kernel Adiutor before play
and also install app called PUBG GFX in the playstore, set it 1280x720(smooth), 60fps, disable shadows.
and before start PUBG, use app called Resolution Changer, and reduce the resolution to 16:9 450x800/576x1024
it's a bit hassle but the performance is worth it
Can confirm that method no. 2 works on my mido (running MIUI 9.5.8.0)
sdykpp said:
Can confirm that method no. 2 works on my mido (running MIUI 9.5.8.0)
Click to expand...
Click to collapse
Glad to hear that
How to spoof WiFi Mac for Redmi Note 5 ( 5 Plus) (vince) SD625?
I can not find original mac address inside qcn file. The hex number are not matching original mac address.
Hello,
I am trying both options to change my MAC address. using option 1 I found the file (WCNSS_qcom_cfg.ini), but it was in /System/Vendor/etc/wifi. I changed the MAC address there, did a reboot and had the MAC address before the modification. Interestingly enough this MAC is not even in this file.
I decided to move that file to the /data/misc/wifi folder but that also had no effect at all. So I moved to Option 2.
I was able to get the xml version of the backup file - xqcn, as qcn gave me encoded things which I couldn't edit.
However I'm still not able to find my MAC address in the xqcn file. I have confirmed what it is by checking the phone and the router both.
And maybe the reason for all this is I'm using Mi 5s on MIUI 10 global (dev.) 8.11.15.
I'd welcome any suggestion you might have. My wife and I have the same phones and now one is stealing the other's network
Hi, while searching for a way to change the MAC Address on my Redmi Note 4 (mido) running actual LineageOS 15.1 weekly + Franco Kernel r17 I found a very easy solution.
Simply edit the mac in following file:
/sys/devices/soc/a000000.qcom,wcnss-wlan/wcnss_mac_addr
disable/enable wifi and mac address should be changed.
After a reboot your original mac gets restored.
Br,
crispyduck

Help !!!! [ IMS REGISTRATION & MAC ADDRESS]

1.Somewhere between updating custom roms, i have lost my actual wifi mac address. Now it's like 02:00:00:00:00xxx (but the funny thing is sometimes i can see my actual mac address there). How can i restore my actual mac address (i do have my actual address written somewhere). ???
2. Like above somewhere between updating custom roms, my IMS registration is gone ?. Now it's showing unregistered. So i can't use volte because of that. How to get back IMS back ?
Help me ! :crying:

Categories

Resources