Jump to content

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
The software and version the device was shipped with.
Android 4.2.2 (Linux 3.4)
Extended version
The most recent supported version from the manufacturer.
Android 5.1 (Linux 3.4)
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
3.4.42
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
844.9
Device package device-motorola-ghost
Kernel package linux-motorola-ghost
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Partial
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Partial
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

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

|

|

See also