yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] micky387:
Try to edit build.prop in /system (with es explorer for exemple in root mod)

change

ro.secure.storage=true

to

ro.secure.storage=false

save reboot ;)
[SuperR Kitchen] enotar:
So update to Ubuntu 16.04 Xenial and running kitchen trying to install dependencies I got this:

Installing dependencies ...

Media change: please insert the disc labeled

'Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)'

in the drive '/media/cdrom/' and press [Enter]
[SuperR Kitchen] :
Try using an older version. I'm on 14.04 LTS and it works like a charm.
[SuperR Kitchen] TheRock40359:
I'm missing dependencies. When I type in the terminal to install gawk it says unable to locate package
[SuperR Kitchen] enotar:
Whats the point if I cannot get 16.04......
[SuperR Kitchen] jazzespresso:
in stock SM-T350's build.prob, I do not have ro.secure.storage, but something to similar are;

persist.sys.storage_preload=1

ro.securestorage.support=true

I also found this xda thread (it is Note 3) http://xdaforums.com/showthread.php?t=2471416&page=3

I made it ro.securestorage.support=false, save it. I have not had chance to flash the ROM and see if it works. I will test it and report it back here, but have feeling this should fix it.
[SuperR Kitchen] :
Well your gonna have to choose or wait for a solution.
[SuperR Kitchen] JamFan05:
I would try a fresh install of ubuntu. I'm running 16.04 and the kitchen is working perfectly
[SuperR Kitchen] Er. Aditya:
[MENTION=5787964]SuperR.[/MENTION] bro i tried extracting keeping zip downloaded via samfirmware

but neither system gets extracted i get these errors , though i always extract system img from zip and then work on it but still wanted to report

mount: wrong fs type, bad option, bad superblock on /dev/loop0,

missing codepage or helper program, or other error

(could this be the IDE device where you in fact use

ide-scsi so that sr0 or sda or so is needed?)

In some cases useful info is found in syslog - try

dmesg | tail or so

Copying files to cache directory ...

mkdir: cannot create directory ‘cache’: File exists

cp: cannot stat ‘output/*’: No such file or directory

umount: output/: not mounted

grep: /home/bhuvi/superrs-kitchen2/superr_n900/system/build.prop: No such file or directory

grep: /home/bhuvi/superrs-kitchen2/superr_n900/system/build.prop: No such file or directory
[SuperR Kitchen] SuperR.:
I am not sure if this will help with your exact problem, but you need to enable the universe repo in your software settings to install some of the required packages.

Try sudo apt-get update, and then sudo apt-get install gawk. If that does not work, search Google for solutions as this is not a thread for Linux help :)

I am sure we will get it sorted out, relax :)

As I just told the last person that reported this issue, please send the firmware so I can have a look. I only had one firmware to test on and it worked fine. Perhaps they are not all the same. Please upload to a fast and free server so it does not take me 13 hours like the last time I downloaded from sammobile, thanks :)
[SuperR Kitchen] enotar:
You are fantastic

Thank you so much
[SuperR Kitchen] Er. Aditya:
thanks alot brother , dropbox would do ?
[SuperR Kitchen] enotar:
Already enable
[SuperR Kitchen] micky387:
Yes put ro.securestorage.support=true to

ro.securestorage.support=false ;)
[SuperR Kitchen] SuperR.:
I understand. What does the S3 need that this kitchen is not providing?
[SuperR Kitchen] Androidwizzard:
I can't say as I use it only for Lollipop so far. Only difference I have in mind is the folder structure on old JB maybe, which changed on KitKat first time. It isn't any kind of criticism only a thought when reading about an issue.
[SuperR Kitchen] mcqaissi:
I tried with lollipop rom.zip
[SuperR Kitchen] fhem:
[MENTION=5787964]SuperR.[/MENTION] Do you plan on updating your deodex tool for android 6.0/Marshmallow?
[SuperR Kitchen] SuperR.:
I do not take it as a criticism at all, just want to improve the kitchen :)

The directory structure should not be the cause as this kitchen works well with my old Warp Sequent which is on JB 4.1.2. I hope someone can chime in and help get these issues sorted out. Thanks for your replies :)
[SuperR Kitchen] SuperR.:
I will not update the deodex tool. However, I will keep the deodex feature of this kitchen updated to the best of my ability :)
[SuperR Kitchen] bcrichster:
Instead of updating the tool, wouldn't you just be able to add the marshmallow deodexing.jar?
[SuperR Kitchen] SuperR.:
It is very possible the kitchen will already deodex Android 6.0.
[SuperR Kitchen] bcrichster:
I actually considered that but figured if it was too different, someone might make the jar file you could add in
[SuperR Kitchen] stamilselvan:
Its working..

Yeah,, updated and followed some missed steps and its ok now. I built and flashed rom.

Thanks,, I have built a rom with set_perm. Set_metadata not working.. That is not an issue.. But i need this rom zip to port Paranoid android and PAC rom to my device. Any advice..?? Iam going to follow this, http://www.myvichar.com/news/how-to-port-different-android-roms-to-your-device/ And I planned port PA of Nexus 7 2013 to Huawei mediapad T1

I have one more doubt,, Can only mediatek devices be ported? not quallcomm devices?

Please give some advice
[SuperR Kitchen] bcrichster:
Most of what we use here in the States are Qualcomm devices, I believe
[SuperR Kitchen] hohassan444:
I cannot built ROM using set_metadata or sparse_DAT...give me error , your kernel don't support selinux . please use normal ROM zip...I use ubuntu 15 64bit
[SuperR Kitchen] fhem:
FYI

Tested your kitchen/deodex on my N6 with last Lollipop factory images and it worked fine. Tried using it with N6 M3 preview and the deodex does not work.
[SuperR Kitchen] SuperR.:
Thanks for the directory tree for M. I will update it probably Monday so you can give it a try.
[SuperR Kitchen] SuperR.:
Can you link me to the M preview so I can test it? Thanks
[SuperR Kitchen] fhem:
https://developer.android.com/about/versions/marshmallow/download.html
[SuperR Kitchen] SuperR.:
v0.9.1.1

Changes:

Add deodex support for Android 6.0

Added unmount commands to the beginning of the updater-script to hopefully prevent update-binary errors
[SuperR Kitchen] sefrcoko:
Just wanted to say the new update seems to be working for me. Had a few update-binary issues when flashing my rom this morning but on the new kitchen version it flashes fine :). Great work, thanks!

Running into an issue here though... For some reason my rom won't boot if i deodex it. If i leave it odexed no problem though. New to this kitchen so still learning the ropes. Any suggestions or ideas? Running 64-bit debian on virtualbox, for sm-910w8 (note 4 snapdragon) Touchwiz 5.1.1.
[SuperR Kitchen] SuperR.:
Did you deodex using the newest kitchen as well? I ask because a few days ago I made a change that fixes several apps that previously did not deodex properly. Otherwise, did you get any errors on your screen while deodexing? You can always scroll up in the terminal after it is finished to see the output.
[SuperR Kitchen] Captain_Throwback:
I just updated to 16.04 LTS and the kitchen is (still) working fine for me.
[SuperR Kitchen] SuperR.:
Yes dropbox is good :)
[SuperR Kitchen] jazzespresso:
[MENTION=5787964]SuperR.[/MENTION]

is there a plan for adding xposed install piece for future release? I am thinking something like let Supper Kitchen create a folder called Xposed, and let us copy appropriate xposed module installation zip there, and update.script able to add, flash it after the ROM flash....something like that...like how busybox got installed...similar to that..
[SuperR Kitchen] enotar:
I did a clean install.
[SuperR Kitchen] jazzespresso:
worked!, wifi now stays connected and re-connects by itself after the device reboot...
[SuperR Kitchen] SuperR.:
v1.0.6.1 (Standard version)

Changes:

Install default-jre instead of openjdk-7-jre since it is not available in 16.04.

Added libc6-i386 to dependencies installer for 64-bit Linux.

v2.0.6.1 (Donate version)

Changes:

Install default-jre instead of openjdk-7-jre since it is not available in 16.04.

Added libc6-i386 to dependencies installer for 64-bit Linux.

NOTE: I just did a clean install of Ubuntu 16.04. With these fixes and letting the kitchen install missing dependencies, it went very smooth. The binaries were even built from source after letting the kitchen install the second batch of missing packages. If you still have problems there is something else wrong with your system and you should do some research to find out how to fix it. From this point forward, I will be testing on Ubuntu 16.04. If you are using something else, I will not be able to help much and will suggest you do a clean install of Ubuntu 16.04 :)
[SuperR Kitchen] Captain_Throwback:
Xposed doesn't install that easily.
[SuperR Kitchen] Imotep95:
Am i doing something wrong? All apt-get files are installed :/

[YOUTUBE]/qlHkcHkQdlo[/YOUTUBE]
[SuperR Kitchen] SuperR.:
Not unless [MENTION=4419114]rovo89[/MENTION] changes over to an update-binary similar to SuperSU and Busybox.

There are issues with Bash on Ubuntu on Windows. It is better that it not work right now since it is very much limited in functionality. I will look at it again after Microsoft lets you install Java and mount images. For now it is pretty much useless.
[SuperR Kitchen] enotar:
I will report as soon as I achieve to fix my wifi issue with 16.04.
[SuperR Kitchen] jazzespresso:
yes. I know. I am using [MENTION=4898097]arter97[/MENTION] on my Samsung SM-T350 (5.0.2) - http://xdaforums.com/xposed/unofficial-xposed-samsung-lollipop-t3113463

here's my steps:

I flash the ROM (Superr Kitchen) - it has Data/app folder I have XposedInstaller app included in the ROM, and then flash the [MENTION=4898097]arter97[/MENTION] 's xposed., back recover main window, wipe and selected only delete dalvik caches/and caches, and then reboot.

of course, Android 6.0/or even 7.0, this may be more complicated...
[SuperR Kitchen] popito93:
hi, i have finish build my rom galaxy note 5 n920s

and in the zip i have find threse file:

busybox

install

meta-inf

supersu

boot.img

data.patch.dat

file_contexts

system.patch.dat

system.new

system.transfert.list

my rom dont flash in recovery help my please
[SuperR Kitchen] Er. Aditya:
hey bro i moved to ubuntu 16.04 and while i install dependencies i get this , though they seem to install fine

Installing dependencies ...

AppStream cache update completed, but some metadata was ignored due to errors.
[SuperR Kitchen] :
What errors do you get? Can't do much without that. Samsung stock can be funky so try set meta instead
[SuperR Kitchen] msainani:
Hi. This is my first time posting here in a developers thread, hope no one gets offended at n00b questions.

I'm running Ubuntu 16.04 LTS in VMware. After getting the prompt to download dependencies and installing them, the app loads fine.

However, I tried loading two ROMs - Samsung MM Stock and Unofficial CM13, both for Note 4, and none of them seem to work.

The stock was pulled from SamFirm, and it gives an error: Something went wrong with the extraction

With the CM zip, I get the META-INF folder along with the boot.img and system.patch.dat files only, and they're empty files

Is there anything that I am missing?
[SuperR Kitchen] enotar:
Out of context but incredible that at Ubuntu nobody knows why so many peoples have no wifi after upgrade to 16.04. Not very professional.
[SuperR Kitchen] SuperR.:
As I have said to the last several people that have asked this exact same question, send a link to the firmware and I will have a look.

They will sort it out if it is a problem many people are having. This is their long term support edition so it will be fixed. Early adopters frequently have issues with all software since it has only been tested on a limited number of machines before release to the public. The kitchen works on 14.04-15.10 for sure so feel free to use an older version. I will be testing on 16.04 from now on but that does not mean everyone has to use it :)

I am having a small issue on 16.04 myself. For some reason the terminal scrollback does not work as before. I have it set to unlimited and it only scrolls up the last 2 screens regardless of that setting. Pretty annoying lol
[SuperR Kitchen] enotar:
I have to find a way to install with no network. I dont have a adapter for usb....
[SuperR Kitchen] bigrammy:
I am no linux expert but you could try rollback the kernel if you installed the update by using your ubuntu gui :confused:

See Here For How To then retry the wifi.

If you did a clean install eg: Wiped everything then installed afresh you could just re download the 14.04 .iso via your Phone's Wifi maybe you could even tether to your phone :confused:

Previous 14.04.4 iso's are Here http://releases.ubuntu.com/trusty/ ;)
[SuperR Kitchen] msainani:
Hey, here's a link to Samsung Note 4 6.0.1 firmware: https://drive.google.com/open?id=0B8LMKS8AcOJ-VnVwalQwVUp2a2M

Do take a look.

Thanks
[SuperR Kitchen] Tkkg1994:
Linux 16.04

After updating the rom to the latest version (1.0.6.0) and linux to 16.04, I can get the kitchen working. I already tried to install all essentials, still the kitchen does not even start, only sais: "closed".

Did anyone have the same problem as me?
[SuperR Kitchen] bcrichster:
That may still be a corrupted DL .iso. I always have dependency issues when I install a corrupted iso, had me beating my brains as in: WTF?! for a long time until I gave up and redownloaded the iso and tried again. A scratched/flawed CD will do similar things as well.. [emoji90]

Sent from my Gummy Sync N9515
[SuperR Kitchen] SuperR.:
v1.0.6.2 (Standard version)

Changes:

Fixed Samsung firmware not extracting if system.img is named system.img.ext4 inside the tar.

v2.0.6.2 (Donate version)

Changes:

Fixed Samsung firmware not extracting if system.img is named system.img.ext4 inside the tar.
[SuperR Kitchen] Tkkg1994:
I don't have a new installed iso or something. I have a linux pc only (no dualboot or VM). I installed 13.04 Ubuntu with an iso and since than always updated threw terminal. This hasn't anything to do with an iso file

Sent with my SuperMan powered SM-G930F
[SuperR Kitchen] SuperR.:
If you removed the "Built.with.SuperRs.Kitchen" ro.build.display.id line in the standard version, the kitchen will exit. Other than that I have no idea why this would be happening.
[SuperR Kitchen] bcrichster:
Lemme guess.. You don't think think that any of your "Updates" could ever have been corrupted, by chance? It has happened to me and I had to actually DL a new/updated .iso and then started over. No problems since. [emoji41] Food for thought..

Sent from my Gummy Sync N9515
[SuperR Kitchen] TMG1961:
What is the best practice of adding apps to the rom? I been trying some apps, liker my bankapp, neighbourhood app, weather app, nova launcher and also Titanium Backup. I added them to system/app or system/priv-app but not always been succesfull. They either arent installed at all or stop working when you open them. Titanium Backup is never installed, no matter were i put the apk file.

So question is, how and were to add the apk files for the apps to get installed during setup of the rom and have them working without closing once you open them.
[SuperR Kitchen] Er. Aditya:
add them to data/app/
[SuperR Kitchen] TMG1961:
I tried that, but when i started the building of the rom i got message that the size of a partition wasn't correct, so i stopped and tried something else. Like just adding the apk file to system/app folder.

Maybe i did something wrong during attempt of adding apk files to the rom. Haven't tried it since but picked it up again today.

Just tried it and got following error message:

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.

Got this option:

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

Did put the apk files in data/app folder

Started the build and selected option 1 build full zip and then option 1 again twice: Device through adb shell (recommended)

---------- Post added at 09:52 ---------- Previous post was at 09:29 ----------

Tried something else: options 4 and 5 are now like this

4) /data/app support (CURRENT: Enabled: set_metadata)

5) Change perm type (CURRENT: set_metadata)

started the build of the rom and it finished without error message.

Will install the rom later to see if all the apps are installed during setup. Waiting for important phone call so cant test it at the moment.
[SuperR Kitchen] TMG1961:
I installed the rom but get set-metadata_recursive: some changes failed

Updater process ended with error 7
[SuperR Kitchen] Mortifix:
Hi Zaphodspeaks, were you ever able to get this issue resolved? I am also having issues with wifi calling not working after building a rom. I've tried every didn't combination but no matter what I do, Wifi Calling gets stuck in Enabling but never actually enables. Like you, everything else is working including wifi.
[SuperR Kitchen] GraveDigger176:
Hey Guys,

Since today i got this error message in kitchen, 3 days before i create a rom and now i got this error anybody knows what's going wrong or is it my fault. I'm on Xubuntu 15.10 :confused: :confused:

thx in advance
[SuperR Kitchen] SuperR.:
Not really sure, but I get a very similar error if I press shift while choosing a number option.
[SuperR Kitchen] GraveDigger176:
I choose 1 for create new project and get the error :confused:
[SuperR Kitchen] SuperR.:
Working on a solution. Will post update when finished.
[SuperR Kitchen] SuperR.:
v2.0.6.3 (Donate version)

Changes:

Fixed scrollback not going past 2 screens in gnome-terminal on Ubuntu 16.04 and probably others.

Fixed allowing special characters typed in menu to break the kitchen.

v1.0.6.3 (Standard version)

Changes:

Fixed scrollback not going past 2 screens in gnome-terminal on Ubuntu 16.04 and probably others.

Fixed allowing special characters typed in menu to break the kitchen.
[SuperR Kitchen] Mortifix:
I get that if I try to use my number pad even with Numlock enabled. I have to use the numbers across the top. It's not always like this.. just sometimes.
[SuperR Kitchen] Er. Aditya:
that happened to me when i dint activate the num pad...when i activate it , this works fine...dont know it might be your os doing something evil
[SuperR Kitchen] JochenP:
Big thanks! That solves my problem from Post #2290 :good:
[SuperR Kitchen] tdunham:
deleted
[SuperR Kitchen] jetfin:
Hi, I'm trying to build a flashable ROM zip for a cube i15TD intel tablet using boot.img and system image extracted from the stock device. I also have a working TWRP 3.0.2-0

Everything seems to go fine but the zip fails to flash in TWRP. Here is relevant output from recovery log:

I:operation_start: 'Flashing'
Installing zip file '/sdcard/cube_stock_rooted-signed.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
E:Can't execute '/tmp/updater': Exec format error
Updater process ended with ERROR: 255
I:Legacy property environment disabled.
Error installing zip file '/sdcard/cube_stock_rooted-signed.zip'

Any ideas about this problem in TWRP?

I am running kitchen v1.0.6.3 on Ubuntu 15.10

Original device image files are located here: https://www.androidfilehost.com/?w=files&flid=54479

Thanks in advance for any input on this!
[SuperR Kitchen] Mortifix:
Possibly... I am running Ubuntu in a virtual machine so I'm sure switching between that and Windows probably caused the evilness.
[SuperR Kitchen] darangel212:
None of the command is working bro
[SuperR Kitchen] Captain_Throwback:
The update-binary in the Kitchen is compiled for arm, which is probably your problem. You'd need a different update-binary for the flash to work. Try replacing the one in the META-INF folder with one from your device.

[MENTION=5787964]SuperR.[/MENTION]

There is a point to be made for using a shell script update method, to avoid issues like this. Then the ARCH won't matter. I know [MENTION=4544860]osm0sis[/MENTION] has a shell script replacement already set up. Might be worth looking in to.
[SuperR Kitchen] enotar:
in bash on windows 10 I run the script in debug, I am not sure that help to find why it exit or where:

/superrs-kitchen# bash -x ./superr

++ tput setaf 1

+ redt=''

++ tput setb 4

+ redb=''

++ tput setaf 2

+ greent=''

++ tput setb 2

+ greenb=''

'

+++ pwd

++ echo /mnt/c/users/enotar/Downloads/superrs-kitchen

++ grep ' '

+ [[ ! '' = '' ]]

++ pwd

+ export base=/mnt/c/users/enotar/Downloads/superrs-kitchen

+ base=/mnt/c/users/enotar/Downloads/superrs-kitchen

+ tools=/mnt/c/users/enotar/Downloads/superrs-kitchen/tools

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/current

++ grep '^smali'

+ smali=smali-2.1.2-87d10dac-small.jar

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/old

++ grep '^smali'

+ smalio=smali-2.0.6.jar

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/current

++ grep baksmali

+ baksmali=baksmali-2.1.2-87d10dac-small.jar

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/old

++ grep baksmali

+ baksmalio=baksmali-2.0.6.jar

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/current

++ grep oat2dex

+ oat2dex=oat2dex-15668d7d.jar

++ ls /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/smali/old

+ chkstat

++ ps -A

++ grep chkstatd

+ [[ '' = '' ]]

+ [[ -f /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/source/img_tools/extras/chkstatd ]]

+ /mnt/c/users/enotar/Downloads/superrs-kitchen/tools/source/img_tools/extras/chkstatd

++ ps -A

++ grep chkstatd

+ [[ '' = '' ]]

+ echo ''

+ exit

/superrs-kitchen#
[SuperR Kitchen] SuperR.:
I am not working on Bash on Ubuntu on Windows until Microsoft fixes many things. Even if you get it working it is useless at the moment without java and the ability to mount images. Use Linux.

Send your recovery.log after trying to flash so we can see what is going wrong. Try removing the /data/app stuff and see if it works. Try removing all the custom stuff you added and see if that works.
[SuperR Kitchen] TMG1961:
It works when i all the data/app stuff. I dont have any custom things added to the rom.

Attached the recovery.log
[SuperR Kitchen] SuperR.:
Seems like the /data/app stuff is causing the issue. I only have the devices I have for testing, so you will need to figure out how to get it working on your device. Once you figure it out, let me know and I will make the changes in the kitchen :)
[SuperR Kitchen] TMG1961:
That is going to be a big problem. I have absolutely no clue about this. I wished i would know how to get it fixed so i could help you.
[SuperR Kitchen] SuperR.:
I will push an update soon that may help thanks to [MENTION=1162986]Captain_Throwback[/MENTION] :)
[SuperR Kitchen] SuperR.:
v2.0.6.4 (Donate version)

Changes:

Removed mount/unmount for /data/app support.

Removed capabilities from data set_metadata.

Updated oat2dex, smali, and baksmali to the latest commits.

v1.0.6.4 (Standard version)

Changes:

Removed mount/unmount for /data/app support.

Removed capabilities from data set_metadata.

Updated oat2dex, smali, and baksmali to the latest commits.
[SuperR Kitchen] Er. Aditya:
will this sort the deodexing issues bro ?
[SuperR Kitchen] SuperR.:
I have no idea. If you want to try the new oat2dex.jar with pre-N roms, you will need to copy it from /kitchen/tools/smali/current into /kitchen/tools/smali/old. Make sure the other one is not in there with it, and keep the old one so you can put it back if needed. Let me know how it goes.
[SuperR Kitchen] Er. Aditya:
Not N roms but last i had issue with M based sammy rom

Apps starts to fc on first boot itself..il still check the new files..but last timr svadevs method worked for me