• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

Korin67

Senior Member
Feb 24, 2018
177
90
I can't help you if I don't know your issue. Please at least provide something relevant to debug your problem (i.e: build log).
Seems no further report from the original person. I write the compilation error instead. The kernel source is not up to date. I have the following error that stops the compilation:

/media/AICP/kernel/amazon/douglas/kernel/exit.c:59:24: fatal error: linux/kcov.h: No such file or directory
#include <linux/kcov.h>
^
compilation terminated.
 

Korin67

Senior Member
Feb 24, 2018
177
90
Very few people views this tread? Second report about compilation. If you comment out the line for non-existing header file, the compilation continues. But you will be stopped with the next error (apparently they are trying to fix cpu frequency issue).

/media/AICP/kernel/amazon/douglas/kernel/sched/core.c:1952:2: error: implicit declaration of function 'cpufreq_task_stats_init' [-Werror=implicit-function-declaration]
cpufreq_task_stats_init(p);
^

If you are not a dev (so am I), better wait until the kernel source be updated.
 
  • Like
Reactions: klister

mcgi5sr2

Senior Member
Oct 15, 2012
1,057
1,809
Sheffield
@Rortiz2 you latest build is 20210105, yet the changelog states a more recent one, and the device trees show updates as recent as 20210317. Any chance you could make a build and drop it on AFH?

Apologies still not had the time to resync sources
 

Rortiz2

Senior Member
Mar 1, 2018
2,063
1,283
Barcelona
Very few people views this tread? Second report about compilation. If you comment out the line for non-existing header file, the compilation continues. But you will be stopped with the next error (apparently they are trying to fix cpu frequency issue).

/media/AICP/kernel/amazon/douglas/kernel/sched/core.c:1952:2: error: implicit declaration of function 'cpufreq_task_stats_init' [-Werror=implicit-function-declaration]
cpufreq_task_stats_init(p);
^

If you are not a dev (so am I), better wait until the kernel source be updated.
Sorry, that was my fault. I tried adding support for UID_SYS_STATS but probably some of the changes caused conflicts. Now everything should be fixed and UID_SYS_STATS should already work.
 

Rortiz2

Senior Member
Mar 1, 2018
2,063
1,283
Barcelona
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.
 

cache.return

New member
May 25, 2021
2
0
Thanks for the update. I've installed it. Is there any empirical way for me to test whether battery life is better? What was the issue before, failure to enter a particular sleep state? If this issue is known to still exist, I am willing to do whatever might be useful to help test a fix.
 

koop1955

Senior Member
Mar 17, 2011
1,823
1,950
Las Vegas
www.larrykuperman.com
@Rortiz2 another great job! Flashed via the updater, couldn't have been easier. After completion I updated to the latest version of Magisk (note: I renamed the Magisk APK to Zip, then flashed via TWRP) and all is well, passed all checks.
Too early to assess performance and battery life, but it feels good, a bit snappier.
Thanks again.
 

Korin67

Senior Member
Feb 24, 2018
177
90
Thank you for updating device tree. I found a problem in the source code,

in lab126_log_shim.cpp (line 42):

|| (strcmp(tag, "AudioALSAStreamOut", 7) == 0)

should be:

|| strncmp(tag, "AudioALSAStreamOut", 7) == 0)

If so, please fix.
 

Rortiz2

Senior Member
Mar 1, 2018
2,063
1,283
Barcelona
Thank you for updating device tree. I found a problem in the source code,

in lab126_log_shim.cpp (line 42):

|| (strcmp(tag, "AudioALSAStreamOut", 7) == 0)

should be:

|| strncmp(tag, "AudioALSAStreamOut", 7) == 0)

If so, please fix.
Yeah that's correct. The function used to compare strings it's named `strncmp` and not `strcmp`. I pushed a commit that fixes that. Thanks for the report.
 

Korin67

Senior Member
Feb 24, 2018
177
90
Thanks for the update. I've installed it. Is there any empirical way for me to test whether battery life is better? What was the issue before, failure to enter a particular sleep state? If this issue is known to still exist, I am willing to do whatever might be useful to help test a fix.
What I found is even with the latest version, it still does not go into deep sleep. I checked with Kernel Adiutor.
 

Attachments

  • Screenshot_20210616-200156.png
    Screenshot_20210616-200156.png
    55.9 KB · Views: 42

B2Pi

Senior Member
Jan 19, 2011
79
20
I have no idea how this works, but, although I have no other issues with the ancient amazon with this ROM, the MLB app (once known as At Bat) will not install. I don't suppose anyone has a workaround..?
 
Hi Roritz, I don't know if it's still happening but if I recall the roms on the douglas device suffer from this GMS issue where it takes forever on Checking for Updates so to anyone who reads it you'll have to restart if you're stuck and it should work the next time. Just a PSA i'm not sure if roritz can fix it though sadly
 

faekplastik3s

Senior Member
Oct 26, 2011
185
77
What I found is even with the latest version, it still does not go into deep sleep. I checked with Kernel Adiutor.
Same here. It's a shame, because the battery barely lasts a day even just idling. I'll take it off the charger in the morning, not use it all day, and at night it has 15% left, same as if I had used it all day. Crazy.
 

Rortiz2

Senior Member
Mar 1, 2018
2,063
1,283
Barcelona
Hi Roritz, I don't know if it's still happening but if I recall the roms on the douglas device suffer from this GMS issue where it takes forever on Checking for Updates so to anyone who reads it you'll have to restart if you're stuck and it should work the next time. Just a PSA i'm not sure if roritz can fix it though sadly
Hi there. Unfortunately the GMS issue isn't a problem related to my ROM at all. More devices (i.e: suez, austin, ford) are experiencing the same problem. I guess you could try to flash an older version of the GAPPs package.
 
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.
Thanks for the new update, OTA showed up in the app, but it didn't want to download. Manual install was required. I will update with any issues that occur.
 
  • Like
Reactions: pom532

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    New build is up!

    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).
    NOTE: Updating through the built-in OTA application will not work (since I changed servers).
    4
    wow, did not expect an actively developed rom for this device, so glad I checked. Thanks for your work on this device.

    Is there a priority on the known issues?, like the order, out of curiosity.
    Yes, I'm currently working on fixing the chrome bug and the big battery drains.
    4
    Whoever wants to test a new version (where perhaps battery drains are fixed) PM me please
    3
    Since I recently unlocked the Fire HD8 2016, I'll add support for LineageOS and I'll update this thread to support both Fire HD8 2016 & Fire HD8 2017.
    2
    I replaced the usb port of my tablet, flashed the new version and tested the mic with the Alexa app: is working fine. Thanks for the fix!
    The only thing I miss is the ability to invoke the app when the screen is off like I had on the original rom but I suppose I cant have all.
    Since the tablet is used as a media player and in the same room I now have a little amazon flex I'm fine!
  • 14
    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:
    • @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: 6
    Beta Release Date: 2020-11-26

    Created 2020-11-26
    Last Updated 2021-07-11
    8
    Changelog

    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.
    7
    New build is up

    2021-01-30
    • Fixed external SDCards.
    • Synced with LineageOS sources (cm-14.1).
    6
    New build is up!

    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).
    NOTE: Updating through the built-in OTA application will not work (since I changed servers).