Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Sent from my HERO200 using XDA App
&RoidRage said:
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Great advice!
lol j/k
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
Do a search in the forums. There are threads I have started and others as well that explain and gives u apps to help
Powers16 said:
Right click on the file, click open with and choose notepad to view its raw formating. if you want a cleaner look use word to view the XML file. Be careful not to save it in word though it can garble the file. you will just have to play with it to see what works for you.
IE definitely is not a good way to view and edit XML files.
Click to expand...
Click to collapse
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
dsMA said:
I have tried viewing in both notepad and word pad and both of them could not read the files that is why I tried to find an xml file editor online lol :-(
Click to expand...
Click to collapse
Use smali and backsmali. If you download this little toolkit from here you should be able to edit them in notepad++. I forgot how to use them but its pretty easy.
Maybe I'm wrong--been so long since I've messed with this stuff
dsMA said:
Hi Everyone
I feel like an idiot asking this question but how can what can I use to read the xml files that are in the apk files? Every time I double click on them and IE opens I get an error. I then downloaded an xml editor and when I tried to open it in there I also got an error.
Click to expand...
Click to collapse
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Decad3nce said:
The best way is to use brut.all's apktool(http://code.google.com/p/android-apktool/) it does all the difficult work for you.
^ Greatest tool ever.
Click to expand...
Click to collapse
Hey did u add the axmlprinter.bat file I posted on ur resource page
Papa Smurf151 said:
Hey did u add the axmlprinter.bat file I posted on ur resource page
Click to expand...
Click to collapse
Yep, with your description
Decad3nce said:
Yep, with your description
Click to expand...
Click to collapse
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
I effing love your apktool. Use it daily!
Papa Smurf151 said:
Woohoo I should tag the link and put it in my sig. That is if I still have room. Lol
Click to expand...
Click to collapse
Go ahead man...
Brut.all said:
XML files are compiled to binary form when app is built. This is why you can't open them.
AFAIK my apktool is only one tool, which decompiles XMLs fully and gives you possibility to compile them back. There is also AXMLPrinter tool, but it doesn't decompile all data and it's used mainly to help with hex editing, cause it can't compile file back.
smali/baksmali doesn't have anything to do with XML files.
Click to expand...
Click to collapse
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Papa Smurf151 said:
Dude I love ur apktool. Did u see the axmlprinter.bat file that dec put in his resources page. It works great with axmlprinter2 file. It takes away all the typing in the cmd and does it for u and shows u the readable file in its own small window. A suggestion...maybe adding that to ur apktool would be a great addon
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/issues/detail?id=70
Brut.all said:
http://code.google.com/p/android-apktool/issues/detail?id=70
Click to expand...
Click to collapse
I understand ur view. I didn't make the bat file just thought it was useful and u might like it. BTW words on post instead of just a link really helps in communicating around here. Just sayin
Papa Smurf151 said:
BTW words on post instead of just a link really helps in communicating around here. Just sayin
Click to expand...
Click to collapse
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Brut.all said:
Yeah, I know, sorry for that.
I just like to explain my point of view very precisely to avoid misunderstanding. And I ain't English speaker, so it takes me some time to describe it. I could do just two things to not waste time on repeating myself: give a link or give a link and place a quotation beneath it ;-) Maybe second option is better
Click to expand...
Click to collapse
Yeah second option would be better but I wasn't bashin bro u do great work
You can also view and edit binary xml's in root explorer, as long as they haven't been hex edited. Skews up the formatting some how.
Sent from my HERO200 using XDA App
I seem to be addicting to wiping and flashing daily....
I was wondering if there was a way to edit the setup wizard to already have my gmail login information? Sort of like modifying build.prop to have 140 dpi before flashing....Any help would be much appreciated. Thanks.
Sure...just give me your gmail address and your password >:]
kyouko said:
Sure...just give me your gmail address and your password >:]
Click to expand...
Click to collapse
haha looks like I'll be going through xml's. Thanks anyway!
dburg84 said:
haha looks like I'll be going through xml's. Thanks anyway!
Click to expand...
Click to collapse
I would imagine that the info is stored somewhere in /data/data/ so you could include the folder in a flashable zip - which isn't too hard to make
Otherwise for making it completely included in the apk, as if its a cookie on a website where your info will automatically show up:
Decompile the apk and check out the folder /res/values/ and look at those .xml's Specifically the strings.xml file.... I think.
If nothing's in any of the .xmls or /data/data you should check out the smali data from the apk. Which most likely will probably be a big pain in the ass because there's usually quite a few smali files in apks and they generally have a fairly large number of strings in each one.
Hope this helps
kyouko said:
I would imagine that the info is stored somewhere in /data/data/ so you could include the folder in a flashable zip - which isn't too hard to make
Otherwise for making it completely included in the apk, as if its a cookie on a website where your info will automatically show up:
Decompile the apk and check out the folder /res/values/ and look at those .xml's Specifically the strings.xml file.... I think.
If nothing's in any of the .xmls or /data/data you should check out the smali data from the apk. Which most likely will probably be a big pain in the ass because there's usually quite a few smali files in apks and they generally have a fairly large number of strings in each one.
Hope this helps
Click to expand...
Click to collapse
Thank you very much. I will look into it. Pretty sure I found it in strings.xml Will let you know.
accidental post
dburg84 said:
Thank you very much. I will look into it. Pretty sure I found it in strings.xml Will let you know.
Click to expand...
Click to collapse
did you ever get that working?
My theme has a lot of corrupted 9.png in it, anyone out there know how to fix them?
ryude said:
My theme has a lot of corrupted 9.png in it, anyone out there know how to fix them?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=11018740
silvertag said:
http://forum.xda-developers.com/showthread.php?p=11018740
Click to expand...
Click to collapse
I already used search and saw that thread, but it doesn't answer my question.
*.9.png files require a one pixel black border around them to work correctly.
http://forum.xda-developers.com/showthread.php?t=724778
read at the end of post #1.
max_82 said:
http://forum.xda-developers.com/showthread.php?t=724778
read at the end of post #1.
Click to expand...
Click to collapse
Thank you, good information.
Decompile the original .9 PNG and paste the modified one over it, then recompile.
Sent from my Captivate.
I've been working on a theme and I have been trying to change the color of the bar that shows up for the volume control and for downloads, etc. I have looked all over the ROM and themes trying to find the .png for it, but I can't find it. Can anyone tell me what it's called and where it's located? Thanks in advance.
andy442 said:
I've been working on a theme and I have been trying to change the color of the bar that shows up for the volume control and for downloads, etc. I have looked all over the ROM and themes trying to find the .png for it, but I can't find it. Can anyone tell me what it's called and where it's located? Thanks in advance.
Click to expand...
Click to collapse
I think u should be able to find it in "framework-res.apk" file under settings/framework
framework-res.apk\res\drawable\progress_horizontal.xml
Kaik541 said:
framework-res.apk\res\drawable\progress_horizontal.xml
Click to expand...
Click to collapse
+1.
Its not a .png you can just edit in photoshop. You have to decompile and edit the progress_horizontal.xml file.
Here's a good guide:
http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
andy442 said:
I've been working on a theme and I have been trying to change the color of the bar that shows up for the volume control and for downloads, etc. I have looked all over the ROM and themes trying to find the .png for it, but I can't find it. Can anyone tell me what it's called and where it's located? Thanks in advance.
Click to expand...
Click to collapse
what color do you want I can change the hex code for you without using apk manger.pm me and let me know
dfuse06 said:
what color do you want I can change the hex code for you without using apk manger.pm me and let me know
Click to expand...
Click to collapse
black for me pls.
diablo009 said:
black for me pls.
Click to expand...
Click to collapse
I need your framework.apk
Sent from my GT-I9000 using XDA App
Thanks to all! A BIG help!
andy442 said:
Thanks to all! A BIG help!
Click to expand...
Click to collapse
in this thread I posted a guide on how to do this
http://forum.xda-developers.com/showthread.php?t=896339&page=98
+1 10 chars
I know how to modify all files of an apk. I just don't know what file to edit.
The screeny shows what needs fixing. It's the search suggestions/history screen in the market.
What xml contains the color code for that black on black text of the vending.apk? I'm assuming it's in the vending.apk.
+1 thanks to the quickest correct response.
mod777 said:
I know how to modify all files of an apk. I just don't know what file to edit.
The screeny shows what needs fixing. It's the search suggestions/history screen in the market.
What xml contains the color code for that black on black text of the vending.apk? I'm assuming it's in the vending.apk.
+1 thanks to the quickest correct response.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=11879967#post11879967
here is a link from the I9000 thread that should help u out