yashsingh1/xdaforums huggingface dataset:
[Android] Yeshas Prabhakar:
[MENTION=6350858]ASSAYYED[/MENTION]

K I built custom rom using plain system and boot img of samsung stock firmware ...very impressed by your kitchen tool...

But somewhat the

1. root is not properly installing. ..tried both custom and fastboot method....pls help(tried more than 2 times)?

2.should I also add cache.img with system and boot img while building the rom...or any other file pls mention...

3.how to add custom mods like xposed, viper4android or other mods while building and should it be in zip format?
[Android] :
Check your "apk_log" there are 4 errors in "C:\Users\Admin\Downloads\ASSAYYED_KITCHEN_V1.78_STABLE\WORK\apktool\working1\SecSettings.apk\res\values\styles.xml", fix them and try again

1- What you mean by "custom and fastboot" the root "SuperSU" has two methods "installer or inject into the rom with patch sepolicy". I need more explain please.

2- If you placed the "cache.img" in "PLACE" folder during create the project then no need for that, otherwise you can put it but you need to edit the "updater-script" as your device "cache" partition path

3- use command "32"
[Android] Yeshas Prabhakar:
K thank you..Sir

1.Is cache.Img necessary for building rom..or system.img and boot.img is enough for building a custom rom?

2.why do I get " status 0 "error in Philz recovery? Is it update-script related ? How do I fix it?

Other than all kitchen I have used this is the best kitchen for me so far...Thank you [MENTION=6350858]ASSAYYED[/MENTION] for your hard work....
[Android] mafsi:
1.In cache you have CSC files

2. Use TWRP
[Android] amieldl143:
As Assayyed said you need to look at the log. Edits you made must be complete. Your missing something from what i can see. Example: If you have logo.xml in layout then you must have logo.png in drawable to match source in deviceinfosettings. Just example. I made this err and found i edited one mispelled text.
[Android] :
As mafsi said:

1- system.img with boot.img are enough

2- status 0 error is from the new "update-binary" (Philz recovery is old and doesn't support it) use TWRP instead.
[Android] Yeshas Prabhakar:
K thank you sir..Unfortunately...The device I am working on is samsung galaxy s duos 3,which has no development about this device in xda.So your kitchen is very helpful in building a custom rom for it..can u direct me or guide me with any link to port twrp for it..any dev in this post pls?
[Android] neon125:
Won't Work Anyways.

Bro even if I just decompile and then at the same time recompile without any edits, it still shows the same errors. I have also installed framework-res.apk if you're thinking that might be the error but it has been a problem with me for a very long time and only happens with secsettings.apk. The rom I am trying to make is based upon android 6.0.1 and Note 4 N910F.

---------- Post added at 06:10 AM ---------- Previous post was at 06:03 AM ----------
[Android] Yeshas Prabhakar:
[MENTION=6350858]ASSAYYED[/MENTION] Sir I tried both method mentioned below but unfortunately its not installing the root ..I am building a custom odin firmware..everything install perfect busybox, every tweaks. .only root is not enabled...

And also shows this while building odin .tar firmware..that it can't set the proper root permissions, is this the problem that su binary or root is not detected in my build?

When I flash the below build everything installs perfect except only supersu app is installed but no su binary is detected. .pls help..
[Android] :
This link from the twrp team to port the twrp recovery for any device: http://xdaforums.com/showthread.php?p=32965365#post32965365.

NOTE: You can use tar build to flash with odin if you face the installing problem.

This is very normal, The apktool check for matching resource in each xml file and if any error happened will shows you that errors.

This is a small problems you can skip them by removing the lines that don't have any matching resource and this will not break your apk.

NOTE: Upload the original apk for me to see the errors lines.

This error from building "tar" method for old android versions because the "make_ext4fs" can't set correct permissions for su binaries in windows, so if you want to solve this you need to mount the system.img in linux and give the correct permissions for su binaries or install from recovery.
[Android] rasoulia:
Version : 1.74 and 1.78

Device : Note 3 N900

Problem : After I Install Rom if i Remove Any System app ( With App or With Phone) ( Safe App List ) some App get Foce Closed ( example Messenger ).

What i Do ;

Deodex and Zipallign

Root

Busybox

then Install rom ( Full Version has no problem but when i remove any app ( With Phone or PC App ) some App Get Force Closed ).

Befor I Use 1.10 Vesion Without Any Problem But with new Version ( 74 and 78 ) get FC.
[Android] :
Did you try to remove the apps from the rom then flash it?
[Android] rasoulia:
sorry. i dont know what you say ( what should i do ) ( sorry for my bad english ) ?
[Android] bamzzz:
Virus detected

My Anti virus (KIS 17.0.0) detected "UDS:DangerousObject.Multi.Generic" on Assayyed Kitchen Latest (1.7.8).. :confused:

Please fix it.. Thanks.
[Android] BeeGee_Tokyo:
I got the same, it is a false alert. Just allow the use in your anti virus.
[Android] :
The apps you want to remove from the rom after you install it try to remove them before you installing it.

Anyway this is some signatures errors happened because of removeing the system apps and in the old version was not happening

because it was using the "7z" (wrong way) to add "classes.dex" to the apks after deodex but now it is using "aapt" (the correct way) and so you face this..

It is from assembling with compress using "UPX", Not dangerous just add the file in exception list in the anti virus.
[Android] rasoulia:
As I Say in Original Post. i removed Before and Installed Lite Version ( Removed With txt list ) and say Force Close and Install Full Version and Then remove it and Say Force Close. So

1- Install Lite = FC

2- Install Full , Remove app = Force Close
[Android] :
From version 1.10 To 1.78 there is some changes to the debloat lists so maybe this is your problem (Not sure).

You can stay on 1.10 if it works fine with this problem.
[Android] LanterHad:
Thank you ASSAYYED.

With your application, I've finally been able to make my own custom rom. I already used other android kitchens (with linux machines), but in none of them could I do it right.
[Android] rasoulia:
if you say i use yor list you wrong , i use my own list.

please fix problem i want to use new build not old build. and one thing. Bitdefender get the exe file Virus , why ? i have to DeActive Bit and then add to white list to use.
[Android] :
I'm sorry i don't know where the problem to fix, you can try to flash the rom without deodex or without othe edits to know what the feature causes this error and after you know we can fix it easily.

And for the anti-virus add the exe file to exception list.
[Android] rasoulia:
for Xposed I Have to Deodex Rom , and just add 2 option

1- Root

2- Busybox

and nothing more. how can i find problem. problem only face with removed app. and one thing after flash it and then go back to recovery and Wipe cache / dalvike cashe it's fix some of FC but not all of them.

if there is no way to fix this. i have to use old version
[Android] :
---To find the problem you must try to build the rom without edits to check which edit causes this problem for example:

build the rom without deodex and without busybox and without anything then do a factory reset and check the apps if will FC after removing the safe apps that you told me about them...

---Try to debloat the rom with another debloat list like "Kushan list" because maybe your debloat list causes this problem and the old version doesn't remove the all

---tell me what the apps have FC and the list of the apps that you remove please.
[Android] rasoulia:
1- Test it

2- my list dont have problem because i use it with V1.10 and Find All App in Safe App list From XDA.

3- only app i remember is messenger. and don't test other app.
[Android] Haze39:
Hello

My question of beginner but there is a good time that I did more rom rom built

Then why has the installation I do not boot that aroma and I have the error "corrupted zip file"

It comes from "udpater-script" or "aroma.config" or wrong modification "apk" ??

And to install "apk" without going through "aroma" how should i proceed

Thank you for your answers

Thank you for this good kitchen
[Android] muhned:
thanks for this tool

after modify boot/kernel show custom binary(boot) blocked by FRP lock

can skip this

and modifyed from phone and add multilanguage for phone att@t and t-mobile , sprint

need add language arabic for this phones ( add arabic to framework-res )

i from iraq

can add mail : muhned7@gmail.com

thanks
[Android] :
"corrupted zip file" From the compressing zip file try extracting it then repacking or change the compress level or try winrar instead of 7z

if you mean to install apk from installing zip rom, you can put the apks that you want to install them in "WORK\META-INF\ADD-ONS\DATA" by creating "app" folder and put the apks into it but don't forget to create folder for each apk if the rom 5.x.x+

Sorry but didn't understand, what is your question?
[Android] muhned:
my questions

after modified boot with your kitchen show custome binary

block by frp

why show this ? how to modified boot/kernel same boot combination

not block by frp ( factory reset protection )

question two

edit rom stock and add more language - multilanguage to rom ( system.img , system.ext.image )

or direct to phone make phone multilnguage

example note 3 , note 4 ,

citcat and lolipop and marmallow

thanks

---------- Post added at 12:20 AM ---------- Previous post was at 12:16 AM ----------

sorry this post

Quote:

Originally Posted by muhned

thanks for this tool

after modify boot/kernel show custom binary(boot) blocked by FRP lock

can skip this

and modifyed from phone and add multilanguage for phone att@t and t-mobile , sprint

need add language arabic for this phones ( add arabic to framework-res )

i from iraq

can add mail : muhned7@gmail.com

thanks

Sorry but didn't understand, what is your question?
[Android] Haze39:
hello assayyed

I still have the same problem

I did anti-virus at startup, then all reinstalled the kitchen and installed rar and left the beginning and also changed my ext sdcard

Recovery: twrp-3.0.2-0-trltexx "team win recovery project"

I do not understand at the beginning I got to do a build with aroma, deknoxed, deodex, rooted that worked and successfully installed. But since it's impossible all build different (10) they do not boot on aroma and " Archive zip corrupted "?????

Thank you for your help

@ assayyed

I have also seen that I have an error compressing in tar.md5 impossible

I just done a compression test 3 is also corrupt file
[Android] :
1-- The FRP blocking from locked bootloaders for the devices because you can not flash a custom kernel on a locked bootloader.

To slove this you need to unlock the bootloader and for Note 3~4 and it is easy there are threads for each device to unlock it.

2-- To add new language to these devices you need to decompile all needed apk like (Settings -- framework-res -- SystemUI -- Phone -- Contacts -- Messages............ETC) then add "values-ar" folder with correct strings to the selected language then recompile.

And don't forget to use the correct version of "apktool.jar" depending on the android version.

It seems you need to build the rom again because the zip file contents are destroyed, So you need to start again from a clean stock rom and try without edits first then add the features you want.
[Android] gvmiguez:
Hi [MENTION=6350858]ASSAYYED[/MENTION] , I'm trying to make a rom with the latest Nougat Beta for the S7 Edge, but when the Kitchen deodex deletes the Meta-Inf from the apks. I have seen some Rom Nougat Beta for this device and they keep them. It seems that they are built with the Kitchen SuperR and using a method called oatdump, and it gives you the option to keep or not the Meta-Inf folder. It seems to be the only valid method, at least in Samsung Nougat. Also in the roms that I have tried the folders arm and arm64 of the framework are present in the deodexed roms. You could take a look, please. Thank you
[Android] :
Test the version 1.81 please.
[Android] gvmiguez:
Ok, thanks for your effort

---------- Post added at 11:00 PM ---------- Previous post was at 10:31 PM ----------

Ok, Meta-Inf is on the apks now, but arm and arm64 folders on framework were erased. I dont know why other people use them, but roms works with them. What do you think?
[Android] gvmiguez:
I have made a rom with the arm and arm64 folders inside and it boots ok, no fcs. I'm having issues with repack boot.img, sometimes the kitchen say that can not repack and let some files in work folder
[Android] :
Hi

[MENTION=6350858]ASSAYYED[/MENTION] , thank you very much for your very good work ! ;)
[Android] :
First i'm sorry for late.

And for the arm folders i don't know if the rom will boot with erasing them, please test the deodexed 7 rom for this device without add arm folders with the version 1.81 of the kitchen then tell me if this doesn't work i will make the kitchen keep the arm folders.

Thanks for help.
[Android] gvmiguez:
It doesnt work without the arm and arm64 folders Assayyed, it doesnt go to the bootanimation and stay on the bootloader logo
[Android] :
Ok thanks for the info, i will fix that today and for your boot.img attach it for me and tell me what the changes you made for it?
[Android] gvmiguez:
Ok, i will send you the boot.img
[Android] :
One other thing, the arm folders that you told me about them only in "framework/oat" and "framework/arm" or in whole rom (with the arm for the apks)
[Android] gvmiguez:
No, only arm and arm64 folders on framework
[Android] :
Ok the new version is ready but there are some points:

1- The method that you told me about it "linux oatdump" didn't keep "arm" folders into frameworks after deodex, it also removes them.

2- I edited the kitchen to keep the "arm" folders but i want from you to tell me about the right situation for these foders (empty, contents the original "boot-*.oat" files.....) just look into them and tell me if they empty or not.

3- what about the "oat" folder into the "framework", is it also exists like arm folders or not?

Waiting for answers for the new release.
[Android] gvmiguez:
Arm and Arm64 have the same files inside when you unpack system.img, and the oat folder is removed when you finish deodex
[Android] :
Version 1.82 released test it please, and thanks for your help:good:
[Android] gvmiguez:
Thanks for your hard work master :good:
[Android] gvmiguez:
Perfect work master ;)
[Android] :
Good, and what about the flashing and booting?
[Android] gvmiguez:
Tomorrow or Sunday, I have to make some mods. I'll let you know how it goes [emoji6]
[Android] gvmiguez:
[MENTION=6350858]ASSAYYED[/MENTION] the rom boots perfect, the deodex works well now. Great job and better dev [emoji6]
[Android] tamertotti:
suggestion

bro i need your e-mail r your number phone for some suggestions
[Android] :
It is in a PM
[Android] zameer_yus:
There is no project in work folder create project first

I have SM-J3110 CHC chinese version firmware , it doesn't have google play service i tried to add GAPPS but while i tried to make new project it gives me this error

1 == AP_J3110ZCU1APE9_CL8155061_QB9762724_REV00_user_low_ship_MULTI_CERT.tar

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

SELECT WHAT ROM YOU WANT [ENTER=REFRESH 0=BACK]:1

BEFORE START CREATE THE PROJECT PLEASE ENTER ITS NAME

THIS NAME WILL NOT USE FOR ANY THING JUST INFO IN THE

MAIN KITCHEN MENU SO YOU CAN KNOW WHAT YOU ARE WORKING ON

NOTE: SPACES WILL REPLACED WITH [_]

TYPE THE NAME [ENTER=SKIP]:J3110 GOOGLE PLAY

EXTRACTING [AP_J3110ZCU1APE9_CL8155061_QB9762724_REV00_user_low_ship_MULTI_CERT.tar].....

COPYING [boot.img]

CONVERTING SPARSE [system.img.ext4] TO RAW [system.img].....

EXTRACTING FILES FROM [system.img]

CLEANING UP WORK FOLDER

THERE IS NO PROJECT IN WORK FOLDER CREATE PROJECT FIRST
[Android] nalas:
Hello.

[MENTION=6350858]ASSAYYED[/MENTION]

This is possible You can add possibility for add root without extended root file? example I want to add root for stock raw system file like system.img , next it is unpacked via Your kitchen next I set at root in options , next if I do the rom for flash this add supersu.zip file.... but i cand flash it via odin or spd flashtool (this is in rom zip file ) - but can be in system.img file ? copied for destinations folders?

So i can flash via odin or spd tool and enjoy rooted stock rom?

For my phone no custom recovery so what Im asking You...

Thx a lot

Regards

nalas
[Android] Yeshas Prabhakar:
1.You are doing totally wrong..first find system.IMG, boot.IMG of your device and zip it in .zip format

2. Place the .zip file containing system.IMG and boot.IMG in Place folder

3.Now try to build project it will extract well and good.. I faced similar issue and solved as above..

For adding gapps do as below

4. Use command 32 to add gapps zip ...
[Android] :
Answered in the reply for your PM

It is included in command 4, use it and select system mode with patch sepolicy and use any rooted device running android 4.x.x+.
[Android] cbtc:
The kitchen work very well.

I have compiled five roms with assayyed kitchen :)

Thank you for your work [MENTION=6350858]ASSAYYED[/MENTION]
[Android] split52:
thank you, you are the master
[Android] andy_zhang:
I repack into system.new.dat, then flash it, display:unexpect transfer list version. How to solve. Thank u
[Android] :
Change the size for the system image.
[Android] andy_zhang:
Excuse me, sir, how to change? Plz teach me, Thank u.
[Android] :
During create the system.img detect the size from your device or enter it manually if that makes the problem.
[Android] pendor24:
Hello

I use v1. 82 of the kitchen on s7 board

I modify the options for the kernel and besides add the red line to the boot of the rom, it does not patch anything.

do you have an idea?
[Android] :
I didn't understand what you mean, if you mean removing kernel is not seandroid enforcing; attach the boot.img for me to do some tests please.
[Android] pendor24:
Hello

In fact, if I do not change the kernel, I do not have the red line.

But if I modify the core I have only the red line and not the permissive selinux.

I make you pass the kernel

Let me go home.

Thank you
[Android] :
Ok i will wait but please provide a screenshot for the problem it is very necessary.
[Android] pendor24:
kernel G935F

[IMG="options select in the kitchen"]http://image.noelshack.com/fichiers/2016/50/1481563442-20161212-181013.jpg[/IMG]

Thank you for your help
[Android] Hatemm:
Thank you for your job

I have problem when i create project the kitchen start to extract the system,...

After that the kitchen cleaning up the working folder and told me to create project firest
[Android] Yeshas Prabhakar:
Archive the system.img and boot.img into .zip format and place .zip file in Place folder..

Then try to create project.:svetius:
[Android] :
Try this boot.img, the [KERNEL IS NOT SEANDROID ENFORCING] should not be shown.

If

Yeshas Prabhakar

solution didn't help you check the partition that you placed the kitchen in it for good free space or try to change the kitchen disk or path or try to start from [system.img with boot.img] from PLACE folder.
[Android] pendor24:
Thank you I will test that I return.
[Android] Hatemm:
non of the two methods work
[Android] :
Give me link for this rom, and please test another rom to ensure where the problem.
[Android] Hatemm:
I download the kitchen from mediafire link and start the project.

the kitchen give me this:

mounting raw ext4 [system.img]

failed mounting sorry can't continue

---------- Post added at 06:33 PM ---------- Previous post was at 05:58 PM ----------

I use 7zip to extract system.img and imagextractor
[Android] :
Use the latest version of the kitchen and test it 1.82.
[Android] Hatemm:
I'm using 1.82

Could you make an explaintion to use the kitchen for bigneer.

Thank you alot
[Android] :
It is very easy in the original post read User Guide.
[Android] pendor24:
The kernel starts nickel.

But the window to accept adb no longer appears, so I can not exstrip my system by the kitchen.
[Android] :
This is from enabling the adbd root direct, disable it and try again.
[Android] pendor24:
I put back the stock kernel and it worked.

I would test tomorrow.

Thank you, good evening
[Android] diegonnc:
Im having problems deodexing my roms and also zipaligned them , stock note 5 roms btw . Deodexing only deodex framework folder ignoring apps and privapp folder and zipalign says completed too but didnt scaned a single file , btw this was all okay on previous version 1.7.8 .
[Android] :
Ensure from removing all apks files in whole kitchen's path or change the kitchen location.
[Android] diegonnc:
Changing path was the key thanks a lot man :highfive:
[Android] Habooooob:
good work and god save Syria

i have question

i want to edit language in rom how can i make it

give me instruction

wait u answer
[Android] gvmiguez:
Hi [MENTION=6350858]ASSAYYED[/MENTION] , one dev on my local forum was trying to mod framework.jar on S7 Nougat Beta and nothing works. I think we have a problem on deodex with some jars, they seem deodex because classes.dex are inside, but they dont work at all. Now I have erased framework.jar, wiped dalvik art and cache and rom boots fine, that can explain the need of keep arm and arm64 folders on the rom.
[Android] Sobaro:
Thank You bro, i am looking to see u in Lattakia if u r there. if that is ok with u, so plz send me ur contact number coz i am interested in supporting u by money or any means u want !
[Android] gvmiguez:
This is what I say

Rom is working without framework.jar, incredible but possible [emoji28] . I have erased it from recovery file manager, wipes and it boots and works
[Android] :
Thanks my friend.

Changing the language of the rom depending on the rom type, some roms need to edit some [xml] files in [csc] folder of the [cache.img] and the other roms need to edit the apks by decompiling and add [values-**] folder as the language you want.

I prefer to talk about these things in the PM please.

I think the original [framework.odex] file that the rom using it to boot in the [arm*] folders so editing them will give the expected results not editing the [classes.dex].
[Android] gvmiguez:
Yes Assayyed, but edit .odex files is not easy
[Android] :
Did you try my apktool? it has option to edit raw dex files after rename the file you want from odex to dex then back to original.

OR you can try latest [smali and baksmali] using the code "disassemble" and "assemble" without deodex.
[Android] gvmiguez:
I will try and let you know, thanks
[Android] Habooooob:
how i know rom want each of both

and how i do booth

thx u
[Android] mivv:
Hy Assayyed ,firs of all congrats for the tool ! i have a question and maybe it has already mensioned before !! when im trying to build a dat system img ....rimg2sdat.exe keeps crashing any tips?? thanks in advance

ps raw and zip works fine !!! i have tryed in windows 7 and 10 x64 ...both same errors
[Android] elxufas:
I have the same problem, the application stops working.

Un saludo Elxufas.
[Android] :
Explaining this needs a full thread.

Anyway if search in "system/csc" and in all folders in it for "language.xml" file, if you found it delete it and try the rom should be list all languages in the world.

But if this don't work and your device has a specified version like "at&t" or "verizon" you need to decompile all apks and add "values-**" then recompile.

I said in a recent posts this problem from "rimg2sdat" binary because it is very old and never updated since android 5.0.1 and doesn't support the sizes bigger than 4G or 5G so try to delete some file and apks and try again.
[Android] mivv:
Thanks will do and report back...

Edit .. i dont have any system csc folder !! isnt that for sammy phones??
[Android] iam_delan0:
Kitchen 1.82 makes ROM bootloop after deodexing. Everything is successful in Kitchen but ROM Bootloop.

Odex version no problem. Device: SM-T585, Android 6.0.1.