Wi-fi Mac addres Permantly change - Galaxy S 4 General

In my need of spoofing my mac adddres with legal actionsi came across with my mac addres change whether custom or stock roms is installed so i tried the following and it works, maybe only for me but you never know.
my address is 00:1A:73:XX:XX:XX in stock roms, in custom roms or stock rom with custom kernel the mac change into 84:38:38:XX:XX:XX, i thought that was a flashing bug, but turns out to be that custom kernels read the mac addres different from stock kernels, stock kernels read the mac from these two files using root explorer /efs/wifi/.mac.info and efs/wifi/.mac.info.bak the mac addres is storage in there and editig those files with root explorer to the same mac writen correctly, rember both and delete efs/wifi/.mac.info.bak.bak if created, rebooted and wi fi cant be activated, power of to download mode and flash a STOCK rom with odin the mac address changed permantly unless an efs backup is restored or flashing a custom kernel.
for temporaly mac spoofing try https://play.google.com/store/apps/details?id=com.wireless.macchanger hard change option.
try this at your own risk if needed, and always, always make an efs backup first i recomend efs back up pro in xda forums is a windows tool, this is high risk procedure and can mess your wifi,
Sorry for my english and good luck
If i am mistaken and/or the threat is missplaced please correct it and inform to moderator to change the location, thanks in advance.

I used Pry-Fy from Chainfire. Search it in the Playstore. Here is the Link for discussion. http://forum.xda-developers.com/showthread.php?t=2631512

GTI-9300 said:
I used Pry-Fy from Chainfire. Search it in the Playstore. Here is the Link for discussion. http://forum.xda-developers.com/showthread.php?t=2631512
Click to expand...
Click to collapse
thanks but i used to but pry-fi, it only randomize the mac address not spoof to a specific one. only sharing my history.

Related

How to change MAC address on V970 (MTK6577)?

Hello,
I have two ZTE V970 phones and I copied the contents of one to the other (by backing to nandroid on one, copying the backup to the other and restoring there).
All i sine except that it copied also the IMEI numbers and the MAC address.
I succeeded to chage back the IMEI but the MAC stumps me.
I tried all the methods I found on the net but to no avail.
Is there someone who changed the MAC on a V970 or similar?
Thankfully yours,
Base
Try this: http://forum.xda-developers.com/showthread.php?t=1385577
You have also restored userdata, haven't you? That's most likely the problem. Using a root explorer just go to /data and delete nvram folder. Let it be created from scratch.
hey dev.. please help me.. i have a micromax a110.. mtk6577 device.. unable to change mac using ifconfig, ip link etc.. please help...
Ya please pllzzzz plzzzz help to do it(((
vaidhy2007 said:
hey dev.. please help me.. i have a micromax a110.. mtk6577 device.. unable to change mac using ifconfig, ip link etc.. please help...
Click to expand...
Click to collapse
Even i am facing the same problem unable to change my mac id in MMX A110
baseh said:
Hello,
I have two ZTE V970 phones and I copied the contents of one to the other (by backing to nandroid on one, copying the backup to the other and restoring there).
All i sine except that it copied also the IMEI numbers and the MAC address.
I succeeded to chage back the IMEI but the MAC stumps me.
I tried all the methods I found on the net but to no avail.
Is there someone who changed the MAC on a V970 or similar?
Thankfully yours,
Base
Click to expand...
Click to collapse
Hi! I have a ZTE V970, did you restored the IMEI or changed the IMEI? Is possible change the V970 IMEI?
May Thanks!
Make V970M IMEI & MAC's "permanent"?
bgcngm said:
You have also restored userdata, haven't you? That's most likely the problem. Using a root explorer just go to /data and delete nvram folder. Let it be created from scratch.
Click to expand...
Click to collapse
Hi Bruno, I love your work, specially with V970M phones. Great job by the way.
I have a big problem with one of my phone, broken screen etc., I manage to repair it, format the NVRAM and installed your v1.2. But then I have a similar problem, IMEI's all gone, Wifi with NVRAM ERROR 0x10 and Bluetooth NOK also (these last two keep change everytime I turn them on), since I have 2 phones, I read a bit about this and tried to change de MAC's for the Wifi and BT. Restored the IMEI with Engineer Mode, I then copy the \Data\nvram\APCFG\APRDEB\ folder content, it worked but there's two problems:
1st Both MAC for WIFI and BT are the same as the other device... not good.
2nd Everytime I make a full system reset, it losts all the data EMEI's and MAC's... and I need to input everything again.
I red somewhere, that we can edit the BT_Addr and WIFI (files with APRDEB) with HxD Hex Editor, search for the MAC's and change it, replace the files, but after reboot, the Mac's continue to change everytime I connect the WF & BT (and the error 0x10 appears again).
My question is, there's anyway that I can change the MAC's in MTK Enginner Mode, or use some tools that really work (tried a couple like MAC_Spoof and others but they cannot read the MAC's) and if there's anyway (after all been corrected IMEI & MAC's) to make it "permanent" and everytime I make a full reset or install a new ROM, don't loose all these data?
Thank one more.
Best regards everyone.
JJ
I had the problem with my MMX A177
I was not able to change MAC add in terminal emulator and MAC spoofer
But guys try MTK engineering mode its working for MMX devices.
I was doing this to hack WhatsApp but it verify the device and u register previous device.
Is there any new trick to hack WhatsApp?

[Q] [A700] Ad hoc wifi support? (aka IBSS, adhoc)

I have tried a few custom ICS and JB ROMs for the A700. I could not get it to connect to my ad-hoc wifi network.
Q1: Is there a ROM out there that supports ad-hoc wifi, for the A700?
Q2: If not, is anyone working on it, preferably for JB?!
I really need this feature, or I'll have to replace the tablet.. :crying:
Maybe you can try it with this little piece of software, but make a backup before trying, it doesnt work on every device!
I tried it with my SGS+ years ago and had no problems at all, others had...
For example it could happen that the wifi isnt working properly anymore (as the developer wrote on his description only a hard reset will help in this case or a backup).
Make a backup, give it a try and then you can revert everything if it doesnt work out for you
Wifi Ad Hoc enabler
https:// play.google.com/store/apps/details?id=nl.arendmedia.wifiadhocenabler
Unfortunately I can't post links because I am below 10 posts... try to search for it manually.
shawnboy99 said:
I have tried a few custom ICS and JB ROMs for the A700. I could not get it to connect to my ad-hoc wifi network.
Q1: Is there a ROM out there that supports ad-hoc wifi, for the A700?
Q2: If not, is anyone working on it, preferably for JB?!
I really need this feature, or I'll have to replace the tablet.. :crying:
Click to expand...
Click to collapse
Probably just need to change wpa.supplicant files for one that enables adhoc. At least on older HC and ICS. JB should probably be the same. Here's a link to a wpa.supplicant file that maybe will work, along with instructions. (always keep a backup of your current supplicant file. You can do all necessary things using ES File Explorer. For this method you need root;
http://forum.xda-developers.com/showthread.php?t=1777413
or
http://forum.xda-developers.com/showthread.php?t=2163363 (this seems to have success on tablets)
For non-rooted, you need an app.
Here's a much simplier app you can use on the non-rooted tablet rather than installing client apps on the PC;
http://forum.xda-developers.com/showthread.php?p=32719405
MD
SnoPoX said:
Maybe you can try it with this little piece of software, but make a backup before trying, it doesnt work on every device!
I tried it with my SGS+ years ago and had no problems at all, others had...
For example it could happen that the wifi isnt working properly anymore (as the developer wrote on his description only a hard reset will help in this case or a backup).
Make a backup, give it a try and then you can revert everything if it doesnt work out for you
Wifi Ad Hoc enabler
https:// play.google.com/store/apps/details?id=nl.arendmedia.wifiadhocenabler
Unfortunately I can't post links because I am below 10 posts... try to search for it manually.
Click to expand...
Click to collapse
Thanks for the tip. I found a list of phones/tabs that Wifi Ad Hoc enabler reported working, there was no A500 and A700. There was A100 with ICS that worked, and A200 with JB that did NOT work. I read up on it, and it sounded like it replaces the wpa.supplicant file. I have tried about 4 different wpa.supplicant files that I could find on the web; none of them worked. I have decided to switch to a different tablet. Thanks again for your help!
Moscow Desire said:
Probably just need to change wpa.supplicant files for one that enables adhoc. At least on older HC and ICS. JB should probably be the same. Here's a link to a wpa.supplicant file that maybe will work, along with instructions. (always keep a backup of your current supplicant file. You can do all necessary things using ES File Explorer. For this method you need root;
http://forum.xda-developers.com/showthread.php?t=1777413
or
http://forum.xda-developers.com/showthread.php?t=2163363 (this seems to have success on tablets)
For non-rooted, you need an app.
Here's a much simplier app you can use on the non-rooted tablet rather than installing client apps on the PC;
http://forum.xda-developers.com/showthread.php?p=32719405
MD
Click to expand...
Click to collapse
Thanks for the tip on wpa.supplicant. I have tried a bunch of them, about 4 or 5. None of them worked. (See my previous post also.)
Regarding FoxFi app through the link you have mentioned, it's now part of PdaNet. According to their web description, it turns a tablet into a hotspot, not what I was talking about--connecting tablet to an ad-hoc network.
shawnboy99 said:
Thanks for the tip on wpa.supplicant. I have tried a bunch of them, about 4 or 5. None of them worked. (See my previous post also.)
Regarding FoxFi app through the link you have mentioned, it's now part of PdaNet. According to their web description, it turns a tablet into a hotspot, not what I was talking about--connecting tablet to an ad-hoc network.
Click to expand...
Click to collapse
Try that second supplicant file. Make sure you set the permissions on it after you copy, then reboot the tab. Wipe cache and dalvik also.
If I get some time, I might check it out. Might be able to merge the changes into our own supplicant file.
MD
Hi, I have the same problem with my a500 cm10 v6supercharge, no way to get enable ad hoc connection?!
Please could some body update the wpa supplicant file?
Thank's
Inviato dal mio A500 con Tapatalk 2

[Q] Spoof MAC Address on 5.0 Lollipop?

Does anybody know how to change the MAC address on a VZW M8 running 5.0? Or on a phone running 5.0 in general? I'd appreciate any help you can give me.
I'm trying to change my phone's MAC address so that I can spoof a "Nintendo Zone" hotspot and get some of the freebie-goodies for my 3DS from home using my phone as a hotspot. The process is pretty straight forward (Make a hotspot, name it "attwifi", change the MAC to something Nintendo uses, get goodies.), but I'm having trouble getting the MAC address changed. Most tutorials have you use a terminal emulator with busybox to change it via command, or a hex editor to change the MAC address in a specific file, but I've not had any luck with either approach. Even the apps on the Play Store seem to fail. My guess is that it has something to do with Lollipop likely changing how MAC addresses are stored and used.
I've tried just about everything I could find, and am running out of ideas as well as ways to phrase the question to google to try looking this up myself. If anybody could tell me how to do this, or give me some pointers, that'd be great.
Also, in case it needs to be said: I am rooted, and unlocked with busybox installed. I've got the stock rom still, with TWRP if any of that matters.
Also, also. I realize this is a repost of my question in the HTC M8 VZW forum, and apologize for that. I'd have deleted the previous, but I can't seem to find out how. Either way, I figure this issue probably has less to do the the HTC M8 phone itself, and more so with Lollipop 5.0 as a whole, making this a better forum to ask in. Hope that isn't a problem.
Bump.
Apps...
LittleCatman said:
Bump.
Click to expand...
Click to collapse
Try using ChamelMac from the google play. Or you can search for MAC Spoofer android ans see what you get.
janekmuric said:
Try using ChamelMac from the google play. Or you can search for MAC Spoofer android ans see what you get.
Click to expand...
Click to collapse
I've already tried about a dozen different MAC Spoofers on the Play Store, but none of them actually seem to work. I'm pretty sure something with 5.0 has changed the way MAC addresses are used.
LittleCatman said:
I've already tried about a dozen different MAC Spoofers on the Play Store, but none of them actually seem to work. I'm pretty sure something with 5.0 has changed the way MAC addresses are used.
Click to expand...
Click to collapse
have you tried Chainfire's "Pry-Fi" app on google play?
simonbigwave said:
have you tried Chainfire's "Pry-Fi" app on google play?
Click to expand...
Click to collapse
I recommend not using Pry-Fi by chainfire. After first use on a Nexus 5 running rooted stock ROM v5.1.1, it permanently broke Wi-Fi functions (setting would not turn on). After extensive web research and troubleshooting, I had to reflash the ROM and wipe the device to get it working again.
If you do install Pry-Fi, I warn app users to get a full backup and know how to restore before installing.
Chainfire has done great work in the community, but Pry-Fi app is no longer great.
fleece said:
I recommend not using Pry-Fi by chainfire. After first use on a Nexus 5 running rooted stock ROM v5.1.1, it permanently broke Wi-Fi functions (setting would not turn on). After extensive web research and troubleshooting, I had to reflash the ROM and wipe the device to get it working again.
If you do install Pry-Fi, I warn app users to get a full backup and know how to restore before installing.
Chainfire has done great work in the community, but Pry-Fi app is no longer great.
Click to expand...
Click to collapse
well people should backup before doing anything anyway. for me, i used pryfi no problems at all.
yes , cm12 not work..

[Guide] How to "fix" WiFI after come back from custom roms to Stock rom.

Ok guys after lots of tests, I've managed that the fastest and easiest way to have wifi fixed on Stock android rom is to delete some lines (they are 2-3) in a file located on "/persist" folder.
PROCEDURE
1) You need magisk (or any other form of root) and a file manager that can edit (with root permissions) systems files.
Once you have done it, go on root "/persist" and find the file "wlan_mac.bin", open it with a text editor and delete all lines in it(let it empty but don't delete it, just delete lines in it), after save and reboot phone, done.
2) This is faster, it is going to do same thing but without magisk. Just flash the WiFi_fix.zip (see file below in attachment) from Twrp and it will replace the corrupted wifi_mac.bin with an empty one.
Optional: if you know how to generate a xiaomi vendor mac address, just replace the empty wlan_mac.bin from my WiFi_fix.zip file with yours.
Comment:
*This is the fast and easy but not the best one. I'm finding a workaround.
Anyway this method isnt a problem you are going to use base Mac Address and not the vendor one. In therms of warranty I don't think it will change something.
PS: Actually this will be fixed on custom rom that used to edit that file.
Good work!
I have same problem. When i flash stock rom via mi flshtool i can't connect to wifi. It shows wifi but after entering pwd it shows only saved. Can't connect at all.can u explain procedure when flashed stock rom. Flashing persist.img via fastboot will fix? Without rooting. Sorry for my bad English.
---------- Post added at 03:30 PM ---------- Previous post was at 03:23 PM ----------
So you are saying after flashing stock rom i have to unlock bl and root. And then edit system????? Sorry im a noob to Mi A1
kishanb1988 said:
I have same problem. When i flash stock rom via mi flshtool i can't connect to wifi. It shows wifi but after entering pwd it shows only saved. Can't connect at all.can u explain procedure when flashed stock rom. Flashing persist.img via fastboot will fix? Without rooting. Sorry for my bad English.
---------- Post added at 03:30 PM ---------- Previous post was at 03:23 PM ----------
So you are saying after flashing stock rom i have to unlock bl and root. And then edit system????? Sorry im a noob to Mi A1
Click to expand...
Click to collapse
Just connect phone in fastboot on pc. open cmd (you need fastboot and adb drivers installed on PC) and write this:
fastboot oem unlock (to unlock bootloader)
fastboot boot twrp-oreo-3.2.1-2.img (you need last official twrp from XDA for that. Name can be different, you have to write extaclty of your file)
Phone will boot on twrp. From install/flash magisk and reboot phone. Now you have magisk and root.
Download and installa a file manager like MixPlorer, Root explorer, MtManager and many others.
Go on "root" and find the folder "persist". In it you will find the file "wclan_mac.bin" just edit. If you still have issue I will made something that is going to do it automatically.
Thanks mate. I'll try ?, you save the hours of works. Thanks again
Has someone tried erasing then flashing persist.img?
Your method is not the fastest nor the best to reset the WiFi connection, You do not need to be root.
You must do the following:
The persist.img file must be downloaded from the following link
https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
“persist.img” file and move it to phone memory “/sdcard”.
1.- Enter fastboot mode, , you must have unlocked the bootloader
2.- Execute TWRP with the command fastboot boot twrp.img
3.- Open Terminal in TWRP Custom Recovery (go to "Advanced"> "Terminal").
4.- Type the following command:
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
Click to expand...
Click to collapse
5.- Restart and with it the wifi will work.
Procedure taken from https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
speedunderx said:
Your method is not the fastest nor the best to reset the WiFi connection, You do not need to be root.
You must do the following:
The persist.img file must be downloaded from the following link
https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
“persist.img” file and move it to phone memory “/sdcard”.
1.- Enter fastboot mode, , you must have unlocked the bootloader
2.- Execute TWRP with the command fastboot boot twrp.img
3.- Open Terminal in TWRP Custom Recovery (go to "Advanced"> "Terminal").
4.- Type the following command:
5.- Restart and with it the wifi will work.
Procedure taken from https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
Click to expand...
Click to collapse
It is dangerous, I dont advise it.
SevenSlevin said:
It is dangerous, I dont advise it.
Click to expand...
Click to collapse
It works perfectly, it's more dangerous what you do.
deleted, double post.
speedunderx said:
It works perfectly, it's more dangerous what you do.
Click to expand...
Click to collapse
I don't think you have the idea of what you have done.
I will tell 2 points of the fact that it is dangerous:
1) for the not experted doing these things can easily bootloop/soft brick phone.
2) You flashed with "DD" and you have flashed a backup of another one so you are using his MacAddress.
Now tell me how safety is it if I know your MacAddress? (everyone who is going to flash it will have same MacAddress)
PS. in this case your MacAddress are:
Bluetooth: f4:f5:dB:e9:b6:dc
WiFi: f4:f5:dB:e9:b6:dd
check them on "settings, system, about phone, status".
SevenSlevin said:
I don't think you have the idea of what you have done.
I will tell 2 points of the fact that it is dangerous:
1) for the not experted doing these things can easily bootloop/soft brick phone.
2) You flashed with "DD" and you have flashed a backup of another one so you are using his MacAddress.
Now tell me how safety is it if I know your MacAddress? (everyone who is going to flash it will have same MacAddress)
PS. in this case your MacAddress are:
Bluetooth: f4:f5:dB:e9:b6:dc
WiFi: f4:f5:dB:e9:b6:dd
check them on "settings, system, about phone, status".
Click to expand...
Click to collapse
You're wrong, you should read the tutorial, and with regard to the Mac I have the usual Mac, so you know a Mac is the physical code of the hardware, therefore you can not change it just read, the problem is that when you install RR you delete the WiFi module that uses the stock firmware, while the custom ROM uses drivers, persist.img helps to restore the Bluethoot module and wifi and sometimes the imei.
speedunderx said:
You're wrong, you should read the tutorial, and with regard to the Mac I have the usual Mac, so you know a Mac is the physical code of the hardware, therefore you can not change it just read, the problem is that when you install RR you delete the WiFi module that uses the stock firmware, while the custom ROM uses drivers, persist.img helps to restore the Bluethoot module and wifi and sometimes the imei.
Click to expand...
Click to collapse
There's a persist.img in our fastboot ROM. Can we use that instead of what you linked?
Edit - Flashed the persist.img from the Fastboot ROM in EDL mode. I ended up with no sensors. Trying to reflash the entire ROM now. :'(
Edit 2-
1. Dirty Flashed ROM. Re-setup fingerprints. Reset network settings. Emptied out wlan.bin file, everything works except wifi.
2. Restored my personal backup of persist, re-setup fingerprints. Everything is now working.
oreo27 said:
There's a persist.img in our fastboot ROM. Can we use that instead of what you linked?
Edit - Flashed the persist.img from the Fastboot ROM in EDL mode. I ended up with no sensors. Trying to reflash the entire ROM now. :'(
I've already done it and have same your issue in past. Problem is that, that persist.img found on fastboot firmware stock, seems to non be complete and has "corrupted" (incomplete) WCNSS_qcom_wlan_nv.bin and WCNSS_wlan_dictionary.dat. And also it doesnt make the folder /persist/wifi_bin where are located other 2 folders "minus" and "plus".
In your case you have finished with no wifi, that isnt correct. You have wifi but you need to put phone next to router cause with those "corrupted" files it has really low range. To fix that you just need files that I've wrote above from someone that has correct files. In this case you ave done a backup, you just needed to copy wifi_bin folder, WCNSS_qcom_wlan_nv.bin and WCNSS_wlan_dictionary.dat from your backup.
Anyway actually I think you are using the hardware mac address that in most of phones starts with: 00:0a:f5 (it is the prefix of vendor Airgo networks that produce those chipsets and works under Qualcomm). I've seen also mac starting with: 00:00:00 that is the prefix of Xerox Corporation.
To turn back to your back vendor (XIaomi) mac address your last hope, as I know, is to use bluetooth mac. Considerading that you have a backup of it (it is located in /persist/bluetooth) and you have never touched it.
Click to expand...
Click to collapse
SevenSlevin said:
oreo27 said:
There's a persist.img in our fastboot ROM. Can we use that instead of what you linked?
Edit - Flashed the persist.img from the Fastboot ROM in EDL mode. I ended up with no sensors. Trying to reflash the entire ROM now. :'(
I've already done it and have same your issue in past. Problem is that, that persist.img found on fastboot firmware stock, seems to non be complete and has "corrupted" (incomplete) WCNSS_qcom_wlan_nv.bin and WCNSS_wlan_dictionary.dat. And also it doesnt make the folder /persist/wifi_bin where are located other 2 folders "minus" and "plus".
In your case you have finished with no wifi, that isnt correct. You have wifi but you need to put phone next to router cause with those "corrupted" files it has really low range. To fix that you just need files that I've wrote above from someone that has correct files. In this case you ave done a backup, you just needed to copy wifi_bin folder, WCNSS_qcom_wlan_nv.bin and WCNSS_wlan_dictionary.dat from your backup.
Anyway actually I think you are using the hardware mac address that in all phones starts with: 00:0a:f5.
To turn back to your back vendor mac address your last hope, as I know, is to use bluetooth mac. Considerading that you have a backup of it (it is located in /persist/bluetooth) and you have never touched it.
Click to expand...
Click to collapse
I was actually able to restore everything . I did a dd backup of my persist partition prior to messing with it. I simply restored that and got everything working normally after I re-registered my fingerprints.
Good to know that I can simply replace those files. I just checked those out after I extracted my backup. Good to know I can just use those.
Apart from WiFi, is there anything else that's damaged when flashing the persist.img from Fastboot?
P.S. You're right, it was showing the networks but it wasn't connecting.
Click to expand...
Click to collapse
I am currently in RR, I think the best way is to wait for the developers to solve the problem, with an update.
oreo27 said:
SevenSlevin said:
I was actually able to restore everything . I did a dd backup of my persist partition prior to messing with it. I simply restored that and got everything working normally after I re-registered my fingerprints.
Good to know that I can simply replace those files. I just checked those out after I extracted my backup. Good to know I can just use those.
Apart from WiFi, is there anything else that's damaged when flashing the persist.img from Fastboot?
P.S. You're right, it was showing the networks but it wasn't connecting.
Click to expand...
Click to collapse
But Attention on deleting files on /persist folder. If you delete one of this (or all them),
WCNSS_qcom_wlan_nv.bin
WCNSS_wlan_dictionary.dat
wlan_mac.bin
you will end in a costantly reboot of phone. For that I've advised only to delete lines with a text editor from "wlan_mac.bin", and as you have seen flashing "persist.img" need lots of knowledge and it is risky (in your case you have done the best thing of doing a backup of it) if you dont know what you are doing.
PS. you can send me in PM your /bluetooth/.bt_nv.bin file. Need an hexadecimal editor and if that file was never touched (as I think) you can restore back your old Xiaomi wifi mac address also.
Click to expand...
Click to collapse
Hi,
I'm having the same issue with WiFi. Connected to WiFi, accepted pw, but not working the wifi connection.
I've a fresh stock oreo, now I see the original BT MAC address.
How to do to make wifi work again without loosing original BT MAC?
speedunderx said:
You're wrong, you should read the tutorial, and with regard to the Mac I have the usual Mac, so you know a Mac is the physical code of the hardware, therefore you can not change it just read, the problem is that when you install RR you delete the WiFi module that uses the stock firmware, while the custom ROM uses drivers, persist.img helps to restore the Bluethoot module and wifi and sometimes the imei.
Click to expand...
Click to collapse
i dont know if u have tried it yourself and i dont know the technical details, but i have tried doing that after coming from RR and it didnt work. and more importantly i ended up having 30 sec reboots as someone pointed out here. This is what worked for me:
https://forum.xda-developers.com/mi-a1/help/wifi-issues-t3732798/page2
i havent tested the method described here but i am pretty sure it is no more worse than the one you advice
sachin273 said:
i dont know if u have tried it yourself and i dont know the technical details, but i have tried doing that after coming from RR and it didnt work. and more importantly i ended up having 30 sec reboots as someone pointed out here. This is what worked for me:
https://forum.xda-developers.com/mi-a1/help/wifi-issues-t3732798/page2
i havent tested the method described here but i am pretty sure it is no more worse than the one you advice
Click to expand...
Click to collapse
It works other users have tried, but as the author of this post says, leave a generic wifi and bluetooth mac for everyone, I'm RR, and I have the physical device mac bone the original, you can try all the methods there are but none will restore the original mac of your device, just wait for it to be corrected with the Custom ROM updates. If you try a lot there is the possibility that you will have a nice brick.
You have to take into consideration that the phone is quite economical, therefore it is not the same thing that you fail in this way a galaxy s8 for example.
If you are using Custom Rom enjoy it, there are many that work better than stock android.
OK, I confirm that now I tried OP's solution 2 minutes ago, and it's working. WiFi came back, and operating fine!
But is that OK, that before made the empty wlan_mac.bin file saved I saw different MAC addresses in the system info, and when
rebooted then I saw again different MAC addresses in system info??
Which is the original?
speedunderx said:
It works other users have tried, but as the author of this post says, leave a generic wifi and bluetooth mac for everyone, I'm RR, and I have the physical device mac bone the original, you can try all the methods there are but none will restore the original mac of your device, just wait for it to be corrected with the Custom ROM updates. If you try a lot there is the possibility that you will have a nice brick.
You have to take into consideration that the phone is quite economical, therefore it is not the same thing that you fail in this way a galaxy s8 for example.
If you are using Custom Rom enjoy it, there are many that work better than stock android.
Click to expand...
Click to collapse

Can someone please provide me with a TWRP backup of their /EFS partition?

Recently, I corrupted my /EFS partition when I tried to change my MAC address. I don't have any backups of the partition and now my wifi doesn't work. Basically, my last option is to flash someone else's /EFS and hope for the best. Can someone send me their TWRP backup of this partition? It would help a lot. Thank you.
DJsushi123 said:
Recently, I corrupted my /EFS partition when I tried to change my MAC address. I don't have any backups of the partition and now my wifi doesn't work. Basically, my last option is to flash someone else's /EFS and hope for the best. Can someone send me their TWRP backup of this partition? It would help a lot. Thank you.
Click to expand...
Click to collapse
You can't just use somebody else's EFS partition on your phone, as the data it holds is unique to each device. First, read what EFS actually is:
https://forum.xda-developers.com/oneplus-one/general/guide-efs-partitions-how-to-lost-t3307793
The only way (that I've found) of making your phone run properly again is to use a UMT dongle (do some research on how it works first) and input your IMEI back manually (it's written somewhere on the box the phone came in), but that dongle is a bit costly. If you do not want to deal with that, you should just reach out to OnePlus support.
I'm curious, why would you change your MAC address? Android 10 already has a MAC randomizer.
But yeah, EFS and Persist partitions are device specific and containing low level stuff that I don't think transferring it from one device to anther would work. First thing you could try is flashing stock ROM using MSM Download Tool.
McAwesomePL said:
You can't just use somebody else's EFS partition on your phone, as the data it holds is unique to each device. First, read what EFS actually is:
https://forum.xda-developers.com/oneplus-one/general/guide-efs-partitions-how-to-lost-t3307793
The only way (that I've found) of making your phone run properly again is to use a UMT dongle (do some research on how it works first) and input your IMEI back manually (it's written somewhere on the box the phone came in), but that dongle is a bit costly. If you do not want to deal with that, you should just reach out to OnePlus support.
Click to expand...
Click to collapse
I read somewhere that it could work... And thanks, I know what the EFS partition is... However, is it a problem if I end up with someone else's IMEI? Also, I already did a backup of the current corrupted EFS so if the EFS from another phone won't work then I can just flash my old EFS back.
Also, my IMEI is intact. I haven't lost it. Only the MAC address is probably changed and that creates the problem. But I can't restore the original MAC address because the wlan0 interface doesn't show up in custom OS's. Only in OOS.
Edit: lol I actually already read the exact same article you've sent a link to.
freezingfox said:
I'm curious, why would you change your MAC address? Android 10 already has a MAC randomizer.
But yeah, EFS and Persist partitions are device specific and containing low level stuff that I don't think transferring it from one device to anther would work. First thing you could try is flashing stock ROM using MSM Download Tool.
Click to expand...
Click to collapse
Does it? I couldn't find it there... I know that OOS has a MAC randomizer but i don't know if other custom OS's have it. Also, could you please verify if i'm using the right tool? This is the link: https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Because it's OOS 5.1.5 and that's faaaar from the newest one...
DJsushi123 said:
Does it? I couldn't find it there... I know that OOS has a MAC randomizer but i don't know if other custom OS's have it. Also, could you please verify if i'm using the right tool? This is the link: https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Because it's OOS 5.1.5 and that's faaaar from the newest one...
Click to expand...
Click to collapse
The latest one is here containing 10.3.5 https://forum.xda-developers.com/oneplus-6/how-to/op6-collection-unbrick-tools-t3914109
Android has had MAC randomisation since Oreo.

Categories

Resources