How do you or is it possible to edit a .apk? - EVO 4G General

Would really like to know how possible this is? I'm pretty knowledge when it comes to .xml files and I notice when you change a .zip to a .apk it's an XML file inside so I figure it couldn't be to bad.
I want to edit the GenieWidget.apk (Nexus One News / Weather Widget), I have the .apk, can somebody tell me how or the program(s) I need to do this? When I try to open it with notepad all the text is scrambled, I can barely understand the code. I'm not gonna re-distribute this either, I just want to change the background, the weather icons and if possible add my own .rss feeds.
Thanks.

Raadius said:
Would really like to know how possible this is? I'm pretty knowledge when it comes to .xml files and I notice when you change a .zip to a .apk it's an XML file inside so I figure it couldn't be to bad.
I want to edit the GenieWidget.apk (Nexus One News / Weather Widget), I have the .apk, can somebody tell me how or the program(s) I need to do this? When I try to open it with notepad all the text is scrambled, I can barely understand the code. I'm not gonna re-distribute this either, I just want to change the background, the weather icons and if possible add my own .rss feeds.
Thanks.
Click to expand...
Click to collapse
I believe the xml files are encrypted, you should be able to get to the pngs by browsing the apk via 7zip

Anyway to break encryption? Must be, this is xda after all

Raadius said:
Anyway to break encryption? Must be, this is xda after all
Click to expand...
Click to collapse
I'm not 100% sure on this but on my last phone we could change png's easily with 7zip by dragging them in and out of the window. The xml files could be decoded back to readable xml but they couldn't be compiled again. I am no expert though.

Related

Theme Creation in Spb/TFLO

This is for those of you that have made themes, or know how to make themes in Spb or TouchFLO. I'm looking for a detailed process as to what files get changed, and where they get changed, in order to create themes for these interfaces. I tried a search and got crap results, so I'm sorry if this has been posted elsewhere already.
While I still don't personally have an X1, I would like to make a nice Theme Creator-type program similar to the good ol' Sony Ericsson Theme Creator. Ideally, this would make the process of pushing out new themes as simple as possible, and everyone could have nice, quality themes for their X1.
If, when you post instructions on the theming process, you could attach an example theme, that would help for comparison-debugging as well. Cheers!
there is no theme aditor for TF3D like you want it
Manually select files and replace the images and hope you don't mess up your theme is the only way to go
search for manila editor/m9editor to do so.
good luck
nixx-X1 said:
there is no theme aditor for TF3D like you want it
Click to expand...
Click to collapse
You completely misunderstood my post. What I want to do is create the program that lets you edit the themes, and what I was asking for was detailed information on what files need changed, and how they need to be changed.
nixx-X1 said:
Manually select files and replace the images and hope you don't mess up your theme is the only way to go
Click to expand...
Click to collapse
This is exactly why I want to write a program for this.
as i have seen until now, theming with spb is very crappy. cant understand while there is no company or programmer that makes something usefull out of our xperias. my last hope for now is the windows mobile 6.5 build...
tarnaman said:
as i have seen until now, theming with spb is very crappy. cant understand while there is no company or programmer that makes something usefull out of our xperias. my last hope for now is the windows mobile 6.5 build...
Click to expand...
Click to collapse
I would gladly make such a theming program if someone would tell me how the themes are formatted and structured, what images went where (along with image restrictions, such as their dimensions).
I don't even own an X1, so it's hard to write software for it when I can't really operate on one, but a theming program such as this could run on a generic Windows OS, and create themes to be transferred to the X1, which is very doable if I know what it is I need to make.
aaah.. my bad understanding
as for the TF3D.. there is no real theme you can load it's a compilation of files one can edit.
There are 478 images that can be edited and positioned to get the whole theme look in place. To explain here which goes where and how isn't possible.
What you can do is download itje's full hd cab and extract it.
Then with the mode9editor from 6Fg8 view the files and get to understand the structure.
manila full hd cab
http://rapidshare.com/files/163465190/Touch-IT_Blackstone_Manila_HD_FULL.cab
mode9editor
http://forum.xda-developers.com/showthread.php?t=464984
I'd love to help out with the theme creator for TF3D with the SPB i have no experience (didn't like it much).
If you'd want to do it proper I think you'll need to make some kind of emulator for the TF3D interface so you have instant feedback when changing things.
nixx-X1 said:
as for the TF3D.. there is no real theme you can load it's a compilation of files one can edit.
There are 478 images that can be edited and positioned to get the whole theme look in place. To explain here which goes where and how isn't possible.
Click to expand...
Click to collapse
I think it would be possible, albeit time-consuming. Is there a different resource which does explain which goes where and how?
Then with the mode9editor from 6Fg8 view the files and get to understand the structure.
Click to expand...
Click to collapse
Unfortunately, this alone doesn't help me understand the structure (the mode9 editor seems crash prone and seemingly doesn't understand most of the files in the CAB, and with several BMPs it complains about the headers). I really just need a detailed source of information that says what files get changed, and what they represent (remember also that, since I don't have any phone that can run TF3D personally, I can't go around experimenting with changing files to see what affects what. I need to have a clear documentation of the file structure).
Ofcourse it's possible.. but not for me
Unfortunately I don't have that time
if you check the mode9 files you'll see most of the placement of the qtc files.
The mode9 is actually only for the _manila files.. and yes.. double clicking needs to be prevented
But without a way to test it .. I give you little hope..
Have been searching for weeks for all info one 1 sheet to find my way around.. it's not here to my knowledge.
trail and error is the only way..
but maybe i'm a pessimist
good luck!
Ok...
Here we go...
Well to change TF3D themes you must edit files called Manila Files. Each file has an image inside it. in some cases (mode9) they stand for actual functions. Once these files are opened, using manila editor, you find the image files. (they are in QTC format). You must then replace "your" image files with the QTC files. This is done with the QTC converter built into manila editor.
Here is where you can download the manila files.
http://forum.xda-developers.com/showpost.php?p=3143701&postcount=28
and here is where you can download manila editor:
http://forum.xda-developers.com/showthread.php?t=414861
hope it helps
that 0.2 manila editor is more solid but gives lesser image quality then the mode9editor that is in development now.
but yeah... it doesn't crash
If it helps,
here's a thread that contains a psd file which mapped out the entire manila interface and is easily batchable by the mode9editor.
read before downloading
http://forum.xda-developers.com/showthread.php?t=475864

[Q] Where does opera put its bookmarks?

I just can't find the dang buggers!
I want to be able to cab all my settings back in. I've already got most manila config stuff (registry), but I just can't find opera's bookmarks, only the homepage. Since I've got a load of bookmarks, it's very tedious having to put them all back in after a ROM flash.
Who can help me?
The file is called Opera6.adr and it is in the application data\opera9 directory on your device.
Angelusz said:
I just can't find the dang buggers!
I want to be able to cab all my settings back in. I've already got most manila config stuff (registry), but I just can't find opera's bookmarks, only the homepage. Since I've got a load of bookmarks, it's very tedious having to put them all back in after a ROM flash.
Who can help me?
Click to expand...
Click to collapse
I saw an Opera9 map in \Application data, but I don't know which file(s) contain the bookmarks. It may be in there though, in stead of in the registry. I'll try to find them and report back here.
edit: I see someone beat me to that . Thx for clearing it up, now I now which file to backup (in stead of the whole directory)
rob_h said:
The file is called Opera6.adr and it is in the application data\opera9 directory on your device.
Click to expand...
Click to collapse
Interesting, turns out this file was located in \windows\Opera9 for me. That used to be the fix to show bookmarks in the opera tab in TF3D, which doesn't seem to work anymore anyway
It's not encoded/encrypted, so wordpad opens it just fine. Each bookmark has two values of which I can't determine the value;
ID==12 (why 12 and not 1?)
CREATED==1236695305 (I'd guess when it's created, but that doesn't look like a date/time.)
Anyone know what the rules are? Else I'll have to input them on my phone which takes more time.
At least I know which file to look for now, thanks!
EDIT: I modified ID to 1 and CREATED to 0000000001 and it works just fine, easy!
Angelusz said:
Interesting, turns out this file was located in \windows\Opera9 for me. That used to be the fix to show bookmarks in the opera tab in TF3D, which doesn't seem to work anymore anyway
It's not encoded/encrypted, so wordpad opens it just fine. Each bookmark has two values of which I can't determine the value;
ID==12 (why 12 and not 1?)
CREATED==1236695305 (I'd guess when it's created, but that doesn't look like a date/time.)
Anyone know what the rules are? Else I'll have to input them on my phone which takes more time.
At least I know which file to look for now, thanks!
Click to expand...
Click to collapse
Opera Mobile is a major pain to get bookmarks into. I had to install opera on my pc and import my ie faves into it. You can then copy the opera9.ard file from your desktop opera to your x1.
Angelusz said:
Interesting, turns out this file was located in \windows\Opera9 for me. That used to be the fix to show bookmarks in the opera tab in TF3D, which doesn't seem to work anymore anyway
It's not encoded/encrypted, so wordpad opens it just fine. Each bookmark has two values of which I can't determine the value;
ID==12 (why 12 and not 1?)
CREATED==1236695305 (I'd guess when it's created, but that doesn't look like a date/time.)
Anyone know what the rules are? Else I'll have to input them on my phone which takes more time.
At least I know which file to look for now, thanks!
EDIT: I modified ID to 1 and CREATED to 0000000001 and it works just fine, easy!
Click to expand...
Click to collapse
Hmmm there's one too.... probably the one in \Application data was from another build, or used in another rom. Now I've got my bookmarks back also
rob_h said:
Opera Mobile is a major pain to get bookmarks into. I had to install opera on my pc and import my ie faves into it. You can then copy the opera9.ard file from your desktop opera to your x1.
Click to expand...
Click to collapse
I've directly edited the file, much easier.
Gwystyl said:
Hmmm there's one too.... probably the one in \Application data was from another build, or used in another rom. Now I've got my bookmarks back also
Click to expand...
Click to collapse
What did you do to get the bookmarks showing again?
---
A related question: Where are passwords etc. stored? I'd guess in the other .adr files. It would be nice to have such things saved as well. I'm going to check all the files and see what they do ^^
EDIT: My bad, there is no other .adr files.. only encrypted .dat files...
Angelusz said:
Interesting, turns out this file was located in \windows\Opera9 for me. That used to be the fix to show bookmarks in the opera tab in TF3D, which doesn't seem to work anymore anyway
It's not encoded/encrypted, so wordpad opens it just fine. Each bookmark has two values of which I can't determine the value;
ID==12 (why 12 and not 1?)
CREATED==1236695305 (I'd guess when it's created, but that doesn't look like a date/time.)
Anyone know what the rules are? Else I'll have to input them on my phone which takes more time.
At least I know which file to look for now, thanks!
EDIT: I modified ID to 1 and CREATED to 0000000001 and it works just fine, easy!
Click to expand...
Click to collapse
Could I get that in a simplified version? This is something I would really like to be able to do.

How to resize cab screen resolution?

Hey all, is there any tutorial that shows how to edit cabs to your liking? I want to know is I can edit certain cabs so they look good on my Epix's screen(320x320).
~~Tito~~ said:
Hey all, is there any tutorial that shows how to edit cabs to your liking? I want to know is I can edit certain cabs so they look good on my Epix's screen(320x320).
Click to expand...
Click to collapse
You can't edit cabs the way you're wanting to.
You'd need to edit the image files inside the cab (providing they aren't built into the exe or something similar). Then edit any relevant positioning inside reference files like xmls or something similar.
If you don't know graphics and at least some basic coding I wouldn't bother. That said, it's not hard to teach yourself enough to accomplish what you're asking.
Hmmm, I always have a ****ty time resizing any image. . . I don't have a problem with basic coding though.

How to translate a .cab app

Morning.
I found an interensting .cab called markallread.cab
After installation, i noticed that the language in the menĂ¹ is english.
I'd like to translate it ( and maybe share it with you here ).
How can i do it?
Thanks
up
some suggestion?
a good start might be posting the cab so we can look at it?
samsamuel said:
a good start might be posting the cab so we can look at it?
Click to expand...
Click to collapse
sure.
it's here
http://forum.xda-developers.com/showthread.php?t=626627&highlight=mark
at the end of the first page of the thread
Generally, no, unless you're capable of reverse engineering or the program pulls its text from an XML or similar file (many language-friendly apps do this) in which case you'll need to find which file that is in the cab and edit it in a text editor or similar.
The latter is unlikely though...
fredskis said:
Generally, no, unless you're capable of reverse engineering or the program pulls its text from an XML or similar file (many language-friendly apps do this) in which case you'll need to find which file that is in the cab and edit it in a text editor or similar.
The latter is unlikely though...
Click to expand...
Click to collapse
got it.
what kind of software can you suggest to use to 'decompile' them?
i saw inside the files, with notepad++ but of course they are all compiled

[BOOTANIMATION] Google, Someone please fix it?

Im a simple man with simple needs, thats why I like this.
I just want it to be non animated if that makes sense, but when I push it it is just a black screen.
Try this...
Waits patiently
Yup that works what did I miss?
Also feel free to point me to some decent wallpapers that fit!
You need to only archive the .txt and the png folder as bootanimation.zip - not sure what you did but I also changed the png folder as you only needed 1 copy of the image file!
I'm not sure about wallpapers - apparently you can make your own but they need to be 960x800 - there's some details about making your own here: http://androidforums.com/htc-desire/67309-htc-desire-best-wallpaper-resolution-no-crop-stretch.html
Else just search on google or market I guess!

Categories

Resources