Deodex xUltimate - Milestone 2 Android Development

Guys sorry for this dumb quesiton but have been googling all day and no answers.
Im using xUltimate to Deodex my apk's from the original rom of my provider.
The thing is, the output i get is .jar not .apk.
Is that normal?
Thanks!
PS: Im using xUltimate 2.3

WeeDv2 said:
Guys sorry for this dumb quesiton but have been googling all day and no answers.
Im using xUltimate to Deodex my apk's from the original rom of my provider.
The thing is, the output i get is .jar not .apk.
Is that normal?
Thanks!
PS: Im using xUltimate 2.3
Click to expand...
Click to collapse
Here are 2 very useful links from my personal android dev bookmarks. Hope this may help you
http://www.droidxforums.com/forum/droid-x-themes/4620-how-manually-deodex-your-phone.html
http://forum.xda-developers.com/showthread.php?t=633246

thanks for the links i got the xUltimate from the first one, but still is normal to output Jar files instead of APK files?
should i just rename them from jar to apk?

The kitchen does a better job deodexing, it gives me .apk and not .jar
Nice

Related

Question about the frame-resp.apk from the X10 leak

I tried to bake my own rom, but ti didn't work. My question is, can I just push the apk. to the phone? Or is it tied to possibly to something else and will not work?
isn't the X10 based on 1.6?? I doubt it wud ever work on the 2.0, let alone the 2.1
craigacgomez said:
isn't the X10 based on 1.6?? I doubt it wud ever work on the 2.0, let alone the 2.1
Click to expand...
Click to collapse
Didn't know that. Thanks.
of course it can work. the dump needs to be ported first, u can't just push .apk's.. they run on a highly customized framework that is all tied together and inter-related much like HTC sense.
jroid said:
of course it can work. the dump needs to be ported first, u can't just push .apk's.. they run on a highly customized framework that is all tied together and inter-related much like HTC sense.
Click to expand...
Click to collapse
Which is why I asked.
but, you should be able to pull most of the .pngs out of the x10 framework and port it into a theme for 2.0/2.1...
got a link to the x10 apk?
MYxdaUSERNAME said:
but, you should be able to pull most of the .pngs out of the x10 framework and port it into a theme for 2.0/2.1...
got a link to the x10 apk?
Click to expand...
Click to collapse
I would like to get theses png too... I search for the launcher png to make my own theme.
Do you know if they are available somewhere
Download the dump here
http://forum.xda-developers.com/showthread.php?t=658063&highlight=dump
Then extract the apks and open them in any archive manager (winrar etc) and look for PNGs in the res/drawable folder. Most system wide stuff is in /system/framework/framework-res.apk
EDIT: OK, my mistake
I downloaded the sources and not the rar file
jonasl said:
Download the dump here
http://forum.xda-developers.com/showthread.php?t=658063&highlight=dump
Then extract the apks and open them in any archive manager (winrar etc) and look for PNGs in the res/drawable folder. Most system wide stuff is in /system/framework/framework-res.apk
Click to expand...
Click to collapse
Euhhh, I just downloaded 73Mb file of X10..
I think there is a mistake because once the file uncompressed I get this:
A directory: X10_Donut_100325_01
1 sub-dir: esheep_linux
1sub-dir: LINUX
1sub-dir: android
3 sub dir: external - kernel - system.
If I go under system, i get: core/mtd and there nothing but .c files
I think that was a wrong file a downloaded but I cannot find an other one.
Sorry, but I try my best ;-)
I found some apk but no launcher.apk.
Only launcher.odex and i could'nt unzip it.
For all the other applications, that's OK.
Hello, sorry to annoy you again with my questions...
1) I downloaded the framework and extract all.
I extracted all the files but:
SonyX10/system/app/Launcher.apk - CRC failed
Total errors: 1
Click to expand...
Click to collapse
OMG, i had tu unzip hundreds of files that worked pretty well and the only one I need is the only one that failed????
I'm so unlucky.
Can someone send the launcher.apk to me?
Here is the un-odexed X10 dump I have... Ready to be played with...
http://www.4shared.com/file/wA0ELkvL/X10_dump.html
Also, here is an X10 theme for CM 5.0.6 that I have been working on...
http://www.4shared.com/file/CKUM0CAj/zapmi_X10_103.html
Enjoy!
Thank you for both link that work pretty well. Thank a lot!
I found all I wanted except one thing: do you know where is the background of the "quick settings" widget?
The number one on the picture, the launcher was easy to find in the launcher.apk.
Click for full size - Uploaded with plasq's Skitch
Thank a lot.
settings.apk should be what you're lookin for.
i actually ported the statusbar to my droid a while back. didnt look too bad..
MYxdaUSERNAME said:
settings.apk should be what you're lookin for.
Click to expand...
Click to collapse
Thank a lot, that was too simple .. I feel stupid.. :-s
Good job on your theme!

[TOOL] Automated Smali and BakSmali

Everytime I used smali or baksmali, I always had to go to the XDA post that described the correct usage...so I made simple batch files to speed up the process and figured I should share with the community.
Extract the .zip below, run the "smali.bat" or "baksmali.bat" batch files, and follow the instructions...they should be self explanatory.
This is obviously for Windows...don't ask for other versions, I'm not a programmer. These are the latest smali and baksmali versions (v1.2.6 released 12/23/2010) as well.
AutoSmali v1.0 | Download​
(Hope this post is in the right forum?)
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
not sure what you mean?...this is just an automated script for decompiling/compiling the .dex files (usually within .jar files)
what exactly are looking to do with an .apk? sign it?
this is pretty cool ... thanks
Hey!
Thanks for this! Really helps alot!
But can you make it compatible with v1.2.7? http://code.google.com/p/smali/downloads/list
Thanks!
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
hmmm...weird, i had the same issue , then i found the correct cobination of framework files for aptool, that now it builds as easy as one two three.
Did you makes sure you used the original meta-inf folder from the original apk, pm me if you ever need help.
Nice work. .:thumbs up:.
for this to work for the newer versions of smali/baksmali
just change .bat to .txt and edit the place where it says 'smali-1.2.x.jar' to the new version.
that should work.
i still dont know how the hell to do anything with a .smali file but i atleast know how to do that!
hit thanks if that helped
link down
schmittx said:
AutoSmali v1.0 | Download
Click to expand...
Click to collapse
dead link. try:
http://www.mediafire.com/?d5ruxexq15d1pje

[TOOL][PORT] Autodeodexer 2.3a for the Epic 4G Froyo - Windows

Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Thanks for this!
Good tool for those that want stock with.a theme.
Sent From My Evo Killer!
Mind if I throw this in the EPIC 4G cookbook?
amosher13 said:
Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Click to expand...
Click to collapse
This is awesome...... GREAT WORK.....
Okay so this sounds interesting and all...But how does one use it??
tphillips said:
Mind if I throw this in the EPIC 4G cookbook?
Click to expand...
Click to collapse
Go right ahead!
sent from my mind to yours
youngpro83 said:
Okay so this sounds interesting and all...But how does one use it??
Click to expand...
Click to collapse
Just take an odexed frame work, put it in the folder and run deoall.bat, then repeat for app. Pretty much it, if you don't know the point then you probably don't need it, lol
sent from my mind to yours
Thanks dude
Thanks bro good work
Anyone give this a shot yet?
blazinazn said:
Anyone give this a shot yet?
Click to expand...
Click to collapse
Yea I tried using it to deodex my eco5 stock rom, and it ran clean and gave output, but the output wouldn't boot.. I ended up going a diff route which included using a tool made for another phone and doing some by hand...
Sent from my SPH-D700 using XDA App

[Q] CM 6 Theming

Hope posting this here is OK- I never get answers in Q&A...
I have made & modified themes for the SE stock 'rom' and as you know the framework-res and system apks do not need to be recompiled or signed when just exchanging images.
Is it the same for CM 6 'roms'?
I am looking into theming Wolfbreak's rom and noticed the framework-res that I'm using as a base says "signed by SignApk" when I open it in winrar.
Do I need to recompile & sign or not?
Thanks in advance!
AyDee said:
Hope posting this here is OK- I never get answers in Q&A...
I have made & modified themes for the SE stock 'rom' and as you know the framework-res and system apks do not need to be recompiled or signed when just exchanging images.
Is it the same for CM 6 'roms'?
I am looking into theming Wolfbreak's rom and noticed the framework-res that I'm using as a base says "signed by SignApk" when I open it in winrar.
Do I need to recompile & sign or not?
Thanks in advance!
Click to expand...
Click to collapse
Hi,
You dont need to sign regardless of OS if you are only swapping images for system files. But remember to use optimized pngs and zipalign as final step to minimize resources consumption.
If you are modding any resources.arsc you need to decompile to do that and recompile and sing accordingly.
Ok, thanks- just making sure... the winrar message threw me off...
AyDee said:
Ok, thanks- just making sure... the winrar message threw me off...
Click to expand...
Click to collapse
try 7-zip.....hope seeing themes from u soon....

[Q] Help with battery mod

Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
Sorry, but it's a bit more complicated than just opening the .apk in 7-zip or winrar. You need to decompile the .apk... the easiest way is to use a program called apk manager. Search on XDA, and you will find it.
Then, in the decompiled folder, you will have a /drawable/ folder. You need to re-code the stat_sys_battery.xml to include all the pngs, as well as the zzz_stat_sys_battery_1.xml.
In addition to the 100 pngs you already have, you will also need some charging animation icons and a stat_sys_battery_unknown.png icon that all match your battery icon theme.
After redoing the 3 xmls in the drawable folder, and replacing all the necessary pngs, you then need to recompile and sign your apk with the new files.
I've attached a sample of the 3 xmls for you to use as a reference.
If you are looking to get a battery mod the quick and easy way, then I have a bunch in a thread HERE. If you are looking to learn how to do it yourself (Which I highly recommend for the learning experience it will provide), then search around and look for some guides on compiling and decompiling to help you on your way. You can also download any of the battery mods from the thread I linked to, and decompile them for examples of a working framework-apk that has been modded.
Keep in mind, when experimenting with this, you ABOSLUTELY WILL cause your phone to not be able to boot up. Make sure you have a nandroid backup ready.
Good luck.
Thank you!
Wow, this is gonna take a bit longer than i though B)
Btw, i was using one of your mods, but i found that it wasnt smooth enough + the icon didnt have enough detail
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
go to first link on my sign download a batt mod open framework and use it...
lalitsehgal21 said:
go to first link on my sign download a batt mod open framework and use it...
Click to expand...
Click to collapse
Thanks, but no thanks B)
I think will try to learn how to do it my self

Categories

Resources