HTC Desire 816 single SIM (htc-a5ul)

From postmarketOS Wiki
Icon WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it.
Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.
HTC Desire 816
Desire 816 running stock Android
Desire 816 running stock Android
Manufacturer HTC
Name Desire 816
Codename htc-a5ul
Released 2014
Type handset
Hardware
Chipset Qualcomm Snapdragon 400 (MSM8226)
CPU Quad-core 1.6 GHz (ARM Cortex-A7)
GPU Adreno 305
Display 720x1280 5.5" SLCD
Storage 8 GB + microSD card
Memory 1.5 GB
Architecture armhf
Software
Original software Android
Original version 6.0 (Linux 3.4.0)
postmarketOS
Category testing
Pre-built images no
Features
Flashing
USB Networking
Works
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Aerotinge

Maintainer(s)

  • Aerotinge

Users owning this device


How to enter flash mode (HBOOT)

  • Power off the phone
  • Press volume down
  • Keep volume down pressed, and press power button.

How to turn off the phone

Hold power button for ten seconds.

Installation

Note The bootloader have to been unlocked (s-off). If not, see htcdev here.
  • Install
    • using an microsd card (replace mmcblk0 with your sd slot, recommended): pmbootstrap install --sdcard=/dev/mmcblk0
    • until #1206 is fixed, it is necessary to copy the extracted QCDT from a known working ROM such as the TWRP image (see !1378):
      • sudo cp ~/mkbootimg/boot.img-dtb ~/.local/var/pmbootstrap/chroot_rootfs_htc-a5ul/boot/dt.img
    • using /data partition pmbootstrap flasher flash_rootfs --partition userdata
  • Insert the microsd card on the device
  • Connect usb cable to your phone and boot it into flash mode (HBOOT)
  • Select "FASTBOOT" by volumes and power button. Make sure it displays "FASTBOOT USB" on top.
    • Boot kernel using pmbootstrap flasher boot(recommended)
    • Flash kernel using pmbootstrap flasher flash_kernel, then reboot.

Misc

The device is similar to the flagship in 2014, hTC One (m8) in many aspect.

Some resources can be shared between two devices.

Links