[Nexus 7 (2013) Android Development] osm0sis:
Hey all! I was finding my old N7 a bit slow and neglected on Lineage 14.1 so I have finally jumped on the bandwagon here with [MENTION=5480152]followmsi[/MENTION]'s excellent work bringing it up to Android 10! I've been testing, and both AEX and Lineage seem like the stable, actively developed ROMs here right now. :highfive:

I found Open GApps arm 10.0 micro is currently the largest package that will work (on Lineage at least) without Pixel Launcher crashing. Also my user removals in .gapps-config don't properly carry through addon.d, and the MarkupGoogle libs don't get restored, so I'll be looking into all of those with [MENTION=2010892]Nezorflame[/MENTION].

No Google Camera versions work on this device, including the old 2.7.010 version GoogleCameraLegacy.apk Open GApps stock installs, so I guess the ROM's updated AOSP camera 2.0 (same base as Google's 2.7) is the only option.

If any others are interested, here's my .gapps-config:

NoDebug
SmallBuffer

Gmail

Browser
CalculatorStock
ClockStock
CMMusic
Email
Gallery
Launcher
LRecorder
LSetupWizard
PhotoTable
WallpaperStock

(Contacts)
(LiveWallpapersPicker)

What's interesting is setting SELinux enforcing immediately makes SafetyNet pass, without re-toggling MagiskHide, so my guess is that there is something to be improved on MagiskHide's side but it's masked by SELinux on properly enforcing devices so it wasn't caught previously. I'll be looking into that with [MENTION=4470081]topjohnwu[/MENTION].

Hopefully we can work out a fix, and hopefully SELinux can also be fixed here sooner than later too, but in the meantime I've made a service.d script to work around the issue:

#!/system/bin/sh
#
# /data/adb/service.d/000magiskrehide
#

magiskhide disable
magiskhide enable

I tested out a number of Netflix versions, from 4.16.1 (the last I had working on Lineage 14.1) back to 4.8.5 and it seems 4.9.x is the first where the dreaded "0013" error was introduced. The DRM Info app doesn't show any sections for ClearKey CDM or Widevine CDM at all like it does on a fully working device, and none of the empty boxes like with my previous hack. None of the old hacks I have tried work, so I think real DRM might just be completely broken at the moment.

I found the actual final version which works currently is Netflix 4.8.7: https://www.apkmirror.com/apk/netflix-inc/netflix/netflix-4-8-7-build-9783-release/ :good:

Any particular reason you're using LazyFlasher instead of my AnyKernel3 project? It's equally easy to set up, it's got active development including me always keeping it up-to-date for the latest recoveries, plus it will automatically detect and repatch the kernel for Magisk. :confused:

I've gone ahead and put the latest build in an AK3 zip to demonstrate (attached), so it can now be flashed in FKM, EXKM, any version of TWRP, and root will be retained. ;)

Looks like [MENTION=6005084]ripee[/MENTION] doesn't have LiveDisplay hooked up to the kcal tunables yet, and FKM is having some trouble with them too (I'll be looking into that with [MENTION=3292224]franciscofranco[/MENTION]), but the GPU OC and zram ability in the EX-N7 kernel are nice and have my N7 feeling reasonably snappy and useful again. :)

Edit: Oh, and I noticed an issue with my FlashAfterUpdate addon.d script not correctly waiting until Magisk is done reflashing anymore, which leads to some unpredictable behavior, so I'll be looking into that too. :p

[ Attachment removed since a newer version has been released ]