Can someone Deodex these apks for me? - Sprint HTC EVO 4G LTE

I got my hands on a Sprint Optimus G and extracted some apps I think may work well with the Evo and want to test them out. Any help would be appreciated. Link to the apps is below. Also, if someone wants all the apps I can do that. If I knew how to get the system dump I would just do that.
https://www.box.com/s/9f67cx8ypapj6zsem9w3

If you have the Android SDK set up you can deodex them using smali.
https://code.google.com/p/smali/wiki/DeodexInstructions
There are also many good scripts people have put together to automate it, like dsixda's kitchen, tommytomatoe's android utility, etc.

Can't you just copy them over along with the corresponding odex file? They should run that way.

Short_Straw said:
Can't you just copy them over along with the corresponding odex file? They should run that way.
Click to expand...
Click to collapse
You're saying just put them in the system/app section and they should run? I'm on CM10 at the moment

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

[Ready to DONATE][Q] How to manually deodex Email.apk and Mobileprint.apk

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!

/data/app/ functionality?

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!

Deodex APKs

So I am running Virus' NV Rom, which is Sense 4.0. The only thing I don't like is that HTC Friend Stream does not work with Facebook and Twitter. I was running Newt's One S 4.0 Port and Friend Stream and the widget work fine. I pulled the apks for Newt's ROM, but they are odex and need to be deodexed in order for them to work on Virus' ROM. I've been reading on how to do it, and what tools to read, but I can't seem to find the right tool. Would anyone familiar with deodexing care to deodex these files I've attached for me. I would greatly appreciate it! It is the FriendStream.apk and it's .odex and HTCFriendStream3Dwidget and it's .odex. Is that all that is needed to do this?
Thanks!
BUMP!
Anyone give some help or advice?
Nobody with deodex experience can help me out? Please? I'll be your BFF!
delete the file with the .odex extention. that's it
bcarter2000 said:
delete the file with the .odex extention. that's it
Click to expand...
Click to collapse
When I deleted the .odex file and replaced the apk in the /sys/app folder it would not even who up. I think from what I read you have to merge the odex with apk and it requires an apk tool, but I can't find the right one that will work.
Did you change the permissions after you moved it?
Sent from my PG86100 using Tapatalk 2

[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