xan someone teach me how to edit the phone.apk? - LG Optimus 2x

can some help? i want to theme it myself. thanks

U shoud use the apk manager ....to uncompil the phone apk....then change the png images and the last to compile again the phone apk.

keiheep17 said:
..... i want to theme it myself.....
Click to expand...
Click to collapse
Hi,
what do you want to modify??
If you want to change some grafics in the "phone.apk" then you also have to modify the "contacts.apk".
Which Rom do you use?
Greetz Paki

Do you think that in order to change the dialer pad shall change the png in the contacts apk?!?!?!....it seem strange but.....i will have a look.... it may be you have right....
....yep...u had rigth....

does it require deodexing? I'm on the Optimus Black and Froyo, suppose the same settings apply. I just want to replace the butt ugly backgrounds which are red and green during calls...

There was one guide in russian in only left google cache now.
http://webcache.googleusercontent.c...нтакты"&cd=1&hl=lv&ct=clnk&gl=lv&client=opera
I've tried and found the right places to mod, it is easy, but could decompile the phone.apk correctly on windows...(errors). I was too lazy to install linux... also AngelofMors has modified phone and contacts apk till version 20l... on 4pda.ru
I use them, sync up high res 400*400 pics from social sites and have superb in call screen photos for my friends...

Related

Has anyone reskinned the message pages?

I don't know if this exists or not but I wouldn't mind seeing the results.
i dont know if u mean full skinning of sms page but i managed to changed the white backgroud to a wallpaper of my choice..
kujo_kjc said:
i dont know if u mean full skinning of sms page but i managed to changed the white backgroud to a wallpaper of my choice..
Click to expand...
Click to collapse
I was thinking a full skinning. Making things a little bigger and more appealing.
there is skinned sms here:
http://forum.xda-developers.com/showthread.php?t=591508
kujo_kjc said:
i dont know if u mean full skinning of sms page but i managed to changed the white backgroud to a wallpaper of my choice..
Click to expand...
Click to collapse
how did u change the white background to a wallpaper?
BLACKE30 said:
how did u change the white background to a wallpaper?
Click to expand...
Click to collapse
read the link above. Just install the cab in the link and change respective jpg to the resolution of your screen. All info could be found on the above link
thanks, i saw that app before but didnt think it would let u change it to a background that u want.
Been doing it for years. Kinda a forgotten art. I have a background pack put together in the third post of my thread.
Check it out
http://forum.xda-developers.com/showthread.php?t=570186
vetvito said:
Been doing it for years. Kinda a forgotten art. I have a background pack put together in the third post of my thread.
Check it out
http://forum.xda-developers.com/showthread.php?t=570186
Click to expand...
Click to collapse
But ur pda is VGA. Mine is QVGA (Kaiser). Could u plase help me on this Kaiser? I'm using WM 6.5.3.
Sms skingbackgr changer
It thosent work, dont change the splahs and dont change sms backgrond
my files are .gif, just save them as whatever file type you need ex. .jpg, .jpeg, etc..., and name it to replace the image on your phone.
They work for all resolutions.
Anyone have any idea why, when I make a CAB for this using QuickCab, it never includes the image in the CAB?
DanRo80 said:
I don't know if this exists or not but I wouldn't mind seeing the results.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=622520
This does it for me
DanRo80 said:
http://forum.xda-developers.com/showthread.php?t=622520
This does it for me
Click to expand...
Click to collapse
+1 I am using Astronaut's skin. If you don't like the looks- you can just install one of the .cabs and use your own images (make sure you replace .png with .png and .jpeg with .jpeg)

Change an .apk's resolution

i know myn and K_K have had success resizing things like the desk clock and other stuff but there have been a few .apk's recently that have needed resizing so how would i go about doing it
some of these apps that do include:
the new voicesearch.apk
and the new google voice with widget that can be found here
http://forum.xda-developers.com/showthread.php?t=767084
thoughtlesskyle said:
i know myn and K_K have had success resizing things like the desk clock and other stuff but there have been a few .apk's recently that have needed resizing so how would i go about doing it
some of these apps that do include:
the new voicesearch.apk
and the new google voice with widget that can be found here
http://forum.xda-developers.com/showthread.php?t=767084
Click to expand...
Click to collapse
I believe they use apktool but I could be wrong. I think once you have it broken down, it requires that all pictures be resized also... not sure what the percentage or anything is, but I think there's another tool that can batch resize images.
Most times you use apktool to disassemble the apk then change some values in xml files. Then build a new apk and copy the compiled xml files from the newly built one to the original one. Actually you would then need to sign the modifed apk but as the stuff we usally goes into /system it's trusted and used anyway.
As for resizing bitmaps I did it on the wallpapers not because it was needed but because it was a waste of space using wallpapers made for 480x800 and 320x480. It propably also runs a little faster with wallpapers that has the correct size for the device but noone has measured it asfaik.
As for the new VoiceSearch I did try QVGA adjusting it but for some reason my modified version didn't work so I dropped it. Also the only thing you need to pass the initial dialog is to start it in landscape mode. After that it works fine in QVGA asfaik.
thanks guys! your always helpful
Anybody want to try this for swype? I don't really like HVGA, but I can't type without swype...
Can I get your adjusted GV app, thoughtlesskyle?
know.patience said:
Can I get your adjusted GV app, thoughtlesskyle?
Click to expand...
Click to collapse
i never got around to doing it actually
kallt_kaffe said:
Most times you use apktool to disassemble the apk then change some values in xml files. Then build a new apk and copy the compiled xml files from the newly built one to the original one. Actually you would then need to sign the modifed apk but as the stuff we usally goes into /system it's trusted and used anyway.
As for resizing bitmaps I did it on the wallpapers not because it was needed but because it was a waste of space using wallpapers made for 480x800 and 320x480. It propably also runs a little faster with wallpapers that has the correct size for the device but noone has measured it asfaik.
As for the new VoiceSearch I did try QVGA adjusting it but for some reason my modified version didn't work so I dropped it. Also the only thing you need to pass the initial dialog is to start it in landscape mode. After that it works fine in QVGA asfaik.
Click to expand...
Click to collapse
Hello there, i am new in this development. I did successful disassembler the apk. But i am not sure how to resize the resolution from 320x480 to 320x240. I am not well verse into xml programing. I would really appreciate if you could assist me on doing it. Please advice.
Thanks a million in advance.
rgs
Ang
i have some question. how if i want to play games that higher than my resolution?? for example, my phone was xperia x8 and i want to play eternal legacy. and now, is there posible to edit an apk and change resolution so it can run on my device??
actiually i want to make rock band playble in my x8 since i notice rock band game screen are too large for my device. i really want rock band so bad
kang_hae_na said:
actiually i want to make rock band playble in my x8 since i notice rock band game screen are too large for my device. i really want rock band so bad
Click to expand...
Click to collapse
Have you found a solution for Rock Band?

Phone.apk

I wanted to make someting nicer than Galaxy Tab's original phone, so I'm
working on both "Phone.apk" and "Contacts.apk".
There are some problems that I hope someone could help.
As you can see in the pic 02, "Logs" page's font are white and when I press
one of them they become orange, so far there is no problem, but when I press
the other one the last one become black, I don't know why.
In the "Contacts" Page, pic 03, fonts are still black and I don't know what value
should I change anymore , because I tried evrything.
Does anyone can help to make this complete?
The white look real clean man! Nice work so far.
Wish I can help you with the compile part, but I'm not that smart
Sent from my SGH-T959 using XDA Premium App
Nice work! First off. The colors for text aren't always only in the xml's.. you'll want to search the smali files as well.
Ill have a look tomorrow if I get a chance.
Sent from my GT-P1000 using XDA App
mssmison said:
Nice work! First off. The colors for text aren't always only in the xml's.. you'll want to search the smali files as well.
Ill have a look tomorrow if I get a chance.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
If it's one of the smali files, I don't know how to edit them.
It would be great if you could have a look.
Thanks mate.
sohrab1985 said:
I wanted to make someting nicer than Galaxy Tab's original phone, so I'm
working on both "Phone.apk" and "Contacts.apk".
There are some problems that I hope someone could help.
As you can see in the pic 02, "Logs" page's font are white and when I press
one of them they become orange, so far there is no problem, but when I press
the other one the last one become black, I don't know why.
In the "Contacts" Page, pic 03, fonts are still black and I don't know what value
should I change anymore , because I tried evrything.
Does anyone can help to make this complete?
Click to expand...
Click to collapse
Looking forward to seeing this complete!
i think in this case if u tried to change every text color and wont to change ! you have to add it by yourself , with hex editor
k0sh said:
i think in this case if u tried to change every text color and wont to change ! you have to add it by yourself , with hex editor
Click to expand...
Click to collapse
Unfortunately I don't know how to use hex editor, but I'm trying to learn.
Thanks man for your help.
sohrab1985 said:
Unfortunately I don't know how to use hex editor, but I'm trying to learn.
Thanks man for your help.
Click to expand...
Click to collapse
no prob mate , u can check this thread for the dirty sucker ,
http://forum.xda-developers.com/showthread.php?t=984510
this one will answer your question for damn sure
EDIT : am using CM7 now on my tab , and i don't have to be a wake all the night to play with the framework or systemUI . i just install theme from the market and everything will change .. like ur phone.apk , i just had it now ... after i install the theme , CM7 is freaking awesome
k0sh said:
no prob mate , u can check this thread for the dirty sucker ,
http://forum.xda-developers.com/showthread.php?t=984510
this one will answer your question for damn sure
EDIT : am using CM7 now on my tab , and i don't have to be a wake all the night to play with the framework or systemUI . i just install theme from the market and everything will change .. like ur phone.apk , i just had it now ... after i install the theme , CM7 is freaking awesome
Click to expand...
Click to collapse
Thanks man. Now I khnow how to edit smali files, but the onley problem is
I don't know which file should I edit.
But before that I'm trying to find another backgroud, a brighter background.
because this way there is no need to chnage the colors.
sohrab1985 said:
Thanks man. Now I khnow how to edit smali files, but the onley problem is
I don't know which file should I edit.
But before that I'm trying to find another backgroud, a brighter background.
because this way there is no need to chnage the colors.
Click to expand...
Click to collapse
most of ppl here like this background ..
am going to sleep now , after i woke up , i will look up for it , i'll try to play with the stock phone.apk ..
u just now try by what i give you and look inside the phone.apk for all the XML ..
and when i woke up , i'll see your update if u found it , then congrats if u didn't i'll look for it , but i can't promise u i'll 100% do it
k0sh said:
most of ppl here like this background ..
am going to sleep now , after i woke up , i will look up for it , i'll try to play with the stock phone.apk ..
u just now try by what i give you and look inside the phone.apk for all the XML ..
and when i woke up , i'll see your update if u found it , then congrats if u didn't i'll look for it , but i can't promise u i'll 100% do it
Click to expand...
Click to collapse
Thanks mate.
I'm a little busy right now but I'll look for the right xml.
I like this background, too. I really don't want to change it,
but if can't change those colors I'll have to.
Anyway, thank you for helping me.
I love this background..... im Just waiting for a release.....

How to Make GO Contacts Themes

Does anyone have any ideas as to how one could go about creating GO Contacts Themes.
I've developed both Go Launcher and GOSMS Themes, but don't know how to get started on GO Contacts.
Maybe someone has a template they can share?
If not, is there a way I can unpack the a theme's apk file to use?
Thanks in advance for any responses.
yeah
I would like to know how to do this as well !!
Yes please could someone provide a guide or any info will be great
Yes, we absolutely need more theme choices for gocontacts.
*ins>rt sig here*
guys up topic any stck uncompile package?
I also wanted to know as well..i decompiled .apk and find that need to Change lots of pngs and some xml. But it would be easy to have theme maker..
sent from my awesome ANDROID phone...
+1
I triple that notion.
Why do they have a themer for the sms and not the launcher & contacts?
But... Since they do have easy to dld themes for the contacts, I am thinking we can just download a theme, and decompile it.
noybman said:
I triple that notion.
Why do they have a themer for the sms and not the launcher & contacts?
But... Since they do have easy to dld themes for the contacts, I am thinking we can just download a theme, and decompile it.
Click to expand...
Click to collapse
Hey ya'll! I realize that this thread is a little old, but I need some help with my Go Contacts. I've decompiled several .apk's to edit to my liking but when I open it in my editor (Gimp) it will not allow me to change the colors. For example, anything I try to change no matter the color it just turns grey. It is to my understanding that I have just been using "locked" apk's. Would anyone happen to have one they might share with me? Or give me some guidance on how to get past this? Thanks for any help!

What Folder is the Pic of the Dialpad Kept? Want to Change it

i want to manipulate the image of the dialpad in android. what folder in the phone are the images kept?
bldon said:
i want to manipulate the image of the dialpad in android. what folder in the phone are the images kept?
Click to expand...
Click to collapse
From the great info you gave on what device and rom your on I am sure alot of people will be able to help.
Start with the dialer apks and the phone apk
zelendel said:
From the great info you gave on what device and rom your on I am sure alot of people will be able to help.
Start with the dialer apks and the phone apk
Click to expand...
Click to collapse
wat are u talking about? the info i gave isnt "great" or fabulous or amazing so i dont know what ur taling about or watever ur trying to say.
anyway id like to know how to manipulate the image of the dialpad so it looks like wp7 dialpad. does anyone with great intelligence know how to do this?
it's in drawable-hdpi-finger for theme chooser and inside the phone.apk if you decompile it.
or you can simply search for theme chooser themes http://forum.xda-developers.com/showthread.php?t=1219691
or wp7 dialpad app
https://market.android.com/details?...wxLDEsImNvbS5mdXR1cmVkcmVhbXMud3A3LnBob25lIl0.
other than that port it to your rom by decompiling phone.apk
R3D X said:
it's in drawable-hdpi-finger for theme chooser and inside the phone.apk if you decompile it.
or you can simply search for theme chooser themes http://forum.xda-developers.com/showthread.php?t=1219691
or wp7 dialpad app
https://market.android.com/details?...wxLDEsImNvbS5mdXR1cmVkcmVhbXMud3A3LnBob25lIl0.
other than that port it to your rom by decompiling phone.apk
Click to expand...
Click to collapse
hi r3d.. the 1st link you posted is for CyanogenMod roms. i got virtuous unity with sense. the 2nd link is about the dialer app. i tried it and it sucks big time.
what i dont understand is why something as simple as taking a pic from the android directory, manipulating it, then saving it back to the phone is so godamn difficult? is there a good explanation for something that should be this simple??
bldon said:
wat are u talking about? the info i gave isnt "great" or fabulous or amazing so i dont know what ur taling about or watever ur trying to say.
anyway id like to know how to manipulate the image of the dialpad so it looks like wp7 dialpad. does anyone with great intelligence know how to do this?
Click to expand...
Click to collapse
That's the point. You gave no real info in your first post. Remember this is a development forum not a support site.
You will need to decimpile 3 apks. Dialer, phone, and com.HTC.resources. then you will have to edit the .9 png.
Is it easy? Yes with the right research and tools.
zelendel said:
That's the point. You gave no real info in your first post. Remember this is a development forum not a support site.
You will need to decimpile 3 apks. Dialer, phone, and com.HTC.resources. then you will have to edit the .9 png.
Is it easy? Yes with the right research and tools.
Click to expand...
Click to collapse
yup... lots and lots and lots of research.. and def need the right tools...
zelendel said:
That's the point. You gave no real info in your first post. Remember this is a development forum not a support site.
You will need to decimpile 3 apks. Dialer, phone, and com.HTC.resources. then you will have to edit the .9 png.
Is it easy? Yes with the right research and tools.
Click to expand...
Click to collapse
hi zel.. this sounds like a task. got a question for you and anyone else reading this: is there a theme for the call record behind the dialer where the font is white instead of black and the background is black instead of white?
bldon said:
hi zel.. this sounds like a task. got a question for you and anyone else reading this: is there a theme for the call record behind the dialer where the font is white instead of black and the background is black instead of white?
Click to expand...
Click to collapse
To be honest I am not sure, I run a custom theme named gotham and dont enclude call recording at all so I have never come across it nor I have looked for it.
zelendel said:
To be honest I am not sure, I run a custom theme named gotham and dont enclude call recording at all so I have never come across it nor I have looked for it.
Click to expand...
Click to collapse
im confused here. you mentioned call recording. how is call recording related to custom theming a dialpad?
also... why isnt the dialpad and call record themed like crazy? why is the iphone more customizable than android in this regard when it should be the other way around, especailly when android is touted to be more customizable than iphone?
bldon said:
im confused here. you mentioned call recording. how is call recording related to custom theming a dialpad?
also... why isnt the dialpad and call record themed like crazy? why is the iphone more customizable than android in this regard when it should be the other way around, especailly when android is touted to be more customizable than iphone?
Click to expand...
Click to collapse
Sorry read it wrong. Ok that will be an xml in the dialer apk. The main reason is that each dialer is device dependent. The same dialer will not work on all devices
It is more customizable then the iphone in the sense you can use different apps then the stock default which the iphone doesnt allow you to do, Android themeing on a base level takes more knowledge then the iphone as it was made to be a geeks phone. There are plenty of apps that allow Simple theming for the dialer. I would try dialer one.

Categories

Resources