How to change an app's xml file?

Discussion in 'Android Hacks and Help' started by Benny, Feb 1, 2010.

  1. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Anyone know how to change an app's xml file?
    I tried to by changing it in the nandroid back up, but when I tried restoring the nandroid, I got a Status 1 error.

    Anyone know a different way to change an apps xml file?
     
  2. ashkev843

    ashkev843 Member

    Joined:
    Nov 22, 2009
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    No but I would love to know. I have tried with eclipse and xml notepad and neither of them have worked for me.
     
  3. dork5002002

    dork5002002 New Member

    Joined:
    Jan 19, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    What exactly are you trying to change?
     
  4. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I want to change the data in an apps xml file, so I can change the settings of the app.
    The xml files are located in data/data/app name/app name.xml,
    ^That's where its located in the nandroid.
     
  5. ChevyNo1

    ChevyNo1 Premium Member
    Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
    You have to regen the MD5 checksum after modifying data.tar ...
     
  6. kevdog

    kevdog Member

    Joined:
    Nov 14, 2009
    Messages:
    722
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    How did you try doing this? Please post more specifics on what app you were trying to modify, and what commands you were using. It varies depending on what you want to do? xml files are usually modified in a hex editor, but some apks need to be signed.
     
  7. ChevyNo1

    ChevyNo1 Premium Member
    Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
    It sounds like he's trying to change a basic text xml that is created in /data/data/<appname> ... which should be easy. To your point changing an XML in an apk is very different ...
     
  8. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    How do I regen the MD5 checksum?
     
  9. ChevyNo1

    ChevyNo1 Premium Member
    Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
  10. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I tried doing what you told me to do but I still get an "exited with satus 1" error.
    Double checked all the files Md5's and it still didn't work. :mad::mad:
     
  11. tdawg5480

    tdawg5480 Member

    Joined:
    Nov 25, 2009
    Messages:
    370
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    CT
    Ratings:
    +0
    to edit android xmls it must be converted to text (google axmlprinter2) you can then read the text look for the value youd like to change then use a hex editor to edit the xml. This is how my volume slider and progressbar have been edited from yellow to blue :) and if you screw up in hex you can be bricked..just warning you from past experience
     
  12. Benny

    Benny Member

    Joined:
    Feb 1, 2010
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    The xml's are basic text not hex.
    BTW can you upload those files, I would like to make my volume slider and progress bar blue.
     
Search tags for this page
android edit app xml
,
edit xml app android
,
editor xml android
,
how to change app xml
,
how to edit android xml files
,
how to edit xml file in android
,

how to edit xml files android

,
how to edit xml files on android
,
how to edit xml with droid
,
xml file aaditer apps for android