yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Original Android Develop] alarmingseahorse:
lsmod gives

Module Size Used by
wlan 444413 0

dmesg gives

controlc.com/3ff6f9f2

I don't see a way to attach files. If I'm overlooking it, sorry for the pastebins.

---------- Post added at 11:11 PM ---------- Previous post was at 11:07 PM ----------

Yeah. After the first boot I installed the Manager apk then flashed the zip in TWRP.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Dragon Kumera:
Thanks. Ok i will flash later when i remember.

Also can by any chance you check my post back a page? I updated it with more info. Unless you want me to repost it instead?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
No need to repost I read your posts. I'll be doing more work on WiFi before the next release so that might clear some of those issues. As for tts on Kindle, I won't be porting anything from fireos into lineage.

Does google tts work with the standard kindle app?

I'll have to take a look into Netflix and investigate DRM
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Dragon Kumera:
I have the Ivona voice installed fine but no idea how to turn tts on atm with this tablet for kindle app.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] urigg:
New rom is looking good. No video issues any more.

I still have an rampaging netmgrd that keeps the tablet at 25% 2GHz and 75% 1GHz. The pragmatic fix for now is to do a stop netmgrd in a root console, then the device sleeps more. Not sure yet how much deep sleep it will be on the long run, but without the battery drains within hours.

I found a few hints that netmgrd is related to mobile signal, so could be the empty sim card slot.

Wifi is still strange. I have two wifi signals inside my flat, mixed quality in different rooms, both working fine. Outside the flat one of these is usually strong enough for good signal, the other is dead. If I'm outside, I can see the stronger signal, but cannot connect, and soon afterwards the wifi crashes until reboot. Never happens inside, always happens outside. Will do some logging as suggested above when I have time.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] stangri:
How is Netflix supposed to be installed and to work?

PS. Upgraded to 0924 build from the original build, it took a while to boot up which made me nervous but it did boot up just fine.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I'll be looking at this netmgrd issue next, agree the tablet shouldn't be at that load and is running too warm as a consequence.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] urigg:
After killing netmgrd and having it on standby for the night: 85% deep sleep. :good:

Woke up with wifi working, but since the 'keep wifi on during sleep' option was replaced by some google automagic, not sure if this is comparable.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Apollo / 16 GB / Wi-Fi

Dirty flash over lineage-16.0-20200916-UNOFFICIAL-apollo.zip: it booted but Play Store crashed constantly, attempt to reboot resulted in animated LineageOS logo (did not wait too long).

Wiped everything, tried again with open_gapps-arm-9.0-pico-20200919.zip - just like 20200916, tens of minutes and finally boots into TWRP.

Zeroized /misc, BiTGApps-arm-9.0.0-R16_signed.zip works for me.

H/W video decode acceleration issues are gone, thank you. High CPU usage / battery drain issue is still here.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Please upload latest source code to github
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
It's already there
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
If your using BitGapps you must remember to re-flash gapps again otherwise it will break things.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Now it is, thank you.

I have build image from source but it is unbootable (there was no such problem with 14.1), there is no LineageOS animation, just blank screen. I can get into adb shell, dmesg shows a lot of video-related errors like "Failed to load video firmware". Am I missing something? Do you need dmesg output?

BTW device/amazon/hdx-common contains "KERNEL_TOOLCHAIN := /mnt/data/lineage/lineage-16.0/prebuilts/gcc/linux-x86/arm/$(TARGET_KERNEL_CROSS_COMPILE_PREFIX)4.9/bin", that is probably not a good idea for github.

---------- Post added at 06:00 PM ---------- Previous post was at 05:49 PM ----------

Thank you.

I've downloaded open_gapps-arm-9.0-pico-20200925.zip and it successfully booted, seems like there was an issue in OpenGApps that is already fixed.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I tried the relative pathing as suggested on aosp developer site but that didn't work.

for the build sounds like you didn't extract vendor files, extract them from the latest rom using the script in the device configs.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Damn - I did that for apollo but forgot about hdx-common. Thanks again.

It looks like you did not commit everything or use patches outside of device/kernel - image built from source boots but Bluetooth keeps crashing, screen is rotated 90 degrees in relation to touchscreen/rotation sensor. Hard to test anything else.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Yes your right there are two patches to the android source required.

Quick job, so they'll be there in a moment

Done...

See here https://github.com/ggow/android_dev...mmit/d094152ef8a25646d68047ca000ab8a924769028
[Kindle Fire HDX 7" & 8.9" Original Android Develop] d89don:
I'm also still having WiFi issues on Apollo after updating.. no networks can be found.

Here's my output if it helps at all:

https://pastebin.com/rFcrBqXq
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Buzzy42:
Having a lot of issues getting this installed. As background, I just got the Fire HDX 8.9 (Apollo) but never set it up, so was coming from fully stock.. Trying to install September 24 build of Lineage 16.

Bootloader unlocked using the 1-click unlock. I tried to have that automatically install the ROM, Gapps, etc, but it just froze on the "Kindle Fire" screen. Tried to wipe the FOTA/MISC partitions, didn't help.

Went back to the Lineage 14.1 rom, with the Sept. 25 Gapps. Same freeze on "Kindle Fire" screen. Got the August 30 Gapps, reflashed, and it booted! Woo hoo!

But I would really like to get to Lineage 16. I just tried to flash again (wiping everything, including misc/fota), flashed Lineage 16, GApps (open_gapps-arm-9.0-pico-20200830), and then rebooted to system, and it's back to freezing on "Kindle Fire". Do I just need to keep trying to find a working Gapps version like I did for Lineage 14 or am I missing something else?

Side question: Is Magisk needed? I saw some reference to "enabling the built in root" but I wasn't sure what point that kicks in. (and after trying in a few attempts to flash Magisk I started seeing errors like "magisk addon.d failed

!cannot find Magisk binaries - was data wiped or not decrypted?

Reflash OTA from decrypted recovery or reflash Magisk!") At what point should it be flashed, if needed, for root?

Thanks for the help! (And the work on bringing Lineage to these!!)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Thank you. BTW, 0002 can't be applied, there was some minor refactoring (changes are obvious).

It may also worth mentioning compat-wireless URL and source tree location on OP.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I'll regenerate the patch next build and add compat-wireless link to OP
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Have you tried wiping everything, then only flashing the rom (no magisk and no gapps)?

try that first.

If that works then try open_gapps-arm-9.0-pico-20200918.zip, this one worked for me.

Then if that works try flashing Magisk.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] urigg:
For a beginner I'd suggest to stay at 14 for now. 16 is highly experimental, and imho not ready for daily use yet.

The ROM has builtin root support. Just enable the developer options, and then in there the root option. It will handle giving root permission to apps, but no fancy stuff like hiding.

My newest theory is that the cause is something happening on wifi scan, depending on what access points are detected.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] urigg:
The plot thickens. I can crash wifi by moving towards a window, where the number of available networks goes from 4 to 16.

Also, dmesg:

[ 444.139736] <7>ath6kl: ath6kl_cfg80211_scan_complete_event: status complete

[ 444.284343] <6>ath6kl: Firmware crash detected...

[ 444.284889] <7>ath6kl: ath6kl_cfg80211_scan_complete_event: status aborted

Might be a specific one of these access points, or might be the number of them.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Buzzy42:
I just tried to wipe everything, cleared fota/misc (I assume the "write error: no space left on device" error is normal and just it hitting the end of the partition?), Format Data->yes, Advanced Wipe -> System, and Swipe to Factory Reset. Copied over lineage-16.0-20200924-UNOFFICIAL-apollo.zip (confirmed MD5), installed, wiped cache/davlik, then did Reboot System... and it still freezes at the Kindle Fire screen. So I guess my Lineage 16 problems aren't related to Gapps.

I'll probably just settle on Lineage 14.1 if there's nothing obvious to try and wait out the next version, but just wanted to check to see if there was anything else to try before I did (to save the hassle of upgrading back to 16 at the next revision)

Thank you!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
How long did you wait, it can take up to 30 seconds for the boot animation to appear.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Buzzy42:
5+ minutes :/
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Hmmm, this a strange one. Try this to t potentially get some debug...

1. Flash just the ROM.

2. Reboot

3. Let it sit for about a minute on the kindle fire screen

4. Hold the power button until the tablet turns off

5. Then hold volume up and power to into recovery

6. Go to the terminal in recovery and see if the is anything useful logs in /data/tombstones
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Buzzy42:
All I can find in /data is lost+found and media.

It does feel slightly strangely suspicious but I'm not sure what could be wrong with the Fire that would prevent it from even trying to boot 16. Just for testing, yesterday I tried to do a dirty flash from a working Lineage 14->16 and that didn't work either. (just in case 14 did any weird partitioning/etc trick I was somehow missing, both with and without clearing fota and misc)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Rekiiii:
Nice job, thanks for continuing to adapt the rom for this device. I can't resist trying it out.

:good::good::good:
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ducatisto:
Problem ... flash ends with error "E3004: this package is for device: apollo, this device is ." What did i miss? I did the adb/terminal commands which gave me an "not enough space" response but I thought that would be no problem. Any ideas?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] d89don:
I got this same message the first time I tried it. Try flashing again.

Not enough space response is not an issue. I get the same error each time I flash.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ducatisto:
Tried 5 times in a row...

No go, nothing works.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Are you sure your TWRP version is 3.2.3-1?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ducatisto:
THX

That was the culprit. I stayed on -0 because there were no problems and i always prefer to run a proven system, but obviously this time I was wrong. Thx a lot, now everythings ok.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Soulreaver1993:
Anyone tested Hearthstone?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bobcat131:
No luck flashing rom with TWRP

Tried this, but no luck. After flashing ROM, boot stuck on Kindle Fire for over 15 minuets. I noticed during flashing that it gave " No digest file found" and

"No File Contects" . The only instruction I did not do was to "Format Data". because I would lose all adb /fastboot access. HELP!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I'm unsure as to what's causing this to happen on some devices. I have been trying to replicate the issue here but haven't had any success yet doing so.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
While I love the bump to Android 9 I'm finding renewed life in the Lineage 14.1 build for this device which seems happy with recent (long overdue IMO) Play Services and app optimizations. Just a smooth, speedy experience with few, if any, unpleasant moments.

That said, memory and I/O optimizations make a huge difference. Nothing crazy (I prefer a lite touch) but the defaults just don't cut it with a small memory footprint and relatively slow NAND. In contrast the Snapdragon 800 chipset is relatively speedy even by current standards and especially when compared to the MediaTek dung in most budget tablets. Free it from slow IO and the device shines given it's age.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Buzzy42:
The tablet definitely punches well above its weight once Lineage is on it -- but I'm curious what optimizations you're doing?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Agree the mediatek budget stuff is awful.

You should do a post on the the optimisations, maybe we can all benefit from a good set of defaults. I never have enough time to tinker with this aspect.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
​

Latest build works very well. With dolby plus have good sound . I would recommend update twrp minimum to 3.3 to have full compatibility with 9.0. I tryd myself but can't boot twrp after :(.

---------- Post added at 09:13 AM ---------- Previous post was at 09:11 AM ----------

It's all about zram and schedule. Maybe zen, cfq, bfq. Can help a bit. But first need to include this things or mainline upstream in kernel.

After we can test. Zam should be 1500mb or 2000 to maximum speed of our device with lz4.

Set input boost to 500ms instead of 50.

Interactive instead of ondemand

Tcp bbr instead cubic

You find all inspiration in mainline kernel :)

WiFi signal doesn't show since first build. But working fine
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Yep - I done these in the past but generally find it attracts newbies (who need a lot of hand holding) and undisciplined knob turners who go well beyond suggests and end up with unfavorable outcomes. So I'll go with a 'lite' version with just the highlights. ;)

Caveats:

- config will not benefit everyone but generally won't yield worse performance than 'stock'

- gamers should look elsewhere (device does not lend itself well to high memory loads or any significant GPU loading)

- browser matters; a crappy browser will spoil any device optimizations (FWIW - I use Opera)

- apps matter: give careful consideration to ANY app the runs in the background (none of mine do)

- play services build matters; newer builds feature vastly improved optimizations

- works best with a few open apps due to memory footprint; swipe away what you don't use (or LMK will do it for you)

- consider using a well oiled VPN based ad blocker (I use AdGuard)

- a daily reboot helps, although I can often go a week more more on my humble HDX that sees several hours of use/day

Basic tweaks (for HDX and most other 1.5-2GB devices):

- ZRAM: if supported set to 25% of available RAM, LZ4 compression, swappiness=10 (Android 7) or swappiness=1 (Android 9+)

- interactive governor with stock tunings (tinkering with tunables will not yield significant performance or battery savings)

- LMK values that leave enough uncommitted memory for spontaneous buffer generation without imperiling foreground apps and related services

>> 32 | 48 | 64 | 96 | 128 | 256 <<

- deadline scheduler with stock tunings (tinkering with tunables will not yield significant performance or battery savings)

- readahead: 512 KB

- leave entropy alone (or set to 64/256)

- bonus: set all animations to 0.75x (or 0.50x if 0.75x isn't available) for a more responsive 'feel'

I probably won't answer many questions regarding the above; it is what it is and works for me. I spent far (far!) too much time turning knobs and dials over the past 8+ years only to find Google and device manufactures (who tune ROMs) get it mostly right most of the time for most usage scenarios.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] Dragon Kumera:
hmmm im trying not to regret returning the 64gb hdx 8.9 3rd gen tablet i got on ebay.

Though tbh the 9th gen 10inch fire tablet actually does pretty good. (got it for my brother)
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
I am working on a new version of twrp. Everything works except adb, even when authorised correctly. I also noticed on this rom we don't have adb access until after the rom has booted, this doesn't seem normal to me.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] double-gee:
IPv6 does not work properly on the image yet (same problem as in los 14.). http://test-ipv6.com reports, that big packges are not being transmitted and there seems to be a MTU problem or the firewall is blocking ICMPv6-messages of type 2 or "packet too big".

Could you either fix it or allow to disable ipv6 completely, please.

Videos player in ZDF Tivi app were missing GPU acceleration and stuttered.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] HelmutK.:
Got the message "no space left..."

After full format/delete and installing LOS17 and Gapps Pico it stuck at the boot logo.

I'm using Thor
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
24.9 have more bugs detected now.

When WiFi is lost doesn't show any WiFi anymore. Just reboot fix

WiFi doesn't show signal straight

Google app crash. Notes, maps, digital wellbeing, others.

Sometimes have graphic artefacts in soft keys.

I but all my logs here
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
Full format data

Reboot recovery

Wipe data

Wipe system

Install rom + gapps

Do the commands to wipe misc etc... After reboot and setup all.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] HelmutK.:
I already done this
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bobcat131:
Dam it, I managed to fu my Thor.

Now I only have TWRP and Fastboot access using the power and volume +/- buttons.

On Window 10 it connects, I can hear it connect and disconnect, but no access via adb/fastboot.

Looking in TWRP file manager it seems all files are gone. including previously loaded 16-1 rom zip file.

Is there anyway to get this up using bulk mode or whatever without ADB?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] SHORTIES:
I have three of the HDX 7" thor devices and two of them I have put the latest Lineage-16.0 build on them but neither of them see wifi networks at all. I have tried rebooting but nothing changes. I was able to tether via bluetooth to them to get internet access, but no matter what I do they don't see any wifi networks.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] void555:
Format /data and use "mount" in TWRP to upload ROM zip file.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bobcat131:
After TWRP mount there is error when trying to push 16-1 rom zip to sdcard. "device unauthorized" "This adbd's $ADB_VENDOR KEYS is not set" Is there anyway to get this authorized without adb access ?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] cl-i:
I had the same fun and it showed that my adb and fastboot drivers don't worked any longer.

Finally I found a cool tool also from xda here and I was back in business:

https://xdaforums.com/android/general/tool-adb-fastboot-installer-tool-windows-t3999445

It's also worth to mention that only the last TWRP version for HDX (3.2.3-1)works for 16.1 install.

https://xdaforums.com/kindle-fire-hdx/development/recovery-twrp-3-0-0-0-t3322547
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bobcat131:
Figured it out and sideloaded the rom. Up with 14.1 now. Thanks all!

Here is the thread I used: https://xdaforums.com/kindle-fire-hdx/help/how-to-authorize-adb-twrp-mode-t3627355
[Kindle Fire HDX 7" & 8.9" Original Android Develop] bobcat131:
Should, but no joy here. :(
[Kindle Fire HDX 7" & 8.9" Original Android Develop] john.caine:
Installed on Thor

Just installed the new ROM on thor (Clean flash)

I tried to follow the instructions but "Wipe the "misc" and "fota" partitions as instructed here" caused the same error as posted in #49.

But nevertheless no problems with the Installation. Good Job, thanks! :good:

JC
[Kindle Fire HDX 7" & 8.9" Original Android Develop] pxrave:
[MENTION=5749760]ggow[/MENTION]

Here we go to enable zram very easy commit

kernel_phoenix_hdx-common/blob/lineage-16.0/arch/arm/configs/hdx-common_defconfig

CONFIG_SWAP=y
CONFIG_ZRAM=y

android_device_amazon_hdx-common/rootdir/etc/fstab.qcom

/dev/block/zram0 none swap defaults zramsize=1572864000,max_comp_streams=4,notrim

android_device_amazon_hdx-common/rootdir/etc/init.qcom.rc

on init
# Setup zram options
write /sys/block/zram0/comp_algorithm lz4

https://source.android.com/devices/tech/perf/low-ram

after should work fine right?

to boost our device lmk settings

property_set("dalvik.vm.heapminfree", 2m);

after setup these we should have more few reloads and app crashes when have multitasking. i tryd this with other 2gb devices (nexus 4, redmi note 3) working very good and its more snappy.

i read a lot about kernel stuff but iam very beginner. here is my theory...

we have a very bad kernel source for this device from amazon. but we have caf snapdragon 800 kernel source. clean and working. so we need just import the device specific drivers into the caf kernel and have a new clean kernel right?
[Kindle Fire HDX 7" & 8.9" Original Android Develop] ggow:
Our kernel hdx caf based kernel is good and integrates all device specific drivers already. I'll implement first cut of zram hopefully in the next release. Then we can experiment and find a set of baseline settings that work well.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
If/when ZRAM comes to the HDX kernel(s) I'd recommend not messing with heap tweaks. Just accept the defaults and allow enthusiasts to personalize via their favorite kernel manager. There are many other variables that have a much stronger influence on overall device performance/responsiveness. Skewing parameters to satisfy one audience is sure to have a detremental affect on other communities. If one must (just must!) twiddle default kernel settings swappiness and, to a lesser degree scheduler, compression algorithm and read-ahead, have a disproportionate impact on this HW platform.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] hippooo:
Thank you so much for keeping our HDx alive!
[Kindle Fire HDX 7" & 8.9" Original Android Develop] hippooo:
Well, short information:

- dirty flashed from latest Lineage 14.1

- OpenGapps Pico 22.10.20

- Apollo 64GB, Wifi only

Flashing of lineage 16.1 (25/09) itself wasn't a problem at all.

Despite of already mentioned issues (WiFi-Icon) it works quite well.

WiFi seems reliable/stable. No problems so far.

Only disadvantage: seems a bit laggy compared to 14.1
[Kindle Fire HDX 7" & 8.9" Original Android Develop] DB126:
Lags w/dirty flashes are sometimes the result of system leftovers in the data partition. Look for elevated usage of Google Play Services components. Of course, it could be a number of other things as well. Be curious if things seem better after a few reboots.
[Kindle Fire HDX 7" & 8.9" Original Android Develop] billybob24:
is anyones auto rotate not working?

---------- Post added at 09:42 AM ---------- Previous post was at 09:42 AM ----------

i have tried turning it on and off with the icon and in the system settings. wont turn sideways!! need that use this for a baby monitor.

i did a reboot as well