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

Changes:

Linux - Use custom fs_config file to build system.img if you extracted from a system.img, or if one exists in the devices database.

Windows - Use custom fs_config file to build system.img if one exists in the devices database.

Add current device directory to support.zip.

Moved devices database out of the repo, will be downloaded during first run.

Added option to Misc Tools to update device database.

Use SSL to download plugins.

NOTES: This is a big update for all devices! The master [MENTION=2605798]nkk71[/MENTION] took the time to write a new function of make_ext4fs for us. We now use a custom fs_config file, created from the original system.img you extract, to build your custom system.img. This means we now have control over the file permissions and file capabilities of kitchen built system.img. This will likely fix raw_img, sparse_dat, and system.img creation for most devices :)

The bad news is that only Linux users will be able to create these fs_config files. Don't worry Windows users, you can use the fs_config files created by Linux users and I have started creating a device database to store them for you. The /kitchen/tools/devices directory (AKA device database) is no longer part of the kitchen repo so it can be updated any time without a kitchen update. This way, if I add an fs_config file for your device you can go to Misc Tools and update the device database. The database will be updated on my server with new devices (if there are any) when I update the kitchen. However, YOUR database will NOT be updated automatically during a kitchen update. You will need to do this on your own at your leisure.

The work [MENTION=2605798]nkk71[/MENTION] has done on make_ext4fs is a very big deal. Oreo no longer allows set_metadata perm type and set_perm is long deprecated. That leaves us with sparse_dat and raw_img, which have only been reliable on Nexus devices...UNTIL NOW! Please consider sending a donation to [MENTION=2605798]nkk71[/MENTION]. He made this possible and very much deserves it :)

edit: You will need to use the new option "Misc Tools > Update device database" after the update to get the new database. Sorry for the trouble and thanks [MENTION=1162986]Captain_Throwback[/MENTION] for pointing this out :)

edit2: It may be best to do a fresh clone for this update. Sorry about this, but some things may get messed up during the update otherwise.
[SuperR Kitchen] SuperR.:
v3.0.6.2

Changes:

Fixed all device files being zipped when choosing to zip new device files.

Added option to upload new device database files directly from the "Zip devices/capfiles to share" menu.

Keep track of new devices you have already uploaded, do not keep track if they are not uploaded.

Added option to upload support.zip directly from the "Support: Create zip to send" menu.

Added XDA username question to be used in filenames when creating device and support zips so I can match uploaded files to xda posts more easily.

NOTE: You will need to update the device database this time. This should be the last time it will be required, but you can do it anytime you want. Misc Tools > Update device database

Please upload a support.zip any time you post with a problem. I have made it extremely easy now. Thank you :)
[SuperR Kitchen] SuperR.:
v3.0.6.3

Changes:

Linux: Fixed system.img extraction not creating fs_config if there are no capabilities.

Linux: Fixed vendor.img extraction.
[SuperR Kitchen] SuperR.:
v3.0.6.4

Changes:

Windows now creates fs_config files when extracting system.img ( [MENTION=2605798]nkk71[/MENTION] has done it again!).

Added fs_config status next to "Build system.img" in the Build Menu.

Windows and Linux both use 7-zip to extract img files.

Improvements to set_metadata perm type to be sure we get all files with capabilities into the updater-script.

Removed getcap dependency.

NOTE: Yes, you read that correctly... The kitchen can now read file capabilities from a system.img in Windows!!! Huge thanks goes to [MENTION=2605798]nkk71[/MENTION] once again! He wrote a new binary for us to get file permissions and capabilities from a system.img :) This means from now on, when you extract a system.img as your base in Windows and Linux, all the correct permissions and capabilities will be used in your ROM. This will be most beneficial if you are building raw_img or sparse_dat, but also benefits set_metadata.

If you are not extracting a system.img as a base, the kitchen will look for a config file for your device and api level in the database. If there is no config file, a default set of permissions/capabilities will be used.

If you want to support the amazing work of [MENTION=2605798]nkk71[/MENTION], please send a donation his way. None of these fantastic improvements would be possible without him :)

NOTE2: It is important that your tools get updated this time. If it does not seem like new tools downloaded after the update, go to Misc Tools > Reset all tools.
[SuperR Kitchen] SuperR.:
v3.0.6.5

Changes:

Use sysXtract by [MENTION=2605798]nkk71[/MENTION] to extract img files, and use 7-zip as a backup.

Linux: Use all 64-bit binaries on 64-bit systems.

Fixed crash when deodexing firmware that contains /system/vendor/framework that is already deodexed.

Added check to be sure all files with non-standard file contexts get added to the updater-script for set_metadata perm type.

Use correct file contexts for /vendor in set_metadata updater-script.

Fixed root not being added to the updater-script after changing perm types if previously rooted.

Updated the update-binary script functions by [MENTION=4544860]osm0sis[/MENTION].

Added a slightly modified arch detection by [MENTION=4470081]topjohnwu[/MENTION] to the update-binary script to include the correct libs for 64-bit Android when setting metadata.

Modified set_metadata/_recursive functions to use the correct libs in the update-binary script.

Replaced package_extract_file and package_extract_dir functions in the update-binary script to improve extraction speed.

Improved on-device by-name detection in configure.sh by testing the path for system and boot.

Fixed crash when creating set_metadata updater-script from a system directory with no symlinks.

NOTE: It is important that your tools get updated again this time. If the kitchen does not prompt you to download new tools after the update, go to Misc Tools > Reset all tools :)

Thanks again to [MENTION=2605798]nkk71[/MENTION] for making another huge improvement to the Android community. This time he added the ability to extract the system.img and read the original file contexts and symlinks from it (even in Windows). Thanks also for the hours debugging unzip and shell functions :)

Thanks [MENTION=1162986]Captain_Throwback[/MENTION] for compiling aapt and zipalign for 64-bit Linux, and for the many hours identifying and helping to squash many more bugs :)
[SuperR Kitchen] SuperR.:
v3.0.6.6

Changes:

Fixed errors while packing dex into jar files when there are multiple dex files for the jar.

Hopefully fixed superr.exe getting removed by Windows Defender (thanks [MENTION=2605798]nkk71[/MENTION] for pointing out the double system call).

The kitchen now asks if you want to quit or restart when choosing quit from the menus or when the kitchen crashes.

Fixed symlinks ending up as set_metadata lines when the source files have non-standard file_contexts.
[SuperR Kitchen] SuperR.:
v3.0.6.7

Changes:

The new Quit/Restart now only requires a single key press.

superr.exe is even safer now according to VirusTotal.

FYI, superr.exe was never unsafe, but for some reason it set off many different virus scanners. I believe all that should be fixed now. Thanks [MENTION=2605798]nkk71[/MENTION] for the Windows launcher help :)

NOTE: You will need to do a fresh clone to get the new superr.exe if you are running Windows. You can't replace a file that is open in Windows, so if superr.exe is running it won't get updated.
[SuperR Kitchen] SuperR.:
v3.0.6.8

Changes:

Fixed crash if ro.build.display.id does not exist in build.prop.

Added support for extracting newer Motorola firmware packages.

Added /system/vendor/etc to fstab check locations.

Some code cleanup.

NOTE: Remember, the kitchen no longer updates the device database automatically. If you want the latest device database you can update it in the Misc Tools menu.
[SuperR Kitchen] SuperR.:
v3.0.6.9

Changes:

Windows: Added screen clearing with ability to scroll up to see the history (same behavior as Linux).

Linux: Removed getcap, stat, and some other unneeded dependencies.

Linux: Added check/error for running as root.

Look for device name in ro.build.description as a last resort to avoid crash.
[SuperR Kitchen] SuperR.:
v3.0.7.0

Changes:

Linux: Removed tput dependency.

Sort plugin list alphabetically.

Added support for detecting amlogic partition paths when choosing to Detect mmcblk partitions from recovery.img.

There is also a new plugin available "amlogic_unpack". Thanks to [MENTION=729663]lllboredlll[/MENTION] for pointing me in the right direction, and for providing info and firmware for testing :)
[SuperR Kitchen] SuperR.:
v3.0.7.1

Changes:

Updated img2sdat by @xpirt to version 1.5.

New update-binary for use in all perm_types, patched and compiled by @Captain_Throwback.

Fixed typo/bug when getting partition size through adb shell.

Fixed regression from #de161929 not allowing to unpack boot.img without unpacking rom first.

Updated smali, baksmali, and oat2dex to the latest commits.

Use 7-zip to extract zips instead of Python zipfile module.

Log all zip pack/unpack operations in 00_project_files/logs/zip.log.

NOTE: The new update-binary is mostly untested. You might want to keep a copy of the old one around somewhere in case you have any trouble. I hope the new one will fix some of the flashing errors we have seen lately. @Captain_Throwback patched it for v4 transfer list, minzip allowing for > 2GB zips, and set_perm so it should be the all-in-one solution. Let us know how it goes :)

NOTE2: The new update-binary will be used in all new roms. If you would like to use it in an existing project, you can change perm types to something else, then back to whatever you want to reset it. If you have made modifications and just want the new update-binary without resetting the updater-script, you can find it here:

kitchen/tools/updater/META-INF/com/google/android/update-binary

Then just replace the one in your project directory with the new one.
[SuperR Kitchen] SuperR.:
v3.0.7.2

Changes:

Fixed last update breaking the kitchen.

Updated SuperSU to v2.82 SR5.

Updated Busybox installer by [MENTION=4544860]osm0sis[/MENTION] to latest version.
[SuperR Kitchen] SuperR.:
v3.0.7.3

Changes:

Fixed SuperSU.zip download not working since their SSL cert expired.

NOTE: To make sure you have the latest SuperSU, you can either delete /kitchen/tools/root/root_zips/SuperSU.zip, or Reset all tools from the Misc Tools menu.
[SuperR Kitchen] SuperR.:
v3.0.7.4

Changes:

Fixed E:unknown command [] at the end of flashing due to tabs in the updater-script (thanks [MENTION=2605798]nkk71[/MENTION] for finding the solution).

edit: I should mention that your updater-script will not be fixed automatically. New projects will have the fix applied. I suggest extracting fresh if possible/easy. If not, then you can open 00_project_files and delete all files with assert in the name. Then change perm types to something else, then back to what you want. That should sort it out.
[SuperR Kitchen] SuperR.:
v3.0.7.5

Changes:

Fixed m key press not taking you to the main menu from the extract menu.

Reverted to old screen clearing method for WSL.

Fixed file_contexts.bin conversion for some files.

Fixed TWRP backups without a system directory not extracting.

Linux (not WSL): Create fs_config files from TWRP *.win* and older *.tar backups.

Fixed crash when getting partition size through device.

Windows: Hopefully fixed getting partition size from device.

Replaced oat2dex latest commit with latest release.
[SuperR Kitchen] SuperR.:
v3.0.7.6

Changes:

Ignore data.ext4.win when extracting system.ext4.win.

Windows: Fixed crash when trying to get data from build.prop on le_x2 and possibly others.

Do not accept symlinks with non-ascii characters.

Fixed updater-script not changing by-name partition labels when required.

Added support for j3xnlte style by-name partition labels.
[SuperR Kitchen] SuperR.:
v3.0.7.7

Changes:

Really fixed updater-script not changing by-name partition labels when required.

Additionally, [MENTION=1162986]Captain_Throwback[/MENTION] has compiled a new update-binary. You will find it attached below. Please try it and let us know how it goes. We are particularly interested to know if zips larger than 2GB flash ok, and if the E:unknown command [] error is gone.

Please provide a recovery.log after flashing if you have issues. Thanks :)
[SuperR Kitchen] SuperR.:
v3.0.7.8

Changes:

Keep all adb shell calls inside quotes to avoid windows grep, tr, etc errors.

Hopefully fixed partition size through adb, again.

Added dependencies check for Windows.

Windows: Python2 is now a required dependency.

Removed extra mount command in sparse_dat updater-script (thanks [MENTION=3844620]firefds[/MENTION]).

Linux: Removed which dependency.
[SuperR Kitchen] SuperR.:
v3.0.7.9

Changes:

Fixed text input not allowing arrow keys.

Added text showing img size while building.

Log img2sdat and sdat2img operations in main.log.

Return and cleanup properly during sparse_dat rom creation if system.img build fails.

New update-binary compiled and patched by @nkk71 to hopefully fix all issues.

Fixed unzip arguments for unpacking chunk files and for unpacking update-binary when signing.
[SuperR Kitchen] SuperR.:
v3.0.8.0

Changes:

Fixed crash starting windows after last update.
[SuperR Kitchen] SuperR.:
v3.0.8.1

Changes:

Windows: Fixed extracting Motorola firmware that contains sparsechunk files.

Linux: Removed awk, dd, and head dependencies.

Log simg2img operations in main.log.
[SuperR Kitchen] SuperR.:
v3.0.8.2

Changes:

Fixed by-name address when adding /data to rom.

Added check to be sure system.img can be fixed if created from Motorola sparsechunk files.

Added status message when fixing Motorola system.img.
[SuperR Kitchen] SuperR.:
v3.0.8.3

Changes:

Fixed data.new.dat not being created/zipped when choosing sparse_dat for data perm type.
[SuperR Kitchen] SuperR.:
v3.0.8.4

Changes:

Fixed partition size through adb for /data.
[SuperR Kitchen] SuperR.:
v3.0.8.5

Changes:

Fixed /data not flashing in sparse_dat roms if set_metadata is chosen for /data.
[SuperR Kitchen] SuperR.:
v3.0.8.6

Changes:

Added tools/gapps to .gitignore for the gapps plugin to store gapps zips.

gapps plugin has been updated to offer you to store the gapps zips you download. If you say yes it will be stored in kitchen/tools/gapps. When adding gapps, it will still check for the version you need, but if the same file already exists in kitchen/tools/gapps it will just be copied to the rom directory. Update it by "Plugin Manager > Delete a plugin > gapps > Install a plugin > gapps"

The kitchen update above is minor, only for the new gapps directory to stay untracked by git. Make sure you update the kitchen before saving gapps from the plugin or you may have trouble updating.

init.d does not work for all devices. Try su.d if you are using SuperSU or Magisk. It works on more devices and serves the same purpose.
[SuperR Kitchen] SuperR.:
v3.0.8.7

Changes:

Fixed crash if vdex is used but not for all odex files.

Create fs_config for all img files extracted instead of only system and vendor.

Use fs_config for creating all ext4 img files if it exists.

Fixed some tar files not extracting and crashing in certain cases.

Additionally, I updated the updateapp plugin to use my new Python tool splituapp instead of splitupdate.pl. This removes the Perl dependency and speeds up extraction since we only extract the img files we need. To update the plugin:

Plugin Manager > Delete a plugin > updateapp > Install a plugin > updateapp
[SuperR Kitchen] SuperR.:
v3.0.8.8

Changes:

Fixed crash and/or unexpected behavior if there is no fstab in the boot.img.

Added option to patch the boot.img with magiskboot to disable dm-verity and forceencrypt (alpha testing).

Added option to restore original boot/recovery.img after packing or patching.

Fixed a few cosmetic bugs with menus and prompts.

Log all boot pack/unpack operations in boot.log.

Added ability to build ext4 img files from included directories chosen when extracting.

Windows: Create fs_config files from tar/win backups.

Get original file contexts from tar/win backups.

Huge improvements in the set_metadata updater-script for tar/win extractions.

NOTES: This update makes extracting tar/win backups as good as extracting a system.img, even on Windows :) The magiskboot patch option is in early testing. It does not patch dtb currently, only the ramdisk. This may or may not change in the future...it all depends on the peanuts ;) This update should get new tools after restart. If it does not, make sure you reset tools from the misc tools menu.

Thanks to [MENTION=4470081]topjohnwu[/MENTION] for magiskboot

Thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for the magiskboot idea

Thanks to [MENTION=2605798]nkk71[/MENTION] for the win32 and linux64 builds of magiskboot

edit: Remember this?

No longer :)
[SuperR Kitchen] SuperR.:
v3.0.8.9

Changes:

Do not log simg2img Invalid sparse file format at header magi during extraction when trying to unsparse a raw img.

Fixed boot.log ending up in the wrong place with the wrong name.

Alphabetically sort the extract file list.

Store ROM config info in project srk.conf instead of single line or empty files.

Store kitchen config info in kitchen srk.conf instead of single line or empty files.

Added temporary function to convert single line and empty files into srk.conf lines.

Fixed import readline error on 32-bit Linux.

Fixed device asserts adding a comma after the default device if you leave the input field empty and press enter.

Fixed language download.

Minor code cleanup.
[SuperR Kitchen] SuperR.:
v3.0.9.0

Changes:

Fixed broken by-name/mmc operations after last update.

v3.0.9.1

Changes:

Fixed metadata lines not being added to the updater script after v3.0.8.9.

Really don't log simg2img Invalid sparse file format.

edit: seems like there is a connection issue to bitbucket download servers right now. I am not sure if it is temporary or if they changed something. If it does not clear up by tomorrow I will look into it further. If you are having crashes while trying to update and you really want to update now, you can do a manual "git pull" from a terminal/cmd prompt opened to the kitchen main directory. Sorry for the inconvenience.
[SuperR Kitchen] SuperR.:
v3.0.9.2

Changes:

Fixed deodexing framework for M, N and O smali/baksmali methods.

Alphabetically sort oat deodexing.
[SuperR Kitchen] SuperR.:
v3.0.9.3

Changes:

Let the kitchen finish installing if downloading devices.zip is the only problem.

Show list of failed items when kitchen tools install fails.

Fixed asking for signature after changing perm types even if you already have one set.

Fixed language conf not being unset after update.

Fixed language conf not being unset when resetting all tools.

Fixed dependencies conf not being unset when resetting all tools.

Added option in the update menu to toggle checking for updates when the kitchen starts.

Fixed update menu allowing you to choose non-existing options.

NOTE: You should reset language from the misc tools menu after this update. This update fixed the reason you need to do it this time, but it doesn't fix it this time. Sorry for all the trouble lately. I believe this update fixes the rest of the things I broke in the last couple days :)
[SuperR Kitchen] SuperR.:
v3.0.9.4

Changes:

Added support for fixing Moto system.img with additional superblock.

Added a check for sparse images to only run simg2img if needed.

Move art files along with odex and vdex for deodexing if they exist.

Do not run smali if baksmali fails.

NOTE: I have no idea if this will help deodexing (not including 8.1), but it's the only thing I could think of :)
[SuperR Kitchen] SuperR.:
v3.0.9.5

Changes:

Added support for removing dm-verity from dtb.

Removed magiskboot option as it is no longer needed.

Fixed extracting more than system sparsechunks in some moto firmware.

edit: It looks like [MENTION=4544860]osm0sis[/MENTION] is at it again making AIK even better with v3.0 :) Since it was pushed right after the last kitchen update, it will NOT be automatically upgraded during the update. Fresh installs will always get the latest AIK. If you did not do a fresh install and want the latest AIK in the kitchen, you can reset tools from the Misc Tools menu :) The next kitchen update will change the AIK md5 sums so it will be updated along with everything else.
[SuperR Kitchen] SuperR.:
v3.0.9.6

Changes:

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

Fixed dm-verity status display if fstab exists but dm-verity is in the dtb.
[SuperR Kitchen] SuperR.:
v3.0.9.7

Changes:

Fixed boot.img not unpacking/repacking after last update.
[SuperR Kitchen] SuperR.:
v3.0.9.8

Changes:

Fixed fstab not being found in /vendor/etc if init.rc is not in /system.

Fixed Pixel/Pixel2 default.prop/prop.default detection.

Linux: Fixed ownership of fstab and default.prop/prop.default when they are changed and exist outside the boot.img.

Fixed crash when entering boot/recovery menu on Pixel/Pixel2 devices.
[SuperR Kitchen] SuperR.:
v3.0.9.9

Changes:

Windows: Fixed default.prop operations if default.prop is a symlink.

Remove dm-verity and forceencrypt from all fstab files if more than one exist.

Fixed crash on first update after fresh clone due to updatecheck conf not being set yet.
[SuperR Kitchen] SuperR.:
v3.1.0.0

Changes:

Fixed fstab detection correctly this time.
[SuperR Kitchen] SuperR.:
v3.1.0.1

Changes:

Fixed removing flags following verify when removing dm-verity.

Ignore system_b.img in newer Moto firmware.

Call /sbin/unzip instead of busybox unzip when installing mods.

NOTE: magisk_mod, mods_install, and gapps plugins have been updated to reflect the /sbin/unzip changes.

NOTE2: Please let me know if the updater still has issues. It should be good if you are updating from v3.0.9.9 or v3.1.0.0 :)
[SuperR Kitchen] SuperR.:
v3.1.0.2

Changes:

Added option in plugin manager to check for plugin updates and update all of them at once.

Moved getconf, getprop, and md5chk functions to srktools module to be accessible by plugins.

Fixed plugin manager returning to main menu if a non-existing option is pressed.

Removed unused language variables.

Fixed not returning to main menu when adb operations fail.

The plugin updater has finally arrived in the Plugin Manager. It is complete with detection of previous plugin installs not yet set up for the updater. It will ask if you want to reinstall these plugins to get them set up for the updater. I recommend doing this during the first update check to get it out of the way. Just say yes to everything, then you are ready to go :)

Limitation: The updater keeps track of the plugin itself, but not any tools the plugin may download. For example, the magisk_mod plugin downloads the latest stable Magisk.zip on first run. If Magisk is updated but the plugin is not, the plugin updater will not know about it. You can still delete plugins and reinstall them to solve this problem. It's not perfect, but better than nothing :)

Along with the update, the following plugins have been updated to reflect the function changes:

aroma_install, buildprop_add, gapps, partition_zip, samextras, tar.md5_create

Several devices have also been added to the database. You can get the latest version by going to "Misc Tools > Update device database"

Happy Holidays!!!