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

Changes:

Added support for building A/B super.img.

Auto-detect A/B super.img during extraction and set up configuration for building new A/B super.img.

Added per-project configuration (00_project_files/srk.conf) for super.img group name/names; defaults are metadata-group=main[_a] and metadata-group2=main_b.

Linux/WSL/WSL2 (e2fsdroid): Fixed crash when building img files if an original img does not exist in the project directory to match the partition being built.

Added plugin name to plugin.log traceback message.

Updated plugin reinstall text in the English language file.

samsung_tools plugin: Added Mutidisabler option, inspired by the work of @ianmacd on his flashable Multidisabler zip and @ZonalRipper on his sammy_disarm script.

NOTE: As mentioned in the last release post, the samsung_tools plugin would be the next to lose native Windows support. That time has come. The last working version of the samsung_tools plugin for native Windows has been added to the out-of-date archive found here.

For everyone else, the new plugin will work on v3.2.1.8 or higher. It will automatically update during the kitchen update, or you can update all plugins from the plugin manager.
[SuperR Kitchen] SuperR.:
v3.2.2.0

Changes:

Get group names, slot count, and max metadata size from the original super.img during extraction and add to project config.

Use configuration values from the original super.img for building new super.img.

Changed internet check address from google.com to sr-code.com.

Changed no internet error message to indicate having issues connecting to sr-code.com since you probably have an internet connection.

Added information to the not authorized error message to inform about going to the downloads page and clicking on reset PC authentication.

CLI: Create img.lz4 files named the same as the original firmware files (system.img.ext4.lz4 for example); The img extension is configurable in project config with img_extension=.img.ext4, will be configured automatically during firmware extration, and can be changed any time.

samsung_tools plugin: Added the same feature as listed above for CLI.

img_tools plugin: Added option for lpdump style super.img information.

NOTES:

The new samsung_tools plugin and the new img_tools plugin require kitchen v3.2.2.0 or higher. They will be automatically updated during the kitchen update.

Regarding super.img, group names, slot count, and max metadata size, the defaults are still the same as v3.2.1.9 (scroll up to see them). The difference now is that if we can retrieve them from the original we probably should, so this is what we do. You can still modify them to whatever you wish before building, but the values recorded during extraction of the original firmware may not be the defaults. If we can't retrieve the metadata from the original super.img, then we use the defaults.

The internet check address change is a hopeful attempt to help users with the no internet connection error. In case google.com is blocked in your location, it might return not found and provide an error to you. If this change causes more issues, please let me know and I will change it back to google.

Finally, my time is about to be limited. I will continue to work on the kitchen and respond to inquiries in my free time, there will just be less of it. If anyone feels like jumping in to answer questions in the thread, it would be appreciated :)
[SuperR Kitchen] SuperR.:
v3.2.2.1

Changes:

Fixed possibility of a super.img group being named default during extraction, which will fail to build because default group is automatically created and there cannot be 2 groups with the same name.

Added option to use a custom lpmake binary and add additional arguments to the command.

Added support for extracting ext4.lz4 files from the extract menu.

Added support for building img.lz4 files with their original extension (system.img.ext4.lz4 for example) from the build menu.

samsung_tools plugin: Updated to use the new syntax of the kitchen lz4 function.

NOTES:

Right now, the kitchen uses the superp binary located in linux_tools or mac_tools to pack super.img. Now you can add your own lpmake binary to these directories in case superp is out of date and you need new features. It must be named lpmake. You can also add additional arguments when using your own lpmake binary. In project configuration (00_project_files/srk.conf), you can add lpmake_add_args=--new_arg here and these arguments will be added to the exsting kitchen arguments.

The new samsung_tools plugin will only work with v3.2.2.1 and above.
[SuperR Kitchen] SuperR.:
v3.2.2.2

Changes:

Log errors in ext4_extract.log when attempting to determine file permissions from a mounted ext4 img file.

Add support for extracting super_new.img.

Changed hosting locations for all kitchen downloads.

NOTE: This was an emergency release due to the kitchen downloads no longer working on Bitbucket. There has not been much testing on any of the new features. My apology if there are issues, but it should be ok.
[SuperR Kitchen] SuperR.:
v3.0.2.0

Changes:

Fixed odex.xz files crashing the kitchen.

Added option to remove asserts from ROM.

Do not use fstab with .fota in the name.

Use 7-zip (included) to pack all flashable zips in Windows and WSL.
[SuperR Kitchen] SuperR.:
v3.0.2.1

Changes:

Windows/WSL: Back to Python zipfile() module for compressing flashable zips.

Linux: Fixed the error created in last update unpacking AIK when fresh cloning.

Added check for / at the beginning of bloat_custom lines before deleting to be sure we only delete paths relative to the project directory.
[SuperR Kitchen] SuperR.:
v3.0.2.2

Changes:

Linux: Fixed crash when ls -Z does not output file context, and we iterate file_contexts file.

Linux: Fixed failing to get directory contexts from system.img.

Linux: Fixed directory symlinks not being created.

Fixed boot.img line not being removed from updater-script on Pixel/XL devices.

Fixed debloat not removing all files in bloat list.

Fixed file_contexts file not including / and /d.

Updated Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION] to v2.8.
[SuperR Kitchen] SuperR.:
v3.0.2.3

Changes:

Fixed crash if trying to extract an img file when there is no build.prop.

Added support for sec_omc.zip files in newer cache.img like gs8.

Windows: Fixed files not being extracted from system.img.

This fixes a huge problem extracting some system.img files in Windows. If you are running on Windows I strongly recommend extracting your system.img again to be sure all your files are there :)
[SuperR Kitchen] SuperR.:
v3.0.2.4

Changes:

Windows: New icon for the launcher, and smaller size.

WSL: Fixed img files not extracting.

Windows: Fixed line ending in configure.sh

WINDOWS NOTE: You will need to change perm types to something else and back to whatever you want to use for any projects extracted before this update. Otherwise the old configure.sh file will be used.
[SuperR Kitchen] SuperR.:
v3.0.2.5

Changes:

Fixed cache.img not being extracted from tar.md5 when not contained in a zip.

Look for and extract system and cache .img, .img.ext4, and .ext4 from tar.md5 files.

Linux: Fixed some AIK 2.8 binaries not being marked executable after extraction.

Windows: Fixed crash when extracting system.img due to currently unknown error, and log the line that causes the error.
[SuperR Kitchen] SuperR.:
v3.0.2.6

Changes:

Fixed /data always including itself in raw_img roms.

Fixed extra partitions such as /vendor not being included in raw_img roms even if you want them.
[SuperR Kitchen] SuperR.:
v3.0.2.7

Changes:

Fixed smali/baksmali crash when there is no apkname__classes.dex and we try to rename it.
[SuperR Kitchen] SuperR.:
v3.0.2.8

Changes:

Fixed crash when extracting zips containing AP and CSC tar.md5 files.

Add metadata lines for everything in /system/bin recursively.

Updated configure.sh to hopefully make it more compatible with more devices.

Fixed adb partition size detection.

NOTE: In order to use the new configure.sh, the easiest way is to change perm types to something else, and back to whatever you want to use.
[SuperR Kitchen] SuperR.:
v3.0.2.9

Changes:

Fixed crash if we don't get device name from an adb extraction.

Use capital SYSTEM when needed while extracting with adb.

Look for a good place for extraction on device when using adb booted in Android.

Look for img files to adb pull when booted in Android.

Fixed crash while unpacking recovery.img.

Fixed crash when extracting system.img that includes /system/bin/[.
[SuperR Kitchen] SuperR.:
v3.0.3.0

Changes:

Windows: Hopefully fixed adb extract on most devices when booted in Android.
[SuperR Kitchen] SuperR.:
v3.0.3.1

Changes:

Fixed custom zip not showing status on screen after offering to convert to update-binary.

Fixed Pixel/XL slot detection in configure.sh.

Linux: Fixed Pixel/XL symlink failure when flashing (Windows fix coming soon).

At least set_metadata should be working on Pixel devices now. Thanks to [MENTION=2545403]chevycam94[/MENTION] for testing. It is best to extract your system.img fresh on Pixel devices after the update.

edit: "Fixed Pixel/XL symlink failure when flashing." This is not fixed in Windows yet. Sorry. Will get it fixed ASAP
[SuperR Kitchen] SuperR.:
v3.0.3.2

Changes:

Windows: Fixed Pixel/XL symlink failure when flashing.
[SuperR Kitchen] SuperR.:
v3.0.3.3

Changes:

Updated plugin url to work with new file server.

NOTE: Installing plugins from the plugin manager might not work properly until you update the kitchen.
[SuperR Kitchen] SuperR.:
v3.0.3.4

Changes:

Windows: The kitchen launcher now calls python3 instead of python.

Windows: All internal Python calls to external programs call the appropriate python/python3.

Fixed issue with custom asserts.

IMPORTANT FOR WINDOWS USERS!!!

The kitchen will not work properly after this update unless you rename the Python3 python.exe to python3.exe. The attached tiny Python program will do this for you if you installed Python3 in the default location. If you installed to a custom location, you will need to manually rename the file. Do not rename the file until after the kitchen updates and exits. If you do, you will need to run the kitchen manually using "python3 superr" in order to get the update and use the launcher again.

The reason for this, is to accommodate for installing both Python2 and Python3 in Windows and distinguishing between them in the command line. The file rename is required for kitchen use after this update, but you don't have to install Python2 if you don't care about building sparse_dat roms.

If you are reading this now and see people complaining about the kitchen not running after the update, please help me out by informing them to read about the file rename in the OP or this post. Thanks :)

edit: Updated the program to delete Python3 pip.exe. We need to use the pip3 command to install Python3 modules.

Usage instructions for python3_exe_rename:

Download the attached file

Extract exeren.py from the zip

Open cmd.exe or powershell to the directory with exeren.py

Run the following command to run exeren.py

python exeren.py
[SuperR Kitchen] SuperR.:
v3.0.3.5

Changes:

Fixed crashes when dealing with boot.img and possibly others.

Sorry about that for any of you that were affected. Same things still apply to the post above :)
[SuperR Kitchen] SuperR.:
v3.0.3.6

Changes:

Fixed dm-verity not being removed on some devices.

Fixed by-name not being correctly detected on some devices.

Added mofd_v1 to the fstab ignore list.

Fixed fstab not being detected and hanging if /system is not in any existing fstab.

Happy Holiday to those celebrating :)

Now that the poll is closed, 60% of you say the Python kitchen needs a few tweaks before it is as stable as the Bash version. After this update, I don't know what to fix lol. Now I need your help to know where the problems are so I can get them sorted out. Feel free to PM or post here if there are things that still need fixing. Thanks :)
[SuperR Kitchen] SuperR.:
v3.0.3.7

Changes:

Added /data mount and unmount commands when /data/app is enabled.

Fixed a few occurrences of SYSTEM and APP devices using system.
[SuperR Kitchen] SuperR.:
v3.0.3.8

Changes:

Updated SuperSU to v2.82-SR1.

Linux: Fixed kitchen hanging when trying to delete a project that contains an unpacked boot.img with root owned files.

Fixed crash if ro.build.display.id does not exist in build.prop.
[SuperR Kitchen] SuperR.:
v3.0.3.9

Changes:

Removed build.prop requirement when unpacking boot.img.

Upper and lower case responses are now accepted in all menus and prompts.

Linux: Fixed init.d being owned by root after adding it.

Fixed extracting tar/win files that were created using absolute paths.

Windows: Fixed symlinks not being created and causing a crash when extracting tar/win files.
[SuperR Kitchen] SuperR.:
v3.0.4.0

Changes:

Install all modules automatically when the kitchen is run.

Added md5 check of tools after kitchen update to see if they need to be updated.

Windows: Fixed only getting symlinks from the 1st volume when extracting multi-volume tar/win files.

Linux: Fixed AIK install crashing on fresh kitchen clone.
[SuperR Kitchen] SuperR.:
v3.0.4.1

Changes:

Added md5 check for SuperSU.zip and Busybox.zip after update.

Sorry, I completely forgot about Busybox and SuperSU when I did the md5 check

What is this md5 check? It solves a problem I created in the beginning of the Python kitchen when I chose to have all the tools download separately from the git repo. You may have noticed the kitchen randomly downloads new tools after an update (mostly Windows users since the Linux tools have not changed in a while). When I update tools, I tell the kitchen to delete the tools and get fresh ones when you restart the kitchen after an update. If I update the kitchen again the next day, many people have not updated yet so I tell the kitchen to delete the tools and get fresh ones again. This time however, several people have already gotten the new tools from the first update and are required to download them again. The md5 check solves this problem by comparing your tools md5 with the md5 from the newest tools. If they all match, no new tools are downloaded. If something does not match, we download new tools :)

At least now we get to see if the first md5 checks are working. Better to find out now than later :)

edit: Update from v3.0.4.0 to v3.0.4.1 went as expected on Windows. No tools were updated :)

If you are updating from v3.0.3.8 or earlier, you should reset tools from the Misc Menu after the update. This problem will also be solved once everyone is on this update :)
[SuperR Kitchen] SuperR.:
v3.0.4.2

Changes:

Exclude .ftm from fstab list.

Fixed crash when creating support.zip.

Tried to fix crash when extracting from adb on some devices.
[SuperR Kitchen] SuperR.:
v3.0.4.3

Changes:

Fixed update-binary conversion not working with configure.sh.

Fixed several other major issues with update-binary conversion.

Switched from native Windows/Linux commands to Python command for moving directories.

Added cache.img to the adb pull list for Samsung devices.

Fixed crash when we try to install a plugin but the server is down.

NOTE: There were serious problems with the update-binary conversion. It must not have been working since I switched to configure.sh partition detection in the zip (yes...a long time ago). Should be working properly now :)

In addition to the updates above, I added the partition_zip plugin to the plugin manager. Now it allows converting to update-binary. This means you can use the mods_install plugin to add partitions to your rom zip (totally untested FYI) :)
[SuperR Kitchen] SuperR.:
v3.0.4.4

Changes:

Don't adb pull cache.img when extracting from Samsung devices.

Fixed crash if there is no csc.zip in the cache.img when extracting Samsung firmware.
[SuperR Kitchen] SuperR.:
v3.0.4.5

Changes:

Per-project custom debloat is now possible by adding bloat_custom file to your 00_project_files directory.

NOTE: We now have a global /tools/root/bloat_custom file that you can override with a local 00_project_files/bloat_custom. In other words, the kitchen always chooses 00_project_files/bloat_custom when available. If not, it will use /tools/root/bloat_custom. It will not use both.
[SuperR Kitchen] SuperR.:
v3.0.4.6

Changes:

Find and use latest version of Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION] instead of using a predefined link.
[SuperR Kitchen] SuperR.:
v3.0.4.7

Changes:

Find and use latest Busybox installer by [MENTION=4544860]osm0sis[/MENTION] instead of using a predefined link.

Updated Busybox md5 to v1.26.2 by [MENTION=4544860]osm0sis[/MENTION].

NOTE: When I update the md5, the existing Busybox.zip will be removed during the update. The next time you add Busybox to a rom the latest Busybox.zip will be downloaded and used.
[SuperR Kitchen] SuperR.:
v3.0.4.8

Changes:

Added support for the new plat/nonplat_file_contexts in Android O DP4.

Improved get_contexts function to parse the wildcards provided in *_context files.
[SuperR Kitchen] SuperR.:
v3.0.4.9

Changes:

Windows: Speed and accuracy improvements to file_contexts in updater-script.

Windows: Sort symlinks.

Windows: Fix /egl symlinks missing the /.

Fixed crash and properly handle new java -version output.

Added per-project option to set rom zip compression level in file 00_project_files/rom_comp_level.

NOTE: If you want to set your rom compression level, create a file named "rom_comp_level" inside your 00_project_files directory. The only thing in the file should be a number from 1-9, with 9 being the highest compression level. Save the file and build your rom as normal. Default is 6. This feature is mainly for testing so it may disappear in the future. If you don't want to use it simply don't add the file :)
[SuperR Kitchen] SuperR.:
v3.0.5.0

Changes:

Use 7-zip for all zip compression.

Added logging to all zip compression operations
[SuperR Kitchen] SuperR.:
v3.0.5.1

Changes:

Added option to download/install language translations.

Added Chinese to the language downloads.

Windows: Fixed language check overwriting the new language file.
[SuperR Kitchen] SuperR.:
v3.0.5.2

Changes:

Fixed system.ext4.win extraction when there are .win.sha2 files in the directory.
[SuperR Kitchen] SuperR.:
v3.0.5.3

Changes:

Fixed system.ext4.win extraction when there are recovery files in the directory.
[SuperR Kitchen] SuperR.:
v3.0.5.4

Changes:

Windows: Added per-device/per-api capabilities files to the device database (tools/devices) that will be used if it exists.

LINUX USERS: The Windows users need your help! We need to get as many capability files for as many devices/APIs as possible. I created a plugin (get_file_caps) that will create these files from a system.img and put them in the correct place. It is now available in the plugin manager. All I need from you is to run the plugin on as many system.img as you can. It takes about 1-3 seconds each (assuming they are not sparse, longer to convert if they are). Once you have run the plugin on all the firmware you are willing to, go to Misc Tools and choose "Zip new devices to share". Then upload the new DEVICES.zip located in the main kitchen directory so I can add them to the kitchen.

Here are the devices/APIs I have included so far and I will continue adding them every time I download a new firmware:

A95X_R1_RTL - 23

angler - 26

bullhead - 25

C6603 - 21

D5803 - 23

dream2lte - 24

hero2lte - 24

heroqlteatt - 23

HWVIE - 23

j7xeltecmcc - 23

marlin - 25

noblelte - 24

on7xelte - 23

OnePlus3 - 25

warp2 - 16

z2_row - 24

zeroltetmo - 24

ZM1 - 23

If you are a Windows user and your device is not on the list, I can add it if you send a fast link to your system.img that does not require registration. If there is not a capabilities file for your device yet, the general capabilities file currently in use will be used instead.

edit: I may not reply to your post when you upload the DEVICE.zip file, but I will thank your post so you know I received the file :)
[SuperR Kitchen] SuperR.:
v3.0.5.5

Changes:

Fixed crash in oat2dex deodex method after choosing official oat2dex.

Fixed Lollipop deodex not removing arch directory.

Fixed Lollipop deodexing apps a second time when deodexing framework.

Windows: Added more capability files.

The full list of capability files is (the -25 etc. is the API):

A95X_R1_RTL/capfiles-23

angler/capfiles-26

bullhead/capfiles-25

bullhead/capfiles-26

C6603/capfiles-21

D5803/capfiles-23

dream2lte/capfiles-24

hero2lte/capfiles-24

heroqlteatt/capfiles-23

htc_ocnwhl/capfiles-25

htc_pmewl/capfiles-24

HWVIE/capfiles-23

j7xeltecmcc/capfiles-23

marlin/capfiles-25

marlin/capfiles-26

noblelte/capfiles-24

on7xelte/capfiles-23

OnePlus3/capfiles-25

sailfish/capfiles-26

warp2/capfiles-16

z2_row/capfiles-24

zeroltetmo/capfiles-24

ZM1/capfiles-23
[SuperR Kitchen] SuperR.:
v3.0.5.6

Changes:

Fixed crash when creating symlinks if the destination file already exists.

Fixed crash getting directory size when the directory contains symlinks.

Fixed crash in oat2dex method right after downloading official oat2dex.jar.

Fixed crash if app or priv-app directories do not exist while deodexing.

Fixed crash when deodexing if there is an app directory but no apk.

Windows: Added more capability files.
[SuperR Kitchen] SuperR.:
v3.0.5.7

Changes:

Updated md5 for Busybox Installer by [MENTION=4544860]osm0sis[/MENTION] to v1.27.1.

Added fileencryption to the forceencrypt removed list.

Added capfiles-23 and capfiles-24 for gts28vewifi.

Thanks to [MENTION=7874870]Xennet[/MENTION] for pointing out the new fileencryption in the fstab :)
[SuperR Kitchen] SuperR.:
v3.0.5.8

Changes:

Rename img files to lower case when choosing to extract img.

Add boot.img to updater-script and ROM.zip when building for Pixel/XL devices.
[SuperR Kitchen] SuperR.:
v3.0.5.9

Changes:

Updated SuperSU to v2.82-SR3.

Fixed apks not getting deodexed if system/app is in the path name but are not in /system/app.

Look for system/init.rc instead of system/default.prop for Pixel/XL firmware detection.

Pixel/XL updater-script: Added / in front of egl symlinks, allow /system/etc > /system/etc symlink.

Added at least partial support for Pixel/XL Oreo.

Added at least partial support for devices such as Odroid where the root partition contains the system files and ramdisk.

Properly handle file contexts if they are not found from the mounted system.img.
[SuperR Kitchen] SuperR.:
v3.0.6.0

Changes:

Fixed typo preventing vendor.new.dat from being created in sparse_dat roms.

Fixed /vendor/default.prop being modified instead of /default.prop on pre-Oreo Pixel/XL roms.

Updated make_ext4fs for Oreo.

make_ext4fs now uses pure AOSP permissions and capabilities.

Windows make_ext4fs is finally up to date (Huge thanks to [MENTION=2605798]nkk71[/MENTION] for fixing the cygwin build to make this possible).

Updated Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION] to v2.9.

NOTE: I removed the special capabilities that were added for the HTC 10. If you need these back, you can download this zip and replace the existing appropriate make_ext4fs binary.

For example, if you are running windows you would replace:

kitchen\\tools\\win_tools\\make_ext4fs.exe

In Linux you would replace:

/kitchen/tools/linux_tools/make_ext4fs