yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] nightcrow:
With the latest version 2.1.3.3 I can't seem to get wifi to work after boot-up in any rom. I'm using a stock Samsung rom 6.0.1. (BPJG with BPK1 CSC) as a base with set_metadata as perm type and it seems to occur in bloated and debloated as well as odexed and deodexed roms. I'm not doing anything special (unpack and repack boot, root, busybox, tried debloating and deodexing smali/baksmali and oat2dex with no luck). Any clue in what I might be missing here?

EDIT: I'll build a rom without any modificiations to see how that goes.

EDIT2: Ok it doesn't boot at all, just brings me back to recovery. Flashing the supersu zip immediatly after flashing the rom zip boots the rom but again no wifi. Strange.
[SuperR Kitchen] KingRaheel:
I had ran into such a problem earlier for sammy 6.0.1 . Your rom will take mininum of 12-20 mins to boot but it will surely boot. As far as deodexing is concerned, not all deodexed roms boot up especially on samsung. So i would suggest you use SVA deodex tool for deodexing( Do a google search). Another thing which may cause your device not to boot up is the SuperSu. When you are in the root menu, select "Let supersu decide" as this option is always a safe play. Good luck:cowboy:

Edit: Wifi will not work if your rom is not developed on the same baseband version as that of your installed firmware on your device. Make sure both are the same (From my experience). However if a custom kernel is developed for your device then you can make wifi work even if the rom baseband and phone baseband versions are different.
[SuperR Kitchen] xtremelora:
[MENTION=718594]super[/MENTION]R, if I sign the .zip rom with the kitchen, will this erase the original sign key(LG) in every folder and file or just in the .zip file wrapper?

I'm having a funny time trying to make my own framework-res.apk work properly, basically I need the same sign key in the whole system to make it work or fall in boot animation forever.

I already sign one test structure with my framework-res.apk but I fall in boot animation, I just want to make sure if the sign process of the kitchen overwrite everything.

Thank you for your time man.
[SuperR Kitchen] SuperR.:
signing the zip does not change the apk files or their signature, but it does change the zip signature. The zip signature should not make any difference on whether the ROM boots. I suggest testing your zip without signing it.
[SuperR Kitchen] bcrichster:
[MENTION=5787964]SuperR.[/MENTION] Sent another PM.. AF style [emoji41]

Sent from my N9515's cm12.1
[SuperR Kitchen] nikkali25:
Hi sir.i got error in pulling system trough recovery or booted in rooted android.it says lock of permission or warning no space
[SuperR Kitchen] bcrichster:
When pulling system.img thru recovery, it must be a custom recovery like TWRP & CWM.. Just an FYI if you weren't already aware

Sent from my N9515's cm12.1
[SuperR Kitchen] bigrammy:
It's telling you that you do not have enough free space on your /sdcard for the system.img.

Some system partitions can be 3GB + so ensure you have enough free space.
[SuperR Kitchen] Sands207:
This tool is amazing, I installed BBQLINUX which is loaded for android development and set it up w this and I had a fully functioning rom in less than an hour. Thanks [MENTION=5787964]SuperR.[/MENTION]
[SuperR Kitchen] lokissmile:
Just donated my gitlab username is kifinnsson
[SuperR Kitchen] Sands207:
[MENTION=5787964]SuperR.[/MENTION] I donated this morning and my GitLab name is Sands207.

I didn't clarify but I have used the kitchen to build for the ZTE Imperial (apollo) and later tonight I'll be using it to build for the Moto e 2015 LTE Virgin Mobile (surnia), I am running BBQLINUX 64-bit XFCE as previously mentioned. Thank you for your time & contribution to open source :good:
[SuperR Kitchen] lokissmile:
Hello, just donated again, can you please add DrakenFX to the donate repo?
[SuperR Kitchen] xtremelora:
[MENTION=718594]superR[/MENTION], I just donated, my username is xtremelora.

Thank you for this great tool.
[SuperR Kitchen] ladislav.heller:
Hi!

Successfully created a ROM with this great Kitchen for my Samsung SM-A510F device. Everything worked well including flashing from TWRP, boot (a little bit longer at first time) and the system itself. Except the WiFi.

I simply cannot turn on WiFi with this cooked ROM. I had to restore the original ROM version from backup, which of course solves the WiFi problem.

Anybody has similar issue?
[SuperR Kitchen] bcrichster:
Yes. It has been stated in last several pages and while some Samsung users posted their personal methods for solving such issues, Samsung continues to evolve and change. Do some research of the last month or two in this thread and repost with the info from post #4 or support.zip if you've exhausted all options without success.

Sent from my N9515's cm12.1
[SuperR Kitchen] SuperR.:
Added last night, but forgot to post. Sorry and thanks :)
[SuperR Kitchen] macasus76:
[MENTION=718594]super[/MENTION]R Donation made fella 2136851561226654

macasus76

Please add thanks fella!
[SuperR Kitchen] ladislav.heller:
Upgrading both bootloader and modem (to the versions which were bundled with source stock ROM) should solve the above problem?

Only the modem upgrade I already tried. Did not help.
[SuperR Kitchen] macasus76:
Any clear fix for the wifi not turning on? I have searched this thread for 2 days and couldnt find anything to get it on. I have a SM-G920T i have tried the latest EPK5-TMB and DPK1-XAR firmwares. I've odin restored both flashed recovery, rooted debloated and deodexed and end result is wifi works fine, but when i cook the rom in the kitchen then install that in twrp end result is everything works but wifi. I tried what [MENTION=365022]sickness[/MENTION] suggested in a earlier post adding a line to build.prop but that was unsuccessful as well.

Any help would be greatly appreciated

[MENTION=5787964]SuperR.[/MENTION] awesome work on the kitchen, donate version is great!
[SuperR Kitchen] Tkkg1994:
Change permission of init.sec.boot.sh to 0550. It will work after that

Sent from my SuperMan powered SM-G930F
[SuperR Kitchen] macasus76:
Perfect! has this note been added to post 4?
[SuperR Kitchen] bcrichster:
Phenomenal! [emoji41] [MENTION=5787964]SuperR.[/MENTION] Any chance in adding that perms switch as an option somewhere in the SammyTools plugin or is there something else needing changed in the general perms detection methods?

Sent from my N9515's cm12.1
[SuperR Kitchen] SuperR.:
Is this change universal for all Samsung devices? If it is not a universal change, is there a way to determine which is required for a particular device without a list of devices to parse?

Someone else recently to me to change it to 0644 which is default currently.

Not sure yet :)
[SuperR Kitchen] Tkkg1994:
I can only speak for samsung devices, but I have tested this on a tab s, samsung galaxy s7 and note 7. Changing it to 0644 will break wifi and I think [MENTION=1649452]geiti94[/MENTION] can confirm that this happens on other samsung devices as well.

So I am currently not sure if it's only on samsung side or also required for others to be 0550 permission
[SuperR Kitchen] geiti94:
it must be on all exynos sammys set to 0550 :o is since s6 so that it need to have 0550 or wifi is broken :o
[SuperR Kitchen] SuperR.:
Would you mind sending the build.prop line referring to exynos so I can run a check for it when creating the updater-script? Thanks :)

edit: Do you know if 0550 breaks wifi on exynos prior to the s6?
[SuperR Kitchen] TheLogicalGamer:
I'm trying to add an app to /system/priv-app. I'm testing too see if removing lg update will stop ota's as I've tried everything else I can think of. The lg quick remote app is only available from update center. Was a system app in kitkat. Any it works and boots fine when placed it data/app. However in data/priv-app the rom fails to get past T-mobile screen. The rom itself was pre deodexed apparently. However the app folder has odex, lib files. I just pulled the whole folder from /data/app of my current build which is where lg update center installs it. I also have a compatability patch from update center I would like to add as well however when I try to make the custom directory that update center intalls it to. It creates it in the system folder.

The input for custom directory I used was: app-system /data

Device: Lg g3 d851

Adroid ver. 6.0 30D

Perm type: Set Metadata

Os: Ubuntu 16.04 LTS

Kitchen version: Latest as of this post.

Starting files: system.img & Boot.img

Tweaks system/boot.img

Added init.d

Isecured the kernal

Removed root

Readded root as system

Added device assert

Added data/app support

Removed bloat manually

Added Lg qremote app folder maintaining file structure to system/priv-app

Replaced build.prop with my tweaked bu

Built full rom zip with update binary zip aligning,and signing.

The exact same rom minus the qr app in system/priv-app boots just fine. Thanks for any help hope I didn't forget anything.
[SuperR Kitchen] bcrichster:
Try installing FOTAkill.apk in system/app..

Sent from my N9515's cm12.1
[SuperR Kitchen] TheLogicalGamer:
Well could I add in the folders manually? Or would I have to do it the custom directory? I'm having trouble finding that apk, but if possible I'll try it on the next build. And by next I mean the one after I get this one working or if I have more time then I think. I'll looking for it on my pc when I get home from work.
[SuperR Kitchen] bluflight:
[MENTION=5787964]SuperR.[/MENTION] we have problem on new open beta8 N on OnePlus3: after flash (with wipe data) all apps got fc's and all system is unstable.

So we tryed all methods, system.img, .dat, but every time same problems (no tryed deodex for the moment).

As a last resort, we wipped all again and flashed over stock firmware and did dump of system and boot from phone launched, flashed (with wipe data) and all work fine now.

Maybe so something is break during process in kitchen? Or depend only on this beta N firmware too immature?
[SuperR Kitchen] ladislav.heller:
Confirmed for Samsung SM-A510F: It works!

Thanks for the tip!
[SuperR Kitchen] geiti94:
here the string. ro.board.platform=exynos5 that string is on s6/n5/n4/s7 and n7 here :o that with 0550 is since s6 beta marshmallow needed
[SuperR Kitchen] SuperR.:
v2.1.3.4 (Donate version)

Changes:

Use 0550 perms on init.sec.boot.sh when ro.board.platform=exynos5 to fix wifi.

v1.1.2.4 (Standard version)

Changes:

Use 0550 perms on init.sec.boot.sh when ro.board.platform=exynos5 to fix wifi.
[SuperR Kitchen] ambasadii:
LOL BETA 3 nougat here (attach)

But yes i confirm that this will breaks wifi on mm
[SuperR Kitchen] SuperR.:
Let me know if we need to set up more rules. Currently every device that uses exynos5 will be 0550.
[SuperR Kitchen] mwarner:
Is it just me or are all SuperR's Plugins no longer available?
[SuperR Kitchen] bcrichster:
Just you. [emoji41]

Sent from my N9515's cm12.1
[SuperR Kitchen] mwarner:
Really!? I just get a 404 on all the links, after logging on.
[SuperR Kitchen] bcrichster:
Maybe try a different browser..??

Sent from my N9515's cm12.1
[SuperR Kitchen] mwarner:
Ok, thanks - tried on my phone, Ubuntu and Windows with no luck, but I'll try again when im at home.
[SuperR Kitchen] Ram121:
[MENTION=5787964]SuperR.[/MENTION]

Can you add following change to build.prop of samsung ROM

ro.build.official.release=false

it is true by default

If its kept true app cant be installed

Although i dont know what will happen with old build of samsung ROM but should not create problem
[SuperR Kitchen] mwarner:
Ok, so reading up on it a little more it seems you only get access to the Plugins once you've donated! Oops! I've only just installed it, so wanted a play around first before purchasing.
[SuperR Kitchen] bcrichster:
I'm gonna let you know that the donate version is totally worth it, you've got a Dev that actively maintains the project and keeps up with the changing Android platforms better than most ppl. This guy deserves it for his work all day long

Sent from my N9515's cm12.1
[SuperR Kitchen] Tkkg1994:
That only happens when you mod services.jar apk to disable signature check, so making this to =false on any samsung device is not really helpful lol. Instead it could be an option in rom kitchen menu when samsung rom is detected
[SuperR Kitchen] Ram121:
I think if its not going to make any harm its better to be there as most of people disable signature verification if making custom ROM. Some day i was also stuck into this.
[SuperR Kitchen] bcrichster:
Agreed. An option &/or an option to Sammy Plugin to the donate Kitchen would be a feasible suggestion. Options are certainly better than no options. [emoji41]

Sent from my N9515's cm12.1
[SuperR Kitchen] geiti94:
that happens only on n7 ports.... when on a s7 etc you set it to false then the s7 dont install apps. so edit it byself or port the conscrypt libs and you can use it on true...
[SuperR Kitchen] Cydras:
Hi [MENTION=5787964]SuperR[/MENTION],

i donated you 10$ for your Donate Version :)

My Gitlab Username is Cydras :)
[SuperR Kitchen] HiM@L:
I can not update my donate version anymore?

username:hlimbu00
[SuperR Kitchen] andy_zhang:
Sir, I have a trouble. I want create system.new.dat,it need enter system space, I via adb and system.img to get it, but error, How do I get that manually?
[SuperR Kitchen] fowler82:
hey superri donated $8.00 my git name is fowler2013 thanks
[SuperR Kitchen] bcrichster:
Minimum is $10 for the donate kitchen. Plus with all due respect, this man does a LOT of work on this project you wouldn't believe and so is very deserving of the minimum stated donation. From all of us here, Don't try to cheat him.

Sent from my N9515's cm12.1
[SuperR Kitchen] ShinySide:
Regardless of amount, since no user is obligated to donate, no one should be accused of "trying to cheat him" or anyone because they made a donation granted it fell a little short for the "paid" version. Just tell him there's a set price for the donate/"paid" version since he most likely just saw people saying hey I donated. Lol

- From the one user excluded from "Don't try to cheat him", just make the set price donation for said version you probably missed. Lol
[SuperR Kitchen] fowler82:
well my bad i did not read nothing that said there was a 10 charge man just to donate ,im sure his work is worth way more but thats what i had to give,if i would of saw it i would not of sent nothing bc all i had was 8,but is what it is .sorry
[SuperR Kitchen] janjan:
Is there any option to add 0550 perms on init.sec.boot.sh to fix wifi issue? Or should we change manually the permission? Thanks
[SuperR Kitchen] SuperR.:
Your user is still active, so not sure what is going on. Maybe try again later.

No need to double post. I don't know how to get anything from your device but if you tell me I can add it to the kitchen :)

Refunded

The latest version uses 0550 on init.sec.boot.sh on all exynos5 devices.

edit: You may need to change perm types to something else (sparse_dat, raw_img) and then back to set_metadata to see the change.
[SuperR Kitchen] andy_zhang:
Sir, My phone is lg v10 .
[SuperR Kitchen] bcrichster:
Hey guys! Don't forget to zip up your devices and post it in the thread to share.. Those will help everyone out immensely when added to the device repo.. [emoji41]

Sent from my N9515's cm12.1
[SuperR Kitchen] diabolicalprophecy:
Hi there. I would like to manually install your kitchen without reinstalling ubuntu again as i already have ubuntu 16.04 LTS.

Is there any other way than complete system reinstall or USB booting?

Any help would be much appreciated.
[SuperR Kitchen] manuelmagix:
why no compatible aroma installer with Sparse_dat??
[SuperR Kitchen] SuperR.:
According to the device tree found here, your system partition size is 4492099584.

Install instructions can be found in post #1

I don't know much about Aroma as I have never used it. The Aroma plugin is currently not set up for sparse_dat because I don't have time to do the research how to make it work. If you do the research and send me an example script that works with sparse_dat, I will see what I can do.
[SuperR Kitchen] bcrichster:
git clone

Sweet!

Has there been any progress on updating sparse_DAT perms to match/complete or exceed metadata's list or has Nougat made things too weird? Plz forgive any offense as none is intended, plus I have no clue to the PITA it could be.

Sent from my N9515's cm12.1
[SuperR Kitchen] ale8530:
[MENTION=5787964]SuperR.[/MENTION] is possible use this tool for deodex with command line for automatic deodex?
[SuperR Kitchen] andy_zhang:
sir,i get erro .

main log:

error: build_directory_structure: scandir: Permission denied

Creating filesystem with parameters:

Size: 4492099584

Block size: 4096

Blocks per group: 32768

Inodes per group: 8064

Inode size: 256

Journal blocks: 17136

Label:

Blocks: 1096704

Block groups: 34

Reserved block group size: 271
[SuperR Kitchen] SuperR.:
I am looking into using AOSP tools to create sparse_dat, but it is going very slowly so far :(

I am not completely sure what you mean, but the kitchen does not run as a command line tool with arguments. You will need to run the kitchen using the instructions in post #1 and navigate the menu options to deodex.

The cpio error you got will not affect anything and I have not figured out how to suppress it yet.

There is no reason to use init.d and su.d in the same rom. I recommend only using su.d since it is more compatible with more devices. I may remove init.d support from future kitchen versions.

From the users perspective, su.d works the same way as init.d so try removing init.d and adding your script to the su.d directory

You may have files that are not readable for some reason. If you are trying sparse_dat, I suggest trying something else. set_metadata is currently the best option for all roms in my opinion.
[SuperR Kitchen] Sh0X31:
[MENTION=5787964]SuperR.[/MENTION] I have some trouble. I don't understand, why I cant build >.<
[SuperR Kitchen] bcrichster:
I'd upgrade to a 64bit OS for your PC. Most of the kitchen is meant for and built around a 64 bit processor, but you can always build a 32bit OS on a 64bit machine. Just not the other way around. I had a similar problem once and (thankfully) [MENTION=5787964]SuperR.[/MENTION] convinced me to upgrade my OS and problems solved. Haven't needed to look back & everything since have only been improvements. [emoji41] BTW, Android 5.0+ is all 64bit..

Sent from my N9515's cm12.1
[SuperR Kitchen] ShinySide:
Your log is blank.
[SuperR Kitchen] Sh0X31:
Log

[MENTION=5297774]bcrichster[/MENTION] I'm running Ubuntu 16.10 x64
[SuperR Kitchen] bcrichster:
Hmm OK.. Strange. Did'ja install the required dependencies listed?

Sent from my N9515's cm12.1
[SuperR Kitchen] Sh0X31:
Yes of Course. I build few day ago for the Nexus 6P. Now I have a Pixel and will flash my Rom. But I cant build :'(
[SuperR Kitchen] bcrichster:
Did you take an update on the PC..?? If not, try a fresh pull from git and try again.. Sometimes it helps

Sent from my N9515's cm12.1
[SuperR Kitchen] Sh0X31:
I get a normal update in Ubuntu like Kernel.

edit:

clean install of the kitchen do not helped
[SuperR Kitchen] elektrik2001:
Howdy. having a problem using the kitchen to extract my system.img. When I do a file system.img it says data...Error is below:

------------------------------------------------------

SuperR's Kitchen

by SuperR

------------------------------------------------------

Checking/Converting if sparse ...

------------------------------------------------------

SuperR's Kitchen

by SuperR

------------------------------------------------------

Mounting system.img ...

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

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

------------------------------------------------------

SuperR's Kitchen

by SuperR

------------------------------------------------------

Copying files to system ...

cp: cannot stat â€˜output/*â€™: No such file or directory

umount: output/: not mounted

------------------------------------------------------

SuperR's Kitchen

by SuperR

------------------------------------------------------

ERROR:

There was a problem extracting your ROM.

Press ENTER to return to the Main Menu

and here's the dmesg |tail contents:

[ 189.039054] audit_printk_skb: 150 callbacks suppressed

[ 189.039063] type=1400 audit(1481386974.739:62): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2324 comm="apparmor_parser"

[ 189.039078] type=1400 audit(1481386974.739:63): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2324 comm="apparmor_parser"

[ 189.040287] type=1400 audit(1481386974.739:64): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2324 comm="apparmor_parser"

[ 744.085402] EXT4-fs (loop0): VFS: Can't find ext4 filesystem

[ 755.373948] EXT4-fs (loop0): VFS: Can't find ext4 filesystem

[ 776.451194] EXT4-fs (loop0): VFS: Can't find ext4 filesystem

[ 1401.933096] EXT4-fs (loop0): VFS: Can't find ext4 filesystem

[ 1478.359494] EXT4-fs (loop0): VFS: Can't find ext4 filesystem

[ 1740.951101] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[SuperR Kitchen] glockman4519:
This is one of the easiest and we'll put together tools that I have had a chance to work with. Tried on Ubuntu Mate 16.04 and it just for through everything. Still learning the ropes but this tool helps makes the learning process a bit less painful.
[SuperR Kitchen] Sh0X31:
Hello guys,

I dont find a solution for my problem so I delete and reinstall Ubuntu 16.10 but I still get the same error >.< I realy need some help
[SuperR Kitchen] SuperR.:
Seems like your system.img is not ext4.

Check file permissions in your rom. If any of the files are not owned by your user, or if any of the files do not have read permissions, 7zip will fail to create the zip.
[SuperR Kitchen] Sh0X31:
how I check the permissions? And which permissons I have to check?
[SuperR Kitchen] bcrichster:
[MENTION=5787964]SuperR.[/MENTION] , The strange part is he said he built a Nexus ROM with no issues the other day.. What would be different about the perms for the pixel's OS or is there a difference at all.. a Nougat deal or something??

Sent from my N9515's cm12.1
[SuperR Kitchen] Sh0X31:
Yes I build few day before

http://xdaforums.com/nexus-6p/development/rom-hyperstock-v2-5-1-t3506576

but can someone tell me which permissios I have to check?
[SuperR Kitchen] RawMain:
Donate Version

Hello

[MENTION=5787964]SuperR[/MENTION] Kudos for your kitchen :good: .

I've just sent You a donation in order to access Gitlab repo for Donate Version & Plugins.

My Gitlab username is rawmain .

Thanks again.
[SuperR Kitchen] SuperR.:
It is a local file permission issue, not a device permission written to the updater-script.

Check all file permissions on your pc in your rom directory. There is most likely a file 7-zip can't access for one reason or another. It might help to try and zip the rom manually from your file manager. It might spit out an error about not being able to access a file and help you narrow down the cause.

Added, thanks :)
[SuperR Kitchen] Sh0X31:
with the factory image of the Nexus 6P (NMF26F) no problems but with my Pixel (NMF26O) no chance. I check all permissions and write & read. So no idea...
[SuperR Kitchen] SuperR.:
There are some new things about the Pixel devices that I have not had a chance to look at. I am not even sure if the kitchen will build a working rom for the Pixel. It sounds like you are not even able to get that far, so I will grab the latest Pixel firmware when I get a chance and take a look.
[SuperR Kitchen] andy_zhang:
Sir, I am successful with using tools of Windows, I don't know why not be successful with superrs kitchen.?