[Q]decompile and edit home.apk - Xperia Arc Q&A, Help & Troubleshooting

Hi all,
I`got a problem to decompile the stock home.apk.
Everytime i decompile i get a error saying i have the wrong framework installed but i have the right one installed manually.
I want to have rotate on homescreen only 3 screens and 3rd thing 6 rows and 6 cols. I have to change the folder res\values\ i think but how can i get it or better edit it.
Is their anyone out here who can give me a link or a little tutorial howto.
I have had a look at several pages and gave lot`s of promissing tools a go but nothing helped me out .....
so much moders can please only one share his knowledge

Your best bet would probably to ask someone like vr5411 who posted this thread: http://forum.xda-developers.com/showthread.php?t=1519742

Related

building a theme, need some help with clock text

Hey guys, I'm building a theme for the CM rom to use all the htc taskbar shiz.
I am having trouble modifying the text color of the date and time.
Notifications can be changed within the rom, but if those are close by too it would be nice to know how to change those.
I'm pretty sure these details are stored in services.jar but need help accessing them and changing them back to white.
Calling all themers! Thank you!
EDIT: found another write up to try. I will try that first
(This was posted after failing several step by steps)
Edit edit: Tried like 5 tutorials with no dice. Any help? I tried using the colorchange.jar but am getting an error cannot find clock line. I tried manually editing the classes.dex. Still no change.
Here is one guide

[Q] Theme Questions (noob)

ok so i have had this idea sence i bought this phone of making a complete rework theme/rom and all the icons, i have been searching around for all the info i need and found some but not all so i am going to post some questions and hopefully when i get off work the main ones will be answered so i can start. i have been dieing to do this for a week lol.
1. i have windows 7, to make things easy should i just dual boot win xp?
2. i want to change the notafication bar but i have not been able to find ware the icons are?
3. I read that i need to sign all the apks i change if i stay with win7 will the program someone made to sign apps work?
4. If i edit the image in the drawable dpi(i think thats the folder) do i also need to edit the XML docs?
5. if i want the rom to install lancher pro by default and set up a custom tray is that possible or dose it have to be changed after you install the ROM?
i know some of the questions might seem stupid but im trying to learn because i really do enjoy tweaking this phone i have been walking around with a notepad all week sketching ideas down as they come to mind so any help would be great thanks everyone.
Here is my current theme and widgets
well apparently i cant post outside links so i will have to add them later here is the album to them thou
s6.photobucket.com/albums/y230/repazentin_269/mobile%20upload/
Enjoy and Thanks ahead of time
+1, I have had a hard time finding enough info to make me comfortable to start editing the 100 or so .pngs in drawable-hdpi.

Trying to Decompile, not working... please help

Hello,
Im kind of new to developing for android....
But I did a bit of developing on blackberry in the previous years...
Ive been working on some soft buttons. I designed some buttons in a different thread that work great. But I wanted to edit my SystemUI.apk myself (navagation_bar.xml) so that I could edit a search soft key and the order of the soft key buttons myself....
I can't for the life of me, get this thing to decompile. If you open the navagation_bar.xml from within the SystemUI.apk (even in notepad ++), you get a bunch of random characters. I am assuming this is because I have to actually decompile the SystemUI.apk first.
- so I have downloaded apktools,
- I have it all setup correctly following the instructions for decompiling posted here: http://rootzwiki.com/topic/1836-guide-how-to-decompile-an-apk-updated-w-guide/
I used the framework-res.apk of the rom that I am currently using (Android Rev 2.1.2)
And then I place the SystemUI.apk in the folder to be modded, and go ahead and run the script, try an decompile it. And every single time I try it says "an error occurred, please check the log"
I check the log and nothing there makes any sense to me....
It just says an error occurred in "main" multiple resources....
and then it lists a whole bunch of (unkown source)
Super frustrated here, because I have found some coding and studied some coding and I know how to edit the navigation_bar.xml to my likings.... but I cant get the damn SystemUI.apk to decompile....
Can someone please help me here?
and ideas on what might be going wrong?
Thanks a lot
Replace the files in the "other" folder with these.
http://db.tt/1Cii8tGa
The guide you are using will only work for samsung phones running touchwhiz. You'll need to use the framework specific to the ROM you are working on.
You should be able to find all the necessary info in Brut.all's thread, although Ill admit it did take me a little while to get it all figured out myself.
[UTIL][08.12.11] Apktool v1.4.3 - a tool for reengineering apk files

Help for a mod/Google_Now/SecMms.apk

Hello Guys i need help,
first Question
I want to make a mod for SecMms.apk from 4.1.2. I want to put 200 receiver in 1 single short message. but this is not possible whit version mod from the 4.1.1 . I already do have a guide for Android 4.1.1 but i can not solve my problem whit it. Any suggestion ???
second Question
i had modded Velvet.apk in Black Blue everithink fine, but everytime i had tryed Google search it collapsed (Fc).
what i have done ??
i had decompilied and move pngs and in Values/color mod the color hexcode then recompiled
all is going but google search crasht (Fc)
here is the apk https://www.dropbox.com/s/dialg6l9cgd8bpt/Velvet.apk
Please Guys help me
I hope you understand my english
nobody573 said:
Hello Guys i need help,
first Question
I want to make a mod for SecMms.apk from 4.1.2. I want to put 200 receiver in 1 single short message. but this is not possible whit version mod from the 4.1.1 . I already do have a guide for Android 4.1.1 but i can not solve my problem whit it. Any suggestion ???
second Question
i had modded Velvet.apk in Black Blue everithink fine, but everytime i had tryed Google search it collapsed (Fc).
what i have done ??
i had decompilied and move pngs and in Values/color mod the color hexcode then recompiled
all is going but google search crasht (Fc)
here is the apk https://www.dropbox.com/s/dialg6l9cgd8bpt/Velvet.apk
Please Guys help me
I hope you understand my english
Click to expand...
Click to collapse
ok buddy , no offense but please change the title from , mod/so and so to may be ( please help me to mod /so and so )
now i dont know if you are editing it properly or not ,
but even if you edit it properly are u signing it properly or not
and are u compiling/decompiling it with proper framework installed .. these things need to be checked
is simple words , go through as many how to compile/decompile guides available and read it as much as u can , thats how i learned :good:
i decompile whit the same Rom in ther the apk is.
and it is all the same signed or not signed.
I don't know who is the problem

A plea for all framework modding experts

Hey everyone,i've just started to learn more about the framework and stuff(to give back to this awesome community) by decompiling it and looking at the xmls and pngs within and one thing i found was really obvious that there is no bible of information that us new comers can consult for our questions
I would like to request all the brilliant minds here on xda to help me with a few things if this thread catches their attention.It would educate me and everyone else if our brilliant devs can share their info.I would like to start with a few questions and i really hope this thread takes off as the real reason we are all here is to learn
Questions:
1.The /res/anim folder in the framework has all the animations of the rom if i am not mistaken.But if i overwrite the xml files within with my own collection of xmls there are some files that are not overwritten and hence some animations of the rom donot change.The question here is this.How do find out what xml stands for what animation.Htc has removed the home button animation and i would be very grateful if someone can help me find it.Also app opening animations are still sense and i can't tell which xml to edit to find which one is the app opening one.
2.Recompiling the framework through apk-tool is giving me a lot of errors even when i don't modify anything.I'm using a custom rom framework so maybe thats the cause but still it should compile right.
3.Is it possible to decompile the framework in the phone(through an app i mean),add stuff to it,and then recompile it? Or is my only option to open it as a zip file and just replace and delete xmls .
I will update the thread with more questions and request anyone who has any info to please share it so we can all learn
Long live xda

Categories

Resources