Motorola Moto E5 Plus (motorola-hannah)

From postmarketOS
Motorola Moto E5 Plus
[[File:|200px|alt=]]
Manufacturer Motorola
Name Moto E5 Plus
Codename motorola-hannah
Released 2018
Category testing
Pre-built images no
Original software Android
Original version 8.0
Hardware
Chipset Qualcomm Snapdragon 425 (MSM8917)
CPU 1.40 GHz
GPU Adreno 308
Display 720x1440
Storage 32 GB
Memory 3 GB
Architecture AArch64
Type handset
Features
USB Networking
Flashing
Partial
Touchscreen
Display
WiFi
FDE
Mainline
Battery
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

Users owning this device

  • Lordkaczuha (Notes: has a slightly cracked screen but still works. NFC and fingerprint reader are both completely missing, while power and volume buttons barely work. 2/16 variant.)
  • Operachi (Notes: Porting PostmarketOS)


Interesing information

Postmarketos maybe boots because can shown via lsusb command "Google Inc. Nexus 4 (fastboot)" device.

Kernel is downstream and from wiki source "https://wiki.postmarketos.org/wiki/Porting_to_a_new_device#Interfaces" downstream kernels don't support interfaces like plasma mobile, phosh or sway.

It can get output from uart in this phone.

https://pastebin.com/ZPQYNqCy#XELZYRyi

How to enter flash mode

Volume Down + Power

Download important files

In Terminal write

cd <workdir>/cache_git/pmaports/device/testing
git clone https://gitlab.com/Operachi/motorola-hannah-postmarketos.git
mv motorola-hannah-postmarketos/* .

Next write

pmbootstrap init

and choose workdir with important files, name of device and codename and Desktop environment. Next write in terminal

pmbootstrap install --android-recovery-zip && pmboostrap export

Mount SDCARD or other device

# mount /dev/mmcblk<number-of-sdcard-devices>p<number-of-partion-in-sdcard> <dir>
e.g # mount /dev/mmcblk0p1 /mnt/sdcard
# cp /tmp/postmarketos-export/pmos-motorola-hannah.zip <dir>
# umount <dir>

Installation

STEP 1

Use TWRP to install zip file

From SDCARD or other device

Install -> Choose SDCARD/Other Device -> Choose zip with pmos -> Install -> Done

Or if you want install from computer write in terminal "pmboostrap flasher --method=adb sideload" connect cable to phone with computer and

Advanced -> ADB Sideload -> Swipe to Start Sideload

You installed postmarketOS on Motorola Moto E5 Plus (motorola-hannah). Congratulations!