Related
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.
Hello GUIse,
I am sort of new to theme porting, I have ported 2 themes from the SGS (Gingerbread Theme & Black Android Theme by Pele) the Gingerbread Theme ported fine with no issues, on the other hand, the Black Android Theme went across fine but there was an issue with the notification area, the "clear" button to clear all notifications has gone the incorrect colour (The button itself not the text) I was wondering, where is this button based so I can change the colour?
I presumed it was on Framework-res.apk but found nothing.
I heard you have to edit the XML settings but was unsure which XML it was as there are plenty.
Second Question: What program do you use to edit XML files? I used notepad and it came up with mumbo jumbo.
Thanks in advance, I appreciate any help.
Everyone has to start somewhere, but if you do please show some self-initiative and search a bit for yourself. There are tons of topics on how to start on advanced themeing. Here's one: http://forum.xda-developers.com/showthread.php?t=916814
To answer your second question, you can use notepad++ although i use UltraEdit.
Notepad may work but you have to decompile the apk to view the xml correctly (you may already know this). As far as the clear button goes, ive done this before ages ago but cant remember, ill try and dig out the info unless someone gets there first.
I can tell you where to find one thing thats totally unrelated but you could use it as a test : to change the volume bar you have to edit progress_horizontal.xml which is within framework-res.apk/res/drawable/
Hope some of this helps.
cTrox said:
Everyone has to start somewhere, but if you do please show some self-initiative and search a bit for yourself. There are tons of topics on how to start on advanced themeing. Here's one: http://forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Just so you know, I did try search initially but obviously not hard enough. I wouldn't of posted anything if I didn't know what to look for.
Thanks for linking me to that thread.
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 have a theme request for the Galaxy Nexus... I've tried doing this myself, but with my novice level of expertise, I'm afraid it's hopeless...
I really detest the new "Evil Snowman" image that shows up for all contacts without a pic, caller ID, text messages and some icons. I have no idea why Google chose this image. The little robot was much nicer. Anyway, if anyone has the time, I would really appreciate a theme that keeps everything stock, but replaces all the horrible "Evil Snowman" images with something better - a little Android Robot would be great.
I'd be happy to donate to anyone that can do this.
Thanks so much...
if you look a little further back in this forum (or maybe it was in Rootzwiki, not sure which) there were a few themed apks and zips that I found I looked through them but never saw anything that interested me.
I looked too... The problem is that I really just want a stock look, and no snowman. I don't want to change everything else.
Matt_TX said:
I looked too... The problem is that I really just want a stock look, and no snowman. I don't want to change everything else.
Click to expand...
Click to collapse
what img do you want there instead? i can do that for you as i get back home.
tell me what rom/version you're using too
Sent from my Galaxy Nexus
etoy said:
what img do you want there instead? i can do that for you as i get back home.
tell me what rom/version you're using too
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Honestly, I'm not that fussy... Perhaps a little Android man in a color scheme that goes with the stock look.
The problem is that the snowman is everywhere... Here's a list of places I've seen, there may be more...
- Phone App / Contacts
- Caller ID
- Conference Call
- Messaging
- People App Icon
- People App top of screen
- People App contacts
If you can do this for me, I would be delighted... I will also gladly donate if it works.
BTW, I'm running Stock 4.0.4 for the CDMA/LTE Galaxy Nexus (Rooted and De-odexed)
EDIT: I like the contact image shown here, but perhaps in colors that better fit the stock look:
http://forum.xda-developers.com/showthread.php?t=1467139
I agree with you Matt...although I never thought of the stock 'unknown' contact image as an Evil Snowman, lol.
Anyways, the files that you want to change are in framework-res.apk\res\drawable-xhdpi\ic_contact_pictureXXXX.png. Attached to this post below, you'll find a quick screengrab that I took from my theme's working project folder.
Speaking of which, I will be updating my PCB Blue theme to include the Android robot image (specifically 'ic_contact_picture_2.png') by default, as I also prefer it over the "Evil Snowman"
You should be able to just edit framework-res.apk with WinRAR since you're only replacing normal PNG files. Extract them first, rename them, then drop them back into the .APK...on the other hand, if you like my PCB Blue theme, you can always wait for the next version where that will be done.
** EDIT ** - I am attaching the 3 untouched PNGs from framework-res.apk to make things a bit easier for you. They have been renamed properly to have Android use the robot as default. You therefore shouldn't need to do anything else but pop them into your framework-res.apk (many guides exist on how to edit this file, but the quick version would be to use ADB in Recovery to make changes (pull --> edit --> push --> set permissions) to the file.
Also, it may be possible that the other apps/APKs have their own resource image for an unknown contact. If that's the case, you'll have to dive into those APKs too (I only mod framework-res.apk myself, didn't peek into any others).
Hope that helps.
scar45 said:
I agree with you Matt...although I never thought of the stock 'unknown' contact image as an Evil Snowman, lol.
Anyways, the files that you want to change are in framework-res.apk\res\drawable-xhdpi\ic_contact_pictureXXXX.png. Attached to this post below, you'll find a quick screengrab that I took from my theme's working project folder.
Speaking of which, I will be updating my PCB Blue theme to include the Android robot image (specifically 'ic_contact_picture_2.png') by default, as I also prefer it over the "Evil Snowman"
You should be able to just edit framework-res.apk with WinRAR since you're only replacing normal PNG files. Extract them first, rename them, then drop them back into the .APK...on the other hand, if you like my PCB Blue theme, you can always wait for the next version where that will be done.
** EDIT ** - I am attaching the 3 untouched PNGs from framework-res.apk to make things a bit easier for you. They have been renamed properly to have Android use the robot as default. You therefore shouldn't need to do anything else but pop them into your framework-res.apk (many guides exist on how to edit this file, but the quick version would be to use ADB in Recovery to make changes (pull --> edit --> push --> set permissions) to the file.
Also, it may be possible that the other apps/APKs have their own resource image for an unknown contact. If that's the case, you'll have to dive into those APKs too (I only mod framework-res.apk myself, didn't peek into any others).
Hope that helps.
Click to expand...
Click to collapse
Scar,
The snowman is definitely evil. I feel like he is mocking me with that sideways smile. I don't like it... Hahaha... Just kidding
From what I can tell, the contacts.apk, phone.apk and mms.apk all have their own "snowman" images so I think they would all have to be edited. I know that I can do this using 7-zip, but it's really a bit beyond my comfort level right now. I'm still learning
If I edit the framwork-res.apk, does it override the files in the individual apps? It sounds like it doesnt. BTW, your image with the droid at 45 degrees is fantastic. It is EXACTLY what I'm looking for. Do you have a larger version for to replace the one that shows up with caller ID?
Thanks,
Matt.
Matt_TX said:
Scar,
The snowman is definitely evil. I feel like he is mocking me with that sideways smile. I don't like it... Hahaha... Just kidding
From what I can tell, the contacts.apk, phone.apk and mms.apk all have their own "snowman" images so I think they would all have to be edited. I know that I can do this using 7-zip, but it's really a bit beyond my comfort level right now. I'm still learning
If I edit the framwork-res.apk, does it override the files in the individual apps? It sounds like it doesnt. BTW, your image with the droid at 45 degrees is fantastic. It is EXACTLY what I'm looking for. Do you have a larger version for to replace the one that shows up with caller ID?
Thanks,
Matt.
Click to expand...
Click to collapse
LMAO! You know, the more I look @ him, the more I dislike him too...especially with that sideways smirk...
If you did check those other APKs and see snowman images, then yep, it's quite certain that those APKs will need to be modded. I use WinRAR and it couldn't be easier...one thing you must remember is to choose ZERO or STORE compression when working with 'framework-res.apk' and possibly others. They are not compressed in the ROMs (at least AOKP, which I run).
So, if you edit only framework-res.apk, then it probably will NOT change the caller ID, contacts photos, etc.. In terms of the image, I took that directly from 'framework-res.apk', so I unfortunately don't have a better/larger image. You might try Photoshop/GIMP, using an image resize method that is "better for enlargement".
Cheers Matt!
I'm still no further forward in my quest to kill the snowman. I like the robot image posted above, but the issue is that it's 108x108 pixels. I basically need 4 different images. One light grey as shown which is 128x128, this will work for the People App, MMS and the Framework. Then I need a darker one which is also 128x128 for the contacts list in the phone app. Next I need a dark image which is 360x360 (for caller ID screen) and another light image which is 360x360 for the People app (viewing a contact).
In summary:
128x128 light grey
128x128 dark grey
360x360 light grey
360x360 dark grey
I have tried to resize the image, but it looks like crap. Can someone please help me? I think I can get this done with the right png files.
Thanks,
Matt.
Matt_TX said:
I'm still no further forward in my quest to kill the snowman. I like the robot image posted above, but the issue is that it's 108x108 pixels. I basically need 4 different images. One light grey as shown which is 128x128, this will work for the People App, MMS and the Framework. Then I need a darker one which is also 128x128 for the contacts list in the phone app. Next I need a dark image which is 360x360 (for caller ID screen) and another light image which is 360x360 for the People app (viewing a contact).
In summary:
128x128 light grey
128x128 dark grey
360x360 light grey
360x360 dark grey
I have tried to resize the image, but it looks like crap. Can someone please help me? I think I can get this done with the right png files.
Thanks,
Matt.
Click to expand...
Click to collapse
Looking for the same here. Any luck?
Don't know if I am posting this is the right place, but I didn't see a forum for theme questions only. This forum seems to be for posting your completed themes so if it's in the wrong place, please move to the appropriate location. Thanks.
I'm trying to make a theme for MIUI V4 for my Inc2. Everything is going well except I have one small problem I can't solve and it's driving me nuts. I'm trying to change all of the orange to blue and I just about have it all figured out for every .apk except for a problem in the dialer. When you are making an actvie phone call (not dialing, but actually in the call), there a two buttons for 'Keyboard' and 'Tools. When you press either one, a window pops up with the options for the button you pressed. Along the top of this new window is an orange strip that goes the entire width of the window. I cannot find the file that controls the color of that orange strip. I have looked closely at every file in the contacts and phone apks about a dozen times and I am positive I didn't miss an image file that is still orange so i'm thinking it must be somewhere else.
Does anyone know what I am referring to and what the image file name is and\or which .apk it is in? For the record, I have also themed the framework-res and framework-miui-res apks so I don't think there is anything orange left in them either.
Any help would be greatly appreciated because figuring this out is driving me crazy. Thanks...
Joe