Motorola Moto G Stylus (2021) (minsk)
| 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. |
|
Picture of the device in fastboot mode | |
| 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 The software and version the device was shipped with. |
Android 11 |
Extended version The most recent supported version from the manufacturer. |
Android |
| postmarketOS | |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
pmOS kernel The kernel version that runs on the device's port. |
N/A |
Contributors
- DCFUKSURMOM
Users owning this device
- DCFUKSURMOM (Notes: Unlocked bootloader, magisk root)
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)
However it does not seem to boot
I have not been able to get pmbootstrap to build it either.
I have some Linux experience but I'm no expert. So I could very much be doing something wrong.