Motorola Moto G Stylus (2021) (minsk)

From postmarketOS Wiki
Motorola Moto G Stylus (2021)
Picture of the device in fastboot mode, not sure why its sideways
Picture of the device in fastboot mode, not sure why its sideways
Manufacturer Motorola
Name Moto G Stylus (2021)
Codename minsk
Released 2021
Type handset
Hardware
Chipset Qualcomm Snapdragon 675 (SM6150)
CPU Kyro 460
GPU Adreno 612
Display 1080x2400 IPS LCD
Storage 128GB
Memory 4GB
Architecture aarch64
Software
Original software Android
Original version 11
postmarketOS
Category Non-booting
postmarketOS kernel N/A
This device is marked as not booting.
Status: Stock kernel doesn't compile at all. I've had some luck compiling a LineageOS kernel (not tested yet but it seems to build), but pmbootstrap still doesn't build it. I could still be doing something wrong.


Contributors

  • DCFUKSURMOM

Users owning this device


How to enter flash mode

Power + Volume down, boots into Fastboot mode and also gives options for stuff like recovery mode.

Installation

N/A

See also

I could have these wrong but the build number matches the OS build number on the phone.

Stock Kernel (broken?): https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-RPCS31.Q2-109-16-17

Stock Kernel Modules (broken?): https://github.com/MotorolaMobilityLLC/motorola-kernel-modules/tree/MMI-RPCS31.Q2-109-16-17

This stock kernel source does not compile at all as far as I can tell.

I'll keep them linked for anyone interested in trying, its good to have options.

This Lineage OS Kernel could potentially work:

LineageOS Kernel: https://github.com/LineageOS/android_kernel_motorola_sm6150

I have gotten this kernel to compile on its own using Google's Clang and GCC toolchains using the instructions from here:

https://gist.github.com/P1N2O/b9b2604c58aa4d7486e2fc0d327d23dc#guide-to-compile-an-android-kernel-with-clang. (Uses their Clang toolchain as the compiler but uses the binutils from their GCC toolchain)

I have not been able to get pmbootstrap to build it yet though.

I've not actually tested the kernel on the phone yet, but it supports the SOC and is meant for Moto phones.

I have some Linux experience but I'm no expert. So I could very much be doing something wrong.