Tag Info

New answers tagged

1

In your command line example, you are running the ADB command from the Android terminal with / as current directory. So Android tries to write the output to /logcat.txt, which fails. Keep in mind that after you execute adb shell everything you type happens on the phone. The command adb logcat then runs on your phone, and the creation of the text file also ...


1

adb logcat on your phone launches an ADB server on your phone (which is also running on your PC) and connects to itself. Then you try to write everything to /logcat.txt (/ is the the root of your filesystem; you can't write there). Try routing your output to something like /sdcard/logcat.txt or run it directly on your PC, where it gets saved in the ...


1

Preferably without turning on the debug mode? Sorry! I don't have a solution that doesn't require USB debugging as of now. A workaround is to use a rooted device and run ssh server on Wi-Fi. Anyhow, if the device has been connected to PC using USB, then it must have drawn some power, miniscule and momentarily it may be. Setup adb in PC, turn on USB ...



Top 50 recent answers are included