FORUMS
Remove All Ads from XDA

[GUIDE]Ultimate Guide[Decompiling][9 pngs][Theming]

3,713 posts
Thanks Meter: 5,236
 
Post Reply Email Thread
18th October 2015, 04:04 AM |#41  
kirito9's Avatar
Recognized Contributor
Thanks Meter: 1,345
 
More
@PillzP Another great theming guide
6th December 2015, 03:53 PM |#42  
Senior Member
Thanks Meter: 221
 
More
If I want to decompile SecSettings.apk and framework.jar do I need to install framework-res.apk too ? The only thing i need is edit some smali files. Is this guide useful for that? If not can anyone recommend another one?
Thanks you guys.
7th December 2015, 03:54 PM |#43  
Er. Aditya's Avatar
Senior Member
Flag BraveFort
Thanks Meter: 6,180
 
Donate to Me
More
Quote:
Originally Posted by Conito11

If I want to decompile SecSettings.apk and framework.jar do I need to install framework-res.apk too ? The only thing i need is edit some smali files. Is this guide useful for that? If not can anyone recommend another one?
Thanks you guys.

if you just wana edit smali , then just pull classes.dex and use backsmali to decompile that
The Following User Says Thank You to Er. Aditya For This Useful Post: [ View ] Gift Er. Aditya Ad-Free
9th December 2015, 09:11 PM |#44  
Senior Member
Thanks Meter: 221
 
More
Quote:
Originally Posted by Er. Aditya

if you just wana edit smali , then just pull classes.dex and use backsmali to decompile that

Nice but how to do that?
10th December 2015, 06:02 AM |#45  
Er. Aditya's Avatar
Senior Member
Flag BraveFort
Thanks Meter: 6,180
 
Donate to Me
More
Quote:
Originally Posted by Conito11

Nice but how to do that?

create a new folder in c:/
place baksmali.jar , smali.jar, apk into it
now use 7zip to open apk and extract classes.dex into the new folder
and now open terminal into that same folder
and type

Code:
java -jar baksmali.jar -o classout/ classes.dex
that should give you the classout folder
make changes

when your done

Code:
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
this will give you a file called newclasses.dex
replace it in the apk and rename it to classes.dex

try searching on xda , there are alot of guides available
10th December 2015, 03:43 PM |#46  
Senior Member
Thanks Meter: 221
 
More
Quote:
Originally Posted by Er. Aditya

create a new folder in c:/
place baksmali.jar , smali.jar, apk into it
now use 7zip to open apk and extract classes.dex into the new folder
and now open terminal into that same folder
and type

Code:
java -jar baksmali.jar -o classout/ classes.dex
that should give you the classout folder
make changes

when your done

Code:
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
this will give you a file called newclasses.dex
replace it in the apk and rename it to classes.dex

try searching on xda , there are alot of guides available

Thanks very much, my last. .. where can I get this jar files?
10th December 2015, 03:58 PM |#47  
Er. Aditya's Avatar
Senior Member
Flag BraveFort
Thanks Meter: 6,180
 
Donate to Me
More
Quote:
Originally Posted by Conito11

Thanks very much, my last. .. where can I get this jar files?

dude you should learn to search on google / xda , they are like every where
Attached Files
File Type: jar baksmali-2.1.0.jar - [Click for QR Code] (1.11 MB, 38 views)
File Type: jar smali-2.1.0.jar - [Click for QR Code] (955.8 KB, 36 views)
30th January 2016, 10:41 PM |#48  
anonymou21's Avatar
Junior Member
Flag loksado
Thanks Meter: 17
 
Donate to Me
More
How use baksmali and smali jar ?
2nd February 2016, 09:12 PM |#49  
dicksteele's Avatar
Recognized Contributor
Flag California
Thanks Meter: 2,778
 
More
Quote:
Originally Posted by anonymou21

How use baksmali and smali jar ?

Step 1: Put your right hand on your mouse
Step 2: Scroll up and read the posts above yours.
28th March 2016, 08:55 AM |#50  
bravonova's Avatar
Senior Member
Flag Pune
Thanks Meter: 1,683
 
More
really ultimate guide
12th May 2016, 11:27 AM |#51  
Junior Member
Flag Lucca
Thanks Meter: 2
 
More
Thank you for your guide...

I need some help ... i have not experience on this job...
I try to install an old system app on my htc m8.
The system app is "htcmirrorlinkserver", because it work only the first versione (3.10.54) , but on android 6 it's possible to install only the newest( 3.10.65 ... 3.10.68). I've rotted my M8 to delete system app , but when i try to install the old one , error appear... i try to install it from adb (-r -d option) but the reason is: "SDK 21 doesn't support runtime permissions but the old target SDK 23 does". I've tried to decompile, it's ok i have small file , also jar file (dex2jar). bur now i don't how proceed to change sdk library or some else to installe app on android 6.
Do you have tips or help for me?
thankyou
Marco
The Following User Says Thank You to marcofelixiano For This Useful Post: [ View ] Gift marcofelixiano Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes