Logcat Disabled?

rozx

New Member
Joined
Jan 11, 2012
Messages
2
Reaction score
0
i try to use logcat to test my app, but it said:


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

it seems in this ROM it disabled logcat.

I did google this problem, but none of solutions works.

Is there a way to turn logcat on?

Thx for the help, most appreciated.

BTW, My ROM version is Steel Droid 4.5.
 

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
153
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
Yep, its disabled, but not removed.

1: Open: /system/etc/init.d/01speedyMain
2: Find the line that says: "rm /dev/log/main" (without quotes of course)
3: Change the line to: "# rm /dev/log/main" (comments out the line, rm = remove, in case you were wondering)
4: Save 01speedyMain, and reboot
5: Enjoy LOGCAT! :icon_ lala:




And of course, do the opposite, and take the # away, reboot, and you have disabled logcat again.
 
Top