yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] SuperR.:
v3.1.9.5

Changes:

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.

New API to get language download list.

Included pycrypto module to support new ozip_decrypt plugin.

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

Compiled vdexExtractor with pull request by [MENTION=1879618]IgorEisberg[/MENTION] (Big Thanks!!) to support Q deodex.

NOTE: O, P, and Q deodex. I found some interesting files when testing the new deodex function. On some firmware, there are vdex files with no matching apk. Some of the vdex files contain classes.dex, and others do not. For the ones with classes.dex, the new function will extract the dex and create a new apk file including the dex. I am not sure what to do with the vdex files with no dex. As it is right now, they are skipped and the vdex files are left in the ROM. If anyone knows a better way (or the right way) to handle these situations, please let me know.

NOTE2: The new ozip_decrypt plugin converts ozip firmware files to zip files extractable by the kitchen. It requires v3.1.9.5 to work, as the pycrypto module required to use the plugin does not exist in earlier kitchen versions. Thanks to bkerler for the tool used in the plugin.
[SuperR Kitchen] SuperR.:
v3.1.9.6

Changes:

Prevent O, P, and Q deodex function from creating empty jar and apk files if there are no cdex/dex in a vdex file.
[SuperR Kitchen] SuperR.:
v3.1.9.7

Changes:

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 O, P, and Q deodex deleting framework/oat directory from other projects.

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

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

NOTE: If you want to use the system_root mount point with an existing project after the update, simply change perm types to something else and back to what you want before building your ROM.

Special thanks to [MENTION=1649452]geiti94[/MENTION] for hours of testing and reporting :)
[SuperR Kitchen] SuperR.:
v3.1.9.8

Changes:

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.

Updated checksum for Android Image Kitchen v3.6 by [MENTION=4544860]osm0sis[/MENTION].

Fixed nasty bug in make_ext4fs that allowed a file to have a context belonging to another file.

Windows: Removed the use make_ext4fs.exe option from the Misc Tools menu.

Windows: Finally, a fully native make_ext4fs.exe - one option to rule them all.

Windows: Include files from *_exfiles when building an EXT4 img - no more system_exfiles directory in the ROM zip for sparse_dat and raw_img.

NOTES:

The new make_ext4fs binaries will not work in older kitchen versions. This means new installs of v3.1.9.7 and older will have issues building ext4 img files. You have been warned :)

Thanks to anpaza for the fork of my make_ext4fs repo that enables mingw builds!

EDIT: I am not sure why, but after the update (only tested on Windows so far) the new make_ext4fs.exe is not downloaded. You can fix this by going to Misc Tools > Reset all Tools. Sorry for the inconvenience and I will try to figure out what is going on there.

Should be fixed now
[SuperR Kitchen] SuperR.:
v3.1.9.9

Changes:

Add symlink permissions to fs_config during ext4 extraction to avoid make_ext4fs messages about using defaults.

Windows: system_exfiles directory is gone for good.

Windows: Fixed ext4 img build when file_contexts3 does not exist.

Windows: Fixed ext4 img build failing to find file contexts for sym.srk files.

Windows: Fixed files named the same with different cases not making their way into the ext4 img.

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.

NOTE_1: IMPORTANT FOR WINDOWS USERS!

After updating to v3.1.9.9, you will need to extract your firmware again starting fresh. There have been changes to file locations within the project directory, and changes to the config files used to build ext4 img files. If you do not extract fresh before building, there may be problems. You have been warned :)

NOTE_2:

When you run the kitchen next (v3.1.9.8 and earlier), it will tell you this version has been disabled. If you are not attempting a fresh install, it will offer to update from the same screen. The reasons for this are simple. This update is important, and everyone should be running it. There are users still running v3.1.7.9, which is the last time I disabled previous versions. There are users still attempting fresh installs of 3.1.8.6 (which does not work by the way). The latest make_ext4fs.exe binary will not work on v3.1.9.8 and earlier. The previous make_ext4fs.exe binary will not work on v3.1.9.7 and earlier. All of this is confusing for some users. To get it all behind us and clear the air, only v3.1.9.9 and up will work moving forward.

NOTE_3:

Sorry for the inconvenience all of this may cause you, but in the end it is worth it :)

Thanks to [MENTION=3931450]dr.ketan[/MENTION] for testing many things in this update :)
[SuperR Kitchen] SuperR.:
HAPPY NEW YEAR!!!

v3.2.0.0

Changes:

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

Fixed custom directory not getting included in the updater script.

Fixed custom directory mount path not including / before it.

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

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

Complete rewrite of set_metadata generator for projects that have file_contexts3-* and fs_config-*.

Fixed set_metadata lines getting messed up when there are spaces in a file name.

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.

Fixed deodex errors on Android 10 when there is no dex data in the vdex file.

Windows: Fixed set_metadata ROM zip not including files with same name and different cases.

NOTE:

Some of the fixes in this update are in the updater-script. If you have an existing project and would like to take advantage of these fixes, you can change perm types to something else and back to what you want. This will force regeneration of the updater-script.

Big thanks to [MENTION=5750672]Er. Aditya[/MENTION] and [MENTION=3931450]dr.ketan[/MENTION] for testing and information :)
[SuperR Kitchen] SuperR.:
v3.2.0.2

Changes:

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.

Added update-binary script variables for partitions from configure.sh.

Fixed several issues with update-binary script conversion.

Extract prism.img from Samsung firmware if it exists.

Fixed possible crash when choosing set_metadata perm type.

Zipalign is no longer in the Misc Tools menu.

Updated apktools plugin to include zipalign and to stay in the plugin after running an option.

Fixed crash in the xiaomi_patch plugin if a file we are trying to patch does not exist.

New plugin: custom_zip, for creating a custom flashable zip from a directory.

Deprecated partition_zip plugin in favor of the new custom_zip plugin.

New plugin: lg_tools, for unpacking LG kdz files and removing RCTD.

Deprecated lg_rctd_remove plugin in favor of the new lg_tools plugin.

Thanks to [MENTION=3043743]ehem[/MENTION], [MENTION=1157052]thecubed[/MENTION], and [MENTION=5545101]steadfasterX[/MENTION] for kdztools!

NOTE_1:

The following updated/new plugins will not work (either not completely or not at all) with previous kitchen versions:

add_remove_files, amlogic_unpack, apktools, aroma_install, custom_zip, decrypt_htc, gapps, gen_set_metadata, lg_tools, mods_install, ozip_decrypt, rockchip_unpack, samsung_tools, sepolicy_injector, xiaomi_patch

NOTE_2:

I finally updated the Plugin description thread (formerly Plugin Repo thread) to briefly describe all the plugins.
[SuperR Kitchen] SuperR.:
v3.2.0.3

Changes:

Added option for temporary offline authorization.

Rearranged Misc Tools menu to accommodate Offline Authorization Menu.

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.

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

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

Fixed crash during img extraction if running the Linux kitchen 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.

NOTES:

Offline authorization will allow you to log into the kitchen for a maximum of 3 days without internet access.

You can enable/disable/renew offline authorization from Misc Tools > Offline Authorization Menu. Renew will reauthorize the kitchen and begin a new 3 day cycle any time and as many times as you wish. Please note, both enabling and renewing offline authorization require an internet connection.

If you are using the kitchen at the time of expiration, you will receive a message that offline authorization has expired and be presented with an option to renew or quit. Current kitchen operations will complete and will not be interupted by the message. If you are not using the kitchen at the time of expiration, the next time you log in it will automatically renew if an internet connection is present.

Finally, offline authorization will automatically renew during kitchen updates.

Before complaining about this new feature, please understand that this is a compromise. If you do not wish to use this feature, simply do nothing and online authorization will continue as usual.

If you have questions about offline authorization or any other authorization issues, please send a PM (private message) or join the chat room found on the kitchen downloads page.
[SuperR Kitchen] SuperR.:
v3.2.0.4

Changes:

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 @osm0sis to v3.7.

Updated Busybox installer by @osm0sis to v1.31.1.

Fixed a couple code derps.

updateapp plugin: Check for files with duplicate names in UPDATE.APP and append file names with _2 to avoid overwriting the first.

updateapp plugin: Added option to merge super_2.img with super.img if they both exist after splitting.

New plugin, ext4_build: Allows rebuilding ext4 img files that have been extracted by the kitchen even if there is not a complete ROM in the project.
[SuperR Kitchen] SuperR.:
v3.2.0.5

Changes:

Improved security.

All previous versions of the kitchen have been disabled, and you will need to update. Sorry for the trouble.

EDIT: Looks like the updater is not working from the disabled version screen. A fresh install will solve the issue for now. I will work on getting this fixed for the next release.
[SuperR Kitchen] SuperR.:
v3.2.0.6

Changes:

Fixed the kitchen updater when accessed from the disabled versions page.

Fixed some users not being able to log in.

Minor security fixes.

NOTE: The fix for the kitchen updater will only happen once you are running v3.2.0.6 and a version gets disabled. It will not fix anyone running a lower version right now. A fresh install is still the best option if you are not currently running v3.2.0.5. v3.2.0.5 users should be able to update as normal to v3.2.0.6.
[SuperR Kitchen] SuperR.:
v3.2.0.7

Changes:

Fixed more users not being able to log in to the kitchen.

super_build plugin: Accept "img_size_system" and "size-system" style srk.conf entries, and ask which to use if both exist.

super_build plugin: Added option to set "metadata-slots" in srk.conf (default is 2).

super_build plugin: Added option to set "metadata-size" in srk.conf (default is 65536).
[SuperR Kitchen] SuperR.:
v3.2.0.8

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 crash if there is no internet connection during startup when offline authorization is disabled.

Windows: Attempted to fix a permissions issue when unpacking AIK during kitchen installation.

Windows: Fixed super.img extraction for some firmware (see the next post for important details).
[SuperR Kitchen] SuperR.:
v3.2.0.9

Changes:

Fixed typo in super.img extraction error message.

Improved security.

NOTE: I am truly sorry about this, but all previous kitchen versions have been disabled again. Please believe that I am even less happy about the disabled versions than you are. The good news, if you are running v3.2.0.6 or higher, updating from the disabled version screen should work properly now.
[SuperR Kitchen] SuperR.:
v3.2.1.1

Changes:

Linux/Mac/WSL2: Fixed mount extract adding rootfs context for /system on system-as-root firmware.

Linux/WSL/WSL2: Fixed img files built with e2fsdroid hanging when extracted with Python.

Linux/WSL/WSL2: Enable shared_blocks ext4 feature if the original firmware img has it enabled (e2fsdroid).

Linux/WSL/WSL2: Get ext4 features and info from the original img for the new build using tune2fs (e2fsdroid).

Added option to extract new.dat and new.dat.br from the extract menu when they are not packed in a zip.

Fixed new.dat conversion on partitions with a period in the name.

Thanks to @HassanMirza01 for pointing out issues and testing fixes :)
[SuperR Kitchen] SuperR.:
v3.2.1.2

Changes:

Fixed extracting 7z files that contain files/directories with spaces in the name.

Fixed WSL2 getting recognized as native Linux on rare occasions.

Fixed regression where old ROM files/directories are not moved before extracting new.

Fixed ozip plugin regression that causes a crash since v3.2.1.0.

Detect spaces in manually created project names and replace with underscore.

Linux/WSL1/WSL2: Added srk.conf option to include or not include the shared_blocks feature in img builds (e2fsdroid).

Linux/WSL/WSL2: Hopefully fixed sparse img builds for low RAM PCs (e2fsdroid).

Linux/Mac/WSL2: Use auto for mount filesystem type argument instead of ext4, which should allow extracting any filesystem type your kernel supports.

Added message when not installing the latest version of the kitchen and ask if you wish to continue anyway.

Show update available text in the main menu when an update is available (only shows after an online authorization occurs and only if there is an update).

WSL1: Added warning encouraging to upgrade to WSL2 for full capabilities.

Windows: Added warning that the Windows kitchen is being phased out and encouraging a WSL2 install.

WSL2: Added warning if the kitchen is not being installed or updated in the /home directory.

Added img2simg to all platforms.

NOTE: In general, the Linux/WSL2 Kitchen gathers information about the original ext4 img when it is building a new ext4 img and uses this information for the build. One of the things it gathers is ext4 features, and the kitchen tries to match the original as close as possible. One feature you may or may not want in your img is shared_blocks. I am not exactly sure what all it does, but one thing it does is make the partition read-only on the device. This may not be desirable, so now you can exclude it from the build even if it is in the original. Open the file kitchen/tools/srk.conf in a text editor and add the line shared_blocks=No. On the other hand, if you want it included in every build you can add shared_blocks=Yes. Save the file and build your img. If you do not add a shared_blocks configuration, the default is to include the feature if it is included in the original img.

Thanks to @HassanMirza01 and @dr.ketan for testing and help :)
[SuperR Kitchen] SuperR.:
v3.2.1.3

Changes:

Linux/WSL1/WSL2/Mac: Added command line options for some kitchen functions, and will expand functions in future releases.

Linux/WSL1/WSL2/Mac: Call the main kitchen launcher from anywhere, no need to cd into kitchen directory anymore.

Allow extracting img.lz4 files from the main extract menu.

Moved the partition extract list to kitchen/tools/srk.conf to allow adding/removing partitions that are extracted from your firmware.

Windows: Add message during install/update that this is the final release.

Windows: Disable kitchen updater.

NOTE_1: This is the final release for the native Windows kitchen. R.I.P Windows :D

NOTE_2 (Linux/WSL/WSL2/Mac): The new command line options are a result of all the requests for a way to build img files outside of the kitchen. Now there is a way to do exactly this. You can also unpack img files, deodex, remove dm-verity, and remove forceencryption in this first release.

Examples:

Dedicated Kitchen CLI thread
[SuperR Kitchen] SuperR.:
v3.2.1.4

Changes:

Check downloaded language files for errors, and provide a message if errors are found.

Added support for extracting firmware that contains super.new.dat/br files.

Linux/WSL/WSL2: Fixed super.img unpack for some newer firmware.

Added configuration option (create_missing_symlink_dirs) in kitchen/tools/srk.conf to allow skipping symlink creation if the parent directory does not exist.

Added super.img build to the main kitchen build menu.

Keep track of img files in a super.img during unpack, and ask if you want to include them when building a new super.img.

CLI: Simplified commands; -f can be used instead of --function; -p can be used instead of --project; -p superr_project-name is all that is required, no more absolute path.

CLI: Improved checking for user command errors.

CLI: Added unpack and pack super.img commands.

CLI Examples:

Dedicated Kitchen CLI thread
[SuperR Kitchen] SuperR.:
v3.2.1.5

Changes:

Fixed Boot/Recovery menu options, a regression from v3.2.1.3+.

Added config option to exclude ext4 features from new builds even if they exist in the original img.

Added config option to include ext4 features in new builds even if they don't exist in the original img.

CLI: Automatically enable offline authorization during CLI operations, and disable if it was not already enabled.

NOTE_1:

To use the new EXT4 feature include/exclude, you need to add lines to the file kitchen/tools/srk.conf.

To exclude ext4 features:

ext4_features_exclude=feature1 feature2

To include ext4 features:

ext4_features_include=feature1 feature2
[SuperR Kitchen] SuperR.:
v3.2.1.6

Changes:

Linux/WSL2/WSL: Fixed img build by eliminating tune2fs, previously responsible for retrieving ext4 information from original img files.

Linux/WSL2/WSL: Better handling of EXT4 features during img build.

Linux/WSL2/WSL: Improved error logging for img build.

Greatly improved speed of calculating raw partition size from a sparse img file during super.img build.

Added option to build super.new.dat/br in the kitchen and the CLI.

Added option to build raw super.img in the kitchen and the CLI.

Minor performance fixes.
[SuperR Kitchen] SuperR.:
v3.2.1.7

Changes:

Added option to build super.img.lz4 in the kitchen and the CLI.

Changed the order of Samsung firmware extraction to require less disk space while unpacking everything.

Updated Android Image Kitchen by @osm0sis to v3.8.

Less annoying handling of old saved passwords.

Allow using offline authorization for a fresh kitchen install.

CLI: Improved argument parsing.

CLI: Cleaned up the -h/--help menu to actually make it useful.

CLI: Under-the-hood modifications to make future updates much easier for me hehe.

NOTE:

Some of you may have noticed a new link at the bottom of the kitchen downloads page, "Generate offline authorization key". It will generate an auth.key file, same as the one the kitchen creates when you enable offline authorization. This file will allow offline authorization, even on a fresh install of v3.2.1.7 or higher. This does not mean the kitchen will run fully offline, it still needs to download packages during a fresh install. Authorization seems to be difficult for some people in some areas of the world. Hopefully this will help :)

If you are able to log in normally, it is still much more convenient to use the built-in offline authorization. The new key generation link will only help anyone constantly seeing "The Kitchen could not detect an internet connection". Just like the built-in version, it only lasts 3 days, but at the end you need to generate a new key and replace the old one. Not a huge problem if this is the only way you can use the kitchen, but certainly more time and steps with no benefit.
[SuperR Kitchen] SuperR.:
v3.2.1.8

Changes:

Squashed some misc bugs that may cause crashes.

Fixed super.img.lz4 build, was not compressing to lz4 in the interactive kitchen.

Added option to build partition.img.lz4 files from the interactive kitchen build menu.

Added --group main to super.img builds.

Default to metadata-slots 1 instead of 2 since the kitchen does not support A/B slots in super.img currently.

Allow building a super.img using raw img files.

Allow a mix of raw and sparse img files for building super.img.

Removed support for user-created Python plugins (Bash is still supported).

Fixed Busybox download.

Allow setting global manual img sizes in kitchen/tools/srk.conf (00_project_files/srk.conf overrides global).

Added option to run a command after building a full ROM zip. In kitchen/tools/srk.conf, add run_end_command=command args

CLI: Check for manual img sizes in project conf, then in global conf, and finally original img size (manual img size is defined with img_size_partition=1234567).

img_tools plugin: Fixed crash running the plugin when offline authorizaion is enabled.

img_tools plugin: Changed the display order of ext4 img information to match the order in the ext4 header.

img_tools plugin: added options to build partition.new.dat/br and partition.img.lz4.

img_tools plugin: Support ext4 information option on Mac.

Thanks to @HassanMirza01 for help with super.img and suggestions/testing the global img size parameters.

NOTE: The new img_tools plugin will not work in the outdated native Windows kitchen. This is not intentional, but required to continue development. The plugin relies on internal kitchen functions that do not exist in the native Windows kitchen. This is the first plugin to lose Windows support, but will not be the last. samsung_tools will be next. The current plan is to store a copy of the last versions working in Windows in the plugin descriptions thread.

edit: Forgot to mention the option to run commands after the full ROM build. Added in the changelog above.