Picture of the device in fastboot mode, not sure why its sideways
|Name||Moto G Stylus (2021)|
|Chipset||Qualcomm Snapdragon 675 (SM6150)|
|Display||1080x2400 IPS LCD|
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.
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.