Closed diepquynh closed 7 years ago
@ngoquang2708 Any ideas bro?
What is permission of /data/misc/wifi
folder before and after reboot? Are they both the same?
Yes they're. Here I just disable then re-enable WiFi, it dies
The rfkill
part is not importance. The importance one is that why wpa_supplicant
cannot detect p2p-dev-wlan0
device.
What is the permission anyway?
It seems the problem comes from the source itself, because WiFi still working properly with my CM13 with the same configuration
And the same for you with WiFi direct before
What about the permission of the /data/misc/wifi
directory?
Okay, it seems normal, so what...?
I have to delete /data/misc/folder to make WiFi work once I disable it or reboot the phone
Have you tried this: reboot to recovery, remove all the contents of the wifi folder, then set permission for it, then reboot.
I got this issue in CM14 too, but not on AOSP7. But instead of dead, the wifi crash the system. I don't know why.
OK, let me try
Set the permissions like the above screenshot right?
Yes
2016-10-01 18:30 GMT+07:00 Nguyễn Tuấn Quyền notifications@github.com:
Set the permissions like the above screenshot right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koquantam/android_device_samsung_grandprimeve3g/issues/2#issuecomment-250907481, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9i1r9DmqsszysMBTsm9nW9FRHLYjks5qvkRFgaJpZM4KLr6_ .
OK this method doesn't work for me
OK. Can I get full logcat before and after wifi is enabled?
Here's the one after fully booted, and connected to a network wifi.txt
It only work on first start, then when we disable it, then enable it, it's dead until we remove /data/misc/wifi folder. Logcat:
I/wpa_supplicant( 901): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 901): Could not read interface p2p-dev-wlan0 flags: No such device