Motorola Moto X (motorola-ghost)

From postmarketOS Wiki
(Redirected from Moto X)
Motorola Moto X
Moto X
Moto X
Manufacturer Motorola
Name Moto X
Codename motorola-ghost
Released 2013
Type handset
Hardware
Chipset Qualcomm Snapdragon S4 Pro (MSM8960DT)
CPU Dual-core Krait 200 1.7 GHz
GPU Adreno 320
Display 1280x720 (316 PPI) AMOLED
Storage 16/32 GB
Memory 2 GB
Architecture armv7
Software
Original software Android
Original version 4.2.2 (Linux 3.4)
Extended version 5.1 (Linux 3.4)
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.4.42
Unixbench Whet/Dhry score 844.9
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
Partial
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Xinayder

Users owning this device

Entering "Fastboot mode"

Hold Volume Down + Power, let go of Power once the device display does something (e.g. turns from battery icon to black screen).

Installation

pmbootstrap install
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs

The device must be in bootloader mode. While flashing, it's normal to see "variable not supported!" messages.

Zip installation fails with the message:

E: Error executing updater binary in zip

. The exported boot.img and motorola-ghost.img can be flashed with fastboot, however.

Additional info

The device freezes on the first boot after flashing. Rebooting it fixes the issue.

USB OTG works if USB devices are connected before boot.

An exploit for a locked bootloader exists: http://bits-please.blogspot.com/2016/02/unlocking-motorola-bootloader.html

Xfce4 tweaks

  • Disable screensaver and lockscreen (enabled by default). Otherwise screen will become blank and unresponsive, respectively. Once both are disabled, touchscreen will respond to power press, and screen will refresh (incrementally) by touch events. Non-responding screen can be addressed by restarting lightdm. Screen dimming works.
  • Power manager shows charging status correctly. Power-on via charger plug in will result in boot to pmOS since charging-sdl is not implemented.

Hardware details

hwtest output

Category Model Path Status Value
framebuffer msmfb44_90701 /sys/class/graphics/fb0 Working U:720x1280p-0
framebuffer msmfb44_a0001 /sys/class/graphics/fb1 Working
input gpio-keys /dev/input/event5 Working
input msm8960-snd-card Headset Jack /dev/input/event4 Working
input msm8960-snd-card Button Jack /dev/input/event3 Working
input synaptics_dsx_i2c /dev/input/event2 Working
input msp430sensorprocessor /dev/input/event1 Working
input pmic8xxx_pwrkey /dev/input/event0 Working

sensors (lm-sensors package) output

tmp108-i2c-10-48
Adapter: QUP I2C adapter
temp1:        +30.5C  (high = +127.5C, hyst = -128.0C)

tsens_tz_sensor0-virtual-0
Adapter: Virtual device
temp1:         +0.0C  (crit =  +0.2C)

tsens_tz_sensor1-virtual-0
Adapter: Virtual device
temp1:         +0.0C  (crit =  +0.2C)

tsens_tz_sensor2-virtual-0
Adapter: Virtual device
temp1:         +0.0C  (crit =  +0.2C)

tsens_tz_sensor3-virtual-0
Adapter: Virtual device
temp1:         +0.0C  (crit =  +0.2C)

tsens_tz_sensor4-virtual-0
Adapter: Virtual device
temp1:         +0.0C  (crit =  +0.2C)

pm8921_tz-virtual-0
Adapter: Virtual device
temp1:        +28.9C  (crit = +145.0C)

Photos

|Screenshot-ghost-xfce4-term.png

|Screenshot-ghost-xfce4-pwr-htop.png

See also