28 August 2018

Android P for Samsung Galaxy S5

Android P is still in developer preview 5 and this guide is showcasing LineageOS 16 unofficial build for klte made by haggertk.

Not working stuff

RIL driver is missing, which means no calls and mobile data.

What's working

This build has way better battery life, since there is no cellular connection (baseband) available.

  • WiFi
  • Bluetooth
  • Sensors
  • Fingerprint
  • Sound
  • Camcoder
  • Camera
    Front facing camera not working on stock Camera app, but Mi A2 Camera Magisk module reportedly working as expected.


You will need the latest TWRP recovery installed on your device to flash custom ROMs.


  1. Boot to TWRP recovery
  2. Do a complete backup
  3. Wipe system, caches and data
  4. Flash LineageOS ROM
  5. Flash Open Google Apps
  6. Flash Magisk (optional)

Magisk is not working properly if flashed after initial Android setup. There are some reports of fingerprint and camera not working without Google Apps as well.