xml edit - AT&T Samsung Galaxy Note I717

What is the best program to edit an android xml file and what to use to decrypt it. When i open it it shows all scrambled i have sdk installed aready. I am trying to edit a main.xml file

Get Wanam's ics apk tool! And decompile apk u want to edit ur xml for!
THen use Notepad++ its one of the best xml editor!
Bradl79 said:
What is the best program to edit an android xml file and what to use to decrypt it. When i open it it shows all scrambled i have sdk installed aready. I am trying to edit a main.xml file
Click to expand...
Click to collapse

What about Eclipse (free)? I wrote couple fun Android apps for myself. Edit xml

sweetboy02125 said:
What about Eclipse (free)? I wrote couple fun Android apps for myself. Edit xml
Click to expand...
Click to collapse
Eclipse is pretty cool for java based stuff but I like Liquid XML Editor for higher level binding and validation, or if its just basic editing I like Amaya, the free tool from W3C.

Related

What's the trick to view stock XMLs in framework?

What do I need to view the XML files in the framework-res? I would thought Notepad++ to have worked, but just wondering if I need an extra plugin? I just see a lot of "Nul" characters. Thanks...
floepie said:
What do I need to view the XML files in the framework-res? I would thought Notepad++ to have worked, but just wondering if I need an extra plugin? I just see a lot of "Nul" characters. Thanks...
Click to expand...
Click to collapse
All XML files in android apps get compiled into binary data, so you need to use a tool such as APK Manager by Danesh to decompile the XMl's into human-readable form.
cheers
Great, thanks! It works a charm. What I'm trying to do is modify an XML. Now, to find a way to wrap this that framework-res into an update.zip and have it work.

[Q] Help with a theming issue

Im trying to start theming, as i have only been in the android club for about a month. The issue im having is with xml files. Everywhere i read, its like, open in notepad to edit. I open them in notepad and all i get is a bunch of gibberish symbols and letters. Is there any special way that i need to use to edit xml files?
Any help is appreciated, Thanks.
Sorry if this is a repeat, used the search but not in depth, so please dont flame.
I spent a long time searching for how to do this as well. Easiest way is to use APK manager.
Go download it from here: http://forum.xda-developers.com/showthread.php?t=695701
Basically you put the apk you want to edit into the edit folder and decompile it. Then go into the projects folder and the xml files created will be readable. Edit them using textpad, notepad, w/e you want. Once you are done load apk manager backup, select the same project and then compile the apk. Thats the gist of it, its a tiny bit more complex but you should get it after trying it. Also if you are looking to edit something like services.jar I found you can rename it to services.apk and it will decompile the smali for you so it can be edited. Just play around with APK manager and it should do everything you will need.
sweet, thanks for the help. hopefully ill have a nice theme on here in a couple weeks. thanks
yeah, if you want a full look into any apk you're going to have to decompile it unless you know what you're looking for in the hex of a compiled xml... also with a decompiled apk you can see alot of stuff such as how the .9 borders (or what ever you wanna call em) are done so make sure they stretch the same way

Replacing icons in apk

Hi
sorry if for expert devs this is a basic question
I have been looking around but I did not found this explained
HOW TO CHANG THE ICON ASSOCIATED WITH AN APK ????
I know how to open a apk with 7 zip and that I have to change the png file there
but which file ?????
do I need to change just the file associated with the icons or all the others ?
I mean .... inside (for example) mm.apk I found the icons related to contacts.apk to email.apk etc ... do I need to chenge all of them with the new ones ?
decompile and recompile
Decompile the app with apktool and go into the res folder and find the icon u want to replace ,,change it and recompile with apktool.Lastly sign the app and you are good to go
I have never tried change icons but i tried to change the background images for dialer and system menu. I used the same method mentioned above by opening the apk using 7zip and changing the images files with my custom images and rename them exactly the same as old ones.
Then I used CWM to flash the zip which contains the modified apk (i.e. contacts.apk and framework-res.apk)
However, I would recommend that you backup your ROM before flashing the modified zip file just in case something wrong happens.
Good Luck
I remember that there is a tool much faster than apktool ti decompile recompile but ... I have not been on the forum for long and I lost it
Is it also possible to change only theicon by using vrtheme ? if yes can someone explain how ?
Thanks
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Darkside Agent said:
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Click to expand...
Click to collapse
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
ads7112 said:
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
Click to expand...
Click to collapse
fine, whatever, ignore my post
Please .. do not missunderstand me !!!
Your help is very much apreciated
I knew approximately what to do to modify the theme also if in general I preferred kitchen uot
Instead I was hoping in a simple change of icon afetr decompressing/decompiling the apk but apparently it is not so simple ...never mind

[Guide] How to Theme Sense 3.6

OK so I decided to write a tutorial with some hints on how to make a Sense 3.6 theme. This may also work on Sense 3.5 but I don’t have it to test it. This is done on Windows 7 64bit, but it should work similarly on earlier versions of Windows.
What you will need
M10 Tools
APK Multi Tool
Photo Editing Software – I use Photoshop AND Fireworks but Gimp will also work
Notepad++
Latest java and adb
Patience
Creativity
Please follow the instructions for proper installation of all of these tools on their respective page.
Download my basis theme
Copy the file into the place-apk-here-for-modding folder
Open the script
Option 25 – Set Current Project
Choose the basis theme
Option 9 – Decompile
Go to the Projects folder
Go to the com.htc.skin.rachelm920_basis folder
Go to the res folder
Drawable-hdpi and drawable-land-hdpi have the images. Values has the .xmls
Make any image edits you like. Also make and .xml edits you like.
​ I typically take the images in this folder and separate them based on the type, making several folders for different things like “pressed”, “focused” , “normal” “black” etc. Then whatever I changed black to I also change any references to 000000 to the color I changed it to. I do the same for the other colors. Make sure you keep the black lines on the .9 images. I usually use the “magic wand” to select the black borders and then do an invert selection so I select the rest of the picture. Make sure you move all the images back when done, and delete the folders.
Choose AndroidManifest.xml and open it with notepad++
Under where it says package=”com.htc.skin.rachelm920_basis” change the rachelm920_basis to what you would like your theme to be titled
Open M10 tools – M10Editor.exe
Click Load file
Browse to Projects\com.htc.skin.rachelm920_basis\assets\rachelm920_basis\drawable
​Make sure the file type is m10 file
Choose shared.m10
Click on the m10 files tab
Check the Decode images box
Click Decompile/Show
In the editor tab select textures then texture
You should see a picture on the right
Right click on the picture and choose show in explorer
Make any image edits you like. I do the same process here as I did in the other folders.
In M10 tools click on the start tab
Click Save File
Close the M10 tools
Browse to projects\com.htc.skin.rachelm920_basis\assets
Rename rachelm920_basis to your skin name
In the Image folder, put a wallpaper you would like your skin to have as wallpaper.jpg replacing the one already there
This folder also contains the theme previews which are impossible to achieve unless you have root and a screen print program AFTER you install the theme on your phone.
Go back to APK Tool
Choose 11 - Compile
Is this a system apk? No
Would you like to copy over any additional files that you didn’t modify from the original apk in order to ensure least # of errors? YES
Go to the keep folder
Delete resources.arsc, the rachelm920_basis folder, wallpaper.jpg, and all of the images in drawable-hdpi and drawable-land-hdpi folders
Go back to APK Tool and press any button
Choose 12 - Sign apk
Go to the place-apk-here-for-modding folder. There should be a file called signedcom.htc.skin.rachelm920_basis.apk. Rename it to your theme's name. You can remove the word "signed" also.
Copy to the SD Card on your phone, browse using a file explorer and install.
If you have problems recompiling make sure that all of your .9 images have the black borders. Check the log file, it usually tells you what you did wrong.
Some good websites –
http://www.colourlovers.com where I get my color schemes from
http://www.color-hex.com a good hex site and also gives you color schemes based off of one color.
PS - The basis theme does not look good, it is just a basis to use to create your own.
Open for me
question, does this make a theme or a skin?
Skin sorry I worded it wrong
Sent from my customized Amaze from tapatalk
Guess I'll be giving this a shot other than my typical theming methods, thanks.
Wow I had been looking for something like this for a while. thanks
M10 tools
Can't get M10 tools to install, any direction you can give me?
Calabrese1984 said:
Can't get M10 tools to install, any direction you can give me?
Click to expand...
Click to collapse
You need a net.4 framework installed.
Red.
M10 tools
I do have net.4 framework installed.
Calabrese1984 said:
I do have net.4 framework installed.
Click to expand...
Click to collapse
Then what do you mean it won't install? You have to extract the zip file and run the .exe file inside it.
Sent from my PG86100 using Tapatalk 2
Thank you, I got it!
Thanks for good guidence
Lost
2.Copy the file into the place-apk-here-for-modding folder
3.Open the script
Where can i find the folder? how about the script? Sorry, noob...
cordz said:
2.Copy the file into the place-apk-here-for-modding folder
3.Open the script
Where can i find the folder? how about the script? Sorry, noob...
Click to expand...
Click to collapse
Both the script is at the root of apkmanager. The the folder referred to is the /place-apk-here-for-modding/ folder, also in the root of apkmanager.
Sent from my EVO using Tapatalk 2
why am i getting this(see attachment)
and also in step16 there is no assets file ?!?
How
Help.Bro how do i rename a sense theme and isntall it twice?
the basis theme's download link is gone
please give me a substitution or a solution
New link is up... still had it on my laptop Happy theming!
HELP
please I need your help
I didnt understand step 2
where is this "place apk here for modding after"?
stevenson97 said:
please I need your help
I didnt understand step 2
where is this "place apk here for modding after"?
Click to expand...
Click to collapse
In the apk tool it should have made several folders
Sent from my gorgeous Galaxy S3

[Q] Help editing XML Files

how can I edit XML files. I tried using notepad++ and VTS. All i see is whats in the attached pic.
Any ideas or reccomended programs?
termin8tor22 said:
how can I edit XML files. I tried using notepad++ and VTS. All i see is whats in the attached pic.
Any ideas or reccomended programs?
Click to expand...
Click to collapse
Is the .xml you're trying to edit from an app? If so, looks like to need to de-compile the app first, instead of just un-zipping it. If you already de-compiled it, then try XML Marker to edit it. :good:
Argumentation said:
Is the .xml you're trying to edit from an app? If so, looks like to need to de-compile the app first, instead of just un-zipping it. If you already de-compiled it, then try XML Marker to edit it. :good:
Click to expand...
Click to collapse
To be exact the xml is the AndroidManifest.xml file in the sense 5 clock widget apk and yes i decompiled the apk. will try xml marker
Edit: xml marker gave same results

Categories

Resources