HTC One M7 (htc-m7)

From postmarketOS
HTC One M7
HTC One M7
HTC One M7
Manufacturer HTC
Name One M7
Codename htc-m7
Released 2013
Category testing
Pre-built images no
Original software Android
Original version 4.1.2
postmarketOS kernel 3.4.10
Hardware
Chipset Qualcomm Snapdragon 600 (APQ8064)
CPU 1.7 GHz quad-core Krait 300
GPU Adreno 320
Display 1920x1080 LCD
Storage 32 or 64 GB
Memory 2 GB LPDDR2 RAM
Architecture ARMv7
Type Handset
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Display
Partial
WiFi
FDE
Mainline
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 600.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

  • tdeo

Maintainer(s)

  • tdeo

Users owning this device


How to enter flash mode

Hold volume-down and the power button until it goes into the bootloader. If you don't already, you'll need to unlock your bootloader and install a custom recovery like TWRP. From there, use the volume keys and the power button to select the recovery option. In TWRP, select Advanced and then Sideload.

Installation

Direct flashing doesn't seem to work (might have something to do with requiring S-OFF?) but you can create a zip and sideload it with:

$ pmbootstrap install --android-recovery-zip
$ pmbootstrap flasher --method=adb sideload

Notes

Not much has been tested yet. Screen can be made functioning with

$ echo 100 > /sys/devices/platform/msm_fb.590593/leds/lcd-backlight/brightness
$ cat /sys/devices/virtual/graphics/fb0/modes > /sys/devices/virtual/graphics/fb0/mode

See also