Decompiling an app

lishron

Member
Nov 17, 2012
21
1
0
I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time

This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.

Thread closed.



Sent from my SGH-I777 using xda app-developers app
 

Nick281051

Senior Member
May 5, 2010
4,803
1,365
0
Northport, NY
I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time

This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.

Thread closed.



Sent from my SGH-I777 using xda app-developers app
If you search xda or google you will find plenty of tools that will do that for you.
 
  • Like
Reactions: lishron

lishron

Member
Nov 17, 2012
21
1
0
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much

Sent from my SGH-I777 using xda app-developers app
 

Nick281051

Senior Member
May 5, 2010
4,803
1,365
0
Northport, NY
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much

Sent from my SGH-I777 using xda app-developers app
Apktool, the app by virtuous team, and i think apk manager

Sent by from my Zanpakuto using Getsuga Tensho!
 
  • Like
Reactions: lishron

lishron

Member
Nov 17, 2012
21
1
0
Thanks so much however after posting this I updated to the newest aokp and the issue is resolved. It does still have the sender's name overlapping the date but not the picture overlapping the message. Thanks so much and I will still try the suggested APK editor.

Sent from my SGH-I777 using xda app-developers app
 

Nizda1

Senior Member
Nov 12, 2011
410
84
48
Go check out the Android development guide by Google, you can get several tools to decompile an apk. As well as .dex file

Sent from my SGH-I777 using Tapatalk 2
 
  • Like
Reactions: lishron

OneOfMany07

Member
Feb 13, 2012
30
2
0
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.


But on to your original question...

Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
 
  • Like
Reactions: lishron

zelendel

Senior Member
Aug 11, 2008
23,366
20,584
253
The post was mine and it was not rude in the least. The information for what you need to do is posted. Has been for a few years now. Ever since people started doing customs themes. You will not be able to do this without a computer. All you have to do is decompile the apk, find the XML that displays the mms message and adjust the spacing by a few pixels. And then recompile the apk. There are tut all over the place on how to do this

You may have to be creative in your searches to be lead where you need to go but that is part of the learning that android requires. Sometimes you need to think outside the box to get the outcome you desire.




Batcom2
 

zelendel

Senior Member
Aug 11, 2008
23,366
20,584
253
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.


But on to your original question...

Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
This only works for 35% of the apk as the XML files are encrypted until decompiled as are the .9 pngs

Batcom2
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone