Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/dev/log/main not found

I'm trying to develop an Android application but when I try to connect to logcat I get the following error:

Unable to open log device '/dev/log/main': No such file or directory

I already installed a new SDK, rebooted my phone... nothing seems to solve the problem. Anyone has any solution?

Samsung Galaxy S (Darky's v9.1)

Apple OSX

ADB 1.0.26

like image 982
ferdyh Avatar asked Feb 01 '11 21:02

ferdyh


2 Answers

I had used the Speedmod kernel; This has default Logging disabled. Re-enabled it in the TWEAKS menu.

Thanks for making me realise this Octavian Damiean

like image 88
ferdyh Avatar answered Oct 10 '22 20:10

ferdyh


I found the following method on XDA:

adb shell
su
mount -o remount,rw /system
echo ANDROIDLOGGER >> /system/etc/tweaks.conf
mount -o remount,ro /system

and reboot.

like image 22
Nurbldoff Avatar answered Oct 10 '22 19:10

Nurbldoff