unable to change WiFi MAC address on Optimized LineageOS16.0 - Galaxy S 4 General

Team,
I have a nice S4 that is not used anymore so I started experimenting different stuff, there is not any warranty active so I tested the root/unroot, different images etc.
It all went well till I tried to start working with the wlan0 configuration. I tried all possibile solutions found around, on the busybox/term even if every command does not return an error nothing changes. I've tried differents apps they all claim is fine but nothing changes, even modifying the efs/wifi files does not have any result.
I tried rebooting after changes... the max I was able to achieve was turn off wifi, change the files, reboot, check max 02:00:00:00:00, turn on wifi... mac back to original.
Is there anyone can help me? is it a problem related to the image? or to the phone?
Thanks,
M

m.savazzi said:
Team,
I have a nice S4 that is not used anymore so I started experimenting different stuff, there is not any warranty active so I tested the root/unroot, different images etc.
It all went well till I tried to start working with the wlan0 configuration. I tried all possibile solutions found around, on the busybox/term even if every command does not return an error nothing changes. I've tried differents apps they all claim is fine but nothing changes, even modifying the efs/wifi files does not have any result.
I tried rebooting after changes... the max I was able to achieve was turn off wifi, change the files, reboot, check max 02:00:00:00:00, turn on wifi... mac back to original.
Is there anyone can help me? is it a problem related to the image? or to the phone?
Thanks,
M
Click to expand...
Click to collapse
If you are getting problem in Macoptimizer you can perform following steps:
Open up settings and then go to WiFi.
Now, you will see gear on the top of this screen, click it. But if you don’t see it, look for “Configure WiFi” option and click it. Some Android system have Advanced option in WiFi, MAC address can be found there also.
You can find the MAC address on the bottom of this screen. Keep a note of it.
In order to get the interface name, you will have to install Terminal Emulator for Android. Go to Google Play Store and download it or click the link to get it.
Then open it and type the following command : ip link
You screen will be filled with lot of information, useful and useless. Now, remember I told you to keep a note of your MAC address. Just look for this MAC address under “link/ether” for all the cases.
The one that matches our MAC address, is the connection name. For most of the devices it is either “wlan0” or “eth0”.
Now, that we know our MAC address and the connection name, we can go on to change the MAC address with this terminal emulator only. Before that you should have a valid MAC address in your mind or generate one from this link. Once, you have a new MAC address, just get on with the below steps:
Launch the Terminal Emulator
Just type the following command: ip link set wlan0 address XX:XX:XX:YY:YY:YY, where wlan0 is the name of the interface and XX:XX:XX:YY:YY:YY is the MAC address you want to set.
Important thing to keep in mind that the manufacturer name should be kept unchanged while changing the MAC address i.e. XX:XX:XX (first 6 digits) should be same as before, otherwise you might face a lot of authentication issue.
This is only a temporary change and when you restart your device, your previous MAC address will be retrieved back."

Related

[A] Mapping Network Drives using HTC's Network Plugin

I've tried using Resco Explorer 7.05/Total Commander 2.5.1/HTC's Network Plugin
For some reason i can't seem to map network drives.
In resco when i try to connect to a drive it tells me it's not accessible
In Total Commander it just doesn't connect
In HTC's Network plugin it writes: "Map Drive Failed"
-I'm using Vista on the comp i want to share folders in.
-Sharing works fine on all comps other than in my PPC (not password protected)
-It seems as not only it doesn't map the drive but doesn't acknowledge as anything but the computers on the network exist. no folders inside those computers. Thought about changing my ppc's domain but i don't know how to do that.
any help would be appreciated.
thanks
Yeah, VISTA FILE SHARING is a bit tricky! You not only have to share that particular drive / folder; you also have to check the settings in the SHARING CENTER - in addition you might have to adjust the file permissions as well.
Everything is perfect on file settings. i have a network running 3 computers and 2 laptops all sharing folders no passwords all permissions set. only thing not able to read the folders is the PPC. It finds the comps on the network but doesn't show the folders.
Did you MOUNT the drives in RESCO? You can't just click on it in the FILE EXPLORER - tap and hold, then select MOUNT DRIVE or FOLDER (depending on what you're sharing).
What RESCO VERSION did you use?
dude... i can't see drives nor folders.
i'm using 7.05
for the record, i tried looking at a winxp comp instead of a vista one.. can't see anything.
tried accessing through ip and name.. both come out with nothing..
I wish someone would help with this also. I have two computers and 1 ppc on my home network. My ppc(HTC Titan) used to be able to access both computers. Then all of a sudden it stopped working for my main computer(bedroom) with all MY files on it, but it still accesses files on my second computer(upstairs). On the main computer(bedroom) I can access the shared folders of the second computer(upstairs), but the second computer can't access the files from the main computer.I dont know whats wrong, but it seems more like a computer issue. I operate Windows XP on a Dell. The network folder used to work perfectly for me and I can't put my fiinger on what's blocking it.
This might be the wrong thread to post this issue(maybe the wrong website) but I thought I would ask since the issues are similar. If it's a ppc program for accessing the shared folders on a computer, then someone should have a How-To or a check list of how to set both up for the program to work fluently. Can somebody please post what you need to do on the computers to ensure sharability of the file systems.
The reason why this is so important to me is because I have been hooking-up my Titan since may 2008 and I am near completion. I'm totally done adding app's and the functionality of the device is superb except for this issue. Just bought a 16gb micro sdhc card and that works great. My girlfriend just ordered a seido 3500mah extended battery with the door to fit and a rubberized hard case for extended battery fit. I'm so excited about have the best phone setup of my life but I everytime I go back to this issue I get pissed off. It was all good til about 4 months ago and I don't know why it suddenly stopped working. Please HELP!!!
If the HTC Network plugin is not locating your shared files on your network, this likely suggest that it is an issue with your network settings. I suggest playing around with your security settings; however, I just recently had a problem accessing any of my shared files over any of my computers between each other and between my HTC Device. It just suddenly stopped working. I knew that I didn't change any settings myself and had tried many things to try to resolve the problem without success. I then decided to run my anti-spyware programs and Anti-Virus programs and let them run overnight. In the morning, the Anti-spyware removed several things - One was labeled as high risk and the others were low and the Anti-Virus found two high risk viruses. Everything was taken care of automatically and voila - I had no problems connecting to my shared files with my computers or my HTC Device. I ran the spyware and virus check programs again and everyting was clean.
the problem is that i can't even map the drives. i can see the comps on the network using the HTC Network Plugin but can't do anything other than that. when i try mapping a drive it tells me that i can't.. for some reason.
i removed password protection...shared the drive... nothing works.
I am assuming you are trying to connect through WIFI -
Make sure that you are actually connected to your network. My device has on several occasions connected to my neighbours wifi rather then my own - results in not being able to access shared folders
Through HTC NEtwork plugin you are exploring the computer for the shared folders right? You say you can see the computers - when you click the plus next to the specified computer in the network plugin are you getting any results at all there.
Make sure you don't have (I don't know if this is what it is called) MAC address filter or password. One of my friends has an open WIFI Network but has MAC Address filter which stops you from actually being able to use the network. You can connect but that is it. You wouldn't be able to surf the internet at all through WIFI either if this was the problem.
If it is none of these, Maybe it is a Windows VIsta problem - I don't know, I have XP
Do you have trouble connecting to other shared folders on other peoples WIFI networks also? (people who have XP)
-XP doesn't work either.
-i can see the comps, so i'm obviously connected to the network.
-i have mac filtering - see previous statement
-wifi works - see previous previous statement
dunno what to do.
Maybe something with your WIFI Settings on your device then?
Maybe you can review your settings on your device - Anythign that you think might be causing the problem - Describe it here, I will check my device settings (even though different devices - should still be the same - and will let you know if there are any differences. I must go eat dinner right now, but will check back after supper and bathing my daughter and putting her to bed. in a hour and a half two hours from now...
Set your desktop to support NTLM instead of just NTLMv2.
That way I got shared folders working with the HTC Network Plugin and my Vista desktop. Unfortunately some HTC apps (like HTC Camera) only expect your device to have two drives (internal ROM and flash card) so when you mount a network drive, they can't access your flash card.
Well, i can start searching, but if you don't mind, could you tell me how to do that?
nir36 said:
Well, i can start searching, but if you don't mind, could you tell me how to do that?
Click to expand...
Click to collapse
Start.
Run.
Type "mmc".
Ok.
File.
Add/Remove Snap-in.
Group Policy Object Editor.
Add.
Finish.
Ok.
Local computer policy.
Computer configuration.
Windows settings.
Security settings
Local policies.
Security options.
Right click on "Network security: LAN Manager authentication level".
Choose "Properties".
From the drop-down box, choose one of the first three options (you'll have to experiment).
Ok.
thank you very much. i will try it out and post the results
wow. it worked. WONDERFUL.
thank you SO much.
nir36 said:
wow. it worked. WONDERFUL.
thank you SO much.
Click to expand...
Click to collapse
I'm glad it worked for you.
everything seems to work great now... and very fluently. it's superfast.
feanor512 said:
Start.
Run.
Type "mmc".
Ok.
File.
Add/Remove Snap-in.
Group Policy Object Editor.
Add.
Finish.
Ok.
Local computer policy.
Computer configuration.
Windows settings.
Security settings
Local policies.
Security options.
Right click on "Network security: LAN Manager authentication level".
Choose "Properties".
From the drop-down box, choose one of the first three options (you'll have to experiment).
Ok.
Click to expand...
Click to collapse
I wish it worked for me too, but when I get to the "Group Policy Object Editor" I'm getting lost. I don't see that anywhere. Is my computer missing important files? I'm using windows xp. I hope I don't have to restore the whole computer to get the file sharing working. But if I gotta do it I will.the phone see's the computer, but no file sharing. It is that important to me to share files between my phone and computer. My home setup is sweet, and my phone is an extension of it.
Any Other Ideas
So, I have gone through and done everything suggested here. Lan Authentication, created private network, reconnect, everything I can think of...nothing seems to work
Does anyone have any further ideas about what could possibly work to create a LAN over WIFI?
Hardware:
Vista Business, Mogul 6.1 stock ROM 5.2.19208 and Folder Plugin build 30468.
DONE SO FAR:
Have created an adhock private network...connected to it on my device no problem. But when i go to search for my computer in network plugin under the browse menu it thinks about it and in the end doesn't see anything...
so, at wits end...I know I am new but most of the info over is fairly beyond my level I am certinaly a lurker and no info over at PPC Geeks with solutions...either way alot of the stuff over there comes from over here so thought I would see if anyone had some suggestions.
thanks for the help,
icn4d

[Q] How can you change your mac address

when i flash a new rom or do a hard reset, don't know which does it but probably both, my mac address changes. some of the networks i connect this to have mac address filtering and it is annoying to have to update the networks every time i update or change a rom. what would i have to do to do to manually change the mac address. What would be a good way to get a unique or randomly generated mac address.
i somehow dont think your mac address is changing. If im not mistaken MAC addresss are hardcoded and can ony be changed by spoofing it. Your MAC address should not be changing at all
I have a nexus s and a transformer, both have gone through multiple rom changes and formats and reboots and not once did i have to update the MAC list on my router for them to get their static IP addresses
Something else is going wrong and its not MAC addresses in my mind
Cheers!
The mac address that the tablet is sending has changed on me at least twice now.
I wouldnt care to much what my mac address was exept my school does mac address filtering and password. When i hardreset or flash a new rom, the password i had before didn't work anymore. I checked my mac address and it was differnent form what it was before so it was updated to the new one and the password worked again. My transformer at least changes Mac addresses.
Does anybody know how to change this, or spoof it if you can't change it?
https://market.android.com/details?id=in.introkun.setmacaddress
what rom are you using?
prime 1.9 at the moment, i will be reflashing when prime 1.9 or revolver 3.0 when the nvflash version comes out, and flash ubuntu to. when you flash ubuntu you can't get into clockworkmod anymore can you?
I wonder if a build.lst file or something like that in our phones has a equivalent list in the transformer also that might have a different Mac address on it. Then a program will retrieve that one instead of the true address since each address is different and is hard coded into the wifi card.
Where is build.lst located?
/data/misc/wifi/nvram.txt has a place for mac address. What steps would be good to do to change this? edit that file, go to CWM and wipe delvic cache? I could hardreset but would prefer not to.
What is probably happening in the process of wiping the device it couldn't figure out what the mac was, so it randomlly generated one.
How would you figure out the one that is hardcoded in the device, or is it not hardcoded in the device?
edit if i change it in nvram.txt it will change. but if i reboot it reverts back to the what it was before.

screen went wrong

hey guys, my phone's screen has gone wrong, whenever i start it, it shows only a grey and black strips, so pls help me how to fix that.. need dire help.
Which phone, what ROM, what all you did before this happened?
immortalneo said:
Which phone, what ROM, what all you did before this happened?
Click to expand...
Click to collapse
nothing, it was stock rom, kept on the table, went out for an hour, came back picked up the phone, switched it on and voila!! found the problem, i can feel the capacitive buttons and all the other things going on but can't see anything, tried removing the battery- did not help....
sralli said:
nothing, it was stock rom, kept on the table, went out for an hour, came back picked up the phone, switched it on and voila!! found the problem, i can feel the capacitive buttons and all the other things going on but can't see anything, tried removing the battery- did not help....
Click to expand...
Click to collapse
Sounds like a problem with the LCD screen (well, duh ) but it may just be a loose cable. If the device is still under warranty then return it for repair, no messing about or anything else.
Till you get a replacement device try the following steps to gain a little functionality.
Note; you'll want to ADB (Android debugging bridge) to install the suggested app to the broken device.
Use droid VNC server on the device you want to view remotely
https://play.google.com/store/apps/details?id=org.onaips.vnc&hl=en
http://opensourceexcedio.wordpress.com/2010/10/28/droid-vnc-server/
use “what is my ip” google search when connected to the wifi or via modem tethering to find your IP address
Then copy past the multi digit code into the app you are using to connect to the device
Example IP: 107.168.192.2.1
Note you'll still need the "port" number too.
App to use to connect to your device you want to view
https://play.google.com/store/apps/details?id=me.freeroam.android.androidVNC
There are only three required places to edit to make a good connection
1. Target IP
2. Target port
3. Password (sometimes username but leave it blank if the Target doesn't have one set)
This will give you a remote viewing screen so that you can get your info off easy. Furthermore you can use your computer instead of a second Android device to make the connection and this may be easier to interact with too.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
Thanx for all the help guys.. i think it was the problem with the fps.. i read sumwhere that, if a device loses (depletes) it's battery then it's fps may get wrong, so the technique was to keep it idle for some time.. but how i fixed it was by keeping the charger in, removing the battery and again re- inserting it, voila- the screen is working alright, this trick may help some... it took me 4-5 tries like this to get it working, so don't get disappointed if it doesn't work after a try!!!

Help with Mac Address Changing

I've been trying to change my mac address on my Moto G3 but to no success. The first method I tried, was using an app. When I changed the mac with the app, (also called 'Mac Changer') it actually changed what the device said the mac address was, seemed very promising. So to test it I went into 'Kali Linux' on my computer and ran a command that shows the mac address on nearby hotspots or devices. It runs for a few seconds, and up pops my mac address, but not my new one. It shows my old mac address (A4:70:Blah:Blah:Blah) which means it didn't work even though the actual device settings said it did! Surprised me. Next thing I tried was using 'Terminal Emulator'. I had 'Busybox' installed and 'Superuser' installed from rooting so I got right into it. I entered in the command 'su' and hit enter. Now I have root access. BTW: My device has been fully rooted and all unnecessary bloatware, (like Google) completely removed using 'Debloater', not hidden like most app removers will do. Next I typed in 'Busybox iplink wlan0' and it showed my mac address, (Take notice that you have to have your wifi on to be able to do this, alot of people have had this problem where they don't turn their wifi on and it doesn't work. I struggled with it for a while til I found out wifi has to be on. I'am not sure why the wifi has to be on because on my computer I can check my mac address through command prompt with command 'getmac' and it shows my mac address without wifi being on.) Anyways, I then typed 'busybox ifconfig wlan0 hw ether (mac address)' and hit enter. To check if it worked I did the iplink command I did earlier. It showed the new mac address but when I went to 'Kali Linux' it showed it being the same old mac address. If anyone knows how to successfully change a mac address on a Android 6.0.1 device, please let me know. Also if you need help with anything and think I might be able to help you based off what you read just now, please let me know, I'd be glad to share my knowledge and help somebody out. Thanks!

WIFI AND BLUETOOTH GONE CRAZY. MAC ADDRESS CHANGED TO 02:00:00:00:00:00. HOW TO FIX?

THE ORIGIN OF THE ISSUE:
Everything began 1 month ago. I was using my Nexus 5 like I always did. I had my WiFi turned on because I was chatting with my friends on Instagram and I left my smartphone charging. There were notifications and the notification light turned on showing me that I had two texts from Instagram app. When I tried to turn it on the screen, I pressed the power button, but the screen did not turn on. I pressed the power button again and again and again, but still the same. I tried to force-reboot my device and that's what I did. When the screen started again, my WiFi was stuck at "turning WiFi on...", also, my Bluetooth was not working properly too, because when I tried to turn it on, it automatically turned back off.
ATTEMPT TO FIX #1:
First thing I tried was unrooting and reinstalling stock using Nexus Root Toolkit. That didn't work... I tried doing a simple factory reset from the phone settings, also didn't work...
After those fails, I noticed that my MAC address was corrupted, showing this: 02:00:00:00:00:00 so I searched the Internet for stuff related to this MAC address error and found people with similar problem just like mine. I found solutions like deleting /persist/wifi folder (my friend did not recommended me to do so after I did this). So, I did the thing, AND IT DID NOT HELP. Tried returning to stock using Nexus Root Toolkit AND IT DID NOT HELP. I had an idea to delete my entire system using TWRP and I thought that reinstalling it would fix the problem. But I was noob at the moment, didn't know how to flash after deleting it. Anyway, I went on, and deleted system, but I didn't know how to reinstall and I was without a smartphone for 3 weeks. I was sooooooooo sad cause this was the worst issue I had to deal with... No smartphone... No WiFi.... life sucks (still does, I am sooo depressed for a stupid smartphone)... Well, obviously, NOTHING HELPED.
ATTEMPT TO FIX #2:
After those 3 weeks, I finally managed to find a way to reinstall OS on my smartphone again (using Nexus 5 factory image found in Google site for developers). I was sooo happy because at least I managed to turn the smartphone back on. So, step two was to check if WiFi worked. Well... not as I expected things to be. It didn't work... Obviously... Well, after doing simple experiments, I tried to do "the thing again". After deleting file .macaddr from /persist/wifi folder, without deleting the folder, only the file, WiFi turned back on!!! I went in tears thanking God. Sooooo much happiness!!! I desided to insert WiFi APs that I prevously saved in a wpa_supplicant.conf file, and guess what.... I F***** UP WIFI AND SENSORS!!! I was sooooo mad!
ATTEMPT TO FIX #3:
Well, the next day, I attempted to do a system delete again, but this time, I used another computer device, my family laptop. I deleted system, and this time, I didn't flash anything using Nexus Root Toolkit, but I used this Nexus 5 factory image again. WIFI WAS BACK ON!!! YEESSS!!! I was crying soooo hard!! I again thanked God!!! But it didn't last long... After two days, I turned on my WiFi to check my messages from Instagram, sadly, my WiFi was again stuck on "turning WiFi on..." and my smartphone rebooted by itself (again). So... guess what. I DEAR YOU TO GUESS WHAT HAPPENED NEXT!!! MAC address was back to this STUPID 02:00:00:00:00:00. I had enouch. I installed Termux, I installed a packet called "macchanger" and tried to change my MAC address to something random. I used command "macchanger -r wlan0" and I rebooted. This changed my MAC address to something random. Now, WiFi turns on and when I open an application to use WiFi with, it turns off immediatelly... Also, my MAC address is on changing again with command "macchanger -r wlan0" and is stuck in the previous randomized MAC address. Using "macchanger" command, I also noticed that my "permanent" MAC address is now: 00:00:00:00:00:00 (something that was never valid).
WHAT DO I DO?
DO I NEED TO BUY A NEW SMARTPHONE BECAUSE THIS ONE IS PRETTY F***** UP?
DO I NEED TO REPLACE THE ENTIRE MOTHERBOARD?
IS THIS EVEN A HARDWARE ISSUE?
IS THIS A SOFTWARE ISSUE?
DO I NEED TO REPLACE FIRMWARE? IF SO, HOW DO I DO THAT?
DOES THIS HAVE SOMETHING TO DO WITH /PERSIST?
WHAT DO YOU PROPOSE? BECAUSE I AM TIRED OF THIS STORY, REALLY...
SPECIAL URL: https://forum.xda-developers.com/t/...y-are-and-how-to-get-it-back-if-lost.3307793/
Retr0.Hacker said:
THE ORIGIN OF THE ISSUE:
Everything began 1 month ago. I was using my Nexus 5 like I always did. I had my WiFi turned on because I was chatting with my friends on Instagram and I left my smartphone charging. There were notifications and the notification light turned on showing me that I had two texts from Instagram app. When I tried to turn it on the screen, I pressed the power button, but the screen did not turn on. I pressed the power button again and again and again, but still the same. I tried to force-reboot my device and that's what I did. When the screen started again, my WiFi was stuck at "turning WiFi on...", also, my Bluetooth was not working properly too, because when I tried to turn it on, it automatically turned back off.
ATTEMPT TO FIX #1:
First thing I tried was unrooting and reinstalling stock using Nexus Root Toolkit. That didn't work... I tried doing a simple factory reset from the phone settings, also didn't work...
After those fails, I noticed that my MAC address was corrupted, showing this: 02:00:00:00:00:00 so I searched the Internet for stuff related to this MAC address error and found people with similar problem just like mine. I found solutions like deleting /persist/wifi folder (my friend did not recommended me to do so after I did this). So, I did the thing, AND IT DID NOT HELP. Tried returning to stock using Nexus Root Toolkit AND IT DID NOT HELP. I had an idea to delete my entire system using TWRP and I thought that reinstalling it would fix the problem. But I was noob at the moment, didn't know how to flash after deleting it. Anyway, I went on, and deleted system, but I didn't know how to reinstall and I was without a smartphone for 3 weeks. I was sooooooooo sad cause this was the worst issue I had to deal with... No smartphone... No WiFi.... life sucks (still does, I am sooo depressed for a stupid smartphone)... Well, obviously, NOTHING HELPED.
ATTEMPT TO FIX #2:
After those 3 weeks, I finally managed to find a way to reinstall OS on my smartphone again (using Nexus 5 factory image found in Google site for developers). I was sooo happy because at least I managed to turn the smartphone back on. So, step two was to check if WiFi worked. Well... not as I expected things to be. It didn't work... Obviously... Well, after doing simple experiments, I tried to do "the thing again". After deleting file .macaddr from /persist/wifi folder, without deleting the folder, only the file, WiFi turned back on!!! I went in tears thanking God. Sooooo much happiness!!! I desided to insert WiFi APs that I prevously saved in a wpa_supplicant.conf file, and guess what.... I F***** UP WIFI AND SENSORS!!! I was sooooo mad!
ATTEMPT TO FIX #3:
Well, the next day, I attempted to do a system delete again, but this time, I used another computer device, my family laptop. I deleted system, and this time, I didn't flash anything using Nexus Root Toolkit, but I used this Nexus 5 factory image again. WIFI WAS BACK ON!!! YEESSS!!! I was crying soooo hard!! I again thanked God!!! But it didn't last long... After two days, I turned on my WiFi to check my messages from Instagram, sadly, my WiFi was again stuck on "turning WiFi on..." and my smartphone rebooted by itself (again). So... guess what. I DEAR YOU TO GUESS WHAT HAPPENED NEXT!!! MAC address was back to this STUPID 02:00:00:00:00:00. I had enouch. I installed Termux, I installed a packet called "macchanger" and tried to change my MAC address to something random. I used command "macchanger -r wlan0" and I rebooted. This changed my MAC address to something random. Now, WiFi turns on and when I open an application to use WiFi with, it turns off immediatelly... Also, my MAC address is on changing again with command "macchanger -r wlan0" and is stuck in the previous randomized MAC address. Using "macchanger" command, I also noticed that my "permanent" MAC address is now: 00:00:00:00:00:00 (something that was never valid).
WHAT DO I DO?
DO I NEED TO BUY A NEW SMARTPHONE BECAUSE THIS ONE IS PRETTY F***** UP?
DO I NEED TO REPLACE THE ENTIRE MOTHERBOARD?
IS THIS EVEN A HARDWARE ISSUE?
IS THIS A SOFTWARE ISSUE?
DO I NEED TO REPLACE FIRMWARE? IF SO, HOW DO I DO THAT?
DOES THIS HAVE SOMETHING TO DO WITH /PERSIST?
WHAT DO YOU PROPOSE? BECAUSE I AM TIRED OF THIS STORY, REALLY...
Click to expand...
Click to collapse
You said you were rooted.
Any chance you made a backup, especially a backup from the efs partition?
User699 said:
You said you were rooted.
Any chance you made a backup, especially a backup from the efs partition?
Click to expand...
Click to collapse
What is EFS? What backup do I do. Cause, I'm a noob and all, and I am not the type of a developer... But, I guess I am able to do a backup using root. But how will this work? How will this help the situation. Could you explain to me friend? (If you are willing to do so of course)
Retr0.Hacker said:
What is EFS? What backup do I do. Cause, I'm a noob and all, and I am not the type of a developer... But, I guess I am able to do a backup using root. But how will this work? How will this help the situation. Could you explain to me friend? (If you are willing to do so of course)
Click to expand...
Click to collapse
Maybe you want to have a look on this thread: https://forum.xda-developers.com/t/...y-are-and-how-to-get-it-back-if-lost.3307793/
EFS stands for Encrypted File System. […]
It contains your IMEI, lots of files revolving around your SIM card and Wifi/Bluetooth (this includes your MAC address for all the radios of your phone), and lots of other things that should never ever under any circumstance be deleted or touched. […]
If you lose your EFS folder, you lose pretty much any chance of your phone being able to use data, Wifi, Bluetooth […].
Click to expand...
Click to collapse
If you had done a backup (e.g. via twrp) prior to rooting you might have also done a backup of that efs partition.
And if you had a backup you could restore that partition. Don't know if you somehow managed to mess this partition up (or if its related at all in your case. Someone with more knowledge hopefully sees your thread) but if you did, there would be no point in backing up that partition now (if its damaged, there is no use to backup a damaged partiton to restore it afterwards).
You can ask me everything you want, don't worry. But I don't know if I'll be able to explain it.
You could try to follow above mentioned guide. If it works, please upvote that guide so others find that helpfull content too.
User699 said:
Maybe you want to have a look on this thread: https://forum.xda-developers.com/t/...y-are-and-how-to-get-it-back-if-lost.3307793/
If you had done a backup (e.g. via twrp) prior to rooting you might have also done a backup of that efs partition.
And if you had a backup you could restore that partition. Don't know if you somehow managed to mess this partition up (or if its related at all in your case. Someone with more knowledge hopefully sees your thread) but if you did, there would be no point in backing up that partition now (if its damaged, there is no use to backup a damaged partiton to restore it afterwards).
You can ask me everything you want, don't worry. But I don't know if I'll be able to explain it.
You could try to follow above mentioned guide. If it works, please upvote that guide so others find that helpfull content too.
Click to expand...
Click to collapse
I did not mess with any partitions. I do not like to mess with my system. I never did. I always made a backup if I had to do something with the system. Before the incident, I never EVER messed with the system. I only started some experiments after the thing happened. I first deleted the whole content of /persist folder (which I restored, because I had a backup), then I deleted .macaddr file inside /persist/wifi folder which actually turned on my WiFi access again, only to f*** things up after doing something stupid, which is to replace wpa_supplicant.conf file inside the /data/misc/wifi folder with one I had with my previously saved WiFi Access Points and their passwords, which resulted to the corrupted MAC address again (02:00:00:00:00:00). No, my WiFi can be scanned successfuly and I am able to connect to it, but still, it does not work properly, because when it connects, it automatically disconnects when I try to use apps like Chrome and Instagram and other apps that need Internet to use. I am currently deleting and re-installing my Factory Image and this will be the last time...
Also, I will attach your URL for sure.
Thanks.
Retr0.Hacker said:
I did not mess with any partitions. I do not like to mess with my system. I never did. I always made a backup if I had to do something with the system. Before the incident, I never EVER messed with the system. I only started some experiments after the thing happened. I first deleted the whole content of /persist folder (which I restored, because I had a backup), then I deleted .macaddr file inside /persist/wifi folder which actually turned on my WiFi access again, only to f*** things up after doing something stupid, which is to replace wpa_supplicant.conf file inside the /data/misc/wifi folder with one I had with my previously saved WiFi Access Points and their passwords, which resulted to the corrupted MAC address again (02:00:00:00:00:00). No, my WiFi can be scanned successfuly and I am able to connect to it, but still, it does not work properly, because when it connects, it automatically disconnects when I try to use apps like Chrome and Instagram and other apps that need Internet to use. I am currently deleting and re-installing my Factory Image and this will be the last time...
Also, I will attach your URL for sure.
Thanks.
Click to expand...
Click to collapse
Another thing which would be helpful:
If your problem is still present you might want to have a look at the logs. That way it's easier to see what causes this behavior.
Code:
adb logcat > log.txt
Run this and try to reproduce the error.
Don't worry about messing with anything. We don't know what happened and sometimes the best of us do things they shouldn't do.
And it seems that also other things (like installing a custom OS) messed with partitions somehow.
But yes, doing a backup prior to modifing is extremly wise – keep up that habit!
I would suggest to try this solution I found:
Aniki43 said:
My Solution {Nexus 5 stuck on "Turning wifi on"}
MY Nexus5 got the same problem today WiFi just stopped working suddenly. The mac got some stupid address like 2.00.00.00. I tried every thing still nothing. I have already rooted my nexus so tried different roms but issue still remains.
Then i just remembered about the ROM UBUNTU Touch i have installed it and WiFi in Ubuntu start working again with original mac address. I am currently using Ubuntu touch and didn't try to reinstall or reset the android rom again.if some one try this and got WiFi working like me please inform me that if the WiFi still works if i reinstall android system.
If you want to download Ubuntu touch download it ubports
Click to expand...
Click to collapse
It is said that the "fix" stays after Android is reinstalled afterwards.
momojuro said:
I would suggest to try this solution I found:
It is said that the "fix" stays after Android is reinstalled afterwards.
Click to expand...
Click to collapse
I saw this thread before. I did not try to flash other OS than the one I use now. I was also thinking downgrading to Android 5.1.1 (because I am currently using 6.0.1 with MOB30H build) and I might try some time.
BTW there is another problem now. I installed a packet from Termux called "macchanger" and I used the packet in order to - what else - change my MAC address. The packet seems to work. It DID change my MAC address and I am now able to scan for local WiFi. But the thing is that every time my I try to connect ti the Internet, WiFi automatically closes, and the randomized MAC address is permanently stuck ( I think, because I can reset it sometimes, but still, it changes back the the one who got randomized first)
I may get a new smartphone for WiFi, calls and stuff and use my Nexus 5 in order to try and find a fix for it. Idk...

Categories

Resources