Motorola Moto X (motorola-ghost)

From postmarketOS
(Redirected from Moto X (motorola-ghost))


Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.


Icon WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) has been considering dropping it.
In some cases, the processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Motorola Moto X
Moto X
Moto X
Manufacturer Motorola
Name Moto X
Codename motorola-ghost
Released 2013
Category testing
Pre-built images no
Original software Android
Original version 4.2.2 (Linux 3.4)
Extended version 5.1 (Linux 3.4)
postmarketOS kernel 3.4.42
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 ARMhf
Unixbench Whet/Dhry score 844.9
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
FDE
Mainline
Battery
Partial
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
Partial
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


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