first, i did search, second, i need personalised help due to the specific nature of the failure.
that out of the way
-{edit}-
android transformer tf101 b70 (i think the dock is b70) must be sbkv1 due to certain things working, but i peeled stickers off
prime vanilla 2.1
latest roach kernel for prime
-{/edit}-
i installed chroot ubuntu over prime, worked fine, got in with vnc was happy, closed ubuntu, wifi disconnected in android, wont connect, sticks on obtaining ip address
with more than one wifi network, so its not just one networks dhcp being borked, its all of them
it authenticates, and then sticks changing security type, does not help, changing to open does not help,
i tried setting reserved ip in router, no effect, router allocates ip to device, device is seen in router, device does not acknowledge ip allocation.
i have tried android terminal to check if ubuntu is the problem, it force closes on boot, have updated with sideloaded apk, still force closes, root explorer also crashes, blank screen and force closes
es file explorer, cannot find contents of /data/ reports it as empty so cannot delete dhcp cache.
have done settings > privacy > factory
no effect
have done CWM wipe cache and data
no effect.
will try re-flashing prime via adb after work (10:30pm GMT today) unless someone else has other suggestions, also will try going into ubuntu via ssh, as wifi was working within ubuntu, i think i may have exited ubuntu wrong once (was having difficulty with lxde and tightvnc) so will check that but beyond that im stuck.
ok i see no one else had any ideas, no matter, anywho, i formatted /system /data /cache /staging and then reinstalled prime from the recovery console,
works, so, if you do this, problem fixorred.
will probably reinstall ubuntu again and see if it causes this problem, if so i can fix but also can contact dev to get a fix for chroot
I have changed router wireless password but i forgot it, now i cannot access wifi to configure it, is it possible to find the password that i typed when i configured it somewhere in my phone? I am using default samsung keyboard with default browser bundled in archidroid 1.7.1.8
Thanks in advence.
Hi there,
You can find all password stored in your device only if you have root acces.
Go to root/data/misc/wifi/ wpa_supplicant.conf and find there.
[TUT] How to Retrieve WiFi Passwords from Android (ROOT)
Good luck
umm, i forgot the wireless pass that i put when i configured the router, i configured it via my smartphone browser so i hoped i could view the password that i typed, it's not a browser saved pass so i can't see it in webview.db
In that case your only chance is to contact your internet provider and ask there for password.
Sorry
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!
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."
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...