FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

AXMLPrinter2 - Convert Android binary XML to human-readable XML

1,860 posts
Thanks Meter: 15
 
By jashsu, Senior Member on 12th May 2009, 05:09 AM
Post Reply Email Thread
25th August 2012, 12:45 PM |#31  
Junior Member
Thanks Meter: 0
 
More
when i read xml files i get ID's
android:label="@7F090014"
android:icon="@7F020061"

how can i check what String it involve?

i want to get 4ex:
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"

or just names from resources:
ic_launcher.png
name of application

Is it possible? How PackageManager makes it?
 
 
22nd October 2012, 11:06 AM |#32  
MMWolverine's Avatar
Recognized Contributor
Thanks Meter: 4,460
 
More
Very helpful post, thanks!
8th April 2014, 08:25 PM |#33  
And42's Avatar
Junior Member
Flag Moscow
Thanks Meter: 0
 
Donate to Me
More
My version
Hello. I tried this app, but it can't normally convert text with Japanese. Also indents are quite awfull. I modified the app and now decoded file looks like this:
Click image for larger version

Name:	Example.jpg
Views:	221
Size:	207.6 KB
ID:	2675465

Download link: AXMLPrinter2.jar
New command line is: java -jar AXMLPrinter2.jar "path to file" "write to file"
Example: java -jar AXMLPrinter2.jar "C:\file.xml" true
Result file will be: "C:\file.xml.normal"
I hope you'll like it
24th July 2014, 11:52 PM |#34  
Avitohol's Avatar
Senior Member
Flag Varna
Thanks Meter: 75
 
More
Hi mates,

I've got a problem with viewing .xml files inside an .apk file.
I tried to decompile whole SamsungIME.apk file from deodexed XXLTC ROM but without success. Just few .xml files were decompiled correct. The others were missed. Then I've tried to extract just a .xml file with ZIP and tried to decompile it with AXMLPrinter2.jar using:
Quote:

c:\and_test\java -jar AXMLPrinter2.jar compiled_file.xml > decompiled_file.txt

The result was again awful like reported few posts back.

Just 1 row in new file.
Quote:

<?xml version="1.0" encoding="utf-8"?>

And the rest part of file is missing.

Please somebody help and tell how to decompile cerrect .xml files.
THANKS in advance.

... or if somebody can fully decompile SamsungIME.apk and send me it in .zip will be helpful (even it won't solve the problem)
Thanks again.

Here is the file for decompiling.
Attached Files
File Type: apk SamsungIME.apk - [Click for QR Code] (7.02 MB, 20 views)
25th July 2014, 11:20 AM |#35  
ZduneX25's Avatar
Recognized Themer
Thanks Meter: 4,983
 
Donate to Me
More
It decompiles just fine update your apktool.
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