Jump to content

HTC One M7 (htc-m7): Difference between revisions

From postmarketOS Wiki
Lm2 (talk | contribs)
No edit summary
m source -> syntaxhighlight
 
(6 intermediate revisions by 5 users not shown)
Line 19: Line 19:
| status_flashing = P
| status_flashing = P
| status_touch =
| status_touch =
| status_screen = no
| status_screen = P
| status_wifi =
| status_wifi =
| status_xwayland =
| status_xwayland =
Line 35: Line 35:
| status_calls =
| status_calls =
| status =
| status =
| booting = no
| booting = yes
| pmoskernel = 3.4.10
| pmoskernel = 3.4.10
<!-- todo:
<!-- todo:
Line 51: Line 51:
* tdeo
* tdeo


==information==
==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?
(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?


Line 67: Line 67:
== Installation ==
== 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:
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:
<source lang="shell-session">
<syntaxhighlight lang="shell-session">
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap flasher --method=adb sideload
$ pmbootstrap flasher --method=adb sideload
</source>
</syntaxhighlight>


== Notes ==
== Notes ==
Not much has been tested yet.
Not much has been tested yet.
Screen can be made functioning with
Screen can be made functioning with
<source lang="shell-session">
<syntaxhighlight lang="shell-session">
$ echo 100 > /sys/devices/platform/msm_fb.590593/leds/lcd-backlight/brightness
$ 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
$ cat /sys/devices/virtual/graphics/fb0/modes > /sys/devices/virtual/graphics/fb0/mode
</source>
</syntaxhighlight>
 
Some people have reported that this sometimes does not work.


== See also ==
== See also ==
* {{MR|306|pmaports}} Initial merge request
* {{MR|306|pmaports}} Initial merge request

Latest revision as of 22:08, 4 September 2024

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
No data
SD card
No data
Battery
No data
Screen
Partial
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

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