Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89b3da1 authored by Romain Hunault's avatar Romain Hunault
Browse files

Add HTC devices

parent 2e1b5826
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
codename: hiaeuhl
name: One A9 (International GSM)
vendor: HTC
versions: [nougat]
status: [dev]
recovery_install_method: fastboot_htc
custom_recovery_codename: hiae

_data/devices/m8.yml

0 → 100644
+6 −0
Original line number Diff line number Diff line
codename: m8
name: One (M8)
vendor: HTC
versions: [nougat]
status: [dev]
recovery_install_method: fastboot_htc

_data/devices/pme.yml

0 → 100644
+7 −0
Original line number Diff line number Diff line
codename: pme
name: 10
vendor: HTC
versions: [nougat]
status: [dev]
recovery_install_method: fastboot_htc
before_install: before_install_pme
+19 −0
Original line number Diff line number Diff line
## Important Information: Potential DATA LOSS

HTC improved the security of their full disk encryption in their Nougat release. Because of their improved encryption, it no longer possible for a source built ROM to decrypt a userdata partition encrypted with HTC’s Nougat (or later) software.

### Terminology
* userdata : The disk partition that contains /data and also contains /sdcard
* wipe data or factory reset : Erases the contents of /data but not /sdcard
* format userdata : Formats userdata, including all content in /scard

### What you need to know
* If you are installing from MM (6.0) HTC stock firmware, everything should work normally.
* If you are installing from N (7.x) HTC stock firmware, you will have to format userdata. If you want to backup your stock install, you must backup to your external SD because any backup storage in the default location (on /sdcard) will be lost in the format.
* If you didn’t read these instructions and try to install LineageOS on top of N userdata after only performing a factory reset then:
  * On boot it will ask you for your password to decrypt data but your password will not decrypt it.
  * If you reboot to TWRP, TWRP will not be able to mount /data or /sdcard and will also prompt for your password to decrypt it and, again, your password will not work.
  * To recover from this you will either need to format userdata or you will need to restore your stock backup. After restoring your stock backup, reboot to TWRP and it should now be able to mount /data and /sdcard.

### Installing on Sprint or Verizon devices
Sprint and Verizon do not ship with an unlockable bootloader. Even if you do unlock it, something in its firmware is still not compatible with LineageOS. People have had success flashing modified US Unlocked firmware and then RUU’ing back to their proper firmware before installing LineageOS. Please use Google and/or XDA to read more about what has worked for others.
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@

{% include warning_read_before.md %}

{% if device.before_install %}
{% capture before_install %}templates/{{ device.before_install }}.md{% endcapture %}
{% include {{ before_install }} %}
{% endif %}

{% include requirements.md %}

{% if device.recovery_install_method %}
Loading