HTC One M7 (htc-m7)

From postmarketOS
Jump to: navigation, search
HTC One M7
200px
HTC One M7
Manufacturer HTC
Name One M7
Codename htc-m7
Released 2013
Original software Android 4.1.2
postmarketOS kernel 3.4.10
Hardware
Chipset Qualcomm APQ8064 Snapdragon 600
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
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Display
Partial
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



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 --no-fde --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