The error message you've encountered, "cnss-daemon: Failed to get sock name Socket operation on non-socket," typically points to an issue with a system process named cnss-daemon which is part of the connectivity subsystem on Android devices, particularly those with Qualcomm chipsets. This process is related to connectivity and networking services.
The mention of cdsprpcd seems to be related, as it's another process that can interact with system services on Qualcomm-based devices.
Given that this is a system-level issue, solving it directly might require some technical steps and could potentially involve risks if not done correctly. Here are some suggestions and workarounds:
1. Restart Your Device
A simple reboot can sometimes resolve such issues temporarily. If the problem persists, proceed with other steps.
2. Check for System Updates
Ensure your device is updated to the latest software version available. Manufacturers often release patches for known issues.
3. Boot in Safe Mode
Booting your device in safe mode can help determine if a third-party app is causing the issue. To boot into safe mode:
- Power off your device.
- Press and hold the Power button until your device starts.
- As soon as the logo appears, release the Power button and immediately press and hold the Volume down button.
- Keep holding the Volume down button until the device finishes restarting.
If the issue doesn't occur in safe mode, it might indicate a third-party app is causing the problem.
4. Clear Cache and Data of System Services
- Go to Settings > Apps > All Apps (or Show System Apps).
- Find
cnss-daemon and cdsprpcd (if visible).
- For each, select Storage > Clear Cache and Clear Data.
5. Disable and Re-enable Connectivity Services
- Go to Settings > Connections (or Network & Internet) > Wi-Fi.
- Toggle Wi-Fi off and on.
- Also, consider resetting network settings (Settings > System > Reset options > Reset Wi-Fi, mobile & Bluetooth).
6. Factory Reset (Last Resort)
If none of the above steps help, you might consider performing a factory reset. This will erase all data on your device, so ensure you back up any important data first.
7. Contact Manufacturer or Visit a Service Center
If the issue persists, it might be a more serious problem that requires professional attention. Contacting the device manufacturer's support or visiting an authorized service center could provide a more definitive solution.
Additional Notes
- Rooting or Modifying System Files: Avoid modifying or deleting system files or processes unless you're absolutely sure what you're doing. Such actions can lead to system instability or render your device unusable.
- Qualcomm-specific issues: Sometimes, issues like these can be related to specific hardware or firmware components. In such cases, a fix might come in a future software update from the device manufacturer.
Given the technical nature of this issue, solutions might vary depending on the specific device model and Android version you're using.