Need help editing a clock widgit: Can anyone help? - EVO 4G Q&A, Help & Troubleshooting

I don't mind donating to someone who can help either, but, basically, here's my theme/setup:
{
"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"
}
What I want to do, is change the color of the inside of the boxes behind the numbers to red, and leave the rims around them black/gray.
Is there anyway to edit the apk to do this? If so, could anoyne guide me through it? I would love help, because I think that that would just put my setup towards perfect for me.

well, usually what I do in this situation is first copy the apk to a working directory. Then extract the apk in the working directory, and look in one of the drawable folders for the image. Edit the image to your liking. Then when you are done, replace the original image inside the untouched apk you kept in your working directory. You should then be able to either push that apk back onto the phone, install it, or package it in the rom and reflash.

elegantai said:
well, usually what I do in this situation is first copy the apk to a working directory. Then extract the apk in the working directory, and look in one of the drawable folders for the image. Edit the image to your liking. Then when you are done, replace the original image inside the untouched apk you kept in your working directory. You should then be able to either push that apk back onto the phone, install it, or package it in the rom and reflash.
Click to expand...
Click to collapse
Ya know, I've been looking for the Apk file in my phone, and I have no idea where it's at (using sdk tools to search through my phone), because I was thinking just with common sense, that what you said would be the way to go about it.
here's the dev. site:
http://www.davidgoemans.com/mainsite/node/13
It looks like there's no apk to dload to the computer first... is there anyway you can help me with where to look on my phone for the file?

It is probably in /system/framework
Either com.htc.resources.apk
or
framework-res.apk

Well, I went ahead and found it, but, now it's not letting me install the apk for some reason. It's saiying that it's replacing the old digiclock even though I removed that one.
Here's the apk file I created. All I did was rename it to a zip, replace the files, and rename it back to apk.
Can anyone help?

Ok, I got it. I ended up getting the apk manager 4.8 from here, and it took seconds to run through that.
Here's the updated clock.

Looks very good

elegantai said:
Looks very good
Click to expand...
Click to collapse
Hey, thanks!

Related

How to change smileys

Hi guys can you help me change my smileys, the default android smileys looked like shrek for me and it's kinda annoying hehehe thanks in advaced
j3yps said:
Hi guys can you help me change my smileys, the default android smileys looked like shrek for me and it's kinda annoying hehehe thanks in advaced
Click to expand...
Click to collapse
there in the framework-res.apk and easy to replace, if you find some emoticons you like i can replace them for you
can u tell the method in PLAIN ENGLISH please?
Same as the guy above..oh and if it's not too much to ask, can you pls give us a step by step guide on how to do this.
1. Extract your framework-res.apk. you will find it in /system/framework/.
2. download and install 7zip, on your pc.. its a free program.
3. on your pc, right click on your extracted framework-res.apk, find the 7zip contex menu, and click on open archive (DONT EXTRACT IT)
4. A box will open, now navigate to the \res\drawable-hdpi-v4\ folder, inside there you will find the emoticons, they have names like "emo_im_cool.png" and "emo_im_crying.png". find some suitable replacement emoticons, and rename them to the match the file names in the folder.
5. just drag and drop your new emoticons in the folder, and replace the existing ones.
6. close 7zip. now download the update.zip template i've attached at the bottom, unzip it and copy your modified framework to the framework folder inside the zip, go back to the root of the zip and zip it back up.
7. copy the update.zip to the root of your sd card and flash it from recovery
I found an easier solution, will post it IF succesful
But what if you just want to replace the text instead of the image?
I'm using the gingerbread keyboard and it has this smiley button, but how can i change them?
I created a guide here
http://forum.xda-developers.com/showthread.php?p=11094721#post11094721
uot kitchen only has 2 diff smiley sets and there crap
Do you know any other sources with more choice of smileys?
I tried AndroHero's method and it works ti only have a few questions
1. why did the image showed up like this? is there a specific setup that i should do?
{
"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"
}
2. can i put an image size that i want or i should use a 30x30 image only?
Anybody?....

[Q] Can this be themed without altering anything else on my phone? (With Pic)

Running a deodexed 2.2 rom with a custom theme that I love and don't want to part with, but one thing I would love to change are the white boxes that come up in apps. (Whats shown here on the bottom)
{
"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 there a transparent or black theme that I could change those to without altering anything else?
From searching this forum I found many transparent staus/notification bars but no transparent menus yet.
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
N-Forced said:
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
Click to expand...
Click to collapse
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Ok searching some more looks like I will need Ninjamorph to just change out the .png files. Lets see how this goes. Thanks again!
Hand76 said:
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Is this something I would need metamorph for?
Click to expand...
Click to collapse
Thats exactly what you do.
Put the framework-res.apk on your desktop
Extract it
Go to those images and edit them
Drop your edited images back into their proper path in the actual .apk itself
adb push that apk back into system/framework.
Reboot. Set perms with root explorer on that modded apk and reboot again.
Done
Ok thanks Wild, I just edited my last post and I am guessing I can eliminate some of that (connecting to the PC) if I just use Ninjamorph.
Well after following the Ninjamorph directions to a T. I got stuck in boot loops and never got to seee how teh finished product came out.
Will probably just try tomorrow on my computer doing it the other way.
Anyway thanks for the help guys and have a nice night.

titanium backup files in an apk

does anyone know how to convert the titanium backup files in an apk.
I have an calc widget that I want install on another phone but this phone cannot b rooted.
I dont want to root this persons phone
I guess I would just restore the app onto your phone and make a copy of the apk that way. Then transfer it to their phone and install it.
~ I'm a fungi
Without being rooted, I'm not sure.
Does adb or Droid explorer work on a non rooted phone? If so, extract the calculator app out of the TB Backup and push it with ADB or batch install it with Droid Explorer
I think the problem lies in the fact that when one makes a titanium backup, the apk extension changes and it can only be restored using TB.
{
"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"
}
@thesssfactor,
Is your phone rooted? If I were you I'd restore the backup onto your phone. Navigate with a file explorer to /data/app and find and copy the apk that you restored. Then just copy it over to the other phone, or send it in an email or something. That way its an actual apk that can be installed on the nonrooted phone.
Also, you'll have to allow that other phone to install non-market apps. That option is in setting (I think its under the development option)
~ I'm a fungi
a senile fungus said:
I think the problem lies in the fact that when one makes a titanium backup, the apk extension changes and it can only be restored using the app.
~ I'm a fungi
Click to expand...
Click to collapse
Nah I've taken apks from titanium backups and given them to others or used them in apk manager and tweaked them and reinstalled them. It just saves them in a weird format but u can extract that using 7zip and get the apk
Thanks smurf, I didn't know that.
I do most everything directly from my phone these days. (I'm a phonely person (phone only))
Thanks for the info
~ I'm a fungi
a senile fungus said:
Thanks smurf, I didn't know that.
I do most everything directly from my phone these days. (I'm a phonely person (phone only))
Thanks for the info
~ I'm a fungi
Click to expand...
Click to collapse
I'm here to helpish lol
He's right. If you unzip the .zip file with the apk extension, the apps are in there and can be extracted.
Nice, I am going to have to try this out.
The reason why I posted this because i want to put the calc widget on my tablet but I refuse to doing extra for my boss (like rooting his tablet).
The reason why I am putting the calc widget on it, is because I use it for payroll.
I'll do an guide later on how to extract it help out our fellow users.

[Resolved]Decompile framework_res to extract icons?

I just found some icons that are in a HOX theme and I'd like to get them on my phone....I d/l the theme but have no idea how to decompile the framework_res to gain access to the icons. I've never done anything like this before so any help would be appreciated. Thanks
Just extract the contents. You can get to the icons easily that way. I used root explorer to do that, but you might be able to use another file manager.
Sent from my SAMSUNG-SGH-I747 using xda premium
If you are not adding new icons or changing any XML files you can just drag and drop icons/PNG files from one .apk to another with 7zip
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Just to clarify....I am wanting to extract the icons from the update I d/l so that I could take some of them out and put them on my phone manually since the framework_res being decompiled is for the HOX. I was able to decompile it via APKtool....took a little figuring out but I was able to work it out and decompile it but one problem......I was not able to find said icons. I found all others but not the one's I was after The icons I wanted were these here:
{
"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 wanted the v3 one's
Here is the update I d/l
http://www.mediafire.com/?tumimia8v9403wk
So after having no luck with the framework_res file, I decided to try to decompile the SystemUI apk....for some reason APKtool keeps erroring out on me when trying to do that one, not sure why. Anybody know another way to decompile these things?
And just a FYI, this update is a flashable zip for the HOX, i'm not sure if that changes how things are done but someone above said just unzip the file and I should be able to access, drap and drop the icons easily.....not so much. If it were that easy I'd have done that before I asked about decompiling since that was the first thing I tried
What kind of error on decompiling? Bad magic error?
mrhaley30705 said:
What kind of error on decompiling? Bad magic error?
Click to expand...
Click to collapse
Just for comparisons sake.....
When I decompiled the framework_res, it said "decompiling apk" and once that was done it just went back to the command prompt
When I attempted to decompile the systemui, it said "decomiling apk" and then right under it said "test", after a few seconds it said something like can't find system file, read log (option 23). I read the log and it was just general blabber, nothing specific to the issue.
However, I was reading a tutorial on apktool this morning and they had theirs setup a little differently than I had mine so I set it up like theirs and during the process I ended up in the "projects" folder and guess what was there? The systemui folder. So I went in there and sure enough it had decompiled. Weird....but the icons I was after still weren't there either.
Turns out the icons are not a part of the update I d/l, it's a seperate d/l, which I have now as well as access to the icons
Thanks guys for the help though

[Q] Installing boot animation(s)

Now that I have CM7 on my Incredible, I'd like to potentially change the boot animation to the CM10 animation.
1. Am I correct that if I rename the bootanimation.zip to bootanimation.bak and then push the new animation to the system\media folder, it should work with animation and sound? Or do I also need to push a separate sound file as well?
2. I actually liked the stock boot animation. Can I open PG32IMG.zip, extract just the stock animation and return it to the phone like I described above? Or, once again, do I also need to push a separate sound file (for the drooooiiiiiiiiiiiid sound)?
Thanks in advance,
CheapDad
P.S. Bonus Question: The link for the NTSense theme is dead. Does anyone know where I can obtain a copy of the file? Google did not reveal any working results.
PPS Found this link, which may give me the stock boot animation. Would love for someone to confirm that as accurate.
CheapDad said:
Now that I have CM7 on my Incredible, I'd like to potentially change the boot animation to the CM10 animation.
1. Am I correct that if I rename the bootanimation.zip to bootanimation.bak and then push the new animation to the system\media folder, it should work with animation and sound? Or do I also need to push a separate sound file as well?
2. I actually liked the stock boot animation. Can I open PG32IMG.zip, extract just the stock animation and return it to the phone like I described above? Or, once again, do I also need to push a separate sound file (for the drooooiiiiiiiiiiiid sound)?
Thanks in advance,
CheapDad
P.S. Bonus Question: The link for the NTSense theme is dead. Does anyone know where I can obtain a copy of the file? Google did not reveal any working results.
PPS Found this link, which may give me the stock boot animation. Would love for someone to confirm that as accurate.
Click to expand...
Click to collapse
Well, I just realized I never pasted the link in. Not very helpful.
In any event, I figured I couldn't goof this up too much. I found the file, copied it to /system/media since there is nothing in data. That didn't work, even with the correct file permissions. I entered recovery through CWM and installed zip from sdcard. (I placed another copy there.) That worked. Now I've got a CM10 boot animation for my CM7 phone!
CheapDad
CheapDad said:
Well, I just realized I never pasted the link in. Not very helpful.
In any event, I figured I couldn't goof this up too much. I found the file, copied it to /system/media since there is nothing in data. That didn't work, even with the correct file permissions. I entered recovery through CWM and installed zip from sdcard. (I placed another copy there.) That worked. Now I've got a CM10 boot animation for my CM7 phone!
CheapDad
Click to expand...
Click to collapse
Great news!
There's also splash screens that you can change. I've been rocking this one since 2011 :laugh:
{
"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"
}
There's a nice thread with a bunch of them located here if you ever want to give it a try. :good:

Categories

Resources