yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Are you using eng build or userdebug?

Use eng build to allow adb
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
Sorry, new to building Android! Attached is about 60 seconds of logcat with just E and F codes. This is after it had been looping for a while repetitively. Again, it is a plaintext file, with a fake extension.
[Fire HD 8 and HD 10 Original Android Development] MontysEvilTwin:
I uninstalled then rebooted and reinstalled the app. That fixed it.

On another matter, I was looking at the different partitions with the 'Diskinfo' app and noticed about 100 mount points within the system partition. I don't know much about this; is there a reason for setting it up that way?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Well I checked it on my fire. There is about few mount points. Like dev/logd and other stuff. May I have the screenshot so I can know what are you talking about?
[Fire HD 8 and HD 10 Original Android Development] DominatingLobster:
Will this work with Fire HD 10 (2017)?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
This rom is designed for mt8163 not mt8173. I think [MENTION=7104332]k4y0z[/MENTION] is working on it....
[Fire HD 8 and HD 10 Original Android Development] joyey:
Hi

Magisk 19.2 and busybox works fine

i bypass Google device certification with magisk + busybox + magiskhide props config

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228

updating device's fingerprint in samsung galaxy tab, play store works :good:

only google voice crash, i think releted to audio problems
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Cool. For google to get it work, we got the solution, no need to do all that, only change product brand to google. We will apply it on next update.

Yeah, audio is not working, there are errors with some symbols referenced by libasp.so:silly: We are working on it.

dlopen failed: cannot locate symbol "__metrics_log_print" referenced by "/system/lib/libasp.so"...
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
Take a look at my shims for the HD10.

Specifically https://github.com/chaosmaster/android_device_amazon_suez/blob/lineage-16.0/libshims/lab126_shim.cpp

May be similar to the __metrics_log_print.

Or just create a shim:

extern "C" void __metrics_log_print(void) {}

To get rid of that error.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Thanks!:fingers-crossed:
[Fire HD 8 and HD 10 Original Android Development] MontysEvilTwin:
I have attached a zip file. The information was obtained using the Diskinfo app (me.kuder.diskinfo). I have also installed Magisk and Xposed Framework, so some of the mount points will be from those.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
All seems to be normal :/

That it's not a bug.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
After adding all your shims, the build doesn't work. We will create only the needed shim.

ninja: error: '/home/kai/android/nougat/out/target/product/karnak/obj/SHARED_LIBRARIES/libutilscallstack_intermediates/export_includes', needed by '/home/kai/android/nougat/out/target/product/karnak/obj/SHARED_LIBRARIES/libshim_atomic_intermediates/import_includes', missing and no known rule to make it

We specified the shims in device.mk and BoardConfig.mk but it doesn't work.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
New build is up:

Updated security patch to May 2019

Changed amzn brand to google (Solves G-APPS issue)

Replaced Camera2 with Snap

Removed SIM Icon

Added ambient display

Added multitasking
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
I would suggest, you create a new shim.

Let's call it libshim_asp.

libshims/asp.cpp:

extern "C" void __metrics_log_print(void) {}

libshims/Android.mk:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_SRC_FILES := asp.cpp
LOCAL_MODULE := libshim_asp
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_SHARED_LIBRARY)

BoardConfig.mk:

# Shims
TARGET_LD_SHIM_LIBS := \
/system/lib/libasp.so|libshim_asp.so \
/system/lib64/libasp.so|libshim_asp.so \

device.mk:

PRODUCT_PACKAGES += \
libshim_asp \
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Applied it but still the same error :)
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
Is it still libasp.so that is complaining about the missing symbol?

Then there is something wrong.

If it is another library that is missing the symbol you will have to add it to BoardConfig.mk.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yeah, the same error. Look a the attached log.

Maybe the problem is that we removed the lib64 line from BoardConfig.mk? It's needed for a arm system?

# Shims
TARGET_LD_SHIM_LIBS := \
/system/lib/libasp.so|libshim_asp.so \
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
It complains about "/system/lib/libasp.so" so lib64 shouldn't be necessary at the moment.

But it doesn't seem like the shim is being loaded, otherwise the error should be gone.

Did you rebuild the entire image?
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Yes the entire image.

You're right. For some reason the libasp is missing in lib folder but in vendor/lib there's a lib called libshim_asp.so. There's anything to do?

Maybe I make clean and try building again?
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
According to your log libasp is loaded from "/system/lib/libasp.so" so it must be there.
[Fire HD 8 and HD 10 Original Android Development] Rortiz2:
Nvm is here, sorry for the confusion. But still not working...

EDIT: MADE A NEW BUILD AND STILL NOT WORKING...
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Use this patch for sensors

https://github.com/vishalk95/androi...mmit/cd5343f35d06af8b68bf96c79e48e387712d2398

Because the sensors are 1.0 and the device uses 1.0 currently using legacy passthrough interface.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
I have fixed it in the new build and tested Hulu Netflix and prime video. but haven't released it yet because chrome is crashing and gmail.....
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
[[MENTION=9605864]Kaijones23[/MENTION] The Pie build is really excellent! After resyncing, making your suggested changes, and performing a clean build I was able to get it going, with both GApps and Magisk. I needed to use pm to disable Bluetooth as you had previously mentioned. This build is FAST! Way faster than LOS 14 or FireOS! I'm very impressed with the performance!

In this build, I was able to install Deckboard via the APK and it is fully functional. That being said, it is still not visible via the Play Store, even when using a valid fingerprint from the MagiskHide Props Config module. I use the Pro version, for which there is not a public APK on the mirror sites. Therefore, I needed to restore a backup via Titanium Backup, which worked successfully. This is suitable for my needs (that's pretty much all I use the tablet for), but I still think you should look into why it isn't visible in the Play Store, as this issue likely effects other apps (and therefore, other users) as well.

My device panicked and rebooted twice earlier, but I do not recall what I was doing at the time. Also, sometimes when I choose Restart from the power menu, it powers off and does not restart automatically. If I am able to reproduce either of these consistently I'll let you know.

I haven't tested anything outside of my intended usage, so if you want me to test anything specific just let me know. My current build does not include your three commits from last night. If/when you make a new build that needs testing, feel free to message me if you would like me to test. If you would like me to compile my own build from source at any time just let me know. It will take me up to 24 hours to compile, test, and respond (work, life, building on an old device), but I will gladly do so.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Was the graphics doing ok on your build? And I'm currently working on a fix on the kernel panicking while use. And also I'm trying to get Bluetooth to work too. So the graphics is currently delaying the release because the egl driver tends to crash during use and the Bluetooth is almost working because I was almost Able to get it working.
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
I've had no graphical issues so far, and I've attached a screenshot showing the About page. Do you have any steps to reproduce the graphics issues?
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Hmm that's weird on my build it has been having graphical issues like graphics intense games or regular apps that tend to use it. Are you using the source without any modifications?
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
No modifications. I deleted the karnak/mtk specific directories, performed a repo sync, re-cloned the karnak/mtk repos, adjusted Sensors.cpp with your suggested fix, then reverted the commit that you suggested. After that, I built the kernel, set the necessary vars, mka clean, mka clobber, lunch lineage_karnak-eng, mka bacon. Currently, I'm watching a video from Reddit in fullscreen in Chrome, no issues. Would you like me to send you my build?

Like I said, my intended usage of the device is minimal, so perhaps this is related to hardware acceleration. If you let me know a game that causes the issue I can try that.

I am trying the "Sling Shot" test (not extreme) in 3DMark. The first attempt, the device rebooted after loading. The second attempt worked. The frame rate was VERY low; about 1 FPS. Regardless of the low framerate, the 3D graphics did work and I saw no visual artifacts. The device then rebooted again after loading the 2nd part of the test.

I'm going to try the less-intensive tests now.

Edit: WOW I just ran the Ice Storm test and it was great! There were times where the framerate was below 20 FPS, but it was above 30 most of the time and got past 50 in some parts. It rebooted after the first test, but on the second attempt the full test actually completed successfully! Screenshot
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
Hey I don't need your build. I have fixed the graphics! Now it's not crashing anymore. The codecs still works fine! I'm currently testing gapps and nenamake has reached to 60.0 fps
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
Excellent! If you want me to try anything else just let me know. Got any ideas about the Play Store issue? Also, will you be adding the misc changes (tinycompress revert, Sensors.cpp change, etc) to a repo and/or providing more documentation for building? If not, I may put together some scripts to simplify the initial config, updating, and doing clean builds. Or cherry pick the necessary changes/files into a single repo. It's a bit difficult working with so many repos together, even if creating a patch.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
I have a problem with YouTube that it only plays sound.

And pixel launcher crashes also

The Bluetooth is currently I'm working on.

Also the audio works on my rom also..
[Fire HD 8 and HD 10 Original Android Development] baldfrog92:
Let me Test your build?

if you wouldn't mind it sounds like your build is pretty damn good and i would love to try it i have root and my tablets unlocked i have magisk to so im not a complete amateur i know how to do alot of things with tablets but i dont know how to build roms
[Fire HD 8 and HD 10 Original Android Development] k4y0z:
Seems to be missing a lib as well:

10-03 00:46:16.274 7152 7366 E VDO_LOG : @@ [ERROR] dlopen failed, dlopen failed: library "libmmprofile.so" not found
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
Yup, already reported - https://github.com/mt8163/android_device_amazon_karnak/issues/13
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
[MENTION=9605864]Kaijones23[/MENTION] I see the following commit:

https://github.com/mt8163/android_d...mmit/c31270eae9cc947de17f96355950524021dbac4f

I don't see those files in the vendor repo yet. Were those sneaked in with one of the binaries you uploaded or should I wait until the next commit before rebuilding? Looking forward to testing out bluetooth and youtube now that you've added libmmprofile.so

Also, if you guys have a telegram group or something for discussing outside of XDA please let me know
[Fire HD 8 and HD 10 Original Android Development] AlienTechnology:
I installed LineageOS 14.1 with Gapps 7.1 pico arm.

My Gmail don't work crashes as does Hangout dialer, Hangout messages gives error to upgrade to Android Messages as SMS not supported. "can't clear the message always comes back in status bar on top."

Android Messages not supported on this device, is the google play error. Since it's not a phone but a tablet, so I understand that part.

Also Google games won't install from Google play store, but I had that problem with Amazon Fire 7 LineageOS12.1 also, I guess a workaround is to find the APK online and install it, not from the google play store.

Are these New issues? any help appreciated, thanks

Also Google chrome, Google Duo crashes as well
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Hangouts is pretty much shut down but Google won't tell you that it's actually not yet. In order to use SMS through Hangouts, you're going to have to install Xposed framework, and download an Xposed module called xHangouts and uninstall the version of Hangouts you have now, and install this one https://www.apkmirror.com/apk/google-inc/hangouts/hangouts-24-0-182154523-release/ it will then give you the option for SMS in the settings. of course I'm pretty sure all of that will only work if you signed up for Google voice, which you can link your current phone number to and receive your SMS through Google voice which is then sent to Hangouts. There might be a way to work around that with Android messages I do not know. But that will be the only way you will be able to get Hangouts to work with SMS again.

Some things like Netflix and Play Games, you have to download separate apks and sideload them. Sunday services require you download the APK specifically from their website like Netflix.
[Fire HD 8 and HD 10 Original Android Development] flash713:
This is great news! So Netflix is working? I've been stalking you guys for months waiting to see when Netflix was good to go. I guess I'll unlock , root and get some Lineage. BIG thanks to everyone who has spent time on this! You guys all rock!!! ?
[Fire HD 8 and HD 10 Original Android Development] AlienTechnology:
Thanks DragonFire1024, very informative info, much appreciated. Google Hangouts is going to be out the door, wow. I'll try those things, and report back. But to clarify a misunderstanding perhaps, I don't use Hangouts for sms. I use it with Google Voice (should be different things, doesn't require sms) I use it on my Phone as well as tablet, but on my phone I don't get that error message about not working with sms, it's unique to the lineage OS 14.1, strange to me. (Fire Tablet 7 w/ Lineage 12.1 no problems with this) The Lineage OS currently for me is filled with bugs unfortunately. I hope the hard working devs like Kaijones23 can work them out.

For example if I install Hangouts dialer and Hangouts messaging, then the messaging app crashes, where as before it would not, only would get that error message "doesn't work with sms", perhaps because the 2 apps integrated with each other, may be something to do with the video hardware on the tablet not working. I suspect that's the reason Google Duo crashes?

But things like Chrome and Gmail crashing...... perhaps is just me. When I backuped the original Amazon fire OS, there was no Vendor ID partition, could that be what those apps are looking for? If someone sideloads these apps on a stock Amazon Fire OS, they work?
[Fire HD 8 and HD 10 Original Android Development] Seriel:
I have also built the latest Pie builds, following instructions in this thread. I can reproduce the crashes on Gmail. Also happens with a few other things, like the default "Wallpapers" app, Photos and Minecraft. Sometimes they cause reboots and sometimes they just crash the app.

Performance and use outside of the broken apps is perfectly fine though.

Looking at logcat at the time of the crashes in Google apps (Gmail, Photos) it seems to be the same thing every time:

--------- beginning of crash
10-05 14:55:47.752 2546 2546 E AndroidRuntime: FATAL EXCEPTION: main
10-05 14:55:47.752 2546 2546 E AndroidRuntime: Process: com.google.android.apps.photos, PID: 2546
10-05 14:55:47.752 2546 2546 E AndroidRuntime: java.lang.SecurityException: GoogleCertificatesRslt: debug cert rejected: pkg=com.google.android.apps.photos, sha1=4ba713dfece93d47572dc5e845a7a82c4a891f2f, atk=false, ver=19420033.true (go/gsrlt)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:1950)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1918)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1868)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at afua.a(PG:10)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at afsf.a(PG:112)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at afpe.a(PG:12)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at afpi.run(PG:6)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at afwa.run(PG:2)
10-05 14:55:47.752 2546 2546 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
10-05 14:55:47.761 465 2869 W ActivityManager: Force finishing activity com.google.android.apps.photos/.home.HomeActivity
10-05 14:55:47.774 2546 2546 I Process : Sending signal. PID: 2546 SIG: 9
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
I'm currently working on cm 14.1 issues and will release it later during the week.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
If you already know how to use Google voice with Hangouts then you should have no problem. I was under the impression you were trying to already set up some kind of alternative form of SMS. Hangouts may not be totally shut down because it is being merged into another application but they have delayed the closing of the application to non g suite members at least once already. Until they completely shut down the api to the public altogether, you are still good.

you probably have to toggle something on Google voice or in the settings of the Xposed module that activate messages to be received in Hangouts from Google voice. I have not used this method in a while since Google made available the Google voice dialer integration. You'll have to look around both the settings of the Xposed module and the Hangouts application as well as voice to make sure everything is set up properly. if you already installed Hangouts you'll have to completely uninstall it and make sure all data folders have been deleted then install the APK I linked to you. that is the last APK that will work with that Xposed module. Any later Hangouts APK will not work.
[Fire HD 8 and HD 10 Original Android Development] Kaijones23:
everyone please refer to the OP for the latest update! I fixed the GAPPS issues. sorry!
[Fire HD 8 and HD 10 Original Android Development] Reverse-anastomosis:
Thank you so much! I dirty flashed over the July build and it seems to be working perfectly for me. Netflix opens up and plays video on the first boot!
[Fire HD 8 and HD 10 Original Android Development] quikt:
Solid release thanks. Just loaded up spectrum, fantasy football and chrome and I'm set for the afternoon.
[Fire HD 8 and HD 10 Original Android Development] McTea:
Youtube issue ( Fullscreen )in browser

Thanks for this. WIped system,data and cache. Installed. 2019-10-06. Youtube fullscreen in browser glitches. Screen starts flashing once you maximise it. Installed firefox. Youtube works fine in firefox. However volume is approx half of Chrome. Happy to use Firefox if annyone knows how to fix volume in Firefox. Tried AudioFX on and off. Makes no difference in Firefox.

Everything else good so far.
[Fire HD 8 and HD 10 Original Android Development] coolloser:
Dirty flash bootlooped for me but can confirm that after a clean flash that Netflix apk works without errors.
[Fire HD 8 and HD 10 Original Android Development] AlienTechnology:
The problems with Chrome,Gmail,Hangouts Dialer, Google Duo crashing of startup on the respective app went away with the New Release of Lineage OS "10/6/19" by kaijones23.

Installed by doing a Clean install, wiping Data,System,Cache, and Dalivk Cache first. Then Installing Lineage along with Gapps.

Also the error message of Hangouts not supporting SMS went away. FYI I didn't install the Recommendations by DragonFire1024.

Only thing now, Gmail doesn't work properly, wants a user account to login with, but the user account was already entered, leaves me at the create new user account screen, even with adding all the proper info for gmail, something is missing here with Lineage OS, definitely an issue. Funny how gmail email notifications can be seen in the status bar on top of screen, but you can not open them.

I even tried using a different gmail account same issue. Stuck on the Create New User Account.

Video/Camera works fine for me.

Thank you both!

BTW Youtube Full screen mode works fine for me, in all of the following apps: Youtube,Youtube Kids,Browser,FireFox,Chrome. No problems for me. (Sound good, and I don't see any glitches)
[Fire HD 8 and HD 10 Original Android Development] quikt:
Gmail is working fine for me. What gapps did you use?
[Fire HD 8 and HD 10 Original Android Development] znikola:
How do you setup your tablet after frequent wiping and upgrading?

I found that I waste too much time setting up my tablet (downloading apps, updating settings, in-app setting, etc.) just to have to repeat it after an update.
[Fire HD 8 and HD 10 Original Android Development] afff53:
This also happened to me, installed the 10-6 build with Pico Gapps. I solved it by allowing Gmail to access contacts in the perms manager.

Have needed to do this in a couple apps after having restored them from Titanium.
[Fire HD 8 and HD 10 Original Android Development] Octanum:
Idle drain is fantastic on this rom. Estimate is like 23 days if I just leave the tablet sitting. Finally no longer have to run the bloated Amazon one.
[Fire HD 8 and HD 10 Original Android Development] AlienTechnology:
Using Gapps 7.1 pico arm

But it was the permissions, that was the problem, thank you so much afff53.

Gmail never asked for any permissions initially when opened first time strangely, I would have granted them. So now I granted all of them, it works perfectly!

To znikola:

I know that doing a clean install is definitely annoying with having to setup even little things like the way the battery icon is in the status bar, or font size, wish there was a way to keep that persistent through the resets/wiping.

But when it comes to the apps, I backup to google so when I reinstall the Lineage OS, it's restores mostly everything for me, except Google Games, which fails.
[Fire HD 8 and HD 10 Original Android Development] jibgilmon:
Most of my data is backed up and restored by Google. Everything which isn't, I backup and restore with TitaniumBackup. If you aren't yet familiar with ways to backup and restore your data, I would advise against experimenting with ROMs until you've spent more time acquiring a better understanding of that.

Edit: To clarify, I'm not trying to be a ****. Just trying to help you avoid any unfortunate situations