yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] tjkhattak61:
Ahh the joy of creating ones own ROM. SuperR you are the man. Thanks this is commendable.
[SuperR Kitchen] jesus183095:
Help me..! I create a custom rom with this kitchen. But the wifi not turned on. I try to turn it on but this automatically turned off.. Is a rom stock and is very rare.
[SuperR Kitchen] Androidwizzard:
Although you haven't even read my signature as my pm isn't a support hotline you have asked this same question 2 times here and once in pm.

YOU didn't CREATE anything with this kitchen, [MENTION=5787964]SuperR.[/MENTION] with his kitchen has given you a raw stock base where you may start to create, but I doubt about reading your question which has nothing to do with this tool

you have chosen the firmware - you have given the commands what the kitchen should do - you have flashed the output and are stuck at some point, where YOU have to find a solution for, YOU to search for a reason, yes it is totally up to YOU.

Do you believe that rom development is just putting firmware into kitchen and 1-2-3 voila "I HAVE CREATED MY CUSTOM ROM"?

Again: This is a very helpful tool and no development kindergarden.

(Finally, I got to unsubscribe from this thread otherwise - next time I will be really rude.)
[SuperR Kitchen] Er. Aditya:
Couldnt have said any better then this

also mate where do i start reading to port ...about porting s6 port to note 4 ?
[SuperR Kitchen] Q9Nap:
Finally had a chance to test the kitchen with vendor.img support.

Everything looks correct, except that there are no instructions in the updater-script to format the vendor partition and to extract the vendor directory.
[SuperR Kitchen] SuperR.:
Maybe this will work :)

edit: maybe not lol

edit2: I meant this one :)

Ubuntu4Kitchen-16.04.1-amd64.iso.torrent
[SuperR Kitchen] bcrichster:
Holy Chit..[emoji15] You Da Mann! [emoji41]
[SuperR Kitchen] m3tatr0n84:
I want to try this tool to create a simple TW S6 ROM for SM-G920W8. Tool is ready to be used.

I have the latest firmware from Sammobile, G920W8VLS5DQF1, untarred. I read the OP's post

on how to proceed. Any tips and advices would be greatly appreciated.

Thanks

Update:

From the tool, I just did a debloat, custom debloat, remove knox. Very simple, no deodexing therefore no zipaligning.

Build went OK but when I try to flash the zip file I got:
[SuperR Kitchen] AL_IRAQI:
Hi buddy, im using open suse, i also got that getcap missing, and i couldn't find a way to install it
[SuperR Kitchen] SuperR.:
Your asserts are wrong for the device you are flashing to. Find out what device your recovery says your device is (should be in the error you mentioned. "This is a ____"), and use the asserst menu to change your rom asserts to the correct device.

http://software.opensuse.org/package/libcap2
[SuperR Kitchen] AL_IRAQI:
i already have it, check that screenshot
[SuperR Kitchen] SuperR.:
I have no idea honestly. I only test on Ubuntu 16.04. Maybe there is a standalone getcap binary out there somewhere? Check to see if you have getcap installed. If you type "getcap" then enter in your terminal it will show an error or usage info. If it is installed, the kitchen just doesn't see it. The kitchen uses "which getcap" to locate it so maybe that is the issue? Let me know if you get it sorted out :)
[SuperR Kitchen] AL_IRAQI:
ill check the standalone binary, anything getcap in terminal gets back nothing, command not found or file

did you think about doing dynamic syntax ?, for example installing missing files with apt-get install doesnt work on Arch based distro, or OpenSuse

Arch based use pacman -S "package"

Suse use zypper in "package"
[SuperR Kitchen] m3tatr0n84:
getcap is in /sbin. Try to add /sbin to your Path variable.
[SuperR Kitchen] AL_IRAQI:
i dont have it, can you please upload it for me ?
[SuperR Kitchen] SuperR.:
You can try the binary/lib attached below for 64-bit Linux. No clue if it will work for you, but make sure it is in your path and that "which getcap" in a terminal finds it. You may not need the included lib but it's there just in case.
[SuperR Kitchen] AL_IRAQI:
ill just install distro with ubuntu syntax, it doesnt seems to work, and debugging is a bit harder without knowing all commands
[SuperR Kitchen] m3tatr0n84:
It's not something you download but something you set. PATH is a Linux variable. On the command line type 'echo $PATH' and it will return the search path. If this is too much for you, you might want to search a bit on unix/Linux variables and how to set them.
[SuperR Kitchen] SuperR.:
v2.1.7.0 (Donate version)

Changes:

Fixed Pixel/XL slot detection in configure.sh.

Cleaned up some unused oatdump code.

v1.1.6.0 (Standard version)

Changes:

Fixed Pixel/XL slot detection in configure.sh.

Cleaned up some unused oatdump code.
[SuperR Kitchen] Wonders_Never_Cease:
Thank you... Sorted... :good: :good:
[SuperR Kitchen] cavemandaveman:
[MENTION=5787964]SuperR.[/MENTION] I have a couple nuisances that maybe you can alleviate with an update.

First, I have to manually edit the script to exclude my device from the findfstab() function in order to get Boot Tools to work. I need to add "mofd_v1" to the grep exclude; maybe you can include it by default?

Second, in order to get user apps to install on flash, I need to mount /data in recovery beforehand. Can you add mount/unmount statements for /data to the updater-script the same way you have for /system (if the user app functionality is enabled)?

Do you see any issues with incorporating these 2 changes?
[SuperR Kitchen] SuperR.:
No problem on the first one.

The second one...the kitchen used to do this and I think it was causing errors on lots of devices or something. I don't mind adding it back, but there was some reason I removed it before. Maybe someone else will remember lol.
[SuperR Kitchen] XCnathan32:
Trying to build anything under the build menu (full ROM.zip, system.img, custom zip) results in the error message "Something went wrong. Check zip.log for errors" However, nothing is written in the zip.log.

Kitchen Version: 1.1.6.0

Environment: Arch Linux 64 bit

Device: Galaxy S7 active ATT 7.0

Source: system.img DDd from device with freshly installed stock ROM.

Perm method: Set_metadata

After extracting I had to manually unpack boot.img and put file contexts in project files, I used set_metadata, then I used the stock debloat and deknox settings, then I deleted the rest of the bloat manually from the system folder, I added busy box, and then attempted to build it, but it failed.

Error: "Something went wrong, please check zip.log for details"

System.img link: I'll upload if necessary... but uploading a 5Gb file on 1Mbps upload would take days... lol

Support Zip: I tried multiple times to create a support.zip, and it says "Support zip has been created in your project directory" But I can't find it anywhere, and I've looked everywhere in the SuperR directory for it.
[SuperR Kitchen] SuperR.:
Did you install git-lfs? If not, check the OP for installation instructions, install it, and clone the kitchen fresh. Then extract your ROM again and everything should work.

If you already installed git-lfs before cloning/updating, then I need your firmware to be able to help.
[SuperR Kitchen] addas4:
Dear [MENTION=5787964]SuperR.[/MENTION]

First thanks a lot for the amazing SuperR kitchen!

I have only one problem, whenver I try to unpack Huawei P8 (GRA-UL00) Kernel (boot.img) it is stuck on checking status, this only happen to this phone, other devices doesn't have this issue, please help me, thanks in advance!

BTW, I uploaded boot.img and build.prop
[SuperR Kitchen] XCnathan32:
That worked, thanks so much!! Also, do you know if it's possible to utilize more than 1 thread for the zip signing so it doesn't take as long?
[SuperR Kitchen] m3tatr0n84:
I am trying to create a deodexed and zipaligned ROM using Stock Firmware for SM-G920W8.

Build went OK with out problem. Flashed it on my phone, that seem to go ok without a hitch.

But when I reboot it just goes back to recovery mode. So I did another build, this time it's

odexed so no zipaligning required but still the same issue, phone just goes back to recovery

mode after flashing. Any thoughts?

Thanks
[SuperR Kitchen] The Sickness:
Is the boot.img being flashed? As well as SuperSU or Magisk?
[SuperR Kitchen] m3tatr0n84:
I believe so. I did an unzip -t on my zip file and grepped for boot.img and supersu, here's what I got:

dmtkvm2:superr_m3tatr0n$ unzip -t m3tatr0n.zip |grep boot.img

testing: boot.img OK

dmtkvm2:superr_m3tatr0n$ unzip -t m3tatr0n.zip |grep -i supersu

testing: rootzip/SuperSU-v2.79-SR3.zip OK

Just trying to occupy my time while waiting for your ROM to drop :) lol. Kinda dead right now at work.

BTW happy 4th of July!
[SuperR Kitchen] The Sickness:
Look at your ramdisk....are all the folders present? That's one of the reasons it would boot back to recovery even though you didn't get any install errors
[SuperR Kitchen] The Sickness:
You need to look at folders....how many do you have
[SuperR Kitchen] m3tatr0n84:
I have 14 folders:

dmtkvm2:ramdisk$ ls -d */

acct/ config/ data/ lib/ oem/ sbin/ sys/

cache/ d/ dev/ mnt/ proc/ storage/ system/
[SuperR Kitchen] The Sickness:
Then that's not the issue.
[SuperR Kitchen] m3tatr0n84:
Don't worry about it captain, I'm not gonna lose sleep over it. I don't do this for a living (thank God).

Just doing it out of curiosity and for the love of learning new things. I'll revisit it again.

Thanks
[SuperR Kitchen] SuperR.:
v2.1.7.1 (Donate version)

Changes:

Added mofd_v1 to the fstab ignore list.

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

v1.1.6.1 (Standard version)

Changes:

Added mofd_v1 to the fstab ignore list.

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

Included :)

Fixed :)

As far as I know, multi-threading in java is done in the code and not the command line.

If you are not using set_metadata as your perm type, try using set_metadata.
[SuperR Kitchen] m3tatr0n84:
If you are not using set_metadata as your perm type, try using set_metadata.[/QUOTE]

That is what I am using.

Thanks
[SuperR Kitchen] Franzferdinan51:
You rock thanks for the torrent!
[SuperR Kitchen] wendaf:
Hello

i have a probleme with extracting rom :

Thanks for this awesome tools. :)
[SuperR Kitchen] Focusos:
you should show the file in the zip?
[SuperR Kitchen] wendaf:
i have this :

It is the official factory from google :

https://developers.google.com/android/images?authuser=1#angler
[SuperR Kitchen] SuperR.:
Follow the instructions in the OP to install git-lfs, then clone the kitchen fresh and try again.
[SuperR Kitchen] wendaf:
i have a virtual machine and it work fine sorry for inconvenience

and thanks for your help :o
[SuperR Kitchen] cavemandaveman:
Thank you for excluding mofd_v1 from the grep!

I was looking back through this thread and it looks like what the kitchen used to do was format /data when user apps were enabled. I agree, that's probably not something you want to do. However, simply mounting and unmounting /data but not formatting it would help a great deal. What do you think about that?
[SuperR Kitchen] SuperR.:
v2.1.7.2 (Donate version)

Changes:

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

v1.1.6.2 (Standard version)

Changes:

Added /data mount and unmount commands when /data/app is enabled.
[SuperR Kitchen] Focusos:
nice

---------- Post added at 12:14 AM ---------- Previous post was at 12:11 AM ----------

good job,it is nice.:highfive:
[SuperR Kitchen] AL_IRAQI:
Hi Buddy, many chienese ROMs doesnt have gapps, i was thinking about adding option to fectch gapps from OpenGapps github into the ROM, and also remove old gapps apk just in case, they have that in their installer as remove gapps conflict, that option could be useful to update gapps in other OEM's ROMs because its usually outdated :)
[SuperR Kitchen] SuperR.:
There is a gapps plugin for the donate version (Bash and Python). I am not sure if it does exactly what you want, but it downloads and adds the appropriate opengapps version to your rom the same way SuperSU and Busybox are added. The Bash plugins are located here and the Python plugins have a built-in installer.
[SuperR Kitchen] AL_IRAQI:
Oh, i need to get some $$$$ soon :D
[SuperR Kitchen] AL_IRAQI:
Hi again, while i was trying to edit Zuk ROM, they had system.img separated into more than one file system_*, it is supported ?

or you have two check it out ?, i can link you their ROM :D
[SuperR Kitchen] AL_IRAQI:
Here you are here, its from lenovo
[SuperR Kitchen] SuperR.:
The kitchen does not currently support this, but I figured out how to combine them. kiddlu (not sure if they are on xda or not) has a binary called packsparseimg on their github. I have no idea if they are the author, but it works with this firmware. This is how I did it.

Extract the firmware archive

Download packsparseimg into the extracted firmware directory

Open terminal in the unpacked firmware directory

Make packsparseimg executable

chmod +x packsparseimg

run the following command:

./packsparseimg -x rawprogram_unsparse4.xml

rename system.raw to system.img

Move system.img and boot.img into your project directory and extract as normal.
[SuperR Kitchen] AL_IRAQI:
That was fast, awesome buddy, ill give a try later in the morning :D
[SuperR Kitchen] ladislav.heller:
Hello

I have following error (for some APKs) at deodexing of this Samsung Galaxy A5 ⑥ Nougat ROM with Kitchen version 1.1.6.2:

... Deodexing SecSettings2

Error occurred while disassembling class Lcom.android.settings.applications.ManageApplications$ApplicationsAdapter$-void_-com_android_settings_applications_ManageApplications$ApplicationsAdapter_lambda$1_com_android_settingslib_applications_ApplicationsState$AppFilter_finalFilterObj_java_util_Comparator_comparatorObj_LambdaImpl0; - skipping class
java.io.IOException: File name too long
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at org.jf.baksmali.Baksmali.disassembleClass(Baksmali.java:142)
at org.jf.baksmali.Baksmali.access$000(Baksmali.java:46)
at org.jf.baksmali.Baksmali$1.call(Baksmali.java:76)
at org.jf.baksmali.Baksmali$1.call(Baksmali.java:74)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

Any suggestion or workaround ?
[SuperR Kitchen] ShinySide:
That's an open issue on smali github

https://github.com/JesusFreke/smali/issues/424

Nothing SuperR can do
[SuperR Kitchen] SuperR.:
v1.1.6.3 (Standard version)

Changes:

Updated SuperSU to v2.82-SR1.

Limit fstab check to the directory we are looking in.

All boot/recovery.img operations are now run as root.

Removed build.prop requirement when unpacking boot.img.

v2.1.7.3 (Donate version - Bash)

Changes:

Updated SuperSU to v2.82-SR1.

Limit fstab check to the directory we are looking in.

All boot/recovery.img operations are now run as root.

Removed build.prop requirement when unpacking boot.img.
[SuperR Kitchen] daryl_dixon:
WARNING: This zip does not contain anything the kitchen can extract.

Hello I'm trying to extract zip but this gives an error

WARNING:

This zip does not contain anything the kitchen

can extract.

[IMG="Zip extraxt error"]https://postimg.org/image/ivpwbuszb/[/IMG]

The zip name has no spaces and even I renamed it but not working. If anyone can help me with that...
[SuperR Kitchen] SuperR.:
Follow the instructions in the OP and install git-lfs. Then clone the kitchen fresh and try again.

If that does not fix it, send a fast link to the firmware that does not require registration and I will take a look
[SuperR Kitchen] daryl_dixon:
Worked!!!

Working Now.....

Earlier I have installed git-lfs after installation of Superrs-Kitchen.....(This was creating Error!!)

Followed the Instructions...

Now it's working fine....
[SuperR Kitchen] SaintZ93:
Hello, I am getting stuck on this when trying to detect by boot.img

29294 blocks
grep: fstab.ftm.qcom
fstab.qcom: No such file or directory
grep: fstab.ftm.qcom
fstab.qcom: No such file or directory

Any idea on a fix or a way to get passed this?
[SuperR Kitchen] SuperR.:
Send your boot.img and I will take a look
[SuperR Kitchen] SaintZ93:
Thank you for your help! https://www.dropbox.com/s/gwx1rf17jbpn9vc/axon7bootimg.zip?dl=0
[SuperR Kitchen] SuperR.:
v1.1.6.4 (Standard version)

Changes:

Exclude .ftm from fstab list.

v2.1.7.4 (Donate version - Bash)

Changes:

Exclude .ftm from fstab list.

That should do it :)
[SuperR Kitchen] SaintZ93:
Awesome!! That worked thank you so much :)
[SuperR Kitchen] hedgehogmd:
superr-kitchen2 error

fatal: unable to access 'https://gitlab.com/superr/superrs-kitchen2.git/': The requested URL returned error: 500

anybody else getting this error.

Thanks
[SuperR Kitchen] SuperR.:
I deleted you and added you again. This happens occasionally. Sometimes you can log in to gitlab.com on the web first, then clone and it works. Sometimes deleting your user and adding it back works. Let me know if you still have trouble.
[SuperR Kitchen] hedgehogmd:
Worked great thank you.
[SuperR Kitchen] daxgirl:
Hello, SuperR! Thank you for your great work!

6BE648590T402511F

GitLab Username: wubydax
[SuperR Kitchen] Shadicbypass:
boot image issues

i keep having problems with the kitchen refusing to open my boot image could you take a look a it please.

build prop https://drive.google.com/file/d/0B3zD7J4qFcyaSTlQbFp3VmdrVG8/view?usp=sharing

boot.img https://drive.google.com/file/d/0B3zD7J4qFcyaRV9EbTFSc2hPZEU/view?usp=sharing
[SuperR Kitchen] SuperR.:
Unpacks with no issues for me in kitchen 1, 2 and 3 running 64-bit Ubuntu 16.04.
[SuperR Kitchen] Shadicbypass:
odd i am using the premade iso image with the superr kitchen built in, do you think maybe something needs to be updated

edit: seems that cloning the kitchen seems to work. maybe the one included in the iso is ou of date or has a permission problem.
[SuperR Kitchen] SuperR.:
You need to install git-lfs in Ubuntu4Kitchen before cloning. Instructions are in the OP
[SuperR Kitchen] Shadicbypass:
I already did that before cloning but the one built in to the iso would not work for me. The one i cloned worked though.
[SuperR Kitchen] SuperR.:
Ubuntu4Kitchen has been updated. If you are already running Ubuntu4Kitchen without issues, there is no need to update. Here are the changes:

Updated all packages to latest versions

Installed git-lfs

Installed python3-pip

Updated desktop launcher to install git-lfs if it's not already installed when choosing either Bash kitchen

Reduced iso image size by ~200MB

I created a dedicated thread for Ubuntu4Kitchen. It can be found here. Updated the kitchen OP with a link to the new thread.

The torrent link is not working yet but I will add it as soon as I get a chance to create it.

edit: torrent link is up

[MENTION=5899743]Shadicbypass[/MENTION] -

Thanks for pointing out the issues. Should be working properly now with a few additional improvements :)
[SuperR Kitchen] rootlinux:
Time to start building ROMs again.
[SuperR Kitchen] SuperR.:
v2.1.7.5 (Donate version - Bash)

Changes:

Fixed converting to update-binary not working with configure.sh.

Fixed many other issues with update-binary conversion.

BASH DONATE USERS, PLEASE READ:

The Python donate version (v3.x) has matured nicely, and support for the Bash donate version (v2.x) will end soon. If there is a reason you have not switched to v3.x, please let me know so I can fix any issues that prevent you from switching. Thanks :)

PS. This might be the last v2.x update if I don't get any feedback
[SuperR Kitchen] SuperR.:
[MENTION=2545403]chevycam94[/MENTION] put together some really nice kitchen tutorial videos. If you would like to see a demo for installing the kitchen or a demo for creating a rom, head over to his thread and check them out :)
[SuperR Kitchen] chevycam94:
I still need to make the one for installing the Python version on Windows. Likely going to be based on Windows 10. Again, set up in a VM, which will take a LOT of prep work, but I believe that's the only one in the series I'm currently missing.
[SuperR Kitchen] tomgaga:
Hi,

I get "There was a problem unpacking your boot.img" for the attached boot.img (build.prop attached too).

Would be really cool and friendly if you could take a look.

Thanks in advance!
[SuperR Kitchen] SuperR.:
I sure will if you link the files :)

edit: [MENTION=1588304]tomgaga[/MENTION] - But I bet you need to read the instructions in the OP and install git-lfs, then clone the kitchen fresh
[SuperR Kitchen] tomgaga:
Hi, thanks for responding! Seems my attachments did not come through. And i'm pretty sure I installed git-lfs first. But I already found another unpack tool that did the job after some tweaking, so no matter anymore.
[SuperR Kitchen] R0i_:
Work in oxygenOS (Android 7.1.1)?
[SuperR Kitchen] SuperR.:
The kitchen supports Nougat. I don't have experience with OxygenOS so let us know how it goes.
[SuperR Kitchen] Mr Hassan:
free version for win or linux?
[SuperR Kitchen] bcrichster:
Linux
[SuperR Kitchen] Mr Hassan:
i have also linux but its need java and java not installing, give error during installation , with commands
[SuperR Kitchen] nclwz:
thanks for sharing
[SuperR Kitchen] The Sickness:
Are you running Arch? Or a Arch based distro?
[SuperR Kitchen] tomgaga:
No,but i resolved the problem with another kitchen
[SuperR Kitchen] The Exploiter:
First do this to add the repo to install Java 8:

sudo add-apt-repository -y ppa:webupd8team/java

Then update your packages:

sudo apt-get update

Then install java 8 by typing:

sudo apt-get -y install oracle-java8-installer

This will download java and start the install (assuming your on Ubuntu or another Linux is that supports apt manager) and it should install with no problems :) let me know if this helps you
[SuperR Kitchen] The Sickness:
Ah, ok. I have the issue on Manjaro not wanting to unpack the boot.img, or recovery.img.

mkboot tools doesn't work, so there is a package missing
[SuperR Kitchen] SuperR.:
I have no way of knowing what is wrong with your rom, but I suggest making it completely stock and testing before making any modifications. Then make a modification and test. This way you can figure out what is causing the issue.

If you send your boot.img I will take a look. If AIK will not unpack it, we can send it to osm0sis and see what he thinks :)
[SuperR Kitchen] The Sickness:
I just tried his tools to from github....like mkboot, it will unpack it, BUT, the ramdisk is empty. I'll upload the boot.img in a sec.

Fyi, it unpacks just fine on Mint. I just prefer Manjaro lol.

boot.img
[SuperR Kitchen] nclwz:
Thank you for your reply, maybe you can not help me
[SuperR Kitchen] Mr Hassan:
Yes i already fixed thanks
[SuperR Kitchen] The Exploiter:
That's good I'm glad to hear that :)
[SuperR Kitchen] SuperR.:
It unpacks in AIK without issues running 64-bit Ubuntu 16.04. You are probably right and just missing a dependency that comes pre-installed in Debian based systems. Let me know if you figure out a way to deal with it :)

edit: do you have cpio installed? If not that may solve the issue
[SuperR Kitchen] The Sickness:
Not sure on cpio...ill check tomorrow. If I figure it out out you'll be the first to know. Not many folks run Arch, or Arch based distros.

EDIT: CPIO is installed. Still a no go. BUT, I did fix it tho. I'm now triple boot, Manjaro, Mint, & Winblows.......I just use Mint for mkboot
[SuperR Kitchen] SuperR.:
Did you install git-lfs per the instructions in the OP? If not that's the issue. If so, your firmware might be corrupted. Try the git-lfs instructions and clone the kitchen fresh, then try again.
[SuperR Kitchen] Mr Hassan:
bro i using the kitchen in linux , but when i make zip after a few time system shutdown when i start again its giving error system heatup,

eveytime its giving this error,

waiting for free version for win , anyway i very like this kitchen
[SuperR Kitchen] Mr Hassan:
bro now i make zip, from stock rom WO any changes just for test, but after that ussd codes not working ?