yashsingh1/xdaforums huggingface dataset:
[SuperR Kitchen] bcrichster:
Use Linux..??

Sent from CM12.1 *N9515*
[SuperR Kitchen] shoey63:
Good to see others helping out [emoji106]
[SuperR Kitchen] asuraaaa:
Yes, ubuntu
[SuperR Kitchen] bcrichster:
Possible corrupted ISO installation? That's the only time I see stuff that strange.. [emoji41] But I'm relatively new to Linux also [emoji28]

Sent from CM12.1 *N9515*
[SuperR Kitchen] Ram121:
[MENTION=5787964]SuperR.[/MENTION] Can you make plug in for making tar.md5 of bootloader and modem extracted from firmware for Samsung devices. As now each firmware of Samsung requires combination of bootloader, modem and kernel

This would be a very bad task to do,as much data might be required, but I just wanted to put an idea if possible.
[SuperR Kitchen] Er. Aditya:
just couple of lines on linux , i dont think thats a very lengthy of a process
[SuperR Kitchen] lonegolfs15:
Donation, with note & ID sent
[SuperR Kitchen] Ram121:
Yes couple of lines when you are doing only for your phone but when it is to be done for kitchen it will be for different devices.

It would need data as sequence of flashing is also important and partitions might be different in different devices. There are only three lines for making tar.md5.
[SuperR Kitchen] honogiulio:
donation with id sent :)
[SuperR Kitchen] SuperR.:
Send a link to the firmware that I don't need to register for if you are still having issues extracting it. My support policy and the Troubleshooting/FAQ page linked in my signature explain what I need to help you.

Try this plugin:

tar.md5_create.zip

I will create a proper entry in the plugin repo once you have tested it and tell me if it suits your needs :)

Features:

Create tar.md5 from all img, mbn, ext4, and bin files in your ROM directory.

Create tar.md5 from all the above except system.img, system.img.ext4, boot.img, and recovery.img
[SuperR Kitchen] Ram121:
Thanks for plugin

I will test it, but for Note 4 other than above img cache.img.ext4 and hidden.img.ext4 needs to be excluded and also as per my knowledge parttions need to be flashed in specific sequence.
[SuperR Kitchen] SuperR.:
If you want to exclude files, don't put them in your ROM directory before running the plugin. Simple as that :)

tar.md5 in Samsung stock firmware does not specify anywhere what order something is flashed. It is just a tar with images. I assume odin sorts the order out for you as there is no "updater-script" equivalent or config file.

Let me know how it goes.
[SuperR Kitchen] Ram121:
Right now I am in office so cant check, will report in evening

I am writing this just to discuss and gain knowledge please dont take it otherwise

Following is the command i used for making tar file

tar -H ustar -c image_1 image_2

and with which sequence you write the file name it will be flashed in that sequence only like as image 1 is first so it will flash it first and if I keep it on second place it will flash it in second place

I have tried this and it works like that, although the sequence has not made any problem in my case, but I dont know when it will matter as bootloder and modm is important part of firmware
[SuperR Kitchen] PaulPizz:
Anyone else having problems deodexing mm 6.0.1..for the verizon note 4. I get a lot of force closes. I've tried both options. Any links you could direct me to???
[SuperR Kitchen] Ram121:
You need to manually put lib files in different app folders to avoid FC after deodexing. Use option 1 for deodexing
[SuperR Kitchen] PaulPizz:
Can you elaborate a little. I'm not sure I understand what you mean. Which lib files? From /system/lib/ folder?
[SuperR Kitchen] Ram121:
Example

The major FC you might be getting is SysScope, so extract lib files fro SysScope.apk and put those in system/app/SysScope folder with SysScope.apk

This will solve FC problem with major of apps
[SuperR Kitchen] PaulPizz:
OK got you. Ill try that.. Thank you!!!
[SuperR Kitchen] SuperR.:
There is not a way for me to write the plugin to determine the correct flashing order for each device. It currently adds the files in alphabetic order. If the order really matters (still not sure about this), the only way I can think of is to have config files for each device in the plugin with the correct order and make you choose your device from a list before creating the tar.md5. I will not be researching the correct order for every device, so if you feel like taking on that task I will add them to the plugin.

Another reason to love my Nexus :p
[SuperR Kitchen] KbaB.BroS:
[MENTION=5787964]SuperR.[/MENTION]

donated to you, name is with the donation.

0LC95112PE9732937
[SuperR Kitchen] Ram121:
[MENTION=5787964]SuperR.[/MENTION] tar.md5 plugin working good. Tried it just now.

Thanks

But my intention for asking about this plugin was more related to database for devices but as you said it would not be possible.
[SuperR Kitchen] bcrichster:
Sweet! That makes it ODIN/Heimdall flashable?!

Sent from CM12.1 *N9515*
[SuperR Kitchen] Ram121:
Yes
[SuperR Kitchen] bcrichster:
[emoji41] Bangin'!! Beautiful plugin, for sure. [emoji89]

Sent from CM12.1 *N9515*
[SuperR Kitchen] SuperR.:
It is absolutely possible, but I am not going to do the research. Send me all the devices with the flashing order for each and I will put it together :)
[SuperR Kitchen] pendor24:
Hello

Version 2 with kitchen V2. 0 . 8 . 9 . samsung note 4 (android 6 . 0 . 1)

I can not edit the files boot . img after you use option 7 ( boot / recovery tool )

ca drm verity refuses to change with the option 5

Option 6 and does not change either. is there a solution to this problem ? this has the effect of breaking the external sd after the flash.

thank you
[SuperR Kitchen] SuperR.:
New Plugin :)

Aroma Install

by [MENTION=5787964]SuperR.[/MENTION]

Install Aroma in your existing ROM.

Create aroma-config using a menu.

Choose apk files to add to the option menu.

Usage:

Download the latest Aroma Installer from this link into /plugins/aroma_install directory

Extract your ROM normally using ONLY set_metadata or set_perm.

In the kitchen main menu, choose Misc Tools > Run a plugin > aroma_install
[SuperR Kitchen] Ram121:
I think this is going to be very useful

Thanks
[SuperR Kitchen] TMG1961:
I cant get it to work

I keep getting the message

Error:

Download the latest Aroma Installer zip from

the link below and copy it into the aroma_install

plugin directory.

http://xdaforums.com/showthread.php?t=1461712

Press ENTER to return to the kitchen
[SuperR Kitchen] SuperR.:
Send your boot.img and build.prop and I will take a look.

I suggest you do what it says :p
[SuperR Kitchen] pendor24:
https://mega.nz/#!cBEHTBpD!hVTq_bRoL5z7bXxOp0JWAOtCWUkR3n7wF-H-C8EJSDE

thank you , ca 1semaine fact that I'm on this problem.
[SuperR Kitchen] TMG1961:
I just figured it out how to get it working.

Downloaded the zip file aroma_install, extracted it into the plugin folder. Then downloaded the file aroma_installer-3.00b1.zip and placed that zip file into the aroma_install folder within the plugin folder, didnt unzip it. After that i didnt get the error message anymore and it worked.
[SuperR Kitchen] SuperR.:
Your boot.img does not have forecencrypt or dm-verity enabled to begin with. Not sure what you want to do. If you are trying to edit the fstab manually, you will need to do it as root.

example:

cd bootimg/ramdisk
sudo gedit fstab.qcom

Glad to know that when you follow directions it works :)
[SuperR Kitchen] TMG1961:
My brain needed a few moments to get the picture and figure out how to get it working. Its an old brain, got it for a long long time :D
[SuperR Kitchen] pendor24:
thanks for the information . each has it's ROM compilation to note 4 , my sd ext broke the rebooting . I thought that AC could come from the encryption .
[SuperR Kitchen] Mohitash:
Deodex Successfull

Hello everyone

[MENTION=5787964]SuperR.[/MENTION] Thanks for this awesome tool. Really works like a charm.

I am writing this post to thank you [MENTION=5787964]SuperR.[/MENTION] and for helping some users that are still unable to deodex marshmallow firmware using this tool also.

Here is a new guide which includes this SuperR's Kitchen also in requirements -

http://xdaforums.com/android/general/guide-deodex-marshmallow-6-0-completely-t3403544

(Specially for Sony Xperia firmwares)

Regards

Mohitash
[SuperR Kitchen] Sc4ryB3ar:
Finally

! had time to connect and download the donate version. not too shabby, only had one missing dependency (cpio). Now ti's up and running smoothly, everything is seeming functional atm. Thanks a bunch :)
[SuperR Kitchen] :
great! Thank's [MENTION=5787964]SuperR.[/MENTION] !
[SuperR Kitchen] SuperR.:
Updated aroma_install plugin.

Changes:

Ask if you want to remove Aroma if it is already installed

Show the apps you have added to the options as you add them.
[SuperR Kitchen] :
[MENTION=5787964]SuperR.[/MENTION]

I highly recommend having users use binary 2.70 RC2 as 3.0 has many issues with newer TWRP's.
[SuperR Kitchen] SuperR.:
aroma_install plugin updated again :)

Changes:

Added ability to use aroma-2.70RC2.zip or the latest aroma_installer-3.0.0b1.zip
[SuperR Kitchen] JochenP:
Updated last aroma_plugin - aroma_installer-3.00b1.zip - kitchen v2.0.8.9

get an error when using aroma plugin after adding some apk's for testing - perm type: metadata and deodexed with smali/baksmali

kitchen output:

preparing updater-script ...

preparing files ---

cat: /... /superrs-kitchen2/superr_1.56.401.70_aroma/00_project_files/custom_dir: file or directory not found

no more error-output from kitchen.

If i try to install the generated rom twrp generates the following error-message:

Starting AROMA INSTALLER version 3.0

SYNTAX ERROR!!! aroma-config on line 171 col 4

Updater process ended with ERROR: 1

Error installing zip file...

regards
[SuperR Kitchen] SuperR.:
Please send updater-script and aroma-config. Thanks

edit: You could also try the older Aroma as [MENTION=6320543]RatchetPanda[/MENTION] said. I should also mention that I have never used Aroma so I could use some help from someone who has experience setting up the aroma-config in case that is the issue.

edit2: I see an issue. Will do some testing and get back to you.
[SuperR Kitchen] TMG1961:
I got the same error when i try to install my rom. Added both files you asked for

SYNTAX ERROR!!! aroma-config on line 162 col 4

updater process ended with ERROR;1

Error installing zip file '/sdcard/mob30m_aroma.zip

Edit1: got the follwoing question; would you like to convert your updatewr-script to an update-binary? y/n I did choose n

Edit2: Going to try it with the aroma-2.70RC2.zip
[SuperR Kitchen] PaulPizz:
Do you know if this issue happens in the paid version?

[MENTION=5787964]SuperR.[/MENTION]
[SuperR Kitchen] TMG1961:
Tried it with aroma-2.70RC2.zip but gave me the exact same error as mentioned in previous post
[SuperR Kitchen] :
I will look at your script, seems like the kitchen makes a typo.

I think paid version only removes Built with SuperR's kitchen from updater script and build.prop so no.
[SuperR Kitchen] :
[MENTION=5787964]SuperR.[/MENTION]

Already see one issue, when making a list like this you cannot have a '+' on the final list item because Aroma looks for another item but cannot find it.
[SuperR Kitchen] JochenP:
ok - here are my files: https://www.androidfilehost.com/?fid=24591020540822565

[MENTION=6320543]RatchetPanda[/MENTION]: so PropFileFormat shoult be?:

#APPSLIST

"item.0.1=1\n" #-- Facebook

"item.0.2=1\n" #-- HtcFileManager

etc.
[SuperR Kitchen] TMG1961:
Tried that and got another error. Now it was line 157 col 15
[SuperR Kitchen] :
PropFileFormat is

#APPSLIST

"item.0.1=1\n+" #-- Facebook

"item.0.2=1\n" #-- HtcFileManager

All of them need a '+' at the end like so except for the last one.

---------- Post added at 03:37 PM ---------- Previous post was at 03:36 PM ----------

Look above
[SuperR Kitchen] pendor24:
Hello

yes fc SysCoP , smart card manager and one or two others ( gallery and shealt resolut after a maj )
[SuperR Kitchen] SuperR.:
Please try updating the kitchen and the aroma_install plugin and try again. I appreciate your patience while getting this working. After updating, run the plugin and let it remove Aroma, then add it again to make sure you start fresh.

Thanks [MENTION=6320543]RatchetPanda[/MENTION] for the assistance :)

v2.0.9.0 (Donate version)

Changes:

Some changes to support aroma_install plugin.

Updated aroma_install plugin

Changes:

Don't add + to the last list item.
[SuperR Kitchen] TMG1961:
Thanks, will have another go at it

Tried it and got another error; this time it was line 157 col 16

I changed things to

#-- Default Values

#APPSLIST

"item.0.1=1\n+" #-- bettercamera.apk

"item.0.2=1\n+" #-- navigon.apk

"item.0.3=1\n+" #-- novalauncher.apk

"item.0.4=1\n+" #-- rootexplorer.apk

"item.0.5=1\n+" #-- titaniumbackup.apk

"item.0.6=1\n" #-- transparentclockweatherpremium.apk
[SuperR Kitchen] SuperR.:
You should not have to change anything with the new version. Please update the kitchen and the plugin and try again.

Just updated the plugin again to remove the place holders (#APPSLIST and #APPLIST2) in case they are causing issues.
[SuperR Kitchen] TMG1961:
I didnt change anything, that was posted before you updated the kitchen and aroma plugin

I tried the new plugin..not the last one and that gave me an error. line 193 col 4

Will update the plugin and give it another try
[SuperR Kitchen] JochenP:
Thanks for your work

with the last updates:

Preparing files ... error persists : cat: /... /00_project_files/custom_dir: file or directory not found

Syntax-Error aroma-config on line 185 col 4

aroma-config and updater-script: https://www.androidfilehost.com/?fid=24591020540822574
[SuperR Kitchen] TMG1961:
Tried it with the latest aroma plugin and got another error; this time it was line 191 col 4

added aroma-config file
[SuperR Kitchen] :
[MENTION=5787964]SuperR.[/MENTION]

Found Error, okay so when making checkboxes, menuboxes and selectboxes the last item in the box cannot have a comma after the number. In the screenshot you see how all the one's have commas after them? The last one can't, its just like the list thing where the last one cannot have a '+'.
[SuperR Kitchen] SuperR.:
So this:

"Chrome", "", 1, #-- item.0.1 = Selected by default
"Hangouts", "", 1, #-- item.0.2 = Selected by default
"PlusOne", "", 1, #-- item.0.3 = Selected by default

Should be this:

"Chrome", "", 1, #-- item.0.1 = Selected by default
"Hangouts", "", 1, #-- item.0.2 = Selected by default
"PlusOne", "", 1 #-- item.0.3 = Selected by default

right?
[SuperR Kitchen] :
EXACTLY!! :highfive::highfive::good::good:
[SuperR Kitchen] TMG1961:
I see it. Will have another try later. First its time for something to eat. So i am off to another kitchen and start on some leftover chicken and potato salad. Its 33C here and too hot for anything else.
[SuperR Kitchen] SuperR.:
Plugin updated to remove the "," at the end of the list items. Thanks again [MENTION=6320543]RatchetPanda[/MENTION] :)
[SuperR Kitchen] TMG1961:
quick edit. I removed the , and booted into twrp, the aroma installer loaded and installed all but no OS was installed.

did this before plugin was updated
[SuperR Kitchen] :
upload your updater script

edit and also at the end of aroma, hit SAVE LOGS it helps immensely
[SuperR Kitchen] TMG1961:
here it is
[SuperR Kitchen] SuperR.:
Most of it looks good, not sure why the system did not flash.

However, this part is not how it should be:

if file_getprop("/tmp/aroma/mods.prop","item.0.1") == "0" then
delete_recursive("/theo/Roms/superrs-kitchen2");
endif;

I don't really know why it is this way, will look into it.

edit: can you run the following command, choose an apk from your rom directory when the file chooser pops up, and copy/paste the terminal output after it finishes?

apkchoose=$(zenity --title="Choose the apk" --file-selection --filename="/home/theo/Roms/superrs-kitchen2" 2>/dev/null); echo "$apkchoose"

Thanks :)
[SuperR Kitchen] TMG1961:
Thanks for looking what might cause the problem. Thanking you this way..ran out of thanks for today
[SuperR Kitchen] SuperR.:
You beat my edit lol

can you run the following command, choose an apk from your rom directory when the file chooser pops up, and copy/paste the terminal output after it finishes?

apkchoose=$(zenity --title="Choose the apk" --file-selection --filename="/home/theo/Roms/superrs-kitchen2" 2>/dev/null); echo "$apkchoose"

Thanks :)
[SuperR Kitchen] bcrichster:
There's no "thanks limit" with Tapatalk.apk

Sent from CM12.1 *N9515*
[SuperR Kitchen] SuperR.:
v2.0.9.1 (Donate version)

Changes:

Fixed aroma info being added to the updater-script more than once if other metadata exists.

New aroma_install plugin update to go along with it for the same reason :)

[MENTION=6590251]TMG1961[/MENTION] - I am not able to reproduce your issue at all. I am stumped. Unless zenity is not working properly and finding the correct path, I am not sure what to do from here.

Does anyone else end up with the path to the kitchen directory instead of the path to the app in the updater-script after running the aroma_install plugin?
[SuperR Kitchen] JochenP:
Only a beauty mistake:

please correct: aroma-config line 61 "ROM NAME\t\t\t\t: to "ROM NAME\t\t\t: to justify output :o

please tell me if i am the only one with that error during Rom-building:

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

SuperR's Kitchen

by SuperR

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

Preparing updater-script ...

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

SuperR's Kitchen

by SuperR

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

Preparing files ...

cat: /home/jogy/Schreibtisch/superrs-kitchen2/superr_1.56.401.70_aroma/00_project_files/custom_dir: Datei oder Verzeichnis nicht gefunden

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

SuperR's Kitchen

by SuperR

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

Building aroma_test_401.70.zip in 1.56.401.70_aroma ...

should i ignore this error?

file chooser output:

jogy@ubuntu:~/Schreibtisch/superrs-kitchen2/superr_1.56.401.70_aroma/system$ apkchoose=$(zenity --title="Choose the apk" --file-selection --filename="/home/theo/Roms/superrs-kitchen2" 2>/dev/null); echo "$apkchoose"

/home/jogy/Schreibtisch/superrs-kitchen2/superr_1.56.401.70_aroma/system/priv-app/Facebook/Facebook.apk

aroma log: https://www.androidfilehost.com/?fid=24591020540822592

i hope it helps
[SuperR Kitchen] TMG1961:
At the moment i cant do anything. My laptop died about An hour ago. Am now on tablet wit Windows 10, going to see if i can find a affordable replacement For laptop
[SuperR Kitchen] bcrichster:
One of these might do ya well:

https://www.amazon.com/gp/aw/d/B017NGH4DY/ref=yo_ii_img?ie=UTF8&psc=1&th=1

https://www.amazon.com/gp/aw/d/B015..._m=ATVPDKIKX0DER&pf_rd_r=G2T5YPS746A0AJZTM57H

Sent from CM12.1 *N9515*
[SuperR Kitchen] SuperR.:
Your output is correct. Do you get the correct path to the delete lines in your your updater-script in the #AROMA section? It should say something like

delete("/system/app/Hangouts");

And not:

delete("/username/superrs-kitchen2");

This is the problem [MENTION=6590251]TMG1961[/MENTION] is having and I can't reproduce it.

Regarding your other error, it has nothing to do with Aroma. It is for a custom directory you must have added from the "Extra directory menu". I am not sure why you are getting an error but if it is not causing you any issues I would not worry about it. I will try to figure out why you are getting it though :)

edit: oh, and new plugin with the extra tab fixed :)

edit2: Looking at your Aroma log, looks like it doesn't know what to do with set_metadata or set_metadata_recursive. This is not an issue with the updater-script as those are the correct commands. Do you get the same errors when using Aroma 2.70RC2? Did the rom flash properly regardless of those errors?
[SuperR Kitchen] hohassan444:
[MENTION=5787964]SuperR.[/MENTION]..please how can i add gapps before rom building .

thanks in advance
[SuperR Kitchen] SuperR.:
I found the problem. The error will not cause you any problems for sure now that I know what is causing it. It will be fixed in the next update. For now just ignore it :)

This thread is for the kitchen. I am sure there are many threads about gapps out there. Good luck :)
[SuperR Kitchen] :
However that is a good idea for a plugin, "Gapps_Plugin” download the latest Banks Gapps and put into ROM. idk how itd work but still decent idea.
[SuperR Kitchen] bcrichster:
Then you'll have more massive uploads & downloads to deal with... No thank you. [emoji41] I'll just flash a gapps.zip of my choosing

Sent from CM12.1 *N9515*
[SuperR Kitchen] TMG1961:
Nice laptop but too expansieve For me
[SuperR Kitchen] pendor24:
Hello

a menu of the kitchen wonder ,

- Enter system partition size in bytes

how I can do to find the system partition size in bytes ? thank you
[SuperR Kitchen] :
Just use by system.img it does it for you.
[SuperR Kitchen] pendor24:
thank you, but in the choice for the zipper system img this option is not indicated. he says enter the size manually. I work around the problem . and finally that's it my ROM starts with access to the sd . there must be a protection that disables the sd . if the system is not . img
[SuperR Kitchen] SuperR.:
The system.img option will not show if you don't have a system.img in your rom directory. You are correct, it must be named system.img to be recognized.
[SuperR Kitchen] SuperR.:
New plugin :)

Gapps Installer

by [MENTION=5787964]SuperR.[/MENTION]

WARNING: I have no idea if gapps will flash properly. I have not tested the actual flashing. Let me know how it goes if you are brave enough to try it :)

Download and include Open Gapps with your ROM.

Choice of aroma, super, stock, full, mini, micro, nano, or pico

Detects Android version and architecture from ROM to download the latest available version for your device.

If there is no ROM, it will allow you to choose Android version and architecture.

Remove gapps if it already exists.

Usage:

In the kitchen main menu, choose Misc Tools > Run a plugin > gapps
[SuperR Kitchen] :
[MENTION=5297774]bcrichster[/MENTION] lol
[SuperR Kitchen] SuperR.:
That's not very nice, everyone is entitled to their opinion. The beauty of plugins is that you don't need to download or use them if you don't find them useful. I think some people may find this one useful so now we have it :) Still not sure if it will flash properly, but open gapps use an update-binary script instead of an updater-script similar to SuperSU and Busybox so hopefully it will work.
[SuperR Kitchen] :
I know they are, he just said it was a stupid idea so I had to mention him when I saw you made it. Your talking triggering an aroma thru the update-binary like SuperSU and BB? Never tried but it should work.
[SuperR Kitchen] SuperR.:
Not Aroma necessarily, just update-binary script vs updater-script. SuperSU and Busybox installer are set up the same way. The plugin downloads the gapps package and adds the lines to the updater-script just like the kitchen does for SuperSU and Busybox. The zip gets extracted to tmp during flashing the rom and runs the install from there. It should work indeed, but I have not tested it due to lack of time and necessity.
[SuperR Kitchen] SuperR.:
v2.0.9.2 (Donate version)

Changes:

Fixed custom_dir error.

Added a few things for the gapps plugin.
[SuperR Kitchen] bcrichster:
Please quote my post where I called it a "stupid idea"? [emoji87] [emoji85] [emoji86] While I didn't see the feasibility at the time, the word "stupid " wasn't uttered in my posts nor insults issued by me. [emoji41]

Sent from CM12.1 *N9515*
[SuperR Kitchen] celoxocis:
Quick question.

I just used the latest superR's kitchen to unpack a marshmallow based boot.img

i noticed there is no "boot.img-dtb" in the extracted boot image folder. is this expected?

i have used superR's kitchen in the past. mainly for unpacking to extract information to port roms and build recoverys.

im about to build a twrp recovery. but without an dt.img i don't think thats possible?