Jump to content

Motorola Moto X (motorola-ghost): Difference between revisions

From postmarketOS Wiki
No edit summary
Halamix2 (talk | contribs)
mNo edit summary
 
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = Motorola
| manufacturer = Motorola
| name = Moto X
| name = Moto X
| codename = ghost
| codename = motorola-ghost
| image = File:ghost.png
| image = File:Moto_x_ghost_xt1052.jpg
| imagecaption = Moto X
| imagecaption = Moto X
| releaseyear = 2013
| releaseyear = 2013
| originalsoftware = Android on Linux 3.4
| originalsoftware = Android
| chipset = Qualcomm MSM8960dt Snapdragon S4
| originalversion = 4.2.2 (Linux 3.4)
| extendedversion = 5.1 (Linux 3.4)
| pmoskernel = 3.4.42
| chipset = Qualcomm Snapdragon S4 Pro (MSM8960DT)
| cpu = Dual-core Krait 200 1.7 GHz
| cpu = Dual-core Krait 200 1.7 GHz
| gpu = Adreno 320
| gpu = Adreno 320
Line 13: Line 17:
| display = 1280x720 (316 PPI) AMOLED
| display = 1280x720 (316 PPI) AMOLED
| memory = 2 GB
| memory = 2 GB
| architecture = armhf
| architecture = armv7
| type = handset
| whet_dhry = 844.9
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = Y
| status_flashing = Y
| status_touch =  
| status_touch = Y
| status_screen =  
| status_screen = Y
| status_wifi =  
| status_wifi =  
| status_xwayland =  
| status_xwayland =  
| status_fde =  
| status_fde =  
| status_mainline =  
| status_mainline =  
| status_battery =
| status_battery = P
| status_3d =  
| status_3d =  
| status_accel =  
| status_accel =  
Line 33: Line 39:
| status_calls =  
| status_calls =  
| booting = yes
| booting = yes
| status_otg = P
}}
}}


== Contributors ==
== Contributors ==
* Xinayder
* Xinayder
== Users owning this device ==
{{Device owners}}


== Entering "Fastboot mode" ==
== Entering "Fastboot mode" ==
Hold <code>Volume Down</code> + <code>Power</code>, let go of <code>Power</code> once the device display does something (e.g. turns from battery icon to black screen).
Hold {{Button|Volume Down}} + {{Button|Power}}, let go of {{Button|Power}} once the device display does something (e.g. turns from battery icon to black screen).


== Installation ==
== Installation ==
Line 49: Line 59:


The device must be in bootloader mode. While flashing, it's normal to see "variable not supported!" messages.
The device must be in bootloader mode. While flashing, it's normal to see "variable not supported!" messages.
[[Android_Recovery_Zip_Installation|Zip installation]] fails with the message:
<pre>E: Error executing updater binary in zip</pre>.  The exported <code>boot.img</code> and <code>motorola-ghost.img</code> can be flashed with <code>fastboot</code>, however.


== Additional info ==
== Additional info ==
The device freezes on the first boot after flashing. Rebooting it fixes the issue.
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 [[Google_Nexus_10_(samsung-manta)#Touchscreen|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 ==
<div class="toccolours mw-collapsible mw-collapsed">
<code>hwtest</code> output
<div class="mw-collapsible-content">
{| class="wikitable feature-colors"
! style="text-align:left;"| Category
! style="text-align:left;"| Model
! style="text-align:left;"| Path
! style="text-align:left;"| Status
! style="text-align:left;"| Value
|-
|framebuffer
|msmfb44_90701
|/sys/class/graphics/fb0
| class="feature-yes"| Working
|U:720x1280p-0
|-
|framebuffer
|msmfb44_a0001
|/sys/class/graphics/fb1
| class="feature-yes"| Working
|
|-
|input
|gpio-keys
|/dev/input/event5
| class="feature-yes"| Working
|
|-
|input
|msm8960-snd-card Headset Jack
|/dev/input/event4
| class="feature-yes"| Working
|
|-
|input
|msm8960-snd-card Button Jack
|/dev/input/event3
| class="feature-yes"| Working
|
|-
|input
|synaptics_dsx_i2c
|/dev/input/event2
| class="feature-yes"| Working
|
|-
|input
|msp430sensorprocessor
|/dev/input/event1
| class="feature-yes"| Working
|
|-
|input
|pmic8xxx_pwrkey
|/dev/input/event0
| class="feature-yes"| Working
|
|}
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
<code>sensors</code> (lm-sensors package) output
<div class="mw-collapsible-content">
<pre>
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)
</pre>
</div>
</div>
== Photos ==
|[[File:Screenshot-ghost-xfce4-term.png|360x640px]]
|[[File:Screenshot-ghost-xfce4-pwr-htop.png|360x640px]]


== See also ==
== See also ==
* {{MR|1646}} initial merge requests
* {{MR|1646}} initial merge requests
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/device-motorola-ghost Device package]
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/linux-motorola-ghost Kernel package]
* {{MR|5300|pmaports}} arch=armv7

Latest revision as of 11:54, 1 February 2025

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
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
Partial
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


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

sensors (lm-sensors package) output

Photos

|

|

See also