[Q] after chroot ubuntu install, wifi doesnt work - Eee Pad Transformer Q&A, Help & Troubleshooting

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

Related

[Q] cyanogenmod 6.1 RC1 dropbear problem

I'm an android newbie, so I might be missing the obvious but I looked around and couldn't find anything.
I just installed Cyanogen 6.1 RC1, installed fine, and now I want to install dropbear on it.
I found a thread that said how to do it, and I had it all setup, made my keys and everything, but when I went to run it I got
TRACE (79): bind(22) failed
so I did ifconfig (as root) and got nothing.
Okay, I can see why I can't bind to port 22 when there are no interfaces to bind to.
This ifconfig came from busybox which seems to come with cyanogen so I assume it works...
I'm connected via wifi, that all works, but no interface.
Any suggestions where to start looking?
Just in case anybody's taking tallys the camera also yields a blank screen that hangs forever, but that doesn't bother me so much yet, I'm really interested in being able to ssh to the phone.
Thanks for any help anybody can provide.
Like, what's ifconfig supposed to display?
so I'm slowly learning
I rebooted my phone, tried to run dropbear again and got the same error unable to bind, but this time it said "address already in use"
Hunh.
So I tried to ssh to it, and voila game on.
So that worked itself, out.
Now that I have a real keyboard to type on I start poking around, and realize that busybox can't do everything it might on a rather fuller linux machine, so ifconfig is just not going to work. Fair enough.
While I realize everything has to be flashed into rom, it's a shame /etc is in rom where one could tidy things up to their liking a bit more.
But a great system it is.

[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.

[TIPS & TRICKS] Common ICS problems

Common ICS Problems
If you plug in USB while your tablet is asleep you will have a SOD​
Installation Problems
Install tips from tlb1961 here and lyricalpapa in post #3
Try not to use any backup's as they cause many problems.
Make sure your using CWM 5.5.0.4 Beta 15 (comes with the nvflash in TeamDRH ICS thread)
On your first boot let it sit for 30-60min (the longer, the better) and then reset.
If all else fails try this
Th3DmaN's G-Tablet Tools for anyone who is having trouble connecting and flashing their G-Table
Speed Problems
Different launchers such as Apex or Nova or any compatible launcher may or may not increase smoothness. There is no problem with installing them on top of the stock launcher as only one launcher runs at a time.
Battery and Power Problems
Your tablet went to sleep and wont wake up, try pushing the power button a couple of times and wait 5 seconds inbetween presses.
Your tablet has completely frozen, try pushing the power button for 30+ seconds. If that doesn't do it, you can leave your tablet alone for a couple hours and try again (may or may not work) or you can wait till the battery dies or if your impatient you can open the tablet up and press the internal reset, it looks like this. Here are some helpful pictures and a video for opening it up. If you have no reset button you will need to disconnect the battery, here's what it looks like. If you do get a SOD do this to help the developers.
Connection & Browser Problems
WiFi not working, try to "forget" the WiFi and re-enter your password. Also can try resetting your router or changing the security. Some say ICS does not like high channels.
If your having market errors, try force closing and clearing the cache in settings\apps\all. If that doesn't work then find every market reference and force close then clear the cache and reset.
Your computer doesn't recognize your tablet, you will need MTP drivers read the ICS rom page again. For Windows XP you need to disable debugging. For linux try Th3DmaN's guide.
Adhoc does not work with this build.
Stock browser seems to lock up after a bit. Possible fix is to disable java. Thanks plastikman
Screen and Sound Problems
1080p on H/W? Use Handbrake and import this profile. Here's the high profile settings for 720p, for those wanting the best quality.
Videoplayers such as MxVideo player, can play H/W video but the sound will need to be changed to S/W.
Icons and text too small? Try using this guide. CAUTION Changing the DPI really messes with the Market.
DSP Manager has been causing slowness/audio problems. Try stopping it to see if that's the problem. You can delete it safely if causing problems.
Game and Apps Problems
Alot of games and apps are not updated for ICS yet so they won't work correctly.
Hulu flash hack here. It should work. Anyone with Hulu can you post your results.MAY NOT WORK ANYMORE
Bypassing Exchange Security Policy try this
Connecting the ICS Mail app to Microsoft's Cloud hosted Exchange services check here
Gamepad support - follow jazzruby's guide here
Miscellaneous Problems
Errors popping up constantly, you need to reinstall again and make sure this time you erase everything.
Nandroid backups, you need to follow this guide
Important Notes
The SOD (sleep of death) we talk about is when the device goes into a sleep mode and there is absolutely no other way out but by pressing the internal reset. This is also called a kernel panic.
We are always talking about roms on Bootloader 1.2 unless specified.
When installing or removing things from the system, it is always a good idea to reset and clean the cache, clean the dalvik cache and fix permissions.
USB problems sometimes are caused by your own computer, you may have to restart/change USB port/change USB cables/check your USB drivers
Windows 7 is the implied OS most are working on, if you have different then ask.
IF I'M MISSING SOMETHING PLEASE LET ME KNOW
Stuff that WILL cause a SOD (sleep of death) causing you to push the internal reset
DON'T DO THESE
If you plug in USB while your tablet is asleep you will have a SOD
If you do get a SOD please do this so the developers can help.
Use the reset button
Don't power the tablet off at all, just use the internal reset button
Don't touch the tab or do anything but logging into adb.
If for some reason you can't open adb, you can use terminal on the rom
At the prompt type:
Code:
su
Hit enter and then
Code:
cat /proc/last_kmsg
If this doesn't work, the easier way is to access it is with a root explorer by going to /proc and then copy last_kmsg to /sdcard (rename to last_kmsg.txt or zip it up in a file).
Copy and paste the results to a paste bin and post the link. If you don't know pastebin then just post the last 10 lines or so.
tlb1961 install guide
Howdy all,
Glad to hear most are having good luck with this newer revision. To those seeing odd issues after install, I would suggest start over from scratch and clean out the gTab prior to reinstall including repartition the internal SDCard. Run the ROM for a bit before installing anything else. If you have a lot of media files on an microSD card then let it sit for a little while. Once the ROM is running smoothly you should then apply the latest the3dman GApps package.
I know it's tempting to try and hang onto old configs and settings, but it will give you a better experience in the long run if all old data is cleared.
Click to expand...
Click to collapse
lyricalpapa installation essentials
Here's some things I do that work for me:
1. Give my tablet time to boot - let G-Mail, Google Maps, and the other apps load in, talk to the mail server, etc. I watch the activity in the "broadcast" symbol and wait for the browser widget to display its bookmarked pages.
2. Follow the dev's install instructions and @serialplague's FAQ - goes without saying.
3. Have Patience - I give the cache driver's balancing and optimising routines time to do their work after I load a ROM, plus any time I add/remove apps or any time I make changes to the settings. Remember this is a Beta Test ROM and not a snapshot image of a fully tested, optimised, and balanced ROM that you would get if you were to buy a new ASUS Transformer or whatever.
4. Use the apps the Dev's gave us with the Beta ROM - I use the Elixir app regularly to check if the CPU and I/O activity levels have dropped down to near 0% for both. I check them after installing my ROM's, etc. (I also now use the Diagnosis app thanks to @oldtimer)
5. Remember the G tablet only has 512M DDR-2 RAM on board and was built to run with a 2.2 Froyo ROM, a cadged 2.6.32 kernel, and slow generic drivers. Google's minimum published specification for a system running Honeycomb or newer is a Nvidia Tegra-2 processor and 1G of RAM. So the challenge is to modify and tune the 2.6.39 kernel drivers and the ICS ROM to live within the available 512M RAM.
6. edit-no longer needed
7. Killing unnecessary apps sometimes frees up enough memory to stop the CPU and I/O churning. But I have to be careful which apps I kill using an app like Advanced Task Accelerator - it can shut down necessary services - although Android will usually restart them automatically (and kick up the CPU and I/O activity while doing so)
8. Remember that Google Apps come with a high overhead price - the standard Viewsonic set-up for the G tablet does not include GAPPs, and it runs very fast. The same for many other tablets that don't have a Tegra-2 and 1G of RAM. Game players might want to experiment with not loading GAPPs. In the past I've done this by downloading all the apps that I was interested in from GAPPs, then copying them all out to my PC using the "adb pull" command ("adb remount" to get in as root). Then I wipe and reload the ROM without GAPPs, and use "adb push" to put the apps in the right directories. Then on my G tablet, I find the apps using Root Explorer and "click" on them to install them.
Lyricalpapa
Click to expand...
Click to collapse
How do I stop my tablet from downloading every app I have ever owned or used from the market when I log into my android account.
I suspect I am doing something wrong because the tablet is very laggy with ICS.
When you first install it will ask you if you want to use your backups, just uncheck that. Or you can let it sit for awhile, 30min to an hour, it sucks but once everything calms down its much better.
Android Keyboard
Good men of this forum,
It seems that with the new ICS rom, I am having issues with my android keyboard. If my tablet is vertical, I have the dialpad-looking keyboard with what seems to be Japanese characters on a few buttons. When my tablet is in the horizontal orientation, the keyboard disappears completely. I have searched the popular forums here and with Google. I'm terribly sorry if I have missed a tip somewhere.
I used the flashing procedure on the TeamDRH website to the letter, and I am no stranger to flashing custom ROMs to android devices. The keyboard continues to work beautifully under Froyo and Gingerbread ROMs, as well as the earliest beta of ICS. I only seem to have an issue with this version of ICS.
I'm also getting frequent Google Apps errors about the services stopping. After signing in with my account, Market crashed and disappeared from my apps menu altogether.
It seems that I have a fairly unique problem. I'm a linux sysadmin and I'm very handy with the command line if you need dmesg or kernel output.
Thank you in advance.
I've heard a couple of people are having problems with the GApps, have you tried installing with the lite 7b GApps?
No Luck
Thanks for the reply!
I have tried both the full and lite versions of 7A and 7B for this ROM with no luck. When I perform a first-time boot of the tablet after a ROM and Gapps, the very first message I encounter is "Unfortunately, the process com.google.process.gapps has stopped" for any version of Gapps, and it continues to pop up every several seconds that the tablet is in use.
I have also tried installing the ROM without Gapps at all and the keyboard is still nowhere to be found. Odd that the keyboard works in the first beta (1E), but this ICS (2B) is much faster than the old one
If anyone has a link to download the ICS Preview 2A instead of 2B I would be interested in trying it out, the links on TeamDRH's website all point to 2B now.
Other useful info: I know for certain that I am running the 1.2 bootloader and I'm using the newest Clockworkmod v5.5.0.4 Beta 15. I like to re-format before every flash to ensure a clean start.
Thats very odd it sounds like the download may have been corrupted. I've seen it happen a couple of people.
I still have 2A and some previous ones, kinda a catalog lol, just PM if you want to go that way.
I'm a newb
Thank you very much for the help you've provided me.
I tried downloading 2B a few more times with the same issue :/ so strange. Unfortunately for me, I am below the 10 post minimum to allow PMs. It's kind of ironic actually, I've been a member for years and always found my answers without having to ask because xda is wonderful about providing info
Thanks again.
Sent ya an email
simplyphp has a great writeup on an installation method you could try his way
SUCCESS!
Using the simplyphp method you referred me to, not only does the 2A ROM work, but the newest ROM and Gapps as well! I must admit that I'm a little embarrassed that I can't actually identify the original problem, but I believe it has something to do with my installation of Clockworkmod. I got it from a forum here that is trustworthy, but it didn't seem to work exactly as I needed it until I installed it with nvflash. I also had a strange problem with the first flash (out of the two that I am supposed to do) in that it wouldn't boot all the way into the TnT factory OS and was in an endless reboot. I simply turned it off, booted into APX mode once again, and continued with the listed steps and it worked flawlessly. I would thank simplyphp but I can't post on development threads yet!
So thank you and have a "Thanks!", I hope I've contributed to your wealth of knowledge on troubleshooting.

unable to change WiFi MAC address on Optimized LineageOS16.0

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."

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