Motorola Moto E 2015 (motorola-surnia): Difference between revisions
update arch |
m Updated Architecture, Template usage |
||
Line 1: | Line 1: | ||
{{note| This device is still running on armhf, although the processor supports | {{note| This device is still running on armhf, although the processor supports aarch64. If you own it, change it and test it [https://wiki.postmarketos.org/wiki/Tips_and_tricks#Update_the_architecture_of_your_device that] way.}} | ||
{{Infobox device | {{Infobox device | ||
| manufacturer = Motorola | | manufacturer = Motorola | ||
Line 15: | Line 15: | ||
| display = 540x960 IPS LCD | | display = 540x960 IPS LCD | ||
| memory = 1 GB | | memory = 1 GB | ||
| architecture = | | architecture = aarch64 | ||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = Y | | status_flashing = Y | ||
Line 40: | Line 40: | ||
* unrznbl | * unrznbl | ||
* wiktorek140 | * wiktorek140 | ||
== Users owning this device == | == Users owning this device == | ||
Line 60: | Line 56: | ||
* As of 2020-03-01, unrznbl is starting to work on mainline with the help of the work on motorola-harpia. Referring to https://wiki.postmarketos.org/wiki/MSM8916_Mainlining | * As of 2020-03-01, unrznbl is starting to work on mainline with the help of the work on motorola-harpia. Referring to https://wiki.postmarketos.org/wiki/MSM8916_Mainlining | ||
* {{MR|29|pmaports}} Initial merge request, status: merged. | * {{MR|29|pmaports}} Initial merge request, status: merged. | ||
* | * {{Device package|motorola-surnia}} | ||
* | * {{Kernel package|motorola-surnia}} | ||
== Modem Setup (same as for motorola-harpia so far) == | == Modem Setup (same as for motorola-harpia so far) == |
Revision as of 08:21, 15 January 2021
This device is still running on armhf, although the processor supports aarch64. If you own it, change it and test it that way. |
![]() Motorola Moto E (2nd Gen) | |
Manufacturer | Motorola |
---|---|
Name | Moto E (2nd Gen) |
Codename | motorola-surnia |
Released | 2015 |
Hardware | |
Chipset | Qualcomm MSM8916 Snapdragon 410 |
CPU | Quad-core 1.2 GHz Cortex-A53 |
GPU | Adreno 306 |
Display | 540x960 IPS LCD |
Storage | 8 GB Flash |
Memory | 1 GB |
Architecture | aarch64 |
Software | |
Original software | Android 5.0.2 Lollipop |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
postmarketOS kernel | 3.10.49 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
Partial |
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
- unrznbl
- wiktorek140
Users owning this device
- BogdanTheGeek (Notes: Running android for now)
- Chipmunk (Notes: XT1526; unlocked bootloader, runs LineageOS 17.1)
- Dominduchami
- Frbrr02 (Notes: Model: XT1524)
- Icenowy
- Illen (Notes: Dying battery, runs mainline.)
- Pangelo (Notes: cracked screen but works fine)
- Proycon
- Rsquared (Notes: msm8916 - working inx panel!)
- Techwizz (Notes: Mainline testing)
- Thenightterrorx (Notes: boots fine off sd card)
- UnDevDeCatOS (Notes: is currently being lend to someone else)
- Unrznbl (Notes: 2023-12-01 mainline, gestures fixed in shelli-ui last year)
- Wiktorek140
- Xonney1 (Notes: Cracked screen, functional)
- Yeswap (Notes: Edge Phosh)
Unlocking the bootloader
Please visit the Motorola website for instructions. You will need a valid email address and working fastboot (driver installation needed for Windows and macOS, works out of the box on Linux). The Windows instructions works as written on Linux.
How to enter flash mode
Hold down
+ while booting to enter Flash Mode.Installation
I have tested flashing boot.img with an sdcard rootfs and this seems to work fine.
See also
- As of 2020-03-01, unrznbl is starting to work on mainline with the help of the work on motorola-harpia. Referring to https://wiki.postmarketos.org/wiki/MSM8916_Mainlining
- pmaports!29 Initial merge request, status: merged.
- Device package
- Kernel package
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
pmbootstrap menuconfig motorola-harpia
pmbootstrap build linux-motorola-harpia
On the device
apk add wcnss-wlan
/etc/init.d/wcnss-wlan start
Firmware {Wifi/Modem} (TODO: package it)
On the device extract firmware
cd /lib/firmware
mkdir postmarketos
cd postmarketos
mount /dev/disk/by-partlabel/system /mnt
cp -ap /mnt/etc/firmware/* /lib/firmware/postmarketos
umount /mnt
mount /dev/disk/by-partlabel/fsg /mnt
cp -ap /mnt/* /lib/firmware/postmarketos
umount /mnt
mount /dev/disk/by-partlabel/modem /mnt
cp -ap /mnt/image/* /lib/firmware/postmarketos
umount /mnt
mount /dev/disk/by-partlabel/persist /mnt
mkdir -p wlan/prima
cp -ap /mnt/WCNSS_wlan_dictionary.dat wlan/prima/
umount /mnt
Make a link in case the firmware path doesn't include /lib/firmware/postmarketos
cd /lib/firmware
ln -s /lib/firmware/postmarketos/* /lib/firmware/
Modem
Make the necesary links for rmtfs
cd /boot
ln -s /dev/disk/by-partlabel/modemst1 modem_fs1
ln -s /dev/disk/by-partlabel/modemst2 modem_fs2
ln -s /dev/disk/by-partlabel/fsg modem_fsg
Install necessary software
apk add msm-modem-downstream rmtfs libsmdpkt_wrapper libqipcrtr4msmipc ofono
Start the wcnss-wlan service to initialize the wifi card (helps the modem?)
/etc/init.d/wcnss-wlan start
Start a tmux for multiple windows
tmux
Start rmtfs on a terminal
export LD_PRELOAD=/usr/lib/preload/libqipcrtr4msmipc.so
rmtfs -v
Start ofonod on another terminal
export LD_PRELOAD=/usr/lib/preload/libsmdpkt_wrapper.so
ofonod -d -n
Send an SMS!
export PHONE_NUMBER="<number to send sms to ex: 1234567890>"
sudo dbus-send --print-reply --system --dest=org.ofono /gobi_0 org.ofono.Modem.SetProperty string:"Powered" variant:boolean:"true"
sudo dbus-send --print-reply --system --dest=org.ofono /gobi_0 org.ofono.Modem.GetProperties
sudo dbus-send --print-reply --system --dest=org.ofono /gobi_0 org.ofono.Modem.SetProperty string:"Online" variant:boolean:"true"
sudo dbus-send --system --print-reply --dest=org.ofono /gobi_0 org.ofono.MessageManager.SendMessage string:"$PHONE_NUMBER" string:"Hello world! -postmarketOS"
Receive SMS like this (might be spammy if you have other DBus apps):
sudo dbus-monitor