Dumping RAM with gen-blob
From OpenEZX
Using gen-blob it is possible to dump the phone RAM to retrieve the kernel messages in order to diagnose and fix a crash.
When you experience a kernel crash:
- Remove the battery:
- Reinsert it immediately holding the keys to enter bootloader mode (see Bootloader#Enter_the_bootloader).
-
Load gen-blob via usb:
$ boot_usb setflag usb $ boot_usb gen-blob 0
-
Dump the ram (32 MiB):
$ boot_usb read 0xa0000000 33554432 memdump.bin $ boot_usb off
-
Extract the kernel messages:
$ strings memdump.bin | grep '^<[0-9]>\[[\ \.0-9]*\]'