yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah, sideloading the ROM will work as well. Glad to hear that you're enjoying the ROM.
[Fire HD 8 and HD 10 Original Android Development] cellist:
Thank you, adb sideload (with wipe cache + dalvik ticked) worked like a charm ;-) The MD5 is:

fd6b4973a8cf52447bca37c57b452496 lineage-14.1-20210711-UNOFFICIAL-douglas.zip

if anyone is interested.
[Fire HD 8 and HD 10 Original Android Development] lex66676:
I flashed the firmware lineage-14.1-20210711-UNOFFICIAL-douglas.zip , but the app Google Chrome does not open, failure.

In the settings, the device is displayed Fire HD8 2016 - douglas,

But having a tablet KFDOWI Fire HD8 2017 - douglas
[Fire HD 8 and HD 10 Original Android Development] Aeternamens:
Maybe I'm kidding myself, but after installing the new version it feels like there are fewer freezes in the browser.

Hopefully, you can solve the problem with deep sleep. This is the only significant problem - I have to charge the tablet quite often. Previously, it could lie for a month and have a charge.

Thanks again so much for your hard work! You put a second life into the tablet.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Thanks for the report. I'll fix the device info issue... As for chrome, could you grab logs (including kernel dmesg)?
[Fire HD 8 and HD 10 Original Android Development] lex66676:
my friend, I returned the owner's tablet, put the firmware lineage-12.1-20200905-UNOFFICIAL-douglas.zip

But if I found out how to save logs in Android, I would return the tablet to the report to you.

(google translate)
[Fire HD 8 and HD 10 Original Android Development] lovaduck:
If Chrome doesn't work for you, Install Microsoft Edge. Works like a charm, chromium based, you can get the same things you get with Chrome, with better privacy. Nice article here on XDA recently about it, using it on my PC and my phone, and now my newly revived back from the dustbin, HD8.
[Fire HD 8 and HD 10 Original Android Development] lovaduck:
Try MIcrosoft Edge as a bypass, it's Chromium based. Works for me.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
I agree with @lovaduck on this. As Chrome has become more buggy, Edge is more stable and useful.
[Fire HD 8 and HD 10 Original Android Development] SMcC2:
I installed Firefox on my wife's Douglas with multiple add blocking plugins and it runs great. Can't speak about Edge, haven't tried it.
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
Roritz, how much ZRAM did you put this time around? Did you increase it?
[Fire HD 8 and HD 10 Original Android Development] pom532:
Anyone else has the system ui crash? It's been happening sometimes and then the I can't switch apps (in child profile only)
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
The new build is working magic in terms of general snappyiness amd battery time comepared to the previous build. However it seems to drop wifi randomly veey often. Any thoughts?
[Fire HD 8 and HD 10 Original Android Development] ceyo14:
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.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yes, I'm currently working on fixing the chrome bug and the big battery drains.
[Fire HD 8 and HD 10 Original Android Development] federico72:
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!
[Fire HD 8 and HD 10 Original Android Development] koop1955:
Not doing that for me. Been rock solid. One thing that you might try is Forgetting the connection, and setting it up as new.
[Fire HD 8 and HD 10 Original Android Development] bluedisc:
Is there reason why I can't install netflix app?
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
Your Google PlayStore istn't certified. Because of this Netflix an some other Apps wont show up in the Playstore.

You can bypass this with Magisk.

1. Deinstall Netflix/clear Data&Cache Playstore

2. You download Magisk23.apk and rename it to Magisk23.zip, flash it via TWRP Recovery

3. After Reboot, Launch Magisk und install the App, enable "Magisk Hide" in Options

4. Install MagiskHideProps directly through Magisk search or ZIP, reboot

5. Install Termux

6. Type "su" and grant root , then "props" > "1" > "f" > "7" > "15" > "3"

7. Reboot, clear Cache/Data Playstore and login again. Device should be now certified.

Now your Tablet has the Fingerprint of the Google Pixel XL, of course you can pick any Phone. But this is my personal Favorite :)

Or you just install the APK manually.

PS: A little "Like" would be nice 😄 if I could help you!
[Fire HD 8 and HD 10 Original Android Development] bluedisc:
Thanks I'll try this
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
Will try thanks!
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
Roritz2, the performance tweaks to the kernel you made are great but what would make it better is if you increase the ZRAM File size preferably a size like maybe one or two gigabytes of ZRAM.
[Fire HD 8 and HD 10 Original Android Development] robonxt:
EDIT: IT WORKS AHHHH! THANK YOU!

ORIGINAL: Currently installing on my giza tablet. Thank you so much for bringing this old device back to life!

I've been following the Fire HD 8 2016 dev threads for years, but stopped after we got root in 2019. Then suddenly I got a email from xda saying about ROMs getting developed for the older 2016 and 2017 models. Immediately followed the instructions for TWRP (didn't know they got it working as well!) and here's hoping it works!
[Fire HD 8 and HD 10 Original Android Development] mihailescue:
It have also split screen option for 10 HD?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
As the main post states, this ROM it's only compatible with the Amazon Fire HD8 2016/2017 (douglas & giza). If you need help with your Fire HD10 (suez), ask for help in its own thread.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
The RAM size it's actually set to 512MB (as in karnak). If you want to try to add more ZRAM, edit fstab.mt8163 and tell us your experience ;) If it works well, I'll increase the size.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
From everything that I have read, the limitation on ZRAM is 50% of the physical RAM. I think that @Rortiz2 has taken it to the limit. And thanks to him for doing that!
[Fire HD 8 and HD 10 Original Android Development] bluedisc:
it is me or the tablet feels sluggish when I'm browsing the xda forum on firefox? could it be no hardware acceleration?
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
where can I find that?
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
So I did some more testing with the wifi dropping issue I was having amd it seems to only occur when using 5g wifi. Perhaps its a compatibility issue with my router.
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Has anyone gotten Gmail or Google Calendar to work? Gmail installs, but I can never get past the select email screen. As for Google Calendar - that won't even install from the play store.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
See post #266 above. Try that.
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Thanks a lot. It worked perfectly.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
You are welcome. The issue was that after flashing the ROM, the Kindle was detected as an incompatible device. Changing the fingerprint changed how the device is detected and allows the apps to work.
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Anyone know how to make Gmail use the a Dark theme? I tried editing the FlagPrefs.xml file and setting DarkThemeSupport__dark_theme_support to True but that doesn't work. It seems you have to be on a newer version of Android.

Gmail is the only Google app I use that doesn't have a Dark Mode in the settings. Calendar, Tasks, Keep, Docs, Sheets, Drive, Play Store, Play Games, Contacts, Files, Snapseed all have dark mode. What is up with that?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
So, based on that, should I change the fingerprint by default? I don't have any problems in doing so, but I want to make sure it's really needed.
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
I think it wont hurt to mask the Fingerprint to certify the Google Play Store.

It will show up more compatible Apps that are hidden if not certified. Also as Xenorider implied, it helpes with some Google Apps.

In my little Tutorial I recommend the Google Pixel XL. Its ARM64 and the only Pixel Phone that released with Nougat.

But of course your free to do as you like 😅

EDIT:

Here are some more Infos:

Check your Play Protect certification status - Google Play Help

Devices that are Play Protect certified: Include proprietary apps under license from Google Have passed Android compatibility testing Only Play Protect certified devices are eligible t

support.google.com
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Thanks for the clarification. Pixel XL fingerprint looks OK to me, and if you guys tested it, I guess there shouldn't be any big problem.

I will include these masked fingerprints in the next release of the ROM.
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Are you able to install all of the Google apps (with emphasis on Gmail and Google Calendar) without any issues? If you can't then you probably should fingerprint so it's Google Play compliant.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I don't own this tablets so I can't really tell you.
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
Really?! :D

We should raise a small campaign to fund you one. Would it ease your development?
[Fire HD 8 and HD 10 Original Android Development] koop1955:
I'm with @FreakyyLike on this. @Rortiz2 where's the link to "buy you a beer?"
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah, sure thing. I've been looking for cheap douglas at eBay but they seem to be pretty expensive (no wonder why, lol). You can always donate whatever you want at https://www.paypal.com/paypalme/rorle
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
New build is up

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).

NOTE: OTA should roll out in a few minutes. If it doesn't, you can always update by manually flashing the ZIP through TWRP.
[Fire HD 8 and HD 10 Original Android Development] robonxt:
Thank you for the update! Installing it right now, will report back with Gmail and other G Apps results.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Don't flash the latest update, I messed up build.prop and the ROM won't boot. For these who already flashed it, flash this ZIPs:

- douglas -> https://mega.nz/file/exlg2aSQ#kgpA10ypVjaAUmypyLEG3_eTnE3FRegrz0rYE9wUkxs

- giza -> https://mega.nz/file/6g9G0Iia#y7lgdJhqDwqQmigUs-nFmKa-iy-8ikqZaPVwicQypW0

I'll temporarily remove the latest update links and I will fix this as soon as I can. Sorry for the problems.
[Fire HD 8 and HD 10 Original Android Development] robonxt:
@xenonrider So far Gmail, Google, Chrome, Chat, GBoard, Docs, Sheets, Files by Google, Contacts, Youtube Music install just fine from Google Play Store.. Calendar isn't installing even after deleting all Play Store data, so that is a problem.

@Rortiz2 Chrome works now, although still slow (as expected from giza's older specs). Thank you for fixing it!

Interesting, I didn't run into any problems when updating and restarting. Still flashed the patch just in case.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah, somehow, just the douglas build messed up. Anyway, I'm rebuilding with the fix, I'll upload them again once it's done.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Alright, I fixed both updates and updated all the links.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
I am not sure google apps like spoofed signatures. I have noticed this with other signatures too. While this makes both safety net checks pass, apps like YouTube, Keep Notes, Google either crash, or give you errors like "There was an error signing into your account".

Last time I was using Walmart Onn 7 or 8 or something to make ctsProfile pass. Same thing happened. I reverted back to the default signature and google apps started working again.
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
Yup same as anujdatar, youtube and other google apps are crashing due to an error since the last update... I am a potato and don't know how to revert to default sig...
[Fire HD 8 and HD 10 Original Android Development] dadtrash:
Hi Rortiz2, you made a great job. Yesterday I bought a Giza per accident (thought it was a Douglas) and was able to test your latest firmware. It works good.

One thing: I noticed was that I could not establish adb push when using Lineageos. It worked before with TWRP and my Karnak.

Btw regarding bricking: I never managed, neither with Karnak or Giza instructions, to do the unbrick with Amonet as described in the forums. Always had to open - as they were completely bricked when trying to install TWRP. For Giza I did not want to drill a hole into shield or disassemble as described in the unbrick section. So I was desperate enough to try some shortcuts between two testing pads at the reverse side - with a thin nail scissors. I created a shortcut, a small arc came for my surprise and then the bootloader was open. Could be luck, so never try with something you can not break or lose ;-)
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Hey there,

You probably couldn't use the adb unlock method because as you said FireOS wasn't accessible at all.

That's quite interesting, could you send me some pictures of what did you short, please?

Thanks.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I see, I guess you tried to clean flash the new update? If it still doesn't work I guess I'll revert back to original fingerprints.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
No, I have not tried to clean flash it yet, I did an OTA update. I just figured it was a fingerprint issue like before. But you are right, I should do that. I'll try clean flashing in the morning and get back to you.
[Fire HD 8 and HD 10 Original Android Development] dadtrash:
The adb issue happened after installing you rom, which runs very stable even for some games that need some power to render graphics.

When trying to "adb devices", I receive the following answer

dirk@v-debian:~/firehdroot$ adb devices

List of devices attached

G000KU067XXXXXX no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]

Unfortunately, there was no android message coming in order to approve the adb connection on the tablet.

I tried to switch off/on the "Android-Debugging feature" in developer's menu. But no change.

adb via TWRP is still working. But as usual very slow.

Regarding shorting, I sent a picture via PM to you.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Okay, so when you connect the table to your computer you want to change it from "Charging Only" to "File Transfer". Tap on the charging notification to do this. The permissions issue should go away.

If you know you are only going to use your tablet with your PC, you can change the default behavior.

Settings > Developer Options > Networking > Default USB configuration. You can change this to "File Transfer". I believe the default is "No data transfer". Just be sure you are only ever going to connect the tablet to a trusted PC. Otherwise you can manually switch between usb profiles every time you connect.
[Fire HD 8 and HD 10 Original Android Development] dadtrash:
Hi thanks!

It works on windows, but not on debian. Not sure what's different.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
are you using adb from android studio or from the apt repository? sometimes you actually do have to change udev rules. i think you should be able to find instructions on what rule to add on google or stackoverflow
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Have you tried setting up Android Udev Rules for Linux?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I will wait for your report then, thanks.
[Fire HD 8 and HD 10 Original Android Development] dadtrash:
Setting up udev was the solution, now it works. Thanks!

Simoultaneuosly, I am having a karnak device. For that setting up udev was not required. lsusb shows that the karnak is spoofing a Google Pixel. For that it seems to be built into adb already on debian.
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
Clean install seems to solve the problem. I guess the OTA was the culprit.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Cool, thanks. I will do that. Haven't gotten around to it yet. If it is some configs stored by Google services, then maybe just a factory reset might fix it too.

The charge port on my tablet has been acting funny. It refuses to charge from time to time, battery level's been stuck at 25% since last night. I've tried a few temporary fixes, but they're just that - temporary. Haven't found a suitable replacement yet. I ordered some micro-usb ports, but the mounts don't match this tablet.
[Fire HD 8 and HD 10 Original Android Development] lex66676:
Professional work, thank you so much, bugs and problems have not been revealed.(Fire HD 2017 lineage-14.1-20210813-UNOFFICIAL-douglas )
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Okay, so seem to have fixed the charge port issue, at least temporarily. Re-soldered the existing USB port, hope it lasts this time. Just using a hot air station to reflow solder in the existing joints did not work for long last time.

A simple factory reset from TWRP seems to have fixed the issue for me. I guess Google does not like the device signature being changed on an active device. I guess that was the issue last time too, I changed the device signature after I had already set everything up.

All Google apps seem to be working just fine now. No crashes yet. It also passes both SafetyNet checks.

Thanks.
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
When Magisk says SafetyNet API Error lmao
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Hmm.. haven't seen that one before..
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
Also, one thing to note. There's a bug within the casting feature within the douglas devices. Casting to anything won't work.

Example:

On your fire tv stick you enable casting to the stick, when you go to Display > Cast on the tablet and enable wireless display give it a minute and it shows up. You press it and it seems to start but it quickly disconects and the fire tv stick says display mirroring is exiting and on TVs it just goes black and disconnects. I don't know what will fix it or if giza has this exact issue.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
I think that could happen if you installed Magisk using the new apk. I don't think it works too well with this device/os combo.. Try installing the zip using twrp. I know that is not the supported method anymore, but I've had better luck with that, with recent versions.

you could also try to hide your magisk installation. i don't think SafetyNet checks for it, but won't hurt (i think)..
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
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.
[Fire HD 8 and HD 10 Original Android Development] cultofrobots:
Verification fails on OTA update for giza.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah, it does as well for douglas, not sure what's wrong. Try to update manually, please.
[Fire HD 8 and HD 10 Original Android Development] cultofrobots:
Everything seems fine with manual update. Thanks.
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Wait, does this mean Android 8.1 is on the horizon?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yes. And it works much better and quite fluid than Android 7.1. Also camera works partially there :)
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Sweet
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Awesome work. Can't wait to install it. Funny story, I emailed the developer of Nova Launcher and asked why the Nova 7 beta wasn't available for Android 7 and they replied back saying they're not supporting anything below Android 8. I then replied with the Matrix "Not Like This" gif. lol
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Then, LOS14.1 will be discontinued soon?? How about deep sleep issue on LOS15.1?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
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.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
Thanks, @Rortiz2, this is much more than I ever expected. Really great work.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I've come a long way with LineageOS 15.1 and would like some people to give it a try and give me feedback. If you are interested in testing the first alpha of LineageOS 15.1, write to me privately and I'll provide you more details.

As of now, I only have the douglas version, so giza users will need to wait a little bit until I can build their own version (sorry for this, but my PC takes 4 hours to compile Android 8).
[Fire HD 8 and HD 10 Original Android Development] xenonrider:
Whoa, let's not get ahead of ourselves. On second thought, let's just go straight to LineageOS 18.1 LOL
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
Android 9 would be a good stopping point. Anything over is excessive and it's gonna be the laggiest experience. Afterall it's a mediatek device that requires a big amount of ZRAM to survive.