<danielrf[m]>
I have the `system.extraConfig` and `product.extraConfig` which allow you to add arbitrary android makefile stuff into your build
<danielrf[m]>
However, the `PRODUCT_COPY_FILES` is a bit lower level, and if the type of thing you are trying to include is supported by the android build system, then you should use the more specific configuration provided by the android build system, instead of PRODUCT_COPY_FILES
<matthewcroughan_>
What about these Zip files that you usually find all over the internet, that you flash via TWRP or your recovery?
<matthewcroughan_>
Is there a way to "flash" those as part of the robotnix build? And what does "flashing" actually mean? Just overlaying the files on your filesystem?
<danielrf[m]>
See also that `modules/etc.nix` for the example using the `LOCAL_MODULE_CLASS := etc`
<danielrf[m]>
Instead of using those random zips, the right way to custom builds is to figure out the right way to include them into the android build system
<danielrf[m]>
I really haven't used magisk or any of those random things that are sideloaded
<danielrf[m]>
and for what I've personally wanted, I've been able to find ways to include them in the android build properly
<matthewcroughan_>
huh, okay
<matthewcroughan_>
scary :D
<danielrf[m]>
At least for vanilla/grapheneos), since it retains retain verified boot, we don't have the ability to make random changes to my /system, /product, or /vendor on a running device
<matthewcroughan_>
this app looks pretty insane to build
<danielrf[m]>
Yeah, the "Steps to Port MiuiCamera from scratch" look pretty involved
<danielrf[m]>
but if those steps could be nixified it would be nice
<danielrf[m]>
I've had thoughts in the past about having a nice nixified way to use apktool to decompile / patch / reassemble external apks
<samueldr>
flashable zips cannot be applied "offline"
<samueldr>
at least, not in a generic manner
<matthewcroughan_>
I can't for the life of me figure out how to even install this thing :D
<samueldr>
the way it works is it runs either of: an "edify" script, or a static binary, taken from the zip
<samueldr>
and this binary can do **anything**
<samueldr>
literally anything
<samueldr>
if you want to look at an independent implementation