• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM] [unlocked] [douglas,giza] [OTAs] Lineage-15.1 [02 JAN 2022]

Search This thread

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
320px-Lineage_OS_Logo.png

LineageOS 15.1 (Android 8.1.0) 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 only compatible with the Fire HD8 2017 (douglas) and the Fire HD8 2016 (giza).
KNOWN ISSUES:
  • Deep Sleep.
  • Hidden SSIDs.
  • Hardware decoding.
  • [giza] Camera.
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:
 

Attachments

  • Screenshot_20220104-023329_Settings.png
    Screenshot_20220104-023329_Settings.png
    81.6 KB · Views: 93
  • Screenshot_20220104-023206_Trebuchet.png
    Screenshot_20220104-023206_Trebuchet.png
    918.2 KB · Views: 88
  • Screenshot_20220104-023211_Trebuchet.png
    Screenshot_20220104-023211_Trebuchet.png
    569.5 KB · Views: 83
  • Screenshot_20220104-023252_Trebuchet.png
    Screenshot_20220104-023252_Trebuchet.png
    599 KB · Views: 91
Last edited:

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
Changelog

2022-01-02 [douglas] [giza]

  • Fixed USB tethering.
  • Added support for MTK's perfnative handles.
  • Updated vendor blobs to the latest FireOS version.
  • Defined the vendor security patch (to satisfy Trust).
  • Cleaned up unused vendor blobs & patches.
  • Fixed MicroG spoof patch.

2021-11-07 [douglas] [giza]
  • Fixed Video Recording [douglas].
  • Partially fixed Hardware Decoding/Encoding.

2021-10-31 [douglas] [giza]
  • Resolved missing {drm,omx} symbols ({TimedEventQueue,EVP}).
  • Added MicroG support (Signature Spoofing).
  • Added exFAT support (included new kernel driver).
  • Fixed audio stream (amazon proprietary libraries).
  • Added GPU Extension Device ("GED") support.
  • Updated the security patch to October 2021.

2021-10-03 [douglas] [giza]
  • Updated vcodec libraries.
  • Fixed internal storage issues (disabled sdcardFS).
  • Removed amazon/mediatek kernel logging.
  • Resolved missing libraries/symbols.
  • Converted audio_effects.conf to audio_effects.xml.
  • Switched back to stock libcam.utils.sensorlistener.so.
  • Introduced Sensors MultiHAL.

2021-09-16 [douglas] [giza]
  • Fixed camera [douglas].
  • Fixed internal storage (OBB) issues.

2021-09-12 [douglas] [giza]
  • Fixed up wpa_supplicant config files.
  • Cleaned up wpa_supplicant service definitions (rootdir).
  • Kanged Wi-Fi HAL from the BQ Aquaris M10 (freezerhd).

2021-09-07 [douglas] [giza]
  • Fixed volume keys (kvolcb takes care of them now).
  • Fixed external storage permissions (sdcardfs).
  • Enabled "show internal storage by default" in File Explorer.
  • Added option to reboot to hacked bootloader using ADB (reboot-amonet).
  • Disabled the update recovery function (Developer Settings).
  • Extended support for {OTG,ext SDs} formats.

2021-09-05 [douglas] [giza]
  • Fixed OTAs (refractored URI property).
  • Fixed Magisk and GAPPs installation (removed liblog shim).
  • Signed the build with dev-keys (trust warning should be gone).
  • Fixed system size value (should fix error 7 for giza).
  • Addressed a lot of SELinux denials (still Permissive, though).

2021-09-03 [douglas] [giza]
  • Initial Release.
  • Audio works fine.
  • DRM works fine (L1).
  • Video Playback works fine (SW OMX).
  • Camera isn't working (disabled).
 
Last edited:

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
To be done/fixed list
  • [fixed] Audio working without problems.
  • [fixed] DRM seems to be working - kanging DRM libraries from other devices fixed L1.
  • [partially fixed] OMX is partially working - SW decoding is working fine. HW decoding is broken as of now.
  • [fixed] Wi-Fi working - should be working without problems
  • [fixed] BT working - had to update bt libraries and the kernel driver.
  • [fixed] Camera working - lollipop camera blobs were not compatible with oreo so I kanged camera blobs from mt8163 6.0.1 device and patched lib3a.so.
  • [fixed] Video recording working - works fine with the stock camera now.
  • [todo] Deep Sleep - device not going to sleep when screen is off (ggow has the same problem with suez).
  • [fixed] Volume keys rotation - working fine.
 
Last edited:

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
Notes
  • The camera looks dark because the exposure is probably broken. As a workaround, you can install a third-party app that uses a camera (for example, a QR scanner) and open it once. That should fix the camera exposure.
 
Last edited:
No, fastboot isn't informed of the exploit, fastboot flash boot will overwrite the microloader and will brick the device.
Didn't know that. I think that's why I had to erase the boot partition just so I can install a rom again. it was able to boot to twrp so I just rebooted to hacked BL and erased then boot back and flash a rom in twrp
 

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
Didn't know that. I think that's why I had to erase the boot partition just so I can install a rom again. it was able to boot to twrp so I just rebooted to hacked BL and erased then boot back and flash a rom in twrp
Yes that's possible, because TWRP restores the microloader (boot-exploit). Great to hear that you could recover it.
 

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
The rom is abnormally large? When selecting the aroma package barely anything fits, in 7.1.2 it fit 5x more apps using th aroma package also 400 MB for the rom? what's causing this? how can I make the system partition bigger?
If I'm allowed to ask, what's aroma? And yeah, the ROM size it's quite normal since Android O includes vndk and hidls.
 
If I'm allowed to ask, what's aroma? And yeah, the ROM size it's quite normal since Android O includes vndk and hidls.
Aroma is an open gapps installer it includes all apps and offers a gui installer. Also, I found out what causes the screen issue. Apparently just installing a SELinux switcher app will cause the issue where if you put it to sleep by pressing the power button and you press the power button again to take it out of sleep nothing happens. I don't know how just installing a selinux switcher causes the screen issue and the Bluetooth crashes
 

Rortiz2

Senior Member
Mar 1, 2018
2,257
1,551
Barcelona
Aroma is an open gapps installer it includes all apps and offers a gui installer. Also, I found out what causes the screen issue. Apparently just installing a SELinux switcher app will cause the issue where if you put it to sleep by pressing the power button and you press the power button again to take it out of sleep nothing happens. I don't know how just installing a selinux switcher causes the screen issue and the Bluetooth crashes
Why would you set SELinux to enforcing..? Sepolicies aren't yet prepared to do so... Anyway, I don't have any clue about aroma, use the standard gapps package I guess.
 
  • Like
Reactions: xenonrider

xenonrider

Senior Member
Dec 17, 2011
86
9
I'm really impressed with this ROM. Running Services reports nearly 800 MB free after boot and it's definitely snappier. Also, viewing Settings with a pure black background is probably my favorite feature.

One thing I did run into was that during the install of GApps, it seemed to stall after the Installation Complete message. I just rebooted manually and it was all fine. Great job, Rortiz2
 
  • Like
Reactions: Roowz and Rortiz2

9000RPM

Member
Aug 27, 2012
45
4
rom installs fine but it looks like it freezes after "installation compete" for opengapp.

Used the link above for openapp. Did not choose a different variation.
 

Top Liked Posts

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

    2022-01-02 [douglas] [giza]

    • Fixed USB tethering.
    • Added support for MTK's perfnative handles.
    • Updated vendor blobs to the latest FireOS version.
    • Defined the vendor security patch (to satisfy Trust).
    • Cleaned up unused vendor blobs & patches.
    • Fixed MicroG spoof patch.
    NOTE: giza users, check if the cameras are working now, please.
    NOTE: MicroG users, check if you can use MicroG now, please.
    2
    Just wanted to take a moment to thank the OP, this ROM has breathed new life into my douglas.
    1
    Not sure what's wrong with MicroG then. The patch is there (and applied, I double checked it). Can't do anything else, sorry. As for giza camera, try to grab boot logs, they should be different now.
    1
    @Rortiz2
    I'm enjoying LineageOS 15.1 so far (Douglas). I see that deep sleep is a known issue. Is there a way to manually force a deep sleep? And do you think the deep sleep problem is something that could be fixed in the near term, or is it more a long term, to probably can't be fixed sort of issue?
    Unfortunately, I'm still not sure of what's causing deep sleep to not work at all (even though I tried to debug it a lot of times). So yeah, I can't give you an exact date (or estimated) of when I'll fix that issue.
    1
    @Rortiz2 This may be an unpopular opinion, but I hate the default typing sounds on LineageOS. I'm not sure if it's kosher to replace them in the distribution image? If so here is a copy of the iOS typing sounds:

    They just need to be placed in /system/media/audio/ui
    I would prefer to keep the LineageOS sources as stock as possible. You might hate the default sounds, but other people might like them. So yeah I think it's best to just leave them as is and let users change them afterwards if they don't like the defaults (like you did). As a side note, since these will be overwritten every time you update the ROM, I would recommend you to create a ZIP that replaces the sounds (so you can just flash it after every update) or set up some kind of addon.d script.​
  • 22
    320px-Lineage_OS_Logo.png

    LineageOS 15.1 (Android 8.1.0) 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 only compatible with the Fire HD8 2017 (douglas) and the Fire HD8 2016 (giza).
    KNOWN ISSUES:
    • Deep Sleep.
    • Hidden SSIDs.
    • Hardware decoding.
    • [giza] Camera.
    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:
    13
    New build is up.

    2021-10-31 [douglas] [giza]

    • Resolved missing {drm,omx} symbols ({TimedEventQueue,EVP}).
    • Added MicroG support (Signature Spoofing).
    • Added exFAT support (included new kernel driver).
    • Fixed audio stream (amazon proprietary libraries).
    • Added GPU Extension Device ("GED") support.
    • Updated the security patch to October 2021.
    PS: Happy Halloween!
    11
    Good news to everyone. I partially fixed HW decoding (and this includes Video Recording) ;)

    EDIT: It fully works now
    10
    New build is up.

    2021-09-16 [douglas] [giza]


    • Fixed camera.
    • Fixed internal storage (OBB) issues.
    NOTE: Video recording isn't working at all, it crashes with the stock camera app but it works with some third-party apps (such as Telegram).
    NOTE: Let me know if obb issues are fully gone (I basically reverted the sdcardfs squash update). Try to clean flash the ROM as well before reporting if the bug it's still present.
    10
    New build is up.

    2021-10-03 [douglas] [giza]

    • Updated vcodec libraries.
    • Fixed internal storage issues (disabled sdcardFS).
    • Removed amazon/mediatek kernel logging.
    • Resolved missing libraries/symbols.
    • Converted audio_effects.conf to audio_effects.xml.
    • Switched back to stock libcam.utils.sensorlistener.so.
    • Introduced Sensors MultiHAL.