Logcat Disabled?

Discussion in 'Steel Droid - D3' started by rozx, Jan 11, 2012.

  1. rozx
    Offline

    rozx New Member

    Joined:
    Jan 11, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +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.
     
  2. chevycam94
    Offline

    chevycam94 Steel Droid ROM Developer Developer

    Joined:
    May 12, 2010
    Messages:
    1,392
    Likes Received:
    27
    Trophy Points:
    48
    Location:
    Central Ohio
    Ratings:
    +27
    Current Phone Model:
    LG G2 (VZW)
    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.
     
  3. rozx
    Offline

    rozx New Member

    Joined:
    Jan 11, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Thank you very much!
     
Search tags for this page
/dev/log/main
,
android disable logcat
,
disable logcat
,
disable logcat android
,
droid razr logcat
,
rm /dev/log/main
,

unable to open log device '/dev/log/main': no such file or d

,
unable to open log device /dev/log/main
,
unable to open log device /dev/log/main no such file or dire
,
unable to open log device android