Motorola Moto E4 (motorola-perry): Difference between revisions
Lastramses (talk | contribs) No edit summary |
m gitlab.com -> gitlab.postmarketos.org (bot edit) |
||
(16 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox device | {{Infobox device | ||
| manufacturer = Motorola | | manufacturer = Motorola | ||
| name = | | name = Moto E4 | ||
| codename = perry | | codename = motorola-perry | ||
| image = File:Perry.jpeg | | image = File:Perry.jpeg | ||
| imagecaption = xfce4 running on Moto E4 | | imagecaption = xfce4 running on Moto E4 | ||
| releaseyear = 2017 | | releaseyear = 2017 | ||
| originalsoftware = Android 7.1 | | originalsoftware = Android | ||
| chipset = Qualcomm | | originalversion = 7.1 | ||
| cpu = 1. | | chipset = Qualcomm Snapdragon 427 (MSM8920) | ||
| gpu = | | cpu = 4x 1.4 GHz Cortex-A53 | ||
| storage | | gpu = Adreno 308 | ||
| storage = 16 GB | |||
| display = 720x1280 IPS LCD | | display = 720x1280 IPS LCD | ||
| memory = | | memory = 2 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | |||
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --> | <!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --> | ||
| status_usbnet = Y | | status_usbnet = Y | ||
Line 19: | Line 21: | ||
| status_touch = Y | | status_touch = Y | ||
| status_screen = Y | | status_screen = Y | ||
| status_wifi = | | status_wifi = P | ||
| status_xwayland = | | status_xwayland = P | ||
| status_fde = | | status_fde = | ||
| status_mainline = | | status_mainline = | ||
Line 35: | Line 37: | ||
| status = | | status = | ||
| booting = yes | | booting = yes | ||
| status_otg = Y | |||
| pmoskernel = 3.18.140 | | pmoskernel = 3.18.140 | ||
}} | |||
== Contributors == | == Contributors == | ||
Line 55: | Line 57: | ||
== How to enter flash mode == | == How to enter flash mode == | ||
hold Power On and Volume Down buttons while device is powered off. | hold Power On and Volume Down buttons while device is powered off. | ||
The device has to be unlocked before images can be replaced. It is strongly suggested to use TWRP recovery (twrp-perry-3.2.1-r1.img verified to work) if debugging is necessary. | |||
If the device does not boot it is possible to access log from last attempt at sys/fs/pstore/console-ramoops via TWRP. | |||
== Installation == | == Installation == | ||
This port has been done on the SKU: XT1766 of the Motorola E4 (Perry) version<br> | |||
This port has been tested on the SKU: XT1765 of the Motorola E4 (Perry)<br> | |||
$ pmbootstrap | <code>$ pmbootstrap install</code><br> | ||
plug the device to computer and switch it to the fastboot mode <br> | |||
$ pmbootstrap | <code>$ pmbootstrap flasher flash_kernel</code><br> | ||
$ pmbootstrap | <code>$ pmbootstrap flasher flash_rootfs</code><br> | ||
$ pmbootstrap | finally run <code>$ pmbootstrap flasher boot</code> or reset the device<br> | ||
Device should boot with display and be accessible via ssh @172.16.42.1 | |||
== Additional information == | |||
Normally display should work without any modification but at the time of writing there was a compatibility issue with Xorg packages (particularly Xorg-server) in the EDGE repository. | |||
To resolve the issue after flashing the phone postmarketos-ui-xfce4 and Xorg-server packages have been removed and installed from 3.11/main repository. | |||
== Hardware / sensors detail == | |||
For reference, sensor information from sensors sandbox (f-droid) on SKU xt1766; note that in addition to hardware-based sensors, it presumably includes software-based / derived sensors: | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px; overflow:auto;"> | |||
sensor details (sensorssandbox) | |||
<div class="mw-collapsible-content"> | |||
{| class="wikitable feature-colors" | |||
! style="text-align:left;"| name | |||
! style="text-align:left;"| vendor | |||
! style="text-align:left;"| version | |||
! style="text-align:left;"| type | |||
|- | |||
|3-axis accelerometer | |||
|Bosch | |||
|1 | |||
|1 | |||
|- | |||
|Compass | |||
|Vendor | |||
|1 | |||
|2 | |||
|- | |||
|Orientation | |||
|Vendor | |||
|1 | |||
|3 | |||
|- | |||
|Ambient light sensor | |||
|Elan | |||
|1 | |||
|5 | |||
|- | |||
|Proximity sensor | |||
|Elan | |||
|1 | |||
|8 | |||
|- | |||
|Flat up | |||
|Motorola | |||
|1 | |||
|65537 | |||
|- | |||
|Flat down | |||
|Motorola | |||
|1 | |||
|65538 | |||
|- | |||
|Stowed | |||
|Motorola | |||
|1 | |||
|65539 | |||
|- | |||
|Moto glance gesture | |||
|Motorola | |||
|1 | |||
|65548 | |||
|- | |||
|sx9310-cap | |||
| | |||
| | |||
| | |||
|- | |||
|Geomag rotation vector sensor | |||
|AOSP | |||
|3 | |||
|20 | |||
|} | |||
</div> | |||
</div> | |||
== See also == | == See also == | ||
* {{MR|1111|pmaports}} Initial merge request | |||
<!-- | <!-- | ||
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | ||
Line 79: | Line 156: | ||
<!-- | <!-- | ||
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one. | If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one. | ||
* [https://gitlab. | * [https://gitlab.postmarketos.org/postmarketOS/pmaports/tree/master/device/testing/device-DEVICE_CODENAME Device package] | ||
* [https://gitlab. | * [https://gitlab.postmarketos.org/postmarketOS/pmaports/tree/master/device/testing/linux-DEVICE_CODENAME Kernel package] | ||
--> | --> |
Latest revision as of 13:50, 4 November 2024
![]() xfce4 running on Moto E4 | |
Manufacturer | Motorola |
---|---|
Name | Moto E4 |
Codename | motorola-perry |
Released | 2017 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 427 (MSM8920) |
CPU | 4x 1.4 GHz Cortex-A53 |
GPU | Adreno 308 |
Display | 720x1280 IPS LCD |
Storage | 16 GB |
Memory | 2 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 7.1 |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 3.18.140 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Partial |
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 |
Works |
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
- lastramses
Maintainer(s)
Users owning this device
- Newblicious (Notes: Not usable)
How to enter flash mode
hold Power On and Volume Down buttons while device is powered off.
The device has to be unlocked before images can be replaced. It is strongly suggested to use TWRP recovery (twrp-perry-3.2.1-r1.img verified to work) if debugging is necessary. If the device does not boot it is possible to access log from last attempt at sys/fs/pstore/console-ramoops via TWRP.
Installation
This port has been done on the SKU: XT1766 of the Motorola E4 (Perry) version
This port has been tested on the SKU: XT1765 of the Motorola E4 (Perry)
$ pmbootstrap install
plug the device to computer and switch it to the fastboot mode
$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs
finally run $ pmbootstrap flasher boot
or reset the device
Device should boot with display and be accessible via ssh @172.16.42.1
Additional information
Normally display should work without any modification but at the time of writing there was a compatibility issue with Xorg packages (particularly Xorg-server) in the EDGE repository. To resolve the issue after flashing the phone postmarketos-ui-xfce4 and Xorg-server packages have been removed and installed from 3.11/main repository.
Hardware / sensors detail
For reference, sensor information from sensors sandbox (f-droid) on SKU xt1766; note that in addition to hardware-based sensors, it presumably includes software-based / derived sensors:
sensor details (sensorssandbox)
See also
- pmaports!1111 Initial merge request