HTC One M7 (htc-m7)

From postmarketOS Wiki
HTC One M7
HTC One M7
HTC One M7
Manufacturer HTC
Name One M7
Codename htc-m7
Released 2013
Type handset
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
Software
Original software Android
Original version 4.1.2
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.4.10
Features
Flashing
Partial
USB Networking
Works
Internal storage
SD card
Battery
Screen
Partial
Touchscreen
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
This device is based on the Snapdragon 600.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

  • tdeo

Maintainer(s)

  • tdeo

Information

(lm2 remark) please notice that this device can run postmarketos **only** in console mode, with nothing shown on screen except splashimage logo at boot. Can be used only through ssh over usb. I suspect GPU driver lack of support going to that. Device supports only downstream. Maybe abandoned?


Users owning this device

  • Lm2 (Notes: postmarket can handle this device only in ssh over usb, if console environment has been specified in the pmbootstrap process : screen not usable at all, i suspect due to lack of GPU support)
  • Tdeo
  • WolfLink115


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

Some people have reported that this sometimes does not work.

See also