Motorola Moto E 2014 (motorola-condor)

From postmarketOS
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
Category testing
Pre-built images no
Original software Android
Original version 5.1
postmarketOS kernel 3.4.112
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
FDE
Mainline
Battery
Works
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
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

  • 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)
  • 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