yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] SuperR.:
Nobody is calling you a liar, but that does not mean you are right about v1.0.5.9 being the last version that works. Please understand that you are not the only one using this kitchen to make roms for those devices and I am not hearing others say the newer versions don't work.

Deodexing may or may not work in the kitchen for Samsung devices. I am well aware of this and many Samsung users have had problems. Try your rom without deodexing and see how it goes. If everything works, use a different tool to deodex. Many Samsung users have said svadev deodex tool works well for Samsung. All this info is in this thread many, many times.

Once again, if you have issues, upload the firmware and give me detailed instructions on how to reproduce the issues so I can fix them. Complaining here without details does not help either of us.
[SuperR Kitchen] stang5litre:
i am having some issues trying to make a MM rom . I choose option 3 for spars as it says to for MM, Then i get a error that says this is not a lollipop+ rom or i am running 32bit linux. I am running 64bit ubuntu 14.04. This is for Samsung Verizon s7 edge on 6.0.1 MM. Thanks for your help on this coming from archi kitchen which i guess doesn't support mm.

I can upload the firmware if needed but hoping its a simple solution. Thanks again :). Told me my 4gb of ram on my laptop was not enough lol, so on my desktop with 12gb of ram. [MENTION=5787964]SuperR.[/MENTION]

Error: This ROM is NOT Lollipop+ or you are running 32bit Linux.

stang5litre@stang5litre:~$ arch

x86_64

proof running a 64 bit linux.

CURRENT PROJECT: stang5litre_s7_edge

ANDROID VERSION: 6.0.1

CURRENT PROJECT: stang5litre_s7_edge

ANDROID VERSION: 6.0.1

ROM Tools Menu

1) Deodex ROM (CURRENT: Odexed)

2) Change perm type (CURRENT: sparse_dat)

3) /data/app support (CURRENT: Enabled: sparse_dat)

4) Root Menu

5) Asserts Menu

6) Debloat Menu

7) Build Menu

m = Main menu

q = Quit

Please enter your choice:

when i choose build menu gives me a choice to build full rom zip which i selected then wants me to use adb shell. I don't want to hook my device up and push, I just want to build the rom. Any suggestions ??

---------- Post added at 08:12 AM ---------- Previous post was at 07:55 AM ----------

You don't use a Rom Kitchen to deodex my Friend you use another program. SVA is a good deodexer for samsung roms. I have tried most of them and come back to SVA. Hope that helps. I have a s5 and s7e as well. Use Archi for s5 and used this for s7e for MM support but no glory yet on this one. By the way MM doesn't work with BB you need toybox :)
[SuperR Kitchen] pendor24:
hello, mustang 5 liter

I did a rom s7 E ( xef , mm) with kitchen of superr . on the s5 I fixed the problem by sd suprimant file and restore data stok apk (AC worked nickel)

I compile currently on note 4 910F and it does not start . sva not succeeds deodex has for me. lordroid either.I continue to work
[SuperR Kitchen] stang5litre:
send me your system file and ill deodex it for you
[SuperR Kitchen] stang5litre:
Here are some pics. Hope this helps
[SuperR Kitchen] SuperR.:
Based on the status in the menu it looks like you got the sparse_dat sorted out. I don't recommend sparse_dat for M roms. I would use set_metadata.

It is not asking you to push anything when you connect via adb, it is only getting your system partition size to build the system.img. set_metadata does not require system partition size so you won't need to connect your phone to get it.

This kitchen works well for deodexing most roms, just not all Samsung roms. Use set_metadata and you will get your glory from this one. Busybox works in M.
[SuperR Kitchen] stang5litre:
Ok sorry in the menu it says use sparse for MM. I am used to using meta so will re do it Thanks!!! Guess they did a Bb update. It was toybox for MM. Tua ms for the quick response as well. [emoji106] [MENTION=5787964]SuperR.[/MENTION] Do i need to sign the zip? Never have before just asking . Thanks again its building now .
[SuperR Kitchen] SuperR.:
Signing makes sure the files inside the zip are not corrupted before flash so it can be helpful, but I have never had a problem with unsigned zips. It is totally up to you :)
[SuperR Kitchen] stang5litre:
Thanks :D, I tried it out but its java so you have to have like 20gb of ram to even use it. Tried with 12gb of ram and it said it wasn't enough. I do have one issue though..... For some reason when it builds the rom it takes the csc folder out. Any reason for that? Its needed for the rom. No others.xml or any of that. Reason being is i need to edit it for part of the s7e fixes. :confused: Other kitchen uses cache as well which i believe is where the csc folder is. Is there a way to incorporate that ?
[SuperR Kitchen] SuperR.:
Place the cache.img in the rom directory when you extract the system.img. The kitchen will ask if you want to extract cache.img. Then it will ask if you want to include cache.img files in your rom. If you say yes to both you should be good.
[SuperR Kitchen] stang5litre:
Ok will try again. I had all that in there and it never asked about cache
[SuperR Kitchen] stang5litre:
It asked for cache this time and I put yes never asked to keep it or what have you, built the rom still no csc folder. I am pretty exp in building roms so no clue why its not adding it. Gonna try again i guess. 4th time. Don't see where i could be messing up. Thanksman
[SuperR Kitchen] SuperR.:
If you upload the firmware I will take a look
[SuperR Kitchen] stang5litre:
Will do sir. Thanks again
[SuperR Kitchen] stang5litre:
Here is the Firmware Verizon s7edge

https://mega.nz/#!nZ9SUY4T!HLBRQtwB49vtiHCvY8gDPibwkajwKQMqo0SzAnGS-DI

Thanks again for helping me out :good:
[SuperR Kitchen] nightcervant:
[MENTION=5787964]SuperR.[/MENTION] my donation ID: 66D938665G8061614

mail: nightcervant@gmail.com

nick xda: nightcervant

donation: 10$
[SuperR Kitchen] SuperR.:
v2.0.9.9 (Donate version)

Changes:

Updated SuperSU to version 2.76.

Updated oat2dex.jar used in N roms to latest commit.

Fixed csc not being extracted in s7 edge ROMS.

v1.0.8.8 (Standard version)

Changes:

Updated SuperSU to version 2.76.

Updated oat2dex.jar used in N roms to latest commit.

Fixed csc not being extracted in s7 edge ROMS.

[MENTION=4840281]stang5litre[/MENTION] - In case you are curious, the reason csc was not showing up is because it was never extracted into your rom. The cache.img was mounted and extracted but the kitchen did not see your ROM as Samsung so it did not extract csc from cache.img. The s7 edge is the first Samsung device I have seen that brands it as the carrier (in this case Verizon), so I changed the check to manufacturer instead. It probably should have been this way in the first place but it has not been an issue until now. Thanks for pointing it out, now it is fixed :)
[SuperR Kitchen] kc6wke:
Donation version

[MENTION=5787964]SuperR.[/MENTION]

Donation confirmation #54048214UA516584T

Gitlab username kc6wke
[SuperR Kitchen] stang5litre:
AWESOME!!!!! Thanks so much!!! DL new version now and gonna make a rom can't wait :good::laugh::good::good:

Thanks for you time in this project!!
[SuperR Kitchen] Darkapolo:
[MENTION=5787964]SuperR.[/MENTION] How can I make the donation? I don't see the procedure in the OP? Sorry and thanks in advance.

Enviado desde mi Aquaris M5 mediante Tapatalk
[SuperR Kitchen] SuperR.:
All the donate information is in the Troubleshooting/FAQ (post #4) linked in my signature :)
[SuperR Kitchen] Darkapolo:
[MENTION=5787964]SuperR.[/MENTION]

Paypal Donation confirmation: 4GC49176SE948745B

Gitlab username DarkApolo

Enviado desde mi Aquaris M5 mediante Tapatalk
[SuperR Kitchen] pendor24:
Hello

I made a ROM that works, it starts successfully . but here when I deodex this rom it unbootable .

kitchen Version 2 . 0 . 99

Note4 910F

Marshmalow 6.01

permissions set perm

log here >>>https://mega.nz/#!GxpHgQ7T!l27az7-vHpC8iJnpw1_RjEB-TC-1HAwrgZbKg2ipl58
[SuperR Kitchen] HiM@L:
seems to have problem with android N ..... doesn't boot. is there anything i can provide to troubleshoot this issue...using donated version.
[SuperR Kitchen] jaylence:
In the unpacked boot.img, how can I edit the files inside the ramdisk folder. Those files are "locked" and it says I need to have permission first.
[SuperR Kitchen] Captain_Throwback:
Use a File Explorer with root access (I use Ubuntu and type "sudo nautilus" to do that), or use sudo to open the files from the command line to edit them ("sudo gedit init.rc", etc.).
[SuperR Kitchen] Saarliner:
Hey, i have make a donation and my Gitlab Username is Saarliner (dirk.riedel28@googlemail.com). Thanks for your great work

You will have the PayPal Number?
[SuperR Kitchen] SuperR.:
I have already answered you exactly on this topic the last time I replied. The only thing I will add to it is that I suggest you use set_metadata for M roms. set_perm does not deal with contexts.

Please see Troubleshooting/FAQ for a list of things that are helpful to figure out problems.

Added, thanks :)
[SuperR Kitchen] BoBCatRoM:
[MENTION=5787964]SuperR.[/MENTION]

Hi mate,

I made the donation you can add me to GitLab....

nickname: apachi

(bobcatrom.xda@gmail.com)

Thx
[SuperR Kitchen] pvsgh:
Hey SupeR, thanks for all your work on this kitchen. I'm trying to build a TW MM for Tab S2 (SM-T813), but after building and installing it doesn't even boot. I also noticed that CSC folder is also not being extracted from cache.img.ext4

Here are the links for the Full ODIN file and Stock boot image:

Full Firmware:

https://www.androidfilehost.com/?fid=24588212152304936

Stock Kernel:

https://www.androidfilehost.com/?fid=24588212152304938

Let me know if you need any further information for troubleshooting.
[SuperR Kitchen] josemigon23:
How can I get the last kitchen's version? The one I mean is v 2.0.9.9 I have just been able to get v 1.0.8.8 but what about the other one? Thanks
[SuperR Kitchen] pvsgh:
Found the issue, looks like problem was with deodexing process. If i don't deodex the ROM it boots, but after deodex ROM doesn't boot.
[SuperR Kitchen] bigrammy:
I had this same issue once so I created "my own folder" on the desktop then selected the individual files and folders within the downloaded kitchen.zip and extracted them to the folder I made.

No more problems after that :good:
[SuperR Kitchen] SH1M4BD3:
Hello can someone confirmed that the pulled partitions (device state twrp/recovery) eg, system.img ,the questions is that the pulled part has the same with the system.img of the stock one zip/tgz??. I pulled system.img and try to compare with the stock (downloaded stock zip/tgz) but the partitions sizes was different, pulled part about 2GB while the extracted stock at about 1,2GB.. Is that okay when i flashed the pulled one into my devices??
[SuperR Kitchen] SuperR.:
I will add a rename of cache.img.ext4 to cache.img in the next update. That must be what happened to you.

v2.x.x.x is the donate version. You can find info in the Troubleshooting/FAQ post linked in my signature.

This problem has been mentioned several times for Samsung devices. Most recently here.

The system.img in your stock zip is a sparse image, the one extracted from your device is a raw image. Sparse images are smaller. You should be able to flash both raw and sparse to your device depending on the method you use to flash them.
[SuperR Kitchen] kasi5471:
Hi superR thanks for the great kitchen

Donate info

Paypal Transaction code

662505341D034523C

Donation from a guest on XDA Developers (http://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296)

gitlab acc

kasi5471
[SuperR Kitchen] HiM@L:
What Kitchen version?

latest donate version

What Linux are you running (OS and architecture (32/64-bit))?

Ubuntu 14.04 64-bit

What device are you working on (make/model)?

Nexus 6

What was the source you started from (system.img, system.ext4.tar, rom.zip, etc.)

system.img and boot.img from Preview 4

What Android version?

N Preview 4

What perm method (set_perm, set_metadata, sparse_dat, raw_img)?

sparse_dat and set_metadata

What did you do after extracting and before building?

debloat/rooted/busybox (systemless)

Were there errors on the screen if you scroll up in the terminal?

screenshot attached. if i use if I use sparse_dat and choose recommended option to build ROM it says something went wrong. if I choose set_metadata then it does build but it doesn't boot.

Can you send a link that does not require registration to the files you started with (nandroid, system.img, boot.img, etc)?

android N Preview 4 from google.

Please let me know what other info I can provide.
[SuperR Kitchen] SH1M4BD3:
[MENTION=718594]super[/MENTION]R thanks really clear now, i want the donate version but cannot found any donate button here(usingXDAapp)..reply to my pm sir thanks
[SuperR Kitchen] josemigon23:
so what should I do? If I choose set_metadata then my zip will not boot. If I choose sparse_dat and then choose recommended option to build my zip it fails... I am trying to build a Marshmallow ROM of a GALAXY NOTE 4 (SM- N910F) (international). What should I do pleasee
[SuperR Kitchen] SH1M4BD3:
Hi [MENTION=718594]super[/MENTION]Rs tnanks for great job

Transaction ID

35X08755C2121083F

Sent to

D-day Productions

866-222-3329http://

billing@ddayproductions.com

Gitlab Account : shimabde
[SuperR Kitchen] bcrichster:
Purchase the donate version.

Sent from CM12.1 *N9515*
[SuperR Kitchen] SuperR.:
The building fails with sparse_dat because you don't have the correct system partition size. You can enter it manually if the automatic options are not working. However I don't recommend sparse_dat for M or N roms. Even though it is possible they will work, you are more likely to have issues since the rimg2sdat binary has not been updated since L and is not open source.

Try building a set_metadata rom without root, busybox, deodex, etc. Totally unmodified and see how it goes. If it boots, the problem is being caused by one of those things and narrows down the problem a bit. Then one by one add them back to see what is causing the problem.

I suggest follow the same advise I just gave above.

Added, thanks :)
[SuperR Kitchen] HiM@L:
This time, I didn't modify anything just extracted and build with set_metdata....earlier it used to just stay in boot animation but now it just stays in Google logo.
[SuperR Kitchen] SuperR.:
Please send your updater-script and recovery.log. Thanks
[SuperR Kitchen] HiM@L:
https://www.dropbox.com/s/behxdvmutrfsw32/recovery.log?dl=0

https://www.dropbox.com/s/kj4j23jnkz0c9hl/updater-script?dl=0
[SuperR Kitchen] josemigon23:
Does it work if I choose set_metadata option and then deodex, zipalign and root my zip? I thing it should work... Shouldn't it?
[SuperR Kitchen] SuperR.:
updater-script looks ok to me, and the recovery log shows it flashed ok. Not sure why it won't boot. Hopefully you will figure it out and let me know if there is something that needs to be fixed in the kitchen. There might be a file context missing that needs to be there.

It is strange that flashing SuperSU and/or Busybox helped you get to the boot animation. SuperSU modifies the boot.img on M roms when it is flashed so maybe look into changing the boot.img as well.

As I have stated many times (this will be the last time since i have now added it to the Troubleshooting/FAQ page), deodexing Samsung roms may or may not work. If your rom does not boot after deodexing, try it without. If it works and you must deodex your rom, try a different tool. I hear svadev deodex tool works well for Samsung roms.
[SuperR Kitchen] josemigon23:
Thanks... So all I have to do is to try installing my modified (rooted, zipaligned, deodexed and debloated) ROM by your tool in my note 4 and if it doesnt boot all I have to do is to modify the same in your kitchen except deodexing, which I"ll do with svadev tool. Am I correct?
[SuperR Kitchen] pendor24:
Hello

as I am stubborn and I tried many combinations with kitchen superr unsuccessfully for deodexer and do my demarer Roma feneck . but I managed without a deodexer erreure and do my demarer set_metadata rom with kitchen assayyed

on windows .http://xdaforums.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545
[SuperR Kitchen] baloo30310:
Hello super I encounter the same problem Pandor on my galaxy note 4 N910F. Deodex set of in-perm with that of assayyed in set_metadata no it starts. I think there are changes in the kitchen to do for trltexx trlte. thank you in advance
[SuperR Kitchen] Darkapolo:
Hi [MENTION=718594]super[/MENTION]r, finally I could make the donation to the correct paypal account.

Transaction ID.

0PJ921584B399712D

Gitlab username : DarkApolo

Enviado desde mi Aquaris M5 mediante Tapatalk
[SuperR Kitchen] pvsgh:
Thanks, already figured out to use a different tool for deodexing and it worked. Thanks for all your help.
[SuperR Kitchen] SH1M4BD3:
[MENTION=2336305]SSupeRR[/MENTION] can you add support of Xiaomi devices too, thanks sir
[SuperR Kitchen] bcrichster:
Hmm someone might wanna send him a Rooted device but otherwise unmodified one to work with since they're nonexistent in USA..?? [emoji41]

Sent from CM12.1 *N9515*

---------- Post added at 04:35 PM ---------- Previous post was at 04:18 PM ----------

OK.. First, you may be running a Linux program on Windows unless you're using a VM. That'll be your biggest issue to overcome if you aren't on a Linux OS, as is recommended by the Dev in the OP. [emoji41]

Sent from CM12.1 *N9515*
[SuperR Kitchen] pendor24:
Hello

I use that installing hard

my pc = 5 internal dd ( 3 windows + 2 linux)
[SuperR Kitchen] devilmaycry2020:
why the download source http://bitbucket.org/superr/superrs-kitchen.git very slow download speed. just about under 10kbps.
[SuperR Kitchen] enotar:
I succeed installing Supersu, Busybox and Xposed with the new version 86.1 but I have an issue; system is not writable.... I cannot install any app even from Palystore or from File explorer. It looks I have root as I can open SuperSU and dont request updating binaries. Could it be some permission missing when flasing the rom? Al is systemless.

I have last version 2.0.9.9

Thank you
[SuperR Kitchen] SuperR.:
yes

I added you yesterday but did not have time to post. Sorry for the delay. Thanks :)

If you tell me what needs to be changed it would be helpful. Or, you could send me the updater-script that this kitchen generates and send me the one that works so I can compare.

What does not work on Xiaomi devices?

You must know I can't do anything about the speed of Bitbucket :p

This does not sound like a kitchen issue. If you would like to find out, build a rom without any modifications and see how it goes. Then flash SuperSU, Busybox, and Xposed manually and see how that goes.
[SuperR Kitchen] marsapa:
hello with the latest version of fw mm mediatek with option 1 the deodex is done but then goes bootloop with option 2 you have this error
[SuperR Kitchen] kasi5471:
Hey guys, any solution to got more Ram for zip sign? I'm a totally Linux noob.

The kitchen works well but signing wouldn't

Anyone could help me pls

Thx all
[SuperR Kitchen] bcrichster:
Need better hardware/RAMcard(s)

Sent from CM12.1 *N9515*
[SuperR Kitchen] kasi5471:
Ah, ok thx mate. Could i sign it on other PC?
[SuperR Kitchen] bcrichster:
Possibly, if the other PC has enough RAM

Sent from CM12.1 *N9515*
[SuperR Kitchen] kasi5471:
Yes The other PC have 8gb ram
[SuperR Kitchen] devilmaycry2020:
Hi all

I'm trying to deodex Xperia Z5 6.0.1 MM with this tool but always fail. I heard that i should choose set_metadata as perm type. but there is something wrong with unpack boot.img. See the picture below. Thank you very much
[SuperR Kitchen] SuperR.:
Try deodexing with a different tool.

Try renaming your boot.img to kernel.elf and extracting again.
[SuperR Kitchen] devilmaycry2020:
if i rename boot.img to kernel.elf it show error not found boot.img.
[SuperR Kitchen] jackq:
try to repack stock kernel using [MENTION=357342]tobias.waldvogel[/MENTION] tool, it should help ;)
[SuperR Kitchen] SuperR.:
When I said try extracting again, I meant the whole rom. Sorry for the confusion. During rom extraction, the kitchen checks for kernel.elf and unpacks it to get the file_contexts file needed for selinux contexts. The kitchen does not support unpack/repack of kernel.elf in the Boot menu. It only unpacks during rom extraction when repack is not needed since we don't have a good method to repack kernel.elf. However, the donate version has a plugin to convert kernel.elf to boot.img which can be used in the Boot menu.
[SuperR Kitchen] devilmaycry2020:
Thanks. i used @tobias.waldvogel tool and it work but when deodexing some error occur .Please see.

Deoptimizing boot.oat ...
----------------------------------------------------

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at org.jf.dexlib2.analysis.AnalyzedInstruction.<init>(AnalyzedInstruction.java:84)
at org.jf.dexlib2.analysis.MethodAnalyzer.buildInstructionList(MethodAnalyzer.java:515)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:162)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:402)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:82)
at org.jf.dexlib2.immutable.ImmutableMethod.<init>(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:95)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.<init>(ImmutableClassDef.java:110)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:139)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.<init>(ImmutableDexFile.java:47)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.extractDexFromBootOat(OatUtil.java:207)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:115)

it's seem problem with java heap size. how to increase it ?
[SuperR Kitchen] bcrichster:
An adjustable heapsize might actually be useful..?? :cool: Nice find.

Sent from CM12.1 *N9515*
[SuperR Kitchen] devilmaycry2020:
I searched on Internet a lot but didn't find out the guide to increase heapsize space. Do you know how to do? I thought this is the problem with deodexed rom so it still bootloop.
[SuperR Kitchen] _that:
Please post the first result of this query, your Google might be broken:

http://www.lmgtfy.com/?q=java+heap+size
[SuperR Kitchen] devilmaycry2020:
Deleted

---------- Post added at 03:50 PM ---------- Previous post was at 03:06 PM ----------

Here http://stackoverflow.com/questions/1565388/increase-heap-size-in-java

Then what should I do now?