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
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.
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
For a rooted Galaxy Note 7000, run insmod /lib/modules/logger.ko in the shell (this is missing from the rootfs' init.rc), assuming you can boot up sufficiently far to access adb / some terminal like terminal-ide. The module mounts in /dev/log and provides the missing files.