Motorola Moto Z2 Force (motorola-nash)

From postmarketOS Wiki
Motorola Moto Z2 Force
Moto Z2 Force
Moto Z2 Force
Manufacturer Motorola
Name Moto Z2 Force
Codename motorola-nash
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 835 (MSM8998)
CPU Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo)
GPU Adreno 540
Display 1440x2560 (534 PPI)
Storage 64 GB, 128 GB
Memory 4 GB, 6 GB
Architecture aarch64
Software
Original software Android
Original version 7.1.1
Extended version 8.0, 9.0 (Verizon only)
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
Works
USB Networking
Broken
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
NFC
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Broken
USB OTG
HDMI/DP
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Fengjiongmax

Maintainer(s)

Users owning this device

  • Bam (Notes: AT&T variant with locked bootloader)
  • Fengjiongmax (Notes: owns multiple)
  • GeorgeTheGreat (Notes: T-Mobile variant with unlocked bootloader and root)
  • Icenowy (Notes: T-Mobile with unlocked BL, haptic broken)


Unlocking Bootloader

Note There is no known way to unlock the bootloader for Verizon and AT&T variants.

How to enter flash mode

  • Hold down Power and Volume Down button.

Installation

installing pmos on device system_a makes pmos unable to find boot partition,but install pmos on sdcard works.

  • make sure the bootloader on your device is unlocked.
  • pmbootstrap init and select motorola-nash
  • pmbootstrap install --sdcard=[your sdcard device]
  • boot your device into fastboot and plug in the usb cable(use a usb 2.0 port on your pc if possible).
  • this device has two os slots,so you can use one of them to install pmos,the other one to run android.

let's say I'm going to install pmos on slot a:

pmbootstrap chroot -- fastboot --set-active=a #replace a with b if you want to boot pmos from slot b.
# now if you want to boot into pmos without a pc, run this:
pmbootstrap flasher flash_kernel --partition='boot_a' # replace boot_a with boot_b if you want to boot pmos from slot b.
pmbootstrap chroot -- fastboot continue
# or if you don't want to write anything to the device:
pmbootstrap flasher boot

Note

  • this device cannot install twrp directly into the device,but able to boot into it without installing,so if you want to see what's wrong with the kernel,you can boot the device into fastboot after a failed pmos boot,and then run
fastboot boot [you twrp.img location]

and then

adb pull /sys/fs/pstore/console-ramoops-0

and check what went wrong,some kernels may not generate such file.A vibration after issued a boot command is a good indication of whether a kernel works.

  • I tried to install pmos into 'system_a',and then boot with a kernel flashed into 'boot_a',but initfs seems can not find boot partition.And if I specify boot partition in the cmdline (pmos_boot=/dev/block/sde17) , initfs-extra can't be found.

See also