Building a Nexus 4 UART Debug Cable

Updated on 05/31/2013 to be a little bit safer.

With Android devices, UART debug cables allow developers to view low level debugging information on the phone. Access to boot loader and console output allows debugging the kernel and user-space programs in real time. Further, interactive kernel debugging can be accomplished by building a custom debug kernel.

Since many end users don’t need this type of information, the UART connections tend to be hidden. Some devices use USB On-The-Go with a special resistor value to activate the UART port. The designers of the Nexus 4 decided to take a different route. In order to still support USB connections while debugging, the Nexus 4 uses the headphone jack. To access the UART on the Nexus 4, we built a simple cable back in February. This blog documents our efforts and enables you to build your own cable.

nexus4_uart-opt

In order to avoid interfering with audio quality, the Nexus 4 requires a special trigger to turn on the headphone debugging port. The following code excerpt from /arch/arm/mach-msm/lge/mako/board-mako-sound.c shows the detection code. You can find the code in the Android Open Source Project kernel repository here .
238 #define GPIO_EARJACK_DEBUGGER_TRIGGER       PM8921_GPIO_PM_TO_SYS(13)
239 static struct earjack_debugger_platform_data earjack_debugger_pdata = {
240     .gpio_trigger = GPIO_EARJACK_DEBUGGER_TRIGGER,
241     .set_uart_console = set_uart_console,
242 };
243
244 static struct platform_device earjack_debugger_device = {
245     .name = "earjack-debugger-trigger",
246     .id = -1,
247     .dev = {
248         .platform_data = &earjack_debugger_pdata,
249     },
250 };

Behind the scenes, there is a comparator attached to the microphone jack. If the microphone jack exceeds approximately 2.80V, then the trigger is activated and the headphone jack switches into a UART port. The following diagram shows the electronics components inside the Nexus 4.

NEXUS 4.0

As you can see, the two resistors in the bottom left form a voltage divider. The voltage in the middle can be calculated by dividing 470,000 by (33,000 + 470,000), taking that result and multiplying by the input voltage of 3V. Therefore, the total value between the resistors is 2.80V. If the positive side of the comparator has a voltage equal-to or greater-than 2.80V, then the UART_ON signal goes high, turning on the UART circuitry.
 
To put the voltage level in the appropriate range, we place a 1K resistor between the output voltage of the USB-to-UART adapter and the sleeve line. This approach is similar to how UART cables for Samsung devices are constructed.

We built such a device using commonly available electronics components. In order to build the device, only a few parts are needed. These parts include:

  • A 3.3V USB to UART converter such as from SparkFun ($14.95 here) or OSEPP ($15.99 here or $14.95 here).
  • A 4-element TRRS 3.5mm headphone plug from SparkFun ($1.95 here)
  • 2 - 1K Ohm 1/8W 5% tolerance resistor ($0.09 here)
  • A 1.2K Ohm 1/8W 5% tolerance resistor ($0.09 here)
  • A 100 Ohm 1/8W 5% tolerance resistor ($0.09 here)

Optional components for an enclosure:

  • A soap-box enclosure ($3.95 here)
  • InstaMorph ($9.99 here)

Various headphone plugs may have different colored wires and determine which wire connects to which part of the plug. The following diagram can help you figure out the color scheme your cable uses. The image below is oriented as if you were looking directly at the tip of a Tip-Ring-Ring-Sleeve (TRRS) headphone plug.

g122

Headphone plugs with 4 elements are typically used for stereo headsets. These plugs need four conductive elements, including ground, microphone, left and right audio channels. This corresponds to the circles labeled Ring 2, Sleeve, Tip and Ring 1 (respectively) in the diagram above and in the connections shown in the diagram below.  The following is a simple schematic for our UART cable:

UART Cable

In order to create the cable, follow these steps.
  1. Strip the jacket from the headphone plug cable giving yourself an inch of wires
  2. Strip the insulation from the individual wires giving yourself about an eighth of an inch of exposed wire
  3. Twist and tin the individual wires
  4. Solder the connections as shown above.  If you’re using the cable we link to above, it should use the following color scheme:
  5. Green (GND) -> Ground
  6. White (L) -> TX
  7. Red (R) -> RX
  8. Black (MIC) -> R1 -> VCC​

As some background, there are two voltage dividers we're using formed by R1 and R2, and R3 and R4. The first voltage divider R1 and R2 cause the 3.3V produced by the FTDI chip to be dropped down to 3V in the middle of the voltage divider ((1000 / (1000 + 100)) * 3.3). The second voltage divider formed by R3 and R4 cause the TX line to produce 1.8V in the middle of the voltage divider ((1200 / (1200+1000)) * 3.3). This drops the voltage to the levels produced by the device. It is likely that the main processor wouldn't be harmed by the 3.3V and neither would the comparator, and in our tests we haven't observed any problems. However, it's always best to be safe. As always, by following these steps you assume responsibility for any harm done to your device.

After following the steps above, you will have a working cable. If you’d like to make a nice enclosure, you can follow the steps below.
  1. Cut a hole for the mini-USB socket into one of the halves of the enclosure using a Dremel, X-ACTO knife and hand files.
  2. Cut a hole on the other side of the enclosure going through both halves that is large enough to allow the headphone cable to go through
  3. Warm up the InstaMorph and place enough into the half without the mini-USB hole to allow the board to rest at the appropriate height
  4. Put the board in, pressing down into the InstaMorph
  5. Place more InstaMorph into the top compartment and close the enclosure
  6. Place a small amount of InstaMorph where the headphone cable comes out of the enclosure for strain relief and to make the hole look cleaner

A completed UART Debug cable with an enclosure is shown in the following two images.

Front View:

photo_front_edited_1

Top View:

photo_top_edited

After the cable is complete, the next step is to connect it to the computer and the Nexus 4. To see the output from the device, you will need a terminal program such as Windows Terminal or Minicom. The proper connection settings are 115200 bps, 8 data bits, no parity, and 1 stop bit with flow control disabled. We used the following command line on a Linux system to connect to the boot loader.
minicom -o -D /dev/ttyUSB0

Here’s some of the debug output when the phone is booting up from a cold state.

welcome to mako bootloader
[90] cable type from shared memory: 8
[130] reboot_mode restart reason = reboot
[320] kernel  @ 80208000 (5677280 bytes)
[330] ramdisk @ 81800000 (357803 bytes)
[330] get_display_kcal = 0, 0, 0, x
[330] Booting Linux
[340] Power on reason 65281
[340] Power on reason 65281
[340] booting linux @ 0x80208000, ramdisk @ 0x81800000 (357803)
[350] cmdline: console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677 uart_console=enable lcd_maker_id=primary lge.hreset=off lge.reset=mode_reset gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 mdm_force_dump_enabled androidboot.emmc=true androidboot.serialn[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.0-perf-g7ce11cd (android-build@vpbs1.mtv.corp.google.com) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jan 29 11:41:33 PST 2013
[    0.000000] CPU: ARMv7 Processor [510f06f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: QCT APQ8064 MAKO
[    0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[    0.000000] memory pool 3 (start fe9ff000 size 1600000) initialized
[    0.000000] Initialized persistent memory from 88700000-887fffff
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] socinfo_init: v6, id=109, ver=1.1, raw_id=1817, raw_ver=1817, hw_plat=8,  hw_plat_ver=65536
[    0.000000]  accessory_chip=0 hw_plat_subtype=1
[    0.000000] allocating 21626880 bytes at c2258000 (82458000 physical) for fb
[    0.000000] PERCPU: Embedded 7 pages/cpu @c36fb000 s15552 r0 d13120 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 488963
[    0.000000] Kernel command line: console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677 uart_console=enable lcd_maker_id=primary lge.hreset=off lge.reset=mode_reset gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 mdm_force_dump_enabled androidboot.emmc=true androidboot.serialno=0065392399cab766 androidboot.bootloader=MAKOZ10o androidboot.baseband=mdm bootreason=reboot
[    0.000000] UART CONSOLE : enable
[    0.000000] kcal is 0|0|0|x
[    0.000000] kcal not calibrated yet : 120
[    0.000000] set to default : 255
[    0.000000] BOARD : LGE input rev_11
[    0.000000] BOARD : LGE matched rev_11
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 134MB 74MB 7MB 1MB 253MB 1456MB = 1925MB total
[    0.000000] Memory: 1915620k/1998564k available, 56600k reserved, 1286140K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b0e6ac   (11290 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d03cc0   (1040 kB)
[    0.000000]       .data : 0xc0d04000 - 0xc0df6198   ( 969 kB)
[    0.000000]        .bss : 0xc0df61bc - 0xc108fcf4   (2663 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:921
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30520ns, wraps every 131084001ms
[    0.000000] Console: colour dummy device 80x30
[    0.000183] Calibrating delay loop (skipped) preset value.. 13.53 BogoMIPS (lpj=67677)
[    0.000213] pid_max: default: 32768 minimum: 301
[    0.000549] Mount-cache hash table entries: 512
[    0.001739] Initializing cgroup subsys debug
[    0.001770] Initializing cgroup subsys cpuacct
[    0.001770] Initializing cgroup subsys freezer
[    0.001892] CPU: Testing write buffer coherency: ok
[    0.002136] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002166] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.002258] Setting up static identity map for 0x809ba190 - 0x809ba218
[    0.005432] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.007904] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010376] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010468] Brought up 4 CPUs
[    0.010499] SMP: Total of 4 processors activated (54.14 BogoMIPS).
[    0.025667] dummy:
[    0.026064] NET: Registered protocol family 16
[    0.027010] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.029513] meminfo_init: smem ram ptable found: ver: 0 len: 6
[    0.029543] Found 2 memory banks grouped into 16 memory regions
[    0.029757] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[    0.030489] socinfo_init: v6, id=109, ver=1.1, raw_id=1817, raw_ver=1817, hw_plat=8,  hw_plat_ver=65536
[    0.030489]  accessory_chip=0 hw_plat_subtype=1
[    0.030581] msm_rpm_init: RPM firmware 3.0.16842886
[    0.049015] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049046] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049046] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049076] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049076] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049076] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049107] msm_rpm_get_status(): Status id 341 not defined for target
[    0.049107] msm_rpm_get_status(): Status id 341 not defined for target
[    0.050541] pm8921_probe: PMIC revision 1: F4
[    0.050572] pm8921_probe: PMIC revision 2: 06
[    0.050572] pm8921_probe: PMIC version: PM8921 rev 3.0
[    0.050602] pm8921_probe: PMIC Restart Reason: Triggered from KPD (power key press)
[    0.051670] gpiochip_add: registered GPIOs 152 to 195 on device: pm-gpio
[    0.052189] pm_gpio_probe: OK: base=152, ngpio=44
[    0.052464] gpiochip_add: registered GPIOs 196 to 207 on device: pm8xxx-mpp
[    0.052525] pm8xxx_mpp_probe: OK: base=196, ngpio=12
[    0.054509] pm8821_probe: PMIC revision 1: PM8821 rev F3
[    0.054509] pm8821_probe: PMIC revision 2: PM8821 rev 0B
[    0.054539] pm8821_probe: PMIC version: PM8821 ver 2.1
[    0.055089] gpiochip_add: registered GPIOs 208 to 211 on device: pm8xxx-mpp
[    0.055119] pm8xxx_mpp_probe: OK: base=208, ngpio=4
[    0.055516] gpio_vreg_probe: id=86, name=ext_dsv_load, gpio=86, gpio_label=ext_dsv_load_en
[    0.056737] saw_probe: id=0, name=8921_s5
[    0.057073] saw_probe: id=1, name=8921_s6
[    0.057378] saw_probe: id=2, name=8821_s0
[    0.057714] saw_probe: id=3, name=8821_s1
[    0.066137] persistent_ram: found existing buffer, size 43300, start 43300
[    0.203052] console [ram-1] enabled
[    0.204486] [NORMAL-DEBUG] apq8064_device_uart_gsbi4.id : 0
[    0.204578] [DEBUG] uart_enable : 1
[    0.207080] [Touch D] apq8064_init_input: NOT DCM KDDI, reg synaptics driver
[    0.210621] sps:REVISION of BAM 0xf0068000 is 0x5.
[    0.210743] sps:BAM 0x12244000 is registered.
[    0.211292] sps:sps is ready.
[    0.239401] bio: create slab  at 0
[    0.240103] ION heap vmalloc created
[    0.240286] ION heap mm created at a0000000 with size 3800000
[    0.240378] ION heap mm_fw created at 9fe00000 with size 1e0000
[    0.240561] ION heap mfc created at a3800000 with size 2000
[    0.240683] ION heap iommu created
[    0.240866] ION heap qsecom created at fea02000 with size 780000
[    0.240988] ION heap audio created at ff182000 with size 4cf000
[    0.242240] pm8xxx_pwm_probe: OK
[    0.243003] SCSI subsystem initialized
[    0.243308] sps:REVISION of BAM 0xf0070000 is 0x12.
[    0.243552] sps:BAM 0x28084000 is registered.
[    0.244315] usbcore: registered new interface driver usbfs
[    0.244529] usbcore: registered new interface driver hub
[    0.244803] usbcore: registered new device driver usb
[    0.245200] input: pmic8xxx_pwrkey as /devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-pwrkey/input/input0
[    0.246146] Linux media interface: v0.10
[    0.246360] Linux video capture interface: v2.00
[    0.248588] msm_iommu_dev: device vpe mapped at f0400000, with 2 ctx banks
[    0.248893] msm_iommu_dev: device mdp0 mapped at f0600000, with 2 ctx banks
[    0.249107] msm_iommu_dev: device mdp1 mapped at f0800000, with 2 ctx banks
[    0.249412] msm_iommu_dev: device rot mapped at f0a00000, with 2 ctx banks
[    0.249626] msm_iommu_dev: device ijpeg mapped at f0c00000, with 2 ctx banks
[    0.249931] msm_iommu_dev: device vfe mapped at f0e00000, with 2 ctx banks
[    0.250206] msm_iommu_dev: device vcodec_a mapped at f1000000, with 2 ctx banks
[    0.250419] msm_iommu_dev: device vcodec_b mapped at f1200000, with 2 ctx banks
[    0.250724] msm_iommu_dev: device gfx3d mapped at f1400000, with 3 ctx banks
[    0.250999] msm_iommu_dev: device jpegd mapped at f1600000, with 2 ctx banks
[    0.251243] msm_iommu_dev: device gfx3d1 mapped at f1800000, with 3 ctx banks
[    0.251518] msm_iommu_dev: device vcap mapped at f1a00000, with 2 ctx banks
[    0.252006] msm_iommu_ctx msm_iommu_ctx.2: context vpe_src using bank 0
[    0.252281] msm_iommu_ctx msm_iommu_ctx.3: context vpe_dst using bank 1
[    0.252586] msm_iommu_ctx msm_iommu_ctx.4: context mdp_port0_cb0 using bank 0
[    0.252830] msm_iommu_ctx msm_iommu_ctx.5: context mdp_port0_cb1 using bank 1
[    0.253105] msm_iommu_ctx msm_iommu_ctx.6: context mdp_port1_cb0 using bank 0
[    0.253471] msm_iommu_ctx msm_iommu_ctx.7: context mdp_port1_cb1 using bank 1
[    0.253715] msm_iommu_ctx msm_iommu_ctx.8: context rot_src using bank 0
[    0.253990] msm_iommu_ctx msm_iommu_ctx.9: context rot_dst using bank 1
[    0.254234] msm_iommu_ctx msm_iommu_ctx.10: context ijpeg_src using bank 0
[    0.254509] msm_iommu_ctx msm_iommu_ctx.11: context ijpeg_dst using bank 1
[    0.254814] msm_iommu_ctx msm_iommu_ctx.12: context vfe_imgwr using bank 0
[    0.255058] msm_iommu_ctx msm_iommu_ctx.13: context vfe_misc using bank 1
[    0.255363] msm_iommu_ctx msm_iommu_ctx.14: context vcodec_a_stream using bank 0
[    0.255608] msm_iommu_ctx msm_iommu_ctx.15: context vcodec_a_mm1 using bank 1
[    0.256035] msm_iommu_ctx msm_iommu_ctx.16: context vcodec_b_mm2 using bank 0
[    0.256554] msm_iommu_ctx msm_iommu_ctx.17: context gfx3d_user using bank 0
[    0.256920] msm_iommu_ctx msm_iommu_ctx.18: context gfx3d_priv using bank 1
[    0.257378] msm_iommu_ctx msm_iommu_ctx.0: context jpegd_src using bank 0
[    0.257836] msm_iommu_ctx msm_iommu_ctx.1: context jpegd_dst using bank 1
[    0.258263] msm_iommu_ctx msm_iommu_ctx.19: context gfx3d1_user using bank 0
[    0.258782] msm_iommu_ctx msm_iommu_ctx.20: context gfx3d1_priv using bank 1
[    0.259148] msm_iommu_ctx msm_iommu_ctx.21: context vcap_vc using bank 0
[    0.259575] msm_iommu_ctx msm_iommu_ctx.22: context vcap_vp using bank 1
[    0.260033] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.261010] Bluetooth: Core ver 2.16
[    0.261223] NET: Registered protocol family 31
[    0.261468] Bluetooth: HCI device and connection manager initialized
[    0.261620] Bluetooth: HCI socket layer initialized
[    0.261864] Bluetooth: L2CAP socket layer initialized
[    0.262292] Bluetooth: SCO socket layer initialized
[    0.263085] cfg80211: Calling CRDA to update world regulatory domain
[    0.264001] earjack debugger probed
[    0.265527] Switching to clocksource gp_timer
[    0.306271] NET: Registered protocol family 2
[    0.306760] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.307858] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.310209] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.311460] TCP: Hash tables configured (established 131072 bind 65536)
[    0.311704] TCP: reno registered
[    0.311857] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.312131] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.312742] NET: Registered protocol family 1
[    0.313352] Trying to unpack rootfs image as initramfs...
[    0.348451] Freeing initrd memory: 348K
[    0.350526] Detected 5 counters on the L2CC PMU.
[    0.352907] pil_qdsp6v4 pil_qdsp6v4.0: using secure boot
[    0.354890] pil_riva pil_riva: using secure boot
[    0.358614] pil_dsps pil_dsps: using secure boot
[    0.360323] pil_gss pil_gss: using secure boot
[    0.363009] smd_channel_probe_worker: allocation table not initialized
[    0.367892] msm_dsps driver version 4.02.
[    0.369296] NET: Registered protocol family 27
[    0.371890] lpass_fatal_init: lpass SSR driver init'ed.
[    0.372104] wcnss_8960: module initialized
[    0.372531] gss_8064_init: gss fatal driver init'ed.
[    0.373142] acpuclk-8064 acpuclk-8064: ACPU PVS: Fast
[    0.375614] acpuclk-8064 acpuclk-8064: CPU0: 12 frequencies supported
[    0.375827] acpuclk-8064 acpuclk-8064: CPU1: 12 frequencies supported
[    0.376010] acpuclk-8064 acpuclk-8064: CPU2: 12 frequencies supported
[    0.376102] acpuclk-8064 acpuclk-8064: CPU3: 12 frequencies supported
[    0.377598] kcal_ctrl_init
[    0.378177] persistent_ram: no valid data in buffer (sig = 0x4e4f524d)
[    0.379032] msm_rpm_log_probe: OK
[    0.382115] mdm_do_first_power_on: Powering on modem for the first time
[    0.410407] mdm_status_change: status = 1: mdm is now ready
[    0.456859] mdm_pblrdy_change: pbl ready:1
[    0.666381] mdm_common_create: Registering mdm modem
[    0.667266] usbcore: registered new interface driver hsic_sysmon
[    0.669159] highmem bounce pool size: 64 pages
[    0.679047] fuse init (API version 7.18)
[    0.679475] msgmni has been set to 1230
[    0.682252] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.682405] io scheduler noop registered
[    0.682527] io scheduler deadline registered
[    0.682862] io scheduler cfq registered (default)
[    0.683503] lm3530 probed
[    0.685792] mipi_dsi base phy_addr = 0x4700000 virt = 0xf1c00000
[    0.686036] mmss_sfpb  base phy_addr = 0x5700000,virt = 0xf0082000
[    0.686799] mipi_lgit_lcd_probe start
[    0.686952] setting pdata->panel_info.fb_num to 3. type: 8
[    0.699252] FrameBuffer[0] 768x1280 size=11796480 bytes is registered successfully!
[    0.699587] load_565rle_image: Can not open /initlogo.rle
[    0.700137] mdp4_dsi_vsync_init: ndx=0
[    0.701419] setting pdata->panel_info.fb_num to 1. type: 7
[    0.702273] FrameBuffer[1] 1920x1080 size=0 bytes is registered successfully!
[    0.702578] load_565rle_image: Can not open /initlogo.rle
[    0.702975] mdp4_dtv_vsync_init: ndx=0
[    0.703280] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group cf9a2608
[    0.704043] setting pdata->panel_info.fb_num to 1. type: 10
[    0.704410] Inside writeback_driver_init
[    0.704745] Inside writeback_probe
[    0.705356] FrameBuffer[2] 1280x720 size=0 bytes is registered successfully!
[    0.705661] load_565rle_image: Can not open /initlogo.rle
[    0.707309]
[    0.707309]  msm_vidc_enc: Inside vid_enc_init()
[    0.707706]
[    0.707706]  msm_vidc_enc: Inside vid_enc_vcd_init()
[    0.709171] msm_serial_hs module loaded
[    0.709598] msm_serial_hsl: detected port #0
[    0.709812] msm_serial_hsl.0: ttyHSL0 at MMIO 0x16340000 (irq = 184) is a MSM
[    0.710056] msm_serial_hsl: console setup on port #0
[    2.028811] console [ttyHSL0] enabled
[    2.032748] msm_serial_hsl: driver initialized
[    2.038425] msm_rotator_probe: rotator_hw_revision=2
[    2.047062] diagchar initialized now
[    2.051732] kgsl kgsl-3d0: |kgsl_iommu_init| MMU type set for device is IOMMU
[    2.074958] brd: module loaded
[    2.085151] loop: module loaded
[    2.090309] anx7808 init gpio
[    2.126415] anx7808 dvdd is already on
[    2.156416] sp_tx_hardware_poweron: anx7808 power on
[    2.161147] sp_tx_chip_located: ANX7808 BA is found.
[    2.166702] sp_tx_vbus_powerdown: 3.3V output disabled
[    2.226430] sp_tx_hardware_powerdown: anx7808 power down
[    2.230795] sp_tx_set_sys_state: SP_TX To System State:
[    2.235983] sp_tx_set_sys_state: STATE_CABLE_PLUG
[    2.241263] tabla2x-slim tabla2x-slim: Platform data from board file
[    2.343354] wcd9xxx_device_init : Codec version 2 initialized
[    2.349336] i2c-core: driver [tabla-i2c-core] using legacy suspend method
[    2.355257] i2c-core: driver [tabla-i2c-core] using legacy resume method
[    2.362704] bcm2079x-i2c 0-a1fa: bcm2079x_probe, probing bcm2079x driver flags = 10
[    2.369662] bcm2079x-i2c 0-a1fa: requesting IRQ 317
[    2.374546] bcm2079x-i2c 0-a1fa: bcm2079x_probe, probing bcm2079x driver exited successfully
[    2.383457] SCSI Media Changer driver v0.25
[    2.388097] tun: Universal TUN/TAP device driver, 1.6
[    2.392186] tun: (C) 1999-2004 Max Krasnyansky 
[    2.398565] rmnet_init: BAM devices[8]
[    2.408911] PPP generic driver version 2.4.2
[    2.412452] PPP BSD Compression module registered
[    2.416969] PPP Deflate Compression module registered
[    2.422462] PPP MPPE Compression module registered
[    2.426857] NET: Registered protocol family 24
[    2.431191] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[    2.440897] CSLIP: code copyright 1989 Regents of the University of California.
[    2.448283] wcnss_wlan probed in built-in mode
[    2.453135] usbcore: registered new interface driver asix
[    2.458049] usbcore: registered new interface driver cdc_ether
[    2.463787] usbcore: registered new interface driver net1080
[    2.469525] usbcore: registered new interface driver cdc_subset
[    2.475293] usbcore: registered new interface driver zaurus
[    2.481214] usbcore: registered new interface driver cdc_ncm
[    2.486708] usbcore: registered new interface driver rmnet_usb
[    2.493300] rmnet usb ctrl Initialized.
[    2.496474] msm_otg msm_otg: msm_otg probe
[    2.500412] msm_otg msm_otg: failed to get phy_clk
[    2.505386] msm_otg msm_otg: OTG regs = f009a000
[    2.512742] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.531603] msm_hsic_host msm_hsic_host: Qualcomm EHCI Host Controller using HSIC
[    2.538226] msm_hsic_host msm_hsic_host: new USB bus registered, assigned bus number 1
[    2.566458] msm_hsic_host msm_hsic_host: irq 261, io mem 0x12510000
[    2.586448] msm_hsic_host msm_hsic_host: USB 2.0 started, EHCI 1.00
[    2.591973] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.598687] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.605768] usb usb1: Product: Qualcomm EHCI Host Controller using HSIC
[    2.612452] usb usb1: Manufacturer: Linux 3.4.0-perf-g7ce11cd ehci_hcd
[    2.618983] usb usb1: SerialNumber: msm_hsic_host
[    2.623989] hub 1-0:1.0: USB hub found
[    2.627346] hub 1-0:1.0: 1 port detected
[    2.632412] usbcore: registered new interface driver cdc_acm
[    2.637173] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.645200] Initializing USB Mass Storage driver...
[    2.650083] usbcore: registered new interface driver usb-storage
[    2.656065] USB Mass Storage support registered.
[    2.660643] usbcore: registered new interface driver ums-alauda
[    2.666625] usbcore: registered new interface driver ums-cypress
[    2.672516] usbcore: registered new interface driver ums-datafab
[    2.678620] usbcore: registered new interface driver ums-freecom
[    2.684480] usbcore: registered new interface driver ums-isd200
[    2.690492] usbcore: registered new interface driver ums-jumpshot
[    2.696505] usbcore: registered new interface driver ums-karma
[    2.702365] usbcore: registered new interface driver ums-onetouch
[    2.708469] usbcore: registered new interface driver ums-sddr09
[    2.714268] usbcore: registered new interface driver ums-sddr55
[    2.720280] usbcore: registered new interface driver ums-usbat
[    2.726049] usbcore: registered new interface driver usbserial
[    2.731939] usbserial: USB Serial Driver core
[    2.736151] usbcore: registered new interface driver qcserial
[    2.741919] USB Serial support registered for Qualcomm USB modem
[    2.747962] usbcore: registered new interface driver qc_csvt
[    2.753578] USB Serial support registered for qc_csvt
[    2.758583] usbcore: registered new interface driver usb_ehset_test
[    2.764871] usbcore: registered new interface driver diag_bridge
[    2.770853] usbcore: registered new interface driver mdm_bridge
[    2.777201] msm_otg msm_otg: phy_reset: success
[    2.781870] msm_hsusb msm_hsusb: [ci13xxx_start] hw_ep_max = 32
[    2.787303] mbim_init: initialize 1 instances
[    2.791484] mbim_init: Initialized 1 ports
[    2.797466] rndis_qc_init: initialize rndis QC instance
[    2.802197] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.808637] android_usb gadget: Number of LUNs=1
[    2.813276]  lun0: LUN: removable file: (no medium)
[    2.818495] android_usb gadget: android_usb ready
[    2.824202] input: keypad_8064 as /devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-keypad/input/input1
[    2.833633] [Touch D]touch enable
[    3.006592] usb 1-1: new high-speed USB device number 2 using msm_hsic_host
[    3.064306] usb 1-1: New USB device found, idVendor=05c6, idProduct=9008
[    3.070166] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.077308] usb 1-1: Product: QHSUSB__BULK
[    3.081245] usb 1-1: Manufacturer: Qualcomm CDMA Technologies MSM
[    3.088539] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[    3.094155] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[    3.246604] input: touch_dev as /devices/virtual/input/input2
[    3.253746] [Touch] common[1] finger[17] flash[52] button[0]
[    3.259545] [Touch] IC is 7020, H pattern, panel is G2, Firmware: E027.
[    3.266778] [Touch] fw_rev[0:0] product_id[PLG137:PLG137] force_upgrade[0]
[    3.266809] [Touch] Touch driver is initialized
[    3.267999] using rtc device, pm8xxx_rtc, for alarms
[    3.268029] rtc-pm8xxx rtc-pm8xxx: rtc core: registered pm8xxx_rtc as rtc0
[    3.268426] i2c /dev entries driver
[    3.269159] usbcore: registered new interface driver uvcvideo
[    3.269159] USB Video Class driver (1.1.1)
[    3.270227] __jrchoi: msm_sensor_init_module: E
[    3.297665] msm_eeprom_probe probe_fail
[    3.298031] msm_server_update_sensor_info mctl_node_name[0] = video1
[    3.317442] [Touch] DO NOT UPDATE 7020 G2 H pattern FW-upgrade is not executed
[    3.326140] msm_eeprom_probe probe_fail
[    3.329467] msm_server_update_sensor_info mctl_node_name[1] = video3
[    3.339081] msm_cam_server_request_irq IRQ Router hw is not present.
[    3.345032] lm3559_init
[    3.373508] pm8xxx_tm_probe: OK
[    3.376804] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    3.384892] cpuidle: using governor ladder
[    3.388463] cpuidle: using governor menu
[    3.392766] mmc0: SDCC Version: 0x0000001a
[    3.397588] mmc0: bam physical base=0x12402000
[    3.401068] mmc0: bam virtual base=0xf00ac000
[    3.405493] sps:BAM 0x12402000 is registered.
[    3.409705] mmc0: BAM device registered. bam_handle=0xef018800
[    3.415626] sps:REVISION of BAM 0xf00ac000 is 0x5.
[    3.420692] mmc0: Qualcomm MSM SDCC-BAM at 0x0000000012402000 irq 130
[    3.426918] mmc0: Qualcomm MSM SDCC-DML at 0x0000000012400800
[    3.432534] mmc0: No card detect facilities available
[    3.439462] mmc0: Qualcomm MSM SDCC-core at 0x0000000012400000 irq 136,0 dma -1 dmacrcri -1
[    3.446879] mmc0: Controller capabilities: 0x0000039e
[    3.451976] mmc0: 8 bit data mode enabled
[    3.455882] mmc0: 4 bit data mode disabled
[    3.460094] mmc0: polling status mode disabled
[    3.464397] mmc0: MMC clock 400000 -> 96000000 Hz, PCLK 0 Hz
[    3.470166] mmc0: Slot eject status = 0
[    3.473859] mmc0: Power save feature enable = 1
[    3.478406] mmc0: SPS-BAM data transfer mode available
[    3.484175] usbcore: registered new interface driver usbhid
[    3.489088] usbhid: USB HID core driver
[    3.503891] ashmem: initialized
[    3.506210] logger: created 256K log 'log_main'
[    3.515763] logger: created 256K log 'log_events'
[    3.524736] logger: created 256K log 'log_radio'
[    3.533679] logger: created 256K log 'log_system'
[    3.564565] coresight-tpiu coresight-tpiu.0: TPIU initialized
[    3.575064] coresight-etb coresight-etb.0: ETB initialized
[    3.580131] coresight-funnel coresight-funnel.0: FUNNEL initialized
[    3.587944] coresight-etm coresight-etm.0: ETM initialized
[    3.593499] coresight-etm coresight-etm.1: ETM initialized
[    3.599206] coresight-etm coresight-etm.2: ETM initialized
[    3.604822] coresight-etm coresight-etm.3: ETM initialized
[    3.610010] usbcore: registered new interface driver snd-usb-audio
[    3.617152] tabla_probe
[    3.619471] amp_enable: amp enable bypass(2)
[    3.622981] amp_enable: AMP_EN is set to 0
[    3.627987] msm_pcm_probe: dev name msm-voip-dsp
[    3.632076] msm-dai-q6-mi2s msm-dai-q6-mi2s: msm_dai_q6_mi2s_platform_data_validation: playback sdline 0 capture sdline 8
[    3.642728] msm-dai-q6-mi2s msm-dai-q6-mi2s: msm_dai_q6_mi2s_platform_data_validation: playback ch_max 0 capture ch_mx 8
[    3.654814] msm_pcm_probe: dev name msm-pcm-dsp
[    3.658843] msm_pcm_probe: dev name msm-multi-ch-pcm-dsp
[    3.664123] msm_pcm_probe: dev name msm-lowlatency-pcm-dsp
[    3.670196] msm_compr_probe: dev name msm-compr-dsp
[    3.674896] msm-pcm-lpa msm-pcm-lpa: msm_pcm_probe: dev name msm-pcm-lpa
[    3.682038] msm8930_audio_init: Not the right machine type
[    3.686677] msm_audio_init: Not the right machine type
[    3.686708] mmc0: new HS200 MMC card at address 0001
[    3.696902] mmcblk0: mmc0:0001 016G92 14.6 GiB
[    3.707095] Alternate GPT is invalid, using primary GPT.
[    3.711826]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25
[    3.763894] asoc: snd-soc-dummy-dai  MultiMedia1 mapping ok
[    3.769845] asoc: snd-soc-dummy-dai  MultiMedia2 mapping ok
[    3.775553] asoc: snd-soc-dummy-dai  CS-VOICE mapping ok
[    3.781229] asoc: snd-soc-dummy-dai  VoIP mapping ok
[    3.786296] asoc: snd-soc-dummy-dai  MultiMedia3 mapping ok
[    3.792278] asoc: snd-soc-dummy-dai  SLIMBUS0_HOSTLESS mapping ok
[    3.798596] asoc: snd-soc-dummy-dai  INT_FM_HOSTLESS mapping ok
[    3.804639] asoc: msm-stub-rx  msm-dai-q6.241 mapping ok
[    3.810193] asoc: msm-stub-tx  msm-dai-q6.240 mapping ok
[    3.815901] asoc: snd-soc-dummy-dai  MultiMedia4 mapping ok
[    3.821669] asoc: snd-soc-dummy-dai  AUXPCM_HOSTLESS mapping ok
[    3.828139] asoc: snd-soc-dummy-dai  HDMI_HOSTLESS mapping ok
[    3.834091] asoc: snd-soc-dummy-dai  VOICE_STUB mapping ok
[    3.839920] asoc: snd-soc-dummy-dai  VoLTE mapping ok
[    3.845139] asoc: snd-soc-dummy-dai  MultiMedia5 mapping ok
[    3.851579] asoc: tabla_rx1  msm-dai-q6.16384 mapping ok
[    3.860796] asoc: tabla_tx1  msm-dai-q6.16385 mapping ok
[    3.866168] asoc: msm-stub-rx  msm-dai-q6.12288 mapping ok
[    3.871905] asoc: msm-stub-tx  msm-dai-q6.12289 mapping ok
[    3.877704] asoc: msm-stub-rx  msm-dai-q6.12292 mapping ok
[    3.883351] asoc: msm-stub-tx  msm-dai-q6.12293 mapping ok
[    3.889241] asoc: msm-stub-rx  msm-dai-q6-hdmi.8 mapping ok
[    3.894857] asoc: msm-stub-rx  msm-dai-q6.224 mapping ok
[    3.900503] asoc: msm-stub-tx  msm-dai-q6.225 mapping ok
[    3.905936] asoc: msm-stub-rx  msm-dai-q6.2 mapping ok
[    3.911521] asoc: msm-stub-tx  msm-dai-q6.3 mapping ok
[    3.916831] asoc: tabla_rx2  msm-dai-stub mapping ok
[    3.921959] asoc: tabla_tx1  msm-dai-stub mapping ok
[    3.927453] asoc: msm-stub-rx  msm-dai-q6.16386 mapping ok
[    3.933343] asoc: msm-stub-tx  msm-dai-q6.16387 mapping ok
[    3.939020] asoc: tabla_tx2  msm-dai-q6.16389 mapping ok
[    3.944575] asoc: tabla_rx3  msm-dai-q6.16388 mapping ok
[    3.950099] asoc: msm-stub-rx  msm-dai-q6.16392 mapping ok
[    3.955806] asoc: msm-stub-tx  msm-dai-q6.16393 mapping ok
[    3.961483] asoc: tabla_tx3  msm-dai-stub mapping ok
[    3.966793] asoc: msm-stub-rx  msm-dai-q6.16390 mapping ok
[    3.972409] asoc: msm-stub-tx  msm-dai-q6.16391 mapping ok
[    3.980344] input: apq8064-tabla-snd-card Button Jack as /devices/platform/soc-audio.0/sound/card0/input3
[    3.989378] input: apq8064-tabla-snd-card Headset Jack as /devices/platform/soc-audio.0/sound/card0/input4
[    4.003235] oprofile: using arm/armv7-krait
[    4.006745] u32 classifier
[    4.009156]     Actions configured
[    4.012543] Netfilter messages via NETLINK v0.30.
[    4.017427] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    4.024111] ctnetlink v0.93: registering with nfnetlink.
[    4.028811] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    4.035556] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    4.041843] xt_time: kernel timezone is -0000
[    4.046238] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.051426] arp_tables: (C) 2002 David S. Miller
[    4.055699] TCP: cubic registered
[    4.059026] Initializing XFRM netlink socket
[    4.063909] NET: Registered protocol family 10
[    4.070288] Mobile IPv6
[    4.071905] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    4.077491] IPv6 over IPv4 tunneling driver
[    4.082038] NET: Registered protocol family 17
[    4.085884] NET: Registered protocol family 15
[    4.090553] Bluetooth: RFCOMM TTY layer initialized
[    4.095315] Bluetooth: RFCOMM socket layer initialized
[    4.100320] Bluetooth: RFCOMM ver 1.11
[    4.104013] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.109507] Bluetooth: BNEP filters: protocol multicast
[    4.114512] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.120708] L2TP core driver, V2.0
[    4.123821] PPPoL2TP kernel driver, V2.0
[    4.129375] VFP support v0.3: implementor 51 architecture 64 part 6f variant 0 rev 2
[    4.136303] Registering SWP/SWPB emulation handler
[    4.167007] clock_late_init: Removing enables held for handed-off clocks
[    4.184617] MSM Watchdog Initialized
[    4.196154] registered taskstats version 1
[    4.199816] rtc-pm8xxx rtc-pm8xxx: setting system clock to 2013-05-23 18:25:15 UTC (1369333515)
[    4.208789] read_ocv_trim: program rev reg is 0x4d
[    4.212757] pm8921_is_usb_chg_plugged_in: called before init
[    4.220662] pm8921_is_usb_chg_plugged_in: called before init
[    4.226522] pm8921_is_usb_chg_plugged_in: called before init
[    4.231313] ocv_ir_compensation: comp ocv = 4315795, ocv = 4316868, ibatt_ua = -4900, rbatt_mohm = 219
[    4.240531] read_soc_params_raw: discard shutdown soc! cc_raw = 0x206a40
[    4.247337] calculate_unusable_charge_uah: Using shutdown_iavg_ma = 500 in all samples
[    4.255119] pm8921_is_batfet_closed: called before init
[    4.286616] pm8921_is_usb_chg_plugged_in: called before init
[    4.291347] adjust_soc: ibat_ua = 365600, vbat_uv = 4259823, soc = 100, batt_temp=321
[    4.301327] pm8921_get_batt_state: called before init
[    4.305447] pm8921_bms_probe: OK battery_capacity_at_boot=100 volt = 4258041 ocv = 4315795
[    4.314603] power_supply usb: driver failed to report `present' property: 4294967274
[    4.321471] power_supply usb: driver failed to report `present' property: 4294967274
[    4.329192] power_supply pm8921-dc: driver failed to report `present' property: 4294967274
[    4.337433] power_supply pm8921-dc: driver failed to report `present' property: 4294967274
[    4.346772] pm8921_get_batt_state: called before init
[    4.353090] pm8921_get_batt_state: called before init
[    4.362734] wlc: bq51051b_wlc_probe: probe
[    4.366000] wlc: bq51051b_wlc_hw_init: hw_init
[    4.370425] power_supply wireless: driver failed to report `present' property: 4294967274
[    4.378818] batt_temp_ctrl_init
[    4.381748] batt_temp_ctrl_probe
[    4.385441] android_vibrator: default amplitude 88
[    4.389836] android vibrator probed
[    4.393956] input: hs_detect as /devices/virtual/input/input5
[    4.399084] ALSA device list:
[    4.401892]   #0: apq8064-tabla-û[    4.406714] Freeing init memory: 1036K
[    4.429177] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[    4.568564] keychord: using input dev pmic8xxx_pwrkey for fevent
[    4.573660] keychord: using input dev keypad_8064 foò[    4.579612] init: cannot open '/initlogo.rle'
[    4.745856] EXT4-fs (mmcblk0p21): mounted filesystem with ordered data mode. Opts: barrier=1
[    4.762734] EXT4-fs (mmcblk0p22): recovery complete
[    4.767373] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    4.856828] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/msm_sdcc.1/by-name/cache
[    4.898886] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered
[    5.037021] msm_otg msm_otg: Avail curr from USB = 500
[    5.041416] msm_otg msm_otg: current: 0 -> 500 (mA)
[    5.046085] pm_power_set_property_usb: usb_target_ma 0
[    5.053898] msm_hsusb msm_hsusb: CI13XXX_CONTROLLER_RESET_EVENT received
[    5.062078] EXT4-fs (mmcblk0p23): recovery complete
[    5.066748] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    5.137311] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/msm_sdcc.1/by-name/userdata
[    5.160598] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,noauto_da_alloc
[    5.179154] EXT4-fs (mmcblk0p20): recovery complete
[    5.183793] EXT4-fs (mmcblk0p20): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nodelalloc
[    5.207080] unplug_check_worker: Stopping Unplug Check Worker USB == 500mA
[    5.249778] wcnss_wlan triggered by userspace
[    5.421150] pil pil1: wcnss: Brought out of reset
[    5.425026] wcnss_8960: Subsystem restart activated for riva.
[    5.462963] pil pil4: gss: Failed to locate gss.mdt
[    5.469098] pil pil4: gss: Failed to locate gss.mdt
[    5.475537] pil pil4: gss: Failed to locate gss.mdt
[    5.483595] pil pil4: gss: Failed to locate gss.mdt
[    5.494613] init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
[    5.503250] init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
[    5.513200] init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
[    5.582939] warning: `rild' uses 32-bit capabilities (legacy support in use)
[    5.625118] msm_thermal: enabled = 0
[    5.639066] enable_store: android_usb: already disabled
[    5.643461] enable_store: android_usb: already disabled
[    5.649473] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
[    5.734442] QSEECOM: qseecom_load_app: App (keymaster) does not exist, loading apps for first time
[    5.767739] mdm_modem_ioctl: Powering on mdm
[    5.773355] adb_open
[    5.774546] mtp_bind_config
[    5.778696] QSEECOM: qseecom_load_app: App with id 1 (keymaster) now loaded
[    5.779917] adb_bind_config
[    5.848954] wcnss_wlan_ctrl_probe: SMD ctrl channel up
[    5.898031] mdp4_dtv_start: 
[    5.906516] dtv_on: tv_src_clk=148500kHz, pm_qos_rate=148500kHz, [0]
[    5.912498] hdmi_msm hdmi_msm.1: power: ON (1920x1080 148500000)
[    5.917900] hdmi_msm hdmi_msm.1: power=OFF DVI= OFF
[    5.922783] mdp4_dtv_on:
[    5.925286] mdp4_mixer_blend_setup: Error: no bg_pipe at mixer=1
[    5.925591] pil pil3: dsps: Brought out of reset
[    5.935968] hdmi_msm hdmi_msm.1: power: OFF (audio off, Reset Core)
[    5.942102] hdmi_msm hdmi_msm.1: HDMI Audio: Disabled
[    5.947199] dtv_off
[    5.951777] mdp4_dtv_off:
[    5.953822] hdmi_msm hdmi_msm.1: hdmi_msm_hpd_feature: 1
[    5.996245] android_work: android_work: did not send uevent (0 0   (null))
[    6.066809] android_work: android_work: sent uevent USB_STATE=CONNECTED
[    6.072607] msm_hsusb msm_hsusb: [ep_free_request] EBUSY
[    6.078834] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[    6.107340] mipi_dsi_controller_cfg: DSI status=8 failed
[    6.111857] mipi_dsi_panel_power: mipi lcd function started status = 1
[    6.118510] ext_dsv_load: Failed to create debugfs directory
[    6.125896]  mipi_dsi_panel_power : reset start.
[    6.150801] mipi_lgit_lcd_on started
[    6.158736] android_work: android_work: sent uevent USB_STATE=CONNECTED
[    6.166854] android_usb gadget: high-speed config #1: android_usb
[    6.180161] mipi_lgit_lcd_on finished
[    6.227773] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[    6.260125] msm_ipc_router_create: Do not have permissions
[    6.654845] mdp4_overlay_mdp_perf_upd mdp clk is changed [1] from 0 to 96000000
[    6.665130] mdp4_overlay_mdp_perf_upd mdp bw is changed [1] from 4 to 1
[    7.077308] hdmi_msm hdmi_msm.1: HDMI HPD: event detected
[    7.081855] hdmi_msm hdmi_msm.1: HDMI HPD: QDSP OFF
[    7.097512] hdmi_msm hdmi_msm.1: hdmi_audio state switched to 0: hdmi_msm_hpd_state_work
[    7.104715] hdmi_msm hdmi_msm.1: Hdmi state switched to 0: hdmi_msm_hpd_state_work
[    7.127300] hdmi_msm hdmi_msm.1: HDMI HPD: DISCONNECTED: send OFFLINE
[   10.067327] msm_ta_detect_work: USB exit ta detection - frindex
[   12.666687] mdm_modem_ioctl: normal boot done
[   12.676026] mdm_pblrdy_change: pbl ready:0
[   13.002716] request_suspend_state: wakeup (3->0) at 13005440488 (2013-05-23 18:25:24.288947558 UTC)
[   13.121257] lowmem_shrink: convert oom_adj to oom_score_adj:
[   13.126567] oom_adj 0 => oom_score_adj 0
[   13.129925] oom_adj 1 => oom_score_adj 58
[   13.133831] oom_adj 2 => oom_score_adj 117
[   13.137982] oom_adj 4 => oom_score_adj 235
[   13.141980] oom_adj 9 => oom_score_adj 529
[   13.146070] oom_adj 15 => oom_score_adj 1000
[   13.318266] mdm_status_change: status = 1: mdm is now ready
[   13.360628] msm_hsic_host msm_hsic_host: remove, state 1
[   13.365145] usb usb1: USB disconnect, device number 1
[   13.370334] usb 1-1: USB disconnect, device number 2
[   13.377140] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[   13.385136] qcserial 1-1:1.0: device disconnected
[   13.391790] msm_hsic_host msm_hsic_host: USB bus 1 deregistered
[   13.410224] msm_hsic_host msm_hsic_host: Qualcomm EHCI Host Controller using HSIC
[   13.416847] msm_hsic_host msm_hsic_host: new USB bus registered, assigned bus number 1
[   13.447337] msm_hsic_host msm_hsic_host: irq 261, io mem 0x12510000
[   13.467633] msm_hsic_host msm_hsic_host: USB 2.0 started, EHCI 1.00
[   13.473096] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   13.479749] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.486952] usb usb1: Product: Qualcomm EHCI Host Controller using HSIC
[   13.493697] usb usb1: Manufacturer: Linux 3.4.0-perf-g7ce11cd ehci_hcd
[   13.500137] usb usb1: SerialNumber: msm_hsic_host
[   13.505783] hub 1-0:1.0: USB hub found
[   13.508683] hub 1-0:1.0: 1 port detected
[   13.877338] usb 1-1: new high-speed USB device number 2 using msm_hsic_host
[   13.941309] usb 1-1: New USB device found, idVendor=05c6, idProduct=9048
[   13.947138] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[   13.954249] usb 1-1: Product: Qualcomm CDMA Technologies MSM
[   13.959865] usb 1-1: Manufacturer: Qualcomm, Incorporated
[   13.976224] qcserial 1-1:1.2: Qualcomm USB modem converter detected
[   13.982542] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[   13.994811] rmnet_usb 1-1:1.5: rmnet_usb0: register 'rmnet_usb' at usb-msm_hsic_host-1, RmNET net device, de:71:42:52:fa:c5
[   14.012391] rmnet_usb 1-1:1.6: rmnet_usb1: register 'rmnet_usb' at usb-msm_hsic_host-1, RmNET net device, de:71:42:52:fa:c5
[   14.101297] rmnet_usb 1-1:1.7: rmnet_usb2: register 'rmnet_usb' at usb-msm_hsic_host-1, RmNET net device, de:71:42:52:fa:c5
[   14.189256] rmnet_usb 1-1:1.8: rmnet_usb3: register 'rmnet_usb' at usb-msm_hsic_host-1, RmNET net device, de:71:42:52:fa:c5
[   15.277857] msm_ipc_router_create: Do not have permissions
[   15.293728] msm_ipc_router_create: Do not have permissions
[   15.318144] msm_ipc_router_create: Do not have permissions
[   15.333740] msm_ipc_router_create: Do not have permissions
[   15.877308] wcnss_post_bootup: Cancel APPS vote for Iris & Riva
[   15.985960] pil pil0: q6: Brought out of reset
[   16.019899] apr_tal:Q6 Is Up
[   16.022615] apr_tal: SMD_EVENT_OPEN
[   16.301480] apr_tal: SMD_EVENT_OPEN
[   16.521165] acc_open
[   16.522539] acc_release
[   17.634121] mtp_open
[   21.373660] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
[   25.067511] adjust_soc: ibat_ua = -192900, vbat_uv = 4357599, soc = 99, batt_temp=323
[   25.354310] init: untracked pid 1389 exited
[   45.107736] adjust_soc: ibat_ua = -168200, vbat_uv = 4361769, soc = 99, batt_temp=325
[   52.129467] lm3530_backlight_off, on: 1
[   52.157851] lm3530_backlight_off, on: 0
[   52.190172] mdp4_mixer_blend_setup: Error: no bg_pipe at mixer=0
[   52.190202] mipi_dsi_ahb_ctrl: ahb clks already ON
[   52.190202] mipi_dsi_clk_enable: mipi_dsi_clks already ON
[   52.190202] mipi_lgit_lcd_off started
[   52.317320] mipi_lgit_lcd_off finished
[   52.319975] mipi_dsi_panel_power: mipi lcd function started status = 0
[   52.322081] lm3530_backlight_off, on: 0
[   52.359377] request_suspend_state: sleep (0->3) at 52362101520 (2013-05-23 18:26:03.645608590 UTC)
[   52.367923] [Touch D]touch disable
[   52.400274] dtv_pipe is not configured yet
[   52.405157] active wake lock PowerManagerService.Broadcasts
[   52.409766] active wake lock pm8921_eoc
[   52.413642] active wake lock msm_otg
[   52.417182] PM: Syncing filesystems...
[   52.422462] sync done.
[   65.148481] adjust_soc: ibat_ua = -237100, vbat_uv = 4376073, soc = 99, batt_temp=325
[   85.107797] adjust_soc: ibat_ua = -222600, vbat_uv = 4377264, soc = 99, batt_temp=324
[  105.107767] adjust_soc: ibat_ua = -210800, vbat_uv = 4377561, soc = 99, batt_temp=322
[  125.107767] adjust_soc: ibat_ua = -157000, vbat_uv = 4369515, soc = 99, batt_temp=321
[  145.108438] adjust_soc: ibat_ua = -155200, vbat_uv = 4370115, soc = 99, batt_temp=320
[  165.108408] adjust_soc: ibat_ua = -151300, vbat_uv = 4370115, soc = 99, batt_temp=319
[  185.107736] adjust_soc: ibat_ua = -148000, vbat_uv = 4370115, soc = 99, batt_temp=317
[  205.107797] adjust_soc: ibat_ua = -144600, vbat_uv = 4370409, soc = 99, batt_temp=317
[  225.107767] adjust_soc: ibat_ua = -142900, vbat_uv = 4370409, soc = 99, batt_temp=316
[  245.107767] adjust_soc: ibat_ua = -140700, vbat_uv = 4370409, soc = 99, batt_temp=315
[  265.108408] adjust_soc: ibat_ua = -137900, vbat_uv = 4370709, soc = 99, batt_temp=315
[  285.107767] adjust_soc: ibat_ua = -134600, vbat_uv = 4370709, soc = 99, batt_temp=314
[  305.148512] adjust_soc: ibat_ua = -132300, vbat_uv = 4370709, soc = 99, batt_temp=313
[  325.067816] adjust_soc: ibat_ua = -129500, vbat_uv = 4371009, soc = 99, batt_temp=312

We hope you enjoy your cable and find success in your research efforts.

Updated on 05/31/2013 to be a little bit safer. With Android devices, UART debug cables allow developers to view low level debugging information on the phone. Access to boot loader and console output allows debugging the kernel and user-space programs in real time. Further, interactive kernel debugging can be accomplished by building a custom debug kernel. Since [...]
Read More

Joshua J. Drake

Practice Manager

Joshua Drake is practice manager of Accuvant LABS’ research and development practice. His focus is on original research in areas such as vulnerability discovery and analysis, exploitation technologies, reverse engineering and tool development.

Ryan Smith

Vice President, Chief Scientist

Ryan Smith is the chief scientist with Accuvant LABS’ research practice. Ryan has expertise in the areas of vulnerability discovery, exploitation methods, reverse-compilation and anti-debugging.

comments powered by Disqus