yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] SaintZ93:
[MENTION=5787964]SuperR.[/MENTION] Thank you so much for this program don't know what I would do wih out it lol. Sorry to bother you though. I having trouble with deodex. I choose the smali/baksmali feature to deodex a Stock LG V20 Rom and I get these with every files it deodexes. Also I can't get it to fully boot, I let it sat for 45 minutes lol.

... Deodexing LGContacts

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

... Deodexing LGContactsProvider

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

... Deodexing LGDownloadProvider

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

... Deodexing LGHome

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

... Deodexing LGHome4

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

... Deodexing LGHome_Theme_Optimus

/home/aosp/superrs-kitchen/tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Its not just the LG files it does it to. Any idea on what I could do?

EDIT: im using ubuntu 16.04 on your latest superr release. I have tried making new working directories also making new complete roms from tar and try and deodex again and same results.
[SuperR Kitchen] SuperR.:
Try this in your terminal:

sudo apt-get install zlib1g:i386

You may need to figure out what package provides libz.so.1 on your distro and maybe change the package manager. The line above is for Ubuntu and all other Debian derivitives.
[SuperR Kitchen] SaintZ93:
Hmm okay thank you I will give this a try and report back!
[SuperR Kitchen] ciko84xp:
Yes man! It work properly!

If i will be able to compile TWRP for my LEMFO LEM5 (or find FINOW X5 Plus compiled TWRP to port on my LEM5 smartwatch) i will upgrade to your Donation Kitchen! I love it! ;)
[SuperR Kitchen] bcrichster:
OK.. Has ANYONE gotten repeated successful Android builds on mint 18+?!

I can't get anything over 17.3 to do CRAP without re.tar.ded changes that don't actually work. Error, error, error. Fail!! I don't think 18+ is usable for Android building without excessive changes. Mint 17.3 kicked @$$, 18 gave grief, 18.1 more grief. Went back to 17.3 and stuff building like no problem. Staying on 17.3 until someone smarter than me figures out what the heck is going on. I really can't get anything besides the Themes to function properly in 18+.. Might need to roll back a bit on that one and try 17.3, I think someone left the equivalent of a used tampon in the 18+ software somewhere making the stuff nasty to work with. SuperR's Kitchen also works flawless on 17.3.. FYI

Sent from my PAC-ROM N9515
[SuperR Kitchen] John198828:
Im trying to figure out how to get this to work on windows 10, 750 gb, 32 bit, elitebook 8440p. laptop. I got it to load once but it said to download some missing stuff so i downloaded the whole respiratory and replaced the one that had missing ones. Im using windows bash shell. I know the dev said it might not work on windows but theres a good chance it would work in bash shell cause microsoft has updated it.
[SuperR Kitchen] bcrichster:
It was worth a try but the whole architecture and coding is completely different. Imagine trying to drop a front wheel drive 4 cylinder motor into a '78 Camaro..

You'd need 64 bit system OS to get reap progress anyways, maybe try the liveboot USB/Disk option?

Sent from my PAC-ROM N9515
[SuperR Kitchen] John198828:
This is what i see in bash shell on windows 10.
[SuperR Kitchen] bcrichster:
Try the liveboot.iso option

Sent from my PAC-ROM N9515
[SuperR Kitchen] SuperR.:
You need to figure out how to install java 8. Then it should let you past that screen.

However, if you don't want to run a VM and you need to be on Windows cygwin is currently a better choice than WSL (Windows Subsystem for Linux aka Bash on Windows). cygwin allows you to run windows executables from the shell but WSL does not. This is important because you can't mount img files in windows so we need to call a windows app to extract img files. WSL can't do this so you can't extract img files. This is only 1 example, there are others.

edit: Looks like they are adding the ability to run windows executables from WSL. Not sure when it comes out though.

https://blogs.msdn.microsoft.com/wsl/2016/10/19/windows-and-ubuntu-interoperability/
[SuperR Kitchen] ciko84xp:
On Windows VM with Ubuntu 16 is best choice for me. All works perfectly. Don't waste your time on Windows! ;)
[SuperR Kitchen] The Sickness:
Just go Arch Linux bro....zero issues on building roms and kernels.
[SuperR Kitchen] nelvinchi:
[MENTION=5787964]SuperR.[/MENTION]

Just donated (GitLab username @ KneelB) - excellent work, keep it up!
[SuperR Kitchen] tanish2k09:
Is there any condition to the amount that I can donate to get access to the donate version?

Any condition like minimum 5 dollars, or max ABC dollars?? [MENTION=5787964]SuperR.[/MENTION]

Man! I love this tool. And you have worked quite hard on it, clearly.:good:
[SuperR Kitchen] bcrichster:
$10

Sent from my PAC-ROM N9515
[SuperR Kitchen] John198828:
Thanks for the tips. I cant seem to get passed the default jre page even with java 8 installed on windows 10.
[SuperR Kitchen] tanish2k09:
That high for me right now. I guess I'll wait till my own donations reach that amount. I had just blasted all my donations on various stuff with Paytm. Lol :D

Btw, that amount is around 600Rs. In India.
[SuperR Kitchen] bcrichster:
Once again.. It's Windows.

Sent from my PAC-ROM N9515
[SuperR Kitchen] John198828:
Found this article read full artile i only copied a few things from it.

http://www.pcworld.com/article/3055...hical-linux-applications-with-this-trick.html

Windows 10's Bash shell can run graphical Linux applications with this trick

It's not officially supported, but it's already very easy to use.

PCWorld | APR 14, 2016 3:00 AM PT

bash windows

Microsoft said it wouldn’t support graphical applications in Bash on Windows. But enterprising geeks like w2qw on Reddit have already figured out how to run graphical applications with Bash on Windows 10. The underlying code is much more capable than Microsoft initially let on.

Install an X server

This is possible because the Bash shell for Windows is more than just a shell. Microsoft built an entire “Windows Subsystem for Linux” that allows Windows 10 to natively run Linux applications, even graphical ones. Install Bash for Windows 10 and you’ll actually have a complete operating system layer for running Linux applications and a full Ubuntu userspace environment—that is, everything above the Linux kernel.

The only missing piece is an X server that allows those graphical applications to appear on your Windows desktop. This is basically the same technique people would use to run graphical Linux desktop applications over a network.

The Xming X Server for Windows works well for this, although there are other X servers for Windows and they should also work. Download and install it on your Windows 10 PC to get started. You can just use the default settings and it’ll work fine. Launch Xming and it will appear in your system tray, running in the background and waiting for you to launch a graphical Linux program.

Windows 10 running Linux desktop applications.

w2qw

This is Windows 10 running Linux desktop applications.

Launch applications from Ubuntu’s Bash shell

You’ll now need to install a graphical application, which you can do with the standard apt-get command in the Bash shell environment. The apt-get command has access to Ubuntu’s entire software repositories, so you can use it to install graphical applications without any additional tweaks.

For example, to install the Linux version of Firefox from Ubuntu’s repositories, you’d just run the following command:

apt-get install firefox

Once you’ve installed the program, you can specify the X server and then launch the application.

Assuming you’re running an X server like Xming on your Windows PC, the graphical application should run. It may not run as speedily—applications can’t use direct rendering to run on your hardware directly.

This is currently a bit unstable. Many applications I tried were unable to run reliably. Some people report better success. But bugs are no surprise, as the Windows Subsystem for Linux is beta and this is its first release. As Microsoft improves the underlying code, applications—even these graphical applications—should work better and better over time.
[SuperR Kitchen] SuperR.:
You need to install Java 8 in WSL, not in Windows. It will involve downloading the Linux version of Java 8, and running commands in WSL terminal. I don't know all the details so you will need to figure out how on your own.

This article is not relevant to the Kitchen. The problem is WSL not being able to run Windows applications.
[SuperR Kitchen] John198828:
Oh i forgot it was Ubuntu oh wait is it windows 10... is it linux all except for the kernel..
[SuperR Kitchen] ShinySide:
So I havent used the kitchen in probably 3 months or so but couldnt find anything with the handy dandy search box so has anyone else ran into this on system.img extraction?

stat: failed to get security context of 'output/xbin/dexdump': Operation not supported

Got it with quite a lot of files.

Sm-N920G Note 5

6.0.1 firmware

Latest kitchen version
[SuperR Kitchen] flashallthetime:
Awesome work, after several attempts to get a stock ROM for my Moto z play,I successfully built one.
[SuperR Kitchen] SuperR.:
I am not sure what you mean, but the next update will set up WSL to use Imgextractor.exe to extract img files. If your version of WSL does not support OS interoperability, you will need to update it somehow or use another way to run the kitchen.

I think this might be a similar issue

https://xdaforums.com/showpost.php?p=70560480&postcount=5111

And this is how it was solved.

https://xdaforums.com/showpost.php?p=70580309&postcount=5122
[SuperR Kitchen] ShinySide:
Hmm..... Im on Arch so a little different as we dont have those exact packages but installed all the SELinux userspace tools and libraries from the wiki and still getting it..... not going any further past that on the wiki as it starts replacing everything to be set up with a SELinux kernel....... I guess lll go ask the Arch gods and either get pelted with bricks and called stupid or find the answer lol
[SuperR Kitchen] SuperR.:
Maybe there is a way to include a shared library? Here is the output of ldd on the stat binary

ldd /usr/bin/stat
linux-vdso.so.1 => (0x00007ffc1a4ea000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f5f48e77000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5f48aae000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5f4883d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5f48639000)
/lib64/ld-linux-x86-64.so.2 (0x000055aa76567000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5f4841c000)

Attached is a 64-bit shared library built from AOSP. I have no idea if this will work or if it is even possible, but I assume you are missing this dependency. If you can get it working I will include it :)
[SuperR Kitchen] russel5:
[MENTION=5580710]ShinySide[/MENTION] if you are realy install selinux and all other needed packages like THIS, you can try this

fixfiles -f -F relabel

then reboot.
[SuperR Kitchen] ShinySide:
Will try when I get the chance.

Also Just noticed policycoreutils being listed under package descriptions for userspace utilities but not below for installing so missing that one.
[SuperR Kitchen] Mezabaru:
Donated gitlab username Lesorin
[SuperR Kitchen] Mezabaru:
Thank you, :) wish me luck well I'm here is there any noob friendly guides in making a kernel permissive from unpacking bootimg with your kitchen?
[SuperR Kitchen] SuperR.:
Good luck :) The kitchen will not help making a kernel permissive. You will need to build from source for this.

I did a little more digging on this, and put together a zip for testing if you are willing. It contains the stat binary and all the shared lib dependencies from my system. I included a README with instructions on how to test. If it does not work, you will get an error like you get now. If it does work you will get something like "u:object_r:system_file:s0". Let me know how it goes :)
[SuperR Kitchen] ShinySide:
I said f it and used the github repository on the arch wiki to install everything auto like...... I started it at about 330-4 pm..... it's now 1138pm and still going...... kicking myself in the ass for that move lmao but if/when it finishes if it doesn't work, I'll test out that because I'm going to be pissed and probably sh!t can the entire install ?
[SuperR Kitchen] ShinySide:
Well no more errors lol I suggest someone try that ^^^^ before doing the BS I just did Lol
[SuperR Kitchen] SuperR.:
Thanks for testing and sorry it was annoying installing all the selinux stuff. I had no idea it would be such a hassle or that it was not required :o

Would you mind doing more testing? I would like to find out if we really need all the included libs or just libselinux.so.1. Do the same test in the readme but remove all the other libs and see if you are able to get the context. It would also be nice to know if we need the stat binary included. You can try the same command in the readme but use "stat" instead of "./stat". Thanks a bunch :)
[SuperR Kitchen] The Sickness:
[MENTION=5580710]ShinySide[/MENTION] loves to test stuff, it's his favorite hobby.
[SuperR Kitchen] ShinySide:
I might not be the best candidate to test that now lol My entire arch set up is now SELinux enabled. From kernel to systemd to sudo to openshh lol
[SuperR Kitchen] Heitezy:
After booting I get persistent FC of SetupWizard.

My device is moto g 3rd, latest kitchen, builduntu2.0 in VirtualBox. Cooked stock MM rom.

Tried all of available configuration in kitchen - no luck.

Does anyone know a tip or trick to solve this?
[SuperR Kitchen] SuperR.:
No problem.

For now, I will not change the kitchen since I don't know what works yet to fix it. However, I created a new zip with a new readme. Basically you extract the zip to /home/usr/bin. The zip contains a bash script named stat, the stat binary named stat1, and the lib directory. The stat script replaces stat and uses the libs to run stat1.

For anyone who gets stat errors when extracting a system.img, feel free to try this fix and let me know how it goes :)

https://bitbucket.org/superr/superrs-kitchen/downloads/stat_alt.zip

You will need to provide more information. See post #4
[SuperR Kitchen] drajp:
Cant open android kitchen asking again and again for getcap and bc dependencies! need

I m new in this rom devlopement thing.i m using kali2016.2.I installed android kitchen as given in instructions but it is continuosly asking for getcap and bc dependecies.I included the ss.please help me with this asap.
[SuperR Kitchen] ShinySide:
Look on page 518, post made by Captain_Throwback.
[SuperR Kitchen] drajp:
i tried to add the path using "PATH=$PATH:/sbin"

and now it is not asking for getcap but still bc dependecy is missing!!!
[SuperR Kitchen] ShinySide:
Install it manually then
[SuperR Kitchen] bcrichster:
sudo apt-get install getcap

Sent from my PAC-ROM N9515 with Tapatalk
[SuperR Kitchen] drajp:
Thanks its done!
[SuperR Kitchen] UltraM8:
Are there any possibilities to write in new file context in file_context.bin? I've tried to set metadata with an sbin ramdisk script, but the service doesen't want work properly
[SuperR Kitchen] tickmaster:
Just donated , my gitlab is [MENTION=1130048]Hule[/MENTION]
[SuperR Kitchen] kevin mitnick:
is this available for windows?
[SuperR Kitchen] Aditya Kr:
It helped me a lot :)
[SuperR Kitchen] bcrichster:
Read posts # 1 - 4..

Sent from my PAC 6.0 N9515
[SuperR Kitchen] poppy9009:
How do I downgrade to older version?
[SuperR Kitchen] Heitezy:
It was caused by some google app I removed. I added back all google bloat and all is fine now.

I hope my experience might be helpful for someone.

Happy rom-making :)

P.S. It was GoogleTTS.
[SuperR Kitchen] SuperR.:
I don't think this is a kitchen related question. If it is, please read the top of post #4 and provide more information about your problem.

It would be better if you tell me what is wrong with the latest so I can improve it. If you don't want to help make the kitchen better, what version do you want to downgrade to?
[SuperR Kitchen] UltraM8:
Yep, sry, i just can't find help with my prob( If you'll have some time - maybe you can kindly pm me?
[SuperR Kitchen] drajp:
Will you please elaborate how i can modify and change stock kernal with custom kernal? I want to make changes in kernal and want to know how to do that! Is this possible in android kitchen? Please help!
[SuperR Kitchen] ShinySide:
Should post here as it'll help others.

No
[SuperR Kitchen] drajp:
Any suggestions? Where i can do that?
[SuperR Kitchen] shoey63:
https://xdaforums.com/showthread.php?p=36067074

Edit: Kitchens can only help with modifying ramdisk and command line parameters in a boot.img. If you want to modify the kernel itself (zImage contained inside the boot.img), you need to build it from source.
[SuperR Kitchen] drajp:
Thanka
[SuperR Kitchen] SuperR.:
v2.1.5.2 (Donate version)

Changes:

Fixed plugins ending in zip not showing up in the list.

Changed WSL to use Imgextractor.exe to extract img files (Not tested. OS interoperability must be supported by your version of WSL).

Replaced all boot unpack/repack tools with Android Image Kitchen (AIK) by [MENTION=4544860]osm0sis[/MENTION].

The Windows version of AIK will be downloaded and used when running in cygwin (not tested).

Updated Busybox to v1.26.2 by [MENTION=4544860]osm0sis[/MENTION].

v1.1.4.2 (Standard version)

Changes:

Changed WSL to use Imgextractor.exe to extract img files (Not tested. OS interoperability must be supported by your version of WSL).

Replaced all boot unpack/repack tools with Android Image Kitchen (AIK) by [MENTION=4544860]osm0sis[/MENTION].

The Windows version of AIK will be downloaded and used when running in cygwin (not tested).

Updated Busybox to v1.26.2 by [MENTION=4544860]osm0sis[/MENTION].
[SuperR Kitchen] bcrichster:
How would I add busybox to my pre-compiled ROM (it's sparse DAT).. Would I need to unpack it here in kitchen, add busybox and repack? Or is there a way to compile in ROM? I can't find any appropriate guides. Thanks for any assistance.

Sent from my PAC 6.0 N9515
[SuperR Kitchen] The Sickness:
Well I cheat. I just take the Busybox from one of my older roms and put it in system/bin. Never had a issue
[SuperR Kitchen] bcrichster:
I was trying to do it before unpacking the sparse_dat.zip to avoid any perm issues with flashing.. But I may need to give the kitchen its chance and see, if there's any issues we can just work thru it and improve the sparse capabilities.. Would've swore there was a way to add before compilation tho.

Edit: Or.. Can I add a line to meta-inf and add the busybox.zip..??

Sent from my PAC 6.0 N9515
[SuperR Kitchen] The Sickness:
Add it to META...that's how I did it for my kernels .
[SuperR Kitchen] bcrichster:
Where can I find the information to add the correct line to meta-inf?

[MENTION=5787964]SuperR.[/MENTION] This is your thread, What's your input.. Can the kitchen add busybox without unpacking the sparse dat?

Sent from my PAC 6.0 N9515
[SuperR Kitchen] -phonechina-:
help please.

i do:

1) create new project

2) rom tools menu

(I do not change in the official firmware)

3) build menu

4) build sistem img

5) sistem.img sparce

i flash on MiFlash - all good. I go in recovery, and flash "SuperSU-v2.79"... reboot in system.

SuperSU installed, but do not pop up requests for root access! What am I doing wrong?

PS: This same official firmware without rebuilding - SuperSU works fine.

PPS: sorry for my english.
[SuperR Kitchen] ShinySide:
There is an option to add busy box no?..... or does that not work with sparse_dat.zips? I've never used that or the busy box part. Usually add it to the ram disk since I normally supply a separate kernel and don't want to deal with "init.d doesn't work" because they don't have busy box and etc installed

But yes you can edit the updater to extract the busy box zip you throw in your zip which is how SuperR has it set up by default to do I believe. You have to extract it to /tmp and use run_program
[SuperR Kitchen] bcrichster:
This is the part I'm ignorant of.. very badly ignorant

Sent from my PAC 6.0 N9515
[SuperR Kitchen] ShinySide:
On my phone so not sure how this will copy and paste lol

But this is how I do root in kernel zips and you can do it the same way for busy box as long as you have busy box in a zip that installs it correctly. Just edit zip names etc
[SuperR Kitchen] SuperR.:
The kitchen does not have the ability to add Busybox without unpacking/repacking the rom. If you want to do it manually, this is not a kitchen related question :p

If you want to use the kitchen to add busybox, extract the rom, add busybox from the root menu, and build your rom :)

No clue, sorry.
[SuperR Kitchen] bcrichster:
Thank You! I'm exchanging "supersu" with "busybox" & supersu.zip with busybox.zip?

Sent from my PAC 6.0 N9515
[SuperR Kitchen] Captain_Throwback:
There's already an option to add busybox in the Kitchen, isn't there? You seem to be making it more complicated than you have to.
[SuperR Kitchen] bcrichster:
I may be..

Sent from my PAC 6.0 N9515
[SuperR Kitchen] bigrammy:
Introducing MagiskSU

Is this the future??

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post70897029#post70897029 :eek:

EDIT: I just seen that [MENTION=1162986]Captain_Throwback[/MENTION] is mentioned in dispatches for "being the No.1 supporter, testing and finding bugs all the time" so I guess he will keep SuperR up to date :o
[SuperR Kitchen] Er. Aditya:
Will be taking this little bad boy for a ride today

Thanks dev :)
[SuperR Kitchen] morissio:
This evening i'll test it thanks ;)

As always thanks a lot for your support and update
[SuperR Kitchen] pendor24:
Hi

after the AC kitchen installatoon said he misses two exstantions ( 7za and java)

yet the two are already installed, and works with archi kitchen

you have an idea or tutorial to your kitchen take into account

I use ubuntu or zorin
[SuperR Kitchen] morissio:
On Ubuntu try these commands:

sudo apt-get install p7zip-full

and

sudo apt-get install openjdk-7-jre

Bye
[SuperR Kitchen] pendor24:
great thank you :good:
[SuperR Kitchen] jesus183095:
Add support to Galaxy Grand Prime G530H I have the mount points and everything.. Please add support :D
[SuperR Kitchen] SuperR.:
You can add your own support:

Create a new project in the kitchen.

Add your files to the project directory (system.img/boot.img, system.ext4.tar, win, zip, etc.)

Extract for new rom from the menu

When asked how to get your partitions, choose detect by-name from boot.img. If it gives you an error, put a recovery.img in your project directory and choose detect mmc from recovery.img.

Enjoy :)
[SuperR Kitchen] jesus183095:
Thnx i Try bot the kitchen not recognize nothing bot i try again.. :D thnx for your help
[SuperR Kitchen] SuperR.:
Make sure you are using kitchen version 0.9.2.6 since the recovery.img detection was not added until then.

Make sure you are using a recovery.img for your specific device and make sure it is named exactly "recovery.img".

If it still does not work, post a link to the files you are starting with (system.img, nandroid, etc.).

edit: Unless you are on 32-bit Linux. Boot/recovery images will not unpack on 32-bit Linux. The next version will have a check for this and a warning.
[SuperR Kitchen] jesus183095:
Which perm type would you like to use?

1) set_metadata

2) set_perm

3) Sparse dat (not recommended for Samsung)

Please enter your choice:

what options choose? and i have ubuntu 64 bits and i install the libs of 32 bits this not problem.. :D