Jump to content

Motorola Moto G 2015 (motorola-osprey): Difference between revisions

From postmarketOS Wiki
Egbert (talk | contribs)
Undo revision 16176 by Egbert (talk)
Tag: Undo
Egbert (talk | contribs)
Added information about updating and testing architecture to armv7
Line 1: Line 1:
{{note| This device is still running on armhf, although the processor supports armv7. 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.}}
{{note| This device is still running on armhf, although the processor supports armv7. 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.}}
{{note| Scroll down for information that this seems to be working.}}
{{Infobox device
{{Infobox device
| manufacturer = Motorola
| manufacturer = Motorola
Line 70: Line 71:
== Display ==
== Display ==
XFCE4 works the best, you may have to run startx over ssh to get it to appear
XFCE4 works the best, you may have to run startx over ssh to get it to appear
== Update architecture to armv7 ==
First, follow the instructions [https://wiki.postmarketos.org/wiki/Tips_and_tricks#Update_the_architecture_of_your_device here], specifically do this:
* Update the architecture in the following files:
<source>
device/testing/device-motorola-osprey/APKBUILD
device/testing/device-motorola-osprey/deviceinfo
device/testing/linux-motorola-osprey/APKBUILD
</source>
* Update the name of the config-motorola-osprey.armhf in device/linux-motorola-osprey to config-motorola-osprey.armv7
* Create new Checksums by running:
<code>pmbootstrap checksum linux-motorola-osprey</code>
* Re-install by running:
<code>pmbootstrap install</code>
* flash to the mobile following instructions above under Installation
XFCE4 is working, as far as I can see just like under armhf.


== Photos ==
== Photos ==

Revision as of 14:19, 30 December 2020

Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.
Note Scroll down for information that this seems to be working.
Warning WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it.
The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Motorola Moto G 2015
Moto G 2015
Moto G 2015
Manufacturer Motorola
Name Moto G 2015
Codename motorola-osprey
Released 2015
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
CPU Quad-core 1.4 GHz Cortex-A53
GPU Adreno 306
Display 720x1280 IPS
Storage 8/16 GB
Memory 1/2 GB
Architecture armhf
Software
Original software Android 5.1.1
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Partial
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

Maintainer(s)

Device owners

How to enter flash mode

Power off the device, hold down the Power and the Volume Up key for 1-2 seconds. Some devices you may need to hold down the Power and the Volume Down key instead.

Pre-Installation Configuration

  • Add deviceinfo_flash_sparse="true" the deviceinfo[1] file
  • Replace ssh with dropbear

Installation

Follow the Installation_guide.

  • Install PMOS
pmbootstrap init
pmbootstrap install
pmbootstrap flasher flash_rootfs
pmbootstrap flasher flash_kernel
  • Restart your mobile
  • Connect with ssh
ssh usermobile@172.16.42.1
  • Start graphical interface (Weston for example)
startx

Display

XFCE4 works the best, you may have to run startx over ssh to get it to appear

Update architecture to armv7

First, follow the instructions here, specifically do this:

  • Update the architecture in the following files:
device/testing/device-motorola-osprey/APKBUILD
device/testing/device-motorola-osprey/deviceinfo
device/testing/linux-motorola-osprey/APKBUILD
  • Update the name of the config-motorola-osprey.armhf in device/linux-motorola-osprey to config-motorola-osprey.armv7
  • Create new Checksums by running:

pmbootstrap checksum linux-motorola-osprey

  • Re-install by running:

pmbootstrap install

  • flash to the mobile following instructions above under Installation

XFCE4 is working, as far as I can see just like under armhf.


Photos

Links