If I perform a full factory reset of my ROM, will i lose root and carrier unlock? - General Questions and Answers

I didnt root or unlock it myself.... im pretty sure i wiped all data before flashing the rom i have on there now, but i cant remember for sure....
seems to be the only way to truly fix my extremely messed up WIFI situation... (wifi kills my phone completely... regardless of whose internet as i tried my neighbours and got the same error). i did a restore to last year but it only fixed it for a day... if im gonna restore to a year ago again, i figure i may as well do a full fresh install, since its crapping out still anyway
i have something called superuser (i know is root access), and something called stk which ive read is sim toolkit, in "system/app" they are both apk's. "superuser.apk" and "stk.apk"
also, will my custom recovery be gone? as far as i remember that is how i flashed my ROM last time... but its been so long i cant remember...

Let me try helping since myself new on forums:-
There are two types of phone resets available- 1.Factory wipe from settings of phone/from custom recovery (cwm/twrp) or 2.Complete wipe performed such as in upgrading os version of android (like i did lollipop from jellybean). The complete wipe is done in custom recovery only under mounts and advance option in cwm and then wiping cache,system,data and everything else. If you do so,you will be losing everything installed in your phone EXCEPT Root and Custom recovery.
Back to your question, if you perform factory reset,NO,you don't lose root. If you do complete wipe from recovery,still you don't lose root of your phone UNLESS you fix the root on reboot.
Choose the reset carefully before installing any rom,read their steps,if they ask full wipe or just factory reset and dalvik cache.
Hope it helps.
Sent from my GT-I9300 using XDA Free mobile app

you cannot unroot yourself thru factory reset

Pawprints1986 said:
I didnt root or unlock it myself.... im pretty sure i wiped all data before flashing the rom i have on there now, but i cant remember for sure....
seems to be the only way to truly fix my extremely messed up WIFI situation... (wifi kills my phone completely... regardless of whose internet as i tried my neighbours and got the same error). i did a restore to last year but it only fixed it for a day... if im gonna restore to a year ago again, i figure i may as well do a full fresh install, since its crapping out still anyway
i have something called superuser (i know is root access), and something called stk which ive read is sim toolkit, in "system/app" they are both apk's. "superuser.apk" and "stk.apk"
also, will my custom recovery be gone? as far as i remember that is how i flashed my ROM last time... but its been so long i cant remember...
Click to expand...
Click to collapse
Factory reset WILL:
Remove all apps and their data
Contacts that are not on the SIM card
(In some rare cases) Pictures, music...
Factory reset WILL NOT:
Remove carrier unlock
Remove root (but may remove superuser app)
Remove the recovery
In case that superuser app is gone, just install that same superuser app from Google Play and update it if it asks to do so.

Ok, let me ask this, to ask if its even worth me doing....
last night i did the same restore to a year ago... except this time while i still had wifi i had downloaded both avast and AVG
I can with both now, and my phone says its clean...
but yet the problem is recurring now, and wifi, 4g, tethering..... basically any function that connects me to the world outside completely craps out my phone...
i thought the restore, and especially he restore and downloading antivirus would fix it, or at least be able to tell me WHAT the problem is... avast will scan the wifi network, but of course this test now freezes up just the same cuz it has to turn on wifi to do so.... while it was still working this test did execute just fine with no errors....
its as soon as internet is connected... for 3g or even my router, it will read it without the internet feed plugged in. but plug that in and it all goes to crap again. Id just hate to do a full fresh install just for it to all go to crap *again*....
ive scanned all computers on the router and those come back clean/no viruses... i tried i different router with internet, same error. i tried the neighbours connection.... same thing again.
this is really baffling.
so i feel more comfortable doing a factory reset....... but i guess im wondering is will it help me??? at all????
whatever this is is clearly not an infected device as some on another forum had thought.... something *else* is going wrong....

Pawprints1986 said:
Ok, let me ask this, to ask if its even worth me doing....
last night i did the same restore to a year ago... except this time while i still had wifi i had downloaded both avast and AVG
I can with both now, and my phone says its clean...
but yet the problem is recurring now, and wifi, 4g, tethering..... basically any function that connects me to the world outside completely craps out my phone...
i thought the restore, and especially he restore and downloading antivirus would fix it, or at least be able to tell me WHAT the problem is... avast will scan the wifi network, but of course this test now freezes up just the same cuz it has to turn on wifi to do so.... while it was still working this test did execute just fine with no errors....
its as soon as internet is connected... for 3g or even my router, it will read it without the internet feed plugged in. but plug that in and it all goes to crap again. Id just hate to do a full fresh install just for it to all go to crap *again*....
ive scanned all computers on the router and those come back clean/no viruses... i tried i different router with internet, same error. i tried the neighbours connection.... same thing again.
this is really baffling.
so i feel more comfortable doing a factory reset....... but i guess im wondering is will it help me??? at all????
whatever this is is clearly not an infected device as some on another forum had thought.... something *else* is going wrong....
Click to expand...
Click to collapse
Factory reset fixes all problems that were not made with root. You will not lose root either. For a total fix just wipe everything and reflash rom.

Right now im trying a different router, which doesnt have any windows XP machine plugged into it, and i made it extremely secure. even changed the default username and password to get onto the router itself (never bothered with the other one, the one i had been routinely using)... I did a complete reset of this router before even connecting to it with my phone, after it was secured. the other regular one still has everything else connected to it. this one is literally a separate connection, which i named "phone test" lol.
if it makes no difference, total fresh install is my last resort. if it *does* make a difference however... then something in my other regular router is messed up that cause my phones connections to freeze up - but that avast or AVG wouldnt detect (thats the only weird part)...
i even did a scan of my external SD card the other day, thats clean too.
time will tell, im approaching the 24 hour mark with this new setup. if by tomorrow its freezing up again, its not the router. but if its still working, ill have extreme suspicion that it was in fact, the router, probably something dealing with my XP machine thats plugged into it (well, normally anyway).
Time will tell...
im also trying to remember which apps i had updated before any problems started in case there are any corrupted updates i installed, without knowing it. (legit from play store, but still, ive heard that doesnt always mean totally safe, cuz anyone can make them)

Dude, wipe data, cache, system, reflash rom on your phone. BUM, problem fixed.

I still may, but i wanted to play around with the routers first to see if i could fix the problem.... that way id know i wouldnt be fully wiping for no apparent reason. if in a week or so things have been fine and i try connecting to the old regular router... than ill know its something on there infecting my phone... id rather not have a fresh install crapping out on me.

You can do a nandroid backup and then reflash everything. That way if you screw something up or the problem is not fixed you can restore in minutes.

Related

Error on startup.. Help greatly appreciated.

Hey guys.
I seem to be having an error message popup on my phone about 3/4 of the time once I reboot. (see attached image)
Usually hitting wait works, but sometimes i have to force close it.
I have JFs 1.41
I thought at first it was due to the fact that I removed several stock apps (amazon mp3, calculator & alarm clock)
I also removed my entire stock ringtones folder.
So I put everything back in its place.
However, I still have the same issue!
I also tried debugging with dalvik. Didn't get much...
Anyone know whats goin on?
TIA
EDIT: Also, just wondering if theres a way to reset the phone without losin all my apps. Other than backup, i'm trying to avoid installing all of em again ;0.
I get the same error on startup
Just to add my 2 cents... I have as well removed the Alarm Clock, and Amazon MP3, and the stock ringtones (but left the folders intact & put my own tones in). I am running JF1.41, and have never seen this message.
Did you do a Nandroid backup before you started messing with things? If so, you can simply restore that, otherwise.... You would have to re-install everything in order to do a factory reset.
Have you tried going to Manage Applications - Media Storage - and clearing the data?
I would try doing a full wipe of the phone and see if the problem continues.
Just my 2 cents
daveid said:
Just to add my 2 cents... I have as well removed the Alarm Clock, and Amazon MP3, and the stock ringtones (but left the folders intact & put my own tones in). I am running JF1.41, and have never seen this message.
Did you do a Nandroid backup before you started messing with things? If so, you can simply restore that, otherwise.... You would have to re-install everything in order to do a factory reset.
Have you tried going to Manage Applications - Media Storage - and clearing the data?
Click to expand...
Click to collapse
Yea I've tried clearing the data. Its not fixin it tho. I have several nandroid backups. I would do a wipe but wouldn't that get rid of my apps?
Thanks guys.
restoring a nandroid backup to a time when you didn't have this issue would be the best bet, you would only lose the changes you have made since that backup.
topdnbass said:
EDIT: Also, just wondering if theres a way to reset the phone without losin all my apps. Other than backup, i'm trying to avoid installing all of em again ;0.
Click to expand...
Click to collapse
Well I had my apps and cache on my SDcard and after updating to JF 1.41 i had to do a wipe to get it to work, but after it was up and running I just replaced the mountd.conf and init.rc files and recreated the symolic links again and rebooted and all my programs were back. Just thought I would share cause this way pretty much worked for me to not have to reinstall all my apps... I'm still pretty new to all this so maybe there is a better way.. but this worked for me...
Unusual...
First I did a nandroid restore to the time a little after I got JF's 1.41. Everything was fine at first. I installed all of my apps. Tried to reboot a few times, and bam, I see it again.
In a rage--I wipe my fone from recovery mode. I then use MyBackup to restore all of my settings and apps.
I finish, and then i try a reboot and BAMMM ****in android.process.media is not responding.
Then I tried to reboot 3 more times wthout a problem and then the 4th time gave me the same problem.
Can anyone else whose having the same issue tell me what apps theyve recently installed?
Ive figured it out. But still stuck.
The problem was that i setup a symlink for my market cache to my sd card.
I removed the /data/data/com.android.vending/cache folder and my sd cards linked cache folder.
I then made a new cache directory in com.android.vending however I noticed that it wasnt working properly. It wasnt filling up with cache when i used the market.
I removed the symlink so why wouldn't it, right?
So I chmodded it.
I tried to chown it but i keep getting back unknown user app_5 (the markets ID)
I'm stuck please someone help me out here, and hopefully we can even get the market cache properly directed to my sdcard in the process.
THANKS!
topdnbass said:
Ive figured it out. But still stuck.
The problem was that i setup a symlink for my market cache to my sd card.
I removed the /data/data/com.android.vending/cache folder and my sd cards linked cache folder.
I then made a new cache directory in com.android.vending however I noticed that it wasnt working properly. It wasnt filling up with cache when i used the market.
I removed the symlink so why wouldn't it, right?
So I chmodded it.
I tried to chown it but i keep getting back unknown user app_5 (the markets ID)
I'm stuck please someone help me out here, and hopefully we can even get the market cache properly directed to my sdcard in the process.
THANKS!
Click to expand...
Click to collapse
try using the numeric id with chown instead. i.e. 10005 (not positive if it will work.. just something to try)
AHhh Yay JF ILY! That worked . I feel like a retard now.
The cache appears to be filling up as normal. The error isnt gone yet tho.
The question still remains. What causes that error?
How could i stop it?
The crashing process has the same gid/uid as Android.providers.media
it seems to be an app. I wiped and then I reinstalled 1.41. Then I installed all of my apps using mybackup. I made sure to do nothing else after, and I still got it.
Its either JF's 1.41 or an app.
How can I find out
Process of elimination. Wipe the phone again, instal jf's 1.41 and boot the phone. If you don't have the error, bingo, it's an app. Then, tedious as it may be, install the apps 1 at a time and reboot after install to see if you get the error.
Yeah I have done that.
However, its reallly hard because sometimes itll go 4-5 boots without a hitch, and then suddenly itll happen.
Then at other times it'll happen nearly every time.
I have about 65 apps. That's 4-5 boots, after installing each one.
So that would mean HUNDREDS of boots. At least 200.
I've been thinking that maybe its a problem with the MyBackup app.
What if the fact that mybackup overloads the phone with 20-30 installations at a time is whats causing the issues.
Well i'm off to error and error. I mean trial and error.
I've figured it out!
It's something to do with my wifi connection.
I think its that my dns's are from opendns.
Basically whenever my wifi is active when I turn on my phone i get that error.
If i turn it off and reboot into 3g, i never have a issue.
That's why it was so random before and I couldn't find any patterns!
I'm gonna call my ISP tomorrow, but anyone know what it could be?
I don't think it has anything to do with OpenDNS. I use JF1.41 RC30, MyBackup, and OpenDNS and never have any problems...
Hmm, do you have your router setup for opendns or your phone.
I have issues where i cant get my damn router to give out working IP's, so I
need to setup the phone for a static ip and dns.
I think that if I could get it to automatically get an IP i'd be set.
EDIT: Also, could it have anything to do with the fact that I have wpa personal security (AES)
Im having a similar problem but my error is slightly different
"com.google.process.gapps" anyone know WTF that is
Its the G Talk service.
If you dont use that app you could try removing it and see if that does anything ..
Since this has been bumped, i'd like to add that it still happens whenever I'm on wifi. Really blows
topdnbass said:
Its the G Talk service.
If you dont use that app you could try removing it and see if that does anything ..
Since this has been bumped, i'd like to add that it still happens whenever I'm on wifi. Really blows
Click to expand...
Click to collapse
Care to explain how?? Im a serious noob lol

Galaxy S2 constant errors?

Hi lads..
Im proud owner of Galaxy S 2 for 8month or so. Started to facing some weird problems couple days ago. First was - no WiFi connecting (No MAC Address and cant turn it off). Now Process system is not responding errors with 2 options Force close and Wait. No matter which i choose, phone does quick reboot, like when windows explorer hangs and recovers. Can it be damaged nand storage? Phone where used a lot for data storage (Around 2GB per day where written on device and erased). Still should have warranty, but its tricky, coz have no time to wait 2-4weeks. Phone never been rooted. Any tools to check internal memory health?
Thanks a lot.
If you have never rooted nor installed a custom ROM then the best thing you can do is backup using Titanium/MyBackup, restore factory defaults and start all over again.
If you have gone and changed something then you will need to give some details.
Dan
Done factory reset yesterday - no difference. Now rooted device, kinda works good, but no wifi. When i use code *#*#232338#*#* it doesnt show my Mac address, says File doesnt exists.
Ok well in your first post you mention your NAND and a lot of data transfer. You don't transfer data to the NAND, or you shouldn't be. You'll be using the 16GB internal mSD card for that.
If your MAC address has disappeared this may be a problem with the /efc mount area, which is of course in NAND. This is probably not the case though.
Now you've rooted your flash counter may have increased. I would send this back under warranty after resetting the flash counter with a USB Jig.
Unless, that is, you remember anything else you may have done to the phone like an upgrade, changing the radio/modem, or something else.
Nothing changed.. Yea you are right about Nand and internal flash drive. Will costum firmware fix it? Or should stay on current rom? Sorry my dumbness - im kinda oak in droid things..
It all depends on what the issue is. I've seen someone talking about the EEPROM being broken on similar issues like this, which requires Samsung to look at the phone.
Custom firmware can only use the parameters the hardware or /efc area can give to it in the first instance. If the wifi MAC address is gone then it's gone, simple as that.
Weird - now see MAC Address when enter code, but wifi it self is not turning on for now. It turns on, does quick scan (doesnt show any AP) and then turns off again. So will bring it to warranty service. Thanks anyway

[Q] No data connection on my Nexus S

So one day, my Nexus S randomly decided not to have a data connection with my carrier (Wind Mobile) anymore.
Wifi works, mobile data does not.
Steps I did to try and fix this:
1) make sure APN address is correct, which it is.
2) turn airplane mode on and off
3) toggle carrier connection on and off
4) factory wipe phone and reinstall ROM (slimkat)
5) factory wipe phone and install a different ROM (AOSP)
6) flash new radio (KB3 and KB1)
Other things I tried:
1) tried my SIM card with another phone (Blackberry Curve), data connection seems to work fine on that phone.
2) Called Wind Mobile and asked them to reset their towers to my phone... all they did was remove the Blackberry security thingy
that I had with them when I was still using a Blackberry. Rebooted my Nexus S, tried again... still no data.
So... I'm at my wit's end, and I have no clue how to fix this. Any ideas? I've found a couple similar threads for this problem... non of which had a solution to mine.
I remembered I made a backup nandroid a little while ago... and I restored it.
Voila, everything works again. But as soon as I tried reflashing to my preferred ROM (Slimkat), the problems started up again.
I also forgot to add that before I started encountering problems, my phone froze and I had reset by doing a battery pull because it wouldn't respond to any key presses. I'm guessing it corrupted something, though I'm not sure what. I've diagnosed that this is not a hardware issue, and that it's purely software... I'm not sure why the problem comes back when I reflash to another ROM. I'll keep you guys posted.
One other thing worth noting is that when I have Slimkat installed, it doesn't seem to read off my SIM card properly.
The APN doesn't get named "Wind DATA" like it usually does when I install a different ROM on there; it just gets named "Internet".

Strange wifi crash - reboot

So been running c59 Android 11 for a couple of weeks. All working pretty well when today i noticed my device was not on Wifi..
I went to wifi settings the phone locked up and crashed - rebooted.
Same thing is occuring except now i have a little Sim icon and an X in where the celluar signal is.
I still can recieve calls though no network access at all!
Just tried aeroplane mode and now its stuck and i cannot turn off aeroplane mode..
tried the reset network settings.. no change..
this phone is rubbish.
looks like another factory reset coming up...
just for anyone else who has this issue. you need to Format Data through recovery.. you lose everything. this fixed it for me.
You lose nothing because people are supposed to BACKUP their stuff.
Smartphones haven't been around since only a few weeks ago, it shouldn't come as a surprise that at some point they can fail or like in this case for some reason need a formatting.
Craphead said:
You lose nothing because people are supposed to BACKUP their stuff.
Smartphones haven't been around since only a few weeks ago, it shouldn't come as a surprise that at some point they can fail or like in this case for some reason need a formatting.
Click to expand...
Click to collapse
If you think about it you should be able to format Application Data only and not lose your photos etc..
Even my old Nexus 4 from 9 years ago can do that..
actually every phone i have ever had could do that other than this one.
Why would the existence of personal photos cause a phone not too boot? So why would the manufacturer make you format them to reset the phone?
Just a poorly designed device really..
And for the record i did backup and do backup. Though i wanted to inform others who may have to perform this fix that they will lose data.

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