Motorola Photon Q (motorola-asanti)

This page documents the status of mainline Linux on the Motorola Photon Q (XT897)!

How to enter flash mode
Hold and  until the notification LED blinks, then release power and the device will boot into fastboot

Fastboot
Install fastboot on your host, refer to Google for instructions.

Unlock the bootloader
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

Partition map
lrwxrwxrwx   1 root     root          20 Jan  1 00:59 aboot -> /dev/block/mmcblk0p5 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 abootBackup -> /dev/block/mmcblk0p12 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 boot -> /dev/block/mmcblk0p31 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 cache -> /dev/block/mmcblk0p36 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 carriercust -> /dev/block/mmcblk0p35 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 cdrom -> /dev/block/mmcblk0p38 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 cid -> /dev/block/mmcblk0p28 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 devtree -> /dev/block/mmcblk0p30 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 dhob -> /dev/block/mmcblk0p21 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 fsg -> /dev/block/mmcblk0p24 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 hob -> /dev/block/mmcblk0p20 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 kpan -> /dev/block/mmcblk0p33 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 logo -> /dev/block/mmcblk0p29 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 mbl -> /dev/block/mmcblk0p19 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 misc -> /dev/block/mmcblk0p26 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 modem -> /dev/block/mmcblk0p1 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 modemst1 -> /dev/block/mmcblk0p17 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 modemst2 -> /dev/block/mmcblk0p18 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 padA -> /dev/block/mmcblk0p9 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 padB -> /dev/block/mmcblk0p16 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 pds -> /dev/block/mmcblk0p27 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 persist -> /dev/block/mmcblk0p22 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 recovery -> /dev/block/mmcblk0p32 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 rpm -> /dev/block/mmcblk0p6 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 rpmBackup -> /dev/block/mmcblk0p13 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 sbl1 -> /dev/block/mmcblk0p2 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 sbl2 -> /dev/block/mmcblk0p3 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 sbl2Backup -> /dev/block/mmcblk0p10 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 sbl3 -> /dev/block/mmcblk0p4 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 sbl3Backup -> /dev/block/mmcblk0p11 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 sp -> /dev/block/mmcblk0p25 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 ssd -> /dev/block/mmcblk0p23 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 system -> /dev/block/mmcblk0p37 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 tombstones -> /dev/block/mmcblk0p34 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 tz -> /dev/block/mmcblk0p7 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 tzBackup -> /dev/block/mmcblk0p14 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 userdata -> /dev/block/mmcblk0p39 lrwxrwxrwx   1 root     root          20 Jan  1 00:59 utags -> /dev/block/mmcblk0p8 lrwxrwxrwx   1 root     root          21 Jan  1 00:59 utagsBackup -> /dev/block/mmcblk0p15

GPIO info
130|xt897:/ # cat /d/gpio GPIOs 0-151, msmgpio: gpio-1  (USB_HOST_EN         ) out lo gpio-2   (camflash_en         ) out hi gpio-6   (spi_mosi            ) in  lo gpio-7   (spi_miso            ) in  lo gpio-9   (spi_clk             ) in  lo gpio-11  (SLIDE               ) in  lo gpio-12  (lm3532_reset        ) in  lo gpio-13  (disp_5v_en          ) out lo gpio-18  (WHISPER_UART_TX_GPIO) out hi gpio-19  (WHISPER_UART_RX_GPIO) in  hi gpio-20  (i2c_sda             ) in  hi gpio-21  (i2c_clk             ) in  hi gpio-24  (RF_CONN_DET_2G3G    ) in  lo gpio-25  (RF_CONN_DET_LTE_1   ) in  lo gpio-46  (touch_irq           ) in  hi gpio-47  (vib_en              ) out lo gpio-49  (ct406 proximity int ) in  hi gpio-50  (touch_reset         ) out hi gpio-51  (nfc_firm            ) out lo gpio-67  (tmp105_intr         ) in  hi gpio-68  (nfc_ven             ) out hi gpio-73  (i2c_sda             ) in  hi gpio-74  (i2c_clk             ) in  hi gpio-75  (Factory Kill Disable) out hi gpio-79  (vib_dir             ) out lo gpio-81  (RF_CONN_DET_LTE_2   ) in  lo gpio-84  (wcnss_gpios_5wire   ) in  lo gpio-85  (wcnss_gpios_5wire   ) in  lo gpio-86  (wcnss_gpios_5wire   ) in  lo gpio-87  (wcnss_gpios_5wire   ) in  lo gpio-88  (wcnss_gpios_5wire   ) in  lo gpio-93  (w1                  ) in  hi gpio-96  (EMU_MUX_CTRL1_GPIO  ) out lo gpio-99  (HDMI_CEC_VAR        ) in  hi gpio-100 (HDMI_DDC_CLK        ) in  hi gpio-101 (HDMI_DDC_DATA       ) in  hi gpio-102 (HDMI_HPD            ) in  lo gpio-106 (nfc_irq             ) in  lo gpio-107 (EMU_MUX_CTRL0_GPIO  ) out hi

GPIOs 152-195, platform/pm8xxx-gpio, pm-gpio, can sleep: gpio-152 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-153 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-154 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-155 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-156 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-157 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-158 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-159 (--         ) in         lo 0x05 0x10 0x24 0x30 0x40 0x50 gpio-160 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-161 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-162 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-163 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-164 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-165 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-166 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-167 (--         ) out        lo 0x05 0x1a 0x2a 0x3c 0x44 0x50 gpio-168 (--         ) out        lo 0x01 0x18 0x2a 0x35 0x46 0x58 gpio-169 (--         ) out        lo 0x05 0x18 0x2a 0x38 0x40 0x58 gpio-170 (--         ) out        lo 0x01 0x18 0x2a 0x35 0x46 0x58 gpio-171 (SD_HW_Detect) in        lo 0x05 0x10 0x20 0x30 0x40 0x58 gpio-172 (DMINUS_GPIO ) out       lo 0x0d 0x18 0x22 0x38 0x42 0x58 gpio-173 (TX_PAIR_GPIO) in        hi 0x05 0x10 0x22 0x38 0x42 0x58 gpio-174 (SEMU_PPD_DET) in        hi 0x0d 0x10 0x2a 0x3c 0x40 0x58 gpio-175 (red        ) out        lo 0x05 0x18 0x2a 0x34 0x46 0x58 gpio-176 (green      ) out        lo 0x05 0x18 0x2a 0x34 0x46 0x58 gpio-177 (blue       ) out        lo 0x05 0x18 0x2a 0x34 0x46 0x58 gpio-178 (--         ) out        lo 0x07 0x19 0x2a 0x38 0x40 0x58 gpio-179 (--         ) out        lo 0x01 0x18 0x2a 0x34 0x44 0x58 gpio-180 (--         ) out        lo 0x05 0x10 0x2a 0x38 0x42 0x58 gpio-181 (--         ) out        lo 0x07 0x18 0x2a 0x38 0x42 0x58 gpio-182 (--         ) out        lo 0x01 0x18 0x2a 0x35 0x46 0x58 gpio-183 (--         ) out        lo 0x01 0x18 0x2a 0x34 0x44 0x58 gpio-184 (VOLUME_DOWN ) in        hi 0x05 0x10 0x20 0x30 0x40 0x58 gpio-185 (CDC_RESET  ) out        hi 0x05 0x19 0x2a 0x38 0x40 0x58 gpio-186 (SEMU_ALT_MOD) out       lo 0x0d 0x18 0x2a 0x3d 0x40 0x58 gpio-187 (SIM_DET    ) in         lo 0x01 0x10 0x2a 0x35 0x46 0x58 gpio-188 (--         ) in         lo 0x01 0x10 0x2a 0x35 0x46 0x58 gpio-189 (--         ) in         hi 0x0d 0x10 0x2a 0x30 0x40 0x58 gpio-190 (--         ) in         hi 0x05 0x10 0x2a 0x30 0x40 0x58 gpio-191 (--         ) out        lo 0x01 0x18 0x2a 0x34 0x44 0x58 gpio-192 (DPLUS_GPIO ) in         hi 0x0d 0x10 0x22 0x38 0x42 0x58 gpio-193 (RX_PAIR_GPIO) out       lo 0x05 0x18 0x22 0x38 0x42 0x58 gpio-194 (disp_rst_n ) out        lo 0x05 0x18 0x2a 0x34 0x40 0x58 gpio-195 (--         ) in         lo 0x05 0x10 0x2a 0x35 0x46 0x58

GPIOs 196-207, platform/pm8xxx-mpp.0, pm8xxx-mpp, can sleep: gpio-196 (--         ) sink       lo 0xa0 gpio-197 (--         ) d_out      lo 0x3c gpio-198 (--         ) sink       lo 0xa0 gpio-199 (--         ) d_out      lo 0x3c gpio-200 (--         ) a_out      lo 0x85 gpio-201 (--         ) sink       lo 0xa0 gpio-202 (ext_5v_en  ) d_out      hi 0x25 gpio-203 (--         ) a_in       lo 0x6c gpio-204 (DMB_PPD_DET_) d_in      hi 0x10 gpio-205 (EMU_SCI_OUT_) d_in      lo 0x10 gpio-206 (--         ) bi_dir     lo 0x44 gpio-207 (--         ) bi_dir     lo 0x51

Example downstream kernel cmdline: oops=panic console=null androidboot.hardware=qcom user_debug=31 loglevel=1 androidboot.emmc=true androidboot.serialno=T025701P3K androidboot.baseband=msm androidboot.mode=normal androidboot.bootloader=0x109B battery= mot_sst=0 androidboot.carrier=sprint

Maintainers

 * Caleb