[ROM][UNOFFICIAL][8.1] LineageOS 15.1 for Amazon Fire HD8 7/6th gen (douglas/giza)

Search This thread

Rortiz2

Senior Member
Mar 1, 2018
2,408
1,794
Barcelona
1607247455067-png.5435845

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Instructions:
  • Reboot to recovery mode
  • Wipe data, system (/system_root) and cache
  • Flash the ROM and the Gapps
  • Reboot and enjoy!
Downloads:
Reporting Bugs:
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Known issues:
  • Deep sleep (Doze)
  • Hardware decoding (OMX)
  • Camera (both photos/videos) isn't working on giza
  • Can't connect to hidden SSIDs
Notes:
  • SELinux is in Permissive mode
  • The ROM only supports both douglas (Fire HD8 2017) and giza (Fire HD8 2016)
How do i...
  • Unlock and install TWRP?
    • Follow the instructions of the unlock thread (douglas | giza)
  • Go back to the original/stock ROM?
    • Download the stock update.bin (douglas | giza) and flash it using TWRP
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Contributors
R0rt1z2, FreakyyLike (for the douglas donation)
Source Code: https://github.com/mt8163-dev
Kernel source: https://github.com/mt8695/android_kernel_amazon_mt8695
 

Attachments

  • Screenshot_20220104-023329_Settings.png
    Screenshot_20220104-023329_Settings.png
    81.6 KB · Views: 379
  • Screenshot_20220104-023206_Trebuchet.png
    Screenshot_20220104-023206_Trebuchet.png
    918.2 KB · Views: 366
  • Screenshot_20220104-023211_Trebuchet.png
    Screenshot_20220104-023211_Trebuchet.png
    569.5 KB · Views: 288
  • Screenshot_20220104-023252_Trebuchet.png
    Screenshot_20220104-023252_Trebuchet.png
    599 KB · Views: 363
Last edited:

Rortiz2

Senior Member
Mar 1, 2018
2,408
1,794
Barcelona
⏱ Change log / Release Notes

2022-01-02 [douglas] [giza]

  • Fixed USB tethering.​
  • Added mediatek perf support.​
  • Updated vendor blobs to the latest FireOS version.​
  • Defined the vendor security patch.​
2021-11-07 [douglas] [giza]
  • Fixed video recording on douglas.
2021-10-31 [douglas] [giza]
  • Fixed some DRM leftovers.
  • Added initial microG support.
  • Added exFAT support.
  • Fixed audio stream.
  • Added ged support.
  • Updated security patch to October 2021.
2021-10-03 [douglas] [giza]
  • Completely disabled sdcardfs.
  • Purged a lot of mtk/amazon logging.
  • Fixed missing symbols/libraries.
  • Reworked the audio configurations.
  • Fixed all the sensors.
2021-09-16 [douglas] [giza]
  • Fixed camera on douglas.
2021-09-12 [douglas] [giza]
  • Cleaned up wi-fi blobs/configs/service definitions.
  • Kanged the wi-fi HAL from a 8.1 mediatek device.
2021-09-07 [douglas] [giza]
  • Fixed swapped volume keys.
  • Show internal storage by default in the file manager.
  • Added option to reboot to hacked bootloader using ADB.
  • Disabled the update recovery function.
  • Added support for more SDs/USBs with other formats.
2021-09-05 [douglas] [giza]
  • Fixed over the air (OTA) updates.
  • Fixed Magisk/GAPPs installation.
  • The build is now signed with dev-keys.
  • Fixed installation of the ROM on giza.
  • Addressed a few SELinux denials.
2021-09-03 [douglas] [giza]
  • Audio works fine, incuding the mic.
  • DRM works fine, reports L1.
  • Video playback works partially fine.
  • Disabled camera as it doesn't work.
 
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,408
1,794
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,408
1,794
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,408
1,794
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.
  • 17
    Quick update; I'll probably release the latest version of 15.1 soon with some fixes and I'll continue working on 18.1 as I already started making the trees.​
    1
    Thank you @Rortiz2 for still taking the time to release OS for this old little tablet. It is actually all I need for airplane trips for work and, well, I'm a little too cheap to buy something else for using a few times a year.

    At this point, I'm good with TWRP and have your latest Lineage 15.1 installed. The only thing holding me back from not reinstalling FireOS is apparently SafetyNet - can't install Disney+ or Netflix for media. Any suggestions on getting around SN?

    And if you need a tester, I'll happily install 18.1 as soon as you release.
    1
    Hey, not sure what happened, but I turned my Douglas on after a few days and it was stuck in a boot loop or something. It got stuck on the LineageOS boot animation for a while and then rebooted to TWRP automatically. This happened every time.

    1. I tried to clear cache, but it said
    Code:
    Failed to mount '/cache' (No such device)
    2. Then i tried re-flash this rom zip, that I already had on the internal storage and it said "Failed to mount (No such device)" for `/cache`, `/system` and `/data`.

    Now I seem to have lost everything that was on the internal storage, and it cannot mount anything. It won't connect to my computer either. It says "No media storage found. Make sure device is unlocked and MTP is enabled." It seems like the data partition does not have any file system format. And am unable to create one either. It says
    Code:
    failed to mount and unable to recreate `/data/media`

    I would try to flash the old Fire OS image, but can't seem to mount the internal storage on to my Linux pc. Any ideas?

    Edit: I also tried the repair file system, but it gives me the same "Failed to mount" error. And I found an old TWRP backup that i've been trying to copy onto the tablet using adb, but it keeps rebooting after like 20%. Maybe the internal storage is dead?

    Edit2: Okay, so I successfully copied the backup to the mounted SD card. But it during restore using twrp, it says This /data backup was made with ext4, so i need to change it back to ext4 to ensure it boots. But it won't let me change file system using twrp

    Code:
    Formatting Data using mke2fs
    Done.
    Failed to mount '/data' (No such device)
    Unable to recreate /data/media folder
    Updating partition details...
    Failed to mount '/system' (No such device)
    Failed to mount '/cache' (No such device)
    Failed to mount '/data' (No such device)
    ...done
    Run the following commands with ADB on TWRP and PM me the results.
    Code:
    adb shell cat /sys/class/block/mmcblk0/device/cid
    adb shell cat /sys/class/block/mmcblk0/device/csd
    adb shell mount -t debugfs none /sys/kernel/debug
    adb shell cat /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
  • 24
    1607247455067-png.5435845

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
    Instructions:
    • Reboot to recovery mode
    • Wipe data, system (/system_root) and cache
    • Flash the ROM and the Gapps
    • Reboot and enjoy!
    Downloads:
    Reporting Bugs:
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Known issues:
    • Deep sleep (Doze)
    • Hardware decoding (OMX)
    • Camera (both photos/videos) isn't working on giza
    • Can't connect to hidden SSIDs
    Notes:
    • SELinux is in Permissive mode
    • The ROM only supports both douglas (Fire HD8 2017) and giza (Fire HD8 2016)
    How do i...
    • Unlock and install TWRP?
      • Follow the instructions of the unlock thread (douglas | giza)
    • Go back to the original/stock ROM?
      • Download the stock update.bin (douglas | giza) and flash it using TWRP
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    Contributors
    R0rt1z2, FreakyyLike (for the douglas donation)
    Source Code: https://github.com/mt8163-dev
    Kernel source: https://github.com/mt8695/android_kernel_amazon_mt8695
    17
    Quick update; I'll probably release the latest version of 15.1 soon with some fixes and I'll continue working on 18.1 as I already started making the trees.​
    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.