yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] Mentalmuso:
getting partition info for s6 mm is working fine with me. I don't think it's related to your kitchen at all. That's the method I use to build every time, I'm not doing anything special except making sure USB debugging is activated, selecting allow when adb asks for permission on device, and finally granting root access when supersu box comes up.
[SuperR Kitchen] arismelachrinos:
can somebody help me with the " one or more tools could not be built " error when i try to run the superr file? it says preparing tools , and then the error. i tried the method i saw on the #4 post but no luck. it asks me if i want to download 420mb , i press y and then i get many "404 Not Found [IP: 83.235.64.44 80] " errors
[SuperR Kitchen] JochenP:
If you will post some infos (see page 1)
[SuperR Kitchen] blueberry60:
[MENTION=5787964]SuperR.[/MENTION] many thanks for this perfect tool.

I've used 1.0.3.3 tool version and created deodexed zip from official MM 3.35.401.12 himauhl system.img and boot.img without any problems,but I couldn't flash this zip from TWRP ended with ERROR: 7 message.

Here are logs and pictures:

http://pasted.co/0df7703a

http://pasted.co/adfcfc71

http://pasted.co/c97e9c6a

View attachment 3654692

View attachment 3654693
[SuperR Kitchen] SuperR.:
Did you read the last part of the section you are referring to in post #4? If you still can't build the binaries after installing the dependencies, the kitchen will ask you if you want to install the binaries. Say yes and you should be good.

Your problem is the assert. Read post #4 in the section that says Flashing error.
[SuperR Kitchen] blueberry60:
I read post related to flashing errors and went to ROOM Tools-->Asserts--> Add/Remove device asserts,at the bottom it says "htc_himauhl" and I was confused how to edit the line,awfully sorry.:p

View attachment 3654778
[SuperR Kitchen] SuperR.:
Make the line say "htc_himauhl,htc_himaul"
[SuperR Kitchen] störte:
I am sure it is on my side. Either it is because i use VM for Linux which i doubt because i have on a Dual boot another linux or i use something wrong.

I also get no Question to grant root. USB debugging is active.
[SuperR Kitchen] JochenP:
After 2 weeks of extensive tests i have finally found my environment and it works perfektly:

win7 64bit, VMware 12, Ubuntu 15 64bit (java 8 has to be installed - otherwise deodexing not working) - if that doesn't work for you, please PM me

-Linux Mint isn't the first choice because of java 7 and deodexing (perhaps only in VM?) sometimes fail
[SuperR Kitchen] Mentalmuso:
It's funny. After saying what I said, of course my setup stopped working. No devices detected in adb in Linux or Windows either. I ended up flashing back to stock via Odin. Re rooted and then it worked again.

Edit. I'm not using VMware either. I'm dual booting
[SuperR Kitchen] störte:
My problem is that it is sometimes detected but offline.

What du i have to enter when i use Manually ? I use atm System.img. When it is booting i am without Wifi
[SuperR Kitchen] blueberry60:
I've used stock boot.img from last M9 3.35.401.12 RUU in Boot/Recovery Tool,then packed boot.img with init.d support,insecure,dm-verity and forceencrypt options as disabled,perm type sparse_dat,asserts menu: htc_himauhl,htc_ul. The zip that I created have been succesfully flashed from TWRP without any problem,but device is stucking on HTC Logo and not booting to system. I've also tried with the option of set_metadata but this never changed repeatedly booting and stucking on HTC Logo issue.Is there any benefit to pack boot.img with deleting ramdisk?
[SuperR Kitchen] JochenP:
I think you better start from scratch with fresh boot and system.img and try different choices from there. 'Delete ramdisk' deletes only files on your pc.

Don't knew if your device is yimilar as A9 but you can give it a try.

My A9 settings:

during system extracting i said no to sparse dat and choose set_metadata

Boot: Remove dm-verity and removed forceencrypt

pack boot.img (with or without deleting ramdisk)

deodexing ROM: smali/baksmali

thats all

i hope it works for you
[SuperR Kitchen] blueberry60:
My Device is HTC M9 (himauhl), I have already started with fresh system.img and booti.mg today.

Edit:

Finaly my device booted to system with deodexed and full zipaligned stock Marshmallow Rom.

Many Thanks to [MENTION=718594]superR[/MENTION] for his support and [MENTION=7108672]JochenP[/MENTION] for his Rom Tool Preferences.
[SuperR Kitchen] Captain_Throwback:
[MENTION=5787964]SuperR.[/MENTION]

Using the latest version of the kitchen, I'm again having the issue with the boot.img not unpacking/repacking properly, resulting in a non-booting ROM. After unpacking the boot.img in the kitchen, I opened a root file manager and replaced two files. Then I packed the ramdisk, keeping the ramdisk, and wasn't prompted to enter my root password on repack. I believe this broke some of the permissions in the ramdisk, causing the boot.img to be faulty. I know at one point this was fixed. Any idea when it got broken again?

This is the ROM I was attempting to unpack. Please let me know if you need any additional information.
[SuperR Kitchen] SuperR.:
It is difficult to say with any certainty, but I am pretty sure it did repack with root. Once you enter your sudo password, your terminal remembers it for a while so the next time it is called it may not ask for the password again. I will do some testing to see if that is correct. Downloading the rom you linked now.
[SuperR Kitchen] Captain_Throwback:
Yeah turns out my problem is likely something else, as even when using the latest AIK separately, it's not booting. So no need to download and try it - I jumped the gun :eek:.
[SuperR Kitchen] edzamber:
Hi all,

Is it better to deodex with oat2dex or smali/baksmali method for s6 Edge G925F MM official firmware ?

Cheers,

Edzamber :)
[SuperR Kitchen] JochenP:
I can only speek fo HTC One A9: on this device oat2dex doesn't work and device gets into bootloops after each optimization-circle.

I would be surprised if the S6 accepts both methods and boots clean.

Please report
[SuperR Kitchen] edzamber:
Ok thanks for your reply, i will test both.

If someone have already done for S6...
[SuperR Kitchen] störte:
I also tried both methods for deodexing. I have an error when deodexing services and sometimes shealth.

So i tried it with another tool for windows where it deodex without error and then copy them into the folder of my project. I hope it does not cause problems with wifi

What i dont understand is when i enter manually i have to type the partition size in but i am not sure which it is so i use the option system.img
[SuperR Kitchen] SuperR.:
The Sprint S6 Edge system partition is 3656552448 bytes according to the device tree found here. If you are using a different variant, it might not be the same and you will need to find another device tree or figure out why your device does not connect to adb. Or, you can use terminal emulator to find out. I am sure there are tutorials on how to determine your partition sizes. There may even be an app for it.
[SuperR Kitchen] störte:
That helped me. Thank you very much
[SuperR Kitchen] FrenchSparda:
Such great useful tool !! Many thanks. Do you think it would be possible to add the possibility to add "Layers support" ?
[SuperR Kitchen] andy_zhang:
No init.d

vs985 China user
[SuperR Kitchen] jinconstantine:
Does not work in New Kali Linux amd64 that uses New sources "Kali Rolling Updates"

dpkg --print-foreign-architecture does not return anything

dpkg --add-architecture i386 does not return anything as well

when you use apt-get install -f it will say packages were automatically installed already

when you use apt-get install ia32-libs after adding i386 architecture it will say " package ia32-libs has no installation candidate"

same thing will happen even if you use apt-get update

adding a different source from /etc/apt/sources.list as a workaround might probably work but can produce unknown errors

or adding a different source /etc/apt/sources.list then issuing apt-get update after might get it to work as well

but then you will have to fix dependencies for android sdk libraries and remove the added source from sources.list which in turn will leave you non-updateable 32bit libraries that came from the other source

In Summary:

Kali Linux amd64 takes care of its own 32 bits libraries although you can install 32 bit packages in it

for example you installed 32bit package in amd64 kali linux it will surely work but the libraries might not be compatible just like what we have now

I really admire the effort that was put in for creating this wonderful and powerful application

And for that Kudos to the makers of this Great App

I just hope that one of these days you can also build one that works for amd64 Kali Linux :)

---------- Post added at 05:03 AM ---------- Previous post was at 04:56 AM ----------

For what its Worth: :)

Packages that can be Installed in New Kali Linux with Kali Rolling Updates:

bison

gperf

build-essential

zlib1g-dev

libxml2-utils

bzip2

libbz2-dev

libbz2-1.0

libghc-bzlib-dev

libsepol1-dev

dpkg-dev

ERROR iin Packages:

zlib1g-dev:i386 ----> Unable to locate

g++-multilib ---> Does not install completely

Hope it Helps :)

---------- Post added at 05:05 AM ---------- Previous post was at 05:03 AM ----------

By the way i almost forgot 2 Errors in Dependencies

Permission Denied with ./superr

after installing gawk "apt-get install gawk 1 ERROR Left

Thanks again and More Power :)
[SuperR Kitchen] asc1977:
[MENTION=5787964]SuperR.[/MENTION]

About wifi not working problem on samsung roms edgarf28 have a solution and wifi works. He write:

just got it (Wi-Fi) working, it were the permissions and/or SE context label of the /system/etc/init.sec.boot.sh file.

Did this help you to solve problem for samsung users?

Gesendet von meinem SM-G925F mit Tapatalk
[SuperR Kitchen] Mentalmuso:
Init.sec.boot.sh just needs permissions set properly. I have it working also now thanks to that post.
[SuperR Kitchen] SuperR.:
v1.0.3.4

Changes:

Support more devices when getting partition sizes through adb.

Cleaned up more harmless but ugly errors in special cases if M ramdisk is kept.

Fixed a harmless visual typo when getting partition size using adb.

Improved efficiency of symlink creation.

Added init.sec.boot.sh to the metadata database.

Fixed getting by-name directory from boot.img on M roms.

NOTE: I noticed the output of "ls -al /dev/block/bootdevice/by-name | grep system" can have a different output format on different devices (the by-name directory listed here is just an example). Since the kitchen was only looking in one place for the information, the different format would break the funtcionality and cause the mmcblk not to be detected properly. This has now been fixed :)

Keep in mind, your device still needs to be able to connect to adb. If it can't, you will not be able to use the adb method to determine partition sizes or by-name directory.

[MENTION=4596062]asc1977[/MENTION] - not sure if it wil fix wifi but I added it so let me know how it goes :)
[SuperR Kitchen] asc1977:
please share what you add if [MENTION=5787964]SuperR.[/MENTION] changes dont work
[SuperR Kitchen] edzamber:
MM open source code G925F

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=G925F

MM open source code G920F

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=G920F
[SuperR Kitchen] asc1977:
Yes it works. i am so happy now. Thx thx thx thx [MENTION=5787964]SuperR.[/MENTION] for your work and [MENTION=693309]edgarf28[/MENTION] for his tip to solve problem. no i go to solve deodex problems. it deodex well but some apps fc after. but i promise i find solution because i have a big help from [MENTION=5228377]ultimatewaffel[/MENTION]. He managed to solve last time the problems of this special apps like shealth and syscope and smartcardmanager and screenshot
[SuperR Kitchen] edzamber:
Great ! If you find please share [emoji3]

Can you explain what method do you use to deodex ? Oat2dex or Smali/Baksmali ?
[SuperR Kitchen] asc1977:
Deodexing i test now both versions of new kitchen. I will report if get managed. Deodexing need time ..........

Gesendet von meinem SM-G925F mit Tapatalk
[SuperR Kitchen] edzamber:
Thanks [MENTION=4596062]asc1977[/MENTION]

I start to cook my Rom this evening [emoji3]
[SuperR Kitchen] starbucks2010:
Just to let you know that for Samsung Galaxy Edge+ G928F 5.1.1 the command "ls -al /dev/block/bootdevice/by-name | grep system" is not correct.

The correct command would be "ls -al /dev/block/platform/15570000.ufs/by-name | grep SYSTEM".

Most probably for other S6 devices would be the same I guess.
[SuperR Kitchen] SuperR.:
As stated in the post you quoted, "(the by-name directory listed here is just an example)". I was not specifically referring to the S6, and many devices have different by-name directories so I used a short one that is easy to write. The kitchen uses the correct command for the correct device :)
[SuperR Kitchen] The Sickness:
I'm sorry if this is off topic.....kinda....but all you Linux users really need to check out Manjaro/Arch. This kitchen runs flawless on it. That is of course after you install the correct packages.

Sorry [MENTION=5787964]SuperR.[/MENTION]...
[SuperR Kitchen] starbucks2010:
Guys,

Can someone please guide me how to install the ip and sudo packages on cygwin? I tried all the possible combination offered by the cygwin installer but still no luck.

Thank you.
[SuperR Kitchen] :
SuperR has said he won't support cygwin although a couple of users have reported they got it working with some tweaks. If you don't want to dual boot why not try a vm? Osboxes.org do some ready configured ones that should work fine
[SuperR Kitchen] SuperR.:
As [MENTION=1097804]sawdoctor[/MENTION] mentioned, and as the FAQ in post #4 states, I will not support cygwin. If you can get it working, great :)

That said, one thing you can do is remove ip and sudo from the dependencies list. That should get the kitchen started at least. The dependencies are in a file located /kitchen/tools/dependencies. In Notepad++, delete the 2 lines entirely and save the file. Keep in mind that without these 2 dependencies, you will not be able to do any of the following (at least without code modification):

Update the kitchen (ip)

Extract images (sudo)

Build images (sudo)

Use sparse dat (sudo)

Unpack, repack M boot.img (sudo)

I completely agree that vm is a much better solution than cygwin, but native Linux is the only thing I consider when writing the code. If other options work properly, awesome :)
[SuperR Kitchen] supercowz:
is there a way to add OUR own gapps.zip installer like for supersu ?

could you add a option to add more (own) zip ?
[SuperR Kitchen] starbucks2010:
Hi,

I installed vm player 12 and used archlinux to boot but I still get an error regarding dpkg dependency. In the dependencies file I don't see anything related to dpkg.

Any idea to go beyond this point?

Thank you.
[SuperR Kitchen] SuperR.:
DISCLAIMER: This post contradicts my previous post :p

v1.0.3.5

Changes:

Removed ping and ip from dependencies.

Added wget to dependencies.

Use wget to check internet access for kitchen updates.

Added a check for cygwin and remove sudo from dependencies if cygwin is being used.

Do not use the sudo command if cygwin is used.

Use exe extension for binaries if cygwin is used.

Removed img2simg from being built since the kitchen no longer uses it.

NOTE: Ok, I realized I may have been a bit harsh about cygwin so this is at least a start. Most of what I have done here is guess work based on a small amount of googling.

You will need to find cygwin compatible binaries for the following:

mkbootimg.exe, unpackbootimg.exe, simg2img.exe, make_ext4fs.exe, rimg2sdat.exe, adb.exe, zipalign.exe

The binaries must be named exactly as written above and put in the /kitchen/tools directory. If someone puts together a zip of these binaries, I will upload them to the repo and add an option to install them if you are running cygwin.

You will also need to figure out how to satisfy the other dependencies. I am pretty sure all of them are available in the cygwin package repo, and the kitchen will tell you what you are missing.

Do not confuse this as supporting the use of cygwin. I am willing to make minor changes to the code to help get it working as long as the changes don't cause issues for Linux users. I will not test with cygwin and will always suggest using Linux if you have problems and ask for help (unless you can help with the solution).

All that said, let me know how it goes :)

edit: You may need to run cygwin as administrator for some of the things to work properly.
[SuperR Kitchen] starbucks2010:
Here are the 7 files you mentioned above. After adding them in tools folder, I still get the error message stating that I should add the files in the tools folder.

Is possible that my files are not good so if anyone else can try them to confirm.
[SuperR Kitchen] SuperR.:
I see my mistake. For now, create an empty file in /kitchen/tools and name it 7z.exe. This file will not be used but the kitchen is currently looking for it. I will fix this for the next release.
[SuperR Kitchen] starbucks2010:
Now is ok. Thank you.
[SuperR Kitchen] SuperR.:
v1.0.3.6

Changes:

Fixed not being able to continue after cygwin binaries are installed.

Added the option to install cygwin binaries (Thanks [MENTION=2707699]starbucks2010[/MENTION] for uploading them)

Fixed kitchen updater when using cygwin (I think lol).
[SuperR Kitchen] bcrichster:
Holy crap. Smokin'!! [emoji41]

Sent from my Gummy N9515
[SuperR Kitchen] edzamber:
You Rocks [MENTION=718594]superR[/MENTION] !

Is oat2dex tool and symlinks are the same under Cygwin and Linux ?
[SuperR Kitchen] SuperR.:
I will start by saying that if you have ever run cygwin, you know more about it than me.

That said, oat2dex, smali, and baksmali are java apps, and java apps are cross-platform. If cygwin is able to run java apps, it should work.

Not sure what you mean by symlinks, but if you are able to install all the dependencies, and if they all work the same way as Linux, then the whole kitchen should theoretically work in cygwin at this point.

These are questions I truly don't know the answer to and I have no idea if anything in the kitchen will work at all using cygwin. All I have done is eliminate the major hurdles in getting it to run. This is still and will always be a Linux oriented kitchen.

I hope you get it all worked out and I hope you post some feedback since I will not be testing it on cygwin at all :)
[SuperR Kitchen] edzamber:
Many Thanks [MENTION=718594]super[/MENTION], its a very clear answer :)

I use your kitchen on Linux mint via Virtualbox and it working very well (only few apps are not deodexed correctly on Samsung device as Sbrowser, Syscope, Shealth and SmartCardManager).

But its verrrrry long for me because i have a small PC configuration (4go Ram, 4 core cpu 64bits), then i give 2,5Go Ram for Virtualbox so cpu run difficultly. Do if with Cygwin it do the trick, it will be very great ;)
[SuperR Kitchen] andy_zhang:
I Hope the tools Perfect operation in cy

vs985 China user
[SuperR Kitchen] JochenP:
that is why i asked to check, at the end of deodexing, if logfile contains errors (always 0 if errorfree for me).

At the moment i have no possibility to scroll up at the end and check because window is always cleared - isn't it possible to give a hint to check log if it is not empty?
[SuperR Kitchen] SuperR.:
Which log are you referring to, deodex.log? Send me a pastebin link to the contents of the log with errors and I will see what I can do.

Are you sure you can't scroll up? The screen should not go away, just clear visually. You should be able to scroll up and see all the previous screens and any errors that may have occurred. If you are using cygwin I have no idea what it does.
[SuperR Kitchen] bcrichster:
I also forgot to report that the Deodexing change for KK a few versions back is 100%, tested & still confirmed as of latest v1.0.3.6... Ty- again

Sent from my Gummy N9515
[SuperR Kitchen] JochenP:
i use Ubuntu 15 and if anything goes wrong while deodexing java jdk writes (a lot!) error output to /00_project_files/logs/main.log.

(java jdk 7 in linux mint often produces errors - jdk 8 is more stable)

deodexing ends with output "cleaning up" if i scroll up and screen is cleared before this echo - I'm irritated: on laptop i'm able to scroll up but on pc scrolling up ends at:

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

cleaning up ...

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

I thought that's the clear command but it isn't (i comment out these 'clear' - lol - of course no improvement)

i have to investigate because this behavior is not practical ...
[SuperR Kitchen] edzamber:
It miss cygwin dependencies to run kitchen, i will have a look but busy for now. I'll tell you.
[SuperR Kitchen] JochenP:
little problem - superr v1.0.3.6 terminates after deleting and creating new project -

i think i test with fresh download of last version..

edit: something wrong after update - fresh Superr works
[SuperR Kitchen] SuperR.:
In your terminal window, go to the top menu, choose Edit > Profile Preferences > Scrolling. Uncheck the box that says "Limit scrollback to:". This will allow your terminal to be scrolled as far back as you want.
[SuperR Kitchen] SuperR.:
v1.0.3.7

Changes:

Kitchen updater improvements if not using git.

Update SuperSU to v2.68.
[SuperR Kitchen] andy_zhang:
I used v1.03.6,point out not install jar 7, but, I use other version before, not point out this, why?

vs985 China user
[SuperR Kitchen] SuperR.:
I am sorry, but I do not understand your question.
[SuperR Kitchen] andy_zhang:
Thank you, run well, Maybe VMware reason.

vs985 China user
[SuperR Kitchen] Sc4ryB3ar:
Hello, I have just plunged back into the world of Linux, I was a big user of it 20+ years ago, but have forgotten a lot. I ha e chosen to use Kubuntu 15.10, and over the last few days I have gotten it installed and up-to-date. Installed various IDE's and whatnot. I am wanting to install an AndroidKitchen variant, and have been loosely researching them as I've been updating. :) I have just come across yours and I like the looks of it! However, I have no clue his to actually install on my machine. Would you be willing to either, explain it in a response, or post a new tutorial section in the OP? To help noobs like me :)

I have it up and running. i didnt realize, at the time of writing this, that there was a readme file in the zip
[SuperR Kitchen] asc1977:
Please help

I have a new laptop and installed ubuntu new. After that your kitchen. I let kitchen load resporitys alone and instal 64bit binarys and extract new rom. If i deodex its write

....line 2813.....tools/7z: file or folder not found.

But 7z is in tools

What did i forgot?

Kitchen v1.0.3.3 and also newest same problem
[SuperR Kitchen] SuperR.:
Unfortunately I am not able to reproduce the issue. Can you provide more information about your system? Can you copy/paste the exact error and say exactly which version produced the error?
[SuperR Kitchen] asc1977:
I am not at home now but every version proceed that error. Normally if i fresh install ubuntu its needed to install three things. 7zip and gwak and one other i dont know. Also java8. But this time the kitchen only ask me if i want to install depencies. But told me no error that something other is missing like gwak

Dont know if this help
[SuperR Kitchen] JochenP:
Check if java is installed. Jre is not preinstalled
[SuperR Kitchen] kirito9:
Awesome

This tool is awesome!!! Thanks [MENTION=5787964]SuperR.[/MENTION] for this. I actually wanted these features on windows but those tools available couldn't do what I wanted and had to rely on individual tools. I LOVE LINUX!!! :D :D
[SuperR Kitchen] asc1977:
Now again. That happen if i deodex.

Java 8 installed

Gwak installed

Lzop installed but see like pic

Ubuntu updated

64bit binaris in kitchen pasted

I dont know whats wrong since i installed ubuntu new on new laptop

Please help meeeeeeee [MENTION=5787964]SuperR.[/MENTION]
[SuperR Kitchen] asc1977:
And additional to see that pic which shows that 7z and 7z.so is there