Jump to content

Motorola Moto E 2014 (motorola-condor): Difference between revisions

From postmarketOS Wiki
fixed naming mistake
m Add type
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = Motorola <!-- e.g. HTC -->
| manufacturer = Motorola
| name = Moto E 2014 (1st Gen) <!-- e.g. Desire -->
| name = Moto E 2014 (1st Gen)
| codename = motorola-condor <!-- e.g. htc-bravo -->
| codename = motorola-condor
| image = File:motorola-condor.jpg
| image = File:motorola-condor.jpg
| imagecaption = weston lock screen
| imagecaption = weston lock screen
| releaseyear = 2014
| releaseyear = 2014
| originalsoftware = Andorid 5.1 <!-- e.g. Android 2.1 -->
| originalsoftware = Android
| chipset = Qualcomm MSM8210/MSM8610 Snapdragon 200 <!-- e.g. Qualcomm QSD8250 Snapdragon S1 -->
| originalversion = 5.1
| cpu = Dual-core Cortex-A7 1.2 GHz <!-- e.g. 1.0 GHz Scorpion -->
| chipset = Qualcomm Snapdragon 200 (MSM8210/MSM8610)
| gpu = Adreno 302 <!-- e.g. Adreno 200 -->
| cpu = Dual-core Cortex-A7 1.2 GHz
| storage = 4GB <!-- e.g. 512 MB -->
| gpu = Adreno 302
| display = 540x960 LCD <!-- e.g. 480x800 AMOLED -->
| storage = 4GB
| memory = 1GB <!-- e.g. 576 MB -->
| display = 540x960 LCD
| architecture = armv7 <!-- One of these: armhf, armv7, aarch64, x86, x86_64 -->
| memory = 1GB
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| architecture = armv7
| status_usbnet = Y <!-- USB networking does work? then put Y here and delete this comment -->
| type = handset
| status_flashing = Y <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_usbnet = Y
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_flashing = Y
| status_screen = P <!-- The display is working? -->
| status_touch = Y
| status_wifi = <!-- Wireless network works? -->
| status_screen = Y
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_wifi =
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_xwayland =
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_fde =
| status_battery = Y <!-- Charging the battery with charging-sdl is possible -->
| status_mainline =
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_battery = Y
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_3d =
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_accel =
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_audio =
| status_camera = <!-- Taking photos and videos works. -->
| status_bluetooth =
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_camera =
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_gps =
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_mobiledata =
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_sms =
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status_calls =
| booting =  yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status =
| booting =  yes
| pmoskernel = 3.4.112
| pmoskernel = 3.4.112
 
| whet_dhry =
<!-- you can also use these lines if you need to:
| status_otg =
if the device haven't originally ran Android OS, e.g. Nokia N900
| n-android =  ✔
Version of the kernel that pmos is running
| pmoskernel = 3.x.x
see Unixbench page on wiki
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg = -
-->
}}
}}


Line 54: Line 46:
== Maintainer(s) ==
== Maintainer(s) ==
* BogdanTheGeek
* BogdanTheGeek
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->


== What is working ==
== What is working ==
* ssh over usb
* ssh over usb
* display is red-ish but weston starts
* display works (changed the imgType to RGBA_8888 in mdss_fb.c with a patch like [https://wiki.postmarketos.org/wiki/Troubleshooting:display#Qualcomm_MSM_devices this])
* charging is working
* charging is working
 
* touch is working with initfs hook to reset the touchscreen driver similar to [https://wiki.postmarketos.org/wiki/Troubleshooting#Touch_screen_device_present_but_not_outputting_any_touch_events this], but like this:
== What is not working ==
<syntaxhighlight lang="shell" line='line'>
* everything else for now :)
#!/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
 
</syntaxhighlight>
== Installation ==
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->


=== How to enter flash mode ===
=== How to enter flash mode ===
Line 112: Line 94:


== See also ==
== See also ==
* {{MR|1887|pmaports}} Initial merge request
* {{MR|1887|pmaports}} Initial merge request
<!--
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* {{Device package|motorola-condor}}
* {{Device package|motorola-condor}}
* {{Kernel package|motorola-condor}}
* {{Kernel package|motorola-condor}}
-->

Latest revision as of 17:35, 12 September 2024

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 Android
Original version 5.1
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.4.112
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
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
No data
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

  • 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