HTC One M8s (htc-m8qlul)
|Chipset||Qualcomm Snapdragon 615 (MSM8939)|
|CPU||4x 1.5GHz Cortex-A53 + 4x 1.0GHz Cortex-A53|
|This device is based on the Snapdragon 615.|
See the SoC page for common tips, guides and troubleshooting steps
The HTC One M8s is a refresh of the HTC One M8 (htc-m8) except with a different SoC and set of cameras. It currently boots a close-to-mainline kernel in postmarketOS with a limited feature set (See Port status).
Users owning this device
Mainline boots with lk2nd. Only USB networking, internal storage, vibration, and volume down work, but more stuff should be possible to get working with more time invested. WiFi works, but has severe packet loss. Downstream is WiP
How to enter flash mode
Hold both the Power and Volume Down button while the device is off, or hold the Volume Down and then hold the Power button while the phone is on so it will force-reboot into hboot mode, then select fastboot.
Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation. Note that there are no prebuilt images for m8qlul (yet?), so you need to do it via pmbootstrap. What's more, you can't use the regular build of lk2nd for msm8916 — you have to build it yourself (for now). Instructions on how to get it working on m8qlul can be found in the dts: https://github.com/msm8916-mainline/lk2nd/blob/master/dts/msm8916/msm8939-htc-m8qlul.dts.
When flashing lk2nd I would recommend that you use HTC's fastboot. It can be downloaded from HTC by going through the bootloader unlock procedure or from here: http://src.voidzero.net/htc_fastboot/. When using lk2nd's fastboot I would recommend you just use the fastboot provided by your package manager or pmbootstrap. md5sum for the fastboot-linux.zip ZIP should be ffd3b02cdf9aa7609462e3957663d238.
Serial over the headphone jack?
In the vendor kernel sources from HTC, there's references to "headset 1-Wire" and "1-Wire tty dev". Perhaps it could somehow be possible to use this to get a serial console from the headphone jack. See https://github.com/M8s-dev/android_kernel_htc_msm8939/blob/5285e19915a8ea1368acb7f6792d7d92d97ba6f2/arch/arm/boot/dts/qcom/msm8939-m8qlul.dtsi#L304-L309
- pmaports!2344 Initial mainline merge request
- pmaports!1929 Initial downstream merge request
- Close-to-mainline kernel
- HTC_Desire_820_Single_SIM_(htc-a51tuhl) Similar phone. Might provide hints to how this port could be improved.