[SuperR Kitchen] SuperR.:
v1.2.1.2

Changes:

Fixed bloat_custom needing system/ prepended to the path on system_as-root firmware.

Fixed a possible crash when building img files more than once, or when building img files not originally extracted by the kitchen.

Fixed project directory beta partition size detection method only checking the system directory size.

Fixed su.d for system-as-root devices.

Updated Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION] to v3.7.

Updated Busybox installer by [MENTION=4544860]osm0sis[/MENTION] to v1.31.1.

Fixed a couple code derps.

Extract optics.img from Samsung firmware if it exists.

Moved smali download to the same server as all the other kitchen tool downloads.

Added support for Android 10 Motorola firmware extraction.

Fixed system_other.img contents not being copied to the correct locations if the directory structure is not consistent with system.img.

Fixed the Ubuntu4Kitchen launcher update removing the launcher during kitchen update.

Use Python3 for kitchen launcher since Python2 is no longer shipped with the latest Linux distros.

Fixed crash during img extraction on an NTFS file system and there is a period at the end of a directory name.

Added support for extracting and including system_ext.img.

Fixed crash when unpacking a boot.img from a system-as-root device.

Added an error message about no ramdisk when unpacking a boot.img from a system-as-root device.

Extract prism.img from Samsung firmware if it exists.

Fixed possible crash when choosing set_metadata perm type.

Added support 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.

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

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.

Added support for extracting zip and tar files that include img.lz4 files.

Fixed showing error when unpacking some recovery.img even when successful.

Add exdirs to 00_project_files/srk.conf and remove the exdirs file.

Fixed Build menu > Custom zip menu zips not including an update-binary.

Allow Build menu > Custom zip menu zips to build if at least one directory in the list exists.

Fixed raw_img and sparse_dat perm types not flashing on some Samsung system-as-root devices.

Updated vdexExtractor to the latest official commit that supports Android 10.

Updated launchers to allow the kitchen to restart itself when required.

Added ro.product.system.device and ro.product.system.name to the list of props to look for when finding the device name.

When determining partition size from a system.img, check if system_other.img exists, compare the sizes, and use the larger one.

Added option to list the files in your project that will be removed using Debloat ROM, Custom debloat, and Remove Samsung Knox.

Improved the error messages when ext4 img build fails, including directory and img size comparison when size is the problem.

Added support for the /system_root mount point showing up in new TWRP builds for system-as-root devices.

Cleaned up configure.sh, hopefully improving the range of devices it works with.

Abort flash and show fail message when configure.sh does not find the by-name paths.

Fixed Debloat ROM showing Debloated on system-as-root devices.

Fixed Remove Samsung Knox showing No Knox on system-as-root devices.

Added support for additional update-binary files, allowing flashing on architectures other than arm.

Added arm64, x86, and x86_64 update-binary files for sparse_dat and raw_img perm types depending on firmware abi (Big thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for building the binaries!!).

Removed all update-binary files from kitchen zip, and added them to the tools downloads.

Extract product.img from firmware packages if it exists.

Complete rewrite for O, P, and Q deodex function; All vdex files in the project directory (except inside 00_project_files) will be deodexed.

Fixed extracting some newer system.img files that can only be mounted as read-only.

Fixed fs_config and file_contexts3 not containing all permissions for all files after extraction.