HTC One M8 (htc-m8): Difference between revisions
m Re-wording and de-typoing |
m Add type |
||
(36 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox device | {{Infobox device | ||
| manufacturer = HTC | | manufacturer = HTC | ||
| name = | | name = One M8 | ||
| codename = m8 | | codename = htc-m8 | ||
| image = File:htc-m8.jpg | | image = File:htc-m8.jpg | ||
| imagecaption = HTC One M8 | | imagecaption = HTC One M8 | ||
| releaseyear = 2014 | | releaseyear = 2014 | ||
| originalsoftware = Android | | originalsoftware = Android | ||
| chipset = Qualcomm Snapdragon 801 | | chipset = Qualcomm Snapdragon 801 (MSM8974AB) | ||
| cpu = 2.45 GHz | | cpu = 4x 2.45 GHz Krait 400 | ||
| gpu = Adreno 330 | | gpu = Adreno 330 | ||
| storage = 16 or 32 GB | | storage = 16 or 32 GB | ||
| display = | | display = 1080x1920 Super LCD3 | ||
| memory = 2 GB LPDDR3 | | memory = 2 GB LPDDR3 | ||
| architecture = armv7 | |||
| type = handset | |||
| status_usbnet = Y | |||
| status_flashing = Y | |||
| status_touch = Y | |||
| status_screen = Y | |||
| status_wifi = Y | |||
| status_xwayland = Y | |||
| status_fde = | |||
| status_mainline = | |||
| status_battery = Y | |||
| status_3d = | |||
| status_accel = | |||
| status_audio = | |||
| status_bluetooth = | |||
| status_camera = N | |||
| status_gps = | |||
| status_mobiledata = N | |||
| status_sms = N | |||
| status_calls = N | |||
| status_otg = Y | |||
| booting = yes | |||
}} | }} | ||
== Contributors == | == Contributors == | ||
* fooforever | * [[User:Fooforever|fooforever]] | ||
* [[User:CactiChameleon9|CactiChameleon9]] | |||
== | == Maintainers == | ||
== | == Users owning this device == | ||
{{Device owners}} | |||
== Bootloader unlocking == | |||
Although HTC supports unlocking the bootloader through an online service on https://www.htcdev.com/, this makes postmarketOS depend on HTC in the long term, which is dangerous. There seems to be some exploit for the M8, which was not tested yet on this device: https://gus33000.me/2019/01/05/secureboot-flaw-for-all-wp-devices-literally/ | |||
== | |||
== How to enter flash mode == | == How to enter flash mode == | ||
Hold Power and Vol | Hold the Power and Vol- button while the device is off, or hold the Vol- and then hold the Power button while the phone is on so it will force-reboot to the hboot mode, then select fastboot. | ||
== Installation == | |||
<s>The Device Tree image is not generated by pmbootstarp properly. Copying one from a TWRP boot image into the initramfs then recompiling works. Use [https://github.com/osm0sis/mkbootimg this] tool (or [https://github.com/maalos/htc-m8-dt/raw/main/dt.img download] the whole dt.img from me) to unpack the TWRP image, then copy the <code>boot.img-htc-m8-dt</code> file to the <code>~/.local/var/pmbootstrap/chroot_rootfs_htc-m8/boot</code>, rename it to <code>dt.img</code> and <code>pmbootstrap install</code>. After that, just use <code>pmbootstrap flasher flash_kernel</code> and <code>pmbootstrap flasher flash_rootfs</code>.<br></s> | |||
The Device Tree image is now generated properly and the standard <code>pmbootstrap flasher flash_kernel</code> and <code>pmbootstrap flasher flash_rootfs</code> can be used to install. | |||
{{note|The device might freeze after flashing. If it doesn't boot after 5 minutes, force-reboot it (hold the power button until the device restarts)}} | |||
The device currently seems to get as far as booting the kernel but freezes before SSH becomes fully available (or displays <code>Connection refused</code> when trying to connect before it freezes. | |||
< | |||
== See also == | == See also == | ||
* [https://github.com/fooforever/pmbootstrap Github repo] | |||
* {{Device package|htc-m8}} | |||
* {{ | * {{Kernel package|htc-m8}} | ||
* {{ | |||
Latest revision as of 09:20, 12 September 2024
![]() HTC One M8 | |
Manufacturer | HTC |
---|---|
Name | One M8 |
Codename | htc-m8 |
Released | 2014 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 801 (MSM8974AB) |
CPU | 4x 2.45 GHz Krait 400 |
GPU | Adreno 330 |
Display | 1080x1920 Super LCD3 |
Storage | 16 or 32 GB |
Memory | 2 GB LPDDR3 |
Architecture | armv7 |
Software | |
Original software | Android |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
No data |
USB OTG |
Works |
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
Maintainers
Users owning this device
- Arthurlutz (Notes: LineageOS 14.1 (weak battery))
- Dominduchami
- GeraltvonNVIDIA (Notes: Stucks at Bootscreen)
- LanaX64
- Maalos (Notes: postmarketOS installed)
- Manty
- Syboxez (Notes: My favorite phone in terms of hardware)
Bootloader unlocking
Although HTC supports unlocking the bootloader through an online service on https://www.htcdev.com/, this makes postmarketOS depend on HTC in the long term, which is dangerous. There seems to be some exploit for the M8, which was not tested yet on this device: https://gus33000.me/2019/01/05/secureboot-flaw-for-all-wp-devices-literally/
How to enter flash mode
Hold the Power and Vol- button while the device is off, or hold the Vol- and then hold the Power button while the phone is on so it will force-reboot to the hboot mode, then select fastboot.
Installation
The Device Tree image is not generated by pmbootstarp properly. Copying one from a TWRP boot image into the initramfs then recompiling works. Use this tool (or download the whole dt.img from me) to unpack the TWRP image, then copy the
The Device Tree image is now generated properly and the standard boot.img-htc-m8-dt
file to the ~/.local/var/pmbootstrap/chroot_rootfs_htc-m8/boot
, rename it to dt.img
and pmbootstrap install
. After that, just use pmbootstrap flasher flash_kernel
and pmbootstrap flasher flash_rootfs
.pmbootstrap flasher flash_kernel
and pmbootstrap flasher flash_rootfs
can be used to install.
The device might freeze after flashing. If it doesn't boot after 5 minutes, force-reboot it (hold the power button until the device restarts) |
The device currently seems to get as far as booting the kernel but freezes before SSH becomes fully available (or displays Connection refused
when trying to connect before it freezes.