Motorola Moto E 2015 (motorola-surnia)

Contributors

 * unrznbl
 * wiktorek140
 * UnDevDeCatOS

Unlocking the bootloader
Please visit the Motorola website for instructions. You will need a email address for only receiving email (disposable email is enough) and working fastboot (driver installation needed for Windows and macOS, works out of the box on Linux).

How to enter flash mode
Hold down +  while booting to enter Flash Mode.

Installation
First, flash lk2nd-msm8916.img to the boot partition.

Boot that, press volume down during that booting to get to the lk2nd boot menu.

See Usage for lk2nd.

After that, use the normal Installation_guide

Installation to directly to device and sdcard have both been tested to work.

Display
The display panel works fine on some devices but not on others due to hardware differences.

Modem Setup (same as for motorola-harpia so far)
Content below copied from https://wiki.postmarketos.org/wiki/Moto_G4_Play_(motorola-harpia).

I used these steps to configure and test SMS. It sort of worked I think. Need to do more testing.

Wifi
Configure your kernel and enable the prima wifi staging driver

On the device

Bluetooth (Mainline)
Using unrznbl's tree. bluetoothctl detects controller and pairing works. Still needs some testing to see if it is stable.

Battery (Mainline)
Battery fuel gauge is supported, but fan54046 charging chip isn't. It does still charge but it dosen't indicate that it is charging.

USB OTG (Mainline)
The internal USB hub shows up, but it dosen't detect any USB devices.

Firmware {Wifi/Modem}
The firmware is now properly packaged since

Modem
Make the necesary links for rmtfs

Install necessary software

Start the wcnss-wlan service to initialize the wifi card (helps the modem?)

Start a tmux for multiple windows

Start rmtfs on a terminal

Start ofonod on another terminal

Send an SMS!

Receive SMS like this (might be spammy if you have other DBus apps):

Hardware / sensors detail
For reference, sensor information from sensorsandbox (f-droid) on xt1526; note that in addition to hardware-based sensors, it presumably includes software-based / derived sensors: sensor details (sensorssandbox)