How to add new device in dsxida kitchen?
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
soham jambhekar said:
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
klembo1957 said:
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
Click to expand...
Click to collapse
Nope, there is no such necessity
OK
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
klembo1957 said:
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
Click to expand...
Click to collapse
You put any custom ROM for your device in there, configure it for that file (meaning that show it the file you're working on), replace it's system folder with the stock deodexed system folder.
Now, you're ready. Do your modifications. Add features. Build. Zip
Now, the important part.
Kitchen updater-script doesn't work on our device in some case. Use any custom ROM updater-script (with permission and credit), and voila!
There is a complete guide on it in Development section too.
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
klembo1957 said:
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
Click to expand...
Click to collapse
Only thing is that it's updater-script doesn't work
You have to add yours
iamareebjamal said:
Only thing is that it's updater-script doesn't work
You have to add yours
Click to expand...
Click to collapse
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
klembo1957 said:
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
Click to expand...
Click to collapse
did it work ?
Related
I found many threads of people who can't deodex Email.apk, Mobileprint.apk, even manualy, including every .jar in the baksmali.jar -c: xxxx.
Is there a Dev who could give us the command line to succesfully deodex Email.odex and Mobileprint.odex ?
Thanks
Edit 06/30/2011 : I am ready to donate for the help you could give me
Found the same threads you did.. I am researching this as well.. Will keep you updated if I find anything.
U don't need to deodex the whole rom, though you will need to deodex the whole framework.
mak1 said:
U don't need to deodex the whole rom, though you will need to deodex the whole framework.
Click to expand...
Click to collapse
Ok, thanks for the answer, but what to do with the .odex files (Email and Mobileprint), I'm not going to leave them non deodexed with others deodexeds apk ?
sicopat said:
Ok, thanks for the answer, but what to do with the .odex files (Email and Mobileprint), I'm not going to leave them non deodexed with others deodexeds apk ?
Click to expand...
Click to collapse
i wana know this tooo
If ur not changing anything in the BOOTCLASSPATH files, u can deodex a single file
-app for eg.-, edit it and put it into ur device without deodexing anything else, delete the existing odex file.
u'll need baksmali for that purpose-apktool donot have that feature btw-also u'v to have framework files available (just pull the entire framework directory from the phone) pass it's directory via the -d option. App depends on particular jar files will require that through -c option.
mak1 said:
If ur not changing anything in the BOOTCLASSPATH files, u can deodex a single file
-app for eg.-, edit it and put it into ur device without deodexing anything else, delete the existing odex file.
u'll need baksmali for that purpose-apktool donot have that feature btw-also u'v to have framework files available (just pull the entire framework directory from the phone) pass it's directory via the -d option. App depends on particular jar files will require that through -c option.
Click to expand...
Click to collapse
That's the problem, even with the entire framework directory, I am not able to deodex Email.apk and Mobileprint.apk . Seems like if missing Bootclasspath ...
No problem manualy deodexing every other apks ..
I tried to deodex both of these files with omrij's tool and it was successfull.
http://forum.xda-developers.com/showthread.php?t=1053227
TAEL said:
I tried to deodex both of these files with omrij's tool and it was successfull.
http://forum.xda-developers.com/showthread.php?t=1053227
Click to expand...
Click to collapse
I wonder if it ignores certain errors. If i use baksmali with the -I option, i can get deodexed output, But obviously the APK won't work.
sicopat said:
I found many threads of people who can't deodex Email.apk, Mobileprint.apk, even manualy, including every .jar in the baksmali.jar -c: xxxx.
Is there a Dev who could give us the command line to succesfully deodex Email.odex and Mobileprint.odex ?
Thanks
Click to expand...
Click to collapse
I got it done for u method is a bit complicated though
First of all, Thanks!
Second of all, I'm much more interested on how its done rather than the apps themselves. I'd be very happy if you could share how by any means.
ransagy said:
First of all, Thanks!
Second of all, I'm much more interested on how its done rather than the apps themselves. I'd be very happy if you could share how by any means.
Click to expand...
Click to collapse
same here..i guess we just want to learn so please share
thanks
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
mak1 said:
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
thanks already read that
mak1 said:
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I also wrote my own deodexing bash script with baksmali/smali/zip. The thing is, Those two APK request java libraries to deodex (java.awt.* and javax.swing.*). I could't find anywhere to get those dependencies from, So if you could share which boot classes you used for satisfying those requirements, it would be great.
Thanks!
I am ready to make a donation for help.
I would like to be able to do it myself
sicopat said:
I am ready to make a donation for help.
I would like to be able to do it myself
Click to expand...
Click to collapse
I have found out how you do it, by checking my bash logs way back
Just use the -I ignore flag on the command, along with regular bootclasspath.
The errors are not an issue and the apps work fine.
Enjoy.
pulser_g2 said:
I have found out how you do it, by checking my bash logs way back
Just use the -I ignore flag on the command, along with regular bootclasspath.
The errors are not an issue and the apps work fine.
Enjoy.
Click to expand...
Click to collapse
Thanks so much Pulser, I am going to try this.
it's Curious we canno't avoid errors.
As promised : donation done
Big thanks
Hi guys, same here with Email.odex...
I'm not be able to deodex it...
Somebody can help me? Thanks!
Hi all. I have been through the AOSP website and built a basic rom, but I can't find it.
Sorry this is such a basic point - and related to another site - but can anyone point me to the output from the build process. I initiated the build with lunch and then used make to, er, make it, but can't find what I've made.
Thanks
Edit: am I right in thinking the output is a .zip file? If so, think it has failed because there's no .zip anywhere
not in your work folder? (the folder you were in while 'making' the rom) lol
ldrifta said:
not in your work folder? (the folder you were in while 'making' the rom) lol
Click to expand...
Click to collapse
No. I'm assuming it'll be in zip format, and there's nothing like that in the working folder.
Sent from my HTC Desire S using XDA Premium App
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
MongooseHelix said:
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
Click to expand...
Click to collapse
I couldn't find it there, so I'm assuming it didn't compile properly.
Thanks.
Sent from my phone using fingers
I've tried deodexing using dsixda kitchen but I get errors and it never finishes. Not sure if I should convert udpater script to update script first or what! I only want a couple of files deodexed. Can someone please give me a quick and dirty little guide. I have smali/baksmali tools already or do I use something else? I've searched the forums but a lot of confusing methods is all I'm finding. Please point me in the right direction..thanks guys!
-Apollo- said:
I've tried deodexing using dsixda kitchen but I get errors and it never finishes. Not sure if I should convert udpater script to update script first or what! I only want a couple of files deodexed. Can someone please give me a quick and dirty little guide. I have smali/baksmali tools already or do I use something else? I've searched the forums but a lot of confusing methods is all I'm finding. Please point me in the right direction..thanks guys!
Click to expand...
Click to collapse
Are you using the stock Sprint ROM? I did and had no issues using dsixda kitchen.
What files is it having issues with?
scrosler said:
Are you using the stock Sprint ROM? I did and had no issues using dsixda kitchen.
What files is it having issues with?
Click to expand...
Click to collapse
No, not Stock Rom. It is having problems with framework files. It was 3 files, I'll have to fire up the Linux Box and try again to tell you what files exactly. I have not updated kitchen since I got the 3D, perhaps that's where I should start?
-Apollo- said:
No, not Stock Rom. It is having problems with framework files. It was 3 files, I'll have to fire up the Linux Box and try again to tell you what files exactly. I have not updated kitchen since I got the 3D, perhaps that's where I should start?
Click to expand...
Click to collapse
Yeah, he made changes for the 3D but I dont think they affect your issues.
Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
netwokz said:
Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
Click to expand...
Click to collapse
Not sure I follow the question. A ROM installs based on its updater-script file and contents in the .zip.
If the zip has files in /data/app and the updater-script instructs package_extract_dir data/app to /data/app then all the files in the .zip's data/app will be copied over to the device's /data/app directory.
Hopefully that helps!
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
netwokz said:
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
Click to expand...
Click to collapse
to answer your question specifically:
two steps:
1)add your apk files to a data/app directory inside the .zip file. 7zip works great for modifying zip files in windows.
2) add this line to the updater-script: package_extract_dir("data/app/", "/data/app/");
to answer your question generally about help on creating a ROM .zip file:
I've covered the topic a few times in answering specific questions. I did a quick google search for xda joeykrim updater-script to try and find my previous posts. i generally provide more information than is requested by the poster and link to other posts/guides to make sure i've covered most of the common issues. here are a few:
How to zip a ROM to be flashed - i provide a lot of information including links to some great guides
[Q] update.zip problems
my posts in those two threads should provide *plenty* of information. let us know if you have any other questions! good luck!
Wow. Thanks so much! After work is play time now... I learn alot better through trial and error, so I hope I don't have to keep asking, lol. Now if I could just find a good updated tutorial on compiling cyanogenmod. But that's down the road.
Sent from another Dimension!
I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
yes it works still, works on ics & jellybean (i use it myself to deodex and zipalign)
Theshawty said:
I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
Click to expand...
Click to collapse
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
zoot1 said:
but you will need to add another file with gs3 parameters in the edify_defs folder with name m0
Click to expand...
Click to collapse
Where do I find such file?
zoot1 said:
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
zoot1 said:
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Theshawty said:
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Click to expand...
Click to collapse
Deodexing will work just fine..no probs..some times you might get an error with one or two apps..just use the option to deodex a single app and you will be good to go..
:good:
Edit:
Most important change the api level to 16 before deodexing..
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Darkside Agent said:
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
Click to expand...
Click to collapse
Thanks, will try this.
Darkside Agent said:
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Click to expand...
Click to collapse
Uh, sorry about that. I totally missed your post!
Did you get it all sorted in the end?
Darkside Agent said:
Did you get it all sorted in the end?
Click to expand...
Click to collapse
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Theshawty said:
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Click to expand...
Click to collapse
You need Patience my friend..
zoot1 said:
You need Patience my friend..
Click to expand...
Click to collapse
One of many things I lack and will probably always lack.
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Kangburra said:
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Click to expand...
Click to collapse
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Theshawty said:
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Extract the tar file and put the system.ext4.img and boot.img in the update folder.. Then Dxixda kitchen will recognize it..
Sent from the iPoop killer ==>>>
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Oh yeah, I forgot, the system.img must be coverted from yaffs img to an ext4 file. I believe the utility is called ext2fs (or something like it)
Dsixda's tool should provide that program anyhow.
Well I unzipped the ROM and untarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Kangburra said:
Well I unzipped the ROM and unatarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Click to expand...
Click to collapse
Well that is the problem which I am not to work out yet.. As Dxixda kitchen does not support s3
Best way it to use meta-inf folder from other rom..
Sent from the iPoop killer ==>>>