[Q] Decompiling a file - Samsung Galaxy Star

Is decompiling of jar and apk files only possible on deodexed roms ?
I was trying to decompile framework.jar file but couldn't find the classes.dex file

abhay.unrated said:
Is decompiling of jar and apk files only possible on deodexed roms ?
I was trying to decompile framework.jar file but couldn't find the classes.dex file
Click to expand...
Click to collapse
You need deodexed roms for decompiling buddy.... You can't decompile/modify an odexed jars and apks.. Their classes.dex are optimized and removed from them..
There are scripts/programs you can use to deodex an entire rom. use Google or the Search Bar for that :silly:

Alright !
Thanks for clearing my doubt

abhay.unrated said:
Alright !
Thanks for clearing my doubt
Click to expand...
Click to collapse
No need to say thanks dude, .. just click or tap it.. yes. there's a button..

Done. :good:

abhay.unrated said:
Is decompiling of jar and apk files only possible on deodexed roms ?
I was trying to decompile framework.jar file but couldn't find the classes.dex file
Click to expand...
Click to collapse
Single apps can also be deodexed using certain tools
Sent from my GT-S5282 using Tapatalk

Related

[Q]mdpi-v4

i see some framework-res.apk use mdpi-v4, land-mdpi-v4, en-mdpi-v4, nodpi-v4 in framework-res.apk.
anyone know how to build it?
thx for your answer
agresive said:
i see some framework-res.apk use mdpi-v4, land-mdpi-v4, en-mdpi-v4, nodpi-v4 in framework-res.apk.
anyone know how to build it?
thx for your answer
Click to expand...
Click to collapse
those that you talk about where rebuilded (recomplided) with apktool (or apk manager)...one decompiled it can't be recompiled...when themin you nedd the original framework-res.apk...you theme it and then you recompile
adi4motion said:
those that you talk about where rebuilded (recomplided) with apktool (or apk manager)...one decompiled it can't be recompiled...when themin you nedd the original framework-res.apk...you theme it and then you recompile
Click to expand...
Click to collapse
original framework-res.apk from original ROM? if i use apk manager, how i can do it?

[Q] Can't find smali folder after decompiling systemui.apk/framework-res.apk

Can't find smali folder after decompiling systemui.apk/framework-res.apk​
As the titles says, i'm unable to find smali folder either by decompiling using apktool or using 7zip or winrar or anything... I have hidden files/folder view enabled on my laptop/64bit windows 7. My device is xperia s with stoke ics 4.0.4. I posted here to know if its general. Or is there no smali folder in systemui.apk n framework-res.apk.. Or its something specific to sony's ics? Thanx for clarifying me doubt....
There are none in the framework-res.apk, and they reside in the SystemUI.odex on a stock odexed system - you need to first deodex to get to the smali files.
Sent from my phone's mind
Thanx man...
alteredlikeness said:
There are none in the framework-res.apk, and they reside in the SystemUI.odex on a stock odexed system - you need to first deodex to get to the smali files.
Sent from my phone's mind
Click to expand...
Click to collapse
So now i have to first decompress original firmware to get odex one or in port rom i can get and path pls

[Q] How to decompile JB Apk?

Hi guys.
I have Apk Manager.
And, most of apks don't decompile.
I guess this is due to Api level.
Is there any way to increase the api level in apk manager?
Or is there a mod of apk manager that works with JB.
Please reply asap
masterex567 said:
Hi guys.
I have Apk Manager.
And, most of apks don't decompile.
I guess this is due to Api level.
Is there any way to increase the api level in apk manager?
Or is there a mod of apk manager that works with JB.
Please reply asap
Click to expand...
Click to collapse
Get dsixda's kitchen, it now supports the I9300
Search for my thread on how to theme jb.
Sent from my GT-I9300 using Tapatalk 2
Kangburra said:
Get dsixda's kitchen, it now supports the I9300
Click to expand...
Click to collapse
Dsixda kitchen cannot be used to decompile apks.
Phone_Guru said:
Search for my thread on how to theme jb.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
link please.
Plus. I'm not really talking about theming.
For all general Apks.
Like SecPhone, SecLauncher, SecGallery, SecContacts etc.
Not theming, just xml modding.
 nice querry man
Sent from my GT-I9300 using xda premium
Use the apktool by ibotpeeches..from here
Apart from SecPhone.apk never had any trouble in decompiling recompiling JB apks..
zoot1 said:
Use the apktool by ibotpeeches..from here
Apart from SecPhone.apk never had any trouble in decompiling recompiling JB apks..
Click to expand...
Click to collapse
Ok.
Any way of changing API level in apk manager?
masterex567 said:
Ok.
Any way of changing API level in apk manager?
Click to expand...
Click to collapse
I don't know much about apk manager but in apktools you can change the api level by -a command..it is generally used while deodexing ..
however, api level will not give you troubles if you use the latest apktool..it included all the magic numbers to work with JB apps..
zoot1 said:
I don't know much about apk manager but in apktools you can change the api level by -a command..it is generally used while deodexing ..
however, api level will not give you troubles if you use the latest apktool..it included all the magic numbers to work with JB apps..
Click to expand...
Click to collapse
Ok.
So i've downloaded the apktool.jar version 1.5.0
alongside the new aapt.exe
Should i use the old apktool.bat to work with this one?
masterex567 said:
Ok.
So i've downloaded the apktool.jar version 1.5.0
alongside the new aapt.exe
Should i use the old apktool.bat to work with this one?
Click to expand...
Click to collapse
Follow the below steps:
Place both Apktool and aapt.exe in the windows directory
have java installed (you might already have it)
right click inside the windows directory, in any clean space, choose open command prompt here
use:
Code:
java -jar apktool.jar d your <apkpath> <destinationfolderpath>
to decompile and
Code:
java -jar apktool.jar b <yourdestinationfolderpath> <yourfinalapkpath>
to recompile the final apk...just drag and drop the folders/apks to cmd, it will add the path
drag and drop the android.manifest.xml and meta-inf files from the original apk to the final apk after you are done..open both the files with 7zip/winrar
masterex567 said:
Dsixda kitchen cannot be used to decompile apks.
Click to expand...
Click to collapse
Funny it works for me.
Kangburra said:
Funny it works for me.
Click to expand...
Click to collapse
?
I thought dsixda kitchen could only deodex and sign apk.
There's no option of decompiling.
Is there?
Or give me the option number..
masterex567 said:
?
I thought dsixda kitchen could only deodex and sign apk.
There's no option of decompiling.
Is there?
Or give me the option number..
Click to expand...
Click to collapse
From the main menu
0 - Advanced options
18 - Plugin Scripts
5 - Decompile & Compile Deodexed File
This is version 2.06 (current).
When it has finished the decompile make the changes then press enter and it will recompile the apk.
Kangburra said:
From the main menu
0 - Advanced options
18 - Plugin Scripts
5 - Decompile & Compile Deodexed File
This is version 2.06 (current).
When it has finished the decompile make the changes then press enter and it will recompile the apk.
Click to expand...
Click to collapse
Ok.
Got it.
Just that my plugin scripts is at 24.
Hit that button for you.

[Q] Samsung galaxy SII with smooth scroll mod

First, sorry for bad english.
I wanted to try this mod: http://forum.xda-developers.com/showthread.php?t=1411317 on my I9100 running Mhyegen rom 2.0 final but when I try to extract my framework.jar it only contains META-INF, classes.dex and preloaded-classes. I cant see any .odex files in my framework folder so I assume that im deodexed Is there something wrong with my rom or am I doing something wrong?
Anyone? I cant post in developement forum :/
Odex files is not inside of apk.
Go to system/app/ if there odex file your rom is odex if not it is deodex.
grisoxxl said:
Odex files is not inside of apk.
Go to system/app/ if there odex file your rom is odex if not it is deodex.
Click to expand...
Click to collapse
Sorry, mean I dont have any .odex files in my app folder. I whrite that on hurry so I made mistake :/
Still needing help :/
Sent from my GT-I9100 using xda premium
Bumb
RICKROCKER said:
Bumb
Click to expand...
Click to collapse
If there aren't any .odex file in system/app folder means you have a deodexed rom.:good:

(req)android.policy.jar

Hi
can someone give me the stock 587 rom android.policy.jar?
thx guys
poria1999 said:
Hi
can someone give me the stock 587 rom android.policy.jar?
thx guys
Click to expand...
Click to collapse
in attach you have android.policy.jar + android.policy.odex (if you need that too)
Thx bro
I open the androidpolicy.Jar and I can't find the classes.dex ...
Where is it?
poria1999 said:
Thx bro
I open the androidpolicy.Jar and I can't find the classes.dex ...
Where is it?
Click to expand...
Click to collapse
You have to decompile it then you will get .dex file.
僕のLT18iから送られてきた
popthosegaskets said:
You have to decompile it then you will get .dex file.
僕のLT18iから送られてきた
Click to expand...
Click to collapse
Hi thx for ur help...
how I can decompile it?
I think I have to firstly find .dex file after that decompile it
take look at this thread
http://forum.xda-developers.com/showthread.php?t=2251719
poria1999 said:
Hi thx for ur help...
how I can decompile it?
I think I have to firstly find .dex file after that decompile it
take look at this thread
http://forum.xda-developers.com/showthread.php?t=2251719
Click to expand...
Click to collapse
Open the .jar file using 7zip.
You can then extract .dex file from the .jar file.
僕のLT18iから送られてきた
popthosegaskets said:
Open the .jar file using 7zip.
You can then extract .dex file from the .jar file.
僕のLT18iから送られてきた
Click to expand...
Click to collapse
Hi
There is not any .dex file...
only thing is there is this
android.policy\META-INF\MANIFEST.MF
Try this method:
http://forum.xda-developers.com/showthread.php?t=1296802
僕のLT18iから送られてきた
Hi
Thx from everyone that who helped me my finally I could decompile android.policy.jar...
For who don't know :for decompile stock odexed rom jar files u have to deodex ur Rom( the jar file u want to decompile)first...

Categories

Resources