yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] Er. Aditya:
still that input/outpur error with this version

i hope this is correct sir

root@localhost:~# set

BASH=/bin/bash

BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:histappend:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath

BASH_ALIASES=()

BASH_ARGC=()

BASH_ARGV=()

BASH_CMDS=()

BASH_LINENO=()

BASH_SOURCE=()

BASH_VERSINFO=([0]="4" [1]="3" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")

BASH_VERSION='4.3.11(1)-release'

COLUMNS=120

DIRSTACK=()

EUID=0

GROUPS=()

HISTCONTROL=ignoredups:ignorespace

HISTFILE=/root/.bash_history

HISTFILESIZE=2000

HISTSIZE=1000

HOME=/root

HOSTNAME=DESKTOP-JUUHNVR

HOSTTYPE=x86_64

IFS=$' \t\n'

LANG=en_US.UTF-8

LESSCLOSE='/usr/bin/lesspipe %s %s'

LESSOPEN='| /usr/bin/lesspipe %s'

LINES=30

LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'

MACHTYPE=x86_64-pc-linux-gnu

MAILCHECK=60

OPTERR=1

OPTIND=1

OSTYPE=linux-gnu

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/gcc/x86_64-linux-gnu/4.8

PIPESTATUS=([0]="1")

PPID=1

PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

PS2='> '

PS4='+ '

PWD=/root

SHELL=/bin/bash

SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor

SHLVL=1

TERM=xterm

UID=0

_=']'

command_not_found_handle ()

{

if [ -x /usr/lib/command-not-found ]; then

/usr/lib/command-not-found -- "$1";

return $?;

else

if [ -x /usr/share/command-not-found/command-not-found ]; then

/usr/share/command-not-found/command-not-found -- "$1";

return $?;

else

printf "%s: command not found\n" "$1" 1>&2;

return 127;

fi;

fi

}​

[MENTION=5787964]SuperR.[/MENTION] bro all i am missing now is 7z dependency and thats causing issue , both the tests you sent for windows give me input/output error
[SuperR Kitchen] osm0sis:
Perfect. Thanks! Cool how much it thinks it's a Linux box. No real signs of Windows in there. :)
[SuperR Kitchen] Er. Aditya:
ur the master just a few glitches here and there i guess... windows will be good as any linux soon :D
[SuperR Kitchen] The Sickness:
Bro, Windows will never be as good as Linux.....:D
[SuperR Kitchen] Er. Aditya:
i agree with you sir , but for users who dont have much of development can simply stick on one OS rather then switching it again and again or via vm , who thought windows will be kind enough one day to show devs atleast the beginning :D
[SuperR Kitchen] SuperR.:
Bash on Ubuntu on Windows

I was able to get the kitchen running on a friends laptop running the Windows 10 preview with Bash on Ubuntu on Windows. I used the latest kitchen v1.0.5.7. I am not going to say it was easy, or that anything works (have not tested anything yet), but it is running at least :)

I had to install all the missing dependencies manually. Not sure why the kitchen did not install them. I also had to download the 64-bit_binaries.zip from my repo and manually extract the files into the tools directory. One thing I will say is that it is very slow. Even just going from the ROM Tools menu back to the Main Menu takes several seconds. His laptop is not very fast, but it still seems too slow.

In order to get the kitchen installed and running in a place I have access to in Windows, here are the commands I used after opening bash (replace "username" with your windows username):

cd /mnt/c/Users/username/Downloads
git clone https://superr@bitbucket.org/superr/superrs-kitchen.git
cd superrs-kitchen
./superr

In Windows file manager you can now go to Downloads and you will see superrs-kitchen :)
[SuperR Kitchen] Er. Aditya:
but it still says input/output error for me bro

edit : recloned the kitchen , seems the input output issues is gone , kitchen is installing 64 bit dependencies

will update further

edit 2 : it installed 64 bit binaries sucessfully but starts to asks again to install 64 bit binaries

and after that it shows again

root@localhost:~# cd superrs-kitchen
root@localhost:~/superrs-kitchen# ./superr
bash: ./superr: Input/output error

---------- Post added at 12:38 AM ---------- Previous post was at 12:07 AM ----------

you my friend are awesome , now to give this baby a go

==================================

edit : [MENTION=5787964]SuperR.[/MENTION] failed at extracting system and cache ...i cant even scroll up in terminal to view errors
[SuperR Kitchen] SuperR.:
There is a problem. The 7-zip binary and the adb binary in the kitchen do not work in Bash on Ubuntu on Windows. Try using the script attached below, and manually install the following 2 packages. They will both be old versions since you are technically running Ubuntu 14.04 so some things may not work, but at least some things will work.

apt-get install p7zip-full
apt-get install android-tools-adb
[SuperR Kitchen] SuperR.:
This is a problem with mount and I am not sure how to fix it or if it is even possible. The error that you can't see says:

Microsoft says this is not running Linux kernel so I am not sure if it can be fixed.
[SuperR Kitchen] Er. Aditya:
[YOUTUBE]LPo9IbdUsjM[/YOUTUBE]
[SuperR Kitchen] SuperR.:
I posted right before you. Last post on the previous page. Not sure it can be fixed.

edit: I tried to mount it manually and got the same error

root@localhost:/mnt/c/Users/username/Downloads/superrs-kitchen/superr_tester# mount -t ext4 -o loop system.img output
mount: Could not find any loop device. Maybe this kernel does not know
about the loop device? (If so, recompile or `modprobe loop'.)

edit2: here is the modprobe loop output:

root@localhost:/mnt/c/Users/username/Downloads/superrs-kitchen/superr_tester# modprobe loop
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'
[SuperR Kitchen] Er. Aditya:
i guess then its time we head back to linux :D
[SuperR Kitchen] bcrichster:
Agreed. Linux Mint Cinnamon 64bit is my primary OS and the SuperR Kitchen runs flawlessly on it all day long. I Only use Windows for things there isn't a known (to me) Linux equivalent, like the LG Flashtool for the .kdz files. [emoji41] Get both with dualboot and get to choose the desired OS @ each boot. Mint Cinnamon was recommended to me by [MENTION=5787964]SuperR. [/MENTION] because it is very user friendly to people used to Windows, like I was in the beginning of playing with Android. [emoji28] Ty- Sir! Was a good choice for me. [emoji6]

Sent from my Gummy Sync N9515
[SuperR Kitchen] SuperR.:
v1.0.5.6

Updated to the latest Busybox Installer by [MENTION=4544860]osm0sis[/MENTION].

Changes for Bash on Ubuntu on Windows.

NOTE: Bash on Ubuntu on Windows is very limited currently. The changes mentioned above are entirely restrictive. You can get the kitchen to run and mostly work, but you will not be able to extract images (ex. system.img), deodex roms, or sign zips. These are all due to the current limtations of Windows Bash, not the kitchen. As always, everything works better in Linux. Maybe it will get better some day (I have doubts lol), but not today.
[SuperR Kitchen] SuperR.:
If anyone wants to help get the kitchen fully working in Bash on Ubuntu on Windows, you can vote on these topics. Microsoft says they will fix the most popular stuff first. If that is true then please vote. Pretty sure you don't even have to enter your email when it asks for it. Just click on vote and choose 3 votes :)

https://wpdev.uservoice.com/forums/...ggestions/13432110-mount-image-as-loop-device

https://wpdev.uservoice.com/forums/...-its-a-good-start-but-i-can-t-install-openjdk

https://wpdev.uservoice.com/forums/...stions/13335162-cannot-get-java-to-run-at-all
[SuperR Kitchen] starbucks2010:
Please edit your post and use HIDE function. There is no point posting so long logs if you attach the log file.
[SuperR Kitchen] TheRock40359:
Will this work like dsixda's kitchen
[SuperR Kitchen] SuperR.:
v1.0.5.7

Changes:

Updated oat2dex from latest source for N deodexing.

Fixed N Preview 2 deodexing.

[MENTION=2658444]kenet[/MENTION] - I got errors with YouTube and Photos, but this should sort out your issues.
[SuperR Kitchen] The Sickness:
This kitchen is top of the line....constantly updated....caters to Linux users.....

Question answered. [emoji3]
[SuperR Kitchen] kenet:
The deodex is done perfectly, but do not let me sign the zip

ERROR:

Something went wrong. Check the zip.log for errors.

Press ENTER to return to Build menu

Thank you very much.
[SuperR Kitchen] The Sickness:
Why would you sign a rom zip? I never have....

Unless I'm missing something new.
[SuperR Kitchen] Captain_Throwback:
So you can use the "Zip signature verification" feature in TWRP that ensures you have a good ROM download.
[SuperR Kitchen] TheRock40359:
Can I use it 8n windows? With cygwin?
[SuperR Kitchen] The Sickness:
Ha....forgot about that. I disable that anyways.
[SuperR Kitchen] kenet:
Sorry, I was wrong. the error gives him to do Zipaligned

But the sign also gives me the same error.

Thank you very much.
[SuperR Kitchen] Er. Aditya:
Simply read the op...your free to make this kitchen work with cygwin...byt dev wont support it
[SuperR Kitchen] TheRock40359:
i tried to set this up in cygwin and when i try to run it i get line 7532 command not found. what am i doing wrong? this is what i downloaded SuperRs_Kitchen_v1.0.5.7.zip are there any other files i need to download?
[SuperR Kitchen] micky387:
Hi guy. @ SuperR Is it possible to add one option for updater-script for user of f2fs filesystem as me ??

Add or use

run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");

and use for format

delete_recursive("/system");

instead of

format("ext4", "EMMC"...
mount("ext4", "EMMC",

Because with this line,updater-script will format our f2fs filesystem to ext4 and /or dont mount our filesystem ;)

regards
[SuperR Kitchen] Captain_Throwback:
The top method won't work on all devices.

You could create a custom update-binary that'll format/mount your filesystem as whatever it's detected as, so that the "ext4" there doesn't matter. That's what I currently use.
[SuperR Kitchen] TheRock40359:
Can anyone tell me how to use this in windows?
[SuperR Kitchen] Er. Aditya:
simple way is to read last 5 6 pages
[SuperR Kitchen] :
[MENTION=718594]SuperR[/MENTION]

I've been using this to make my Android N ROM for N6 and it's great but, N doesn't boot if you change the display.ID in build.prop it's a pain to workaround this issue pretty much have to compile it without the kitchen ... I don't care about the updater script line but it'd be nice for you to remove this since it breaks N Roms..
[SuperR Kitchen] TheRock40359:
I'm trying to run this in windows with Ubuntu virtual box and every time I try to run it in the terminal it says access denied do u know wat I'm doing wrong?
[SuperR Kitchen] :
all I do is: bash superr

my setup is Elementary OS running on VMWare
[SuperR Kitchen] TheRock40359:
Is elementary os Linux?
[SuperR Kitchen] :
duh
[SuperR Kitchen] TheRock40359:
I'm not too familiar with Linux I always used windows this is first time I used linux
[SuperR Kitchen] :
IMO it's stinks. wish it was easier to develop on Windows.
[SuperR Kitchen] Er. Aditya:
[MENTION=5787964]SuperR.[/MENTION] bro i am facing those symlinks errors again , strange thing is when i dirty flash it on my stock MM rom the zip flashed fine but as soon as i cleared data it started showing me symlink errors , this is with set_metadata

sparse_dat works fine though but the packed files is alot of time consuming stuff

symlink: some symlinks failed

updater process ended with error : 7

error installing the zip file
[SuperR Kitchen] SuperR.:
First, you do not get the same error if there is a problem with zipalign and when trying to sign a zip. Second, I need to know the errors you get and the steps to reproduce the error. Third, the error you posted happens when you try to build a rom zip and it fails.

You are using cygwin, that is what is wrong. Use Linux :) cygwin functionality was at least partially considered, but since nobody (and I literally mean nobody) has posted any feedback about it I have no idea what if anything works. If you figure out how to make it work, let me know and I will make changes. I will not test with cygwin. However, Bash on Ubuntu on Windows (found in the new Windows 10 Preview for the insider program) mostly works with the exceptions of deodexing, zip signing, and image extraction (Microsoft's fault, not mine). I wrote how to get it working in a post a few pages back.

Why not just change the ext4 to f2fs after the kitchen generates the updater-script?

This sounds interesting :)

Are you sure about this? I am not.

Can you send a recovery.log after the failure along with the kitchen generated updater-script?
[SuperR Kitchen] Er. Aditya:
i simply dont understand this , now it has started working i rebuild the rom

but strange thing is now atleast 10 12 apps have started fc on startup i guess deodexing went wrong with oat2dx
[SuperR Kitchen] TheRock40359:
Well now I used Ubuntu 15.1. I set it up in virtual box and when I try to run SuperR from the terminal it says access denied

---------- Post added at 12:16 PM ---------- Previous post was at 11:42 AM ----------

ok i finally got it. now it says missing dependency

gawk

lz4

lzop

would you like to install them now y/n?

when i type "y" i get this

e: unable to locate package gawk

e: unable to locate package libz4-tool

e: package 'lzop' has no installation candidate

---------- Post added at 12:34 PM ---------- Previous post was at 12:16 PM ----------

ok im new to all this linux so i am getting the dependency issue. i am using virtual box with ubuntu 15.1 how do i manually install the dependencies?
[SuperR Kitchen] :
[MENTION=718594]SuperR[/MENTION]

thanks for the response but it's not a failure with flashing. it flashes great. however, N does not get past initial logo on boot iif you change the display.id build.prop line
[SuperR Kitchen] SuperR.:
The oat2dex update in the recent kitchen release is only for N roms so it would not be the cause of the deodex issues on pre-N roms. However, I made some other changes to get N Preview 2 deodex working that may have caused issues with other deodex. Deodexing is getting frustrating honestly. I get one thing working and something else breaks. I will keep working on it. When deodexing was not giving you fc on apps, what kitchen version were you using? Did you update the kitchen and then you got the fc? Did the update seem to fix your flashing error but cause the fc in apps? Just trying to pinpoint where the issues start.

It would still be helpful if you post the recovery.log and kitchen generated updater-script so I can see which symlink is failing.

open a terminal, and run the following commands to install the missing dependencies:

sudo apt-get update
sudo apt-get install gawk liblz4-tool lzop

I am having a hard time believing this is causing your rom to not boot. What evidence do you have that the boot issue is the result of modifying ro.build.display.id? Have you tried building an unsigned set_metadata rom and flash it, get the boot issue, then open the zip and change it back to the original and flash again? Do you have a link where others have described this same issue with the N preview roms? It is very common for custom rom developers to modify this line to display the name/version of their custom rom and it seems unlikely Google would stop allowing this since it is literally just what is displayed and has no effect on the rom otherwise.
[SuperR Kitchen] :
I'm not lying to you. I flash a build built from the OTA, it boots and then I use the EXACT same files and build one using the kitchen and it doesn't boot. Then I extract the ota files, change display.id to "test" and it doesn't boot. something new in N
[SuperR Kitchen] SuperR.:
I am by no means accusing you of lying. Sorry if I gave that impression. I have just been building roms for many years for many devices and have never heard of this before.

I will do some testing on my Nexus 5X and if it is causing issues I will figure out how to deal with it. One idea I have been tossing around for a while is a standard and a donate version of the kitchen. Donate version would remove all traces of kitchen built text and add additional features, while the standard version would be what everyone has now. Both versions would continue to be updated. Not sure how well received this idea would be so I have avoided it so far. I will post the results of my testing when I get a chance to do it.
[SuperR Kitchen] :
alright thanks! about donate and regular versions that'd be nice but I don't think it'd go over well as XDA specifically says it's 'not a place to make money'. I'd donate to get it tho.
[SuperR Kitchen] TMG1961:
Been playing a bit with the kitchen. Great tool for building my own rom :)

Just started with the rom building and have almost everything to learn. But its for my own use, i leave the real rom building to the experts.

Is there some kind of manual or users guide for the kitchen?
[SuperR Kitchen] SuperR.:
I agree, but I don't see the difference between this and ad/ad-free (paid) versions of apps which are all over xda. Anyone else care to chime in on this? [MENTION=1097804]sawdoctor[/MENTION] our friendly neighborhood Moderator?
[SuperR Kitchen] TMG1961:
Once i get to know how to do all i would be happy to make a donation for it.
[SuperR Kitchen] :
I would rather not post my findings in the thread. can you turn on your pm?
[SuperR Kitchen] SuperR.:
Take a look at the first 5 posts in this thread :)
[SuperR Kitchen] :
Not my section I'm afraid I'm in samsung international. But the xda rule of thumb is its ok to release a paid/donate version of an app as long as the free version does the same job. Which the kitchen does . Several devs use the paid/donate version to remove adds/time constraints. Vts and alliance rom control app both have free and donate versions only difference is the donate version removes a popup
[SuperR Kitchen] TMG1961:
I did read them along with some other pages. Now only trying to figure out how to add things to the rom. But no problem i can always add things once the rom is installed.
[SuperR Kitchen] bcrichster:
You've got my vote, all day long. [emoji41]

Sent from my Gummy Sync N9515
[SuperR Kitchen] Mortifix:
Wow SuperR.. I just wanna say thanks!! I have been trying to create a custom rom forever but I could never get my roms to build or install correctly with other kitchens. I was finally able to create a working rom with yours! Thank you!!
[SuperR Kitchen] FrancescoM01:
Script Error for hero2ltebmc

When given the option to manually enter the location for the kernel and do so correctly, I still get an error saying that I need to enter it manually into the Update-Script.

When adding device support VIA the device folder for the hero2ltebmc, I give the location to the by-name folder, but when trying to install the ROM I get errors saying that it can't find "/system" when trying to unmount, and when it tries to mount /system and boot it fails as they are not all uppercase, so I need to manually fix that in the update-script.

Also getting boot error saying Kernel is not seandroid enforcing and then reboots into recovery.

When using v1.0.5.7 of the Kitchen, and trying to deodex the ROM, I get an error saying that it can't find 7z in the specified location but it is infact there.

Also yes I have made sure to add the binaries that are applicable for my architecture.

Also when trying to use the injection method of root on v1.0.5.7 (Option 3), it just loops as if I never chose the option.
[SuperR Kitchen] The Sickness:
There is no difference in my opinion. Paid apps give you more features. IE: SuperSu....

You ever have a paid version I will be one of the 1st to get it. You do top notch work bro...and with that should come some kind of compensation besides a "Thanks"...
[SuperR Kitchen] bigrammy:
Wow congratulations on the promotion to a mod :highfive:

When did that happen I really should pay more attention :o

My 2 cents worth now regarding the Kitchen.

I would gladly use a donate version as superr is tops in my book and if anyone deserves a good drink or a extra large pizza it's definitely him. :good:

There is nothing I know of that comes close to this Kitchen and the amount of hours superr must spend on it well I can't even hazard a guess at I think he most code this stuff in his sleep or he doesn't sleep at all :o

Maybe he really is :confused:

:laugh:
[SuperR Kitchen] Er. Aditya:
count me in sir , [MENTION=5787964]SuperR.[/MENTION] work and support is just magical

i used oat2dex from svadev and its working just fine bro , i am sure u will get it working this is nothing see what your capable of ,

i dont remember actually but i think that would have been either 1.0.4.9 or a version before , i had to reinstall os as earlier i was using virtual machine so had to install latest version of kitchen

i clean install rom everytime and all the apps started to fc even before booting , right on the setup wizard ... i still havnt understod why it happened same version of kitchen and first test was dirty flash it flash correct and then i wiped everything it started giving me errors....then i re made rom with same kitchen latest one. and it solved my issue was using twrp 3.0.2 ( latest one)

now everything flashes correct you still want me to send you recovery log bro ??
[SuperR Kitchen] bishop0114:
I used a TWRP backup for a Samsung Verizon Note 3 (unlocked boot loader) to create a project using Superr on Ubuntu.

I deodexed, debloated, removed Knox, added init.d support, insecure and data/app support.

I didn't make any other changes. I was able to build the full Zip without any errors.

When I try to flash it in TWRP (or Flashfire), It starts the process, completes making adjustments to the partitions (about 2 seconds) and then says Done, as if it competed copying files, etc.

Any idea what I am doing wrong?
[SuperR Kitchen] Captain_Throwback:
I am not seeing this issue on my Nexus 9.

[IMG="Nexus 9 N Preview Built by Superr's Kitchen"]https://photos-2.dropbox.com/t/2/AACpWYiPqBVgluzkqBts0M9BgiAZckLAAPCvYSjn124COA/12/273368277/png/32x32/1/_/1/2/Screenshot_20160418-101729.png/ELjw4YMCGIZFIAIoAg/DLezRi3yxQogyHKt0_O13sUS_-U5DuyXQi4klgkfANI?size=1280x960&size_mode=3[/IMG]
[SuperR Kitchen] SuperR.:
I figured this was not the issue. Thank you for testing and posting your results :)
[SuperR Kitchen] :
If that is not the issue than what is? It boots fine after I edited the script and removed that part.
[SuperR Kitchen] Captain_Throwback:
Seems like something you need to figure out, since it isn't the display ID change.