[SOLVED] Decompile Phone.apk issues - Epic 4G Q&A, Help & Troubleshooting

So i cant seem to figure out how to decompile the phone.apk... I can decompile the framework-res and others but phone .apk keeps erroring out.. any advice as to what i can do?
Im using...
-ApkMultiTools-APK-Multi-Tool-db23775
-Stock Phone.apk
-Windows 7
When it errors it says "testCan't find framework resources for package of id: 2. You must install proper framework files. An Error Occured"
Here's the log and a couple of pics...
log.txt - 2 KB
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also on a different note.....any time i touch anything withing the phone.apk>res>drawable-hdpi i get a force close when finishing a call.
Thanks guys for any help
ANSWER located below in post #6 by Gitu Sum...Thanks again!!

I think you want dialeractivitytab not the phone.apk. You want to theme it right?
Sent from my SPH-D700 using XDA App

If you want to theme the dialer, you want dialeractivitytab.apk. Phone.apk is misleading...

Tw framework is a dependancy. Had this problem while optimizing and modding my rom.
Sent from my SPH-D700 using XDA App

kennyglass123 said:
I think you want dialeractivitytab not the phone.apk. You want to theme it right?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I can theme DialerTabActivity.apk. That works fine. Its the Phone.apk that i wanted to theme. Well at least i think so... Im looking to theme the "In Call" buttons and in call dialer. Not the regular dialer. This way when im in call the Bluetooth, Speaker Phone, End Call, and such are themed. rather than the standard background and grey buttons like such..
Heres a pic of what i mean... This one is the themed one from Clean GB but still FC's on my
@marcusant... ya thats what i was reading somewhere but did know if there was a workaround. I noticed in Revival v.2 (what im running now) its not themed so i assumed maybe its too confusing.

Take the stock tw-framework.apk and put it on your desktop. When you go to decompile the phone.apk use 10. It will ask you what file. Just drag and drop tw-framework.apk into the window.

GituSum said:
Take the stock tw-framework.apk and put it on your desktop. When you go to decompile the phone.apk use 10. It will ask you what file. Just drag and drop tw-framework.apk into the window.
Click to expand...
Click to collapse
Thanks Gitu sum!! I just tried it and it worked perfect. i was able to edit some xml and compile it without any errors..... my only issue now is that when i install it to system/app it seems to work but when i call someone and then hangup..It locks up right as i hit the END button and FC. Then it resets my radio. Any advice as to why it isnt functioning correctly?

Related

[PHONE] Cool Themed PHONE Application!!

Hi guys,
Just as I was saying in the threat with the Modded DialerTabActivity, I modded a bit the phone. I hope you like it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is it transparent? or does it always have the clouds background? looks pretty sweet to me....
unfortunately it has clouds background. I will make a few more variants.
I don;t know at the moment how could I make it transparent
this app are wonderfull...
To make it transparent you will have to use photoshop or gimp
trust me mate, I tried. But it's not that. If I make it transparent, it will show a black background.... I don;t know how to make it
you can do a version without that dialer image?
Works nice but force closes phone.apk when ending a call. I googled this problem but solution didn't work.still,it works and looks good
Hmmmm... Very nice butt of this Tati... LoL
) this is the default image for contacts without an image allocated.
@RobZarzecki if you have problems, PM me with your phone's original Phone.apk and I will mod it for you
Crysis21 said:
trust me mate, I tried. But it's not that. If I make it transparent, it will show a black background.... I don;t know how to make it
Click to expand...
Click to collapse
I was trying to modify my stock dialer on my droid x a while back and gave up. I remember seeing a thread about it for the motorola phones though, the color had nothing to do with photoshop. Instead, it was color codes that needed edited in a hex file. I am brand new to samsung, so I'm not sure if that helps you at all. But you got further than I did on the X. Good luck
I am trying to install but no luck, am getting a "not installed" after trying.
Is anyone else experiencing this ?
Cheers, LL-
You use root explorer in market, have copy and paste in system/app
Sent from my GT-I9000 using XDA App
Xperia x8 not working
The apk file whose link you give is not recognised as an apk file by the astro file manager
I take it this won't work on CM7? In that case, could a dev kindly port it over, if possible?
Is the best!
Sent from my GT-I9000 using Tapatalk
Does anyone implement this in JVS 2.3.5 ??
Really nice phone theme, I like it.
Crysis21 said:
Hi guys,
Just as I was saying in the threat with the Modded DialerTabActivity, I modded a bit the phone. I hope you like it.
Click to expand...
Click to collapse
Hi,
It looks beautiful. But can u make a version with default image diferent then this? Cause i got a lady and young sister/brothers that often play in Galaxy S, so as u imagine this kind of image will get me in trouble
Thanks
Is this compatible with any gingerbread rom?
Do you know how to change the transparency of the dialer?.. if yes.. can you pm me the "how to?"...

[Q] How do I theme this part of the status bar? *top left*

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I installed liquid rom v1.1 and that part was different, the icons were, I don't know, less transparent. The icons on the left were all solid colors. Never seen that before. Now, it has changed back on its own, for no reason I can think of and I want to change it back.
Any help would be greatly appreciated, I can decomplie, edit, and compile apk and framework just fine. Hopefully it's easy tho.
Oh yeah its a breeze. All you have to do is decomopile the systemUI.apk and find those .png's that you want to edit. Finish the changes with Photoshop or whatever you're using and recompile, and push it back into the system. I noticed that one of the icons was from titanium backup. You will have to actually go inti that .apk and edit those as well if you want to make them all uniform-which would probably take a million years haha
Edit:
Actually some of those might be in the framework apk just decompile both haha
seanyuan62 said:
Oh yeah its a breeze. All you have to do is decomopile the systemUI.apk and find those .png's that you want to edit. Finish the changes with Photoshop or whatever you're using and recompile, and push it back into the system. I noticed that one of the icons was from titanium backup. You will have to actually go inti that .apk and edit those as well if you want to make them all uniform-which would probably take a million years haha
Edit:
Actually some of those might be in the framework apk just decompile both haha
Click to expand...
Click to collapse
I doubt this is the case. Why would ALL the developers use the same ugly greyish color. I'm sure its just a transparency thing.
http://forum.xda-developers.com/showpost.php?p=23474072&postcount=4
good day.
chopper the dog said:
http://forum.xda-developers.com/showpost.php?p=23474072&postcount=4
good day.
Click to expand...
Click to collapse
Do you decompile with 1.4.3 and recompile with 1.4.2 (apktool)?
anton2009 said:
Do you decompile with 1.4.3 and recompile with 1.4.2 (apktool)?
Click to expand...
Click to collapse
I've been using Apk_Multi-Tool_Alpha_02 with the github experimental builds addon. Not sure which version of apktool is in the "other" folder though. It has handled everything I throw at (except contacts & phone) without having to play one jar to decompile and another to recompile game.
good day.

Black or dark ICS MMS?

I'm running Chicago Remix rom, ICS 4.0.4 and i'm looking for a dark MMS.
I've decompiled the MMS.APK through APKTool but i'm no expert user. I don't know how to change the background color or txt color and such.
If anyone can help me I will take the time to attempt to do it myself... I don't mind some trial and error it can always be fun.
Thank you anyone.
I'm not sure if these will work i dont see why they wouldn't but i'm no dev i just saw these the other day and figured i would share
http://rootzwiki.com/topic/23960-bubble-themed-mmsapks-various-styles-updated-5-2/
these won't work, have already tried a few so I just wanted to try and theme one myself... Anyone? I'd like to basically change the background color to black, txt to white, possibly make the bubbles look different if thats not too challenging, and making silly smiles.
this is what i'm trying to do basically:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jwleonhart said:
this is what i'm trying to do basically:
Click to expand...
Click to collapse
If you manage to whip all that together would you mind and sharing with me and or the community! It looks absolutely amazing.
That is my plan to share it of course. I just need to figure out how in gods name to do it. I tried decompiling that apk but it's signed and I can't get to it. I was simply going to try and a little copy and paste on certain things.
Illuminatiii_X said:
If you manage to whip all that together would you mind and sharing with me and or the community! It looks absolutely amazing.
Click to expand...
Click to collapse
That's my Mms theme pictured. You can find it here: http://forum.xda-developers.com/showthread.php?t=1461540. Sorry to hijack jwleon
jwleonhart said:
That is my plan to share it of course. I just need to figure out how in gods name to do it. I tried decompiling that apk but it's signed and I can't get to it. I was simply going to try and a little copy and paste on certain things.
Click to expand...
Click to collapse
Here is a great guide I found at rootzwiki that gives a step by step tutorial on how to edit the Mms apk: http://rootzwiki.com/topic/19845-how-to-theme-your-mms-a-step-by-step-guide/. I found that after I had some help and figured it out. My best advice is to decompile my theme and take a look at it. Most of what you're looking for will be in the layout folder.
If you'd like further help and information you can contact me on GTalk. my email address is nbe[email protected]
Thank you NBeebe24 for all your help and continued support. Here is the first release of my MMS for ChicagoRom and should also work on any UCLE2 rom as well... not tested on them though so i'm not sure..
Here is link:
http://forum.xda-developers.com/showthread.php?p=26450151#post26450151
Try this file tell me is it works
Good work!

[Q] changing app icons

hi all
im busy with some things to customize my oneX to my preferences
now im looking for a way to change the app icons
from:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to for instance
and that with all other apps id like to change the icon of
anyone has got an idea to help me with this?
use desktop visualizer from play store..
u can't change the icon of the original app tho'.. only the app shortcut in the home screen..
fade2blak said:
use desktop visualizer from play store..
u can't change the icon of the original app tho'.. only the app shortcut in the home screen..
Click to expand...
Click to collapse
so its not possible to change anything with apk tool in the apk?
demajoor said:
hi all
im busy with some things to customize my oneX to my preferences
now im looking for a way to change the app icons
from:
to for instance
and that with all other apps id like to change the icon of
anyone has got an idea to help me with this?
Click to expand...
Click to collapse
Decompile the APK using APKTool and look around, you might have to go to *appname*/res/_dpi
('_' stands for the letter like xdpi or something)
And hit thanks
theDroidfanatic said:
Decompile the APK using APKTool and look around, you might have to go to *appname*/res/_dpi
('_' stands for the letter like xdpi or something)
And hit thanks
Click to expand...
Click to collapse
already tried that
https://www.dropbox.com/s/s4sb42i9fnkh931/picframe.apk
this is an app picframe that i have decompilised and replaced all icons with my own made icons for a test but it wont install here
maybe someone can have a look at it
heres the original app to https://www.dropbox.com/s/ywf1b3thcvjpnjj/picframe.apk
demajoor said:
already tried that
https://www.dropbox.com/s/s4sb42i9fnkh931/picframe.apk
this is an app picframe that i have decompilised and replaced all icons with my own made icons for a test but it wont install here
maybe someone can have a look at it
heres the original app to https://www.dropbox.com/s/ywf1b3thcvjpnjj/picframe.apk
Click to expand...
Click to collapse
You have to sign it to work Use SignAPK or something, or if you have root, simply use any root explorer and copy the app to /data/app and fix permissions either manually, or via recovery
And hit thanks on my posts where I helped
thx very much for this solution

[Request] Lockscreen XML

I am trying to track down the XML that contains the info for the lock screen. I have checked all the keyguard XMLs in framework-res and none seem to make a difference. Is the lockscreen TW specific? I did not see any TW_keyguard XMLs. Any info would be appreciated.
Thanks,
What in particular are you looking for? I know images for the lockscreen are located in frameworks for TW... but there could be XML files in the SystemUI for the lockscreen you want, TW does things a little different from AOSP.
Darth Pooh said:
What in particular are you looking for? I know images for the lockscreen are located in frameworks for TW... but there could be XML files in the SystemUI for the lockscreen you want, TW does things a little different from AOSP.
Click to expand...
Click to collapse
I want to change the "wipe screen to unlock" tagline to something custom.
Thanks,
Didact74 said:
I want to change the "wipe screen to unlock" tagline to something custom.
Thanks,
Click to expand...
Click to collapse
I checked the two usual suspects, I'll keep poking around, it should be in a string file after you decompile an apk though...
Sent from my SPH-L710 using Tapatalk 2
Darth Pooh said:
I checked the two usual suspects, I'll keep poking around, it should be in a string file after you decompile an apk though...
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I checked strings in SystemUI and Framework-res. I made changes, but neither took. I will look in tw_framework-res as well. Thanks for the help!
Yeah, those were the two I checked... Lol.
Sent from my SPH-L710 using Tapatalk 2
It's in framework-Res/values/strings. When you are in strings search for the text that it says now. Change, save and compile. Just changed mine this weekend.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EDIT: I can post the exact line number later after work.
Sent from my SGS3 while experiencing some Wicked Sensations.
dazednconfused said:
It's in framework-Res/values/strings. When you are in strings search for the text that it says now. Change, save and compile. Just changed mine this weekend.
EDIT: I can post the exact line number later after work.
Sent from my SGS3 while experiencing some Wicked Sensations.
Click to expand...
Click to collapse
Ah, I was checking TW-framework-res, makes sense now... I've been on CM10 too long.. lol
Sent from my SPH-L710 using Tapatalk 2
framework-res/values/strings - line 1602.
I changed this line, saved and recompiled. Pushed framework and it still says the same thing on the lockscreen. Wierd

Categories

Resources