yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] longtime_lurker:
One more bug to report - bluetooth / wifi coexistence. When bluetooth is left turned on, after tablet goes to sleepfor lomg enough (so the wifi goes to sleep/disconnects as well), then wifi will not reconnect after wakeup. Scanning for networks works and begins to connect but never does. Toggling Wi-Fi does not resolve it. This is with wifi scanning and bluetooth scanning turned off.

What resolves it is turning off bluetooth. Afterwards you can turn it on again and connect and use bluetooth normally...
[Fire HD 8 and HD 10 Original Android Development] sunflowerstarfish:
another wifi bug:

when trying to cast the display to a smart tv in the same network, the wifi disconnects for a second as soon as the display-cast connection is established. the wifi quickly reconnects afterwards but display cast is not functional for me.

can someone doublecheck? i was trying to cast the display to a samsung tv.

streaming media to the tv works just fine.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Well it will be fixed in the pie update [MENTION=5749760]ggow[/MENTION]. I currently have issues with the omx and it keeps telling me that I have invalid color format and I have added it to the framework/native/include/Media/OMX_oivcommon.h and it still doesn't work. I have attached the logcat here. Also the camera is struggling to work but it opens normally and the camera app is hidden.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Is the problem your having with los14 or los16, could you point me to your framework/native and framework/av repo and I'll take a look.
[Fire HD 8 and HD 10 Original Android Development] Quinoa_:
Automatically removed when playing video from sdcard

Hello

Thank you for developing LOS14.1

I want to report a bug that automatically removes the sdcard when I play a video from the sdcard.

the same thing happens with MXPLAYER and default gallery video player.

there was no problem when I read pictures and text files from sdcard.

Could not upload catlog because you joined xda now I'm sorry.

play on mxplyaer: pastebin.com/ieKZsaDy

play on default gallery player: pastebin.com/9DmHWzCx

and, I'm sorry I can't speak English perfectly.:crying:

I owe you for your services. thank you.

[IMG="https://i.imgur.com/u5UpsUw.png"]https://i.imgur.com/u5UpsUw.png[/IMG]
[Fire HD 8 and HD 10 Original Android Development] just4sc:
Can you list those modules that you used?

Thanks!
[Fire HD 8 and HD 10 Original Android Development] hudsonbra:
Viper4android fx (for louder sound) and

YouTube vanced black themed magisk repo (for login on YouTube vanced)

?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
It's for los16. Some files look similar to nougat and here are the repos!

https://github.com/488315/android_frameworks_native

https://github.com/488315/android_frameworks_av

Some how the html codecs works bit not the codecs for HVEC and avc and h264 doesn't work and vp9 and vp8.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I'll take a look today.

Are your device trees and vendor still on */mt8163 of github?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Yes and they are the latest.

And I'm going to give you the write access to it
[Fire HD 8 and HD 10 Original Android Development] ggow:
Hello, I had an initial look at the patches etc, although they seem implemented good, there maybe some mismatch between the kernel and userspace perhaps. Without digging deeper I don't know at the moment. The media codec xml files need to be refactored to fit with frameworks/av of los16. Some of the attributes in the current ones aren't supported etc.

If I find any resource that might be helpful, I'll let you know.

I'll let you know when I get to working on lineage-16.0.
[Fire HD 8 and HD 10 Original Android Development] digitalTARDIS:
Google Play Movies does not work

So I downloaded my Google Play Movies and when I go to play them I get a "There was an error. If the problem persists, try restarting your device." I tried restarting and no avail. I was wondering how the development of LineageOS 16 is coming as I am really excited for the new Android 9 and am hoping some of these problems like no headphone jack and video playback is fixed. I am also wondering, as I am a technology enthusiast if anyone can give me an idea as to why these issues like no headphones or video playback are being caused or why they don't work. Huge kudos to everyone working on this project, my Fire Stick 2 and Fire 8 and 7 tablets would all be a waste of money if y'all hadn't made this possible.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Ok thanks. By the way is there any solution that I can fix the headphones. It's still routing to the main speaker. Is it not working because of audio.voice.dsp.default.so or is it something else. For our issues with the pie rom I have put them here so we can work on them. https://github.com/mt8163/issuetracker

But I think it's better to create an issue. By the way the codecs still doesn't work after I have added those colorformats. It might have to be the software or something. The issue will be here https://github.com/mt8163/issuetracker/blob/master/issues/software/codecs.md

So I would appreciate your help with the stuff that I would like to try to get it to work. I have tried to switch with onn blobs but it does not work well with it. I'm currently almost done that I want to release the rom as soon as possible. Somehow I need a way to get a Bluetooth address through nvram or idme. So the rom is like almost stable. What currently issue that I'm having on the kernel is that it needs to be upstreamed to 3.18.140 but at least this one is currently useable. When I tried to remove the logging hooks from my kernel I ran into build issues like this one here https://github.com/488315/android_k...mmit/bdf393a7cfcb938bf25a95dba3d39ef2434866d1

Also everyone I'm trying hard to get the lineage 16 rom to get released as soon as possible.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Yes it 's a good thing to raise the issues on github, very easy to track then and collaborate.

For the headphones it could be complicated if it's anything like on suez. On suez I found there's some custom functionality missing from audioflinger which is where the ioctl from the kernel is routed. That was only a brief look, I need some more time to investigate properly, it may reveal itself to be simpler.

I can help at some point but I don't know when. My time is split between many projects and other life commitments that I must make good on. I will set up a los16 karnak build using your device trees etc as soon as I have time.

Usually the bluetooth address would come over the idme interface so we should be able to get that working.

I was hoping to to use what I learned bringing up mustang 7" Fire but upon investigating the blobs compared to karnak it was structured differently. On area was the audio. On mustang the headphones work fine. At lab126 these device must be developed by different teams who don't talk to each other something. They all seem to have difference peculiarities.
[Fire HD 8 and HD 10 Original Android Development] sd_dracula:
Hi guys, I have a fire hd 8 2018 (bought last month) with stock OS and would like to put lineage on it and use it as a home automation dashboard for home assistant. Can someone pls link the method to installing TWRP (preferably via Windows OS) I have found so many "guides" out there that I don't even know where to begin. Thanks
[Fire HD 8 and HD 10 Original Android Development] Reverse-anastomosis:
This method is current and works well. I just did 2 Karnak devices a month or so ago. It does require Linux, but you should be able to boot a live version to get this done. I used lubuntu 16.04, as it has great off-the-shelf USB functionality.

https://xdaforums.com/hd8-hd10/general/tut-root-hd82018-via-magisk-t3906554/page40

I stopped after this step and just flashed lineage.

"Once TWRP comes up, go to "Install/Install Image", and install /sdcard/00/boot_orig.img to boot partition (here we are returning your original boot image to it's proper partition)"
[Fire HD 8 and HD 10 Original Android Development] sd_dracula:
There is one thing I am not sure on, how do I check if the bootloader is locked or not and I assume that once TWRP is installed I just flash the Fire table with the LienageOS binaries correct?
[Fire HD 8 and HD 10 Original Android Development] Reverse-anastomosis:
Once you have run the amonet script and have TWRP booted the bootloader should be unlocked. That is the function of the amonet script.

Once you are in TWRP you can flash the lineage zip followed by gapps zip.

Have you used TWRP before to flash custom ROMs? If not I can get a little more detailed
[Fire HD 8 and HD 10 Original Android Development] sd_dracula:
Yes I have some time back but only via Windows on some of the old Galaxy phones, but never on linux, so that part I'm not 100% on and do I need to drop the tablet to 3%? What if it dies during the process? Also not sure on the mandatory bricking part...
[Fire HD 8 and HD 10 Original Android Development] Kctucka:
https://xdaforums.com/hd8-hd10/orig-development/fire-hd-8-2018-downgrade-unlock-root-t3894256

I think this method is easier, and doesn't require bricking, so it's safer in my opinion

Also, as this thread is about Lineage, let's keep the unlock questions in those threads.
[Fire HD 8 and HD 10 Original Android Development] sd_dracula:
I went for the brick method in the end and I am step 9 (waiting on battery drain) when TWRP comes up, can I just flash Lineage ROM at that step or will I need to go through the full process and only after do it? Thanks again
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Yes but, This area is for Rom discussion thanks !
[Fire HD 8 and HD 10 Original Android Development] wodgey:
Is there any progress yet on lineage for 2019 fire 7 (Mustang)

Is there a dedicated group\thread yet as I've not noticed one when searching (other than the guides for root\unbrick)

Edit. Ignore me. I've just stumbled across https://xdaforums.com/amazon-fire/orig-development/rom-lineage-14-1-t3957329
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Thanks! So what is the location of the file in the ioctl for the audoflinger and the kernel?
[Fire HD 8 and HD 10 Original Android Development] ggow:
You missed the point, there is no source code available for that part because it a proprietary code by amazon in the stock os binary version. I don't want to use the the stock audioflinger because that has other dependencies. I also should have said IO not ioctl. It may be a /dev/* entry / sysfs of some description. I need to look into it in more detail. It needs a bit of time.
[Fire HD 8 and HD 10 Original Android Development] Xinto:
Just asking

Hey, i want to install the rom to test it out, before that i have to ask a question, i'm on a 16gb model (ordered 32gb but they shipped 16gb)

How much space does the latest beta take? Is there a free space above 2gb?

Thanks.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah sure.
[Fire HD 8 and HD 10 Original Android Development] Xinto:
Thanks, could you tell me approximate size that the rom takes up?

If you are not busy of course
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
It's around 540 mb and the system partition is about 2.4 gb
[Fire HD 8 and HD 10 Original Android Development] Xinto:
Wow, such a low for such a great project, thanks a lot man, if not you, i will still be using this Amazon crap, i will test if otg works when i install it, good luck with the project
[Fire HD 8 and HD 10 Original Android Development] digitalTARDIS:
64-bit Architecture

Pardon me if this is a stupid question to ask, but to my knowledge, there is a bit of performance gain when you run 64-bit software on 64-bit hardware so I ask why then when I go to flash the ARM64 or 64-bit version of G-Apps why TWRP tells me that the file I'm trying to flash is the wrong architecture. According to the Amazon Tablet Device Specifications page (I am unsure whether I am allowed to insert hyperlinks here, you can Google "Amazon Fire 8 HD Specs" and there will be an Amazon.com page), it explicitly says that the Amazon Fire 8 HD (8th generation) KFKAWI has a "MediaTek MT8163V/B (64-bit quad-core)" with a 64-bit kernel. If this information is accurate on Amazon.com's part, then shouldn't the 64-bit versions run on the device? Or is it the "ARM Cortex-A53 (1.3 GHz)" that limits the device to the standard ARM architecture?
[Fire HD 8 and HD 10 Original Android Development] wodgey:
The kernel is only 32bit. I asked a similar question only yesterday. The hardware blobs are compiled with closed-source code.
[Fire HD 8 and HD 10 Original Android Development] Xinto:
I'm noob at this as i'm installing custom ROM for the first time so i might ask a dumb question, if i wipe data in TWRP, will lineage ROM be wiped from internal storage? And if so where do i need to place ROM?
[Fire HD 8 and HD 10 Original Android Development] digitalTARDIS:
Yes. If you wipe the system partition then it will erase your ROM. If you are trying to flash a new ROM then place the ROM you wish to flash in /sdcard/ and use the "install" function in TWRP and it will overwrite your old ROM with the new one.
[Fire HD 8 and HD 10 Original Android Development] Xinto:
For me, /sdcard/ is /storage/self/primary is that right or you are talking about physical micro sd card?

Edit: I realized that you are talking about Physical micro SD card, i don't have one at a time so can i use ADB sideload instead?

Thanks
[Fire HD 8 and HD 10 Original Android Development] digitalTARDIS:
No. I am not talking about a physical Micro SD. There is a folder in system:// called /sdcard/. If for some reason your device organized it differently (however I wouldn't understand why it would be different because I'm talking about standard Android directory structure) then I would recommended using ADB: "adb push <folder ROM is in on your computer/ROM file name.zip> /sdcard" . You could also place the ROM in /storage/emulated/0/ or storage/sdcard/ however you'd need to use ADB. For some reason Android calls the internal storage of your device "sdcard" and the real physical MicroSD card a eight character name like 83DG-H483.
[Fire HD 8 and HD 10 Original Android Development] Drunkpilot:
Your internal sdcard is your internal storage and you can have an external sd card too. If you wipe your data, you won't wipe your internal storage unless you click internal storage under advanced wipe in TRWP. A factory reset does the same thing, it wipes your data. Do not wipe system though on the hd8. I did recently and bricked my device, but was able to bring it back using xyz's method.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
/sdcard/ is data/media. Your TWRP is not correctly mounting the sdcard.

Do you have installed k4y0z twrp?

Enviado desde mi Mi A2 mediante Tapatalk
[Fire HD 8 and HD 10 Original Android Development] Xinto:
I am looking it through file explorer, not TWRP itself, sdcard is an alias to /storage/self/primary, btw i will use adb to push the rom, thanks guys, so data wipe does not delete files (.zip file in this case) so it deletes only user data as far as i got it, btw will be installing rom after headphones bug will be solved, asked the question just in case i won't brick my device
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
1. An explorer app and TWRP will show different paths, it's normal.

2. I prefer use adb sideload.

3. Wipe data, only erases the userdata partition but not the Internal storage (/sdcard)

4. Headphones bug is very common in mt81xx amazon devices (suez for example). As we know, headphones bug is related with kernel so it will be very difficult to fix it, also we are focusing more on LOS 16.0. You can check the progress in GitHub.

Regards.
[Fire HD 8 and HD 10 Original Android Development] Xinto:
Thank you very much, so i don't have to worry about and i can use adb sideload if something goes wrong, good luck with the project, definetly gonna check out los 16 as i was waiting for it, you guys rock!

---------- Post added at 03:20 PM ---------- Previous post was at 02:49 PM ----------

Hey, i can't find LineageOS 16 on github, could you give a link to repository?

Thanks

Edit: nvm found it
[Fire HD 8 and HD 10 Original Android Development] Shadow128:
Hi there,

I tested the ROM for 2-3 days, and its almost working really good!

But on Amazon Prime Video I can watch the content only in SD resolution?

Even if I want to download an episode, I see mismatching donwload sizes (0.46GB on Lineage-Rom instead of 1.82GB on Stock Rom).

Anyone can confirm that error and knows how to fix it?
[Fire HD 8 and HD 10 Original Android Development] Xinto:
I think it has a YT like problem, where you have to change h.264 encoding from false to true
[Fire HD 8 and HD 10 Original Android Development] newbiedroidlover:
LOS 16

Is there a lonk to flash LOS 16? I am not too familiar with GitHub and just see a bunch of files and am unsure of how to install to be honest.

I truly appreciate the work and for helping myself and many others turn their watery fire tablets into wine. Bad analogy, but again thank you. Really appreciate it.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
[MENTION=5749760]ggow[/MENTION], if you have time do you mind helping me with this issue on GitHub? https://github.com/488315/android_kernel_amazon_karnak/issues/1

Somehow amazon messed this up and I don't know what I did wrong. I have removed the amazons logging hooks and stuff.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
From the kernel? What exactly is happening? Try to do that before and failed I'm surprised you were able to succeed. I thought they were supposed to pretty much leave the kernel alone in regards to stuff like that? Isn't that proprietary stuff they shouldn't even be messing around with? Here's something you can try now that you were able to do that why not download the source code from Google and see if you can build from 3.xx instead of an incremental 3.xx.xx. I think a lot to do with why we couldn't was because we were unable to roll back because of what Amazon has done in terms of their drivers. It would be nice if this allowed us to actually do that then we can actually upgrade the kernel.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I haven't got the time Kai.

Also I'm not going to spend any significant time working on amazon stock kernel source archives. It doesn't make sense. There is no commit history which makes modification and future maintenance a nightmare.

I would suggest you put your efforts elsewhere.
[Fire HD 8 and HD 10 Original Android Development] digitalTARDIS:
Automatic Screen Lock

I've noticed lately that when I close the cover to my case the screen doesn't automatically lock like it did on FireOS. I don't know if that isn't supported on LineageOS or this is a sensor that isn't properly installed on the ROM
[Fire HD 8 and HD 10 Original Android Development] hudsonbra:
Hi, guys

Is the headphone jack working in the new Los16 rom?

Any prevision of the release ?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
I'm still looking at this issue with pie and I have fixed the lid sleeping with pie also. But I'm still working on the codecs. But since the school is starting on Monday and I have work with alot of hours. I will be having less time to work on the rom and the pie release will be released soon [MENTION=5749760]ggow[/MENTION]. How's the progress on the headphones? And the codecs are still not working :/. I haven't found any solution for this yet.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
If anyone wants to test the pie rom , it's unstable Because the codecs doesn't work. I will put the link up in a few hours.
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
This is a bit of a loaded question, so my apologies if this cannot be answered simply. Do you know what exactly does not work with the current state of the codecs? For example, assuming this is just audio codecs, does this mean that all audio does not work, regardless of connection method (physical headphone via usb-c vs bluetooth)? If this only has an effect on audio, does this affect the functionality of applications beyond audio output? For example, will camera crash, or will we be able to take video without functional audio?

Only asking because the answers will help me choose whether or not I can participate in testing the Pie ROM. If the only issues are audio output, and it does not affect apps from functioning properly (other than audio output), then I would be glad to test out the next build.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
The audio codecs work but Bluetooth is not working and the videos does not play. The headphones is not working also. Sorry [emoji1745]

It's taking me a while to figure it out
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
Thank you for clarifying. If the issue is simply audio/video then I'd be happy to run a test build once available. Best of luck. Sorry I don't have other help to offer!
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Updated OP with Lineage 16.0 dowload Url for testing

Changes

Added lid to sleep

Sdcardfs is introduced

Audio Works Fine

video does not work

Snap is hidden for some reason but workaround is to double tap the power button.

bluetooth does not work. workaround is pm disable com.android.bluetooth

graphics are still buggy

gapps tend to crash at set up but needs more testing

If you have any issues with this rom let me know!
[Fire HD 8 and HD 10 Original Android Development] Kctucka:
I tested for about an hour last night, and didn't find much that you haven't already reported.

I did sometimes need to exit and reopen Play Store for apps to download, or they'd get stuck. It also did not recognize my SD Card without asking to reformat/wipe it. I guess that's sdcardfs related?

I'll update after some further testing today.

Also, your download link 404s. Link should be:

http://github.com/mt8163/android_de...7/lineage-16.0-20190826-UNOFFICIAL-karnak.zip

Thanks for the great work!

Edit:

Few other things I've noticed after more testing:

•Casting video works.

•YouTube works on browser for a bit, before eventually crashing. Nothing from the app though.

•It's been tough getting apps to recognize my google account. Chrome eventually did. Play music hasn't, and also keeps crashing.

•Spotify works, and with a good range of volumes.

•Memory is aggressively swapped to ZRAM. I wonder if that causes some stutters.

•Xposed works, using edxposed.

•Camera works, video does not. This includes usage in other apps such as messenger.

•Wifi disconnects at times, and I have to manually reconnect.

•Switching to home menu or recent apps causes some screen flickering in Nova Launcher. Trebuchet is fine.

•All apps detect root access with no issues using Magisk.

•No option to run animations at 0.75x speed. Not an actual complaint, but I like that speed.

•Standby battery is good. Left it on over night and at work and it lost less than 2%.

•No battery usage stats are reported by the system though.

I'll keep adding if I find more.