Hi Victor,
Thanks for your reply.
But on iMX8M mini EVK when I booted AOSP 9.0 and when I checked dmesg --help options
there is no -D or -E flags available.
Also If I try to do sudo or su then it give permission denied or invalid error msg.
Please check the logs which I collected after booting iMX8M Mini EVK ->
NOTE : - I am using iMX8M Mini EVK and running Android AOSP 9.0 provided by NXP
evk_8mm:/ $
evk_8mm:/ $
evk_8mm:/ $ dmesg --help
usage: dmesg [-Cc] [-r|-t|-T] [-n LEVEL] [-s SIZE] [-w]
Print or control the kernel ring buffer.
-C Clear ring buffer without printing
-c Clear ring buffer after printing
-n Set kernel logging LEVEL (1-9)
-r Raw output (with <level markers>)
-S Use syslog(2) rather than /dev/kmsg
-s Show the last SIZE many bytes
-T Show human-readable timestamps
-t Don't print timestamps
-w Keep waiting for more output (aka --follow)
evk_8mm:/ $
[ 131.759090] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
[ 132.050218] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
1|evk_8mm:/ $
1|evk_8mm:/ $ su dmesg -C
su: invalid uid/gid 'dmesg'
1|evk_8mm:/ $
1|evk_8mm:/ $ sudo dmesg -C
/system/bin/sh: sudo: not found
127|evk_8mm:/ $
127|evk_8mm:/ $ root
/system/bin/sh: root: not found
127|evk_8mm:/ $ cd /
evk_8mm:/ $
Thanks,
Maneesh