yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 Original Android Development] psi78:
Great work again ggow! :)

I did a clean install of the Rom of 27th March 2022 and open_gapps-arm64-9.0-pico-20220215 (no magisk).

The Trust settings showed a green flag for android safety patches/current version.

Netflix/Prime/Disney work.

Wired Headphones also work for me and already worked in the build of 1st March (without speakers continuing to play).

Bluetooth headphones lead to a crashing loop, which continued to spam logcat errors even after i had bluetooth disabled already again.

See attached logcat.

As german_psycho noted the apps closing problem after asking for storage permissions is still there (tested it with the internal browser org.lineageos.jelly)

Also a logcat file for this attached.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
attaching logcat for the issue "cannot switch wifi on after storage encryption enabled", would be lovely if you could have a look @ggow , thanks!

03-28 21:28:33.142 1265 1284 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
03-28 21:28:38.080 1265 1362 D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=34, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 1000] ] with score 0
03-28 21:28:38.080 1265 1362 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=34, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 1000] ] with score 0
03-28 21:28:41.909 1265 2386 D WifiService: setWifiEnabled: true pid=4583, uid=1000, package=com.android.settings
03-28 21:28:41.909 1265 2386 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
03-28 21:28:41.909 1265 1361 D WifiController: StaEnabledState.enter()
03-28 21:28:41.911 1265 1362 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=-1ms what=0 target=com.android.internal.util.StateMachine$SmHandler }
03-28 21:28:41.911 1265 1362 D WifiStateMachinePrime: Switching from WifiDisabledState to ClientMode
03-28 21:28:41.911 1265 1362 D WifiStateMachinePrime: Entering ClientModeActiveState
03-28 21:28:41.911 1265 1362 D WifiClientModeManager: entering IdleState
03-28 21:28:41.911 1265 1362 D WifiStateMachinePrime: State changed from client mode. state = 2
03-28 21:28:41.916 1265 1265 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false
03-28 21:28:42.922 251 251 E android.hardware.wifi@1.0-service: Failed to access driver state control param Permission denied, 13: Permission denied
03-28 21:28:42.922 251 251 E android.hardware.wifi@1.0-service: Failed to load WiFi driver
03-28 21:28:42.922 251 251 E android.hardware.wifi@1.0-service: Failed to initialize firmware mode controller
03-28 21:28:42.922 251 251 E android.hardware.wifi@1.0-service: Wifi HAL start failed
03-28 21:28:42.923 1265 1362 E HalDevMgr: Cannot start IWifi: 9 ()
03-28 21:28:42.923 1265 1842 E HalDevMgr: IWifiEventCallback.onFailure: 9 ()
03-28 21:28:42.923 1265 1362 E WifiVendorHal: Failed to start vendor HAL
03-28 21:28:42.923 1265 1362 E WifiNative: Failed to start vendor HAL
03-28 21:28:42.923 1265 1362 E WifiNative: Failed to start Hal
03-28 21:28:42.923 1265 1362 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
[Fire HD 8 and HD 10 Original Android Development] gRooster:
What version of Netflix, the current Play Store version?
[Fire HD 8 and HD 10 Original Android Development] psi78:
I used the latest Netflix beta from apkmirror.com (bundle version), installed with the apkmirror installer from Google Playstore.
[Fire HD 8 and HD 10 Original Android Development] luk2009:
Hello

I have that same version and

Netflix gives me error 5.10 and 5.8 sometimes
[Fire HD 8 and HD 10 Original Android Development] ggow:
I've fixed this for the next version
[Fire HD 8 and HD 10 Original Android Development] ggow:
I have got a new TWRP 3.6.1-9.0 version running on the android-9.0 minimal branch. Looking to get /data decryption working.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Just connected my Sony Headphones via bluetooth with LDAC/96Khz/32 bits/sample/Audio Quality (990/909kbps) and seems rock solid. Can't see any problems with bluetooth.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I have fixed this for the next release.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I have fixed the remaining problems with storage permissions. Jelly Browser is behaving itself now.
[Fire HD 8 and HD 10 Original Android Development] ggow:
ℹ️ New Build is Up

Dated: 03 April 2022

- [fixed] Magisk update by app

- [fixed] Storage permission issues (cause of some apps crashing)

- [fixed] Lego app not working (more info here)

- [fixed] Cannot switch wifi on after storage encryption enabled

- [info] Update suez defconfig in kernel to be more inline with aosp

- [info] TWRP 3.6.1-9.0 available from Google Drive (no encryption support)

- [info] Up-rev audio HIDL from 2.0 to 4.0

- [info] Disabled amazon logging functions in kernel

- [info] Disabled unused squashfs in kernel

- [info] Conditionally compile MTK_M4U in the ion kernel driver as our device doesn't use it

TWRP Installation

- Copy TWRP image to storage

- On TWRP press install button -> Install Image button

- Select TWRP image and flash to recovery
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
Tested Magisk update directly from app. 24.1 to 24.3. Works just fine. Thank you ggow.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Very Nice!! The TWRP update was much needed. Reading partitions correctly now, backup and restore working.

Los browser/sdcard/download issue confirmed fixed. Much thanks. file browser/sd card reads correctly as well. Apps and Google services are working properly. Video playback at 720p are great, 1080p is a bit laggy but okay and still may be a result of pipeline/wifi throughput as anything above 1080p crashes.

GGOW, you gave this device new life again, its running smooth. Excellent work.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
twrp: looks usb-otg storage does not get detected in the new build (worked in 3.2 but minor, sdcard can be used instead)

los: error message on initial setup screen, can be bypassed clicking ok (minor)

los: wifi works ok, same minor issue with not all channels/APs detected in 5ghz range (same in all earlier los installs same on fireos (minor)

I will continue testing and update here.

Thanks for your awesome work @ggow !!!

Update1:

storage encryption vs wifi - WORKS! (THX!!!)

storage encryption - appears to cause bootloop if encryption gets enabled while sdcard inserted in the tablet (reinstall, remove sdcard, encrypt again... ok to reinsert sdcard after first boot) (just a "gotcha" advance notice, otherwise minor)

storage encryption - 2nd possibility of bootlop during first reboot: files on internal storage. Go back to TWRP, factory reset (will wipe /data, go through initial wizard, encrypt right after.

Overall when testing this make sure you don't install anything and internal storage is as empty as possible (no .apk downloads or other downloaded/copied files)

twrp 3.6 - indeed doesn't recognise encrypted /data (BTW install order of the new build was: twrp 3.6, reboot, los+gapps)

Update2:

App storage access issues - granting permissions works now without crash, some apps work 100%, but some apps still give issues:

chrome - "sdcard not found, download to default folder?" and it doesn't allow that. Able to save to own data directory on external sdcard. crashed but worked in 0327 if I remember right.

encdroid - doesn't see the internal sdcard filesystem (blank page)... app might be slightly old but works fine under android 12.

Bookari/mantano - just crashing on startup, error might have sth to do with storage, worked in 0327

Did a retest in new install - all above storage issues same as before including chrome. Overall it seems except for the obvious crash issues, storage permissions were better handled in 0327.

Thought it was sth with external sdcard plugged in, removed it, resetted the app, reinstalled - still the same.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I'll add the TWRP usb-otg issue to the list.
[Fire HD 8 and HD 10 Original Android Development] leekyungjae:
Twitch: 생방송 - Google Play 앱

실시간으로 방송을 진행하고 시청하며 채팅을 즐겨보세요.

play.google.com

I have a question about playing the Twitch app.

If you change to full screen after playing in 1080p resolution, the screen is cut off.

If you change the resolution to 720p and play in full screen, the screen does not appear and only the sound appears.

Am I the only one?
[Fire HD 8 and HD 10 Original Android Development] Legitsu:
wifi is back to normal, the pull-down menu doesn't seem to behave correctly I can't toggle the auto-brightness from the pull-down menu
[Fire HD 8 and HD 10 Original Android Development] ggow:
Seems to work fine here, anyone else having this issue?
[Fire HD 8 and HD 10 Original Android Development] :
This is also working fine for me
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
Thank you thank you thank you thank you thank you. (One for each 2017 Suez tablet I have). @ggow
[Fire HD 8 and HD 10 Original Android Development] absoluteparanoia:
So if I'm coming from 12.1 can I do a TWRP backup, wipe system and data and flash this and then restore back? I've used restore before to set restore points in case anything breaks and it works if I'm on 12.1 and need to roll back to earlier.

I only need to use the rollback when the brightness slider in 12.1 glitches and lowers brightness to zero forever (no way to get it back without being able to guess what menus are open complexly blind).

I want to help test this like I did with 12 and 14 but want to be prepared if anything goes sideways.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Yes, do a TWRP backup and should be able to go back.
[Fire HD 8 and HD 10 Original Android Development] desidude2000:
@ggow

NVM all of below is covered in OP as todo under laggy graphics

some initial testing

not a big deal at all, but just reporting as i test. when i applied a stock wallpaper, it got all messed up. it doesn't really matter to me, but that may give you a clue to something larger going on with an underlying graphics/display issue.

also tested 1080p mkv playback with oplayer. not working for me with HW acceleration.
[Fire HD 8 and HD 10 Original Android Development] Shadow Death:
Messing around with the tablet and I found this. Lo

This is it doing nothing but for she reason the clocks are high.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Could be because graphics and hw acceleration in general doesn't seem to be working. I'll take a look at this

EDIT: confirmed here too, htop shows surfaceflinger is the culprit - so graphics is the first thing on the list to figure out,
[Fire HD 8 and HD 10 Original Android Development] Shadow Death:
This explains why it burns through battery at an insane rate. Lol
[Fire HD 8 and HD 10 Original Android Development] honknase:
Could this be related to the Mediatek mt8173 display bug referred to at https://xdaforums.com/t/chat-hd10-2017-custom-rom-brainstorming.3915389/post-84059431 ?
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Big cluster CPU frequency error

cat: can't open '/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq': No such file or directory.
[Fire HD 8 and HD 10 Original Android Development] ggow:
No, it's not unfortunately...
[Fire HD 8 and HD 10 Original Android Development] ggow:
Where did this error originate?

When I run cat from a non root shell, I get the following.

suez:/ $ cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
507000
suez:/ $
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
Not a clue. Saw it once, haven't seen it since. On a side note, mt8173 is supported in a new bootrom exploit that allows bypassing authentication in SP flash tool. IDK if its much use to us but figured I would give a heads up.
[Fire HD 8 and HD 10 Original Android Development] :
Two things that would be nice to have: support for encryption, and support for signature spoofing. I know 12.1 supported signature spoofing but I can't actually get it booting and it's not detected by adb. Any idea why that is? (I know you're not supporting it anymore but it was working perfectly fine until now and I've even redone the whole bootloader unlocking so I don't see what could be causing this.) Thanks for any help you can give me and thanks for developing this rom and others!
[Fire HD 8 and HD 10 Original Android Development] xjacksssss:
Did a clean flash of this onto my Fire HD 10. I can't seem to turn WiFi on. Whenever I try to press the slider it simply doesn't turn on and just goes back to off. Happy to provide any logs or anything that will help?
[Fire HD 8 and HD 10 Original Android Development] DragonFire1024:
The last time this happened, it was dhcp permissions in /system/etc/dhcp but that was quite a while ago and I'm sure that was when we were customizing fire OS. It could be it snuck up on us again but also could be wpa_supplicant isn't running.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Will add signature spoofing and encryption to the list.

I'll apply signature spoofing to the version.
[Fire HD 8 and HD 10 Original Android Development] :
Thank you! Do you have any idea what went wrong with LineageOS 12.1? It seems I just can't get it working on this device anymore. Is there maybe some partition I can try wiping? Some kind of cache that would only work on LineageOS 14.1 and would cause issues with older versions?
[Fire HD 8 and HD 10 Original Android Development] ggow:
perhaps the /misc partition, recently had the same issue on Kindle HDX devices. See here: https://xdaforums.com/t/rom-unlocked-lineage-16-0-08-feb-2021.4164161/post-83531641

I don't know if it's safe to perform this operation on this tablet, it should be - however you should check before you commit. L:et me know how you get on.
[Fire HD 8 and HD 10 Original Android Development] ggow:
dhcpcd is now no longer supported from oreo off the top of my head.
[Fire HD 8 and HD 10 Original Android Development] ggow:
I think there may be similiar issues with youtube, Youtube seems fine.

Will add it to the list.
[Fire HD 8 and HD 10 Original Android Development] luk2009:
Working fine for me too
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Try toggle the auto rotate, turn tablet to portrait then try.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
720 full screen works fine for me. 1080 full screen is a bit laggy but beyond that is a no go.
[Fire HD 8 and HD 10 Original Android Development] matdol:
I'm writing it with a translator, so I don't know if it'll be delivered properly, but I'll report some bugs.

1. If you set it to 1080p resolution on YouTube (youtube vanced), the screen will be enlarged and displayed. It seems to work properly on 720p, but I think I need to wait and see.

2.Settings -->System -->Buttons -->Show arrow keys while typing option is enabled, the Navigation bar does not work properly while the Virtual keyboard is running (on the horizontal screen). It works properly on the vertical screen.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Added to the todo list
[Fire HD 8 and HD 10 Original Android Development] Xavras:
Any chance to revert to sdcard (storage permissions) fix state to 0327-build @ggow ? crash/force close is ugly agreed but at least i can use my fav apps - chrome, bookari and encdroid (see update2 in my earlier post pls). note i have no issues with these apps on other/newer android versions. Btw I experienced occasional force close (during or a moment after granting storage permissions) in 0403 with 1-2 apps as well (xodo pdf)
[Fire HD 8 and HD 10 Original Android Development] donald.dk:
i got a file permission/corruption/unreadable issue; if its just me I can reflash, but if this is global maybe this can be added to the todo list.

observations / description:

(1) download apks from the browser (apkpure or apkmirror). goto to the file browser /download directory to install using both the solid explorer as the installer and the standard package installer. result = receive an error, unable to parse.

(2) i use solid explorer to turn on a ftp session to push files across to 0/download, then install. the ftp client says failed to retrieve directory listing. unable to navigate/create files/folders

(3) transfer files from pc to & keep the file on the sd card, install from the sd card, install works successfully.

(4) adb sideload from twrp - works

what i tried: thinking this was a permissions issue --login to twrp to chmod 777 the data directory & the download directory=> didnt solve anything
[Fire HD 8 and HD 10 Original Android Development] ggow:
It could be one of the patches did not apply correctly
[Fire HD 8 and HD 10 Original Android Development] Xavras:
OK, let us know if you need logcat etc. I verified issue happens on blank install without gapps...it's like some apps immediately know where to look for "internal storage/sdcard" and some get confused - notably chrome (easy to test - just try to download and save locally twrp image from this thread). btw. i am talking about apps/versions downloadable directly from playstore.
[Fire HD 8 and HD 10 Original Android Development] ggow:
ℹ️ New Build is Up

Dated: 05 April 2022

- [fixed] Storage permission issues (patch problem) - Needs testing

- [fixed] Fix KernelUidCpuTimeReader errors

- [info] Uploaded now
[Fire HD 8 and HD 10 Original Android Development] Jimbouser:
Just installed. Get Facebook keeps stopping, Messenger keeps stopping, Google services Framework keeps stopping, Google Play services keeps stopping.

Reverted to previous version.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
yeah @Jimbouser is right, something is borked. constant "Google Services Framework/Play Services keeps stopping" messages. Seems I can't even login to playstore. tried both bitgapps and opengapps, flashed as part of rom flash or later.
[Fire HD 8 and HD 10 Original Android Development] ggow:
Thanks for letting me know, I don't normally use GAPPS so I missed it. Everyone revert to the previous build until this is resolved.

I'll pull the most recent build from Google Drive
[Fire HD 8 and HD 10 Original Android Development] ggow:
Glad to say the kernel update was good so that change will remain. I have reverted the problematic changes and with gapps can login again, also back to the situation where when storage permissions are initially granted the app force closes, but then after re-opening for example chrome and jelly browser seem to work fine.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
can you create that as a new build/rom @ggow ?

I mean with the encryption-wifi and other fixes state as per 0403 (minus gapps issue) and permissions state 0327.
[Fire HD 8 and HD 10 Original Android Development] Pikatch:
It seems that AOSP's Android 9 has the security patch of March 5, 2022. This April 3rd build has the January 5th, 2022 security patch applied. Can I apply the March 5th security patch to my next build?
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Im trying to produce the issues described in the last few posts about the sd card and apps. Im a bit confused cause im not having those issues. Im on build 4.3.22 chrome is working fine and downloads are fine. A bit laggy in th u.i. at times but an off and on solves the issue.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
@MarvinMod which build/rom? Which gapps? how did you install chrome?
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Rom/build 4.3.22

Updated twrp 3.6.1-9-0

Open gapps pico

Chrome from playstore

Keep in mind, i have Magisk installed with props as a tab 7 to pass safteynet.
[Fire HD 8 and HD 10 Original Android Development] Xavras:
that might be the difference. rest is exactly the same. i did reflash couple of times - same behaviour. which version of magisk? (i can test for ****sandgiggles) btw what do you need safetynet for? seems most apps (from playstore included) work fine whatever the state. any other modules that could influence the storage state?
[Fire HD 8 and HD 10 Original Android Development] Klenz39:
For the latest build on 3 April 2022, seem the storage problem occur so APKPure completely useless. Can not download and access internal storage. Then i install gapps to install the LEGO WeDo Apps from playstore. The app did not crash but the loading stuck (so long that i close the app and try it again but still the same) on the 2nd times we opened the project. At the end i reverted back to previous ROM again. The ROM is a little laggy not sure if that the problem, i'll try again on your next update. Thanks @ggow
[Fire HD 8 and HD 10 Original Android Development] ggow:
ℹ️ New Build is Up

Dated: 06 April 2022

- [fixed] Fix KernelUidCpuTimeReader errors

- [info] Revert audio HIDL from 2.0 to 4.0 back to 2.0 - our drivers aren't ready for this

- [info] Put storage permissions force close on the todo list

- [info] Chrome browser works

- [info] Jelly browser works

- [info] WeDo lego app works
[Fire HD 8 and HD 10 Original Android Development] Jimbouser:
Thank you for all your hard work!
[Fire HD 8 and HD 10 Original Android Development] Xavras:
I am in (no-amazon) heaven, thx @ggow !!!

Tested 0406, everything we talked about earlier - simply works (gapps, all apps, saving, encryption, wifi, video playback, streaming (1080p/kodi), wired headphones+plugin events)

One note about encryption: if you're flashing from sdcard, flash 0406+opengapps-pico, then immediately after remove the card, then only reboot out of twrp. Don't install anything extra, just encrypt the system after initial los/gapps setup is done.

If I find anything else, i will report later. Thanks again!
[Fire HD 8 and HD 10 Original Android Development] Klenz39:
Thanks for the update. The LEGO WeDo app still not working. I've attached link on how to problem occur. It is a fresh installation from ROM 6 April right out of APKPure.

Please check out for the video, thank you for your hard work as usual @ggow.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Are you passing saftynet? Are you sure its the right version of the app? Apkpure has many different api levels for the app and architecture. Have you tried the play store version? Have you tried changing props to a tab 7?
[Fire HD 8 and HD 10 Original Android Development] Klenz39:
To make sure that my testing is consistent, i downloaded the file first and tested it without wifi connection. Normally i installed the app in bluestack to check if it genuine and it works fine.

Same problem occur when i installed the play store version. Same behaviour as I describe in post #402 (without the storage problem).

Iam so sorry, i dont understand about "changing props to a tab 7". If you are talking about trying in another device, i have multiple fire HD10 with different rom and other seem to work fine. If you are talking about something in the setting, i love to know more and how to do it.
[Fire HD 8 and HD 10 Original Android Development] :
What they mean by "changing props to a tab 7" is spoofing the device's fingerprint to a Samsung Galaxy Tab 7 to pass the ctsProfile safetynet check.

Steps:

Install the "MagiskHide Props Config" Magisk module and reboot

Open a terminal, su to root and type "props"

Select option 1 to change your fingerprint

Select option f

Select option 26 for Samsung

Select option 96 for the Tab 7

Confirm with y and reboot

Then you can use a safetynet tester to see if you pass ctsProfile. If that passes but basicIntegrity fails, you can install the "universal safetynet fix" module and reboot.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
Make sure in magisk settings, zygisk iS enabled.
[Fire HD 8 and HD 10 Original Android Development] MarvinMod:
@ggow just wanted to give you a heads up on the update of TWRP. Twrp no longer uses jpeg. The logs show that the Stock theme version does not match twrp version.

In order to fix, either stock theme must be used or a custom theme thats NOT in jpeg format. Excellent work btw. 🖖