Jump to content

HTC One M8 (htc-m8): Difference between revisions

From postmarketOS Wiki
m Remove the notice about armhf, since the port has been updated to armv7. Also add CactiChameleon9 to the contributors
Maxnet (talk | contribs)
m clean up
Line 40: Line 40:
* [[User:CactiChameleon9|CactiChameleon9]]
* [[User:CactiChameleon9|CactiChameleon9]]


== Maintainer(s) ==
== Maintainer ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
* [[User:Maalos|maalos]]
* [[User:Maalos|maalos]]


Line 52: Line 50:


== Installation ==
== Installation ==
<!-- add more sections below as necessary, e.g. Wifi, photos, ... -->
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>
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>
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).
{{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)}}


== See also ==
== See also ==
<!--
* [https://github.com/fooforever/pmbootstrap Github repo]
Link to related GitHub issues or pull requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{github|CHANGEME}} Initial pull request
* {{github|CHANGEME}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
* Github repo: [https://github.com/fooforever/pmbootstrap]
* {{Device package|htc-m8}}
* {{Device package|htc-m8}}
* {{Kernel package|htc-m8}}
* {{Kernel package|htc-m8}}

Revision as of 07:04, 7 September 2021

HTC One M8
HTC One M8
HTC One M8
Manufacturer HTC
Name One M8
Codename htc-m8
Released 2014
Hardware
Chipset Qualcomm MSM8974AB Snapdragon 801
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
Features
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
No data
Camera Flash
No data
Connectivity
WiFi
Works
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

Maintainer

Users owning this device


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 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.

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)

See also