[OnePlus X Original Android Development] namquang93:
I got phone freeze and can not turn wifi on too. Here is the logcat (I'm not sure if I got the correct logcat)

03-14 15:09:11.557 3049 4879 D WifiService: Client connection lost with reason: 4

03-14 15:09:15.026 3049 13951 E ActivityManager: Error reading /data/anr/traces.txt

03-14 15:09:15.026 3049 13951 E ActivityManager: java.io.FileNotFoundException: /data/anr/traces.txt: open failed: ENOENT (No such file or directory)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at libcore.io.IoBridge.open(IoBridge.java:452)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at java.io.FileInputStream.<init>(FileInputStream.java:76)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at android.os.FileUtils.readTextFile(FileUtils.java:236)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at com.android.server.am.ActivityManagerService$21.run(ActivityManagerService.java:13180)

03-14 15:09:15.026 3049 13951 E ActivityManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at libcore.io.Posix.open(Native Method)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)

03-14 15:09:15.026 3049 13951 E ActivityManager:	at libcore.io.IoBridge.open(IoBridge.java:438)

03-14 15:09:15.026 3049 13951 E ActivityManager:	... 3 more

03-14 15:09:15.032 12041 12046 E art : Unable to open stack trace file '/data/anr/traces.txt': Permission denied

03-14 15:09:15.045 3049 3370 V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@a549cc8

03-14 15:09:15.045 3049 3370 V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@87be161

03-14 15:09:15.046 5971 6009 I art : Wrote stack traces to '/data/anr/traces.txt'

03-14 15:09:15.051 3049 13951 D DropBoxManagerService: file :: /data/system/dropbox/system_app_anr@2017-03-14-15_09_15_046.txt.gz

03-14 15:09:15.068 6300 6300 I Binder_3: type=1400 audit(0.0:651): avc: denied { ioctl } for path="socket:[142485]" dev="sockfs" ino=142485 ioctlcmd=7704 scontext=u:r:surfaceflinger:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=1

03-14 15:09:15.068 6300 6300 I Binder_3: type=1400 audit(0.0:652): avc: denied { ioctl } for path="socket:[142485]" dev="sockfs" ino=142485 ioctlcmd=7704 scontext=u:r:surfaceflinger:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=1

03-14 15:09:15.079 3049 13949 D DropBoxManagerService: file :: /data/system/dropbox/system_server_watchdog@2017-03-14-15_09_15_073.txt.gz

03-14 15:09:15.079 3049 5777 E Watchdog: Triggering SysRq for system_server watchdog

03-14 15:09:15.079 3049 5777 W Watchdog: *** WATCHDOG KILLING SYSTEM PROCESS: Blocked in handler on foreground thread (android.fg)

03-14 15:09:15.079 3049 5777 W Watchdog: foreground thread stack trace:

03-14 15:09:15.080 3049 5777 W Watchdog: at java.lang.Object.wait(Native Method)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.internal.util.AsyncChannel$SyncMessenger.sendMessageSynchronously(AsyncChannel.java:820)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.internal.util.AsyncChannel$SyncMessenger.access$100(AsyncChannel.java:740)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.internal.util.AsyncChannel.sendMessageSynchronously(AsyncChannel.java:654)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.internal.util.AsyncChannel.sendMessageSynchronously(AsyncChannel.java:667)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.wifi.WifiStateMachine.syncGetLinkLayerStats(WifiStateMachine.java:2423)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.wifi.WifiServiceImpl.reportActivityInfo(WifiServiceImpl.java:774)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.am.BatteryStatsService.pullWifiEnergyInfoLocked(BatteryStatsService.java:1221)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.am.BatteryStatsService.updateExternalStats(BatteryStatsService.java:1346)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.am.BatteryStatsService$BatteryStatsHandler.handleMessage(BatteryStatsService.java:108)

03-14 15:09:15.080 3049 5777 W Watchdog: at android.os.Handler.dispatchMessage(Handler.java:102)

03-14 15:09:15.080 3049 5777 W Watchdog: at android.os.Looper.loop(Looper.java:148)

03-14 15:09:15.080 3049 5777 W Watchdog: at android.os.HandlerThread.run(HandlerThread.java:61)

03-14 15:09:15.080 3049 5777 W Watchdog: at com.android.server.ServiceThread.run(ServiceThread.java:46)

03-14 15:09:15.080 3049 5777 W Watchdog: *** GOODBYE!

03-14 15:09:15.080 3049 5777 I Process : Sending signal. PID: 3049 SIG: 9

03-14 15:09:15.105 13936 13936 W System : ClassLoader referenced unknown path: /system/priv-app/Mms/lib/arm

03-14 15:09:15.124 13119 13126 E art : Unable to open stack trace file '/data/anr/traces.txt': Permission denied

03-14 15:09:16.018 500 500 I Gobi : vendor/qcom/proprietary/RIDL/RIDLClient/RIDLSQL.cpp:2500: GetTransState() EBADF

03-14 15:09:16.018 500 500 I Gobi : vendor/qcom/proprietary/RIDL/RIDLClient/MainCore.cpp:1550: Failed to get TransState, rc 9

03-14 15:09:16.018 500 500 I Gobi : vendor/qcom/proprietary/RIDL/RIDLClient/RIDLSQL.cpp:2500: GetTransState() EBADF

03-14 15:09:16.018 500 500 I Gobi : vendor/qcom/proprietary/RIDL/RIDLClient/RIDLSQL.cpp:2500: GetTransState() EBADF