Help needed restoring wpa_supplicant.conf - T-Mobile Samsung Galaxy Note 3

Hi, I just flashed lineageos onto my SM-N900T and tried to copy my original wpa_supplicant.conf file so I wouldn't lose all my wifi sites and passwords. I changed the header contents of the file to match the new device and did the usual permissions and chown to wifi-wifi. But everytime I turn on/off wifi or reboot, the wpa_supplicant.conf file is replaced by a "vanilla" file (basically empty).
I scoured the net and looked through XDA, and I found others who reported the same problem (not just with lineage), but no one had an answer.
Does anyone know how to make the wpa_supplicant.conf file stick?
Thanks.

Still looking for help ? wpa_supplicant.com
You may already have this one resolved, but if not, can you reply with the directories you're copying supplicant FROM/TO?
You're probably already aware that /data/misc/wifi auto-populates with 'vanilla' p2p, supp, WC, and a couple of others if the system thinks they're missing, corrupt, etc. -- So I'd first look for a reason the system thinks it should be overwriting your copy.
kcfong2 said:
Hi, I just flashed lineageos onto my SM-N900T and tried to copy my original wpa_supplicant.conf file so I wouldn't lose all my wifi sites and passwords. I changed the header contents of the file to match the new device and did the usual permissions and chown to wifi-wifi. But everytime I turn on/off wifi or reboot, the wpa_supplicant.conf file is replaced by a "vanilla" file (basically empty).
I scoured the net and looked through XDA, and I found others who reported the same problem (not just with lineage), but no one had an answer.
Does anyone know how to make the wpa_supplicant.conf file stick?
Thanks.
Click to expand...
Click to collapse

Related

HTC TP2 ROM manipulation

Yesterday, I tried copying the HTCSendorSDK.dll through ActiveSync. I got Access Denied and though that the dll must be in use. Then I used File Browser on the phone to copy the file to another folder. It said that it can't copy a file included in the ROM. I haven't made any other changes and since then Opera and Weather don't connect. Internet Explorer is able to browse the web, vxUtils says I have two valid IPs and I'm able to use HTTP GET and Ip lookups.
Any ideas if me attempting to copy the ROM included file screwed something up?
Any other ideas for troubleshooting?
Thanks
Chris
use something like total commander to copy the file.
you should be able to find a .cab to install total commander, which will allow you to copy or move the file.
fixitchris said:
Yesterday, I tried copying the HTCSendorSDK.dll through ActiveSync. I got Access Denied and though that the dll must be in use. Then I used File Browser on the phone to copy the file to another folder. It said that it can't copy a file included in the ROM. I haven't made any other changes and since then Opera and Weather don't connect. Internet Explorer is able to browse the web, vxUtils says I have two valid IPs and I'm able to use HTTP GET and Ip lookups.
Any ideas if me attempting to copy the ROM included file screwed something up?
Any other ideas for troubleshooting?
Thanks
Chris
Click to expand...
Click to collapse
You can always delete replaced files that were in rom. This will make the system revert to the original file that was overwritten. This always works without issue unless the overwritten file was something that gets changed or updated like certain .ini files, etc...
for overwritting system files, I recommend Resco file explorer. It is hands down the best file/registry explorer/editor. Google beta 2 for a free trial.

wpa_supplicant.conf

Hey, i accidentally deleted the wpa_supplicant.conf on system/etc/wifi, can anyone give me their stock version of the file?
By the way, is this file important in any way?
Thanks a lot
Not, really. It's a file with the description of the configuration file and all the available options for the true wpa_supplicant.conf file that is stored in another directory. Not needed unless you need to work with that file.

Hosts file

I have recently acquired a custom hosts file that I would like to use in place of the built-in one. Of course, the hosts file on the phone is read-only I believe, so it can't just be replaced. I can access it with ES File Explorer, and change the attributes, but no matter what I try, it will not save. I have used the adb "push" command from my computer but I still get an error trying to replace the file. I have tried using ES File Explorer as a remote ftp server also. No luck so far. Short of manually typing the information from the custom hosts file, or copying and pasting chunks at a time, I am at a loss. I don't understand why this can't be done since I have changed the attributes of the file. Please forgive my ignorance if there is an obvious solution for this that I am overlooking. Any help would be appreciated.

Marshmallow not reading /system/etc/hosts?

This is a weird one. I can't seem to get my T-Mobile One M8 running Marshmallow to use the entries in the hosts file.
First I rooted my phone and installed Adaway. Went through and made the sym link from /system/etc/hosts to /data/data/hosts, Adaway succeeded - but no ads were blocked. I opened both the raw file and the symlink in Root Explorer, and they looked fine, but pinging any of the entries went to the real server instead of 127.0.0.1.
So I tried more basic and put the stock /system/etc/hosts file back in place, then copied over StevenBlack's host file over it. Same result. It's like Marshmallow doesn't even give a crap that there's a hosts file there and refuses to load anything from it. I even verified it was saved in UNIX format via Notepad++.
For all the steps, I only made changes in TWRP after mounting the system rw, and the changes in the hosts files stayed after a reboot.
Any ideas? I'm really stumped.
Did you ever figure this out? I have the same issue...
Hi!
I've had the same problem on my M8s. Checked multiple times the permissions, file formatting and nothing worked. Then I've added a line
Code:
net.tethering.noprovisioning=true
to the /system/build.prop file and now hosts file is working as it should
Since I can't post links in my posts due to xda policy PM me if you need link to a full guide how to do this.
Spend long time to figure out why ad blocking doesn't work on mine HTC one. Thanks !

need platform.xml

Can someone dump me platform.xml files, I made some changes to try and fix what I thought was a sdcard r/w permission error and tons of things are erroring out on my phone.
My phone is USA HTC10 / Unlocked
Need these two files, thanks!
/system/etc/platform.xml
/system/etc/permissions/platform.xml​
cauqazn said:
Can someone dump me platform.xml files, I made some changes to try and fix what I thought was a sdcard r/w permission error and tons of things are erroring out on my phone.
My phone is USA HTC10 / Unlocked
Need these two files, thanks!
/system/etc/platform.xml
/system/etc/permissions/platform.xml​
Click to expand...
Click to collapse
There is no platform.xml under etc, only etc/permissions
thank you. must have pasted it in the wrong place. im not sure what happened, filesystem created a platform.xml.backup file after I put my own.
after i figured out it wasn't anything to do with the file (the app i was using wasn't updated properly for 6.0+ yet), I simply deleted my platform, removed 'backup' from the file name and rebooted and phone went all crazy.

Categories

Resources