New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Gregalous
Old
#1  
Senior Member - OP
Thanks Meter 2
Posts: 340
Join Date: Jan 2010
Location: The Colony, Texas
Default XML files corrupted after backup

I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.

Anyone know why this is and/or how to fix it?
 
flipzmode
Old
#2  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by Gregalous View Post
I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.

Anyone know why this is and/or how to fix it?
They are a strange mix of binary and hex. It's not a human readable xml.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
Gregalous
Old
#3  
Senior Member - OP
Thanks Meter 2
Posts: 340
Join Date: Jan 2010
Location: The Colony, Texas


So is there any way to edit them?
 
Kcarpenter
Old
#4  
Kcarpenter's Avatar
Senior Member
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
Quote:
Originally Posted by Gregalous View Post


So is there any way to edit them?
Seems like there is a program that will read and convert them to human readable, but you can't edit them and have the changes saved. I will post back when I find it.
-----------------
-HTC EVO LTE - Stock ATM
Google+: Karl Carpenter
FaceBook: http://www.facebook.com/kcarpenter5407
Twitter: @KCarpenter528
 
mkeyslehman
Old
#5  
Senior Member
Thanks Meter 3
Posts: 103
Join Date: Nov 2009
The java program is called AXMLPrinter2 and can be run from a command prompt, which converts to TXT.

I'll refer to Stericson's post here on editing Android XML files