[Q] What's best way to deodex a Rom - HTC EVO 3D

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.

Related

How to de-odex a Desire ROM?

Helllo everybody
Can anybody tell me (or a link?) how I can de-odex the rootedupdate.zip version 1.21.405.2?
Thank u
http://code.google.com/p/smali/wiki/DeodexInstructions
how space does de-odexing save? if that is one of its benefit
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Flash the rom and then boot with logcat and search for the problem.
nickiberli said:
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Click to expand...
Click to collapse
I'm having the same problem, do you solve it???
@ nickiberli : Download dsixda's kitchen and install it following his directions. It has all the tools you need to get started customizing ROMs. I believe your problem is that your .zip is not being signed which is another thing that his kitchen does for you.
@ ermacwins : Basically, (I'm not 100% on this explanation) "de-odexed" .apks are simply a .zip with a different extension. This allows further customization of the .apk. "odexed" .apks are split into two files, an ".apk" and an ."odex". The "odexed" .apk still contains the information that the "de-odexed" contains but is spread across the two files. To answer your question, I don't believe that a "de-odexed" rom saves you any more space than an "odexed" rom or vice versa.
@slavatore82 : Try the stuff I posted above. It should work for you. It's the method I've been using and it works great.
salvatore82 said:
I'm having the same problem, do you solve it???
Click to expand...
Click to collapse
When you deodex your files try to set compression level less than default. Till to 0. After deodex first boot-up might take about 10-15 min.
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
SystemErrorOne said:
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Click to expand...
Click to collapse
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
mbobino said:
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
Click to expand...
Click to collapse
haha my bad man just trying to help lol

How to deodex ICS 4.0.3?

I'm trying to deodex the latest MIUI v4 (ICS) so I can try to port it to my Rezound, but I can't even deodex the ROM, even through the latest kitchen. Any ideas?
excellentnuke said:
I'm trying to deodex the latest MIUI v4 (ICS) so I can try to port it to my Rezound, but I can't even deodex the ROM, even through the latest kitchen. Any ideas?
Click to expand...
Click to collapse
you can use autodeo tool to do the majority of the odexes but you may need to manually baksmali things like Bluetooth and NetworkLocation as they have more bootclasspath dependencies.
Look for a thread entitled "how to manually deodex odex back" should help you no end. If you cant follow that you are in trouble lol.
Sent from my Nexus S
excellentnuke said:
I'm trying to deodex the latest MIUI v4 (ICS) so I can try to port it to my Rezound, but I can't even deodex the ROM, even through the latest kitchen. Any ideas?
Click to expand...
Click to collapse
What do you mean you can't deodex - what is the specific problem?
well with respect and regardless of the version of baksmali and smali used the kitchen in its present form will not deodex an ICS ROM for me either. So I take a different approach to achieving it.
I don't care if someone doesn't use the kitchen, I am retired and ICS doesn't work (ie. Class errors in smali/baksmali) half the time for me either... but, again, vague statements like "doesn't work" or "can't deodex" doesn't help a designer diagnose the problem.
dsixda said:
I don't care if someone doesn't use the kitchen, I am retired and ICS doesn't work half the time for me either... but, again, vague statements like "doesn't work" or "can't deodex" doesn't help a designer diagnose the problem.
Click to expand...
Click to collapse
I'll take a look at the deodexing parts of the kitchens scripts and see if I can deduce anything.
wildestpixel said:
I'll take a look at the deodexing parts of the kitchens scripts and see if I can deduce anything.
Click to expand...
Click to collapse
Nvm. Completely misread op
Sent from my Incredible 2 using XDA Premium App
jmztaylor said:
Nvm. Completely misread op
Sent from my Incredible 2 using XDA Premium App
Click to expand...
Click to collapse
Lol was going to say I got the mail notification and thought what does deodex have to do with apk tool 1.4.3 !
Sent from my Nexus S

dsixda kitchen?

i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
shahrukhraza said:
i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
Click to expand...
Click to collapse
Yes. I use that to cook my ROM. Have you looked at the official thread? There are plenty of instructions there.
http://forum.xda-developers.com/showthread.php?t=633246
and this one
http://forum.xda-developers.com/showthread.php?t=1227549
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
klin1344 said:
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
Click to expand...
Click to collapse
That's true. I only use that for the basic things and for packaging the whole thing into zip. As for busybox, I use busybox's --install option and it will generate all the symbolic links automatically.
No I get weird errors like this: http://forum.xda-developers.com/showthread.php?p=22732320
Sent using Tapatalk

Does Dsixda's ROM Kitchen work with Galaxy S3?

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 ==>>>

[Q] Help!!! how to add new device in dsixda kitchen

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 ?

Categories

Resources