[SuperR Kitchen] SuperR.:
v3.2.0.1

Changes:

Added support on all platforms for unpacking the new super.img showing up in Android 10 firmware.

Added support for extracting xz compressed GSI images.

Added support for extracting non-Google firmware.tgz files.

Fixed changelog not working when an update is not available.

Fixed asserts menu showing a comma instead of None after removing asserts.

Fixed custom directory not being added to the updater-script in sparse_dat and raw_img ROMs.

Linux/WSL/Mac: Added support for Bash plugins with example.

Windows: Added support for Batch plugins with example.

Revert to old set_metadata generator.

Check for plugin updates as part of the kitchen update routine.

Include busybox in the ROM and use busybox commands instead of /sbin commands to run programs from the updater-script.

Updated the update-binary script functions.

Set default to never convert to update-binary script on fresh install.

Asserts are now a global option that defaults to no asserts on fresh install.

Fixed selinux error message getting cut off.

Ask all partition size questions at the beginning of the ROM build for raw_img and sparse_dat perm types.

Remember the last manually entered img size for each partition in each project, and ask if you want to use it the next time you choose manual size.

Fixed unrooting pre-rooted system-as-root firmware.

Added support for Android 11 developer preview.

Fixed a bug in configure.sh that did not detect the slot properly on some system-as-root devices.

Fixed a bug that could allow the root directory file context to be set incorrectly in an ext4 img build.

Fixed plugin manager saying the server is down if there are no new plugins to install.

Fixed gapps plugin since Open GApps changed their download server.

Fixed partition_zip plugin not including an update-binary in final zip package.

Updated add_remove_files plugin to allow adding apk to system/priv-app.

Thanks to [MENTION=5750672]Er. Aditya[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION] for their great ideas, pointing out bugs, and testing fixes!

Thanks to [MENTION=10089295]shumway66[/MENTION] for testing and reporting bugs!

Thanks to [MENTION=4544860]osm0sis[/MENTION] for the busybox NDK builds, and for the update-binary script function updates!

NOTES:

Plugins:

All plugins will be updated in your kitchen automatically during kitchen updates. The option to update plugins in the plugin manager is still available. Additionally, all plugins have been updated on the server. The new plugins will not work on older kitchen versions. If you plan to install a plugin you will need to update the kitchen first.

Busybox:

If you have an existing project after the update, you will need to change perm types and back to what you want. This will add busybox and the updater-script modifications to your project. If you do not do this, you may have issues during the flash.

Asserts:

Asserts will now be disabled by default on a fresh kitchen install. If you update the kitchen instead, nothing will change until you remove asserts from one of your projects. After this, asserts will be disabled globally. However, asserts will not be removed from other projects that already have asserts. If you previously removed asserts from a project, it is possible they will be added again after the update as the setting has changed. If you add asserts to a project, asserts will be enabled globally.

update-binary script:

If you are doing a fresh kitchen install, you will no longer be asked if you want to convert updater-script to update-binary script by default. If you are updating the kitchen, the setting will not change automatically. You can change this setting any time in Misc Tools > Flashable zip options (global) > update-binary zip options.

Android 11 developer preview:

The kitchen has a problem building a system.img after extraction because the system directory is larger than the raw system.img. img size: 770MB, dir size: 859MB. I am not sure how this is possible, and it is not the first time I have seen it. The latest OnePlus firmware also has this issue. Obviously removing files would solve the building issue, but Android 11 developer preview does not contain bloat and I don't know what is safe to remove. If anyone has a solution, please let me know. Thanks :)

super.img:

Contrary to my recent posts, super.img unpack is now fully supported in Windows, Linux, WSL, and Mac!