[Hardware Hacking General] AdamOutler:
I have mad fast typing skills

This is in battery charging mode.

<hit enter twice to activate fiq debugger>
debug>
debug>
debug>
debug>
debug>
debug>
debug>
debug>
debug>
debug> help
FIQ Debugger commands:
pc PC status
regs Register dump
allregs Extended Register dump
bt Stack trace
reboot Reboot
irqs Interupt status
kmsg Kernel log
version Kernel version
sleep Allow sleep while in FIQ
nosleep Disable sleep while in FIQ
console Switch terminal to console
cpu Current CPU
cpu <number> Switch to CPU<number>
debug> Kernel Debugger commands:
ps Process list
sysrq sysrq options
sysrq <param> Execute sysrq with <param>
debug>

debug> ps
pid ppid prio task pc
1 0 120 swapper R running
2 0 120 kthreadd S c0583e20
3 2 120 ksoftirqd/0 S c0583e20
4 2 120 kworker/0:0 S c0583e20
5 2 120 kworker/u:0 S c0583e20
6 2 0 migration/0 S c0583e20
7 2 0 migration/1 S c0583e20
8 2 120 kworker/1:0 S c0583e20
9 2 120 ksoftirqd/1 S c0583e20
10 2 100 khelper S c0583e20
11 2 100 suspend S c0583e20
12 2 49 irq/329-pogo_ S c0583e20
13 2 120 sync_supers S c0583e20
14 2 120 bdi-default S c0583e20
15 2 100 kblockd S c0583e20
16 2 100 omap2_mcspi S c0583e20
17 2 120 khubd S c0583e20
18 2 120 twl6030-irq S c0583e20
19 2 49 irq/374-TWL60 S c0583e20
20 2 120 kworker/0:1 S c0583e20
21 2 100 cfg80211 S c0583e20
22 2 100 musb-otg S c0583e20
23 2 0 kinteractiveu S c0583e20
24 2 120 kworker/0:2 S c0583e20
25 2 120 khungtaskd S c0583e20
26 2 120 kswapd0 S c0583e20
27 2 120 fsnotify_mark S c0583e20
28 2 100 crypto S c0583e20
41 2 100 hdmi_hotplug S c0583e20
42 2 100 hdcp S c0583e20
43 2 120 firmware/hdcp D c0583e20
44 2 100 dsscomp_apply S c0583e20
45 2 100 dsscomp_apply S c0583e20
46 2 100 dsscomp_apply S c0583e20
47 2 100 dsscomp_cb S c0583e20
48 2 49 irq/335-sii92 S c0583e20
49 2 120 firmware/duca D c0583e20
50 2 100 pvr_timer S c0583e20
51 2 100 bmp180_wq S c0583e20
52 2 100 sec_jack_wq S c0583e20
53 2 120 kworker/u:1 S c0583e20
54 2 49 irq/184-fsa94 S c0583e20
55 2 49 irq/164-fsa94 S c0583e20
56 2 49 irq/159-temp_ S c0583e20
57 2 49 irq/246-tshut S c0583e20
58 2 49 irq/151-twl60 S c0583e20
59 2 120 mtdblock0 S c0583e20
66 2 100 f_mtp S c0583e20
67 2 120 file-storage S c0583e20
68 2 120 kworker/1:1 S c0583e20
69 2 120 firmware/mms1 D c0583e20
70 2 100 gp2a_wq S c0583e20
71 2 49 irq/379-rtc0 S c0583e20
72 2 100 khotplug S c0583e20
73 2 100 binder S c0583e20
74 2 49 irq/131-ABE S c0583e20
75 2 120 kworker/u:2 S c0583e20
76 2 120 kworker/u:3 S c0583e20
77 2 100 twl6040-codec S c0583e20
78 2 100 twl6040-hf S c0583e20
79 2 100 twl6040-hs S c0583e20
80 2 100 twl6040-ep S c0583e20
81 2 120 mmcqd/0 S c0583e20
82 2 120 mmcqd/0boot0 S c0583e20
83 2 120 mmcqd/0boot1 S c0583e20
84 2 110 krfcommd S c0583e20
85 2 49 irq/142-omap_ S c0583e20
86 2 49 irq/143-omap_ S c0583e20
87 2 100 mipi_tx_wq S c0583e20
88 2 100 mipi_tx_raw_w S c0583e20
89 2 100 mipi_cmd_wq S c0583e20
90 53 120 kworker/u:1 S c0583e20
91 2 2 dhd_watchdog S c0583e20
92 2 1 dhd_dpc S c0583e20
93 2 120 dhd_sysioc S c0583e20
debug>
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5 | VT102 | Offline

debug> console
console mode
[ 3.190765] cannot apply mgr(lcd) on inactive device
[ 3.196411] omapfb omapfb: failed to apply dispc config
[ 3.201934] cannot apply mgr(tv) on inactive device
[ 3.207244] omapfb omapfb: failed to apply dispc config
[ 3.212799] cannot apply mgr(lcd2) on inactive device
[ 3.218048] omapfb omapfb: failed to apply dispc config
[ 3.225769] regulator_init_complete: VDAC: disabling
[ 3.231872] omaplfb OMAPLFBInitFBDev: Device 0: Requesting 4 TILER 2D framebuffers
[ 3.240051] ## wifi_probe
[ 3.243194] wifi_set_power = 1
[ 3.502685] wifi_set_carddetect = 1
[ 3.514373]
[ 3.514373] Dongle Host Driver, version 5.90.125.94
[ 3.514404] Compiled in drivers/net/wireless/bcmdhd on Nov 21 2011 at 19:05:54
[ 3.639862] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.692779] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.712341] mmc1: new high speed SDIO card at address 0001
[ 3.719848] F1 signature read @0x18000000=0x16844330
[ 3.734313] DHD: dongle ram size is set to 294912(orig 294912)
[ 3.741424] wl_create_event_handler thr:59 started
[ 3.746520] dhd_attach thr:5a started
[ 3.750335] dhd_attach thr:5b started
[ 3.754150] dhd_attach thr:5c started
[ 3.757995] wifi_get_mac_addr
[ 3.763336] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33
[ 3.772216] wifi_set_power = 0
[ 4.031829] =========== WLAN placed in RESET ========
[ 4.037994] fsa9480 4-0025: cable detect change, from 'unknown/none' to 'jig'

CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5 | VT102 | Offline

I was able to obtain that last one by typing in 'gedit'

console

then copy-paste

debug> help
FIQ Debugger commands:
pc PC status
regs Register dump
allregs Extended Register dump
bt Stack trace
reboot Reboot
irqs Interupt status
kmsg Kernel log
version Kernel version
sleep Allow sleep while in FIQ
nosleep Disable sleep while in FIQ
console Switch terminal to console
cpu Current CPU
cpu <number> Switch to CPU<number>
debug> Kernel Debugger commands:
ps Process list
sysrq sysrq options
sysrq <param> Execute sysrq with <param>
debug> pc
pc c006b630 cpsr 90000013 mode SVC
debug> regs
r0 c073ff28 r1 3b9aca00 r2 2ce2a872 r3 00000000
r4 c111a100 r5 c073ff28 r6 09a138c5 r7 00000002
r8 09b8f872 r9 00000002 r10 00000000 r11 c073ff5c mode SVC
ip fffffff1 sp c073ff28 lr c007f004 pc c006b630 cpsr 20000013 spsr ffffffff
debug> allregs
r0 c073ff28 r1 3b9aca00 r2 41c04235 r3 00000000
r4 c111a100 r5 c073ff28 r6 5a306dc9 r7 00000002
r8 5a315c35 r9 00000002 r10 00000000 r11 c073ff5c mode SVC
ip fffffff1 sp c073ff28 lr c007f004 pc c006b630 cpsr 00000013 spsr ffffffff
svc: sp c073fd68 lr c006145c spsr 00000013
abt: sp c0794d2c lr c0053680 spsr 20000193
und: sp c0794d38 lr c00537c0 spsr 20000093
irq: sp c0794d20 lr c0053480 spsr 00000193
fiq: r8 00000000 r9 00406edc r10 00000000 r11 00000000 r12 00000000
fiq: sp 00000000 lr 00000000 spsr 00000000
debug> bt
pid: 0 comm: swapper
r0 c073ff28 r1 3b9aca00 r2 2f1fe314 r3 00000000
r4 c111a100 r5 c073ff28 r6 bec5a2a8 r7 00000002
r8 bec69114 r9 00000002 r10 00000000 r11 c073ff5c mode SVC
ip fffffff1 sp c073ff28 lr c007f004 pc c006b630 cpsr 80000013 spsr ffffffff
pc: c006b630 (omap4_enter_idle_wfi+0x40/0xdc), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ff28, fp c073ff5c
pc: c006b630 (omap4_enter_idle_wfi+0x40/0xdc), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ff28, fp c073ff5c
pc: c03ab6dc (cpuidle_idle_call+0x9c/0x130), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ff60, fp c073ff8c
pc: c0054fa0 (cpu_idle+0xc4/0x104), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ff90, fp c073ffac
pc: c05762f4 (rest_init+0xa0/0xa4), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ffb0, fp c073ffc4
pc: c00089d0 (start_kernel+0x2ac/0x300), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073ffc8, fp c073fff4
pc: 80008040 (0x80008040), lr c007f004 (omap44xx_32k_read+0x18/0x30), sp c073fff8, fp (null)
debug> irqs
irqnr total since-last status name
39: 0 0 0 TWL6030-PIH
41: 0 0 0 l3-dbg-irq
42: 0 0 0 l3-app-irq
43: 2 2 0 prcm
44: 114 114 0 DMA
52: 0 0 0 gpmc
57: 13 13 0 OMAP DISPC
58: 1 1 0 mailbox-1
60: 0 0 0 omap-iommu.1
69: 1920 1920 0 gp timer
85: 35 35 0 omapdss_dsi1
88: 1091 1091 0 omap_i2c
89: 0 0 0 omap_i2c
91: 466 466 400 mmc1
93: 8 8 0 omap_i2c
94: 200 200 0 omap_i2c
99: 0 0 104 mpu_p1
103: 0 0 104 mpu_dma
106: 63 63 0 debug
112: 0 0 0 omap_wdt
115: 72 72 400 mmc0
124: 0 0 0 musb-hdrc
125: 0 0 0 musb-hdrc
131: 0 0 0 ABE
132: 0 0 0 omap-iommu.0
133: 0 0 0 OMAP HDMI
142: 0 0 0 omap_emif
143: 0 0 0 omap_emif
144: 0 0 0 McPDM
151: 1 1 0 twl6040
159: 1 1 1 temp_sensor
160: 0 0 403 sec_headset_detect
163: 0 0 403 gpio_keys
164: 1 1 508 fsa9480
168: 0 0 403 gpio_keys
177: 0 0 401 nfc_irq
181: 0 0 403 proximity_int
184: 1 1 504 fsa9480_external_id
190: 0 0 403 gpio_keys
205: 0 0 401 mpuirq
206: 0 0 508 mms_ts
223: 0 0 403 hpd
246: 0 0 401 tshut
280: 2 2 504 phone_active
281: 0 0 504 pogo_data
282: 0 0 401 accelirq
329: 0 0 403 pogo_det
335: 0 0 504 sii9234
336: 0 0 401 compassirq
337: 1 1 508 bt host_wake
374: 0 0 400 TWL6030-VLOW
379: 0 0 400 rtc0
389: 0 0 8400 twl6040_irq_plug
393: 1 1 8400 twl6040_irq_ready
LOC 0: 841 841