yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
My access point has different SSIDs for both bands. All of my other devices find both networks, the Fire HD 10 with ggow's ROM only the 2.4 GHz one.

I tried to isolate the issue now and created a 5 GHz hotspot on my phone which seems to work with the Fire.

Strange.
[Fire HD 8 and HD 10 Original Android Development] TheDevil259:
Most Amazon devices don't support DFS, regardless of ROM used.

Thus only the UNII-1 channels (36 - 48) are usable which makes it pretty useless for most people.
[Fire HD 8 and HD 10 Original Android Development] konradsa:
Works like a charm now, thanks.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
Awesome ggow ! Great work again!
[Fire HD 8 and HD 10 Original Android Development] sga999:
I am unable to see the external SD card with FX file explorer app. So I restored my 12.1 backup, and it shows there as Media Card. It also appears under mnt or storage in that Lollipop system, but I don't see it under either folder in this Nougat one. But a notification does show for it when I boot. That notification allows me to eject or explore. Also, settings - storage does show it. So it is certainly being accessed and shown in some respects.

EDIT: it shows up under mnt/media-rw/3d67-14f5. I don't know why FX file explorer doesn't find it and show it like it did before. But I can certainly create a bookmark for it.
[Fire HD 8 and HD 10 Original Android Development] hartleyshc:
Great update! Its running great here.

I can also report that adoptable storage works wonderfully! (the feature I was most eager about, besides general greater app support that comes with Nougat).

To enable: adb shell sm set-force-adoptable true

Thanks again, Im very happy with the results so far.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
i have magisk- vanced and no video... what are you referring to? i tried changing setting and no luck. can you give a post number in the 12.1 thread?
[Fire HD 8 and HD 10 Original Android Development] hartleyshc:
Disregard, I talked before I actually tested. :crying:

The issue seemed very similar to what we had before. I was in the process of editing my thread after actually testing it. Doesn't work.

Anything with software rendering should work just fine. Not sure if there's any sort of option for that for youtube. But other players work fine.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Has anyone tested streaming services like Crunchyroll or Amazon Prime Video on this? Are they working?
[Fire HD 8 and HD 10 Original Android Development] meanhoe:
[MENTION=1464372]GuyInDogSuit[/MENTION] I installed Crunchyroll to test for you. It does NOT work at all. Amazon Prime Video does work but it freezes constantly and is unwatchable. Hope that helps.
[Fire HD 8 and HD 10 Original Android Development] hartleyshc:
Things work for me if I have the option to do software decoding. Hardware decoding works like YouTube does. Audio with a black screen.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
A damn shame. That's really what I want working, everything else could be broken for all I care lol (no, not really). If Chrome, Kodi, and Tachiyomi all work, then I might be satisfied with just those for now. I do need my anime fix though.
[Fire HD 8 and HD 10 Original Android Development] zed011:
I checked that and audio continues to play through the speakers even when headphones are plugged in unlike for lineage 12 and 14 builds that we have. On LOS 12/14 I hear a tiny pop through the headphone jack whenever sound is expected.

Maybe a better idea is to compare entire dump of system of LOS 14 for HD 8 vs LOS 14 for HD 10 and see what files are missing related to audio
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
That is the idea + grabbing an mt8173-based tablet that runs Pie and see what we can do (next week). karnak, though based on another MT chipset is different enough that much of the audio configuration doesn't translate, not to mention the kernel audio/soc files are very different. I got my hd10 suez last night and have dumped the images of all stock and los 12/14/16 to assist in diffing. been working on los12 today and have gotten as far as I have with karnak los16: headphones recognized and audio coming out, but onboard speakers play as well.
[Fire HD 8 and HD 10 Original Android Development] Noter2017:
Have you tried apps like 'audio route' or ' audio switch'?

"Force your audio output to switch to headphones, speakers, or any other output, including USB and Bluetooth devices."

"Auto-Switch: Detect when headphones are inserted or removed, and switch to any audio output or mute/unmute the speaker automatically."

https://play.google.com/store/apps/...apk&pcampaignid=APPU_1_ZbXYXafbCYeXkwWNgajoAw
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
I've been using Lesser AudioSwitch, mostly because it has some built in debugging tools. The biggest use I have is forcing output to speaker while headphones are plugged in.. a good starting point to test routing, because the speaker always works by default. If there is a more down and dirty app that auto-detects possible routes, I could definitely use that though.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
I have no problem getting audio to play on anything. My issue is the video. If anybody allowed it's literally for a split second before I get an error in the player saying it can't read the file. Sometimes I won't get an error oh, but the screen will be black and the audio will still be playing. I've done a library comparison a configuration comparison oh, I've taken files from lineage 12 and put them on this ROM, including some of the Power Rogue GPU files I found in one of our sources. Nothing seemed to have an effect though it may not until a factory reset is done possibly? Or you may need to unpack the ROM in a kitchen like tool and add the file that are missing or that we suspect her missing to the lineage 14 rom and flash it. but as of now just pulling the files over from there and placing them into the system does not have an effect. I don't think this is a system issue. I have a similar problem on a Samsung phone oh, not the same CPU, except I get no audio, but the video plays. And anytime I flash a custom rom I will get no audio or if I flash anything other than the same string of stock firmware files, for example upgrading a firmware from Android 6 to Android 7 oh, I get no audio. As long as I stay on the 6.0 firmware audio is fine. I'm almost a hundred percent convinced that the kernel issue on that device. however it's been a few years since anyone's worked on it and has not yet found a solution so it's very much possible we may not find a solution for ours either. I just want to throw that out there without trying to rain on anybody's parade.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Are you saying you have no issues with the headphone jack on Suez with LOS14.1? Or are you making a point that even if the headphone jack were fixed on this build, there are larger issues that you believe can't be fixed so you don't want anyone to waste their time on it.
[Fire HD 8 and HD 10 Original Android Development] dooderooni:
Firstly, let me say that I'm not a Dev so this is just a layman's observation.

I've compared the audio_policy.conf files from this LOS 14.1 build on Suez to the one provided in the patch that fixed it on the HD8. On the HD8 there is a section where 'headset' and 'headphone' device aliases are defined as follows:

devices {

headset {

type AUDIO_DEVICE_OUT_WIRED_HEADSET

gains {

gain_1 {

mode AUDIO_GAIN_MODE_JOINT

channel_mask AUDIO_CHANNEL_OUT_STEREO

min_value_mB -20000

max_value_mB 0

default_value_mB 0

step_value_mB 100

min_ramp_ms 0

max_ramp_ms 0

}

}

}

headphone {

type AUDIO_DEVICE_OUT_WIRED_HEADPHONE

gains {

gain_1 {

mode AUDIO_GAIN_MODE_JOINT

channel_mask AUDIO_CHANNEL_OUT_STEREO

min_value_mB -20000

max_value_mB 0

default_value_mB 0

step_value_mB 100

min_ramp_ms 0

max_ramp_ms 0

}

}

}

}

In the Suez version of audio_policy.conf those definitions are missing.

As I say, I'm not a dev so I can't fix it myself, but it is something I noticed.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Google Play Games refuses to install. Anyone got a solution?
[Fire HD 8 and HD 10 Original Android Development] DB126:
Sideload from APKMirror (long standing solution):

https://www.apkmirror.com/apk/google-inc/google-play-games/
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Okay so you ARE having issues with audio on everything other than LOS14.1 on KARNAK. Your post made me think I was missing something. Yes definitely looking into all possible ways to fix suez on 12 and 14.1, will take a look at your notes.
[Fire HD 8 and HD 10 Original Android Development] chemengire:
Has anyone got encryption working on this ROM?

When I try to encrypt the device shuts down ?
[Fire HD 8 and HD 10 Original Android Development] artyficial:
Thanks!

This is the only ROM that seems to work on the Amazon HD10 . The other ROMs Lineage-karnak 16 and Slim says they work on HD10 but that is not the case. So thanks look forward to the next update.
[Fire HD 8 and HD 10 Original Android Development] Noter2017:
Karnak (HD 8) is a completely different tablet, so obviously Slim and Lineage 16 won't work.

On you Tablet 10 (Suez) you can install Lineage 14.1 (in this thread) or Lineage 12.1 (in another thread)
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Thank you very much I can confirm that this also works. All videos work YouTube works audio works everything works perfectly now. For whoever did this thank you very much!
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
This is a little off topic but this might have to do with this little flash file that exists. I just so happen to have Samsung Galaxy on5, which has the strange ability to lose its audio when upgrading to anything beyond the original firmware. Coincidentally it also uses OMX for audio codecs and video codecs. What are the chances that that device may need some of these codecs when upgrading to Android 7? Again maybe another coincidence that this just happens to be doing it on the same version this tablet was having trouble with.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Works like a charm. All video and audio so far as I can see on any sites besides ads that I have purposely blocked work perfect. Good work on this!
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
It's taken some time, but I finally was able to decompile and recompile the framework for this ROM, and successfully install it.

I was able to activate adaptive brightness, not to be confused with auto brightness. This toggle adjusts the brightness based on available light. It does work :D

I also changed some false values to true for the Wi-Fi, like I did in my previous mods, because I've had a couple of issues connecting to some networks. I have not yet added any reference to 5G because it wasn't present and I forgot to added when I was finished changing the values already there.so at the moment I am not sure whether Android 7 does anything between 2 and 5G or not.

Another thing I forgot to change was the base level decibels for system sounds such as sound effects from the lock screen and keyboard. Raising these levels just a few notches seems to help overall with some of the reports of the lack of volume in previous modifications I did.

Though I've added in the permissions folder in the system for free form window management and toggled the option in developer settings, I also change the value to true, to configure freeform window Management, however it doesn't seem to actually have had any effect.

For those of you who are looking for a default SMS application, you can still use Google Hangouts, and install xHangouts Xposed module and pipe your Google voice messages in through Hangouts along with your other SMS messages. Yes it is true Hangouts is still in full operation. I change the value from false to true, to allow for enabling SMS messaging and voice capability.

That covers pretty much all the stuff I was looking to accomplish so far if anyone has anything else they may want to add feel free to ask me. I was really quick and did this through the terminal in Ubuntu. I have not tried adding this through recovery because any other time in the past I've tried with this ROM I did not succeed. Or at least it would not boot. You may have to wait several minutes when rebooting after adding this APK. Though it may seem like it is stuck in a bootloop I assure you it is not it just takes much longer than our previous ones have.

https://drive.google.com/file/d/1V2phSuh6bibmx-r1PsuckUfP4ptgvyxU/view?usp=sharing
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Is there a proper way to run the latest version on Netflix on this ROM? The one from their website doesn't have download capability.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Are you trying to say you can't download the APK from the website? Weird because I just did and here it is. https://drive.google.com/file/d/1alwKs_vFrvlLJQf2Io-1Bh5HRQ4hz6OZ/view?usp=sharing
[Fire HD 8 and HD 10 Original Android Development] Noter2017:
He probably means that you cannot download movies for offline viewing within the app.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
This. Cannot download for offline viewing. Kinda makes the app pointless.
[Fire HD 8 and HD 10 Original Android Development] :
It does still work for playing videos with the OMX fix though right? I think the version I have on LOS12.1 supports downloading.
[Fire HD 8 and HD 10 Original Android Development] Noter2017:
I guess you tried clearing Data of the Netflix app and granting it access to storage.

Are you trying to download to internal or external storage?

Do you get any error message?
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Yes, but my home internet is such ass that streaming even at standard quality is next to impossible. By that I mean when streaming in HD, it buffers every 10 seconds. Best I can hope for is to download elsewhere and watch it later.

There isn't even an option to download, period. No setting for which storage to use in the options. I can't install any version other than 4.16, from the website.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
I have a fix for Suez 12+14.1 that I should be releasing this coming week, just needs more testing. It's using same method as my headphone fix on karnak LOS16.0 ("alsa_trigger" method). If you wanted to test it out send a PM, as there are some manual steps I won't have in the posted version.
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
Can somebody compile an updated version of the ROM containing the fixes released in the meantime (OMX fix, adaptive brightness, headphone fix). This would make future deployments easier.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
It would make future installs easier, but releasing a new build is a tricky thing as some of these "fixes" are workarounds with a more legitimate fix being worked on for future (at least the headphone fix certainly is at this point). If the current workarounds and fixes are all rolled into the next build, they could (possibly) conflict with the legitimate fixes when they come along and are rolled into another build. I trust [MENTION=5749760]ggow[/MENTION] (and [MENTION=9605864]Kaijones23[/MENTION] for karnak effort) to do the right thing with these builds and their threads.

Edit: I just saw that ggow is taking a break for personal stuff. Still, I get the thought is in the right place to make things easier, but creating a new thread and rolling another build will get confusing.. plus ggow might be back sooner than later (we hope!).
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Luckily with my framework mods, and with the omx release fix, those can be implemented into the ROM via superr's tool. In regards to adaptive brightness, I've actually gotten it to work exceptionally well. It turns out it just needed I have the right values and integers set into the framework and it works like a charm. Much better than I was expecting it to. I've also been able to enable what is called 'night light.' which is essentially something like blue shade or night mode. I just have a few more things I want to make sure or step properly and I will go ahead and recompile a rom with what fixes I'm able to and post it in a new thread perhaps.

---------- Post added at 07:58 AM ---------- Previous post was at 07:57 AM ----------

I rarely use headphones so I do not know if this fix can you link me to the thread that has it and I'll see what I can do to add it to a recompiled ROM with the rest of the fixes and my framework modifications.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Up to you on whether you want to start a new thread, but I wouldn't IMHO. It sounds like you have a good grasp on framework and have come up with nice improvements, I'm just getting caught up on them and impressed. It also sounds like the OMX fix is fairly straightforward. However, the headphone fix (calling it ALSA_trigger) essentially just watches the system log for jack events (like headphone plugged in) and sends the required commands directly to ALSA using alsa-utils to fix functionality. This would be a strange thing to bake into a build this early on in its life. If it were built in, I imagine I'd see the build name be someone's name with numbers substituted for letters, or ROM with a zero for an O. To each their own though.

ALSA_trigger for suez isn't posted yet, still in testing. PM if you'd like to help test, would appreciate feedback before releasing into the wild.
[Fire HD 8 and HD 10 Original Android Development] zed011:
Thanks for working on the headphone fix. 3 observations I noticed

1. Headphone jack and speaker share the same volume setting. Not independent anymore

2. Unplugging headphone does not pause playback. Expected behavior is to pause

3. Connected to bluetooth speaker but sound continues to come out of tablet speaker
[Fire HD 8 and HD 10 Original Android Development] dooderooni:
I'd agree with spelcheck, keep this build "as is" so that ggow can add the fixes if he chooses and when he has time to do so.

Also, keeping any fixes as flashable zips or apks for the time being means that they can be undone if better solutions come along in the future and people won't have to do clean installations. It's great that the Dev community are providing alternatives for all these Amazon devices and it looks to be the case that some fixes will work across all architectures.
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
I don't think that ggow will have time in the near future as far as I understood his statements he took a few weeks ago. So maybe somebody like [MENTION=9605864]Kaijones23[/MENTION] can assist ggow in this matter. Is it more difficult to create a LOS build for suez compared to karnak?

---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------

Cannot install this apk. It just keeps telling me that the package is corrupted after i click on install.
[Fire HD 8 and HD 10 Original Android Development] retora:
Same here. Downloaded it 2 times to avoid download error, but nothing changed. [MENTION=8165603]DragonFire1024[/MENTION], maybe it would be useful to compress the file.
[Fire HD 8 and HD 10 Original Android Development] Shadow Death:
You have to use a root file explorer.

Navigate to /system/framework

Locate the existing Framework-res.apk and rename to something else. I usually just add .bak to the end of the existing name. In my case it's framework-res.apk.bak

Then copy the new Framework-res.apk you just downloaded to /system/framework and reboot.
[Fire HD 8 and HD 10 Original Android Development] meatwad666:
is anyone able to get hulu or disney plus to work on this build? i've tried multiple app versions, using magisk hide, and have the OMX patch applied (netflix and youtube work). i can browse in the app, playback errors out with code 3(-996).
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Thanks for your testing. Yes so it's looking like so far on 12.1/14.1 because audio_policy.xml needs to be removed to allow for anything to come out of the jack, we lose routing. This means no bluetooth audio, no headset mic and no separate output device volumes. As far as the expected pause-on-unplug, that strangely seems to still work on 12.1 with this same flash, albeit the audio continues to play out of the speakers for a moment before pausing. Suez is being very stubborn, but I'm hopeful I'll be able to get it playing nice with audio_policy so it'll work as designed.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
You need to use Root explorer or ADB and manually push the framework to the system. If you don't want to do that while the system is booted because if you're not quick enough to set the permissions, then you will boot loop, then you can do all of that through recovery.

I would go ahead, download the APK to your internal storage folder and then Boot to recovery. Manually move the framework APK /system/framework, overwriting the one that's there. Don't forget to backup your current one in case it doesn't work. Set the permissions to 0644 after you move it and then reboot. The first reboot may take several minutes. If and when I make more upgrades future ones will not take nearly as long. So don't fear your device is not stuck it just takes a little bit.

---------- Post added at 08:49 AM ---------- Previous post was at 08:49 AM ----------

Make sure to set permissions 0644 before rebooting or you will boot loop.
[Fire HD 8 and HD 10 Original Android Development] TheDevil259:
Adaptive brightness doesn't work at all with your mod. The brightness doesn't change even after shining a torch on the light sensor in a overall dark room.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Placeholder for initial release of los12.1&14.1 suez headphone jack enabler.

Edit: In need of additional testers.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
So I still can't get Netflix to show up on the Play Store (I'm fairly certain this has to do with the device not being certified), nor can I install any "newer" versions I've downloaded from APKMirror. This is really frustrating. It's pointless using this tablet to stream, as I don't have very fast WiFi at home or at work. I actually NEED to download anything first to watch it without buffering every ten seconds. Does someone have a working version of this I can install?
[Fire HD 8 and HD 10 Original Android Development] playadru182:
I'm interested and can help test initial release. I've been watching this thread for a couple weeks, have 2 Suez models, both still have stock software on them.

Let me know how to get started helping test.