HTC Desire 816 single SIM (htc-a5ul)

From postmarketOS


Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.


Icon WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) has been considering dropping it.
In some cases, the processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
HTC Desire 816
Desire 816 running stock Android
Desire 816 running stock Android
Manufacturer HTC
Name Desire 816
Codename htc-a5ul
Released 2014
Category testing
Pre-built images no
Original software Android
Original version 6.0 (Linux 3.4.0)
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
Type handset
Features
USB Networking
Works
Flashing
Touchscreen
Display
Works
WiFi
FDE
Mainline
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


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