Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Jelly Bean]Deodexing services.odex and SecEmail.odex

$
0
0
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:a m.jar:android.policy.jar:android.test.runner.jar:a pache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.andro id.future.usb.accessory.jar:com.android.location.p rovider.jar:com.google.android.maps.jar:com.google .android.media.effects.jar:com.google.widevine.sof tware.drm.jar:com.samsung.device.jar:com.yamaha.an droid.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:f ramework.jar:GlobalConfig.jar:ime.jar:input.jar:ja va.awt.jar:javax.obex.jar:kies_feature.jar:libvtma nagerjar.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.ja r:sechardware.jar:secmediarecorder.jar:svc.jar:twf ramework.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:a m.jar:android.policy.jar:android.test.runner.jar:a pache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.andro id.future.usb.accessory.jar:com.android.location.p rovider.jar:com.google.android.maps.jar:com.google .android.media.effects.jar:com.google.widevine.sof tware.drm.jar:com.samsung.device.jar:com.yamaha.an droid.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:f ramework.jar:GlobalConfig.jar:ime.jar:input.jar:ja va.awt.jar:javax.obex.jar:kies_feature.jar:libvtma nagerjar.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.ja r:sechardware.jar:secmediarecorder.jar:services.ja r: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.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>