HTC One M8s (htc-m8qlul)

From postmarketOS
HTC One M8s
Manufacturer HTC
Name One M8s
Codename htc-m8qlul
Released 2015
Category testing
Pre-built images no
Original software Android
Original version 5.0
Hardware
Chipset Qualcomm Snapdragon 615 (MSM8939)
CPU 4x 1.5GHz Cortex-A53 + 4x 1.0GHz Cortex-A53
GPU Adreno 405
Display 1080x1920
Storage 16 GB
Memory 2 GB
Architecture AArch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Display
WiFi
Works
FDE
Mainline
Works
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
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).

Contributors

Maintainer(s)

Users owning this device


Port status

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.

Installation

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

See also