Motorola Moto G 2015 (motorola-osprey)

From postmarketOS
Jump to navigation Jump to search
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 G 2015
Moto G 2015
Moto G 2015
Manufacturer Motorola
Name Moto G 2015
Codename motorola-osprey
Released 2015
Category testing
Original software Android 5.1.1
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 aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Xwayland
Works
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG


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. I have to login to the device and use: startx to start weston. See picture below.

Photos

Osprey-pmos.jpg Osprey-weston-armv7.jpg

Links