If you need XML assistance... - Fascinate Themes and Apps

I am just getting rolling with Android developement and hacking so while I get my legs on the app developement and theming I thought I would offer my assistance with any xml editing that needs to be done as I noticed there were quite a few references to people needing help editing xml.
PM me with any assistance you need editing/modifying xml.

dashultz said:
I am just getting rolling with Android developement and hacking so while I get my legs on the app developement and theming I thought I would offer my assistance with any xml editing that needs to be done as I noticed there were quite a few references to people needing help editing xml.
PM me with any assistance you need editing/modifying xml.
Click to expand...
Click to collapse
What tools are you using? Once you pull a XML file from an APK what are you using to open, read, and edit the files? Thanks!

KenIzz said:
What tools are you using? Once you pull a XML file from an APK what are you using to open, read, and edit the files? Thanks!
Click to expand...
Click to collapse
Decompile using apk manager, then edit whatever xml using something like notepad++ or any other rich text editor. After done editing, compile and sign.

Related

[Q] Modding rom files

when it comes to modifying the xml files that come with a roms framework, I would have to use backsmali to disassemble the framework odex file right? Provided my rom hadn't already ben deodexed.
After doing that will I still have to decompile the apk before the xml files become tradable again? I've tried looking around for threads on the topics. But all information I can find about these things, the threads don't relate to the same subject so its hard to put compiling and smali together when everything is using different examples to explain themselves.
http://forum.xda-developers.com/showthread.php?p=8090714#post8090714
This guide for modifying android policy might help
Yeah! That's the thread that got me started. But when it comes to using smali I'm not really sure, because the how to's I've read on that really only explain how to deodex files.
I'm trying to figure out what happens next. Because the OP of that thread doesn't go into detail.

i nee help on xml files

how do i know what the xml controls?
and how to read them properly and edit them
iv read an read but havent found anuff detail to understand
DubsideWICKED said:
how do i know what the xml controls?
and how to read them properly and edit them
iv read an read but havent found anuff detail to understand
Click to expand...
Click to collapse
to read the properly you need to either decompile them and get an xml editor or get notepad++ with the hex plugin.
what are you look for control of?

Decompiling or recompiling problem [Please help]

There are some apks that when I decompile and recompile them, they don't work, even if I decompile and and then without changing anything recompile them again, they don't work. I think the person who made those kind of apps does something so others can't change their apps and publish them under their own name, which is a good thing and I respect that, but sometimes there is an app which is really cool but there are some problems like bad images which need to be changed.
I'm changing some picture in Handcent SMS which is a free app, but after decompiling I can not install it.
I also asked the owner for his help, and I thought I ask you guys, too.
Has anyone ever had any experience like this?
It would be great if someone could help.
Thanks in advance.
Hi
Well if these apk's u mention are not grabbed from the /system/app folder you'll need to sign them every time you edit them.
biopsin said:
Hi
Well if these apk's u mention are not grabbed from the /system/app folder you'll need to sign them every time you edit them.
Click to expand...
Click to collapse
Yeah, I know. I always sign the apks which are not from /system/app, and they work just fine but in this case there is something wrong.
My guess is they have a protection agains tampering.
biopsin said:
Hi
Well if these apk's u mention are not grabbed from the /system/app folder you'll need to sign them every time you edit them.
Click to expand...
Click to collapse
Got there before me!

[Q] .apk file editing

My knowledge about the android development is mediocre....I have Samsung galaxy tab 2 P3100.....I rooted that myself and i can flash different roms.....thats all i know about android....Any help will be appreciated...
Is there any way i can edit .apk file. I want to change the GUI of a particular application. The name of the application is 7notes with mazec.
the attachment contains 2 images.
1) This is how the original app looks like [red square]
2) I want the app to look like this...
I can send the .apk file or only instructions also will do...
Thanks in advance!!
Similarly can i edit the GUI of any application..
You can edit the .apk but you have to decompile with apktool and edit .xml files to accomplish this. I'm no programmer but I have learned how to decompile and recompile .apk and make minor adjustments. If you know how to write xml then it shouldn't be that difficult but first you should search the forums for how to use apktool.
Steeleio said:
You can edit the .apk but you have to decompile with apktool and edit .xml files to accomplish this. I'm no programmer but I have learned how to decompile and recompile .apk and make minor adjustments. If you know how to write xml then it shouldn't be that difficult but first you should search the forums for how to use apktool.
Click to expand...
Click to collapse
Thnx Steeleio....i will try that.....i dont know xml....i will search on that too.....can u suggest me some forums to learn apktool?
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
AkshayGTP3100 said:
Thnx Steeleio....i will try that.....i dont know xml....i will search on that too.....can u suggest me some forums to learn apktool?
Click to expand...
Click to collapse
XperienceD said:
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
Click to expand...
Click to collapse
Akshay, your welcome. The link Xperience provided seems to be an excellent guide to apk edits. Once you learn how to decompile and start relating the xml coding with how things are laid out in the UI, you should be able to figure out how to produce the output that you want. Good luck.
XperienceD said:
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
Click to expand...
Click to collapse
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
AkshayGTP3100 said:
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
Click to expand...
Click to collapse
Great stuff. It is now about figuring out how to go about repositioning the images, but that task is something you're going to have to do I'm afraid as it can be a time consuming process, especially when learning, plus repositioning is above my skill set.
AkshayGTP3100 said:
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
Click to expand...
Click to collapse
Look in /res/layout/
Send me the APK, I'll see if I can guide you in the right direction.
DemonWav said:
Look in /res/layout/
Send me the APK, I'll see if I can guide you in the right direction.
Click to expand...
Click to collapse
Here is a link for the .apk file...... https://www.dropbox.com/sh/xnm0f7qax191raw/KZRRuJSsh-
I found the layout folder already.....i think the related xml code is in the /res/layout/keyboard_handwriting.xml file.... am i correct?
i dnt know anything about the xml.....mean while, i will try to find out how to relocate the layout for the buttons.....

Hide statusbar clock and battery, modify SystemUI.apk

This might be the completely the wrong place, but can someone do my a huge favor and modify my SystemUI.apk to remove the clock and possibly the battery. I have tried using baksmali and apktool but i must be doing something wrong, thanks.
Yep, it's the completely wrong place.
-> http://forum.xda-developers.com/showthread.php?t=2233991
Thanks guys, but thats the issue, I cant use Apktool.
nintendolinky said:
Thanks guys, but thats the issue, I cant use Apktool.
Click to expand...
Click to collapse
I can guide you on IRC
nintendolinky said:
This might be the completely the wrong place, but can someone do my a huge favor and modify my SystemUI.apk to remove the clock and possibly the battery. I have tried using baksmali and apktool but i must be doing something wrong, thanks.
Click to expand...
Click to collapse
Did you have a look there ? ( v-b-n thread)
http://forum.xda-developers.com/showthread.php?t=2233991
Cheers.
Yeah I looked at that, and i can decompile the apk, but i get errors, im thinking it might have something to do with, proprietary framework files i need, which i don't have. And thanks Mike1986, I will go on your IRC now.
Can anyone do me a huge favour, could someone please remove the clock and the battery from the statusbar. Looking at this Remove Clock it guides people through on how to do it, I cant as I seem to be unable too, can anyone help.
This isnt asking for help, this is asking for someone to do it for you which is different. If you dont wanna understand the process, you probably shouldnt be asking for the mod
Talk to mike on IRC to begin with
Make sure you install the framework files for the One (pull it from /system/framework) to apktool and THEN try decompiling it
Hi try this one.
Dont work mate, but thanks anyways.

Categories

Resources