Jump to content

HTC One M8s (htc-m8qlul)

From postmarketOS Wiki
HTC One M8s
Manufacturer HTC
Name One M8s
Codename htc-m8qlul
Released 2015
Type handset
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
Software
Original software Android
Original version
The version the device was shipped with.
5.0
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Untested
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

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