anarkia1976/AK-ramdisk — pull request #6 by lioux (2013-03-27 20:46:28+00:00)
Title: CHALLENGE ACCEPTED. ;-]

3 hours later...
I wrote a script that generates a pretty thourough bugreport (lioux syle) that supplies most of our needs. It is a tar file compressed with bzip2 containing all the information.

You need ROOT access and busybox installed.

The bugreport is saved on the /sdcard/ root directory in the following name format:

/sdcard/bugreport_YYYYMMDD_HHh_MMm_SSs.tar.bz2

You can use the script in 2 ways:

1) No modification, it generates a complete bugreport (lioux style) minus dumpstate:

96

Super fast, 7 seconds with about 96Kbytes.

2) If you edit the script and uncomment the line that adds a dumpstate to the bugreport (it's easy, there is a line explaining it inside the script):

1m52.43s real 0m11.33s user 0m4.61s system

728 bugreport_20130327_19h_53m_04s.tar.bz2

Less than 2 minutes with about 728Kbytes. Not too shabby if I might say. :) So it's fast and compact.

Why is dumpstate disabled? Because I run it at every boot so that I can report if anything happens. Furthermore, we don't usually need dumpstate unless the kernel developer asks for it.

You can submit these bugreports to other projects too. This is not limitted to AK. :)

You can use script manager from play store to launch this script at every boot.

And, a personal advice: open the bugreport before you submit it. You can learn a little more about your phone and what might have happened. Moreover, this might help you decide that you don't need to send that much information, just one file might have the information needed.