Jump to content

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
The software and version the device was shipped with.
Android 4.1.2
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
3.4.10
Device package device-htc-m7
Kernel package linux-htc-m7
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Partial
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.
Partial
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Untested
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


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
  • Zvava (Notes: stock, unable to root)


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