Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,846 Members 37,617 Now Online
XDA Developers Android and Mobile Development Forum

[Q] xml problem

Tip us?
 
JT1510365
Old
#1  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 458
Posts: 608
Join Date: Jan 2014
Location: Milford
Question [Q] xml problem

hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?

Note this also happens with other xml files too!

here is a screenshot:

Click image for larger version

Name:	151515.jpg
Views:	15
Size:	265.1 KB
ID:	2792773
 
gr8nole
Old
#2  
gr8nole's Avatar
Recognized Contributor
Thanks Meter 3,234
Posts: 2,101
Join Date: Oct 2010
Location: Lynchburg, VA

 
DONATE TO ME
Quote:
Originally Posted by JT1510365 View Post
hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?

Note this also happens with other xml files too!

here is a screenshot:

Attachment 2792773
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.
>>>>------;;;;----->
The Following User Says Thank You to gr8nole For This Useful Post: [ Click to Expand ]
 
JT1510365
Old
#3  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 458
Posts: 608
Join Date: Jan 2014
Location: Milford
Quote:
Originally Posted by gr8nole View Post
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.

okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!

would you be so kind as to help me set it up on my computer via this messaging way?

also I want to edit .9 pngs and how would i do that properly?
 
JT1510365
Old
#4  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 458
Posts: 608
Join Date: Jan 2014
Location: Milford
Wink apktool

also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
 
gr8nole
Old
#5  
gr8nole's Avatar
Recognized Contributor
Thanks Meter 3,234
Posts: 2,101
Join Date: Oct 2010
Location: Lynchburg, VA

 
DONATE TO ME
Quote:
Originally Posted by JT1510365 View Post
okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!

would you be so kind as to help me set it up on my computer via this messaging way?

also I want to edit .9 pngs and how would i do that properly?
Quote:
Originally Posted by JT1510365 View Post
also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.

You will need java installed, but I don't think you need the entire sdk.

As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
>>>>------;;;;----->
 
JT1510365
Old
#6  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 458
Posts: 608
Join Date: Jan 2014
Location: Milford
Wink now what

Quote:
Originally Posted by gr8nole View Post
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.

You will need java installed, but I don't think you need the entire sdk.

As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
okay where do i go to download the tool and those files like backsmali?

Also I heard you can't decompile systemui.apk unless you put your devices framework-res.apk in the apktool folder, where would that go?

thanks for your help!
 
gr8nole
Old
#7  
gr8nole's Avatar
Recognized Contributor
Thanks Meter 3,234
Posts: 2,101
Join Date: Oct 2010
Location: Lynchburg, VA

 
DONATE TO ME
Quote:
Originally Posted by JT1510365 View Post
okay where do i go to download the tool and those files like backsmali?

Also I heard you can't decompile systemui.apk unless you put your devices framework-res.apk in the apktool folder, where would that go?

thanks for your help!
Give this a try...it should work http://forum.xda-developers.com/show....php?t=2536073

latest Smali and baksmali here https://bitbucket.org/JesusFreke/smali/downloads
>>>>------;;;;----->
 
JT1510365
Old
#8  
JT1510365's Avatar
Senior Member - OP
Thanks Meter 458
Posts: 608
Join Date: Jan 2014
Location: Milford
Quote:
Originally Posted by gr8nole View Post
I downloaded the tool and when i tried to open the tool it just crashed

Tags
android, custom, question, xml
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes