yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] _ck_:
If this helps anyone, don't try to flash this rom and magisk at the same time.

First do the rom. Then reboot and let it config. Then go back into twrp and do magisk. Otherwise bootloop with rainbow stripe across the screen.

Thank you so much ggow for all your work, this tablet was all I could afford right now and you made it usable.
[Fire HD 8 and HD 10 Original Android Development] _ck_:
Okay magisk just messes up my install every time so skipping it for now until I have time, don't really need root on twrp+lineage anyway

Hidden wifi SSID is broken on this build, has to be visible or never works (also oddly saved networks cannot be edited unless connected)

Solving the free space for gapps was done using "NikGapps-core-arm64-9" which is an old but well maintained project, super tiny and uses real play store and then google just updates the store app anyway

This tablet is fantastic for bad eyes, just set font and display to "larger" and so easy to read.
[Fire HD 8 and HD 10 Original Android Development] psi78:
There is an su version included in the ROM which also works for giving apps root rights (as alternative to magisk). I think it may be the LineageOS addon su from here https://download.lineageos.org/extras (but you'd have to ask ggow for that i guess).

You can enable/disable it in developer options.

If you wanna use magisk you could revert back to previous TWRP version 3.6.1-9.0, magisk works fine with it/no bootloop of LOS with this TWRP version and magisk. Somebody described also a way to make magisk work with the newest TWRP for suez, it's somewhere in the last pages of this thread.

Edit: See this post of droidjunkie for example

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-05-july-2022.4232785/post-87118769

Or this by Creeju

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-05-july-2022.4232785/post-86950033

Or also this by MarvinMod

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-05-july-2022.4232785/post-86752881
[Fire HD 8 and HD 10 Original Android Development] c00ler90:
Are there any issues in this ROM for everyday use?
[Fire HD 8 and HD 10 Original Android Development] _ck_:
Only three days but so far so good, I had to reboot the 2015 Amazon Fire 7 daily but not once this tablet/rom

The "todo" list at the bottom of the third post is very accurate of what is missing, I haven't experienced the overheating/shutdown yet, the hidden SSID is just an annoyance I can work around and now I know how to get around the magisk problem thanks to psi78

https://xdaforums.com/t/rom-testing-suez-lineage-16-0-05-july-2022.4232785/post-84478889
[Fire HD 8 and HD 10 Original Android Development] _ck_:
Just to repeat what droidjunkie said like 100 posts ago (and psi78 pointed out)

installing magisk 25.2 requires first TWRP DOWNGRADE to 3.6.1-9.0

Then once magisk is 100% installed and running properly you can re-upgrade TWRP to 3.6.1-9.2

Loving this tablet with Lineage. When they popup for $20-$25 again on woot we need to get some into developers hands

Next going to try to get one of the tap-to-wake methods working, I hate reaching for that power button.
[Fire HD 8 and HD 10 Original Android Development] c00ler90:
Thx for the hint

- [todo] Shutdown after entering sleep mode (suspect cpu/gpu coming up in the wrong state -> overheating)

- [todo] Gapps > pico causing not enough space error

- [todo] Youtube black screen with audio

- [todo] Playing videos over SMB failure after 30 min

Those are dealbreakers for me. Guess I'm still stuck with Lineage 12.1 ROM.
[Fire HD 8 and HD 10 Original Android Development] psi78:
- With Power Saving mode and Naptime app i think i didn't experience those shutdowns anymore

- opengapps pico can be installed by repartitioning as described by Kate6 or using my debloat script on system partition. Alternatively the smaller gapps versions of nikgapps or bitgapps also work like _ck_ and droidjunkie said

- YouTube app has issues on this ROM, so if you wanna use that i'd say stay on LOS12.1

- for me the deal breaker on this ROM is at the moment that Netflix videos stop with an error after 23 mins, only workaround is reboot. Disney+ videos stop too after 23 mins but can be made run again. Other users have reported similar problems with TV streaming apps. I think it's all due an OMX video decoder problem, possibly memory leak, or VM config related, or some other fix is needed, maybe enabling the omx legacy rescaling in the next build could help for that problem too.
[Fire HD 8 and HD 10 Original Android Development] Kramar111:
@_ck_

Try this

https://xdaforums.com/t/discontinue...ineage-14-1-26-sep-2019.3973703/post-81685189
[Fire HD 8 and HD 10 Original Android Development] _ck_:
Yeah the gapps is really an easy-peasy workaround, just can't use pico, instead must use any other project that is under 100mb

As far as sleep/overheat/crash hasn't happened to me BUT I don't think I ever really let my tablet go to sleep, certainly not deep sleep

Something I always install out of habit that may be preventing the overheat is smartpack-kernel-manager

Releases · SmartPack/SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel - SmartPack/SmartPack-Kernel-Manager

github.com

and set the power saving governor mode? Tablet remains very responsive

DevCheck seems to say everything is fine and that the governor change is set/persistent

https://xdaforums.com/t/app-devcheck-1-19-system-information.3171427/

On my 2015 Fire had to use a kernel auditor for smartpack? But seems to work without on this rom?

We need to kidnap Ziona from the Ford rom (that ggow also made) and get them to make some patches for this one to help ggow along? Maybe next time the tablets hit $20 someone send one to Ziona?

https://xdaforums.com/t/rom-unlocke...14-1-05-feb-2022.3962457/page-2#post-80167249

Last but not least if overheating try Greenify, it has special root modes to keep everything under control?
[Fire HD 8 and HD 10 Original Android Development] targa:
I flashed the ROM after offline root/unlock. Now it's stuck in the bootlogo, anything obvious I did wrong?
[Fire HD 8 and HD 10 Original Android Development] psi78:
In TWRP wipe all shown partitons besides Micro SD card, i.e. Dalvik/Cache, Cache, System, Data, Internal Storage + format Data also, then everything should work fine.
[Fire HD 8 and HD 10 Original Android Development] psi78:
Opengapps Pico does work when you debloat the system partition, ie delete/move some system apps. You can use my script suezcleanapp2.sh or look at it to see which apps are uncritical: https://xdaforums.com/t/rom-testing-suez-lineage-16-0-05-july-2022.4232785/post-87282103

Honestly i personally wouldn't use the Power Saving governor, it locks the CPUs at lowest possible speed. This may prevent the high cpu usage bug from overheating the device, but resource intensive apps will be slow. Whereas the (Extreme) Battery Saver Mode (quick settings of Android), gives you full cpu boost when you need it, but throttles down the CPUs too.

However the high cpu usage (SurfaceFlinger) bug on this ROM may occur anyway, even with apps like Greenify, Naptime or ForceDoze. Have to reboot until the tablet goes into a good state (use any CPU monitor to check).

I had the impression that disabling "nearby share" also helped to resolve the high cpu usage. At best put it in quick settings, because it seems to turn itself on after reboot too, so you have an eye on that.

When all is well, then keep the tablet in that state/put it in flight mode over night.

Ziona or ggow fixing OMX would be awesome, then this ROM would be great 🤩, otherwise atm for regular longer media playback i'd say use LOS12.1
[Fire HD 8 and HD 10 Original Android Development] psi78:
@ggow: also the max resolution for the OMX video decoding settings of the

video codecs mpeg2, mpeg4, H263/3gpp, VPX

in this file is wrong and possibly should be corrected:

device_amazon_suez/media/media_codecs_mediatek_video.xml at lineage-16.0 · lineage16-suez/device_amazon_suez

Contribute to lineage16-suez/device_amazon_suez development by creating an account on GitHub.

github.com

Suez has a 1920x1200 display, not 1920x1080

I think the value 1088 (and not 1080) in your device file media_codecs_mediatek_video.xml is meant for a slight overscan for some devices, so black lines aren't shown at the edges on top and bottom of the screen when you hold the tablet in landscape format when watching a vid.

So the correct values would be either 1920x1200 or 1920x1208 i think.

Maybe this wrong max resolution also has to do with wrong rescaling of YouTube Full HD Videos in the current version of this ROM(?). YouTube Video streams are in mpeg4, webm or 3gpp format i think, or mpeg2?

Edit: ok, there are even more video formats https://support.google.com/youtube/troubleshooter/2888402?hl=en
[Fire HD 8 and HD 10 Original Android Development] therickyj:
Would y'all say that this is suitable enough if I just plan on reading comic books?
[Fire HD 8 and HD 10 Original Android Development] Shack70:
Yeah, it's just video that seems to be an issue. The Lineage 12 would be good too
[Fire HD 8 and HD 10 Original Android Development] therickyj:
Thanks, I think 12 might be a better option since I can't see any visable sisues?
[Fire HD 8 and HD 10 Original Android Development] Shack70:
If you don't like 12 it's easy to change to 14 or 16 :)
[Fire HD 8 and HD 10 Original Android Development] bodyscape:
Hi, anyone having a working microphone?
[Fire HD 8 and HD 10 Original Android Development] Klaus R:
Has anyone wifi using 5ghz? Can only connect to 2,4 ssids, overall , moreover with 72mbit only...
[Fire HD 8 and HD 10 Original Android Development] _ck_:
Ruh Roh

After a month of problem-free use, today it's in a bootloop where it will startup and work for about 1 minute tops and then reboot

Seems to be a "warm reboot" not a total restart where the UI restarts

Nothing new installed or changed but who knows what the Play Store updated in the background

Ideas for how to troubleshoot/fix?

Turning off wifi/bluetooth doesn't change anything

I only have one minute of use before restart so whatever I do has to be quick or from TWRP

Have to lookup how to do "safe boot" but only system apps will work under that

Update: booting into "safe mode" (volume down after seeing lineage logo) somehow fixed this after exit, I didn't actually change anything, just checked some things in developer options and looked at the play store - booting back to regular mode and all was stable again with no 1 minute restart
[Fire HD 8 and HD 10 Original Android Development] Klaus R:
Identified cause for missing 5ghz connection: Only channels 36,40,44,48 are enabled. Don't know why. But forcing my router tu use one of them solved my prob.
[Fire HD 8 and HD 10 Original Android Development] drakulaboy:
love this rom, still no camera fix but i don't need it.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
I don't think it's any one specific root process. I think it's the rooting process altogether. Maybe that might clear it up a bit. I'm going to have to put one of these things back together and flash it back to stock and compare some logs.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Dude, ignore the haters and trolls. I've been building custom roms for over 10 years now and a lot of these people are so hard headed and think their so smart that they actually look stupid. Oh and fyi, what your doing is very helpful weather relevant or not so thanks for taking some of your time to try and find the problem. However, im not convinced su has anything to do with it as im not having issues with root or anything else on 12.1

I think it has to do more with the changes in the file system in 16 that points to certain directories and are either missing or in the wrong location causing initialization for these components to fail. Id like to see your logs so i can compaire them to mine.
[Fire HD 8 and HD 10 Original Android Development] absoluteparanoia:
I think overall hardware acceleration enablement should be priority 1. I couldn't care less about anything else, that's just gravy.

If it can run HD video, then baby you got a stew going.
[Fire HD 8 and HD 10 Original Android Development] Az Biker:
* * * Thread Cleaned * * *

Let's keep the comments directly related to developing this ROM, not nit-picking at each other, rattling sabers, or bickering for the sake of bickering.

Some rude, off-topic, non-development comments have already been removed, please end the nonsense and stick with development.

Further comments that violate Forum Rules will be deleted and the associated accounts reviewed for additional action.

Thanks for everyone's help!
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
I have encryption working on 12.1, i haven't done anything special
[Fire HD 8 and HD 10 Original Android Development] horsefish2000:
Thanks OP. It is great to see new development for suez. I hope the hardware acceleration can be fixed in this version.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
I can watch HD up to 1080p of a 4k video on youtube (anything more like 1440 and the buffer can't keep up even if you pause it for a bit). I have also watched a few tv shows using VLC, though I haven't tweaked any of the players settings yet. PlutoTV works well too, but during "commercials", or website that have ads, they almost always skip and studder, taking twice as long before they end and programming starts again.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
I haven't forgotten. I've just been non-stop busy. Hopefully this weekend I will have some time to pick at it.
[Fire HD 8 and HD 10 Original Android Development] autobulb:
Is that with or without acceleration? I think the main point of HA is that it doesn't peg the CPU as much giving better battery life.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
I honestly do not know. I've been looking around and researching different things. Maybe the additional couple of codecs I found or the right combination of build.prop properties, probably all contributed a little bit of something. I do have to say though I find it a bit annoying when actually trying to watch a show rather than just have it on in the background and the commercial keep skipping like a scratched CD.

I have however found the SDK and other tools for Imagination Technologies which manufactures the Power Rogue GPU the Suez has. There is an APK driver you can install however you need at least Android 9, but a couple of edits to the manifest of the decompiled APK, might be enough to get it to work on Lower Android versions (I have not yet tried, but have had some pretty good luck with other applications in the past). I've only glanced over the documentation but it seems it candy bug issues with the GPU and other graphic and video anomalies. It may very well be completely useless or could provide some insightful information or might even fix some things. And although we can't use the APK associated with this SDK, it might be worth looking over anyways. As far as the codecs, for example the MtkOMX libs go, I don't think there are any more and if there are I sure can't find them and I have spent quite a bit of time looking. I only thought of this SDK because I am using Franco kernel manager and since I have added these build.prop values and whatnot occasionally when opening the application, GPU options will open but only for a few seconds before it disappears again.
[Fire HD 8 and HD 10 Original Android Development] cygnus:
How do I apply this fix myself?
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Well it's not the camera, but this might be something of interest at least. Once and so far only once, I was able to get the GPU to render as hardware using only the PowerVR Rogue GPU (Android GPU is default and is software based). The issue is it doesn't persist reboot. I have not had time to experiment this far but I am pretty sure the reason why is because an AVC denial because I rebuilt the kernel and was able to apply a needed driver. In order to fix this I have to use a hex Editor to add the selinux context to the file_contexts.bin in the boot image. Then you can see it happen in the log.
[Fire HD 8 and HD 10 Original Android Development] retora:
I'm still at LOS 14.1 and can not test this, but depending Gapps size issue, has anyone tested the "resize file system" function in TWRP? You normally find it here: wipe / advanced wipe / tick only "system partition" / repair or change file system / resize file system.

This helped me with a tablet with GSI rom to get back the full size of the system partition.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Ive tried it and it still does not work
[Fire HD 8 and HD 10 Original Android Development] poulopoulosa:
I have just finished installing this Room into my Amazon Fire tablet, thanks a lot for this, if you need any help with testing. Let me know via PM. I am very new to the whole android OS scene but offering to help :)
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Not that anyone may care too much about this, but on the Lineage 14 ROM, I have managed to get the MTK proximity sensor working. No special hack needed aside from moving a few things in the system around. I actually was not even trying to get the sensor working, but one of my applications that tell me what hardware is working such as sensors, suddenly lit up with proximity sensor. Unfortunately there is no real way to monitor this sensor independently. So far as I'm aware you're only able to monitor it through mediatek software/hardware however I have never seen any of their sensors actually being monitored by any application, even their own. This gives me hope that I can get more of the other sensors working. I've been continuing trying to get the hardware GPU (PowerVR Rogue) fully functioning as the main source of rendering. However I seem to be having a problem with EGL configurations and I cannot seem to track down and answer to a problem others have had with this specific configuration so I will have to continue searching and continue tinkering until I can get that fully operational.
[Fire HD 8 and HD 10 Original Android Development] newnewcomputer:
proximity sensor - what does it do? i think for phones, it turns off da screen but this is not a phone. if it senses finger over the screen, then it will be like tap-to-open n i have seen ppl asking 4 dat.
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Well at the moment I'm not sure it is reading anything. Not because it isn't there, but because there seems to be some other kind of proximity alarm going off in the logs. However with that being said the proximity sensor technically isn't supposed to be working at least according to Amazon's ecosystem. However if I recall correctly the log did state it was an Amazon responsible service/hardware. If I had to guess I will probably have to hunt down whatever .bin is claiming to be the sad proximity sensor that isn't supposed to exist and essentially delete it or deactivate it. I can however confirm that the device does indeed contain a proximity sensor. This might actually work in my favor and leading up to my other suspicions that in some cases moving a few files around and the places where they should be will get some of these things working.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
The proximity sensor is being used for the screens auto brightness and hand gestures just fyi.
[Fire HD 8 and HD 10 Original Android Development] chairmanmiaow:
So I'm revisiting this again as the household spare suez tablet has slowly crawled to a standstill and needs a rebuild: previously it was running the last build @ggow posted + opengapps + magisk with no problem and for many months worked fine.

Reflashing it back to the same state has proved confusing and I can't remember what I did last time - the device hasn't been repartitioned so perhaps I debloated the lineageos install a bit first before flashing opengapps pico but who knows, it was ages ago 🤷‍♀️

I wanted the easy life and I've largely moved from opengapps to nikgapps anyway so thought I'd flash the 67Mb NikGapps-core-arm64-9-20201231-signed.zip after lineageos on the suez, especially as peeps here have said nikgapps work. But I'm instead getting unequivocal failure and: "This Addon can only be flashed on top of NikGapps".

Err... So nikgapps doesn't work then? I don't mind repartitioning the suez manually with parted so I can flash opengapps pico but does anyone know something I don't?
[Fire HD 8 and HD 10 Original Android Development] chairmanmiaow:
Ok I can answer my own question - pulling the logs from the tablet turned this up:

unknown fuse request opcode 17
df: /sideload: Function not implemented
unknown fuse request opcode 17
df: /sideload: Function not implemented

So it turns out that you can't adb sideload NikGapps-core-arm64-9-20201231-signed.zip but you can adb push it to /sdcard and then install it via TRWP on the tablet. Afterwards you can then adb sideload the NikGapps SetupWizard addon and Magisk with no issues.

Hopefully that might help out anyone else running into problems reinstalling from scratch.
[Fire HD 8 and HD 10 Original Android Development] Shack70:
You can just copy the files to your tablet then flash using TWRP. No need to use ADB unless you want to.
[Fire HD 8 and HD 10 Original Android Development] chairmanmiaow:
Yes, that's exactly what my post just said.

No, you can't use ADB sideload even if you want to for NikGapps. Which is also exactly what my post just said.
[Fire HD 8 and HD 10 Original Android Development] chairmanmiaow:
I now remember why I'd been putting off rebuilding the suez for so long - getting the full set of basics installed, working and playing nice together is an exercise in pure pain compared to any of the other hundreds of devices I've done over the years. My desired "full set" is as follows:

twrp_suez_3.6.1-9.2 (not 3.7 as I need to install Magisk 25.2)

lineage-16.0-20220705-UNOFFICIAL (@ggow's final released build)

NikGapps-core-arm64-9-20201231 (because I don't want to bother repartitioning just for opengapps pico)

Magisk 25.2 + modules

Multiple user profiles

Working google services/gmail/play store (obviously)

The tablet is now 95% of the way there but one last annoying hold-out is the interplay between magisk and google services - fortunately I don't actually need the tablet to pass validation but I would like it to. Searching this thread turned up the old advice to uninstall magisk first and then the gmail app will suddenly stop crashing - reinstalling magisk again afterwards gets the desired combination of working gmail+magisk. So far so good.

Has anyone figured out how to keep gmail+magisk working and get SafetyNet Attestation to pass? I currently seem to have only two options:

1: flash universal-safetynet-fix + magisk props which fixes attestation but breaks gmail app completely

2: uninstall universal-safetynet-fix + magisk props completely (not just disable) and have working gmail app

Magisk Hide or using enforce denylist to mask google services/apps doesn't seem to work. I've tried a few other hacky bodges and workarounds with no luck.

Any suggestions? Again I luckily don't actually need the stupid suez to pass SafetyNet Attestation so can technically live without it, but the loose end is so aggravating... 🤬
[Fire HD 8 and HD 10 Original Android Development] Shack70:
I'm using opengapps and have no issue with gmail so I can't help you there. For SafetyNet Attestation I'm using the Hide Props Magisk module and not the universal fix one. https://xdaforums.com/t/module-depr...safetynet-prop-edits-and-more-v6-1-2.3789228/

I use Google Pixel 4xl V12 as the footprint with no safetynet issues.. Hope this helps.