yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Oh, okay, thanks. Got it. But it I can only access it as root/su. That's probably why other apps like VLC, Kodi and FX can't access these files. Not sure why File Commander can see it as an externally mounted SD card.

But it should be accessible without root right? This does limit the usability a bit. Any workarounds? I tried changing permissions for mounted folder but that didn't work, I still get permission denied when I am not root.

Also, fstab adds a `noemulatedsd` flag to the sd card, maybe that is why it doesn't show up?

This is how it shows up in fstab

devices/soc/11240000.mmc* auto auto defaults voldmanaged=SD-Card:auto,noemulatedsd
[Fire HD 8 and HD 10 Original Android Development] pindus:
Solid explorer can access the card, too.

Syncthing can see the card but cannot use it.
[Fire HD 8 and HD 10 Original Android Development] Asura24:
Hey I have been testing the battery and so far, I have found out that it have to do with my sdcard without it would go in deep sleep without any problem.

But the moment I put back my sdcard there is a mmc1_detect wakelock runing all the time.

Not sure what logs I should make for showing this.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Very interesting report. It seems deep sleep problem and SD card problem would be solved at the same time.

To take the log, you might connect douglas to your PC. Make sure your douglas is recognized with PC. Then first do adb reboot. Next, do adb wait-for-device. Next adb logcat -b all > (logfile name). After douglas starts, you can take out and return it several times (with the interval of a couple of minutes). Then, press Control-C to terminate the logcat process. You find log file in txt format. Zip it and send as an attached file. I hope this will work.

Cheers,
[Fire HD 8 and HD 10 Original Android Development] winstonma:
@Rortiz2 I am so so sorry but I just want to know if it is possible to view Netflix on latest LOS 14.1? I know it doesn't work on the previous version and I failed to translate the latest changes into the answer of my question so I need your help. Thanks for the rom.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
DRM is working so should work without problems. I can't really tell you since I don't own douglas at all nor I have a Netflix account. Maybe somebody else can answer your question.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Hey, thanks a lot for that report it's super useful. Could you grab a logcat (including kernel log with -b all) as @Korin67 said?
[Fire HD 8 and HD 10 Original Android Development] winstonma:
Thanks. I just installed 20210105 onto my douglas and Netflix is working =)

I really appreciate your work, especially you don't own douglas.
[Fire HD 8 and HD 10 Original Android Development] pindus:
Here the log. I'm not sure I did it rightly

Let me know

--

ciao
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah this is quite useful, I can see some stuff related to the external SD Card:

01-15 22:49:23.515 118 118 E <3> (2)[118: kworker/u8:2]mmc_sd_detect(mmc1): Unable to re-detect card (-110)
01-15 22:49:23.515 118 118 I <3> (2)[118: kworker/u8:2][name:mmc_core&]mmc1: card 695c removed
01-15 22:49:23.517 118 118 I <3> (2)[118: kworker/u8:2]mtk-msdc 11240000.mmc: crc/total 0/707 invalcrc 0 datato 0 cmdto 26 reqto 0 total_pc 1 pc_sus 0
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Sorry I missed this message. So you're saying decryption always worked? Well bruh.. I thought it was broken (or at least somebody reported that) so I disabled it as it's a big mess to fix up (in mediatek devices). I don't think I can port those changes to TWRP as that would require an update in the amonet thread.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Ok, sdcard issue is fixed, we'll do final tests and if all goes ok will release new version today.

If you want to try the "fix" flash this boot image using TWRP (to boot partition). If you use Hacked Fastboot flash it to boot_x.
[Fire HD 8 and HD 10 Original Android Development] pindus:
I flashed the image and now syncthing can access the SD card. Read only, but this is an Android-Syncthing issue, nothing to do with the ROM

Many many thanks...

--

ciao
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Good day,

Now we can use SD-card by applying boot_sdcard.img. Great, but I think battery drain increased. For checking I attached a log. Scenario is very simple, reboot, play a music on sdcard, then view a picture file in sdcard, finish. I hope the attached file might help solve the deep sleep issue.

Cheers,

Edit: The huge battery drain problem was occurred with AICP (my build with the latest device tree that enabled sdcard access). If this issue does not happen in LOS14.1, ignore this article. The log attached is with LOS14.1 to make it sure.
[Fire HD 8 and HD 10 Original Android Development] pom532:
The tablet seems so much more responsive running 14.1 than on 12.1. Only thing is that a lot of the video apps for my country don't want to work. Would this be a magisk thing or a rom thing?
[Fire HD 8 and HD 10 Original Android Development] galapagos:
Neither, I have all my video apps working fine in 14.1.
[Fire HD 8 and HD 10 Original Android Development] pindus:
All my video and television apps are working, too.
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
This seems to break compatibility with headunit emulator reloaded. The UI becomes hella slow compared to when running 12.1. Im assuming this is the vifeo decoding issue?
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
Hi, I've got a Question :)

Could the ROM be ported to karnak?

I mean douglas and karnak are so similar, or where is the catch?
[Fire HD 8 and HD 10 Original Android Development] Korin67:
My understanding indicates NOT possible. I do not know the real reason but douglas is 64bit while karnak is 32 bit. You can check with requiered gapps. douglas needs arm64, karnak for arm. If compatibility were existent, we can try LOS16.0, even LOS17.1 that are now for karnak.

Cheers,
[Fire HD 8 and HD 10 Original Android Development] koop1955:
Editing my post - I was able to pass SafetyNet! I used MagiskHide Props Config and picked a Nokia. Worked great!
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
What's the point of this? Karnak already has LineageOS 14.1 and even 17.1
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
Sure, I'm on LineageOS 16 and its works kinda good with some bugs.

But sadly the Developer "Kaijones23" has no time or maybe? abandoned the Project..

And as I see you do a great job in updating for douglas.

I rather have a stable OS then the newest Version.

I just asked out of pure curiosity, because karnak/douglas have the same SOC and look very similar^^

And keep up you good work!:)
[Fire HD 8 and HD 10 Original Android Development] Korin67:
This is from my curiosity. Comparing douglas and karnak is very interesting (because I do not know the real difference at all). Douglas kernel configuration is in the folder arch/arm64/configs, this is quite natural. Surprisingly in the same folder there is karnak_defconfig. If this config file is in arc/arm/configs, I do not surprize. Karnak is said to be 32 bit, but the kernel is actually 64 bit??? Your answer is highly appreciated.

Cheers,
[Fire HD 8 and HD 10 Original Android Development] Korin67:
This is the reply to myself. I found that karnak's kernel is 64bit (at least LOS16.0). In the BoardConfig.mk of device tree, I found:

TARGET_KERNEL_ARCH:=arm64
TARGET_KERNEL_SOURCE:=kernel/amazon/karnak
TARGET_KERNEL_CONFIG := lineageos_karnak_defconfig

Karnak is more complicated than I thought.
[Fire HD 8 and HD 10 Original Android Development] simplymiles:
One issue I've ran into with both the Lineageos 12 and 14 roms, is that PS4 controllers can be synced, but don't actually work. When a pair a ps4 controller with my phone, it's able to navigate menus, go back to the homescreen, etc., but with douglas it doesn't seem to be able to control anything and isn't detected in retroarch at all (the main reason I wanna use the PS4 controller with it). I don't know if this issue is specific to just PS4 controllers or more general as I don't have other controllers to test.

Also, I just want to thank you for all the work you've done on this device. Your lineage ports are the main thing that have made me like using my tablet.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Thank you for this work.I haven't used my hd8 in a long time.Now I like to work with it.

Is that the same rom?

lineage-14.1-20210105-UNOFFICIAL-douglas.zip

lineage-14.1-20210123-UNOFFICIAL-douglas.zip

Tanks
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
I installed the ROM a few days ago and like it a lot! Only small issue is the not working Camera (eg. For zoom meetings) but its not that important.

I tried to monitor the CPU frequency to slow down the discharge in Standby. I just wonder, even if "Inware" and "Kernel Audiutor" shows in idle 1x 600mhz and under heavy load 4x 1300mhz, the Kernel Audiutor is Monitoring 94% of the time 1050mhz.

Is the Monitoring false or the shown frequencies?

(See booth pictures)
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Oh you came to douglas, very nice. Camera issue is known and this is very tough, might be solved the very last. The current big issue is deep sleep. Someone reported douglas shows deep sleep if SD card is not used. Are you trying the latest (0105) ROM with SD card patch or not? My experiment shows even with SD patch applied and remove the SD card, douglas seems not sleep. If I know how to get logcat to show this situation, I immediately do it.

To make sure, under the LOS14.1 (latest and SD card patched, SD card removed), left the douglas more than 10 mins after reboot. The Adiutor shows this image:
[Fire HD 8 and HD 10 Original Android Development] Jakee67nm:
I'm installing lineage-14.1-20210123-UNOFFICIAL-douglas.zip . Do I need to flash to sd-boot fix image? Also do I need to install magisk for root capability?
[Fire HD 8 and HD 10 Original Android Development] FreakyyLike:
I'm running the latest build 0105 without the SD card patch. Also I haven't inserted any SD card because atm no need to.

I just wondered if the "Kernel Audiutor" outputs wrong frequencies, but it seems right. I checked it with ADB to get sure.

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

See the Attachment. (Wifi Off/no Apps in Background)

It runs ON Screen Idle with 1x 600Mhz, ON Screen Load 4x 13000Mhz and Standby Idle 1x 1050Mhz!

Also the Kernel Audiutor shows the Offline Cores right, I tested it with "cpu1/2/3" and upper command.

The Question is, why does it clock to 1050Mhz in Standby and not to 600Mhz like in ON Screen Idle?

Sure Deep Sleep would be much nicer, but maybe getting the Standby Clock to 600Mhz would help the problem.

Or do you mean with "Deep Sleep" 600Mhz Standby idle? :unsure:
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Very informative report. Actually, I got karnak recently, unlock and install AICP (built with LOS14.1 device tree). I also run my build AICP(nougat) with my douglas. I am doing comparison of these two tablets. I do not say they are equivalent, but Adiutor output with karnak AICP is like this. I hope douglas also have deep sleep like this. Now, battery for douglas runs out within two days, while karnak lasts more than four days.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
New build is up

2021-01-30

Fixed external SDCards.

Synced with LineageOS sources (cm-14.1).
[Fire HD 8 and HD 10 Original Android Development] varadinum:
External SD card works perfectly. Many thanks. (y)

Attaching and ejecting works fine.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Magisk needs to be reinstalled.
[Fire HD 8 and HD 10 Original Android Development] Jakee67nm:
Fantastic! CPU loads looking good... I installed 1/30/2021 update ....works really well and set sdcard as internal just fine. Magisk is working great also.... it would appear that the camera is the main no go... no worry here ... I'm very grateful for your efforts and hard work! Installed opem-gapps arm64 7.1.2 pico 20211012.zip...no issues! Thanks again!
[Fire HD 8 and HD 10 Original Android Development] Jakee67nm:
Yes! I used magisk manager 8.07 and updated zip with it to v21 zip
[Fire HD 8 and HD 10 Original Android Development] Jakee67nm:
Thank you!!!
[Fire HD 8 and HD 10 Original Android Development] pindus:
OTA update worked flawlessly.

Thanks, again
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
nice flood
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Did you check DeepSleep? Thanks.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Unfortunately, it is still in TO DO list. Anyway, fixed SD card issue is a big step toward the final goal.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
OK, there really is no deep sleep. Nevertheless, the battery consumption is very good.

This rom is just fantastic! Smooth and quick.

Unused frequencies: deep sleep
[Fire HD 8 and HD 10 Original Android Development] coiken:
First of all, huge respect for your work man, thanks to you I can turn this barely usable, cheap Amazon tablets into perfect entertainment systems for my young children!

I'm sorry to ask, It's been years since I've been modding my phones and tablets with custom roms and I'm a bit unsure on how to flash this now.

i've found this tutorial here on XDA to install TWRP but it seems to be a rather old post:

[UNLOCK][ROOT][TWRP][UNBRICK] Fire HD 8 2017 (douglas)

Read this whole guide before starting. This is for the 7th gen Fire HD8 (douglas). Current version: amonet-douglas-v1.2.zip NOTE: This process does not require you to open your device, but should something go horribly wrong, be prepared to do...

xdaforums.com

Is this still needed to get TWRP running or are there other methods available to more easily install your rom?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I specify in the OP you need to be unlocked which means you also need TWRP.
[Fire HD 8 and HD 10 Original Android Development] xsw2:
I really like this ROM! It's snappy and lineage is good for privacy. Haven't checked SoT but I think the battery is solid.

Honestly that method is pretty straightforward, and I don't think 2019 is old. Just a matter of plugging in terminal commands.
[Fire HD 8 and HD 10 Original Android Development] GoodSoul:
Hey @Rortiz2, can you please change the link to the following: https://opengapps.org/?arch=arm64&api=7.1&variant=pico

With this link ARM64, Version 7.1, Size Pico is preselected. This helps a lot and saves time. Thanks.

PS.: Thanks for your really awesome work. 😘
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Done
[Fire HD 8 and HD 10 Original Android Development] varadinum:
So, a battery darin ... wakelock detector. Kernel and CPU wakelock.
[Fire HD 8 and HD 10 Original Android Development] federico72:
Nice to see a new rom for the Douglas, thanks @Rortiz2 !

Question: I use the tablet just for Netflix and Amazon Prime Video, how is the resolution when playing? Does it reach the 720p?

I'm asking because on some devices Netflix refuses to play with a good resolution if the device is not certificated (like on China made android tv box).

Thanks.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
I don't know. I dont have Prime Account/Netflix account nor the device itself. Maybe somebody else can confirm you this.
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
It does go to 720p but cannot go to 1080p.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
I used Nokia 7.1 based on your comment. Both SafetyNet checks pass.. thanks
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Yup, plays both at 720p. Other services like Disney+ and HBO max also work. It has Widevine L1 but since the screen is only 800p (iirc), 720p is the highest resolution.
[Fire HD 8 and HD 10 Original Android Development] SamDungUser:
The HD 10 7th gen has 1080p I think.
[Fire HD 8 and HD 10 Original Android Development] Crim Soukyuu:
Mine is stuck on 1050Mhz most of the time, and also no deep sleep (no surprises there). What's worse though, is that the freezes are back. I'm not using that many apps and I can't imagine that the RAM is that full. The flash has also not been so worn out since I barely use the tablet for storing things.

I keep hearing it's because of google play services, but why is it such a problem, seeming on AOSP/lineage ROMs?

Even simple things like listening to an audio stream is speckled with audio dropouts, because the Radio app seems to freeze. Youtube freezes after finishing a video, or after the tablet was lying around for a few hours. Then suddenly everything is buttery smooth until the lags hit again...
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
With no logcat (or useful info) I can only think of Low Memory Killer but that's enabled in the kernel-side.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Yes, HD10 has a bigger screen, 1200p.. But this is HD8 (douglas). I don't think this rom works for both. Unless I'm mistaken.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Rortiz2

Please, maybe it will help ... Can you use it to create deep sleep?

Many thanks
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Thanks, will take a look at those.
[Fire HD 8 and HD 10 Original Android Development] anujdatar:
Curiously, apps that use google services (YouTube, Drive, Keep) fail to run properly if I do this. Apps launch, youtube even starts playing videos, but crashes within 5 seconds. I reverted back to the original fingerprint, and now the apps are working fine. Cts fails, but you don't always need that.

I haven't tried other footprints yet. I know I am replying to myself, but doing it in case other run into the issue and don't know why.
[Fire HD 8 and HD 10 Original Android Development] koop1955:
Interesting. Both Play Games and the store work fine, but I can verify your findings. Let me know if you find a better footprint and I will do the same.
[Fire HD 8 and HD 10 Original Android Development] pbcsd:
Want to use this tablet to run a Fully kiosk browser, and wake on motion detection. The camera doesn't work at all with 14.1/Douglas? So should I be installing 12.1?
[Fire HD 8 and HD 10 Original Android Development] NTGDeveloper:
I don't even know if the Douglas kernel would let you wake from an app trigger or something like that. But in any case, probably yes. If 12.1 does everything that you need it to do, then it would probably be the better option.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Sorry, this is Lineage 14.1 thread, but if anyone is interested in Lineage 12.1 ... I've tested it.

So 12.1 works perfectly, camera, WiFi, Bluetooth and what is very important: DeepSleep works.

I created LogCat: App Kernel Adiutor and App SysLog.It is only for comparison: difference between 14.1 and 12.1.

Maybe someone can compare the two LogCat,so there was a difference between 12.1 and 14.1.

Thank you very much (y)
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Hello Amazon Fire fans,

I got my douglas in summer 2019. After that I fully enjoy bootloader unlocked douglas. Recently, I got karnak and then suez, all unlocked. So far these three models are most enjoyable in the meaning of testing custom ROMs. For those who newly come to custom ROM world of Fire HD, I would like to share my experience to use these exiting tablets.

First of all you need to unlock your tablet. You might worry about it is ever possible to unlock your device because your firmware is already the newest. As of this time, I think all three models could be unlocked even if the firmware is the NEWEST. For douglas and suez, you do NOT need to open your tablet, while it is a must for karnak. In every model you first have to brick the device. This means you can brick douglas and suez without opening the device, while you have to open for karnak (to do the CLK pin shorting method).

Once your device is bricked, you have to activate the tablet with 'bootrom-step-minimal.sh' (or bootrom step.sh, I don't know the defference, follow the instruction of each device). The timing to tell your PC to recognize the device is relatively critical for HW method (karnak). You need to be patient and repeat the step.

Once this activation process is cleared, the last step, install TWRP is very simple.

Brick, activate, and TWRP install is the same for all the three models. The command is a bit different though.

Anyway, you should read the instructions carefully that are offered in OP of each device thread.

The current status for these three models:

douglas: LOS12.1 (SlimROM is kind of outdated), and LOS14.1. Development is very active.

karnak: LOS12.1 through LOS17.1. Development seems stopped now. I am on LOS14.1, seems very stable.

suez: LOS12.1, LOS14.1 and now LOS16.0. (LOS12.1 and LOS14.1 are discontinued.)

Let's enjoy custom ROMs for Fire HD.

Edit: To brick douglas if your firmware is new you need to use brick-9820.sh rather than brick.sh. For suez, brick.sh does not work. You need to root your device first. KingoRoot approach might be an option. I had a bad experience for this approach, I recommend you use another root method reported in suez unlock thread. It worked perfect. After you can root your suez, step-1.sh can bring you to brick the device.
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Korin67

Sorry, you write: sues, karnak and douglas, but they are three different devices ... right? Or did you use all three methods on fire hd 8 2017? Thank you.
[Fire HD 8 and HD 10 Original Android Development] Korin67:
Yes, there three are completely different. The actual device names are:

douglas Fire HD8 2017 aka 7th generation

karnak Fire HD8 2018 aka 8th generation

suez Fire HD10 2017 aka 7th generation but it is 10 inch model.

Every model is not new, so you can get second-hand tablet at inexpensive price LoL.

Each model has its own discussion group.

Cheers,
[Fire HD 8 and HD 10 Original Android Development] varadinum:
Korin67

Thank you for sharing your experience. That's really nice of you. (y)
[Fire HD 8 and HD 10 Original Android Development] brjhaverkamp:
Thanks for the great work on this ROM.

I installed it last weekend on my fire tablet, and it worked very nicely. I am using the tablet as a wall panel with the wallpanel app. I would really like to use the camera to use the motion detection that disables the screensaver and shows the dashboard. So I downgraded for the moment to LineageOS 12.1. That has its downsides as well, but at least I can use the motion detection.

I hope however that I can upgrade again soon. What is the current problem with the camera in 14.1? Do you expect it can be re-enabled again in the (near) future?

Kind regards,

Bert Haverkamp
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
To be honest I don't know what's wrong with camera. As far as I can tell the only known fix is re-build the entire camera HAL from source (ALPS 6.0.1) but that's a big hassle and requires a lot of work (currently I don't have time to work on that).
[Fire HD 8 and HD 10 Original Android Development] brjhaverkamp:
Ah, that is too bad.But thanks for clarifying though. Unfortunately, my skills in this area are limited. So I hope you have some time, sometime or someone else can look into it. For now I will stay patiently on 12.1.

Regards,

Bert
[Fire HD 8 and HD 10 Original Android Development] gqbigpaps:
Is there an eta on hardware decoding fix?
[Fire HD 8 and HD 10 Original Android Development] ludamolla:
my mic doesn't work. is it just me or is it a bug?
[Fire HD 8 and HD 10 Original Android Development] fr3akd1:
Has anyone passed Magisk SafetyNet check? I have everything installed properly, verified root, but can't pass SafetyNet checks. TIA