[Q] Which is the best XML editor? Please Help! - Xperia Arc Q&A, Help & Troubleshooting

Which is the best XML editor? Please Help!
I need one to edit xml files within the apk. It would be great if any one help.
Thanks in advance!

I use notepad ++..!
Fuel The Droid©

Fuel-The-Droid said:
I use notepad ++..!
Fuel The Droid©
Click to expand...
Click to collapse
Tried this. but it gives me error.

auni said:
Tried this. but it gives me error.
Click to expand...
Click to collapse
What kine of error?
Sent from my LT15i using XDA

Fuel-The-Droid said:
What kine of error?
Sent from my LT15i using XDA
Click to expand...
Click to collapse
Bro if u in to xml editing, then can u help me in a issue. I need the "DefaultThemes.apk" file containing more than 7 themes. I need a file which can contain 10-12 themes.
as u may see in my signature that i am in to theme making, if u can help then i will b grateful and ur name will alwz be in my Theme thread credit line.
I don't much abt Xml btw.

auni said:
Bro if u in to xml editing, then can u help me in a issue. I need the "DefaultThemes.apk" file containing more than 7 themes. I need a file which can contain 10-12 themes.
as u may see in my signature that i am in to theme making, if u can help then i will b grateful and ur name will alwz be in my Theme thread credit line.
I don't much abt Xml btw.
Click to expand...
Click to collapse
But i aint into any section...
I jst keep trying different stuff, either be it rom or theme,
I tried deleting some stock themes...so opened the related xml files but what i saw was...null null qnd lots n lots of null stuff! So i deleted the related xml and png files.
But the themes are still there.
I suggest you to copy the xml files and rename it, the name should be related to your theme. Just see the original xml files, you'll get an idea!
And one more thing...you really good at themes..i really love your job!
Sent from my LT15i using XDA

Pleasure Bro. Thanks i will try that.

Try eclipse, or notepad ++

Try experimenting with classes.dex and resources.arsc in the default theme.apk file. What we gotta do to remove or add more themes?? Still working on it!
Sent from my LT15i using XDA

The deleting thing worked mate! :-D
P.S. I just played with the res folder. Try changing other things and the theme manager wont work! There is also some signing **** in the META-INF folder...so adding more themes might be a confusing and tiring job as even am new to editing xml files. But we will find a way....
Taking a break!
Ciao! B-)
Fuel The Droid©

the best xml editor
I used Amaya which is made by the w3c

tulajay7 said:
I used Amaya which is made by the w3c
Click to expand...
Click to collapse
W3c also got some great tutorials for xml!
Sent from my LT15i using XDA

Related

[Q] How to edit sense button colors?

I'm developing a ROM and am having some difficulties in editing some of the buttons, when I edit the OK / Cancel buttons I get it defected in the rom.
I am guessing that it could be because their indexed button, but I converted to RGB then back to indexed again, any suggestion?
They r .9 files. Are u running draw9patch and then recompiling them. If not they will look very blurry.
Papa Smurf151 said:
They r .9 files. Are u running draw9patch and then recompiling them. If not they will look very blurry.
Click to expand...
Click to collapse
thanks for the answer, i am using draw9patch now, and then just ctrl+s to save, should be fine right?
raafaell said:
thanks for the answer, i am using draw9patch now, and then just ctrl+s to save, should be fine right?
Click to expand...
Click to collapse
U save them yes but then have to compile them. Google search xultimate-d9pc xda and go to site and get appropriate file. Then put into correct folders and click on the .exe file. Look in the done folder to find ur correct .9 files. U know how to use draw9patch correct? If not then search xda for my everything Android in evo development section. Dl files. It has the ultimate d9pc and instructions on how to use it plus how to use draw9patch. It just has a bunch of other stuff in there also.
http://forum.xda-developers.com/showthread.php?t=1320891 check this thread out
And this one
http://forum.xda-developers.com/showthread.php?t=944289
Papa Smurf151 said:
http://forum.xda-developers.com/showthread.php?t=1320891 check this thread out
And this one
http://forum.xda-developers.com/showthread.php?t=944289
Click to expand...
Click to collapse
i follow the intro to themeing thread
Papa Smurf151 said:
http://forum.xda-developers.com/showthread.php?t=1320891 check this thread out
And this one
http://forum.xda-developers.com/showthread.php?t=944289
Click to expand...
Click to collapse
Thanks a bunch

[Mod] Sliding Window Effect !!

This Mod is for ICS ROMs
Hello
I did find new effect, I don't know if it is already known to others but I did search about it and find nothing.
Anyhow, I named it "Sliding Window Effect"
To see the sliding window effect !! here is it on youtube:
http://youtu.be/NeVrvoo8jO4
How to do this Mod:
Decompile SystemUI.apk
Open SystemUI\res\values\bools.xml
Search for
Code:
<bool name="config_useCaptureView">false</bool>
Change it to
Code:
<bool name="config_useCaptureView">true</bool>
Now Compile it and enjoy this effect
BTW this Mod will be added to my Kitchen in the next ver.
If you liked my work encourage me by small donation HERE .... and if you will not...please click Thanks button.
Pretty cool effect, good work dude.
i will try to add in my rom thanks.
Looks cool mate. Looking forward to have it in my rom thx :thumbup:
cool mod, already trying but it gets annoying after half-day
anyway thanks thanks thanks and keep up the good work
your tool is awesome, and i m gonna pm you for a particoular request
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
siberian tiger said:
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
Click to expand...
Click to collapse
i agree.i haven't used thi mod but gave 5 stars.coz it's something different and looks nice.
5 stars here too!
no matter how much i like this mod, the important thing is that Gangs_kid shared a nu mod so 5 stars!
Been using this for a while but haven;t included it in my rom since it breaks manual brightness adjustment. I'm in the process of making a toggle for it.
Mirko ddd said:
cool mod, already trying but it gets annoying after half-day
anyway thanks thanks thanks and keep up the good work
your tool is awesome, and i m gonna pm you for a particoular request
Click to expand...
Click to collapse
I did get you pm and I replied
shoman94 said:
Been using this for a while but haven;t included it in my rom since it breaks manual brightness adjustment. I'm in the process of making a toggle for it.
Click to expand...
Click to collapse
What did you mean by "it breaks manual brightness adjustment" because I didn't notice a thing.
Please explain it to me so that I will try to find a solution for it.
Edit: I get it now and I will start finding fix for it
good work bro. hamooooooody
we r waiting 4 ur a new rom نسخة الايسكريم
وراك وراك
Can Anybody upload a video for the effect ?
and I'm not a developer ,how can I edit my system file step by step
Wow
Enviado desde mi GT-I9100 usando Tapatalk 2
Kadhim7 said:
Can Anybody upload a video for the effect ?
and I'm not a developer ,how can I edit my system file step by step
Click to expand...
Click to collapse
There is a video on youtube !! at the thread.
There are many threads explaining how to decompile on the forum also there is my Kitchen which will decompile and compile for you
GanGs_KiD said:
There is a video on youtube !! at the thread.
There are many threads explaining how to decompile on the forum also there is my Kitchen which will decompile and compile for you
Click to expand...
Click to collapse
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
siberian tiger said:
This is nice!!!
Voted 5 stars,why people have so hate/evil/jealous inside them?
Click to expand...
Click to collapse
Bcoz 90% of xda is made up of morons.
Good work, OP.
---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Errors during compilation/recompilation? which rom, additional mods like JKay. Info required.
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Think your missing the signature of the apk, best to copy the classes.dex, reaources.arsc and the res folder over from the compiled apk to the original SystemUI.apk that you have
Sent from my GT-I9100 using xda premium
I'm using wan am log from 12 with gray Kay theme
I want to learn how can I create my one notification bar?
Yes error appear could not find sourced :banghead:
Sent from my GT-I9100 using xda premium
Kadhim7 said:
Look what I did is
Extract systemUI.apk frim my phone
decompile it by using your kitchen
edit some png image
compile it
and copy it to my system is it ok ?
OMG MY My notification bar is just Gooooone *_*
Click to expand...
Click to collapse
Do it again but before starting you need to install framework-res.apk and twframework-res.apk Plz write your future issues to the kitchen thread so that others will benefit from the answers.
soyef said:
Think your missing the signature of the apk, best to copy the classes.dex, reaources.arsc and the res folder over from the compiled apk to the original SystemUI.apk that you have
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Thank you FYI my kitchen will not sign the apk in fact it will keep your original signature YEAH
GanGs_KiD said:
Do it again but before starting you need to install framework-res.apk and twframework-res.apk Plz write your future issues to the kitchen thread so that others will benefit from the answers.
Thank you FYI my kitchen will not sign the apk in fact it will keep your original signature YEAH
Click to expand...
Click to collapse
install framework-res.apk and twframework-res.apk ?
I don't understand
they already in my system phone

Cm9 default theme

how do i change default cm9 theme!?
Hi.I will try to help you.So:
Here is link for themes compatible with CM9/AOKP: http://forum.xda-developers.com/showthread.php?t=1643406
Here is LCD Density modder: https://play.google.com/store/apps/...re=search_result#?t=W251bGwsMSwxLDEsImNvbS5ia XJkYXBpLmFuZHJvaWQuZHBpIl0
And here is a tutorial for "how to install a theme on cm9" : http://forum.xda-developers.com/archive/index.php/t-1668910.html
Hope i helped.Have a good night and sorry for my English.
Thanks but you miss understood i mean like when you flash the rom it applies the system theme i want to change it too another theme
+1
please
Romiui said:
+1
please
Click to expand...
Click to collapse
Install the CM9 theme you want and apply it in Settings>Themes..
varun26296 said:
Install the CM9 theme you want and apply it in Settings>Themes..
Click to expand...
Click to collapse
Dud !!
I know thattt
Am making from !! I want to make my theme default theme .
The system cm theme always the default
I make them I need it default and I need to delete the system theme
Got it ??
Romiui said:
Dud !!
I know thattt
Am making from !! I want to make my theme default theme .
The system cm theme always the default
I make them I need it default and I need to delete the system theme
Got it ??
Click to expand...
Click to collapse
So you want to set a Theme default during the first boot..
I don't exactly how to do it but you could ask @thehacka1 about it..He can help you with that..
varun26296 said:
So you want to set a Theme default during the first boot..
I don't exactly how to do it but you could ask @thehacka1 about it..He can help you with that..
Click to expand...
Click to collapse
I send him and am waiting his replay =)
Thanks dud ... =)
I'm here. Now I'm guessing you want to change default cm theme to your preference on boot. You will have to theme framework. Give me the theme you want and the rom. I will change the system theme.
Sent from my GT-I8190N using xda app-developers app
thehacka1 said:
i'm here. Now i'm guessing you want to change default cm theme to your preference on boot. You will have to theme framework. Give me the theme you want and the rom. I will change the system theme.
Sent from my gt-i8190n using xda app-developers app
Click to expand...
Click to collapse
ok ! =)
btw . Can u make guide for that please ?
We all need it to save ur time =)
Romiui said:
ok ! =)
btw . Can u make guide for that please ?
We all need it to save ur time =)
Click to expand...
Click to collapse
Actually I only need a link to the theme.apk. Sorry about that.
Sent from my GT-I8190N using xda app-developers app
thehacka1 said:
Actually I only need a link to the theme.apk. Sorry about that.
Sent from my GT-I8190N using xda app-developers app
Click to expand...
Click to collapse
AHA !
Please Follow ( http://www.mediafire.com/download/o1f9abd4a47c94t/CM-Z1.apk )
Thnaks
IS THAT RELATED ?
You can start by just copying and extracting the framework-res.apk in the system/framework folder of any theme. I recommend using a stock deodexed theme template as this will give you a good foundation to build from. After you extract the framework-res.apk look in the res/drawable-mdpi folder. That is where most of the icons will be that are used for theming. You can pull any of the .png's and edit them this way. DO NOT mess with any of the icons labeled .9.png when editing the framework-res.apk this way (see info on .9's below). And don't (generally) don't change the size of the png's you edit.
When getting started the best way I found to figure out which images are used where was to flash the same theme as the one I am editing to my phone so I can look at the phone and try to figure out where the icon (image) is being used. If I still can't find it then I will take my best guess and color the image something bright like red or another color thats not used in the theme I'm making. Then I put the color edited icon in my theme and flash it (see below) then go through my phone and find whats red.
After you edit all the .png's you want and are ready to put your theme back together:
Open a copy of the original theme that you used as a base and open the system/framework/framework-res.apk in 7zip. DO NOT extract it. Just open it. Then go to res/drawable-mdpi (or whatever folder you edited the icons in) and place your edited icons back into this folder. After you finish, close 7zip, rename your new theme so you don't confuse it with the theme template you are using and flash away.
I'm not going to go into great detail about how to do the things below because I simply don't have the time. I have given you enough information that you should be able to google and look for guides on youtube that will get you through the process below.
When editing .9.png's (commonly refered to as .9's) you need to pick up some software. First you'll need to download and install the jdk and jre. Google them. They are on Java's web site. Once you get those installed you'll need to get apk tool or apk manager, I prefer apk tool myself, and decompile the framework-res.apk to be edited.
If you edit the .9's but stay away from that one pixel wide border you won't have to patch your .9's. This is what I do. When I open a .9 to edit the first thing I do is draw a selection box around the image making sure to stay clear of the one pixel wide border. This way all my changes stay inside the selection box. If you ever do decide you need to patch your .9's there is a program called draw9patch that will do this for you.
Happy Theming!!
You just wrote your own guide.
Sent from my GT-I8190N using xda app-developers app
thehacka1 said:
You just wrote your own guide.
Sent from my GT-I8190N using xda app-developers app
Click to expand...
Click to collapse
ok ,, but i still waiting ur Theming

lost statusbar after modifying

Hi all, first i'm sorry for my poor english and thanks to anyone can help me After long time of searching how to modify an apk, i decided to modify systemui.apk to change notification pulldown background. i was very happy when i decompile, modified and re-compile in success. And i put modified apk to phone and waiting for good result.But i lost my statusbar and home button was in wrong position ( plz look at attached image ) So i tried 2 way to sign modifid apk : use winrar add META IFF folder straight to new apk and in other way i put back resource.arc file to the new apk after extracted from it. Hmm the resut was not like i hope. So any one here can tell me which step i was wrong or something like it and how to fix to get better result
Again thank in advance to everyone :good:
It's probably the image that's wrong.
You try to flash the rom or use the Backup and then set the lock screen by the member Xda post
XperienceD said:
It's probably the image that's wrong.
Click to expand...
Click to collapse
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Oohhlala said:
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Click to expand...
Click to collapse
What have you edited?
Sent from my CM9'd Arc
XperienceD said:
What have you edited?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
deleting a line in .xml file and put an image.png into drawable-hdpi
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
XperienceD said:
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Oohhlala said:
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Click to expand...
Click to collapse
What tool, what guide???
Sent from my CM9'd Arc
XperienceD said:
What tool, what guide???
Sent from my CM9'd Arc
Click to expand...
Click to collapse
tool from here : http://forum.xda-developers.com/showthread.php?t=1374394
guide from here : http://forum.xda-developers.com/showthread.php?t=1803813
Upload the unmodified apk and I'll take a look when I get home.
Sent from my CM9'd Arc
Delete the public.xml and recompile and report back.
XperienceD said:
Delete the public.xml and recompile and report back.
Click to expand...
Click to collapse
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Oohhlala said:
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Click to expand...
Click to collapse
And did it work? I'm on CM9 so can't test it.
XperienceD said:
And did it work? I'm on CM9 so can't test it.
Click to expand...
Click to collapse
no, it didn't work, the statusbar still disappeared

[Q] Edit system/framework/services.jar

Can anyone fill me in on details of how to edit java executable files? I would like to remove the GPS icon from the notification bar in the ROM I am using and the best I could come up with is this: The file I need to change is in system/framework/services.jar
Better yet, does anyone have a flashable zip with an edited services file that has no GPS icon? I would like one that works with Sense 3.0 ROMs.
If you use gimp or photoshop its pretty easy just make the GPS.png file or what ever its named in the framework-res.apk and make it transparent.
Then zip the app and sign it with a META-INF signer.
Sent from my EVO using xda premium
Or you could replace the picture itself with an empty picture so that when GPS is on and so are other radios, there won't be a random empty space there. Also, to explain how to edit the "java executable", let me explain how java works
So the reason that java is great is that its cross platform. But how? So when a .jar file is created, that's actually not 100% compiled itself, its more like 60/70% of the way there. And that's where the JRE comes in. When you open a .jar file, the code is compiled the rest of the way into bytecode that the specific OS its running on can interpret.
So there is really no such thing as a "java executable". The "jar" format is basically just a ZIP file with partially compiled code, so what you need to do is extract all the files from it (use 7Zip or something) and then get a .class decompiler (I recommend JD-GUI, its free and one of the best out there. It also has an option to decompile all the files into .java files and packages it into a .zip) and then just look at the source code. The problem is to find where exactly the GPS icon is set up, because when you decompile it, its going to be a huge mass of folders and folders and folders of files
Sent from my PG06100 using xda premium
lreyes said:
If you use gimp or photoshop its pretty easy just make the GPS.png file or what ever its named in the framework-res.apk and make it transparent.
Then zip the app and sign it with a META-INF signer.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Thank you very much for your reply. The information I originally found pointed me in the wrong direction. I found the images I want to edit in the data\sysapp\SystemUI.apk\res\drawable-hdpi. There are five .png files all starting with names like sym_gpsone_0_sprint.png. I've included some below.
All of the other modifications I have made to the ROM I am running involved using m10 and the fusion.apk or the Idlescreen_Base.apk. I know how to make those changes work on my phone. If I alter the .png images in the SystemUI.apk, I know how to zip it again, but I could use some instructions on how to sign it with a META-INF signer.
HopHead68 said:
Thank you very much for your reply. The information I originally found pointed me in the wrong direction. I found the images I want to edit in the data\sysapp\SystemUI.apk\res\drawable-hdpi. There are five .png files all starting with names like sym_gpsone_0_sprint.png. I've included some below.
All of the other modifications I have made to the ROM I am running involved using m10 and the fusion.apk or the Idlescreen_Base.apk. I know how to make those changes work on my phone. If I alter the .png images in the SystemUI.apk, I know how to zip it again, but I could use some instructions on how to sign it with a META-INF signer.
Click to expand...
Click to collapse
Let me get on my comp and I'll link you
Sent from my PG06100 using xda premium
Task Accomplished
CNexus said:
Let me get on my comp and I'll link you
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Thank you everyone who replied and tried to help me out. After searching around some more, I managed to make the modifications work.
Damn, ain't things easy once you know what you're doing? Anyhow, the results are below. No more GPS icon whether the GPS is on or off now.
Thanks again.
If anyone wants a brief tutorial just ask and I'll be glad to help.
HopHead68 said:
Thank you everyone who replied and tried to help me out. After searching around some more, I managed to make the modifications work.
Damn, ain't things easy once you know what you're doing? Anyhow, the results are below. No more GPS icon whether the GPS is on or off now.
Thanks again.
If anyone wants a brief tutorial just ask and I'll be glad to help.
Click to expand...
Click to collapse
Dude. So sorry, completely forget to post after telling you
But anyway, the process is explained in the following thread, as well as how to make a flashable zip in case anyone else is interested
Link: http://forum.xda-developers.com/showthread.php?t=1611615
But again, so sorry about that
Sent from my PG06100 using xda premium
CNexus said:
Dude. So sorry, completely forget to post after telling you
But anyway, the process is explained in the following thread, as well as how to make a flashable zip in case anyone else is interested
Link: http://forum.xda-developers.com/showthread.php?t=1611615
But again, so sorry about that
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
No worries at all. Before you put this up, I figured it out. Part guidance, part stumbling though the dark and some luck led to success.
Thanks for the help.
Cheers.

Categories

Resources