Jump to content

Motorola Moto E 2014 (motorola-condor)

From postmarketOS Wiki
Motorola Moto E 2014 (1st Gen)
weston lock screen
weston lock screen
Manufacturer Motorola
Name Moto E 2014 (1st Gen)
Codename motorola-condor
Released 2014
Type handset
Hardware
Chipset Qualcomm Snapdragon 200 (MSM8210
MSM8610)
CPU Dual-core Cortex-A7 1.2 GHz
GPU Adreno 302
Display 540x960 LCD
Storage 4GB
Memory 1GB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 5.1
Extended version
The most recent supported version from the manufacturer.
Android
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.112
Device package device-motorola-condor
Kernel package linux-motorola-condor
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
Works
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
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

  • BogdanTheGeek

Maintainer(s)

  • BogdanTheGeek

Users owning this device

  • BogdanTheGeek (Notes: MSM8210 running MSM8610 FW)
  • Roboe (Notes: broken screen flex connector, aftermarket screen replacement; ran OmniROM until some random upgrade, after that it won't boot some ROM/OSes)
  • Stormwoodpecker
  • ULumia (Notes: White XT1021)


What is working

  • ssh over usb
  • display works (changed the imgType to RGBA_8888 in mdss_fb.c with a patch like this)
  • charging is working
  • touch is working with initfs hook to reset the touchscreen driver similar to this, but like this:
#!/bin/sh
echo 1 > /sys/class/i2c-dev/i2c-1/device/1-0020/drv_irq
echo 1 > /sys/class/i2c-dev/i2c-1/device/1-0020/reset

How to enter flash mode

  • Connect a USB cable
  • Power the device off
  • Hold power + volume down
  • The device should now boot in bootloader mode
  • Volume down moves down in the list
  • Volume up selects item on list
  • Power button reboots the device in normal mode
  • fastboot will now work

Before flashing

The bootloader needs to be unlocked before custom firmware can be flashed, twrp or a similar recovery tool is not needed but it helps. To unlock the bootloader follow the instructions on this page: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

Installing

$ pmbootstrap init #select all the options and packages that you want
$ pmbootstrap install #create rootfs and boot image
$ pmbootstrap export --no-install #extract the boot.img
$ sudo fastboot flash:raw boot /tmp/postmarketOS-export/boot.img-motorola-condor #path and names could be different but the comand above will tell you where to look
$ pmbootstrap flasher flash_rootfs #this will flash to the system partition which is about 900MB

If your rootfs is too large:

$ sudo fastboot erase system #otherwise it may boot something on that partition
$ pmbootstrap flasher flash_rootfs --partition userdata #this will flash to the userdata partition


See also