Android – what if the manufacturer deletes the folder under the / dev / log folder? [indicates no logcat]

There is a problem with my Android device. The log folder under / dev cannot be accessed or may not even exist

$pwd
pwd
/dev
$cd log
cd log
cd: can't cd to log
$

Therefore, logcat cannot be used. I cannot view the stdout or stderr logs of the device in DDMS

I googled and tried to find some information about this problem:

> http://developer.android.com/guide/developing/tools/adb.html#alternativebuffers

Viewing stdout and stderr topics may seem useful, but this post says it is not supported:

Why is redirecting stdout/stderr on android not working? > This is another person with the same problem:

“Unable to open log device ‘/dev/log/main’: No such file or directory”

I found a temporary solution to manually dump my log to a file on the device, but as usual, I can't just monitor the application log of the system

Are there any solutions you can suggest? Is there any way to redirect stdout and stderr logs to files, consoles, etc?

Any kind of help will be greatly appreciated

resolvent:

Runo nesre – I finally found a solution

There is a recent post on the XDA developers forum, which puts forward the same problem for different Huawei mobile phones and has a repair method

Invalid Sign

It is helpful for my Huawei sonic (u8650)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>