How to change MAC address ? - General Questions and Answers

Hello, it turns out that yesterday I was changing ROM's but there came a time where to enter the configuration of one of them I realized that I could no longer turn on the wifi, the first thing I suspected is that it was mac address problem so I went to check and indeed, had a mac 02:00:00:00:00:00, then I thought that flashing again with the stock rom would be fixed but to no avail, what can I do to change to a functional MAC ?

Hint: Replace this thread's absolutely sensless title by How to change MAC address ?

Hi, the error was that the wifi folder (located inside /persist) had been deleted, I simply had to modify the stock rom to repair that folder when flashing, that solved my problem.

Hi, the error was that the wifi folder (located inside /persist) had been deleted, I simply had to modify the stock rom to repair that folder when flashing, that solved my problem.

SedaxM7 said:
Do you know how I could do it?
Click to expand...
Click to collapse
Simply edit your 1st post accordingly.

Hi, the error was that the wifi folder (located inside /persist) had been deleted, I simply had to modify the stock rom to repair that folder when flashing, that solved my problem.

Related

[Q] Where is the wpa_supplicant.conf file located?

I'm trying to connect my phone to an Ad-Hoc network following this guide http://forum.xda-developers.com/showthread.php?t=828340 but I can't seem to locate the "wpa_supplicant.conf" file in data/misc/wif/. I have located it in /system/bin but it doesn't seem right at all... However it may because i downloaded and replaced that file with the one I found on this guide: http://sardarmobile.blogspot.com/2011/03/fix-connect-samsung-galaxy-s-to-ad-hoc.html
What I think I might need is the original wpa_supplicant.conf file.. I remember backing it up... just don't recall where I put it... I know its against forum rules to ask for it so I won't ask, but will flashing KD1 restore that file to the original?

[Q] Wi-Fi not working

After flashing stock ROM on my Moto G I was not able to use Wi-Fi, it does not turn on. So I tried some other ROMS from various countries and nothing. However when I flashed the Nexus G - beta 4 custom ROM (http://forum.xda-developers.com/showthread.php?t=2606943) I got it working again.
Can someone please explain what is happening, and help me?
same here
TiagoPeixoto said:
After flashing stock ROM on my Moto G I was not able to use Wi-Fi, it does not turn on. So I tried some other ROMS from various countries and nothing. However when I flashed the Nexus G - beta 4 custom ROM (http://forum.xda-developers.com/showthread.php?t=2606943) I got it working again.
Can someone please explain what is happening, and help me?
Click to expand...
Click to collapse
same here its burnsyboo im just downloading Nexus G the problem i have is i formated /persist /pds /firmware and the rest because i thought this was now mandatory in 4.4 i formated them in the new 4.4 cwm and now when i flash a custom rom or stock i flick that switch for WIFI and nothing it wont turn on im not sure why help would really be appreciated it may be that me and TiagoPeixoto formated the files wifi runs on i hope the nexus g rom will fix my wifi issues if not could someone please go to the root of there phone in root explorer or file manager and pull persist for us and pds them are the main files that WIFI runs on i think if someone could do that for us and upload it then i will be very greatfull thanks
Solved
So, I got it working again. The problem was indeed in the persist folder, it was missing a file named WCNSS_qcom_wlan_factory_nv.bin. So I managed to extract it from the persist.img and moved it to persist folder again. After that I edited the bin file and inserted my MAC address. Finally I have flashed my phone to stock ROM again and it worked just fine.
Here's the file:
fixed
Thank you so much this fixed my problem as well
Ok. Let's try but first let me e sure how to do it.
1. Edit persist.img with the .bin file inside.
2. Installl stock rom on my phone.
3. Flash persist.img in fastboot mode.
It's that correct?
gerardomt said:
Ok. Let's try but first let me e sure how to do it.
1. Edit persist.img with the .bin file inside.
2. Installl stock rom on my phone.
3. Flash persist.img in fastboot mode.
It's that correct?
Click to expand...
Click to collapse
First of all check if your persist folder is missing the bin file I have mentioned. If it is, You have to extract that file from persist.img or You can just download the one I uploaded.Then you must edit it and insert your mac address and after that you just have move it to the persist folder using a root explorer.
I could not flash persist.img, bootloader was always returning an access denied message, so i figured a way to explore the persist.img file using LinuxReader and extracted the WCNSS_qcom_wlan_factory_nv.bin from it.
So basically i ''flashed'' persist manually. Copy, edit, paste.
Thanks
Fixed
I have 2 days searching the solution and try with so many files.
Thanks
Please, could someone explain me exactly (for n00b like me) how to solve this problem?
Solved
Im lost on how to do this... do i just extract the file to the persist folder??
I formated /persit folder also, tried install stock rom, but no success with wifi
The problem is: i have no persist folder inside root and when i try to create it, the folder was gone after reboot.
Bootloader dont let me flash persist.img
What can I do?
Could someone help me, please?
When I try to "fast boot flash persist persist.img", I get a permission denied. Am I missing something?
braindump03 said:
When I try to "fast boot flash persist persist.img", I get a permission denied. Am I missing something?
Click to expand...
Click to collapse
me too
it's weird cause stock rom dont recovery /persist /firmware and /modem partition, and I wiped they content -.-'
now I'm depending on you some gracious soul can post these folders for me
Wi fi problem
Hi guys,
i've a Moto G 16 Gb purchased on Amazon.De, so german phone. I live in italy and when i connect to wi fi no problem. When i go in switzerland and i try to connect to another wi fi net (my girlfriend's line) provided by Swisscom, it doesn't work: well, i insert passoword, but it cant connect ... i called Swisscom, they tried to reset router and so on , but still persist this problem. The person (swiss) that sells me the phone (i bought it as used) said that he has the swiss provider Cablecom and it didn't have any problem. I'm fully stock with 4.4.2 . Anyone has any idea? thank you
ps: with my galaxy s3 i have no problem both in italy and in switzerland
Can anyone help in explaining the above?
....to a relative newbie? I've downgraded from 4.4.2 down to 4.3 and now my wi-fi is not working anymore, the MAC address is lost.
I'd really, really appreciate any help with regards to the procedure in going about fixing the 'Persist Folder' .
Thank you for reading.
Please make any method to solve Persist folder
Downgrade from 4.4.2 to 4.3 XT1034 UMTS...
TiagoPeixoto said:
First of all check if your persist folder is missing the bin file I have mentioned. If it is, You have to extract that file from persist.img or You can just download the one I uploaded.Then you must edit it and insert your mac address and after that you just have move it to the persist folder using a root explorer.
I could not flash persist.img, bootloader was always returning an access denied message, so i figured a way to explore the persist.img file using LinuxReader and extracted the WCNSS_qcom_wlan_factory_nv.bin from it.
So basically i ''flashed'' persist manually. Copy, edit, paste.
Click to expand...
Click to collapse
I'm sorry, but can you please elaborate? I'm have this wifi issue and it's really annoying.
You say to extract the file from persist.img, but where exactly do I find that? The file you uploaded is not persist.img.
How would I edit and insert my mac address?
Where is this persist folder? I can't find it anywhere.
If you could respond that'd be great.
breadstyx said:
I'm sorry, but can you please elaborate? I'm have this wifi issue and it's really annoying.
You say to extract the file from persist.img, but where exactly do I find that? The file you uploaded is not persist.img.
How would I edit and insert my mac address?
Where is this persist folder? I can't find it anywhere.
If you could respond that'd be great.
Click to expand...
Click to collapse
The file which he uploaded in post 3 was extracted out of the persist image.
The problem was indeed in the persist folder, it was missing a file named WCNSS_qcom_wlan_factory_nv.bin. So I managed to extract it from the persist.img and moved it to persist folder again.
Click to expand...
Click to collapse
You'll find persist folder at /persist.
You need filemanger with root permission, the you can see this folder.
So copy WCNSS_qcom_wlan_factory_nv.bin to your SD card. Use your filemanger to copy this file to /persist.
Activate wi-fi, the you'll find your mac adress under Settings > About Phone > Status > Wi-fi MAC Adress
Open WCNSS_qcom_wlan_factory_nv.bin on your phone with a text editor and type your mac adress inside that file and save it.
I have not tried it because i did not have this issue. But this is the way how i understood it.
simply copied the file in /persist, set permissions and rebooted
No MAC adress to enter
Works fine now
Thanks, very much!
You resolved me
Only its the put the WCNSS in the /persist folder and OK.
(You need to have the firmware with /persist).

Nvram warning error

Hi,
While i on my wifi, NVRAM warring error is displaying. How to solve this?
nachi9956 said:
Hi,
While i on my wifi, NVRAM warring error is displaying. How to solve this?
Click to expand...
Click to collapse
Assuming you have rooted your phone...
First of all turn on your wifi from settings.
Go-to About > Status (under settings) and Find out MAC address of your device (It looks like xx:xx:xx:xx:xx:xx)
Turn off WiFi adapter on your phone.
Run Total Commander App on your device or you can use any kind of Root explorer.
Navigate to root/data/nvram/APCFG/APRDEB and copy a file named
WIFI to your SD then computer ( I am using WIFI transfer so do not need to copy it to my own SD)
Now open that File in Hex Editor
Navigate to First Row Column number 4 to 9 insert your MAC address as per step 2.
Now over save the file and save it on same path (overwrite it)
Reboot your phone and check your WIFI by Turning it on. If you want to skip this all steps then just download Repaired WIFI file from below but we will be not responsible if any damage this file cause to your Android device.
Source: = ProtechLover
While opening the file in hex edit, the number of columns are available is 8, then how i change the 9 th column.
nachi9956 said:
Hi,
While i on my wifi, NVRAM warring error is displaying. How to solve this?
Click to expand...
Click to collapse
it will be help ful to us if u say the name of the rom u using nd getting this error...
if you r on stock rom then solution is here...
link..:-
http://androidactivists.blogspot.in/2013/03/blog-post.html
or if you r using any other then search for that rom reverse or patch or addons section if any kind of nvram error link has provided or not..
nachi9956 said:
Hi,
While i on my wifi, NVRAM warring error is displaying. How to solve this?
Click to expand...
Click to collapse
use this one bro.............very simple download it and flash it boommmmm
Hi, this zip is only for canvas ore we can use it for mm unite2
it works for the w-lan issue well,
but after that i have a new challenge
phone and blue tooth don`t work
no problem then i use the IMEI&SN Writer 1.5.3 and everything is under control
big thx
trek
dude just use this zip file for remove nvram error....just extract this zip and move the files in root folder , in root explorer search files and path for the same......100% successful working patch:good:

[Q] WI-FI not working after flashing several ROMs

Dear all,
After flashing to several roms my WI-FI isn't working.
If i press ON it goes automatically to OFF.
I tried to put the nv file in /persist folder
i tried to flash back to stock 4.3 Rom (it's .DE moto g 8gb)
No luck!
Any solution? I am leaving tomorrow for a trip
surfino said:
Dear all,
After flashing to several roms my WI-FI isn't working.
If i press ON it goes automatically to OFF.
I tried to put the nv file in /persist folder
i tried to flash back to stock 4.3 Rom (it's .DE moto g 8gb)
No luck!
Any solution? I am leaving tomorrow for a trip
Click to expand...
Click to collapse
My only way of doing was installing the CyanogenMod ROM 11, it comes with a good File Manager and Super User permissions. Thus unable to find the folder and the file inside it.
I just connected the phone to PC and put the file inside it .. Then I went to the manager .. I released Super User options .. I marked the file in the main folder .. I went to the Root Folder .. After I entered "/ persist ".. pasted the file inside it .. I took a reset through the normal system settings and when he returned was already running again.
I hope it helps those who do not understand very well, just like me.
Below is the picture of how I found the folder. PS. The file is already there because I put.
Sorry for the english guys, i'm from Brazil. Google Translator!

Missing files and folders inside /persist

Hello everyone.
I have a nexus 5 which is having troubles with wifi (usual 02:: MAC address, no wifi connection) and hotspot.
I tried to change the MAC address with different tools, but it didn't work. I tried as well to put in /persist/wifi some files with the mac address, but still not working.
I've also noticed that inside the /persist folder there are many files and folders missing. I think this may be the reason of the problems.
My question is: how do I restore the missing files?
I tried to search someone sharing that folder(no success), but I understood that I may encounter other problems.
Any suggestions?
Thanks.

Categories

Resources