[HELP] Can't enable WiFi - wpa_supplicant - Samsung Galaxy W I8150

Hey,
I change my phone /system/bin/wpa_supplicant for enable ad-hoc connection. It is running CM10. I changed it with ADB connection, disable wifi and after that I couldn't enable wifi again. After that, I push my phone's original wpa_supplicant file and reboot. But I still can't enable wireless.
What is problem although I pushed original file?

kaanklky said:
Hey,
I change my phone /system/bin/wpa_supplicant for enable ad-hoc connection. It is running CM10. I changed it with ADB connection, disable wifi and after that I couldn't enable wifi again. After that, I push my phone's original wpa_supplicant file and reboot. But I still can't enable wireless.
What is problem although I pushed original file?
Click to expand...
Click to collapse
Have you set correct permissions? 6-4-4- // uid = root
If this won't help just dirty flash rom again. Your personal data will be kept.

LS.xD said:
Have you set correct permissions? 6-4-4- // uid = root
If this won't help just dirty flash rom again. Your personal data will be kept.
Click to expand...
Click to collapse
I tried everything but I could'nt fix it. So, I reflash my rom.
Thank you.

good idea reflash rom will repaired everything:laugh:

Related

[19-nov-2011] Active Auto APN For all Build

Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
*** if mms not worked , please delete your apn and set manually its woked 100% ***
Very well, thank you for sharing
I just PM'd Dungphp about that cause i was having problems with certain sense builds allowing me to select the correct apn but no E/H in the notification area/status bar. Thanks.
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem...
Click to expand...
Click to collapse
bwuahahahahhhhaaaaa!
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem with data connection on installed build, hope this
Click to expand...
Click to collapse
dohclude said:
bwuahahahahhhhaaaaa!
Click to expand...
Click to collapse
Come on We all know he meant "guys" lol...
anyways awesome work OP keep up the work. XD
essi_baba said:
many gays have problem
Click to expand...
Click to collapse
hmmmm
edit comment
im sorry for type wrong word .
first post edited.
essi_baba said:
Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-enjoy
Click to expand...
Click to collapse
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
install
oroo708 said:
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
Click to expand...
Click to collapse
If you only do :
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > wireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
essi_baba said:
If you only do :
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
Click to expand...
Click to collapse
done it but still nothing..
is it my rom or what??i'm using NDT ginger..
Works for me. Thankx.
One more thing. If you actually have root explorer, there is no need to use adb commands. Just replace the apns-conf.xml file in /system/etc/ and reset permissions as rw-r-r and reboot device.
Once rebooted, go to APN and press menu, then press Reset APN to default. Worked for me.
Hi !
Worked for me on Samsung Galaxy S GT-I9000 ICS ( TiramiSlim ROM ).
But Failed on Samsung Galaxy SII GT-I9100 MIUI ICS CM9 ( cMIUI ROM ).
Nowadays, thanks for this hudge list !!! )

[Doesn't work] Fix WiFi disconnecting problem running a stock ROM.

When I'm using my phone with it's stock ROM installed and I don't set manually the IP parameters, my device has a WiFi disconnect issues. After a lot of searching, I finally found a solution to fix the problem !
Steps :
Before, make a copy or a backup of the file wpa_supplicant.conf which is present in /system/etc/wifi/ (using a file manager with root permissions, such as Root Explorer)
Open it and search for ctrl_interface, its value used to be : ctrl_interface=/data/system/wpa_supplicant
Replace it with eth0 and it will look like : ctrl_interface=eth0
Delete ctrl_interface_group line and its value
Save the file and change the permissions to 777
Reboot your phone (and wipe dalvik-cache if there's a glitch)
I can't guarantee anything but at least for me it worked and I wanted to share it with the community.
Doesn't work.​
I can't save edited file :/
Dant3s said:
I can't save edited file :/
Click to expand...
Click to collapse
I'm sorry to say that after a lot of testing, I found that my tip doesn't really work. :/
But I can help you about your issue ! Are you root ? Have you busybox installed ?
BlackGunZ said:
I'm sorry to say that after a lot of testing, I found that my tip doesn't really work. :/
But I can help you about your issue ! Are you root ? Have you busybox installed ?
Click to expand...
Click to collapse
Yes, I have root and busybox, I'm using Hyperion 9 rom now but still having wifi issue
Dant3s said:
Yes, I have root and busybox, I'm using Hyperion 9 rom now but still having wifi issue
Click to expand...
Click to collapse
As I said before, unfortunately it dosen't work. :/
If you suffer too from random disconnects (every 5 mins for example), you can set manually the settings in your Wi-FI parameters. (DNS, submask address ect ..)

Simple question im sure.

Sorry for the newb question but, I'm not able to get venom rom tweaks to hold the ability to keep system as r/w. I'm trying to make changes to build.prop and default.prop but they keep reverting on boot. I imagine I need to flash one of the boot images as mentioned in the first couple posts but am not sure which one would work with Rogers/Tbaytel GSM. It's odd tho cause selinux does hold permissive when set thru venom tweaks. Kernel changes thru an editor won't stick either.
Running
Viper 6.0
Elemental X 5 kernel
Rooted and S-off
Managed to get kernel to save settings now by disabling remaining write protection using su adb shell command. Haven't tested the .prop edits yet but I will shortly. Also wondering what does ro.rilvmail settings effect as viper build seems to be based of European area.
Update: Prop settings still revert on reboot. Going to try to adb push and pull a configured prop file.
How are you changing the file? It could be an app issue. I have had issues with certain file explorers not saving files properly or at all. I have best luck with es file explorer.
Make sure the file permissions are correctly set before you reboot.
Beamed in by telepathy.
shivadow said:
How are you changing the file? It could be an app issue. I have had issues with certain file explorers not saving files properly or at all. I have best luck with es file explorer.
Make sure the file permissions are correctly set before you reboot.
Beamed in by telepathy.
Click to expand...
Click to collapse
All good man I was able to use adb with root permission to remount and push altered build.prop file just not able to do default.prop but no biggie it was only to change the default USB connection. My only question relates to the ro.rilvmail settings now and what they would be for Canadian Rogers/tbaytel. Phone is almost perfect just have to use qpst and such to enable all network bands in my area and I will finally have my ultimate M9. There are not enough words to describe how amazing this phone is with all these tweaks and mods thank you so much to xda for making this all possible and the community of devs for your invaluable work.
Bump anyone have any info??

[Root] [Sprint Galaxy S6] [Nougat] Enable Hotspot by manually editing APN database

I found through some searching the location of the telephony.db file in Android N and I was successfully able to edit it to enable the native hotspot.
Here's a poorly written guide:
1. Using a root browser or ADB shell, copy /data/user_de/0/com.android.providers.telephony/databases/telephony.db to the root of the internal storage (/storage/emulated/0)
Code:
adb shell su
cp /data/user_de/0/com.android.providers.telephony/databases/telephony.db /storage/emulated/0/
exit
If you have the premium version of jrummy's root browser, it has a built in database editor and you may use it. Edit: You can't edit the file in place, you must copy it to /storage/emulated/0 to edit, then copy it back.
2. Copy the telephony.db file to your computer
Code:
adb pull /storage/emulated/0/telephony.db
3. Using a SQLite editor on your computer, open the telephony.db file, and open the "carriers" table.
4. Find "APN2 LTE internet" and in the type column add "dun" to the end, so it should read "default,mms,dun"
5. Do the same with "APN2 EHRPD internet"
6. Write the changes to the database.
7. Put the file back on the phone's storage
Code:
adb push telephony.db /storage/emulated/0/
8. Rename the telephony.db in "/data/user_de/0/com.android.providers.telephony/databases/" to telephony.db.bak
Code:
adb shell su
mv /data/user_de/0/com.android.provicers.telephony/databases telephony.db.bak
9. Copy the telephony.db from the storage to "/data/user_de/0/com.android.providers.telephony/databases/"
Code:
(adb shell su if you exited the shell previously)
mv /storage/emulated/0/telephony.db /data/user_de/0/com.android.providers.telephony/databases/telephony.db
exit
10. Reboot. Tethering should now work.
I'm not sure if this adds the hotspot icon to the quick settings or if the icon is left over from a failed attempt to get the hotspot working. (Edit: button seems to always be there)
Note: Updating your profile may reset the APN settings. If so, you should be able to follow this guide again.
Edit: At some point my profile updated or something and disabled the hotspot. I did this procedure again and it worked.
tdhite's SkyHigh kernel does this automatically but it breaks private mode and I kind of wanted that.
Credit where it's due: This thread is where I found the location of telephony.db
Thanks! I'm quite happy with tdhite's skyhigh kernel atm which has hotspot built in, but its great to know that if for some reason I cant use skyhigh in the future, there are still alternatives for getting hotspot!
remove root
I am not able to get this to work. Hangs at Samsung portion of the boot.
trendkilla254 said:
I am not able to get this to work. Hangs at Samsung portion of the boot.
Click to expand...
Click to collapse
I'm sorry to hear that. I'm not a developer or anything so I couldn't tell you exactly what went wrong. Are you using the stock ROM?
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
baknblack said:
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
For anyone interested. This actually works for me.
Sent from my SM-G925P using Tapatalk
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Tried all the ways of activation Hotspot on Nougat (QC7), fixes, changing CSC etc.... But all without success
Can anyone confirm this works with QJ1 stock that has been rooted?
baknblack said:
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
I don't think sharing your own APN database is a good idea.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Make sure you're looking in the "carriers" table. For me they are the last two. They might not say APN2, but they should have "EHRPD internet" and "LTE internet" in the name and under type by default should say "default,mms"
Thank you so much for posting this, Man!! I had been searching all over the web for answers!! Hotspot working perfectly now.
I just used root explorer, and sqlite editor, and followed your steps. Thanks again =)

Android 10 Rooted Can't Edit build.prop

So, grabbed the latest OTA, and went through the usual re-root cycle, but was unable to edit the build.prop. While /root is mountable, /root/system is not, which means no tethering for me.
Anyone else running into the same issue?
I have the same issue, I've been fighting with it all day.
I patched the boot.img with Magisk Manager and flashed it, Magisk Manager show's I'm installed and Root Checker says I'm rooted, I was even able to install Adaway. But i cannot use any root app that needs to mount /System
I tried using Root Uninstaller and it says it has root access but cannot mount /system as R/W
It seems Magisk is only able to partially root on Android 10
I tried this with the Canary version and the standard version of Magisk and the same issue both times
Same issue on regular pixel:
sailfish:/ # mount -o remount,rw /system
'/dev/block/sda33' is read-only
lame
bbarnes1 said:
Same issue on regular pixel:
sailfish:/ # mount -o remount,rw /system
'/dev/block/sda33' is read-only
lame
Click to expand...
Click to collapse
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....works like a charm (at least it did on Android 9 - assume it would work on 10....it sounded like it worked on the betas)....
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
This has been a problem since the Q beta came out, with each update I tried to figure something out. With no luck! I tried the Magisk Mod but it didn't seem to work.
suggestions would be most appreciated!!
Thinkin about a clean install....maybe.....
Edit: It was also a problem with the P beta until it was out of beta (That was my hope for this)
sb1893 said:
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....
Click to expand...
Click to collapse
I'm trying to add a prop, which seems like a different need, but will look into it.
tufyuma said:
Thinkin about a clean install....maybe.....
Click to expand...
Click to collapse
Was thinking about this, but realized a clean install for every update isn't worth a hotspot to me.
sb1893 said:
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....works like a charm (at least it did on Android 9 - assume it would work on 10....it sounded like it worked on the betas)....
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
Click to expand...
Click to collapse
I gave this a whirl, its doesn't appear to actually be change build.prop
bbarnes1 said:
I gave this a whirl, its doesn't appear to actually be change build.prop
Click to expand...
Click to collapse
It doesn't physically change anything in system. The intent is to offer the same functionality as physically editing the build.prop without modifying that file. It creates the prop and value setting and loads into into memory at boot time.....(similar to the way the build.prop file is read at boot time for those settings.) At least that is my understanding. It works for me on Android 9 for setting the prop for tethering...for example. You can confirm it works by using the getprop command to verify the prop you set is set as you intended.
Welp, still can't mount /system or edit the file directly, but PropsConfig seems to be good enough for my needs.
somethingsomethingroot said:
Welp, still can't mount /system or edit the file directly, but PropsConfig seems to be good enough for my needs.
Click to expand...
Click to collapse
Can you tell me what the process is that got you tethering capability?
Having the same issue on my P2XL which was upgraded via flash of full image minus -w. Using latest canary build of Magisk. I couldn't mount system or anything under it.
I then downgraded Magisk to v19.3 and had no issues mounting system using FX File Explorer, etc. and still had root. But I couldn't mount anything under system so I still can't edit build.prop.
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
IlyaKol said:
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
Click to expand...
Click to collapse
Thanks for posting this, it worked great on my Pixel XL on Sprint. I had about given up on being able to edit the build.prop.
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Your prop
DebianDog said:
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Click to expand...
Click to collapse
Are you sure that your screenshot of the props output is correct? Because it looks like you have the value set to "net.tethering.noprovisioning" and the prop name has =true in it. I'm just trying to figure this out because I've tried this and everything else trying to get my hotspot to work. My hotspot will turn on and devices can connect to it, but they don't have internet access. Any ideas at all?
Edit: Nevermind, I had the custom prop set to post fs data when it was supposed to be set at boot stage (default). My hotspot is working now. Thank you all.
DebianDog said:
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Click to expand...
Click to collapse
Confirming that this works on rooted pixel 4. Thank you for this btw
IlyaKol said:
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
Click to expand...
Click to collapse
This seems to have worked for me, though I don't really understand why or what did it.
For any dummies like me that happen to fall on this post after their build.prop seems to fail to save. The link above to: https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59 worked for me.
download
https://forum.xda-developers.com/attachment.php?attachmentid=4392434&d=1516234353
to the device > run TWRP
I have to run twrp from cmd line since my Pixel XL refuses to install it using command::
.... fastboot boot twrp.img
and installing the zip file above > rebooting
back to cmd line
> adb shell
> settings put global tether_dun_required 0
> reboot
swipe notifications bar and turn on hotspot and wamo she's kicking.
Thanks guys
I haven't been beating my head too hard this time around. Many thanks to the brains that are keeping the rest of us dummies excited to keep tinkering about with our androids!
wolvmarine said:
For any dummies like me that happen to fall on this post after their build.prop seems to fail to save. The link above to: https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59 worked for me.
download
https://forum.xda-developers.com/attachment.php?attachmentid=4392434&d=1516234353
to the device > run TWRP
I have to run twrp from cmd line since my Pixel XL refuses to install it using command::
.... fastboot boot twrp.img
and installing the zip file above > rebooting
back to cmd line
> adb shell
> settings put global tether_dun_required 0
> reboot
swipe notifications bar and turn on hotspot and wamo she's kicking.
Thanks guys
I haven't been beating my head too hard this time around. Many thanks to the brains that are keeping the rest of us dummies excited to keep tinkering about with our androids!
Click to expand...
Click to collapse
Why need to turn on Hotspot for build.Prop editing? What's wamo?
truelies1 said:
Why need to turn on Hotspot for build.Prop editing? What's wamo?
Click to expand...
Click to collapse
Does anyone know a way to enable gestures on 3rd party launchers on stock rom

Categories

Resources