Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)? Done.
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
To cut a long story short, private message the people who have created or implemented these into their themes.
Thats just it, i tried asking LitePro but he seams to be away, im not sure who created the better fixed CRT, the transparent lockscreen and i havent seen a contacts apk with display SIM contacts option that would work on KF2 yet...
Have any idea who i can PM? I wouldnt mind donating for future development to anyone whod have the will to help me...
Got transparent lockscreen, can anyone still help with the remaining two?
Heavencry said:
Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)?
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
Click to expand...
Click to collapse
For fix pixelated CRT effect, you have to modify bools.xml in framework-res.apk (decompiled) in /res/values/
change :
Code:
<bool name="config_sf_slowBlur">false</bool>
to
<bool name="config_sf_slowBlur">[B]true[/B]</bool>
and of course :
Code:
<bool name="config_animateScreenLights">true</bool>
to
<bool name="config_animateScreenLights">[B]false[/B]</bool>
If you want, you can enable SIP on data network (3G ...) modifing :
Code:
<bool name="config_sip_wifi_only">true</bool>
to
<bool name="config_sip_wifi_only">[B]false[/B]</bool>
EDIT : I can't fix CRT on your framework-res.apk cause you push .png not declared in public.xml. Give me your original file please
Anyone know how i can enable the show SIM option in contacts?
Last thing im missing on this rom...
@sicopat
Is this really the fix for the pixelated CRT? Have you shared this with Jkay?
The only known solution i knew of was the take a screenshot on a white background.
Noone ever tried enabling show SIM contacts option in KF2 or the older 2.3.3 roms that didnt have it?
Try this one for the crt-fix.
Thank you! That did the trick, the CRT no longer gets pixelated after using the advanced power menu !
Now if only i could figure out a way to get the "show SIM contacts" option... it seams that every Contacts+Dialer.apk i try gives me force closes... are they completely different for each rom version?
Related
Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
DJZager said:
Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
Click to expand...
Click to collapse
u would need to decompile the apk.
look inside res/values
and res/values-hdpi
maybe a few more.
inside those foldrs u would see colors.xml
from there u should be able to figure out which one is the text color.
p.s.
im havn't done it myself, but thats how u get can get a bunch of color changed in all of your apps.
thats how i made my app drawer transparent, and changed animations etc... screw those hex editing tweaks... its a huge waste of time to figure out what does what.
just decompiling the apk gives u everything u need and its all in English.
keep in mind that u might need to actually change in in a different apk... not necessarily in phone.apk.
and i do hope that u found the images inside com.htc.resources.apk for the actual keypad images.
just use apktool.
version 1.3.2 might give u issue cuz it compresses the resources.arsc... so if u need version 1.3.1 let me know... i got that one also.
Values\styles.xml
<Line 196> <item name="android:textColor">@color/color_255_255_255</item>
<Line 200> <item name="android:shadowColor">@color/color_0_0_0</item>
<Line 220> <item name="android:textColor">@color/color_255_255_255</item>
<Line 224> <item name="android:shadowColor">@color/color_0_0_0</item>
These are the ones you are looking for. In HTCDialer.apk
The way they are shown here will make them black with a white shadow. you can replace the @color/color_0_0_0 part with any hex color code (ex. #ffffffff) so you can choose any color. Hope this helps
Wow, thank you for that. I'm going to try that and report back.
Related Topic: I'm trying to change the color for the text that appears in the accumulator in HtcDialer.apk
There are 3 nearly identical files in /res/layout: dialer.xml dialer_cdma.xml, and dialer_cdma_sp.xml
Each of these has coding which refers to the text within the accumulator (i.e. where the numbers you dial show up). So far, changing the colors there either accomplishes nothing, or it causes acore FCs.
Am I poking the wrong beehive?
how do u change button color?
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.
Hello you all
I would like to have some information about editing the default android lockscreen.
First of all, I know that it is much easer to work with a lockscreen replacer like widgetlocker. But I hate the fact there is a lag on it, you sometimes can unlock the default screen, open for example the app drawer when suddenly your phone get locket again, but this time with the slow responding widget locker.
And besides that, I like to mess around with that sort of things
What I did so far just deleting the htc sense lock screen (thanks to warriorvibhu http://forum.xda-developers.com/showthread.php?t=948976). But when you do so, you notice that the sliders on your screen are way to big.
This can be solved by flashing an other framework, and I did that (using remove_HtcLockscreen.zip from http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2). The only problem is that this framework is, in my opinion, deadly ugly. So I thought "as I've seen that it is possible, I just going to modify the things my self".
I did all sort of things, using the new framework to see which things where changed. The plan was to look where the lockscreen was defined, to look for diferences and to make modifications in the standard sense framework.
The two most important things I already have done is
- modifying the keyguard_screen_tab_unlock.xml of the framework-res.apk so that it matched with the one in the framework-res.apk that I downloaded - resulted in nothing.
- deodexing the android.policy.jar classes.dex file. I've seen that there are a lot of smali files in there reguarding the "lockscreen" and "keyguard", but first of all I don't now which one does what an secondly, I've seen that the standard sense android.policy.jar doesn't contain a classes.dex file. I've already tried to push the android.policy.jar with the classes.dex file in my phone, but I noticed no difference.
Reading this it appears to me that it doesn't seem that I have done so much. But I can assure you, I've done a lot more, but most of the time it had nothing to do with the lockscreen and/or resulted in a bootloop.
But now my ideas have come to an end, and this is why I'm asking for help. Can somebody set me off in the good direction? I know that it must be possible to make the sliders normal, so it is really driving me crazy not to see which files I should edit.
Thank you in advance,
Erwin
ErwinP said:
This can be solved by flashing an other framework, and I did that (using remove_HtcLockscreen.zip from http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2). The only problem is that this framework is, in my opinion, deadly ugly. So I thought "as I've seen that it is possible, I just going to modify the things my self".
Click to expand...
Click to collapse
I flashed this one when I was using Sense and the lockscreen looked OK, not too big, not too small, just like the default android.
Kinda like this, but better:
http://forum.xda-developers.com/showpost.php?p=10486389&postcount=85
Thank you, but again, this is something that changes icons etc. And all I want to do is make the slide bars look like in that ROM
But reading trough that topic, it looks to me that it appears to be difficult to make changes in sense roms... Still hoping that someone can point me the files that should be edited, or at least set me of in the good direction.
But thank you Alex_GP for your fast respons!
Erwin
I don`t know these stuff, but you can try PM-img HewGBalls http://forum.xda-developers.com/member.php?u=3193485 and asking him for directions, seeing that he`s the one that worked on this before.
I'm new to Android, coming from my FrankenPre2 after giving up hope on webOS and HP. Picking up the Epic Touch has been great, besides the LOS and battery issues. I was pretty deep into modding the Pre, so I'm looking to do the same here.
My first thought was to try to modify the images on the Epic, but I am lost as to where to find the correct files to modify. I was able to change the icon for the messaging app and the Incoming/Outgoing phone call animation, but that's pretty much it. I don't know where to start with the phone app, since images seem to be spread out all over the place. Opening up the phone apk yeilds a ton of images, and I don't know which ones to change.
My question would be to any themers out there, or anyone familiar enough with Android. How do I know which images I need to edit? Is there a directory or a file list which gives corresponding locations to specific images, such as the "1" button or the "Call" button, or the launcher icons? Or is it more a process of trial and error? Any help would be greatly appreciated. Thanks.
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
gtuansdiamm said:
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Pretty much everything. My first shot will be at the stock icons on the launcher. The I'd like to start on themes for the phone, email, and messaging apps. Pecifically, on the phone I'd like to change much of the color scheme, since the stock colors are in my opinion pretty ugly. But I also want to change the dial pad numbers and other standard buttons.
I was directed to this thread by another Android user:
http://forum.xda-developers.com/showthread.php?t=821638
Looking into it, the framework-res.apk does have a lot of images that are familiar, but there are a lot of images that aren't there. I think I'll have to start learning about the names of the file locations, and going by trial and error. It would be awesome if there was a simple blueprint as to where the images you want to change are, but ah well. I've got a lot of learning to do. Thanks for the response, and if you have any other suggestions, let me know.
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
KelvCast said:
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
Click to expand...
Click to collapse
Thank you! I would never have looked in the contacts for the dialer icons. There doesn't seem to be a perfect logic as to which apk's hold the images, so I guess it's going to be a lot of trial and error here. If you know of any more locations, let me know. Thanks!
you need to modify the images in the following that I know of to get a pretty standard theme
Framework-res
touchwiz framework-res
contacts.apk
systemui.apk
I don't know what caused this but when a call is incoming, the ignore button is totally white while the answer button is normal as it should be.
Any idea what might have caused this?
Have you applied a custom theme? Try changing your theme to the default theme.
samnas2 said:
Have you applied a custom theme? Try changing your theme to the default theme.
Click to expand...
Click to collapse
the theme is default.
Can the installation of root tools have something to do with that?
This also happened to me, affecting lockscreen numbers too. I'm going to look look into the registry later as I think it's probably just caused by root tools or a custom theme accidentally changing one of the button color codes to #000000. I'll post my findings later.
Sent from my LG-C900B using XDA Windows Phone 7 App
it is happened to me too some time ago (before install root tools 0.9)
when i managed custom themes with metro themes or other homebrew registry hack (ie advanced config or mods for black mails layout) for theming the accent colors
reinstall metrothemes and try to apply default theme to black background and white background also and restart phone (remember to apply black layout to black themes and white to whote themes)
hope you fix, i have fixed my white ignore button with this method
it is due to changing the registry entries of theme/0 or theme/1 folder, chromecolor or an another entry, i have the same issue and get it back with all the stock settings. or you have copied some xaml files to the windows/ folder of your device that changed the registry edits for you, if they are still in the windows folder you must delete them, but you also must delete the custom accent of that xaml that you delete.
I was using the app Metro theme or something like that, homebrew. Reverting to the stock worked.
Thanks.. I reset to default and it works again. Strange as I swear I've done that many times already. Cheers
lamborg said:
I was using the app Metro theme or something like that, homebrew. Reverting to the stock worked.
Click to expand...
Click to collapse
metro sytle or something? i know, it changes the background but also some other parts and if only one xaml file dont work like it should then some thing mess up the phone icon in call history as example, or the call ending button during call, or the status bar, or the icons of each letter in the people hub. and so on, if you want to change some things you must know which registry entry is for what, and you must know before you change it how it is gonna look use photoshop or some similar program that lets you compare colors, you can paste there your color code from the xaml files, and look if it is the right choice, then simply switch in registry, but only if you are sure what you change