yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] TMG1961:
Did test the new version. Was able to install the rom with the apps in data/app. But titanium backup wasnt installed. Not sure why but isnt a big deal.

Had /data/app support and perm-type set to set_metadata.

When i change both to sparse_dat i get an error when i need to choose data partition detection mode. When i select option 1 i get following error.

ERROR:

Something went wrong building the data image.

Make sure your data partition size is correct and

that the data directory is not too big to fit.
[SuperR Kitchen] Captain_Throwback:
I don't recommend using sparse_dat for /data, because it will always wipe out your entire emulated storage, which isn't what most people want.
[SuperR Kitchen] Mortifix:
Hi [MENTION=5787964]SuperR.[/MENTION], I am having an issue with Wifi calling when I create a rom using your kitchen. I was reading through the thread and it looks like Galaxy S6 users were having issues with wifi not working. This was resolved by adding set_metadata("/system/etc/init.sec.boot.sh", "uid", 0, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:sec-sh_exec:s0"); to the updater-script. I can confirm that wifi is working fine now. The issue I am having is that wifi is not working when using sparse_dat. From my understanding, sparse_dat adds the permissions back to the system.new.dat. Is there a way to open this file to view the permissions to make sure the system/etc/init.sec.boot.sh permission is being added? Wifi is working fine when using metadata permissions. I would just use this instead of sparse_dat, but I am unable to get wifi calling to work with metadata permissions so I am assuming there is an additional permission that needs to be added. Unfortunately I am not experienced enough to be able to figure out what permission would need to be added :(
[SuperR Kitchen] Wonders_Never_Cease:
Having issues with bluetooth sharing on A9 Developer build after deodex'n 1.57.617 builds...Sorry added in info requested from O.P., Thanks

What Kitchen version? 1.0.6.4

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

What device are you working on (make/model)? Htc One A9 US Developer Edition

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

What Android version? 6.0.1

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

What did you do after extracting and before building? Deodex'd,rooted

Were there errors on the screen if you scroll up in the terminal? Exceptions,but they were for files that were already deodex'd it appeared

Can you send a link that does not require registration to the files you started with (nandroid, system.img, boot.img, etc)? Yes if needed.
[SuperR Kitchen] cebs:
[MENTION=5787964]SuperR.[/MENTION]

Confirmation Number: 36G03102YC242431B

Gitlab username: cebs
[SuperR Kitchen] cebs:
I´m having this issue even if i say Yes all the time
[SuperR Kitchen] SuperR.:
I only test on 64-bit Ubuntu 16.04, so you could try that. If you want to try with what you are currently running, you can download the 32-bit or 64-bit binaries (depending on your pc OS) from the repo and manually extract them into your tools directory. That should at least get the kitchen running and hopefully solve your issue. Good luck :)
[SuperR Kitchen] cebs:
I'm running Xubuntu 16.04 x64 on vb...

I'll try reinstalling everything again to see if it solves :)
[SuperR Kitchen] TMG1961:
Maybe a not so smart question. But here it comes. The 64-bit_binaries.zip is that for 64 bit phones or for when you use a 64 bit OS on laptop/computer?
[SuperR Kitchen] Er. Aditya:
so /kitchen/tools/smali/current folder oat2dex is for n preview ? and in old one is for older versions then N ?

because i tried to replace the oat2dex svadev uses and still the apps dont get deodexed properly

those are for your os
[SuperR Kitchen] TMG1961:
Thanks, but does that mean that i have to manually add them everytime i upgrade the kitchen? I use the paid version.
[SuperR Kitchen] Er. Aditya:
once u setup your kitchen , your good to go ...
[SuperR Kitchen] TMG1961:
Thanks, so i place the files in the zip file in the tool folder and after that i dont have to do it again when i update the kitchen. They arent replaced by the update?
[SuperR Kitchen] akmlvl:
Thanks Bro

This Tool is So helpful you're awesome
[SuperR Kitchen] jetfin:
Finally managed to get my hands on an appropriate update-binary, replaced as suggested and all good. ROM flashes successfully! Now on to ironing out other issues... :)

Thanks man!!!
[SuperR Kitchen] jetfin:
[MENTION=5787964]SuperR.[/MENTION]

Confirmation Number: 8E218389XJ457640V

Gitlab username: jetfin
[SuperR Kitchen] SuperR.:
The binaries will need to be added every time you update the kitchen. The kitchen intends on building them from source on first run, and if that fails it intends on downloading the prebuilt binaries and installing them for you. Not sure why either of those things is not working on your system.
[SuperR Kitchen] TMG1961:
There isn't anything not working on my system, as far as i can tell anyway. I was just wondering about the binaries. I noticed them and wasnt sure if they were needed when you build a rom for 64 bit phone or if you had a 64 bit OS. I never did anything with the binaries, I downloaded the kitchen and used it. Running Linux Lite 2.8 64 bit on laptop
[SuperR Kitchen] BackCheck:
[MENTION=5787964]SuperR.[/MENTION]

Confirmation: 5XW39808BK210991D

GitLab UID: DigitalDeviant

Thanks for the work!
[SuperR Kitchen] CrashTestDroid:
Updated to 1.0.6.4 from 1.0.5.0 and deodex was broken, the errors seemingly related to java. I'm working on a H2OS stock rom for the OnePlus 2.

Then I fixed it by reverting to the oat2dex from 1.0.5.0. Only a couple errors, I deleted those apk's because they're not essential.
[SuperR Kitchen] SuperR.:
Everyone should use whatever oat2dex and smali/baksmali they want. I can't keep up with which one works best with which rom and I can't include every oat2dex version in the kitchen. I have made it very simple to swap so swap away :)

edit: It should be mentioned that the newer oat2dex and smali/baksmali were compiled using open-jdk 8, and the older ones in previous kitchen versions were compiled using open-jdk 7. I am pretty sure the open-jdk 8 compiled versions will not work with open-jre 7 so updating to open-jre 8 might solve your issues and allow you to use the newer versions.
[SuperR Kitchen] Er. Aditya:
I agree but the thing is i used svadevs oat2dex with this kitchen the result was same many apps fc but when used with his tool its fine
[SuperR Kitchen] SuperR.:
Then use his tool or tell me how to fix mine :)
[SuperR Kitchen] Er. Aditya:
Dint wanted to disrespect u at all :)
[SuperR Kitchen] jetfin:
Hi, I'm using the latest donate version and am making flashable zips fine until I start deodexing.

I'm getting the same errors for most apps, here for example from soundrecorder:

... Deodexing SoundRecorder

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/rh/smaliex/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
mv: cannot stat ‘/home/jack/superrs-kitchen2/superr_i15-T_Stock_Debloated_Rooted/system/app/SoundRecorder/x86/SoundRecorder.dex’: No such file or directory

- thing is that all apps in /system/app and /system/priv-app have gzipped odex files named like this "xxx.odex.gz" (not "xxx.dex")

And in /system/framework/x86 they all have ".odex" file ending instead of ".dex" (which script seems to be looking for)

Aside from decompressing all files in /app & /priv-app and renaming them to .dex and renaming everything in /system/framework/x86 with .dex extensions is there something easier I could try? Or did I just make a mistake somewhere?
[SuperR Kitchen] SuperR.:
No disrespect taken. The problem is that I don't know how to fix deodexing on Samsung roms. It was mentioned a while ago that it might be a lib issue and I posted a script for testing and nobody gave any feedback? Did you try it?

http://xdaforums.com/showpost.php?p=66463920&postcount=2740

Try updating java to open-jre 8 and try again. The kitchen handles the gzipped odex files.
[SuperR Kitchen] Er. Aditya:
reporting back within 30 mins , thanks aton bro i never saw this post :D

edit : how do i run this lib file bro ?
[SuperR Kitchen] SuperR.:
Put it in /kitchen/superr_projectname

Then run like any other script:

cd /kitchen/superr_projectname
./seplib
[SuperR Kitchen] Er. Aditya:
Will report in a while bro

Thanks aton
[SuperR Kitchen] TheRock40359:
i have ubuntu 15.10 superr kitchen is in my home folder when i open terminal from my kitchen folder i type in the command sudo ./superr i get asked for password and then after i type in password i get

sudo: ./superr: command not found
[SuperR Kitchen] jetfin:
Worked like a charm, thanks man! Your kitchen truly rocks.

-Now on to troubleshooting buggy google stuff.... :)
[SuperR Kitchen] SuperR.:
Where did you see in the OP to use the sudo command to run the kitchen?

cd /path/to/kitchen
./superr
[SuperR Kitchen] TheRock40359:
I figured it out thank you. Is there a way to enable native hotspot with superr's kitchen?
[SuperR Kitchen] SpasilliumNexus:
Is it me, or did/does anyone else have a problem trying to donate via Google Wallet? No where does it tell me WHY the transaction is not permitted when I try viewing the details about it.

I cannot wait for my Simple card to get to me so I can jump off this dying ship.
[SuperR Kitchen] TheRock40359:
Can I use SuperR's kitchen to enable native hotspot?
[SuperR Kitchen] :
It's easy. add net.tethering.noprovisionsing=true to the build.prop no need to have kitchen do it.
[SuperR Kitchen] Captain_Throwback:
I'm sure this method will work on some devices and carriers, but this doesn't apply for every carrier and device.
[SuperR Kitchen] :
No but it's the easiest and most universal method.
[SuperR Kitchen] Gayos24:
Can someone make a zip for windows with all tools in exe format ?

because i have try to install with bash ubuntu on windows but it want not to launch the kitchen, and it's the same for cygwin.
[SuperR Kitchen] fhem:
read please
[SuperR Kitchen] jetfin:
All working more or less fine for me now with deodexing, ROM installs fine, everything seems to work fine, but upon closer inspection of the log I found this:

ERROR: No more files
/home/jack/superrs-kitchen2/superr_i15-t_stock_deaodexed_debloated/system/framework/com.intel.aware.awareservice.jar

System ERROR:
Unknown error -2147024872

... Deodexing com.intel.aware.awareservice

ERROR: No more files
/home/jack/superrs-kitchen2/superr_i15-t_stock_deaodexed_debloated/system/framework/com.intel.config.jar

System ERROR:
Unknown error -2147024872

... Deodexing com.intel.config

Any insight here?
[SuperR Kitchen] TheRock40359:
will this work for verizon note 3 lollipop?
[SuperR Kitchen] SidRobo:
any idea why this happen when i want to run ./superr in v1.0.6.4 in cygwin64?

$ ./superr
ps: unknown option -- A
Try `ps --help' for more information.
ps: unknown option -- A
Try `ps --help' for more information.

when i repalce superr with the superr of version 1.0.5.7 it runs.
[SuperR Kitchen] dkionline:
@SuperR.

ID: 9SB898314H335873E

Gitlab: dkionline
[SuperR Kitchen] bigrammy:
I need a little help/advice dd

Sorry for the OT but hoped I could get some advice from seasoned Linux guys.

It's a long story but I have a 3.1gb ROM update containing system, recovery, boot, etc etc the file is a .nb0 :(

Basicly I have manually worked out the start address and length of all the contained files and .img's using Hex and now I would like to know the best linux tool eg dd, cat, tail etc and commands to skip (go to) start of the system.img and copy its length into a new system.ext4.img which the Kitchen can then mount. I have managed to thoroughly confuse myself by reading too much about dd, pipes, chunks etc etc after a long shift at work and really could do with clear thinking persons to help me :laugh:

Here are remaining file's I have still to pull from the .nb0 note there is zero padding or spacing between the file and .img's

ZM1-0-6110-secro.img

Start = 20397675
Lengh = 135168
End = 20532843 =(Start of splash)

ZM1-00WW-002-splash.img

Start = 20532843
Lengh = 1801100
End = 22333943 =(Start of system)

ZM1-0-6110-00WW-system.img

Start = 22333943
Lengh = 2891610912
End = 2913944855 =(Start of sutinfo)

ZM1-00WW-001-sutinfo.img

Start = 2913944855
Lengh = 55
End = 2913944910 =(Start of hidden)

ZM1-0-0030-0001-hidden.img

Start = 2913944910
Lengh = 27287712
End = 2941232622 =(Start of cda)

ZM1M-00WW-003-cda.img

Start = 2941232622
Lengh = 8388608
End = 2949621230 =(Start of fver)

fver:

Start = 2949621230
Lengh = 17106
End = 2949638336 =(Start of Cache)

Cache

Start = 2949638336
Lengh = 8388912
End = 2958027248 =(Start of Userdata)

Userdata

Start = 2958027248
Lengh = 27812432
End = 2985839680 =(Start of ftm boot)

ZM1-0-012M-ftm_boot.img

Start = 2985839680
Lengh = 17334272
End = 3003173952 =(Start of ftm system)

ZM1-0-012M-ftm_system.img

Start = 3003173952
Lengh = 125962664
End = 3129136616 =(Start of md5)

ZM1-6110-0-00WW-A01.md5

Start = 3129136616
Lengh = 1848
End = 3129138464

Note:

nb0.utils.py extracts the boot.img recovery.img then crashes on the "system.img" file due to it's size I suspect on both Linux and Windows :(

HexEdit on both Linux and Windows can't seem to handle (copy/cut) the larger system.img either. :(

:fingers-crossed:
[SuperR Kitchen] SuperR.:
Possibly because I don't have a Wallet account? Not sure but thanks for trying :)

Use Linux

I would not worry if everything is working

Probably

Use Linux

Have you tried the Linux utility testdisk? It does a nice job extracting partitions from an mmcblk0 image, not sure about the .nb0 files though
[SuperR Kitchen] TheRock40359:
every time i try to build full rom zip i get this

ERROR:

Something went wrong building the data image.

Make sure your data partition size is correct and

that the data directory is not too big to fit.

what am i doing wrong?
[SuperR Kitchen] aceqott:
Hi.

Your tool works fine. Thanks for the work. :victory:

I have the following question:

Is it better to use set_metadata or set_perm for Samsung TW ROM Marshmallow?
[SuperR Kitchen] bigrammy:
Thanks but that failed also or i don't know how to use it properly. :o

The .nb0 is very similar to a mmcblk0 image but with all the empty space trimmed out, I have had a little sleep now so I will have a re-think. :eek:
[SuperR Kitchen] Captain_Throwback:
Try using set_metadata for /data rather than sparse_dat.
[SuperR Kitchen] JTdevAndroid:
Hi man thanks for your work, your kitchen is fantastic!

p.s.

TransID: 47E76107793029000

GitLab: JTDevAndroid
[SuperR Kitchen] TheRock40359:
ok. im new to this still but now after i make all my changes do i need to delete the system.img and the cache.img since i have the system and cache folders?

---------- Post added at 02:17 PM ---------- Previous post was at 01:55 PM ----------

also i want to remove the bootloader files from the rom. how do i do that or which files do i delete. im working with samsung note 3 lollipop rom
[SuperR Kitchen] SuperR.:
set_metadata

You don't need to delete system.img and cache.img, the kitchen ignores them after they are extracted.

The bootloader is not normally included in the rom. If you started with system.img, boot.img, and cache.img as your post suggests you are all set.
[SuperR Kitchen] cebs:
[MENTION=718594]super[/MENTION]R i'm still facing the same problem...

One thing i noticed, free version works without any problems as you can see here

But on paid version i get this:

And i can't go further...

I'm running Xubuntu 15.10 x64 on vb

EDIT: I managed the problem, downloaded kitchen directly from gitlab and voilà

Enviado do meu SM-G928F através de Tapatalk
[SuperR Kitchen] SuperR.:
v1.0.6.5 (Standard version)

Changes:

Java 8 is now required to use the kitchen.

v2.0.6.5 (Donate version)

Changes:

Java 8 is now required to use the kitchen.

New Feature - Option to convert updater-script to update-binary for all rom zips EXCEPT sparse_dat.

NOTE: The new feature listed above is in EXTREME alpha, meaning it has not been tested at all. In theory it should work if SuperSU and Busybox flash in your recovery as it uses the same update-binary technology for the rom.zip. Huge thanks once again to [MENTION=4544860]osm0sis[/MENTION] for his update-binary functions making this feature possible :)

NOTE2: Zip signing with the new update-binary method is not yet supported in the kitchen. I will be working on that next.
[SuperR Kitchen] Er. Aditya:
sorry bro am late , had to reset everything again

so i tested the script

http://pastebin.com/XyfHQhch here's the result

i dont think it worked
[SuperR Kitchen] SuperR.:
Why don't you think it worked? Are there any lib directories inside your apk's? I bet not, instead they should be moved to /system/app/AppName/lib and /system/priv-app/AppName/lib. Now you need to build the zip and flash it to see if you get the fc's.
[SuperR Kitchen] TMG1961:
When i try to update the kitchen i get message following message:

You need at least Java 8 to use this kitchen.

The following package is recommended:

default-jre

Would you like to install now? y/n

I then choose y and get the following after installing dependencies: W: There is no public key available for the following key IDs:

1397BC53640DB551

After that i get the first message again:

MISSING DEPENDENCY: You need at least Java 8 to use this kitchen.

The following package is recommended:

default-jre

Would you like to install now? y/n

When i enter n i only are given the option to quit the kitchen
[SuperR Kitchen] SuperR.:
Install java 8 on your machine and start the kitchen again
[SuperR Kitchen] Er. Aditya:
Bro somehow most of the issues fc are gone just a gallery fc is left and never happened to me but just made a simple deodexed rom and i am stuck here with the google sign in thing ...cannot bypass it even if i click on set up
[SuperR Kitchen] TMG1961:
My mistake, i thought that i already had java installed..but i was still on java 7
[SuperR Kitchen] SuperR.:
To clarify, you did the following to end up stuck on that screen, correct?

1. deodex rom in kitchen

2. run ./seplib from project directory

3. built the rom zip using the normal set_metadata (not the new update-binary method)

4. flashed the rom
[SuperR Kitchen] Er. Aditya:
everything was same just i used the new script prior to deodexing , i am trying again
[SuperR Kitchen] Er. Aditya:
still no sucess bro few apps like gallery , google news stand fc and now i am stuck here
[SuperR Kitchen] SuperR.:
Well, I am back to having no idea how to fix deodex on Samsung roms. Thanks for testing :)
[SuperR Kitchen] Er. Aditya:
thanks alot bro , if you ever come across any more ideas about this i am always ready to test :)
[SuperR Kitchen] Gayos24:
i can't, my lenovo want not to resize my ssd. i don't know why...

if you know why i will install linux and donate to you for your job.

thanks
[SuperR Kitchen] TheRock40359:
I tried this on my samsung note 3. Verizon and it didn't work
[SuperR Kitchen] :
well then google the tethering 'hack' for your specific device. I didn't say it was universal. It works on Nexus devices :good:

edit: [MENTION=6997521]TheRock40359[/MENTION]

https://m.youtube.com/watch?v=TUhlXiAE3q0
[SuperR Kitchen] jtash01:
Getting repository not found error
[SuperR Kitchen] TheRock40359:
When I removed Knox with the kitchen and installed it on my phone it shows Knox is still present in settings
[SuperR Kitchen] bigrammy:
[MENTION=5787964]SuperR.[/MENTION]

Just for info and maybe useful for mmcblk0 too but the .nb0 problem is solved with HexEdit (Windows) using the "Write Selection" button under the Edit menu. :laugh:

Place a "Mark" at the start of your desired selection then goto the end part. In the Edit menu select Mark/extend to mark then Write Selection :victory:

I can't believe I just made that job so damned hard for myself :silly:
[SuperR Kitchen] bcrichster:
I think that means your Knox files are present with the exception of the libs, which renders the Knox useless.. As was intended. Samsung made it to where If you completely remove all traces of Knox then the device won't even boot. So.. In short terms: You're Good, no worries.

Sent from a Dirty Unicorn's LolliPop N9515
[SuperR Kitchen] TheRock40359:
Well in the jasmine rom it shows no trace of Knox in settings
[SuperR Kitchen] tdunham:
The knox status in device info does not rely on files that are removed. You can edit smali, a simple fix to remove knox info. The information for this is in my guide thread.
[SuperR Kitchen] TheRock40359:
Where is your guide thread?
[SuperR Kitchen] bcrichster:
If the Jasmine ROM is a Custom build and not a Stock based ROM, then absolutely no Knox will be present as it's not FROM Samsung. If it's (Jasmine ROM) a Stock based ROM and doesn't show any Knox when your Stock ROM in fact does... then yes, it needs looking into. Which specific device are you working with? He'll need links to both ROMs tho

Sent from a Dirty Unicorn's LolliPop N9515
[SuperR Kitchen] tdunham:
GALAXY S5 UNIFIED MODS THREAD - GUIDES & LINKS

Sorry, I could not link from xda app.

Just a tip, you can click on a username on the left (from a standard browser) and see what threads the user has created, their activity/last posts, send a private message and other functions.

(Edit: Just pointing this out if you get curious and didn't know already ;) )
[SuperR Kitchen] TheRock40359:
I'm using sm-n900v it's verizon galaxy note 3

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

Ok thanks
[SuperR Kitchen] bcrichster:
Attention Samsung Users! The link above has some real treasures in store for anyone with patience & a good backup. Thanks [MENTION=1042140]tdunham[/MENTION] , I just subscribed! Might be getting the Boost Mobile Galaxy S5 next and was hoping for something like this.. [emoji41] Props, Bro!

Sent from a Dirty Unicorn's LolliPop N9515
[SuperR Kitchen] tdunham:
Yes, I really think its time to move that thread to regular Android Development.

The title is a little misleading and its probably the largest active guide thread for Touchwiz on XDA.
[SuperR Kitchen] SuperR.:
v2.0.6.6 (Donate version)

Changes:

Fixed several issues with the new update-binary method.

Added ability to sign the new update-binary method zips.

Huge thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for testing and helping me sort out the issues :)

Huge thanks to [MENTION=4544860]osm0sis[/MENTION] for the info and files for the signing :)
[SuperR Kitchen] Eliminater74:
[MENTION=5787964]SuperR.[/MENTION]

First, thank you for this Best Kitchen I have ever used and still continue to use...

Now I just got a few request that might sound crazy, but im going to ask anyhow,

Is it all possible to add an option to allow copy certain files/Directories over to Internal SDCARD......

Some mods that I do, have to copy some files over to sdcard........

also, anyway to add a flashable Directory, kinda like how you do supersu and busybox, but allow peepz to add own private flashable zips that

would be more easier to just add it like that then to add it direct to rom it self. Out of respect to the Developers of the actual mod.....

But im just asking man.............. Great work though............