yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] retora:
Thank you, but does not work on my device, after reboot there is nothing mounted to /external_sd. Maybe because there is a file named 99exfat-support in /etc/init.d with content:

#!/system/bin/sh
/system/bin/mkdir /mnt/media_rw/sdcard1
/system/bin/mount.exfat /dev/block/mmcblk1p1 /mnt/media_rw/sdcard1/ && /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1&

Don't know if this comes with the rom build.

If I execute the files in adb shell, I see:

suez:/system/etc/init.d $ sh 94mountrw
Mounting /system in Write mode!
Done!
suez:/system/etc/init.d $ sh 99sdmount
ls: /mnt/media_rw/: Permission denied
Badly formed path!
suez:/system/etc/init.d $
[Fire HD 8 and HD 10 Original Android Development] SingleMalt69:
Same here. /external_sd is present, but Titanium Backup says "This folder cannot be accessed.". I also tried to see if the external SD card was visible on a PC when connected by USB, but this patch did not fix that problem either.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
OK what root solution are you using ?

Simple question your ext-sdcard is mounted an you have normal access to your ext-sdcard files rite ? I ask because their was a problem with No ext SD showing at all in Ford & Austin fire tablets on los 14. If all is cool with that then read on.

Sometimes custom roms play the fool this is were a lil brain knowledge comes in !

With a root explorer go to your systems root then - mnt > media_rw in that folder their should be a folder with 8 digits an numbers (a example is) E316-150B - this is your ext-sdcard serial # an location , make sure its located their first!

(1)

If so you have to options now , one you can still directly mount titanium backup to this by following the path I showed you above an make a folder in you ext-sdcard named titanium backup !

( provided you do know how to easily navigate in titanium backup app to find an setup backups ). If not just ask.

(2)

Two you can execute scripts by mean of a good app to have on hand for tings kernel related , call smart kernel , I'll provide you with this app below . once installed open the app an theirs 3 small hamburger lines located at the top left corner tap on it to bring up options then scroll down to > tools section then - init.d - tap it once an inside you will see Emulate init.d at the top just switch to on , this will run all scripts in init.d folder that the system does not do right on boot.

Now you should see external-sd in root can be able to mount titanium backup from their provided all went OK .

Those who may try this first :

Make sure to have the extsd access enabler above installed .

Flash the top & below zip if need be.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
You guys do have a mounted ext-sdcard rite , example located in settings > storage > internal storage & SD card 1 both are their ?

If so then you may want to read above post !
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
On this ROM for this particular tablet there was no stock camera application installed at all. I have tried pretty much every camera apk with the libraries and XML files if there are any oh, that I could come across and not a single one of them will work. The only one I can even get to open, but has no functionality whatsoever and eventually crashes, is the last Google camera build for this version of Android. I no longer have installed but it was either the last 4.xx or the very first of the 5.xx. in the make files for this CPU, none of them contain any build instructions for a mediatek camera. The only line I see is 'camera stub.'

Secondly in regards to my enthusiasm with web based video and videos in apps including YouTube, it was short-lived. I got one video to work perfectly, but have not been able to repeat it again. However I can play video files with no problem. I was hoping MX Player would solve it or YouTube vanced, but no luck. I still get a black screen with perfect audio and maybe the first one second of the video plays. Using debug options in vanced, actually says there is nothing buffering on the video end. It clearly does Show Audio buffering and no movement at all on the video buffer.
[Fire HD 8 and HD 10 Original Android Development] Michajin:
All my videos work perfect after installing the OMX fix in post #248. I had to uninstall vanced and re-install it after to get them to play video, but it sounds like more than a few people had to re-install apps. I'm using vanced but others reported youtube works too.
[Fire HD 8 and HD 10 Original Android Development] retora:
[MENTION=9906981]Ziona[/MENTION] I tried again to execute the files, but in a terminal with root direct on the tablet. The 99sdmount tells me that the folder already exists, so I deleted (empty) folder /external_sd and executed 99sdmount again. Now the link to the sdcard is available, but my ES File Explorer won't show it as an sdcard (like before). After reboot these changes are lost and /external_sd is not existent.

Smartkernel shows "Done" with 94mountrw and nothing with 99sdmount.

Root comes from Magisk. Titanium Backup was able to backup to sdcard before installing your zip (using documentprovider-method).

But I'm still wondering why 99sdmount seems to be not executed at system boot.
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
With the OMX libraries in the right place under /system/lib and /system/lib64, I can get YouTube to work fine with 1080p with both regular YouTube and Vanced. However, I am still struggling to fix video playback with MX player or other player with hardware acceleration using OMX. Unsure what I am doing wrong. I have done clean install multiple times and ensured the proper libraries that Ziona has provided are in place.

---------- Post added at 05:52 AM ---------- Previous post was at 05:37 AM ----------

I should note that I am trying to play h264 1080p video @ 60fps. Anything else I need to enable h264 playback besides the OMX libs ?
[Fire HD 8 and HD 10 Original Android Development] zed011:
I think this is a known issue even on lineage 12. Hope it's on the priority list of things to implement
[Fire HD 8 and HD 10 Original Android Development] Ziona:
It wont say done on SD Mount it will just be created after you execute it in smartkernel .. Go to root after an check. Emulate init.d is switched to on ? In setting also set smart kernel to execute instantly on boot no delay.

---------- Post added at 12:59 AM ---------- Previous post was at 12:56 AM ----------

---------- Post added at 01:33 AM ---------- Previous post was at 12:59 AM ----------

Their somehow is a conflict problem between ffmpeg & Google , these are media codec's files one is for for video audio hardware controlling an the next control software, for instance if you were to remove Google media codecs XML , mxplayer would play hardware accelerated video in 60fps smooth no problems but you would not be able to watch videos in YouTube because it uses Google media codec , most web base apps use software based codecs because its more flexible on a large variety of devices available . this problem is not in lollipop an kitkat & stock roms we had full video hardware acceleration am trying to figure a solution this is more a custom ROM problem with many lower powered devices. With higher powerful CPU an more ram you would less likely notice the issue .

just think software decoding uses more CPU power than hardware an its very hard for it to keep up buffering HD videos online at 60fps in youtube an others. You can play 60fps h264 videos local files in players like mxplayer if you just use SW decoding only.
[Fire HD 8 and HD 10 Original Android Development] DB126:
Many Amazon devices do not have hardware (ambient light sensor) or kernel support for adaptive brightness. Can't speak to the Suez directly as I don't own this model but it wouldn't be surprised that falls into the same category.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
It may be missing a configuration for that for example . https://github.com/mt8163/android_d...works/base/core/res/res/values/config.xml#L22

I looked at ggows repo it seems to not have one.. I think he will add it to the next update.
[Fire HD 8 and HD 10 Original Android Development] retora:
Okay, emulate init.d is switched on, instantly on boot / no delay activated. Section "on boot" shows init.d as active (emulate init.d). If I press Test in settings nothing happens, path /external_sd does not exist after test. After reboot smartkernel notified my that it has executed, but no path /external_sd.

Anyway thanks for the info to smartkernel, it 's a nice tool I did not know before. I will test with other path entries to link to, to get ES file explorer aknowledge the sdcard as a sdcard.
[Fire HD 8 and HD 10 Original Android Development] retora:
I don't exactly know what you mean. The sdcard is accessible with this rom since first day (yes, through /mnt/media_rw/xxxx-xxxx), but not recognized as a sdcard from all explorer applications. That is what I intent to change. But it is only a minor issue for me.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Yes am telling you that the zip also adds write access to that location for app backup for tings like titanium backup to work with the ext sdcard.

What exactly do you mean they dont recognize your sdcard if sdcard is working , or do you mean because it shows up as # xxxx-xxxx if so then all third party Explorer app will list ext sdcards as serial number only but the built in file explorer & settings storage will list as sdcard1 or 0 by default. Also in all nougat roms theirs no longer a ext sd listed in root.

The scripts in the zip mounts the system in rw & the next adds a external sd mounted to media_rw for direct sd card access back an the file adds permission for write access to work otherwise apps cant use ext sd for backup unless used as adoptable storage not portable.

You should know already you cant add apps their anymore. Like in lollipop. Because this features was removed in nougat an above for security reasons.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Can you figure out a way to restore MTP access to the microSD card? When I plug it into my PC, it doesn't show up.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Did you activate mtp usb mode in developer options.?

Did you have it before on this rom with 14.1. ?

If not, then try to download an add the, latest Kindle fire driver's an also the, Mtk Mtp driver's for your pc to update it.

Last thing if you have installed the ext sd write access zip with the external sd mounted in root, then go to your init.d folder an remove. 99sdmount or change its permission to 600 an reboot whenever you want to use the pc for mounting your ext sdcard.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Yes, MTP is enabled in development options. Still says "charging," though. No, I've never had access to it before on this ROM. It worked fine on 12.1. So I would have to change the permissions of that file every time I want to use PC access?
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Yes the zip file mounts your ext sd card, so their can be no other external access to it while in use.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Yet I flashed it in 12.1 and it worked fine there.

When I wiped 14.1 and started over, I checked before flashing the zip. Still no external SD access.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Quick question is your external sdcard adoptable or portable media storage in your phone.

Does it recognized the tablet internal storage without problems? Can it see your ext sdcard but can't access it?

If no to the above then you could try this.

Did you installed the new version drivers i the mentioned earlier for your pc?

This is only if your tablet is not being recognized at all.

Look in your computer device manager to see if there is any drivers in usb section named fire while tablet is connected, you can check the device manager full list for anything saying other with caution sign next to it meaning that driver needs updating.
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
It's not adoptable storage, it's still listed as an external media storage and can be dismounted.

It does recognize the tablet, and I can access the internal storage just fine. It does NOT see the external card. It doesn't show up at all.

Yes, I have the latest drivers installed.

There is no yellow exclamation marks/caution symbols in my computer's device manager. All drivers are correctly installed.
[Fire HD 8 and HD 10 Original Android Development] retora:
The original rom shows the sdcard as a removable device. In some file explorer apps the sdcard is accessable via /mnt/media_rw/xxxx-xxxx, but does not show up as a storage device in main overview in these apps. The magisk module ExSDCard Write Access Enabler solves this issue for many apps, but not for all. We talked about this in the end of September. I expected your zip to solve it for ES File Explorer, but it didn't. Anyway I can live with that. :)
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Hi [MENTION=9906981]Ziona[/MENTION],

Wanted to ask one thing about your OMX patch.

From where did you got that libs? Are they built from source? Or just pulled from an mt67xx/mt81xx device?

I ask this because we booted LineageOS 12.1 on Amazon Fire TV2 sloane (mt8173) but OMX is not working.

Will the patch work?

Regards.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Its for mtk an fire tv is jus another mtk built device i would suppose so give it a shot, an no they were not from sources they are purely original libs for nougat i cross port roms alot. my friend. If they don't do the job i have others u can try.

Also make sure all media codecs xml files are in place, etc folder
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Cool. Yep, it's built from source:

https://github.com/R0rt1z2/android_device_amazon_sloane

Thanks, will try.

Best Regards.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Have you ever tried Mixplorer app if not give it a go.

---------- Post added at 10:22 PM ---------- Previous post was at 09:59 PM ----------

With most all these fire tablets molded off of lollipop os ggow ran into a few issues within the boot.img concerning internal & external storage pathways do to the fact that they have changed, at the time of the built los 14 for most fire tablets he was the first to release. Bare in mind they are stable but in test stage. He will address this soon, but if you would like a deep go at fixing your own issue i may can point you were to look.
[Fire HD 8 and HD 10 Original Android Development] massimo727:
Is anyone else wifi seem to drop?
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Mine does now and then, at least two or three times a day.
[Fire HD 8 and HD 10 Original Android Development] zed011:
I was reading up on the lineageos for fire 8 and it seems someone figured out how to get the headphone jack to work by copying these files from fire os

https://xdaforums.com/showpost.php?p=80918823&postcount=532
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
Tried this now on my HD 10, unfortunately it doesn't work...

I hope [MENTION=5749760]ggow[/MENTION] will find some time soon, it's now 2 months ago since the last ROM was published...
[Fire HD 8 and HD 10 Original Android Development] Ziona:
Using a root explorer, Did you try looking in root- system- vendor- etc, to locate this file, audio_effects. xml. ?
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
Yes i already deleted this file.
[Fire HD 8 and HD 10 Original Android Development] Ziona:
I forgot to ask you within , root - storage, what is your ext sd card label as in their ?

---------- Post added at 08:20 PM ---------- Previous post was at 07:48 PM ----------

Ok question, is these 2 - audio_effects.conf & audio_policy.conf files found in your, root-system-etc folder if you scroll down. (Not the Vendor folder)
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
I copied it in both folders.
[Fire HD 8 and HD 10 Original Android Development] massimo727:
Mine does pretty consistently, I am on a clean install.
[Fire HD 8 and HD 10 Original Android Development] dooderooni:
I'd gone back to 12.1 due to the video issues, but have since reinstalled this build and added the video fix supplied.

I've not experienced any WiFi dropouts on this build either.

Hopefully the dev will soon be in a position to work on the few missing features because this is really an excellent first release.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Hello, taking a break to deal with some stressful life stuff. Will let you know when I'm able to contribute again. On my github i set my status to "out sick".
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
No problem man! Good luck :)

Let's see if when you have free time you can help me with Sloane xD. Having some problems with bt.

Cheers and don't worry.

Enviado desde mi WAS-LX1A mediante Tapatalk
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
Anybody else experiencing video stuttering with HEVC 10-bit video playback? I'm guessing this tablet's processor/GPU just can't handle it.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
If any of you have access to FireOS on your 10, grab audio_device.xml from both /system/etc and /vendor/etc and I'll see what I can do with them. I don't have a 10 but I've worked on the headphone fix on the 8.
[Fire HD 8 and HD 10 Original Android Development] TheDevil259:
I just took a look in my Nandroid of FireOS and I can't find any "audio_device.xml" inside the directories you mentioned
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Additionally if anybody is up for it, zip up both of those folders, recursive into a zip from both CM14.1 and FireOS and share them. I'm confident we'd find a solution with those. Not needed.
[Fire HD 8 and HD 10 Original Android Development] TheDevil259:
I'm not comfortable with sharing my whole "/etc" directory as it might contain some personal information, but I can share a recursive directory listing of both system partitions.

Maybe they'll prove helpful.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
For sure, there appear to be a ton of certs files within /system/etc.. good call on the directory listing so we can be more specific. Here is the list of files I'm hoping we can get zipped up (in their original folder structure):

system/etc/audio_effects.conf
system/etc/audio_em.xml
system/etc/audio_policy.conf
system/etc/mixer_paths.xml
system/etc/common_device_policy.xml
system/etc/global_policy.xml
system/etc/audio_params/AudioParamOptions.xml
system/etc/init/audioserver.rc
system/etc/init/mediacodec.rc
system/etc/init/mediaserver.rc
system/vendor/etc/audio_effects.conf
system/vendor/etc/audio_policy.conf
system/vendor/etc/dolby/ds-0028.xml

Some files only exist in CM LOS ;), a few only exist on FireOS but grab them if they exist please.
[Fire HD 8 and HD 10 Original Android Development] zed011:
Attached the files. init folder doesn't exist. Thanks for looking into it
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Thanks, I can tell this is from FireOS. If anyone can do the same for LOS then I'll be able to start on this.

:good:

Just to be clear, the files should be from an entirely clean flash of LOS. Wipe data/system/cache before flashing so we can make sure we don't have any extraneous files.
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Need help with:

- need the same dump as zed011 provided, but from LOS.

- anybody on LOS try (backing up, then) replacing your /system/etc/mixer_paths.xml with the one in zed011's archive. mixer_paths.xml appears to serve the same purpose as audio_device.xml on karnak, which is the only file we needed changed to get headphones working on the hd8.
[Fire HD 8 and HD 10 Original Android Development] mi7chy:
1080p or 4K file? 1080p works fine with Kodi on LOS 12.1 but 4K is no go.
[Fire HD 8 and HD 10 Original Android Development] zed011:
I compared the mixer_paths.xml with fire os and lineage before and they were identical
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Interesting. I'm curious what we'll find once we get the LOS dump.
[Fire HD 8 and HD 10 Original Android Development] zed011:
Attached
[Fire HD 8 and HD 10 Original Android Development] spelcheck:
Thanks! I just purchased one of these arriving tomorrow so I can test directly, but meantime-

- Can you confirm that on FireOS /system/vendor/etc/audio_effects.conf is a binary file? Strangest thing I've seen all day. Not high priority.

- A good first step would be commenting out any sections or entries related to DAP (dolby) in both system and vendor audio_effects.conf files on LOS14. I believe vendor/etc takes precedence over /system/etc but just to be safe, edit both.
[Fire HD 8 and HD 10 Original Android Development] zed011:
Yes it's strange I've seen that for LOS12 as well but not for 14. I tried replacing those files from fireos on 12 but didn't see any results.

Will try that later
[Fire HD 8 and HD 10 Original Android Development] GuyInDogSuit:
1080P. It's very choppy.
[Fire HD 8 and HD 10 Original Android Development] newnewcomputer:
spelcheck - thanx 4 ur work on getting peterli's headphone fix in a flashable file! been following the discussion on LOS 14 for Karnak thread.

i have both HD8 n HD10 so im excited that u are helping to port that fix to HD10. but i would like to point out that there are 3 different FireOS u will be dealing w/: the new HD10 u bought from Amazon will be the brand new 2019 HD10 (maverick) based on Pie.

the one discussed in this thread here is the previous gen HD10 (suez) n its FireOS is based on Lollipop. the HD8 (karnak) which the fix was originally found is actually based on Nougat! so the audio files n their locations could be different between those FireOS.

just thought i would point that out as it is confusing!
[Fire HD 8 and HD 10 Original Android Development] Noter2017:
You guys should probably move the discussion to custom ROM brainstorming

There you will also find a partially working Lineage 16 build

People reported that audio was working but buggy. So maybe you want to look into that as well
[Fire HD 8 and HD 10 Original Android Development] retora:
Okay, Antutu 7.2.3 says 86.000, with fireOS 5.6.4.0 I had about 73.000. Most 3d-tests were not visible. Very nice! MX-player is able to play videos, but with software-rendering only like in the first 12.1 build, so I'm confident for the next build.

Miracast with a Hisense TV still don't work like in 12.1.
[Fire HD 8 and HD 10 Original Android Development] german_psycho:
Here is a logcat of the problem.. Maybe someone can look into it.

For now it's the only app that I have problems with installing.
[Fire HD 8 and HD 10 Original Android Development] ggow:
it's an old issue on most if not all amazon devices, sideload from apkmirror and it will work fine.
[Fire HD 8 and HD 10 Original Android Development] zero-crashity:
Nice - dies this Support dt2w now?
[Fire HD 8 and HD 10 Original Android Development] konradsa:
To me it feels like a device at least twice as fast compared to FireOS. Probably due to all the Amazon bloatware removed.
[Fire HD 8 and HD 10 Original Android Development] sga999:
As someone mentioned, miracast is not working for me either. I reported this also in the 12.1 thread in post #418 with some logcats and more info. Google Play Store does seem fine, as several have said. Great work!
[Fire HD 8 and HD 10 Original Android Development] BeniS98:
First of all, thanks [MENTION=5749760]ggow[/MENTION] for making this possible!

I've found another issue: I can't find any 5 GHz WiFi networks. Same for the LOS 12.1 based ROM, so this is not a new issue. According to the specifications the MT8173 should support 5 GHz WiFi.
[Fire HD 8 and HD 10 Original Android Development] sga999:
I have no problem with 5 ghz Wi-Fi on either 12.1 or14.1 version.