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

Changes:

Added skip and quit options to the by-name detection menu.

Fixed possibility for crash when checking boot status if we don't find a ramdisk.

Fixed crash if system.new.dat is named system.new.dat.*.

Ask your Gitlab username and add it to git config so you won't be asked every time you update.

edit: Looks like I created a new crash in the updater on the previous update. The update actually finishes, so if you just hit "r" ro restart after the crash it will work fine. I don't think this will happen next update, but I will fix it if it does :)
[SuperR Kitchen] SuperR.:
v3.1.0.4

Changes:

Ask for confirmation before recording the gitlab username in case of typos.

Prevent the possibility of having more than one username in the git config.

Fixed crash when devicename has not been defined before pulling img from custom recovery.
[SuperR Kitchen] SuperR.:
v3.1.0.5

Changes:

Fixed custom directory display in the Extra Directory Menu when there are more than one.

Ask if custom directories should be flashed to a partition instead of assuming they should.

Use a python dictionary to store language data instead of importing variables.

Removed all color and newline escape codes from language file.

Remember language choice after update.

Fixed asserts not coming back after you remove them from the asserts menu and try to add them back.

General code cleanup.

NOTES: This update should fix the language crashes that have been happening to some of you after using the kitchen updater :)

If you are using a language other than english, some of the translations will be mixed with english due to the changes made in the language file. This is to prevent errors for missing language data since I only maintain english. All languages need to be updated by a translator.

Additionally, the following plugins have been updated to work with the new language system: amlogic_unpack, delete_meta_inf, mods_install, partition_zip, and rockchip_unpack. Use "Check for plugin updates" in the plugin menu to get them updated :)

IMPORTANT: If you have trouble updating this time, it may be due to the gitlab username you entered after the last update. It must be your username and NOT the email address, and it must be correct. If you are not sure what your gitlab username is, you can find it immediately after logging into your gitlab account in the browser url. If you need to change the gitlab username stored in the kitchen, open kitchen/tools/srk.conf, delete the "gituser=xxxxx" line, save the file, and restart the kitchen. You will be asked for your gitlab user again and it will correct the git config allowing you to update.
[SuperR Kitchen] SuperR.:
v3.1.0.6

Changes:

New Oreo deodex method based on vdexExtractor by anestisb.

Use apk name for deodexing instead of app directory name in case the names are different.

Updated md5 for Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION] to v3.1.

Added support for ramdisk.img/kernel.img from Huawei Oreo firmware.

Added /system/etc/selinux to the search locations for file_contexts.

Fixed crash replacing lower case partitions with upper case in the updater-script.

NOTE: I have not flashed a deodexed rom using the new Oreo deodex method. Use at your own risk.

With that out of the way, it appears to be working nicely, and it is very FAST :) Big thanks to anestisb for the great tool!

Even though I have not done any on device testing with the new deodex method, it is now the only option for Oreo. This may change in the future, but right now smali/baksmali does not work properly.

Enjoy :)
[SuperR Kitchen] SuperR.:
v3.1.0.7

Changes:

Fixed crash when choosing Boot/Recovery Tools menu on Pixel firmware.

Handle exception when subproccess communicate fails.
[SuperR Kitchen] SuperR.:
v3.1.0.8

Changes:

Get boot.vdex classes name from boot.oat when deodexing Oreo.

Added encoding type to language files to ensure proper display.

Fixed extra quote being added to some set_metadata lines when using default perms.

Some plugins were updated to reflect the language changes. Plugin Manager > Check for plugin updates
[SuperR Kitchen] SuperR.:
v3.1.0.9

Changes:

Do not reset language when resetting all tools.

Fixed crash when unpacking boot.img.
[SuperR Kitchen] SuperR.:
v3.1.1.0

Changes:

Fixed language entries getting cut off if there is an equal symbol in the text.

Fixed gitlab username error message disappearing so fast you can't see it.

Added check with gitlab api to be sure your username is correct as it will mess up the kitchen updater otherwise.

Fixed crash when extracting older Nexus firmware that does not contain a vendor.img.

Fixed custom bloat list not being refreshed when bloat_custom file changes.

Read url output directly instead of downloading/reading a temporary file.

Added several items to the knox remove list and bloat list.

Added Windows support to the superr launcher (not superr.exe) for those who prefer to start the kitchen from the Windows command line.
[SuperR Kitchen] SuperR.:
v3.1.1.1

Changes:

Removed external requests library dependency.

Removed external psutil library dependency.

Log all ramdisk modification errors in boot.log.

Added support for extracting roms that include compressed system.new.dat.br.

Updated configure.sh to find full byname partition path on device.

Updated all updater-scripts to reflect the new configure.sh changes.

Added AutoROM support for building the ROM.

Added AutoROM support for signing the ROM.zip.

Added AutoROM support for zipaligning.

Added AutoROM support for deodexing Oreo.

Added AutoROM support for converting updater-script to update-binary before building.

Added AutoROM support for including cache.img.

Added AutoROM support for removing dm-verity.

Added AutoROM support for removing forceencrypt.

Linux: When using AutoROM, set sudo in terminal at the beginning of extraction to avoid interuption.

NOTE: The autorom_config plugin has also been updated to reflect the changes to the Kitchen :)
[SuperR Kitchen] SuperR.:
v3.1.1.2

Changes:

Fixed Windows/Linux file capability inconsistencies in the updater-script.

Windows: Extract files to _exfiles directory if there is another file with the same name but different case in the destination directory.

Windows: Include _exfiles directories in rom.

Fixed crash when performing update-binary conversion.

Moved language file downloads to a different server.

NOTE: Big thanks to cubinator for the Python ext4 module and help :)
[SuperR Kitchen] SuperR.:
v3.1.1.3

Changes:

Fixed files not extracting properly from system.img.

I am not sure about the AIK download failing. The files are hosted on xda, and it seems sometimes it is not working. Try again later.

The last update messed up the files when extracting them from system.img. It should be fixed now. That is probably why you got zipfile errors. We tried to read a zip file (apk) and could not due to corruption. Let me know if the problem persists after updating and extracting again :)
[SuperR Kitchen] SuperR.:
v3.1.1.4

Changes:

Fixed crash when encountering a symlink with strange data struture.

Windows: Fixed crash when extracting if the inode name ends with /.
[SuperR Kitchen] SuperR.:
v3.1.1.5

Changes:

Fixed file context regression from last update.

Do not extract duplicate files ending in (2) from system.img.

Fixed crash when using pre-defined capabilities due to none being found in the system.img.

I am pretty sure everything is working properly again. Sorry for the trouble lately. With progress comes pain :)
[SuperR Kitchen] SuperR.:
v3.1.1.6

Changes:

Fixed extracting files with unmapped blocks from ext4 img (only seen on Pixel/2/XL so far).

NOTE: Every img file I extracted during testing this update produced identical files to the mounted img in Linux. Progress has been achieved :)
[SuperR Kitchen] SuperR.:
v3.1.1.7

Changes:

Fixed crash on all strange symlinks.

Added support for extracting new Samsung firmware with lz4 compression.

Thanks to [MENTION=4544860]osm0sis[/MENTION], the lz4 compression was easy. AIK already includes the required lz4 binary :)
[SuperR Kitchen] SuperR.:
v3.1.1.8

Changes:

Fixed some file capabilities not being read completely and getting ignored.

EDIT: Apparently xda changed something and no longer allows downloading from a direct link in DevDB. I am not sure how to deal with this yet but I will find a solution ASAP. For now new installs may say "The tools download/install failed. AIK". Kitchen updates are not affected since AIK was not updated.

EDIT2: You can download AIK manually and add it to the kitchen if you want.

Extract it into a directory named AIK (Linux) or AIK2 (Windows). Make sure the directory structure is as follows:

Linux: kitchen/tools/boot/AIK/unpackimg.sh
Windows: kitchen\tools\boot\AIK2\unpackimg.bat

After this the kitchen should start right up. Sorry for the trouble.
[SuperR Kitchen] SuperR.:
v3.1.1.9

Changes:

Fixed /data mount when flashing after adding userdata to the ROM.

Fixed AIK download failing due to xda devdb no longer allowing direct downloads from external source.

Thanks to [MENTION=4544860]osm0sis[/MENTION] for helping to get the AIK download issue sorted :)
[SuperR Kitchen] SuperR.:
v3.1.2.0

Changes:

Fixed /data/app support still showing enabled after removing.

Added option to patch sepolicy to allow zygote execute permission for dalvikcache_data_file after deodexing Oreo.

Updated vdexExtractor by [MENTION=407497]anestis[/MENTION]b.

Fixed mount errors while flashing after adding /data/app.

Make sure all files with unique permissions make it into the set_setadata updater-script.

Removed pre-defined set_metadata_recursive lines from the updater-script when extracting from img file.

Fixed file contexts in set_metadata updater-script for root directry files on devices with ramdisk in the system.img.

Return an empty list instead of None when there is no match for getprop.

Prevent / being used in zip name.

Skip inodes that have an empty name when extracting from img files.

Moved changelog to a different server.

NOTE: There are major changes to the set_metadata updater script when extracting system/vendor.img files as your base. I believe they are positive changes, but they have not been tested on many devices. Let me know how it goes :)

NOTE2: You will find the sepolicy patch option in the Boot Tools menu after unpacking the boot.img.

Thanks to [MENTION=4688377]russel5[/MENTION] for pointing me in the right direction and helping/testing to get the sepolicy patch and new set_metadata method working properly.

Thanks to [MENTION=357342]tobias.waldvogel[/MENTION] for the bootimg binary that allows patching sepolicy.
[SuperR Kitchen] SuperR.:
v3.1.2.1

Changes:

Fixed patching cil files while patching sepolicy for Oreo deodex.
[SuperR Kitchen] SuperR.:
v3.1.2.2

Changes:

Fixed skipping nonplat_file_contexts on Pixel style system.img causing failure when building ext4 img.

Check if img is sparse before running simg2img when getting partition size.

Sort fs_config and file_contexts3 files alphabetically.
[SuperR Kitchen] SuperR.:
v3.1.2.3

Changes:

Fixed crash when checking dm-verity status.
[SuperR Kitchen] SuperR.:
v3.1.2.4

Changes:

Updated vdexExtractor by [MENTION=407497]anestis[/MENTION]b.

Use new --ignore-crc-error argument to the vdexExtractor command if deodex fails without it.

Write vdexExtractor crc ignored files to deodex_crc_ignored log for reference.

Fixed Chinese language crash.

Find zygote and dalvikcache_data_file names before patching sepolicy and cil to be sure we get everything.

Thanks goes to [MENTION=8126583]曦颜XY[/MENTION] for the new Chinese translation :)
[SuperR Kitchen] SuperR.:
v3.1.2.5

Changes:

Added backup/restore to updater-script for all perm types to provide addon.d survival script support.

Fixed extracting Android P firmware.

NOTE: If you want to get the backup/restore in your current updater-script without extracting again, you can change perm types to something else and back to what you want.
[SuperR Kitchen] SuperR.:
v3.1.2.6

Changes:

Updated smali/baksmali to v2.2.3.

Renamed config directory to install.

Fixed configure.sh not found error when flashing.

Fixed changing perm types not replacing the config directory properly.
[SuperR Kitchen] SuperR.:
v3.1.2.7

Changes:

Do not assume the default vendor partition context is vendor_file.

Added support for version, product, and cust partitions in configure.sh for Huawei ROMs.

The updateapp plugin has also been updated to extract version, product, and cust files by default (if they exist).
[SuperR Kitchen] SuperR.:
v3.1.2.8

Changes:

Fixed flashing issues since adding the backup/restore and changing the location of configure.sh.

More fine tuning for the set_metadata updater-script.

NOTE: Sorry I broke the flashing. You can get the fixes in your existing project by changing perm types to something else and back to what you want after the update.
[SuperR Kitchen] SuperR.:
v3.1.2.9

Changes:

Windows: Fixed scripts in the install directory failing due to improper git setting core.autocrlf (line ending normalization) to true when installing git.

Fixed capabilities in set_metadata updater-script, a regression from v3.1.2.8.

Fixed Pixel style firmware crashing during extraction.

If system_image.emmc.win is chosen, rename to system.img and extract.
[SuperR Kitchen] SuperR.:
v3.1.3.0

Changes:

When patching sepolicy for Oreo deodex, do not patch cil files if either zygote or dalvikcache_data_file do not already exist in the file.

Fixed install directory being empty (so sorry everyone).
[SuperR Kitchen] SuperR.:
v3.1.3.1

Changes:

Remove framework jar files from knox debloat list.
[SuperR Kitchen] SuperR.:
v3.1.3.2

Changes:

Updated img2sdat.py by [MENTION=5132229]xpirt[/MENTION] to v1.6 which now supports Python3.

Removed Python2 dependency.

Updated md5 for Busybox Installer by [MENTION=4544860]osm0sis[/MENTION].
[SuperR Kitchen] SuperR.:
v3.1.3.3

Changes:

Fixed boot/recovery flashable zips not including install directory if there is no extracted ROM in the project directory.

Fixed boot/recovery flashable zips mounting/extracting system when there is no system if there is no extracted ROM in the project directory.

Fixed system/vendor/framework files not getting deodexed.

Updated md5 for Android Image Kitchen v3.2 by [MENTION=4544860]osm0sis[/MENTION].
[SuperR Kitchen] SuperR.:
v3.1.3.4

Changes:

Added confirmation message when uploading support.zip.

Fixed crash when boot.img status does not exist.

Log exception when boot.img status does not exist.

Delete system.new.dat after system.img conversion when converted from dat.br.

Fixed improperly detecting some update-binary script roms causing a failure to extract.
[SuperR Kitchen] SuperR.:
v3.1.3.5

Changes:

Added support for oem.img.

Added check for spaces in the path, and an error message.

Windows 7: Fixed ugly Quit/Restart due to ascii escape codes not working in the console.

WINDOWS USERS: superr.exe and superr files in the main kitchen directory were updated. I am not sure how Windows handles updating a file that is in use (I think not very well). If you have trouble with the kitchen launcher after the update, a fresh clone will sort it out.
[SuperR Kitchen] SuperR.:
v3.1.3.6

Changes:

Fixed crash when entering ROM tools.
[SuperR Kitchen] SuperR.:
v3.1.3.7

Changes:

Removed init.d support.

Added oem.img bloat files to bloat list.

Added AutoROM support for oem.img.

Extract and fix Moto oem.img_sparsechunks from firmware package.

Fixed partition paths in updater-script when device/superr_mmc file contains by-name paths.

Remove duplicate classes when deodexing MIUI firmware.

Huge speed improvement preparing files and significant updater-script size reduction when firmware such as MIUI has a large system/vendor directory.

Fixed extracting Galaxy S2 firmware with factoryfs.img.
[SuperR Kitchen] SuperR.:
v3.1.3.8

Changes:

Fixed Insecure boot.img option not doing anything.

Ask if you want to delete the framework arm, arm64, x86, and x86_64 directories after deodexing Oreo.

Extract vendor.img from Samsung firmware if it exists.
[SuperR Kitchen] SuperR.:
v3.1.3.9

Changes:

Fixed extract when there is no firmware, then choosing option 1 asks if you want to extract nothing if you didn't add firmware.

Added more knox apps to remove list.

Fixed Windows key presses not working properly on some machines.

BEFORE YOU UPDATE:

The kitchen will no longer use GitLab for distribution. The source will no longer be available. There are several reasons for this:

The kitchen is now packaged with the Python3 interpreter and Python3 is no longer required. Linux still needs Python installed for the launcher.

There is an improvement in performance when packaged

Python dependencies are included in the package

More difficult to steal. It has come to my attention that some users are "sharing" this kitchen. It is ONLY intended for the user that donated. When this project started I said if I see people stealing I would terminate the project. Luckily I have chosen a different path and this is the first step. If the stealing continues, the next step is to limit each user to a single PC. I do not want to do this, so PLEASE don't share. It is a small donation and the free kitchen is perfectly capable for anyone that does not wish to donate :)

Instead, there is a new Kitchen registration and downloads section. If you are an existing donor, please register at the link above. Once you have registered, send me a PM with your new username and the email address used when registering. Once verified you are a donor, I will add you to the database and you can update or visit the downloads page for a fresh zip. Currently there are Windows 32-bit, Linux 64-bit, and MacOS 64-bit packages available. Windows 32-bit works on 32 and 64-bit machines. I don't think there are many 32-bit Linux users out there anymore, but let me know if it is needed.

NOTE: Updating from v3.1.3.8 and earlier will not work. Please download a fresh zip of the latest kitchen from the link I sent in PM :)
[SuperR Kitchen] SuperR.:
v3.1.4.0

Changes:

Allow userames with @ to log in.

Fixed language file download failing on first run due to 7-zip not being downloaded yet.

Let's see how updates go :) You can always download the latest version from the downloads page, but if you have trouble with the updater please let me know. Thanks :)
[SuperR Kitchen] SuperR.:
v3.1.4.1

Changes:

Fixed kitchen updater.

Fixed asking for username and password twice in a strange order when updating.

Don't ask for username when updating if it was provided during installation.

NOTE: This update does not fix the updater on your current install so updating this time will probably fail. After a fresh install of v3.1.4.1 future updates should work without issue :)
[SuperR Kitchen] SuperR.:
v3.1.4.2

Changes:

Removed git dependency.

All plugins have been updated to install Python colorama module in Windows if it is not already installed.
[SuperR Kitchen] SuperR.:
v3.1.4.3

Changes:

Updated vdexExtractor md5 to the latest commit.

Include cacert.pem for ssl connections.

Include kernel.img and ramdisk.img in rom zip if they exist in project directory.

Include kernel.img and ramdisk.img in flashable boot zip if they exist.

Fixed crash when extracting twrp backup if there is no system directory in the archive.
[SuperR Kitchen] SuperR.:
v3.1.4.4

Changes:

Windows 10: Fixed the no internet error some users reported.

Plugins are now imported instead of running as scripts in an external python interpreter.

NOTES: All plugin scripts have been converted into modules for import. The old plugins will no longer work with the new kitchen. New plugins will not work in the old kitchen. If you try either of these things you will get errors. After you update the kitchen to v3.1.4.4, the plugin updater in the plugin manager should solve this problem.

Why do this you wonder? One step closer to removing the python dependency. If we import the plugins, we can run them in the included python interpreter. Unfortunately there are still 2 plugins that require python installed on your system, samextras and xiaomi_patch, due to root privilege being required to modify ramdisk in Linux. Additionally, img2sdat and sdat2img still require a python installation as they can't be imported...yet [MENTION=5132229]xpirt[/MENTION] ? :)

I noticed while testing magisk_mod and decrypt_htc plugins that the downloads are broken in both. Magisk changed their links and XDA DevDB blocks 3rd party IPs from downloading. They are both fixed now :)

In case you did not see, Ubuntu4Kitchen and Mint4Kitchen were updated, and Ubuntu4Kitchen 18.04 was released :)
[SuperR Kitchen] SuperR.:
v3.1.4.5

Changes:

Fixed crash when working on ramdisk.

Fixed crash on some Linux when starting.
[SuperR Kitchen] SuperR.:
v3.1.4.6

Changes:

Import sdat2img and img2sdat as modules.

Fixed more ramdisk errors. I tested everything this time ;)

BIG NEWS:

Windows: As of v3.1.4.6, Python installation is no longer required (or used by the kitchen if you have it installed) :D

Linux: Still need python for the launcher, and all plugins that require root (currently only samextra and xiaomi_patch). Since I have never met a Linux without Python, I don't think this will be a problem :)

NOTES: I completely uninstalled Python2 and python3 in my Windows 10 VM to test this. Everything works great :)

When I tried uninstalling Python3, it told me there was no Python3 installation. If you decide to uninstall Python3 in Windows, you will need to rename python3.exe back to the original python.exe. After that the uninstall will work. At least we don't need to do any of this anymore :)

edit: Forgot to mention the samextras and xiaomi_patch plugins have been updated, and you must update them before using or you will get a crash.
[SuperR Kitchen] SuperR.:
v3.1.4.7

Changes:

Fixed contexts and capabilities in updater-script on system/system devices such as Pixel/XL.

Initial test for MacOS/OSX.

Do not include superr.exe in Linux or Mac packages.

Linux/Mac - Launcher (superr file) is now compatible with Python 2.7.x due to Mac coming with only Python 2.7.x preinstalled.

Introducing SuperR's Kitchen for Mac :)

NOTES:

First, this Mac build is only a trial. If not many people use it or it becomes too frustrating to maintain, I will kill it.

I am not sure what version of MacOS/OSX you need to do all the things. I believe everything will work on High Sierra (10.13), although I did not test on High Sierra. I compiled vdexExtractor on my friends Mac running High Sierra. I compiled the other binaries in El Capitan (10.11). I only tested on Yosemite (10.10). There are reasons for all this madness, but that is another conversation.

Deodexing Android 8.0 - 9 DOES NOT WORK on Yosemite. It complains about missing symbols due to vdexExtractor being compiled on High Sierra. I have read that El Capitan and later may work if compiled in High Sierra but I can't test it and I am already annoyed :p

That being said, almost everything else seems to work perfectly in Yosemite, with one other exception. I have given up trying to compile the bootimg binary by [MENTION=357342]tobias.waldvogel[/MENTION] on Mac. This binary is used during the sepolicy patch for Oreo. In this first release (and maybe many to follow), this option is disabled for the Mac.

Which brings us to ...

the CONTEST...lol:

Be the first to deliver a functional Mac bootimg binary using source code 1 or source code 2

The binary must be verified working (by me) before registration is approved.

You must provide any source code changes you made to get it compiled.

Hopefully it can work on Yosemite+ (this way I can test it)

Be willing to consider help with compiling binaries on Mac in the future (Optional but would be greatly appreciated)

the BOUNTY:

One free Donate Kitchen registration :)

EDIT:

THE CONTEST IS NOW OVER.

Congratulations [MENTION=5617466]Andmoreagain[/MENTION] :)