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

Search This thread

CheapoTab

New member
May 18, 2022
1
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.
 
  • Like
Reactions: Aeternamens
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
 
Last edited:

Rortiz2

Senior Member
Mar 1, 2018
2,417
1,797
Barcelona
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
 
  • Like
Reactions: Aeternamens

RobbyG2112

Member
Jun 6, 2012
5
1
Hi @Rortiz2, like others have been using this ROM and everything works great (except for rear camera which for me is very dark/unusable but front camera works fine). Really appreciate the hard work you have put into keeping this tablet relevant!

One question for you, is there any chance that you will have a patch for SafetyNet like you did in 12.1?
 

OS9er

Member
Jan 4, 2022
8
2
The rear camera is also extremely dark on my douglas, but I thought that was just the tablet having crappy camera hardware... Am I wrong?

Also, I believe @Rortiz2 is trying to get Lineage 18.1 working on douglas/giza at the moment.
 

RobbyG2112

Member
Jun 6, 2012
5
1
The rear camera is also extremely dark on my douglas, but I thought that was just the tablet having crappy camera hardware... Am I wrong?

Also, I believe @Rortiz2 is trying to get Lineage 18.1 working on douglas/giza at the moment.

From what I recall the rear camera worked fine in 12.1 and also in FireOS for me, have not been able to use it in 15.1 though from the beginning.

I'm sure @Rortiz2 is busy with 18.1, was hoping maybe the SafetyNet fix was similar to whatever was done in the patch for 12.1.
 

Rortiz2

Senior Member
Mar 1, 2018
2,417
1,797
Barcelona
The rear camera is also extremely dark on my douglas, but I thought that was just the tablet having crappy camera hardware... Am I wrong?

Also, I believe @Rortiz2 is trying to get Lineage 18.1 working on douglas/giza at the moment.
Yes, the camera exposure is completely broken. As a workaround, download a QR reader app from the Play Store and use it. After that, the camera exposure should be back to normal.​
 

Rortiz2

Senior Member
Mar 1, 2018
2,417
1,797
Barcelona
From what I recall the rear camera worked fine in 12.1 and also in FireOS for me, have not been able to use it in 15.1 though from the beginning.

I'm sure @Rortiz2 is busy with 18.1, was hoping maybe the SafetyNet fix was similar to whatever was done in the patch for 12.1.
To be fair, I never cared about SafetyNet, and in fact, not even LOS does. I guess you can use some of these Magisk modules to workaround it.​
 

OS9er

Member
Jan 4, 2022
8
2
Yes, the camera exposure is completely broken. As a workaround, download a QR reader app from the Play Store and use it. After that, the camera exposure should be back to normal.​
Here's the problem with that: the fact that
(A) the exposure is broken, and
(B) the camera image is rather grainy to begin with
means I can't actually scan a code. And that workaround doesn't seem to do anything if a code isn't scanned.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    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
    18
    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.