[ROM] [unlocked] [douglas,giza] [OTAs] Lineage-14.1 [26 JUL 2021]

Search This thread

Rortiz2

Senior Member
320px-Lineage_OS_Logo.png

LineageOS 14.1 (Android 7.1.2) for the Amazon Fire HD8 2016/2017

Disclaimer:
Code:
/*
* Your warranty is... still valid?
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* in the products you find here before flashing it!
* YOU are choosing to make these modifications.
*/

LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Gerrit Code Review.​

IMPORTANT NOTES BEFORE INSTALLING THE ROM:
  • As usual, you need to be unlocked to install this ROM.
  • This ROM is in beta status so don't expect 100% stable ROM.
  • This ROM is only compatible with the Fire HD8 2017 (douglas) and the Fire HD8 2016 (giza). All questions related to other devices will be reported and ignored.
KNOWN ISSUES:
  • Hardware Decoding is not working (OMX - 1080p video playback).
  • Volume keys behave weirdly.
  • Photos/Video recordings aren't working.
  • Encryption (Disabled).
INSTALLATION:
  • Boot to TWRP.
  • Wipe system, cache and userdata.
  • Install the ROM zip.
  • (OPTIONAL): Flash G-Apps package.
  • (OPTIONAL): Flash root (Magisk/SuperSU).
  • Wipe Dalvik Cache.
  • Reboot and enjoy!
DOWNLOADS:
Source Code:
Special Thanks:
  • SPECIAL THANKS to @FreakyyLike for donating me douglas.
  • @Lorisson for testing the ROM (douglas).
  • @Iovaduck for testing the ROM (giza).

XDA:DevDB Information
LineageOS 14.1 for the Amazon Fire HD8 2017/2016, ROM for the Amazon Fire HD 8 2017/2016

Contributors
Rortiz2
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: Unlocked bootloader + TWRP
Based On: LineageOS

Version Information
Status:
Beta
Current Beta Version: 7
Beta Release Date: 2020-11-26

Created 2020-11-26
Last Updated 2021-08-13
 

Attachments

  • 9.jpg
    9.jpg
    37.8 KB · Views: 1,427
  • 8.jpg
    8.jpg
    37.6 KB · Views: 1,385
  • 7.jpg
    7.jpg
    24.1 KB · Views: 1,073
  • 6.jpg
    6.jpg
    25.5 KB · Views: 1,121
  • 5.jpg
    5.jpg
    20 KB · Views: 1,129
  • 4.jpg
    4.jpg
    32.7 KB · Views: 1,166
  • 3.jpg
    3.jpg
    33.1 KB · Views: 1,107
  • 2.jpg
    2.jpg
    36.8 KB · Views: 1,063
  • 1.jpg
    1.jpg
    33.4 KB · Views: 1,408
Last edited:

Rortiz2

Senior Member
Changelog

2021-08-26
[douglas] [giza]
  • Updated wpa_supplicant_8 HAL.
  • Now building libwifi-hal-mt66xx.
  • Rebased the kernel source to the latest Amazon sources (Fire_HD8_7th_Gen-5.3.7.3.tar.bz2).
  • Set build characteristics to tablet.
  • Dropped prebuilt lights HAL, now building it.
  • UID_SYS_STATS are fully functional now.
  • [KERNEL]: Upstreamed Power/PM drivers.
  • Synced with LineageOS sources (cm-14.1).
2021-08-13 [douglas] [giza]
  • Fixed WebView crashes (Chrome should work).
  • Spoofed Fingerprint (uses Pixel XL's fingerprint now).
  • Increased ZRAM to 786MB (+250MB ~).
  • Dropped deprecated dhpcd.
  • Synced with LineageOS sources (cm-14.1).

2021-07-11 [douglas] [giza]
  • Added support for the Fire HD8 2016! (initial common build).
  • Added a lot of performance tweaks to the kernel.
  • Enabled ZRAM (uses LZ4).

2021-06-14
  • Updated vendor blobs to 5.6.8.0.
  • Fixed UID_SYS_STATS (+ performance).
  • Removed audio logcat spam (+ battery life).
  • Limited background processes.
  • Enabled ZRAM.
  • Fixed microphone.
  • Updated Security Patch to 2021-05-05.
  • Synced with LineageOS sources (cm-14.1).

2021-01-30
  • Fixed external SDCards.
  • Synced with LineageOS sources (cm-14.1).
2021-01-05
  • Updated Security Patch to DEC 2020.
  • Enabled USB tethering interface (rndis0) in the overlay.
  • Disabled Encryption from Settings.
  • Enabled Doze (Deep Sleep).
  • Enabled offline charging.
  • Introduced libinit.
  • Synced with LineageOS sources (cm-14.1).
2020-11-30
  • Fixed Prime Video and other Amazon apps.
  • Changed product brand to google to pass play-certification.
  • Fixed some out of memory GL crashes (app crashes).
  • Enabled BLE.
  • Some updates related to storage (still not working).
  • Fixed OTAs.
2020-11-28
  • Fixed Video Playback (SW).
  • Fixed Audio.
  • Disabled Camera (no more battery drains).
  • [KERNEL]: Fixed warning when releasing active sync point.
2020-11-26
  • Initial Release.
  • Audio is not working at all (due camera).
  • DRM should be working (L1).
  • SDcard does weird stuff.
  • Video Playback is broken aswell (due camera).
  • Volume keys are swapped sometimes.
 
Last edited:

Rortiz2

Senior Member
TODO LIST
  • [fixed] Audio working without problems - camera was causing weird issues.
  • [fixed] DRM seems to be working - LP legacy libraries were causing weird libc fatal crashes.
  • [partially fixed] OMX is partially working - SW decoding is working fine. HW decoding is broken as of now.
  • [fixed] Wi-Fi working - Been working without problems since the first build.
  • [fixed] BT working - Same as Wi-Fi, always have been working without problems.
  • [todo] Camera not working - Videos and Photos aren't working. Enabling camera causes issues with Audio and OMX (SW).
  • [fixed] External SDCard - There are some mounting issues (vold related?) - External SDCard is working without problems now.
  • [todo] Deep Sleep - Pending to enable Doze and see if it improves the Deep Sleep. Still not working, big battery drains.
  • [todo] Volume keys are working weirdly - They're sometimes swapped.
 
Last edited:
Adb logcat shows (permanently) crashing mediaserver:
Code:
11-27 23:54:31.380  8802  8802 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x54 in tid 8802 (mediaserver)
11-27 23:54:31.380   192   192 W         : debuggerd: handling request: pid=8802 uid=1013 gid=1005 tid=8802
11-27 23:54:31.447  8812  8812 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-27 23:54:31.447  8812  8812 F DEBUG   : LineageOS Version: '14.1-20201126-UNOFFICIAL-douglas'
11-27 23:54:31.447  8812  8812 F DEBUG   : Build fingerprint: 'Amazon/cm_douglas/douglas:7.1.2/NJH47F/3feda29ce4:userdebug/test-keys'
11-27 23:54:31.447  8812  8812 F DEBUG   : Revision: '0'
11-27 23:54:31.447  8812  8812 F DEBUG   : ABI: 'arm'
11-27 23:54:31.447  8812  8812 F DEBUG   : pid: 8802, tid: 8802, name: mediaserver  >>> /system/bin/mediaserver <<<
11-27 23:54:31.447  8812  8812 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x54
11-27 23:54:31.447  8812  8812 F DEBUG   :     r0 00000000  r1 00000003  r2 ffb56404  r3 f6ac6a65
11-27 23:54:31.447  8812  8812 F DEBUG   :     r4 f5fcffc0  r5 f3149184  r6 00000000  r7 00000001
11-27 23:54:31.447  8812  8812 F DEBUG   :     r8 00000000  r9 00000000  sl 00000000  fp ffb56510
11-27 23:54:31.447  8812  8812 F DEBUG   :     ip f314b834  sp ffb563e8  lr f3135b9d  pc f6ac6a6c  cpsr 000f0030
11-27 23:54:31.452  8812  8812 F DEBUG   :
11-27 23:54:31.452  8812  8812 F DEBUG   : backtrace:
11-27 23:54:31.452  8812  8812 F DEBUG   :     #00 pc 0005da6c  /system/lib/libcameraservice.so
11-27 23:54:31.452  8812  8812 F DEBUG   :     #01 pc 00014b9b  /system/lib/libcam.client.so (_ZN7android15NSDisplayClient13DisplayClient15restoreBufCountEv+18)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #02 pc 000150f1  /system/lib/libcam.client.so (_ZN7android15NSDisplayClient13DisplayClient6uninitEv+24)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #03 pc 00008d19  /system/lib/libcam.device1.so (_ZN7android14Cam1DeviceBase17initDisplayClientEP18preview_stream_ops+56)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #04 pc 0000775b  /system/lib/libcam.device1.so (_ZN7android14Cam1DeviceBase16setPreviewWindowEP18preview_stream_ops+34)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #05 pc 0005ce7b  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl22disconnectCameraDeviceEv+138)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #06 pc 0005d05d  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl18hasFlashUnitLockedERKNS_7String8EPbb+100)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #07 pc 0005d101  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl12hasFlashUnitERKNS_7String8EPb+28)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #08 pc 0005bf41  /system/lib/libcameraservice.so (_ZN7android16CameraFlashlight14findFlashUnitsEv+140)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #09 pc 0004ff13  /system/lib/libcameraservice.so (_ZN7android13CameraService10onFirstRefEv+302)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #10 pc 00000eb3  /system/bin/mediaserver
11-27 23:54:31.453  8812  8812 F DEBUG   :     #11 pc 00000d47  /system/bin/mediaserver
11-27 23:54:31.453  8812  8812 F DEBUG   :     #12 pc 00016ca1  /system/lib/libc.so (__libc_init+48)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #13 pc 00000c2c  /system/bin/mediaserver
11-27 23:54:31.603   584   767 W NativeCrashListener: Couldn't find ProcessRecord for pid 8802
11-27 23:54:31.603  8802  8808 D AMZ-lsc_mgr2_thread: [changeThreadSetting] sensor(1), tid(8808), policy:(expect, result)=(0, 0), priority:(expect, result)=(0xfffffffd, 0xfffffffd)
11-27 23:54:31.603  8802  8808 D AMZ-lsc_mgr2_thread: [doThreadFunc +]
11-27 23:54:31.606   584   622 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
11-27 23:54:31.613   192   192 W         : debuggerd: resuming target 8802
11-27 23:54:31.616   288   288 I ServiceManager: service 'media.player' died
11-27 23:54:31.616   288   288 I ServiceManager: service 'media.resource_manager' died
11-27 23:54:32.240   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:32.240   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:32.240   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:32.241   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.242   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:33.242   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.242   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:33.243   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:284): avc: denied { read } for name="FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:285): avc: denied { open } for path="/sys/devices/platform/battery/FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:286): avc: denied { getattr } for path="/sys/devices/platform/battery/FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:34.244   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:34.244   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:34.244   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:34.245   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:34.943  8818  8818 I mediaserver: ServiceManager: 0xf5e90520
11-27 23:54:34.944  8818  8818 I CameraService: CameraService started (pid=8818)
11-27 23:54:34.945  8818  8818 I CameraService: CameraService process starting
11-27 23:54:35.166  8818  8818 D AMZ-IspDrv: [IspDrvImp] getpid[0x00002272],gettid[0x00002272]

Besides that: A very snappy, fast nice ROM. Awesome work @Rortiz2 ! Did not test that much yet but I am already impressed by the speed compared to what I had installed before. Again, thanks.
 
Last edited:

dontpanic-xda

Member
Oct 13, 2019
40
10
Thanks for the ROM. Here's my initial testing feedback...

I tested a video, but could not get any playback.

I couldn't get any audio working with either RadioDroid or AntennaPod. Also, the battery drain was relatively fast.

A logcat was showing issues with the Camera Service crashing constantly. So, referring back to the feedback on the Alpha version, I rebooted to TWRP, and deleted:
/system/lib64/hw/camera.mt8163.so
/system/lib/hw/camera.mt8163.so

... and now ... SUCCESS!

RadioDroid and AntennaPod are both working correctly.

My bluetooth speaker was working well.

Also, I was able to get an mp4 video playback working on a 1080p mp4 video. I only sampled the video, but it seemed to be working fine.

The camera app is not showing anymore (certainly related to my deletion of critical files for this app).

It'll take more time to get additional feedback on the battery life.

The SDCard is funky. It's volume label appears to be jibberish. Some apps find it OK, other apps have trouble seeing my SDCard.

Thanks again.
 

Korin67

Senior Member
Feb 24, 2018
250
114
Great feedback! I also did this workaround and can now enjoy music. Thank you for the information. Another issue related to the sound, I realized in Setting>Sound, I could not move the bar to change the sound level. This issue also gone. I think sound related issue has solved. If SDCard issue solved, I can enjoy music on my SDCard. And I can see Images with Gallery that are on SDCard. Waiting for solving the SDcard issue.
 

KaTze87

Member
Apr 16, 2020
6
0
Modelo l5s83a

Hola, mi tablet es la modelo l5s83a. Ahora tengo puesta lineage 15.1, quisiera poner esta versión la 14.1. Puedo instalarla? Estoy buscando haber si mi modelo es del 2017 pero no lo encuentro. Se que es de 8th generación. Gracias, un saludo.
 

Rortiz2

Senior Member
Hola, mi tablet es la modelo l5s83a. Ahora tengo puesta lineage 15.1, quisiera poner esta versión la 14.1. Puedo instalarla? Estoy buscando haber si mi modelo es del 2017 pero no lo encuentro. Se que es de 8th generación. Gracias, un saludo.
Esto es para la HD8 2017.. Tu tienes el modelo 2018 así que estás buscando esto: https://xdaforums.com/hd8-hd10/orig-development/lineageos-14-1-fire-hd8-2018-t3936242
Also please use english..

Enviat des del meu WAS-LX1A usant Tapatalk
 
Last edited:

Rortiz2

Senior Member
New build is up

2020-11-28
  • Fixed Video Playback (SW).
  • Fixed Audio.
  • Disabled Camera (no more battery drains).
  • [KERNEL]: Fixed warning when releasing active sync point.
Note: You should be able to install this version using the built-in LineageOS OTA updater though I don't know if will work. If somebody updates using the OTA app let me know if works correctly.
 

Rortiz2

Senior Member
Adb logcat shows (permanently) crashing mediaserver:
Code:
11-27 23:54:31.380  8802  8802 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x54 in tid 8802 (mediaserver)
11-27 23:54:31.380   192   192 W         : debuggerd: handling request: pid=8802 uid=1013 gid=1005 tid=8802
11-27 23:54:31.447  8812  8812 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-27 23:54:31.447  8812  8812 F DEBUG   : LineageOS Version: '14.1-20201126-UNOFFICIAL-douglas'
11-27 23:54:31.447  8812  8812 F DEBUG   : Build fingerprint: 'Amazon/cm_douglas/douglas:7.1.2/NJH47F/3feda29ce4:userdebug/test-keys'
11-27 23:54:31.447  8812  8812 F DEBUG   : Revision: '0'
11-27 23:54:31.447  8812  8812 F DEBUG   : ABI: 'arm'
11-27 23:54:31.447  8812  8812 F DEBUG   : pid: 8802, tid: 8802, name: mediaserver  >>> /system/bin/mediaserver <<<
11-27 23:54:31.447  8812  8812 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x54
11-27 23:54:31.447  8812  8812 F DEBUG   :     r0 00000000  r1 00000003  r2 ffb56404  r3 f6ac6a65
11-27 23:54:31.447  8812  8812 F DEBUG   :     r4 f5fcffc0  r5 f3149184  r6 00000000  r7 00000001
11-27 23:54:31.447  8812  8812 F DEBUG   :     r8 00000000  r9 00000000  sl 00000000  fp ffb56510
11-27 23:54:31.447  8812  8812 F DEBUG   :     ip f314b834  sp ffb563e8  lr f3135b9d  pc f6ac6a6c  cpsr 000f0030
11-27 23:54:31.452  8812  8812 F DEBUG   :
11-27 23:54:31.452  8812  8812 F DEBUG   : backtrace:
11-27 23:54:31.452  8812  8812 F DEBUG   :     #00 pc 0005da6c  /system/lib/libcameraservice.so
11-27 23:54:31.452  8812  8812 F DEBUG   :     #01 pc 00014b9b  /system/lib/libcam.client.so (_ZN7android15NSDisplayClient13DisplayClient15restoreBufCountEv+18)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #02 pc 000150f1  /system/lib/libcam.client.so (_ZN7android15NSDisplayClient13DisplayClient6uninitEv+24)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #03 pc 00008d19  /system/lib/libcam.device1.so (_ZN7android14Cam1DeviceBase17initDisplayClientEP18preview_stream_ops+56)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #04 pc 0000775b  /system/lib/libcam.device1.so (_ZN7android14Cam1DeviceBase16setPreviewWindowEP18preview_stream_ops+34)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #05 pc 0005ce7b  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl22disconnectCameraDeviceEv+138)
11-27 23:54:31.452  8812  8812 F DEBUG   :     #06 pc 0005d05d  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl18hasFlashUnitLockedERKNS_7String8EPbb+100)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #07 pc 0005d101  /system/lib/libcameraservice.so (_ZN7android35CameraHardwareInterfaceFlashControl12hasFlashUnitERKNS_7String8EPb+28)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #08 pc 0005bf41  /system/lib/libcameraservice.so (_ZN7android16CameraFlashlight14findFlashUnitsEv+140)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #09 pc 0004ff13  /system/lib/libcameraservice.so (_ZN7android13CameraService10onFirstRefEv+302)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #10 pc 00000eb3  /system/bin/mediaserver
11-27 23:54:31.453  8812  8812 F DEBUG   :     #11 pc 00000d47  /system/bin/mediaserver
11-27 23:54:31.453  8812  8812 F DEBUG   :     #12 pc 00016ca1  /system/lib/libc.so (__libc_init+48)
11-27 23:54:31.453  8812  8812 F DEBUG   :     #13 pc 00000c2c  /system/bin/mediaserver
11-27 23:54:31.603   584   767 W NativeCrashListener: Couldn't find ProcessRecord for pid 8802
11-27 23:54:31.603  8802  8808 D AMZ-lsc_mgr2_thread: [changeThreadSetting] sensor(1), tid(8808), policy:(expect, result)=(0, 0), priority:(expect, result)=(0xfffffffd, 0xfffffffd)
11-27 23:54:31.603  8802  8808 D AMZ-lsc_mgr2_thread: [doThreadFunc +]
11-27 23:54:31.606   584   622 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
11-27 23:54:31.613   192   192 W         : debuggerd: resuming target 8802
11-27 23:54:31.616   288   288 I ServiceManager: service 'media.player' died
11-27 23:54:31.616   288   288 I ServiceManager: service 'media.resource_manager' died
11-27 23:54:32.240   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:32.240   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:32.240   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:32.241   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.242   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:33.242   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.242   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:33.243   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:284): avc: denied { read } for name="FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:285): avc: denied { open } for path="/sys/devices/platform/battery/FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:33.431  5053  5053 I Thread-12: type=1400 audit(0.0:286): avc: denied { getattr } for path="/sys/devices/platform/battery/FG_Battery_CurrentConsumption" dev="sysfs" ino=19392 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
11-27 23:54:34.244   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:34.244   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:34.244   584   618 I CameraManagerGlobal: Connecting to camera service
11-27 23:54:34.245   584   618 E CameraManagerGlobal: Camera service is unavailable
11-27 23:54:34.943  8818  8818 I mediaserver: ServiceManager: 0xf5e90520
11-27 23:54:34.944  8818  8818 I CameraService: CameraService started (pid=8818)
11-27 23:54:34.945  8818  8818 I CameraService: CameraService process starting
11-27 23:54:35.166  8818  8818 D AMZ-IspDrv: [IspDrvImp] getpid[0x00002272],gettid[0x00002272]

Besides that: A very snappy, fast nice ROM. Awesome work @Rortiz2 ! Did not test that much yet but I am already impressed by the speed compared to what I had installed before. Again, thanks.

Hi,

I know mediaserver it's constantly crashing in the background but I don't know how to fix that crash.
I tried a lot of stuff with the same result (no success) so I ended up nuking out camera in the latest build.
I guess the problem it's related to libhal_effects.so since I always see before the libc crash:
Code:
11-27 20:57:26.840  3230  3230 D AMZ-Hal_Effects: >HalEffects
11-27 20:57:26.840  3230  3230 D AMZ-Frosted_Glass: >FrostedGlass
11-27 20:57:26.840  3230  3230 D AMZ-Frosted_Glass: <FrostedGlass
11-27 20:57:26.840  3230  3230 D AMZ-Hal_Effects: <HalEffects
11-27 20:57:26.840  3230  3230 D AMZ-Hal_Effects: >~HalEffects
11-27 20:57:26.840  3230  3230 D AMZ-Hal_Effects: <~HalEffects

Regards.
 
Last edited:

pindus

Member
Oct 10, 2008
19
4
Rome
A logcat was showing issues with the Camera Service crashing constantly. So, referring back to the feedback on the Alpha version, I rebooted to TWRP, and deleted:
/system/lib64/hw/camera.mt8163.so
/system/lib/hw/camera.mt8163.so

Oh. Thank you!
Actually I forgot to delete those files and I have a very weird behavior: Firefox crashes all time, as well as Kodi. Youtube stuck on a white screen with some widgets all around. The tablet is very unstable
I deleted the files and now everything is OK, like the Alpha version

--
ciao

---------- Post added at 12:47 PM ---------- Previous post was at 12:46 PM ----------

2020-11-28

Note: You should be able to install this version using the built-in LineageOS OTA updater though I don't know if will work. If somebody updates using the OTA app let me know if works correctly.

Upgrading using OTA: I let you know

---------- Post added at 12:51 PM ---------- Previous post was at 12:47 PM ----------

I tried a lot of stuff with the same result (no success) so I ended up nuking out camera in the latest build.

You're a wise man :)
And thanks again for you hard work: now I have a perfectly usable tablet

--
ciao
 
  • Like
Reactions: Aeternamens

pindus

Member
Oct 10, 2008
19
4
Rome
2020-11-28

Note: You should be able to install this version using the built-in LineageOS OTA updater though I don't know if will work. If somebody updates using the OTA app let me know if works correctly.

The OTA updater has detected and downloaded the version but gave an error when I tried to install it
I've got TWRP 3.3.1-0
So I did a reboot in recovery and manually install the zip downloaded by the updater
I did an installation on the previous version, wiping only cache and dalvik
Everything is OK but Amazon shop still does not work and Firefox is still lagging a little bit

*Edit*
Regarding Syncthing, it's possible sync only folders in the internal memory., despite the app can access the SD
--
ciao
 
Last edited:
Overall Impressions: Very Good So Far!

Installing now and will report with any useful info that may be needed. A great Thanksgiving gift!

Gotta say this ROM is already working pretty well in general. I can't wait to see what else can come.
For my testing, I used a 16GB Fire HD 8 Douglas for the build that was released on November 28th, and I also flashed the first beta build on a 32GB Fire HD 8 Douglas as well. The 16GB had Magisk root and both installations included OpenGApps "Nano" package as that is what I prefer for the majority of my ROM installations. Even though the "pico" package was

I won't be mentioning my issues on the first build since those have already been addressed in replies to this post, so my focus is on the new build from today. Since I already had the first beta build installed on a testing tablet, I used the built-in LineageOS updater and it detected an update and even downloaded the update, but then showed a silent notification reading "LineageOS 14.1 - Nov 28, 2020 Install Error". I have attached a picture for reference. Because of this failure, I just rebooted the device into recovery mode and flashed the image manually using ADB Sideload, without doing a clean installation. (In other words, I didn't wipe anything before or after sideloading the ZIP file in TWRP, other than Cache and Dalvik after flashing) When I flashed the image, it seemed that Magisk 21.0 popped up in the log and even patched the boot image. That's pretty cool since I don't recall ever seeing that before. I then rebooted my system, and I gotta say, it took a while to load, but it eventually put me on the lock screen with the notification, "Finishing Android Update"! That was good to see, and everything seemed like it was before. So, without further ado, let's finally get to testing the ROM itself.

For testing ROMs, I like to follow a basic method that I came up with on my own, and my testing is compiled with a variety of different tasks. I will list only the issues that I encountered since my testing can be a little comprehensive. While I am not done with my testing yet, I will share my results after spending a good couple of hours with my device.

Volume Control: Backwards when in portrait orientation at first, but after rotating, it was fixed.
Bluetooth: Cannot pair a Bluetooth speaker (Specifically a Google Home Mini) because of incorrect paring pin. See Screenshots below (Bluetooth1.png and Bluetooth2.png) It seemed to prompt me to enter a pairing PIN, but did not give me a place to enter a code. However, on a device like this, I shouldn't enter a PIN. It should show me a pin to match with the device (or something similar to that).
Browser: Playing 1080p video on YouTube using the built-in browser gave me a stutter every once in a while, but I won't blame it on the ROM, and I believe that it has something to do with the hardware in the tablet itself (or my internet connection, which is gigabit with Comcast and an Arris S33 Modem and Nest Wifi Router). I was loading some websites built on the WordPress framework and while they loaded, I experienced some graphical glitches with them. Again, I'm not sure if it is the browser in the ROM or the device, but still, something to note.
Camera: There was no camera app on the launcher, so I attempted to load it through the lock screen, but it was a white screen, presumably attempting to load the app, but then it just brought me back to the lock screen as if it crashed. But, I had a screen lock turned on. So, when I unlocked my device, the camera app asked for my location, so when I allowed the permission, it actually crashed.

So those are my initial bugs, but I'm far from being done with this ROM. I have a whole lot of plans and tests and I can't wait to help out even more.
 
  • Like
Reactions: Lynnz

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    320px-Lineage_OS_Logo.png

    LineageOS 14.1 (Android 7.1.2) for the Amazon Fire HD8 2016/2017

    Disclaimer:
    Code:
    /*
    * Your warranty is... still valid?
    * I am not responsible for bricked devices, dead SD cards, thermonuclear war,
    * or you getting fired because the alarm app failed.
    * Please do some research if you have any concerns about features included
    * in the products you find here before flashing it!
    * YOU are choosing to make these modifications.
    */

    LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Gerrit Code Review.​

    IMPORTANT NOTES BEFORE INSTALLING THE ROM:
    • As usual, you need to be unlocked to install this ROM.
    • This ROM is in beta status so don't expect 100% stable ROM.
    • This ROM is only compatible with the Fire HD8 2017 (douglas) and the Fire HD8 2016 (giza). All questions related to other devices will be reported and ignored.
    KNOWN ISSUES:
    • Hardware Decoding is not working (OMX - 1080p video playback).
    • Volume keys behave weirdly.
    • Photos/Video recordings aren't working.
    • Encryption (Disabled).
    INSTALLATION:
    • Boot to TWRP.
    • Wipe system, cache and userdata.
    • Install the ROM zip.
    • (OPTIONAL): Flash G-Apps package.
    • (OPTIONAL): Flash root (Magisk/SuperSU).
    • Wipe Dalvik Cache.
    • Reboot and enjoy!
    DOWNLOADS:
    Source Code:
    Special Thanks:
    • SPECIAL THANKS to @FreakyyLike for donating me douglas.
    • @Lorisson for testing the ROM (douglas).
    • @Iovaduck for testing the ROM (giza).

    XDA:DevDB Information
    LineageOS 14.1 for the Amazon Fire HD8 2017/2016, ROM for the Amazon Fire HD 8 2017/2016

    Contributors
    Rortiz2
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Unlocked bootloader + TWRP
    Based On: LineageOS

    Version Information
    Status:
    Beta
    Current Beta Version: 7
    Beta Release Date: 2020-11-26

    Created 2020-11-26
    Last Updated 2021-08-13
    10
    Then, LOS14.1 will be discontinued soon?? How about deep sleep issue on LOS15.1?
    Well, if I get the same status as nougat, I guess I'll discontinue it yeah. Not to mention that LineageOS stopped pushing security patches to the cm-14.1 branch. You can also expect LineageOS 16.0 once 15.1 it's enough stable.

    Unfortunately, the Deep Sleep issue is present as well in lineage-15.1. The current list of working/not working features is:
    • Sound - OK.
    • Microphone - OK.
    • Internal Storage (sdcardFS) - OK.
    • External Storage - OK.
    • HW decoding - not working.
    • SW decoding - OK.
    • Photos/Video recording - not working (fair better than nougat).
    • Widevine (DRM) - not working.
    • Wi-Fi - OK.
    • BT - not working.
    Once I get BT and DRM working I'll upload the first beta of lineage-15.1.
    9
    New build is up

    2021-08-26
    [douglas] [giza]
    • Updated wpa_supplicant_8 HAL.
    • Now building libwifi-hal-mt66xx.
    • Rebased the kernel source to the latest Amazon sources (Fire_HD8_7th_Gen-5.3.7.3.tar.bz2).
    • Set build characteristics to tablet.
    • Dropped prebuilt lights HAL, now building it.
    • UID_SYS_STATS are fully functional now.
    • [Kernel]: Upstreamed Power/PM drivers.
    • Synced with LineageOS sources (cm-14.1).
    NOTE: OTA should roll out in a few minutes. If it doesn't, you can always update by manually flashing the ZIP through TWRP.
    8
    Changelog

    2021-08-26
    [douglas] [giza]
    • Updated wpa_supplicant_8 HAL.
    • Now building libwifi-hal-mt66xx.
    • Rebased the kernel source to the latest Amazon sources (Fire_HD8_7th_Gen-5.3.7.3.tar.bz2).
    • Set build characteristics to tablet.
    • Dropped prebuilt lights HAL, now building it.
    • UID_SYS_STATS are fully functional now.
    • [KERNEL]: Upstreamed Power/PM drivers.
    • Synced with LineageOS sources (cm-14.1).
    2021-08-13 [douglas] [giza]
    • Fixed WebView crashes (Chrome should work).
    • Spoofed Fingerprint (uses Pixel XL's fingerprint now).
    • Increased ZRAM to 786MB (+250MB ~).
    • Dropped deprecated dhpcd.
    • Synced with LineageOS sources (cm-14.1).

    2021-07-11 [douglas] [giza]
    • Added support for the Fire HD8 2016! (initial common build).
    • Added a lot of performance tweaks to the kernel.
    • Enabled ZRAM (uses LZ4).

    2021-06-14
    • Updated vendor blobs to 5.6.8.0.
    • Fixed UID_SYS_STATS (+ performance).
    • Removed audio logcat spam (+ battery life).
    • Limited background processes.
    • Enabled ZRAM.
    • Fixed microphone.
    • Updated Security Patch to 2021-05-05.
    • Synced with LineageOS sources (cm-14.1).

    2021-01-30
    • Fixed external SDCards.
    • Synced with LineageOS sources (cm-14.1).
    2021-01-05
    • Updated Security Patch to DEC 2020.
    • Enabled USB tethering interface (rndis0) in the overlay.
    • Disabled Encryption from Settings.
    • Enabled Doze (Deep Sleep).
    • Enabled offline charging.
    • Introduced libinit.
    • Synced with LineageOS sources (cm-14.1).
    2020-11-30
    • Fixed Prime Video and other Amazon apps.
    • Changed product brand to google to pass play-certification.
    • Fixed some out of memory GL crashes (app crashes).
    • Enabled BLE.
    • Some updates related to storage (still not working).
    • Fixed OTAs.
    2020-11-28
    • Fixed Video Playback (SW).
    • Fixed Audio.
    • Disabled Camera (no more battery drains).
    • [KERNEL]: Fixed warning when releasing active sync point.
    2020-11-26
    • Initial Release.
    • Audio is not working at all (due camera).
    • DRM should be working (L1).
    • SDcard does weird stuff.
    • Video Playback is broken aswell (due camera).
    • Volume keys are swapped sometimes.
    8
    New build is up

    2021-06-14
    • Updated vendor blobs to 5.6.8.0.
    • Fixed UID_SYS_STATS (+ performance).
    • Removed audio logcat spam (+ battery life).
    • Limited background processes.
    • Enabled ZRAM.
    • Fixed microphone.
    • Updated Security Patch to 2021-05-05.
    • Synced with LineageOS sources (cm-14.1).

    NOTE: OTA has also been pushed, you should be able to update through the LineageOS (CM) Updater app.