yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] kmsi:
I flashed the updated TWRP via flashify, and noticed it was the wrong method ;_;

I can still boot into lineageos, but rebooting into recovery seems broken. I heard original recovery partition contains some exploits, and I think overwriting those caused some problem.

Re-following https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-hd-10-2017-suez.3913639/ to reinstall TWRP did not work (got some partition-related error, possibly due to trying from LineageOS?).

Is there any way i can try? recovery.img (backed up from other suez device) might help.

Sorry for non Rom-related post. Just wanted to test new builds...
[Fire HD 8 and HD 10 Original Android Development] Sesquipedality:
This all makes sense, but unfortunately, root access was turned off in "Developer Settings". (I hadn't needed it yet, so I hadn't turned it on.) I tried turning it on before installing magisk, so magisk could remove the offending su binary when it was installed, but that didn't seem to help either.
[Fire HD 8 and HD 10 Original Android Development] psi78:
can you flash your recovery partition with the twrp image from adb like in this guide? https://techrrival.com/flash-recovery-adb-fastboot/

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.
[Fire HD 8 and HD 10 Original Android Development] psi78:
Did you try it installing from the magisk app after normal system startup?

You could try the other installation method then, renaming the magisk apk to .zip, then reboot to recovery/twrp, then install the magisk zipfile from there.

And as mentioned in the magisk app, only download it from github (https://github.com/topjohnwu/Magisk)

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.
[Fire HD 8 and HD 10 Original Android Development] Sesquipedality:
Thanks, that seemed to work, although I had to turn off checking of the ZIP file signature (it was the apk from github, so I'm assuming that it does not support TWRP's signature checking), and it still wanted to download Magisk to complete the install after reboot.
[Fire HD 8 and HD 10 Original Android Development] ggow:
fixed this for next release.
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
I have a simple request.

Could you please look at the low speaker volume issue ? Even at max volume, the sound is no where as loud as stock ROM. Would be good if you could add this to your todo list.

Today I work around the issue by bumping up the gain using alsa_actl.
[Fire HD 8 and HD 10 Original Android Development] ggow:
No worries, I'll add it to the list
[Fire HD 8 and HD 10 Original Android Development] psi78:
Yes, it worked!!

I created a file named android.hardware.opengles.aep.xml and copied it with twrp file manager to the folder /system/etc/permissions/ and changed permissions of the xml file with twrp terminal app.

Then after reboot i deleted the Google Playstore and Google Play Services data and cache (using System settings/apps).

Then Google Playstore recognized AEP and Gwent app was possible to be installed with this Rom😀 wohoo, after all these years😀😀

I installed it, and it worked! Menu graphics were a bit glitchy, but the main game ran fine!
[Fire HD 8 and HD 10 Original Android Development] ggow:
I put the change in for the next release this morning.
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Hulu seems to have the same problem that YouTube has whereas videos seem to zoom in instead switching resolution.
[Fire HD 8 and HD 10 Original Android Development] Shack70:
In Hulu app, turn off data restrictions making it best available. This worked for me.
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Thank you,. I would not have thought of that as I would not expect that it would effect WiFi connections, but it seemed to work.
[Fire HD 8 and HD 10 Original Android Development] Shack70:
No problem :)
[Fire HD 8 and HD 10 Original Android Development] Kramar111:
lineage-16.0-20220413-UNOFFICIAL-suez.zip

Hidden SSID's don't work :(
[Fire HD 8 and HD 10 Original Android Development] psi78:
Well ok, game graphics of this game are too glitchy atm, 3d animations broken, something with image buffer seems to be off, getting loads of audio alsa errors too, audiofx service throws java exceptions too.

04-21 18:29:18.139 775 1003 E IMGSRV : :0: gralloc_subchannel_set_buffer_format: Compositor subchannel write() failed (Broken pipe)

04-21 18:29:18.139 775 1003 E IMGSRV : :0: gralloc_module_set_buffer_format: Failed to set buffer format in subchannel.

and logcat spam of alsa audio

04-21 18:29:16.029 331 4070 E AudioALSAPlaybackHandlerNormal: doProcessAsp asp Pipeline error! mAspPipeline = 0x0, inBytes = 1536

Well, i guess other things have priority anyway, maybe the game is just a bit like a test case when it comes to graphics and hardware usage.

Edit: ok, a simpler graphics test case would be the app "Seascape Benchmark - GPU test" for example. It requires Opengl ES 3.1 and AEP. Crashes at startup though (logcat attached), says something with bad config for OpenGlRenderer EGL.

Implement OpenGL ES and EGL | Android Open Source Project

source.android.com

says "The loader uses two system properties, ro.hardware.egl and ro.board.platform, or the exact name to discover and load the system drivers"

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.

Edit: here's a thread about egl config

https://xdaforums.com/t/resolved-revisiting-egl-cfg.1104420/

Edit: ok, egl.cfg is deprecated (see https://www.2net.co.uk/tutorial/android-egl-cgf-is-dead)

Wondering why the Seascape benchmark is crashing tho, runs fine on maverick with stock rom or my Sony Xperia Z5 with custom rom crdroid / Android 11, adreno gpu there
[Fire HD 8 and HD 10 Original Android Development] psi78:
Hmm, i also tried out the Gfxbench app, annd noted that the opencl 3d api/lib is missing on the current version of this rom(20220413). Could you include the opencl library?
[Fire HD 8 and HD 10 Original Android Development] Shack70:
Still getting video freezing after about 25 minutes of watching anything saved local. Needs a reboot to fix. Streamed videos freeze as well but most work after a simple refresh. Dirty flashed lated version, lmk if logcats are needed and I'll share.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I haven't had a chance to look at this yet.

The change log from version to version tells you whats been done.

A logcat would be good.
[Fire HD 8 and HD 10 Original Android Development] ggow:
What's the name of the library that's missing?
[Fire HD 8 and HD 10 Original Android Development] psi78:
libOpenCL.so

This screenshot is from my Xperia Z5 with crdroid Rom. From what i've read the library isn't supported natively by android, but many vendors like Imagination (PowerVR) include the lib on systems.

On maverick with stock amazon Rom (32bit) it's also in /vendor/lib/ and /system/vendor/lib/

OpenCL - Wikipedia

en.m.wikipedia.org

A quick guide to writing OpenCL kernels for PowerVR Rogue GPUs - Imagination

This article and a follow-up to be published next month introduce developers to writing OpenCL kernels for the PowerVR Rogue architecture.

blog.imaginationtech.com

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Amazon/Imagination did not ship that file, there is also the PowerVR specific ones that were not provided in our stock rom.

libGL.so

libPVROCL.so

libRL.so

I had a look at these and libopencl.so a long while back and unfortunately could not find any compatible ones.
[Fire HD 8 and HD 10 Original Android Development] psi78:
Hmm ok. Oh, and yeah, libOpenCL.so seems to be libPVROCL.so on PowerVR devices.

Don't know if that lib is so important though anyway.

I tested some other benchmarks and i think in the app "Unreal System Benchmark" from PlatinumBladeGames there were similar frame buffer errors like in gwent (Logcat attached).

Also again the Audio ALSA errors there and LightsService errors - maybe the latter one is missing permissions?

I was wondering though why /vendor doesn't exist on my device (and is in /system/vendor), some boot up scripts maybe the amonet hacks from k4y0z seem to delete it? Setting a manual link from /vendor to /system/vendor in twrp doesn't work also, is deleted after startup. Only when the creation of the symlink is added to fix-symlinks.sh it persists on the device. Don't know if that's important though.

In /system/etc/ld.config.txt the /vendor directory is specified for example though.

Edit: well ok, in /vendor was amazon stuff originally, just assumed it's kinda rebuilt by the rom, but it's in /system/vendor there
[Fire HD 8 and HD 10 Original Android Development] Shack70:
I can't seem to run a terminal to get the logcat. Any easy fix besides using adb?
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Are you using 4/12 or 4/13 version of this ROM? 4/12 version had a bug with terminal apps.
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
FYI. YouTube videos getting zoomed in is still an issue. Not sure if I am the only one in that boat. I am using the latest YouTube Vanced if that matters.
[Fire HD 8 and HD 10 Original Android Development] Shack70:
That was it, thanks
[Fire HD 8 and HD 10 Original Android Development] psi78:
Otherwise matlog is a cool app for viewing and recording logcat and dmesg files when you don't use adb. The app needs root or permission android.permission.READ_LOGS set per adb though

Edit: See matlog zip attached and screenshot. Just having the high cpu usge after reboot (not shutdown) like MarvinMod said, can't see any processes with high cpu usage though (with Simple System Monitor app).

Maybe it's a kernel thing? Stale mounts mentioned in logcat also for usbotg and media_rw.

Still wondering about these two errors:

04-24 02:09:26.590 D/vndksupport(594): Loading /vendor/lib64/hw/gralloc.mt8173.img.so from current namespace instead of sphal namespace.

Does this mean the lib is loaded from different locations from different processes🤔

and this lib seems to be missing regularly:

04-24 01:41:56.610 E/IMGSRV (13784): :0: PVRSRVLoadLibrary: dlopen failed: dlopen failed: library "libPVRDebugger.so" not found
[Fire HD 8 and HD 10 Original Android Development] Shack70:
Had video freeze up again, attaching logcat. Hope it helps.
[Fire HD 8 and HD 10 Original Android Development] Klaus R:
Running 0413, no magisk. For a few days now, the system shuts down when it enters sleep mode. I'm not sure if it's related to the update or other reasons. how can I isolate the problem?
[Fire HD 8 and HD 10 Original Android Development] Xavras:
same here = 0413, no magisk. and NO ISSUES (other than mentioned before and documented by @ggow in his OP, ). perhaps getting logcat can show something. but FIRST i would do a CLEAN install. Here is how I did it:

1. put twrp3.6.x+los0413+open_gapps-arm64-9.0-pico-20220215.zip on sdcard, insert card in firehd

2. boot to TWRP3.2, install TWRP 3.6.x (from TWRP 3.2) + reboot to TWRP3.6

3. TWRP: wipe - format /data + wipe ALL other partitions incl /system,cache etc (except microsd of course)

4. install: los0413+additional zip=open_gapps

5. remove sdcard+reboot

(note: if you want device encryption to succeed you have to SKIP initial WIFI/GAPPS wizard and encrypt right after you get access to LOS - seems more stuff written to /data after reset/install, the more likely initial encryption wizard will fail - not sure if @ggow interested in following that bug yet, getting TWRP to play with encryption would be higher pri atm anyway)

6. (if no encryption needed) just configure using initial WIFI/GAPPS/LOS wizard
[Fire HD 8 and HD 10 Original Android Development] ggow:
Seems like another kernel regression? Will add that one to the list.

EDIT:

Linked to this:

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-13-apr-2022.4232785/post-86800403
[Fire HD 8 and HD 10 Original Android Development] Klaus R:
Just to mention, i solved volume prob by installing Viper4android. Sound is top, volume raised significantly. Was almost installed on 0403, so i don't think IT is related to shutdown prob.
[Fire HD 8 and HD 10 Original Android Development] Pikatch:
From Lineage OS changelog26, it was written that Lineage19 may not be available for kernel 3.18 and below. Is it possible to update the Linux kernel to 4.4 or higher? (Probably this is what quite a few people want)
[Fire HD 8 and HD 10 Original Android Development] Klenz39:
I finally managed to figure out the problem. It seem that if the device is really hot, it will overheat when it entering sleep mode and shutdown the device. I regularly used the device as 2nd screen to my computer. Maybe has some relation with #510.

Another thing, I notice an app that slower and lagging when i used linage 16.0 compare to lineage 14.1. How could I record the problem and help you solve it? It is significantly slower but I dunno why.
[Fire HD 8 and HD 10 Original Android Development] ggow:
It's quite a big under-taking to do this, at the moment I haven't got the time.
[Fire HD 8 and HD 10 Original Android Development] ggow:
This could be related then to the CPU/GPU cores not coming up in the correct state. I used passmark to determine this. See here:

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-13-apr-2022.4232785/post-86716677
[Fire HD 8 and HD 10 Original Android Development] ggow:
Amazon / Mediatek didn't ship libPVRDebugger.so for our device.

The /vendor/lib64/hw/gralloc.mt8173.img.so blob only exists in one location. Which namespace it loads from is fine as long as it doesn't trigger any error.

For checking cpu loading I use htop over adb. The usual culprit on this device when things start to get laggy due to high usage is surfaceflinger.
[Fire HD 8 and HD 10 Original Android Development] psi78:
Alright, thanks for the clarification.

I got zram working on the suez rom 20220413 with SmartPack Kernel Manager btw (root/magisk required), so if anyone wants zram or alter cpu min max frequencies for example, you can get that app in playstore or fdroid or here on github: https://github.com/SmartPack/SmartPack-Kernel-Manager/

Source code for SmartPack zram function here: https://github.com/SmartPack/SmartP...tpack/kernelmanager/utils/kernel/vm/ZRAM.java (but in the end they use only mkswap and swapon shell commands). I didn't test it extensively but the zram swap showed up with the "free" command in a shell, so it seems to be possible to enable on the rom.

I also tried to enable it manually in /etc/fstab/ and /init.rc but couldn't find the right files when working from recovery twrp shell because those files are overwritten/resetted. I don't get the device structure quite yet, but ok. Zram isn't really so important anyway i think, as your debloated rom leaves enough ram, and when zram gets used i think the system gets slow anyway.

Oh well, and if anyone wants to degoogle or don't use magisk to bypass safetynet, but have auto update for these apps: fdroid with aurora store works for installing netflix and disney too on this suez rom (without gapps/ Google playstore).

Overall performance is better that way anyway.

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.
[Fire HD 8 and HD 10 Original Android Development] Nosepull:
Thanks for the ROM for this device, keeps my children's tablet alive for some more time!

I experience extremely long charging times - even over night an empty tablet won't be recharged only 70%. Is this a known bug?
[Fire HD 8 and HD 10 Original Android Development] ggow:
I haven't seen that issue myself. Seems to be fine here.
[Fire HD 8 and HD 10 Original Android Development] Shack70:
Have you tried a different power block and charging cable? One of those might be faulty. Had the same issue with my phone, the USB cable was the issue.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Wife had the same issue with her A50, it tirned out to be the charging block. It charges but starts and stops periodically and slow charge when it should be steady fast charge. Changed out the block, no issues since. I have not had any charging issues either but have noticed after playing slither.io and the tablet is idle, the battery is dead within a few hours on standby. A reboot fixes the issue.
[Fire HD 8 and HD 10 Original Android Development] Jemus:
I flashed a few devices back in the days so I am not new to that but need a little help how to get this ROM flashed on my Fire HD 10 2017 running 5.7.0.0. I read the OP and the linked guide and would do the following to install TWRP and flash the ROM via TWRP:

1) Enable ADB on tablet and connect it to linux installation

2) Download and unpack "amonet-suez-v1.1.2.zip"

3) cd into the unzipped folder and run sudo ./step-1.sh

4) As I am on 5.7.0.0 I would proceed by sudo systemctl stop ModemManager and sudo systemctl disable ModemManager, type "yes" and disconnect

5) run sudo ./bootrom-step-minimal.sh, plug the device back in

6) run sudo ./fastboot-step.sh, reenable ADB

7) run sudo ./step-2.sh, even though I understood that this was not necessary as I was on a newer OS than 5.6.4.0 and therefore did steps 4-6??

Now I might have installed TWRP and an unlocked device and could cony the ROMs zip on a USB drive, connect that to the Fire HD 10, boot into TWRP and flash the ROM?
[Fire HD 8 and HD 10 Original Android Development] Shack70:
You want to files on the device.

Hold the power button till the device is off. Once it's off, hold down Volume Up + Power key together. As soon as Amazon logo appears, release Power key. It should boot into recovery if TWRP is installed properly.

At the top of this discussion thread is a link to an updated TWRP and the rom files you will need. If you want Google apps then you need GAPPs as well.
[Fire HD 8 and HD 10 Original Android Development] Jemus:
So steps 1-7 are correct if my tablet is on 5.7.0.0 and not rooted yet?
[Fire HD 8 and HD 10 Original Android Development] gRooster:
You are probably better off asking in thread about unlocking the bootloader. It has been a while since I did mine. I think with the newer ones it requires the downgrade soft brick step, which means opening up the tablet and doing the short etc. Again it has been a while (Dec 2019) and I was on 5.3.7.0 (and I had to open it up and do the short).
[Fire HD 8 and HD 10 Original Android Development] Shack70:
Agreed, what you have sounds right but it's a do it once and done. Refer the the thread for unlocking and rooting where you got the instructions.
[Fire HD 8 and HD 10 Original Android Development] kmsi:
I know it's weird, but it says remote: the command you input is restricted on locked hw.

My bootloader should be unlocked when I installed lineageos before, right?

I think I messed up something with flashify app, but even ./step-1.sh fails on my lineageos-installed device ;(

This is only for the "suez" - Amazon Fire HD 10 (2017) - , your device is a "lineage_suez"

If I remove device check code, then it says:

Spoiler content hidden.

Tried dd if=/sdcard/twrp_suez_3.6.1-9.0.img of=/dev/block/platform/soc/11230000.mmc/by-name/recovery_x via adb shell, but didn't worked. I think it's not an hacked recovery image issue, but somewhat related to bootloader hack.

Does lineageos installation change some partition-related stuff? I wonder why I cannot run unlock script, even if I have working lineageos (but broken TWRP) here.

Can someone make a backup of recovery.img (I think it wouldn't be a twrp image, but maybe related to bootloader hack) via Official TWRP App's "backup existing recovery" menu? Maybe it's worth a try to flash it.

Edit: I messed up something, and got into white amazon boot loop. I should try unbricking, haha
[Fire HD 8 and HD 10 Original Android Development] Shack70:
You should be asking this over on the other thread for rooting your device. You'll get a better response. I would consider going back to stock Amazon then retrying the root process. Double check on the other thread and good luck.
[Fire HD 8 and HD 10 Original Android Development] psi78:
Did a clean install oft the ROM again (without gapps), messed too much around😆

Current setup: fdroid, aurora store (installed with fdroid), microg, Duckduckgo Browser (installed with fdroid, uses the systems webview, so with this rom - bromite webview), naptime.

Possible to install Netflix and Disney app with aurora (no magisk required).

To get updates for bromite webview, added the repo to fdroid, see here https://www.bromite.org/fdroid

To get updates for microg added the repo from here https://microg.org/fdroid.html

Edit: To get updates for bromite webview the app ffupdater availabe on fdroid also works fine as an alternative to adding the bromite repo to fdroid.

Don't have AEP enabled at the moment, tried the following two benchmarks again, they don't seem to require AEP, but show that something is wrong (heavy graphics glitches with flickering) with the Opengl ES 3.1 implementation on this rom, which occurs in these apps:

Unreal System Benchmark - Apps on Google Play

Test your system performance!

play.google.com

Unreal Engine 5 Demo Next Gen - Apps on Google Play

Enjoy the Ultra Realistic Graphic . Made in Unreal Engine 5 EA 2

play.google.com

Logcat and dmesg attached (thanks to matlog 😃)

Would it be possible to upgrade Opengl ES to 3.2 or install Vulkan or ANGLE btw (without too much hassle😆)?

I also tried activating Vulkan renderer/skia which comes with android, but it led to Trebuchet crashing (see https://xdaforums.com/t/how-to-change-opengl-driver.3896970/). Oh well seems to be too bugged.

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.
[Fire HD 8 and HD 10 Original Android Development] Tropaion:
Hello,

I managed to root device with Kingo Root and installed TWRP which I can also enter.

Via adb sideload I installed LOS and OpenGapps.

After the first installation it said that it couldn't find/mount data partition.

When booting, the device is stuck in LOS loading screen.

Then I tried to install LOS/Gapps fresh again, no partition error but still stuck in LOS loading screen.

Does someone know about this?
[Fire HD 8 and HD 10 Original Android Development] gRooster:
Did you format data and factory reset in TWRP before installing this ROM?

Although not mentioned in this thread, I assume it is still a required step.

i.e.

From the Lineage-14-1 (suez) thread:

Initial install or coming from another rom

- Enter TWRP

- Enter wipe option

- Format Data

- Then swipe to factory reset

...
[Fire HD 8 and HD 10 Original Android Development] Tropaion:
I did but sadly that didn't change anything. Device is in LOS loading screen since 20mins.

I will now try a previous LOS version.

EDIT: I installed previous LOS version and now it works.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Why did you use Kingo and not the original method posted?

Use Twrp to install the rom not sideload.

Follow the correct instructions the o.p. has givin to correctly install. If youve done anything different, theres your problem.
[Fire HD 8 and HD 10 Original Android Development] Tropaion:
@MarvinMod Because my tablet had the latest FireOS version for my tablet, 5.7.00 and according to the thread the root method doesn't work with this version.

I installed the previous LOS version and now it works.
[Fire HD 8 and HD 10 Original Android Development] psi78:
What exact gapps version did you use with the current version of this rom?

open_gapps-arm64-9.0-pico-20220215.zip should work.

A few days ago they had a newer opengapps april version on the site, but that was bugged, couldn't start up LineageOS with it. It isn't on the site anymore.

Bitgapps or Bitgapps microg should work too.
[Fire HD 8 and HD 10 Original Android Development] Tropaion:
I used exactly the one you mentioned, open_gapps-arm64-9.0-pico-20220215.zip