User Tools

Site Tools


**The OOBD Book** Download as [[epub|eBook]] \\ Download as [[|PDF / Mobi]] * [[start|Documentation]] * Installation * [[startup_javame|OOBD-ME (Mobile Phones)]] * [[startup_android|OOBD-Android]] * [[startup_windows|Windows OOBDesk]] * [[startup_embedded|Raspi & Co]] * [[startup_usage|Start the programs]] * [[startup_oobdscript|First Success: Run the OOBD script]] * [[lua_start|Lua in OOBD]] * [[tools_quickscript|Click your Script: Quick Script]] * [[lua_make-your-own-scripts|Make your own OOBD Scripts]] * [[lua_tutorial|The OOBD Lua Tutorial]] * [[lua_make|Lua Build Enviroment]] * Web UI * [[:de:doc:webui_tutorial|Web User Interface Tutorial(German)]] * [[webui_guide|Web UI Package structure]] * [[:de:doc:webui_simulator|UI Emulator for development(German)]] * [[hw_start|The OOBD Hardware]] * [[hw_quickstart|OOBD Cup Quick Start]] * [[hw_assembly-cupv5|Build your own Dongle]] * [[hw_busswitch|Add a second Bus to DXM]] * [[hw_bootloader|Flash the Bootloader]] * [[hw_firmware|Flash the Firmware]] * [[hw_flash-from-usb-stick|Flash the Firmware from USB-Stick]] * [[hw_commands|The Firmware Commands]] * [[tools_start|The OOBD Utilities]] * [[tools_kadaver|Kadaver]] * [[tools_quickscript|Quick Script]] * [[tools_cortex-crc32|Cortex-CRC32]] * [[tools_filelist|Filelist]] * [[tools_olp|OLP]] * [[tools_oobdcopyshop|OOBDCopyShop]] * [[tools_oobdtemple|oobdtemple]] * [[tools_oodbcreate|OODBCreate]] * [[tools_opendiagx|OpenDiagX]] * [[tools_oobdcmd|OOBDcmd]] * [[tools_oobdflash|OOBDFlash]] * PGP * [[pgp_setup|Install PGP Keys]] * [[dev_start|Development]] * [[dev_googlesetup|Join the News]] * Setup your Developer Environment * [[dev_cygwininstall|CygWin Environment]] * [[dev_setupswing|Java Swing]] * [[dev_setupme|Java ME]] * [[dev_setupandroid|Android]] * [[dev_androidlivecd|The Android Debug Live CD]] * [[dev_setupfirmware|Firmware]] * [[dev_clientdesignguide|User Interface Design Guide]] * [[dev_systemspec|The OOBD System Spec]] * [[dev_readotherformats|Import XML files]] * [[dev_links|Link Collection]] * [[dev_roadmap|Road Map]] * [[rfc_start|Specifications (RFC)]] * [[rfc_firmware_syntax|OOBD Firmware: General Command Syntax]] * [[rfc_canuds-mode|OOBD Firmware: Protocol : UDS (P 6 ..)]] * [[rfc_canraw-mode|OOBD Firmware: Protocol : CANraw (P 6 ..)]] * [[rfc_rtd-real-time-data-protocol-for-the-oobd-firmware|OOBD Firmware: Protocol : Real Time Data (RTD) (P 6 ..)]] * [[rfc_pgp-encrypting-sensible-data-with-pgp|PGP Principle]] * [[rfc_onion|The ONION Message Format]] * [[faq|Frequently Asked Questions]]


Android Debug Live CD

It's quite difficulty to log the debug messages from an Android Mobile if you've just a “normal” PC around but not an own, special prepared development machine.

That is because an Android Mobile has a quite extensive logging output over its USB port, but you need to have a special driver and special software to be installed on your PC to catch these output, and installing own software and drivers is mostly forbitten on business machines for the normal user.

But as long as you can boot your machine from an external device like a CD or a USB stick, there's at least a workaround: Thanks to the XDA developer team, there's a live CD available having the android debug tools on it.

Getting the CD

According the XDA- devoper forum, download the CD image from Server 1 or Server 2 and burn it on CD.

Getting started

Boot from the new CD. When then a Install window appears, choose your language and then press “Test Ubuntu” (as you certainly don't want to use the second button “Install”…)

When then the desktop appears, open Firefox to have this manual available also there.

On your Android mobile

  • activate the USB debugging under “Settings/Applications/Development/Enable USB-Debugging”
  • connect it via USB to your PC.

Back on the PC, open a terminal window (Application/Accessories/Terminal)


sudo su

to get root rights and

adb start-server

to activate the Android development bridge (adb) to connect to your mobile

When you now type

adb devices

your mobile should be listed as known device. Now you are ready to start

Logging messages

If you are now ready to log messages, type

adb logcat | tee mylogfilename.txt

You'll now see the log messages running over the screen.

Please do now the operations on your mobile of which you want to have the log file from.

When finished, press CTRL+C to stop the log. The log is now saved in mylogfilename.txt

Sending the log file

Please to not forget: This Live CD does not have a permanent file system, so when shutting down, all changes and files are gone forever, so you've to save your created log files somehow before.

You could e.g. save it onto an USB stick, but if you have Internet available, the probably easiest way would be by using FireFox to either send it as email with your personal mail web interface or to add it as attachment to the OOBD bugtracker.

In case the file size is quite big, you can significantly shrink it with the command

gzip mylogfilename.txt

which makes a compressed mylogfilename.txt.gz out of it.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
doc/dev_androidlivecd.txt · Last modified: 2014/02/10 07:08 by admin