Hi,
I'm currently looking into the Android bootloader source code and I would like to see the debugging messages which are printed by LOGE/LOGI/... These are printed by "fprintf(stdout, <message>)". For examples see here: https://code.google.com/p/android-source-browsing/source/browse/common.h?repo=platform--bootable--recovery line 27.
Since stdout pipes to /dev/null: is there a way to change this? I want to see these messages while I'm in the bootloader of a mobile device (it's an HTC Desire by the way). The messages I would like to see are at the very beginning where even ADB is not yet active. So Logcat or shell commands on the device can't be used at this time. So I wonder if there is any way to set a parameter to save these messages in a file until I remove the parameter or something. I don't want to make changes to the bootloader source code and compile my own, if possible. The device is rooted and I can write on the NAND storage, if needed.
Thanks in advance for any help!