[Jelly Bean]Deodexing services.odex and SecEmail.odex - Android Software/Hacking General [Developers Only]

I'm placing the decompile code to deodexing servies.odex and Email.odex because many guys are asking about the way to deodex these files from Samsung Galaxy II EPIC 4G Touch (D710) forum.
services.odex: (you don't need all bootclasspath in here. But if you have any issue deodexing services.odex, this would be the fastest way to decompile it)
java -Xmx1024m -jar baksmali-1.4.1.jar -a 17 -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar : org.simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\services.odex"
java.exe -Xmx1024m -jar baksmali-1.3.2.jar -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar: org. simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:services.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\SecEmail.odex"
Be sure to use baksmali v1.3.2 instead of 1.4.1.
v1.4.1 does not decompile the SecEmail.odex correctly (I see that one case opened to google code development and it's pending. But it could be resolved using this way.
Note: jar file list should be different based on your provider. The above example is based on Sprint Galaxy II D710 Epic 4g Touch and leaked ROM FL16.
I hope this removes lots of headaches during deodexing JB rom.

Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium

Mattix724 said:
Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2

elijahbrown said:
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
LOL, I'm going to wager it's to make it available to anyone having trouble as the only items specific to our phones have been stated in the OP

Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.

kobridge said:
Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.
Click to expand...
Click to collapse
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium

Stryke_the_Orc said:
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for warm words!

I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium

Mattix724 said:
I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Mattix, that's not what I'm talking about. Please don't try to drive me as you want (all problems start from there) - XDA rule. You please do focus on yours and I'll do mine.

I'll say thanks for the information on deodexing services.jar
I'm just going to leave it at that.
Sent from my SPH-D710 using xda premium

Related

Non-pageinated app drawer

I've seen gingerbread sense roms that have it, but how can I add it myself?
Sent from my Inspire 4G using XDA App
darknessrise1234 said:
I've seen gingerbread sense roms that have it, but how can I add it myself?
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
do you know how to decompile/compile apks?
if you are running the current ATT GB rom, i can give you the already modified jar file from my rom
Pirateghost said:
do you know how to decompile/compile apks?
if you are running the current ATT GB rom, i can give you the already modified jar file from my rom
Click to expand...
Click to collapse
Not a very hard sell there pirate...just tell him to flash rumrunner and be done with it.
newter55 said:
Not a very hard sell there pirate...just tell him to flash rumrunner and be done with it.
Click to expand...
Click to collapse
LOL.
good call
I don't know how. But I'm a fast learner. Willing to take me? XD
Sent from my Inspire 4G using XDA App
darknessrise1234 said:
I don't know how. But I'm a fast learner. Willing to take me? XD
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
lol.
i will do you a favor. give me your com.htc.framework.jar located in /system/framework/
i will take care of it for you.
if you want to learn how to decompile apks, let me point you to this thread:
http://forum.xda-developers.com/showthread.php?t=695701
more specifically to decompile jar files:
http://mastergenius.net/wordpress/2...le-apk-and-jar-files-for-android-smartphones/
in order to do the non-paginated app drawer, you need to decompile that jar file and edit some smali.... i have the exact lines that need to be modified, and a link to the original thread on it, but i dont think they want it posted here.
Okay. I'll do it tomorrow.
Sent from my Inspire 4G using XDA App
Sorry I took so long, was having problems with my computer. Jar is attached in a zip.
darknessrise1234 said:
Sorry I took so long, was having problems with my computer. Jar is attached in a zip.
Click to expand...
Click to collapse
what rom is this from? i cant recompile without some framework resources, since its not based off what i already have installed...
Virtuous unity.
Sent from my Inspire 4G using XDA App

Baksmali??

I was wondering how to use it so i can edit some systemui's in some themes so the full battery notification can be cleared. Help me please...
Sent from my Haxsung Dark Infuse 4G powered by Infusion
Use apktool....put your jar file in tjw folder wher u unpacked apktool...open command prompt and navigate to that folder... Then type "apktol d yourfile.jar ./out"....then you can edit your smalis....then to recompile type " apktool d -f -b out ...then copy original metainf folder to new jar and classes dex also...holed that helped
Sent from my SAMSUNG-SGH-I997 using xda premium
Yeah ill see what I can do but i hope the commands you typed are right since some of the words aren't right but ill try it when i get to my desktop. I can find the apktool on xda?
Sent from my Haxsung Dark Infuse 4G powered by Infusion
APK manager is pretty easy. I have the link to it and some instructions in one of my signature links (image replacement).
I was typing quick
Sent from my SAMSUNG-SGH-I997 using xda premium
OK, ill check it out then, I figured that's why some wasn't spelt right. Thanks for the help.
Sent from my Haxsung Dark Infuse 4G powered by Infusion
i looked at that app and have no clue how to use that, i'm not that familiar with that stuff. is there any way if i send you the systemui file if you could do that since you's are familiar with that stuff. if you could i would appreciate it whoever would do it..
Sure...send it bro...
Sent from my SAMSUNG-SGH-I997 using xda premium
Awesome your the man dman, should I just post it cause i gotta make a profile and upload the file or if you could give me your email in a pm I can send it to you that way. I greatly appreciate you helping. I'm gonna start learning about all that stuff some time soon. Thank you again
Sent from my Haxsung Dark Infuse 4G powered by Infusion

What im using to decompile apks

OMG
This dude made life soooooo much easier
please donate to wanam
and use his apk manager
he fixed all the bad magic values
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
Thanks, What kind of deodex tools you using? I could never figure out how to deodex the apk for maps.
I was finally able to decompile/recompile framework-res and systemui this morning without any errors (or my phone going into a boot loop after I push either to the system), along with all other ICS apk's. It figures I read about this tool right after I figure it out lol
Sent from my SAMSUNG-SGH-I727 using xda premium
seanzscreams said:
OMG
This dude made life soooooo much easier
please donate to wanam
and use his apk manager
he fixed all the bad magic values
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
Click to expand...
Click to collapse
Awesome! But I'm still confused. Since the UCALC4 leak I had not been able to use apktool, apk multi-tool,xdaAutoTool, etc. (bad magic values and such). However, for some reason, as soon as you came back from tour and came out with the first Sky ICS ROM base, I could decompile apks again (smali files and all) with no errors or bad magic value nonsense. Why would that be?
Hes magic lol
Sent from my SAMSUNG-SGH-I727 using xda premium
MikeySmikey said:
Hes magic lol
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Touché, Techno Viking.
m4570d0n said:
Touché, Techno Viking.
Click to expand...
Click to collapse
Awesome. You're the first to notice.
Sent from my SAMSUNG-SGH-I727 using xda premium
I can't decompile systemui....I can decompile framework and twframework but if in try to decompile systemui all I see is a smali folder. I've been trying to use apktool succesfully for three weeks now and no success. I have all the newest sdk items and Java etc.......I want to build custom rooms but its getting frustrating
Sent from my GT-P7510 using xda premium

framework-res.apk compiling problems (virtuous ten studio)

hi, im having difficulties compiling framework-res.apk (for ICS) using virtuous studio here is a link to a video i made with what i did and what its doing any insight would be greatly appreciated thank you
video here
Hi
Virtuous Studio is a very new software released in April 2012 (its potential seems high).
You should also take help from XDA Virtuous Studio forum http://forum.xda-developers.com/showthread.php?t=1619473
I also watched your youtube performance Behemoth's No Sympathy For Fools
ndhanta said:
Hi
Virtuous Studio is a very new software released in April 2012 (its potential seems high).
You should also take help from XDA Virtuous Studio forum http://forum.xda-developers.com/showthread.php?t=1619473
I also watched your youtube performance Behemoth's No Sympathy For Fools
Click to expand...
Click to collapse
thanks, lol whatd you think?
Does it recompile with no changes.
Sent from my SAMSUNG-SGH-I997 using xda premium
NunHugger said:
Does it recompile with no changes.
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
it doesnt re-compile at all, it keeps saying the it cant find the resources or sources ive tried with systemui.apk and framework.jar opened at the same time as framework-res.apk bu still nothing, i setup the program correctly, i just need o compile it, ive been using virtuous studio but i havent found an apktool thatll work for it, i downloaded the latest version and it said it couldnt open it, and since it's ICS i cant use your apktool pack, not trying to sound like im ranting, just trying to let you know what all i've done, oh i even tried an older apktool still came up with the same thing
And it won't... You have to have baksmali and smali with the magic number modified to smali ics apks
Sent from my SAMSUNG-SGH-I997 using xda premium
dman3285 said:
And it won't... You have to have baksmali and smali with the magic number modified to smali ics apks
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
ok, and that for all apks but doesnt effect jars?

[WIP][PORT] Blade v4.6.0 - Android 4.1.1, Sense 4+

Blade v4.6.0​
This is a ROM port from the HTC EVO One X by theDroidfanatic. You can see the original thread HERE.
As of today, 1-31-2013, this is NOT flashable!!! The updater script is still set up for the One X.
The reason I'm releasing this is because my Shift is down until my new flex cable comes in and I can't test anything so I'm asking for help. So far I've been through the majority of the ROM and I feel confident I've made a good start.
The ROMs I've used for parts are JellyBelly v6: Ultimate Edition and StockMod. I've also referenced Legendary-Infamous, MikRunny, and newRUNNY to see how they're put together as well.
I started by modifying Strapped365's JB Kernel in JellyBelly using this [GUIDE] How to port sense to non-HTC devices. Then using various other guides here on XDA, I've been modifying the port ROM to work on our device. I can put together a change log later after work. Now where I am at with this at the moment is the updater script. I've been through the rest of the ROM and think I have a good start but I haven't done anything in the META-INF folder. I am still reading up on how to write my own updater script but I'm not capable yet so those who want to help, this is my immediate need. In the past I was able to get a sense 4.0 One V port to boot on the Shift using an AOSP updater script but I think it may be necessary to write a new one so this will load right. I am a little unsure about the build.prop edits I've made going from GSM to CDMA so that needs to be double checked.
Any and all help is appreciated!
Thank you very much theDroidfanatic for your incredible work and permission to release this.
Change log
2/01/2013:
There is still A LOT of work to be done for this to boot.
Using JellyBelly v6 Ultimate, Changed the kernel using THIS and THIS.
I moved several apks from system/app to data/app to get the system folder down to 423MB
Changed the bootanimation
Changed the system lib modules by adding, overwriting files from base
Changed the system/lib/hw by adding, overwriting files from base
Replaced system/usr/keychars and system/usr/keylayout with system/usr/keychars and system/usr/keylayout from base
Went into system/etc and replaced vold.fstab, /wifi and /ppp with the ones from base
I'm not sure what to do with the Framework folder yet so I left it alone
Edited the build.prop
Also Reserved...
good luck with this, itd be great to see a functioning sense 4+ rom
Sweetness. I'd like to be a tester when you fix the update script.
Sent from my Nexus 10 using xda app-developers app
Ill download and change the updater script. Really all that need changed are the mmcblk0pXX mountpoints. But that's not going to promise anything lol
Sent from my myTouch_4G_Slide using Tapatalk 2
Thanks Strapped. I really appreciate it!
Dude, it would be absolutely awesome to see a sense 4 rom on the shift. Props for putting all the time and effort into this, your shift will be in my prayers.
Sent from my PG06100
Chad The Pathfinder said:
Thanks Strapped. I really appreciate it!
Click to expand...
Click to collapse
Yeah went from a status 7 got 5 args expected 3 to status 6 and that was just trying some simple changes. Ill compare some others a post a good META-inf when I get a sec
Sent from my myTouch_4G_Slide using Tapatalk 2
Drops jaw to ground.. You you you.. You are a master at porting!!
Sent from my VS920 4G using xda premium
megaghostgamer said:
Drops jaw to ground.. You you you.. You are a master at porting!!
Sent from my VS920 4G using xda premium
Click to expand...
Click to collapse
I know right Not to mention the kernel work :laugh:
Makes me really wish I could double-thank posts!!
Sent from my PG06100
Good Luck with this mate Hope you people will enjoy my ROM here as many do on the HOX forums
Cheers
megaghostgamer said:
Drops jaw to ground.. You you you.. You are a master at porting!!
Sent from my VS920 4G using xda premium
Click to expand...
Click to collapse
It's not booting quite yet
bilgerryan said:
It's not booting quite yet
Click to expand...
Click to collapse
That's mostly cause of the updater script right?
Sent from my VS920 4G using xda premium
bilgerryan said:
It's not booting quite yet
Click to expand...
Click to collapse
You guys are making me a little nervous. Keep in mind it may not work even when the updater script is fixed... others more experienced than I have tried to do this unsuccessfully.
Chad The Pathfinder said:
You guys are making me a little nervous. Keep in mind it may not work even when the updater script is fixed... others more experienced than I have tried to do this unsuccessfully.
Click to expand...
Click to collapse
Yes but there is always lady luck waiting to blow on your dice before you gamble
stare into oblivion
Fall into sleep
Chad The Pathfinder said:
You guys are making me a little nervous. Keep in mind it may not work even when the updater script is fixed... others more experienced than I have tried to do this unsuccessfully.
Click to expand...
Click to collapse
Nervous? Nah if they don't read the OP its their fault. Also no matter how effed the updater-script is it shouldn't flash for anyone because of the update binary
Sent from my myTouch_4G_Slide using Tapatalk 2
strapped365 said:
Nervous? Nah if they don't read the OP its their fault. Also no matter how effed the updater-script is it shouldn't flash for anyone because of the update binary
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
Oh too good.
Dont worry though Chad, the people who know what strapped is talking about are gonna be the only ones [trying to] flash it anyway :good:
Sent from my PG06100
CNexus said:
Oh too good.
Dont worry though Chad, the people who know what strapped is talking about are gonna be the only ones [trying to] flash it anyway :good:
Sent from my PG06100
Click to expand...
Click to collapse
Agreed I haven't flashed cause ive read it.. I might take a look inside later.. still gotta fix my Roms. So busy
Sent from my VS920 4G using xda premium
Ok I've been trying to figure out how to move forward with this and all I can figure is to start fresh using my ego 4g. Fortunately, JellyBelly Ultimate is on the evo already. Thanks bilgeryan. If I can get it to work that way, surely we can port it to the shift. If any one wants to digin and do whatever your creativity leads you to do then by all means do it. I'd like this to be a community effort as much as possible. Especially "sense" I'm not a dev. There's A LOT I don't know.

Categories

Resources