[SuperR Kitchen] SuperR.:
Plugin Installation:

Open the Plugin Manager

Choose Install a Plugin

Choose the plugin you want to install

Choose Run a Plugin

Choose the Plugin you want to run

Enjoy!

NOTE: The usage instructions in each plugin description below assume you have already installed it. When the instructions end, that's when you run the plugin from the plugin manager.

SuperR's Kitchen Plugin Descriptions

SuperR Maintained Plugins:

add_placeholder

Only for system-as-root devices

Adds placeholder files to all empty directories in your project

add_remove_files

Add all apk files from a directory

Choose apk to import

Choose directory structure to import

Delete files from your ROM based on directory structure

NOTE: To use "Choose directory structure to import" and "Delete files from your ROM based on directory structure", your directory must be set up as the following example:

your_directory_name/system/anything_you_want
your_directory_name/vendor/anything_you_want
your_directory_name/cache/anything_you_want
your_directory_name/hidden/anything_you_want
your_directory_name/boot.img

The above is only an example. You can add anything you want as long as there is a "system" directory inside another directory. When choosing the directory, choose your_directory_name instead of system or it won't work. Think of the directory structure exactly like the kitchen project directory. When you import directory structure, your directory will be copied into your project directory and files will be overwritten if they already exist. When you remove a directory structure, you will choose your_directory_name again and the plugin will remove the same files it finds from your project directory.

amlogic_unpack

Unpack Amlogic firmware img

apktools

Choose an apk from your current rom directory.

Decompile the apk.

Build apk.

Sign apk with 3 options (use signapk.jar, copy original META-INF to new apk, or copy new classes.dex and resources.arsc to original apk).

Move apk back to where it came from.

Patch smali using .ptch files

Delete META-INF from all apk files

Delete SEC-INF from all apk files

Separate lib directory from all apk files

Zipalign apk files

aroma_install

Install Aroma in your existing ROM.

Create aroma-config using a menu.

Choose apk files to add to the option menu.

Usage:

Extract your ROM normally using ONLY set_metadata or set_perm.

autorom_config

Creates an AutoROM config file to automate the extraction process and many other tasks.

Currently supports perm type, vendor.img, rom name, custom signature, deodexing, root, su.d, and Busybox

buildprop_add

Adds lines from a file to build.prop.

concatimg

Combines partition_*.img files into a single img file

custom_zip

Create a flashable zip of one or more image files as long as you know the partition name where it should be flashed.

Create a flashable patch zip from directories that have matching fs_config and file_contexts3 files

Convert updater-script to update-binary script for use in the mods_install plugin

Usage:

Copy the partition images and/or directories you want in the zip into a new directory in your project.

In the kitchen main menu, choose Plugin Manager > Run a plugin > custom_zip

Choose the new directory from the list.

For img files in by-name devices, type the partition name from your device where it should be flashed (ex. aboot)

For img files in mmcblk devices, choose your block from the list (add it to the device superr_mmc file if needed first).

decrypt_htc

Decrypt ruu.exe and ruu.zip files stored in your current project directory.

Extract system.img & boot.img to the current project directory for extraction.

Usage:

Copy ruu.exe or ruu.zip to current project directory (ruu.zip must be named exactly ruu.zip).

gapps

Downloads and includes Open Gapps in your ROM.

Choice of aroma, super, stock, full, mini, micro, nano, or pico

Detects Android version and architecture from ROM to download the latest available version for your device.

If there is no ROM, it will allow you to choose Android version and architecture.

Remove gapps if it already exists.

gen_set_metadata

Generates set_metadata lines for every file in project directories that have matching fs_config and file_contexts3 files.

img_tools

Allows rebuilding ext4 img files that have been extracted by the kitchen even if there is not a complete ROM in the project.

Convert sparse img to raw img

Convert raw img to sparse img

Build super.img

Resize img

super.img Build Requirements:

All included img files must be built as sparse.

img file names must be either partition.img or partition_new.img.

super.img size must be in 00_project_files/srk.conf.

Example:

supersize=9437184000

The numeric value in the example above is the raw super.img file size in bytes.

The kitchen adds the super.img size when unpacking a super.img. If the kitchen did not unpack the super.img, you can enter the size in srk.conf manually.

Optional values metadata-size and metadata-slots can also be added to srk.conf. Defaults are listed below:

metadata-size=65536

metadata-slots=2

*This plugin will only work in v3.2.1.0 or higher*

lg_tools

Unpack LG kdz files

Removes rctd, ccmd, and triton from LG boot.img.

mods_install

Add any flashable zip to your ROM that uses an update-binary script instead of a updater-script

Remove mods

Shows the kitchen added mods you currently have installed

ozip_decrypt

Decrypt firmware.ozip files

payload_dump

Unpack payload.bin firmware

rockchip_unpack

Unpack Rockchip firmware img files

samsung_tools

Asks one-by-one if you want to add ro.config.tima=0, ro.config.knox=0, ro.securestorage.knox=false, ro.securestorage.support=false, ro.security.mdpp.ux=Disabled, and wlan.wfd.hdcp=disabled to ramdisk default.prop

Create tar.md5 from all img, mbn, ext4, and bin files in your ROM directory.

Create tar.md5 from all the above except system.img, system.img.ext4, boot.img, and recovery.img

Decode OMC/CSC

Deodex patch for Android 8.1+

Pack *_new.img files to lz4

sepolicy_injector

Converts sepolicy denials into allow rules, and optionally patches seplicy with the new rules.

Paste a denial

Read denials from 00_project_files/logcat.log

unsign_mtk_img

Removes MTK signature from img files

updateapp

Extract firmware.zip that contains UPDATE.APP

Extract img files from UPDATE.APP

Usage:

Place a firmware.zip or UPDATE.APP in your rom directory.

xiaomi_patch

Patches several things in Xiaomi firmware.

Usage:

Extract your firmware with the kitchen, then run the plugin.

xperia_unpack

Unpack Xperia firmware

Choose full firmware zip, an ftf file, or a sin file.

When choosing a sin file, all sin files in the project directory will be unpacked.

Respects the partition_extract_list variable from kitchen/tools/srk.conf

User Contributed Plugins:

None