yashsingh1/xdaforums huggingface dataset:
[Android] mafsi:
Unzip the gapps and look at updater-script to see how it is installed and put all the files in kitchen accordingly
[Android] Only4givenOnceOfficial:
this is the link to the Gapps I am using,and link to the thread I am on that I got it from, this is the rom I am building a custom version from, Thread --->> http://xdaforums.com/grand-prime/development/unofficial-cyanogenmod-12-1-g530w-t3424761/page75 Gapps ---->>>> http://grandprime.ddns.net/builds/gapps/open_gapps-arm-5.1-micro-20160828.zip

---------- Post added at 01:50 AM ---------- Previous post was at 01:45 AM ----------

oh also,,,, the updater-script is a dummy file.. the update-binary has stuff in it but I don't see what I need.. would appreciate help. I have this pc until tomorrow night.. :(
[Android] mafsi:
Ok, indeed Gapps is quite complicated. But try this:

Work on your ROM with Kitchen (root, busybox etc....usual stuff..) then in kitchen, press No. 32 (add zip to rom installer) it will tell you where to put zip. Then press no7 to build the rom, then flash it into the phone to see if gapps are automatically installed.
[Android] Only4givenOnceOfficial:
that is what I did which is why I am confused. I am considering and alternative in the mean time. reflash phone back to stock and start fresh then go to custom recovery install gapps zip file then pull the rom from kitchen and hope it pulls gapps with it..
[Android] :
The addon zip uses SuperSU installing codes in updater-script.

Get the official gapps from OPEN-GAPPS project for your device and rename it to gapps.zip then add it to the kitchen and try...if an error happened there are some reasons:

1- The gapps.zip is big so the updater-script can't extract it to the decice /tmp and to avoid this try installing the rom without supersu.zip to gain some free space..

2- The open gapps project uses /sbin/ash binary instead if /sbin/sh and maybe your recovey is old and didn't support this...

To get the best help send to me a picture for the recovery aftet installing the the rom that contents the gapps.zip and very important: i need the recovery.log too
[Android] mafsi:
That is also a viable solution. I use it myself to build a ROM with preinstalled xposedframework.

I flashed the rom, installed xposed, then I pull out with kitchen the system folder and it had xposed preinstalled.
[Android] Only4givenOnceOfficial:
here are the links to everything I am working with if you feel like looking at the files for me. I have to step out for the day and get some stuff done.

Rom - http://grandprime.ddns.net/builds/odin/cm-12.1-20160908-NIGHTLY-gprimeltemtr.tar.xz

Rom Md5 http://grandprime.ddns.net/builds/odin/cm-12.1-20160908-NIGHTLY-gprimeltemtr.md5sum

Rom Recovery - http://grandprime.ddns.net/builds/r...WRP-2.8.7.0-cm-12.1-20160908-gprimeltemtr.tar

Rom Gapps - http://grandprime.ddns.net/builds/gapps/open_gapps-arm-5.1-micro-20160828.zip

Rom Gapps Md5 - http://grandprime.ddns.net/builds/gapps/open_gapps-arm-5.1-micro-20160828.md5sum

I will be back later today s theres the files if you need them. hope it helps. let me know anything else you might need. thanks [MENTION=6350858]ASSAYYED[/MENTION]
[Android] :
No my friend these will not help...

I want recovery.log after installing rom that contents the gapps.zip and i want a screentshot for the recovery after installing the rom

OR

you and mafsi are right you could install the rom then gapps and root then pull it

I think the second is better and i will help if upload the files
[Android] Only4givenOnceOfficial:
Here the logs are made during install. It doesn't let me screenshot during recovery mode

http://www.4shared.com/office/T5pR-8VHce/open_gapps_log.html

http://www.4shared.com/file/hnMfUMM9ba/recovery.html
[Android] :
There is no any zip flashed in recovery.log!!

But the gapps log i see the gapps installer installed the gapps.zip but if you don't see the gapps files in the rom this issue maybe from dismounting system partition after installer finished....

Any way i need a recoveey.log because this one doesn't have any details for rom installed please upload one after installing the rom.

Try this fix:

Open updater-script and replace between supersu and gapps installing code (i.e. make gapps installed first then the supersu)
[Android] Hard_Rock83:
[MENTION=6350858]ASSAYYED[/MENTION] it will be awesome if u include the convert feature of any 64bit rom to 32 bit for porting features from latest released handsets..

I want to port note 7 rom to note 4...any reference will be appreciated...
[Android] :
you mean to change the architecture from 64 to 32 like (arm64 >> arm......)

note: this will need to remove lib64 and some changes in build.prop
[Android] Hard_Rock83:
Yup..basically i want to port every 64 bit libs or apps to 32 bit arm...

Thanks for the note.. will try to port full rom...[emoji3]
[Android] :
Ok porting 64 to 32 is not hard you should do the next:

"""""""""IMPORTANT: YOU MUST DO THIS ON ODEXED ROM NOT DEODEXED""""""""""

1-- remove "system/lib64"

2-- open "system/framework" and remove the 64 architecture (arm64, mips64, x86_64) and leave the 32 folder (arm, mips, x86)

3-- if you work on marshmallow open "system/framework/oat" and remove the 64 folder (arn64, mips64, x86_64)

4-- open build.prop and change the "ro.product.cpu.abi" value from 64 to 32......example: "arm64-v8a" >> "armeabi-v7a"

5-- open each apk folder in the rom and change the 64 architecture that contents the "*.odex" file to 32 (arm64 >> arm)
[Android] Only4givenOnceOfficial:
Sent you the wrong recovery.log

Sorry wrong recovery.log sent.. Here is the other one I have http://www.4shared.com/file/hnMfUMM9ba/recovery.html

Other than that I do not have another but I will go back to stock ROM then reflash original CM ROM and get you a fresh recovery from that. This one I just sent you here is what I got after I flashed gapps to the phone.

Sorry didn't understand what you was saying to do in updater script. ?

Swap the super su with gapps? Cut paste supersu below gapps is what you mean in updater-script?

If so can I tell it to then install the superSu pro license file .apk.zip after that?
[Android] :
yes

yes

EDIT:

Nothing changed in the recovery log?!

i want the "/tmp/recovery.log" from twrp recovery after flashing the rom that contents gapps as addon zip not only gapps.zip
[Android] Only4givenOnceOfficial:
Think I understand.

Sorry it is 4am I'm sleepy lol... OK so you are wanting me to flash cm ROM via Odin and get you the recovery log then flash gapps???

Or are you saying flash ROM made from kithchen where I try to add gapps as zip add-on then send you that recovery log?
[Android] :
yes the rom in zip not odin
[Android] Hard_Rock83:
Wow thanks [MENTION=6350858]ASSAYYED[/MENTION]...you made it so simple...i will try the same way as u suggested ..[emoji3]
[Android] JamFlux:
Hi Assayyed.

The best updated kitchen for Windows.

Ver good job. Thank you.

I have a question.

Any chance to get the deodex process ready for miui ROMs. I try but fails only XiaomiAccount.apk.

May be you know why...

Thanks again.
[Android] :
I will release update including a lot of fixes and add 3 oat2dex files to fix deodex process completely in addition to support android N and using baksmali & smali to help with failed files
[Android] adrwill2000:
I followed these instructions to T but for some reason ASSAYYED.exe will not extract. I went back and tried it with v1.10 and it worked just fine. Help?
[Android] :
Not extracted????

It is simple windows process just delete old exe file and extract the new from 1.20 version to the same place
[Android] CrisBalGreece:
Hello [MENTION=6350858]ASSAYYED[/MENTION]! Thank you very much for your wonderful work and for your fast responses to all questions. I just wanted to ask you if you have any user guide or manual for this great tool because I must doing something wrong! I all ready put 12 times! My stock lollipop rom to work it and everything goes OK with all process but I never managed to get it boot!

Even when I just unzipped with any changes and build the rom as is never worked! Always I'm stack on a logo boot loop! I'm sure that something making rong that's why I'm asked if there is any step_by step guide to figure out what I'm doing rong! I all ready read all 43 pages with your answers but I'm still confused. Thanks for your time and your wonderful work. :)
[Android] ahmed.ismael:
[MENTION=6350858]ASSAYYED[/MENTION]

that's very very awesome

thanks for your work

keep up the good work
[Android] :
I want Some info about the: ROM, ANDROID VERSION, DEVICE MODEL and what the features you added to the rom?

Tell me the above info so i can know what hapenning
[Android] CrisBalGreece:
Thanks for your fast response! :o

ROM 5.0.2 BGXNAOP5501103071S link https://sites.google.com/site/l1prousx800/

Lollipop 5.0.2 stock rom

Device Letv Le 1 pro X800_US VERSION

I was try to add more languages on it that I have all ready done with flashable zip and everything works just fine and i decide to included all this work to 153 stock APKs in to rom so I can have it for future use with the preferred language on it. All so I tried many times just unpacking in your kitchen and with out any changes pack the rom back but with out success! Everything worked great on your tool so i must doing something wrong. All so tried 3 times to add root with success, deodexing all apk with succes and zipalign and sign the rom zip successful but never boot. I'm flashing the rom through TWRP 3.0.2 and the procedure ends successfully but always stack on logo boot loop. :crying:

Thanks again for your efforts to help me. :D
[Android] :
The rom in this link is in .new.dat method so try building its in 3 methods:

1-- system folder

2-- system.new.dat

3-- system.img

and test the all then report me
[Android] CrisBalGreece:
Thanks for super fast response! :D

All ready done that several times without success.

I am try all of them ways even simple zip like kit Kat with the system on file and I have make all the necessary changes to updater script. I try 2 times just to repack back to same type system. new. dat with system. patch.dat and file contents & transfer list inside. Always make the necessary changes with notepad ++ in the script. It's ok if i can't build my rom and thank you one more time for your time to help me out. ;)
[Android] :
there is one thing i didn't understand if you tested it

build the stock rom as it without any editing just extract then repack and try with the 3 methods

if every thing failed...i'm sorry this is all what i can do for you. You need to try by yourself and test another tools and please tell me if you found the error to fixing its
[Android] kozmo21:
You shouldn't be signing the ROM. Try again without doing that and see what happens.

---------- Post added at 03:28 PM ---------- Previous post was at 03:21 PM ----------

Try disabling your Antivirus temporarily, then try to extract. If it works then, just put this kitchen in the white list for your AV.
[Android] adrwill2000:
It was Anti-Virus. Thanks!
[Android] weedy789:
On V1. 2 (will update to newest version later today), I've been having problems with the updater-script that is built in standalone installer. If i write my own updater-script, the ROM works fine, however, when the kitchen writes the script the keyboard and WiFi are always broken. Not sure why. I'm on a samsung galaxy s5 lte-a sm-g906k. Not a common phone, but i think the problems might be Sammy related.
[Android] kozmo21:
Cool, glad that fixed it. Now get to building ROM's :D :good:
[Android] Only4givenOnceOfficial:
Lol

yeah hurry up and get to building some ROMs! Jk jk. Glad that fixed your issue. I was gonna say if not I'd help you get it working.
[Android] CrisBalGreece:
Thanks for your response. Unfortunately i have the same results. Stack in logo boot loop! :( Thanks anyway. :good:
[Android] :
Maybe this problem from contexts in "set_metadata" lines

the kitchen detects contexts for files from the device kernel but some samsung devices have errors in the file_contexts in the kernel maybe your device one from them
[Android] CrisBalGreece:
Great idea [MENTION=6350858]ASSAYYED[/MENTION]! I'm going to decompile and check the boot. img if it has the same problem in file contexts or if it includes the "old transfer list" from stock rom and post here ASAP! :D
[Android] neon125:
ASSAYYED Man!!! You are freakin AWESOME!!!!!!! OMG your this software is a MASTERPIECE On XDA!!!! YOU ARE FREAKIN AWESOME!!! LOVE YOU MAN!!!!! I finally was able to build a rom of my desires just because of YOU!!!!! THANKS A BUNCH!!!!
[Android] neon125:
I tried cooking a rom for htc rhyme, I deodexed, applied tweaks,zipalign etc but after i got the zip, when I try to flash through cwm recovery. It simply aborts saying error status : 0. Please Help!
[Android] :
Try TWRP recovery, it is better than cwm for flashing new update-binary
[Android] neon125:
Can you please just guide me a bit how to port recovery. Because I am a newbie but I don't know to start. Please show me the path and I shall own you respect forever! Htc Rhyme is like a second handset (Not main) which i use for experiments. Please help me out a bit.
[Android] :
First make a search in xda for the twrp recovery for your device and if you don't find any thing try this official compile guide from the twrp team https://twrp.me/faq/howtocompiletwrp.html
[Android] neon125:
Sir, already did that. Can you like help me out in bit of commands and stuff? I want to build, but just please tell me the environment needed for development. I recently installed BBQLinux to develop but still confused. I cooked one rom for my Note 4 and it is running superb! But not for HTC Rhyme...........
[Android] :
I never try to port roms or recoveries

i am sure there are a lot of porting guides in the xda it is easy to follow them, but what you problem with the twrp team guide?
[Android] neon125:
It's just, I can't figure out what are their requirements.
[Android] CrisBalGreece:
Dear [MENTION=6350858]ASSAYYED[/MENTION].. JUST did it! I think the error was somewhere on auto updater script on v. 1.20. Just update on 1.35 and my rom boot up normally! Just check the version of apk tool because I'm taking to much errors trying decompile and recompile APKs to include my preferred language. With the v.2.3.0 everything works just great. Thanks for this magnificent tool. ;)
[Android] :
You need linux system, i suggest ubuntu 15.10 x64bit

And there is a link to the twrp source download its, also suggest the omni source (the link in the guide)

Then just follow build instructions

Ensure from installing the framework source..

Any way i will update the apktool to 2.3 if this what you mean

EDIT: [MENTION=7565215]CrisBalGreece[/MENTION]

i didn't see version for apktool newer than 2.2.0! where you get the 2.3.0?

if you want give me the link to add it to the kitchen
[Android] CrisBalGreece:
Sorry my mistake.. :( with (v. 2.0.3) running just fine. I'll try with the 2.20 and posting here. Thanks again.
[Android] emassy:
ASSAYED KITCHEN SAYS FAILED MOUNTING SORRY CANT CONTINUE
[Android] saroni:
great work，thx so much

i have a question,everything is ok,but i got bootloop, device is htc one(m7) rom is cm13 offical. on redmi 3,cant boot, just return to recovery.. i dont know why

ps：i edit nothing,just unpack the rom,repack to zip,then flash
[Android] :
Download latest version.

Try other methods of building (raw, dat)
[Android] LeftyGR:
For anyone using this on Samsung stock 6.0.1 roms, what method are u using to add supersu? I just tried classic, but the binary doesn't get added properly (I think). Thought I'd ask before trying again. TIA
[Android] pendor24:
Hello

Fast and root instaler
[Android] andy_zhang:
Can repack into system.img?

通过我的 LG-H901 上的 Tapatalk发言
[Android] pendor24:
Hello

to choose

Roma build, system img
[Android] saroni:
cool,boot normally,everything looks ok,thx again
[Android] mafsi:
bug apktool

[MENTION=6350858]ASSAYYED[/MENTION],

apktool is not working for me. I can decompile but as for the compile nothing happened

SELECT FOLDER TO COMPILE [DEFAULT=REFRESH 0=BACK]:1
COMPILING [android.policy.jar]
CREATING [android.policy.jar]
COPYING [android.policy.jar] TO [WORK\system\framework\android.policy.jar]
COMPLETED. PRESS ENTER TO CONTINUE

When I look in the framework folder the file is the same size and last modified is 23rd sept when I unpacked the rom with kitchen.

This particular problem is not only in this version but was in previous too. Also using Win 7 (64) and Java 8

the ROM is Lollipop 5.0.1 for GT-i9505. I decompiled with first method and recompiled again.
[Android] :
Ok i will fix this in next version
[Android] neon125:
Trying to compile SecSettings.apk for Note 4 but it always give error even if i just decompile and recompile without any modification.
[Android] :
Ensure from installing framework source (framework-res.apk & twframework-res.apk) and at least java 8 and use method 1

for more help upload the "apktool_log.txt" when you see the errors
[Android] neon125:
Okay Lemme Try But You Haven't Mentioned This Anywhere Before Anyways Thanks. Is It Possible You Add This Script That It Automatically Copies These Two Files While Compiling And Decompiling? Once Again YOU'RE AWESOME!
[Android] neon125:
Not Working

Still not working sir. You can see the attached log.
[Android] :
No problem the apktool errors from apktool.jar placed in "TOOLS\apktool"

the version of the new tool is 2.2.0 and maybe this version not compatible with your rom

Any way if you know any tool works fine with decompiling and recompiling just copy the apktool from its to "TOOLS/apktool/apktool_new.jar"

and you could try the second method
[Android] andy_zhang:
I can't repack into system.new.dat

通过我的 LG-H901 上的 Tapatalk发言
[Android] :
what version you use and what problem you face and android version, device model info please?
[Android] JamFlux:
Thank you master Assayyed, great job with latest stable, now deodex process works for all apks.

I do some things modding official MIUI ROMs, and your tool is perfect.
[Android] andy_zhang:
Version 1.45, my phone lgv10, Android 6.0, I use system.img to make system.new.dat, it shows 0 kb.I unpack system.img,then repack into system.img, flash my phone, display bootloop.

通过我的 LG-H901 上的 Tapatalk发言
[Android] :
Let the kitchen detect the system size from your device and try again or build zip rom using system folder
[Android] andy_zhang:
Excuse me, how to get system size? ,I Through the right mouse button to get the system folder。

通过我的 LG-H901 上的 Tapatalk发言
[Android] :
The best way is: connect your device to PC and let the kitchen detect the size from your device.

To get the system folder size: right click on system folder then press on "Properties" and look to "Size:" line and see if the size is greater than 1G (*,***,***,***) write the first four numbers with "M" in kitchen screen and if the size is less than 999M (***,***,***) write the first three numbers with "M" in kitchen screen

Examples:

size: 2,227,864,454 >> write in the kitchen: 2227M

size: 227,864,454 >> write in the kitchen: 227M
[Android] andy_zhang:
Thankyou very much

通过我的 LG-H901 上的 Tapatalk发言
[Android] jds3118:
Tried deodexing and got a lot that failed is that normal? 6.0.1 s7e T-Mobile
[Android] :
I tried deodex on Note7 and S7 edge and never got failed after using V1.45 so i can't do anything for your problem...sorry
[Android] mafsi:
Try disable antivirus
[Android] jds3118:
On pc? I'll check
[Android] weedy789:
I have the correct lines on a text document. Is there anyway I can put them into a repository or something of the like? Or are they detected when the kernel is loaded in the kitchen?
[Android] :
Unpack the kernel then open "file_contexts" and write the correct lines into it then ensure there are no duplicates by removing the old wrong lines if exists then repack the kernel and start create a new project with the new edited kernel.
[Android] youssefm15:
The program tells me that is no project in work folder how can i make it ? :confused:
[Android] mafsi:
Put your rom in place folder. Read the OP (first post)
[Android] youssefm15:
i put it in place folder but after i choose start creating project and when it extarcts it cleans up the work folder and tells me there is no project in work folder

i attached a pic for the problem :)
[Android] :
This is an error happened during extract the project as i see from the pic even the boot.img is not extracted.

These problems happened before because of limited size for extracting the rom on the hard disk

SO please try to extract another tar rom to ensure the error from what

OR try to open the tar file that you use with 7zip program and see if it able to open with it

OR extract "system.img & cache.img & boot.img" from the tar file manually to "place" folder
[Android] iam_delan0:
I have error FAILED TO GET file_contexts, Samsung s6810, Android 4.1.2
[Android] :
Don't worry this is not an error because android 4.2.2- and older doesn't have this file

I forget add check for the android version, I will add it in the next release

Now just ignore this message
[Android] jds3118:
I'm trying to deodex but I get a lot of failures any suggestions?
[Android] :
Try to update the java to version 8 because you have installed java 7
[Android] jds3118:
Thanks for the quick reply, I'll give it a try and report back
[Android] jds3118:
That seems to have done it thanks...
[Android] mafsi:
[MENTION=6350858]ASSAYYED[/MENTION]

Adding zip seems not working. Meaning is not installing zip.

One is a soundboost 22Mb and another one xposed 6Mb.

Could be because zips are too large and dont feet in tmp folder/memory?
[Android] iam_delan0:
Thanks for your reply.. I built the ROM by ignoring the error but I get Status 4 error in TWRP while flashing the zip I created.

Also I created ROM for another device SM-T585 when I don't deodex the ROM boots fine... But if deodexed it will not boot up.
[Android] :
Yes i think this problem from limited size in "rootfs" for your device because i tested add-on zip feature on J5 & S3 and everything works fine also some users test it using SuperSu-SR1 zip and Viper4Android and works fine.

Try to use a small zip file then try again, i think the problem because 22M is big to storing in device "/" partition

Error 4 maybe from problem with the recovery (very old) try to use another or newer one.

For the deodex don't forget to waite a long time until boot finish and you try svadev deodex tool and see if it gives you better results
[Android] mafsi:
Twrp recovery has the ability to flash multiple files in queue. I.m not a programmer, but cant be implemented this procedure in kitchen?

Like flashing rom, clean tmp, flash file1.zip, clean tmp etc...

Just asking...
[Android] :
The problem is the tmp folder used by the recovery to store the recovery log and the extracted update-binary and updater-script so it can't be deleted but i will see if i can write code to clean the zip file and the extracted files from it.
[Android] jds3118:
Tried flashing my first test build with this awesome kitchen and got this error (see pic) it's for the G935T t-mobile s7 edge. We do have root but also have a locked bootloader. We use flashfire to flash roms with great success. Any ideas on what's wrong? I was thinking the supersu/root is not flashing correctly? But not sure. Any help would be great. Thanks for the help and great work on the kitchen.
[Android] :
I think this error from editing (boot.img) because locked bootloader prevents use edited kernels

so you need to flash the stock boot.img
[Android] jds3118:
Ok makes sense. For root we have to use the eng kernel if I don't modify the kernel and include it as is and build the rom it should work correctly?
[Android] :
I don't know you need to test but most of kernels built from source should work fine (maybe)
[Android] jds3118:
Getting ready for another test here in a few will let you know... Thanks for the replies...

---------- Post added at 04:29 PM ---------- Previous post was at 03:38 PM ----------

No luck same results...[emoji22]
[Android] :
Forget the edited kernel you need the stock or unlock the bootloader if possible