[REQ] How to change the color of pattern unlock - Hero CDMA Themes and Apps

I have seen images of this done, but I can't find the xml controlling the color of the green bar that appears when you draw the pattern. I have looked through a lot of apk who could be the culprit, but with no luck. Anyone know where to find it?

tristan202 said:
I have seen images of this done, but I can't find the xml controlling the color of the green bar that appears when you draw the pattern. I have looked through a lot of apk who could be the culprit, but with no luck. Anyone know where to find it?
Click to expand...
Click to collapse
It looks like just changing some .png's to me
Did you look in /system/framework/framework-res.apk ?
indicator_code_lock_point_area_default
indicator_code_lock_point_area_green
indicator_code_lock_point_area_red
Try changing those and see if it works.
Nevermind: Now I see you were asking about the green bar, not the color of the buttons. Sorry, can't help there.

Heaterz16 said:
It looks like just changing some .png's to me
Did you look in /system/framework/framework-res.apk ?
indicator_code_lock_point_area_default
indicator_code_lock_point_area_green
indicator_code_lock_point_area_red
Try changing those and see if it works.
Nevermind: Now I see you were asking about the green bar, not the color of the buttons. Sorry, can't help there.
Click to expand...
Click to collapse
It seems that noone knows how to do this. I have posted in several forums, but haven't got any answer yet. I can't se any reason why it shouldn't de doable though. On nonsense roms it's grey, and of course green on sense, and I have seen a youtube video where it was blue.

It's all done in png's, even the connecting lines. Those are .9 though
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

danaff37 said:
It's all done in png's, even the connecting lines. Those are .9 though
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
And where might I find that 9patch png?

In the tools folder of the sdk, same place as adb
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

Related

[APP][THEMED] Gmail 2.3.5.. Blacked Out!!

Ok, here is it.. just pushed last night and already inverted! The major part of this was done by B-boy, I just added the finishing touches and did a few smali edits..
Instructions for ROOTED users.....
uninstall updates for gmail
download the app
navigate to app
select and install.....enjoy
if this doesn't work, then you will need to use RE, rename gmail.apk in /system/app to gmail.apk.old and then REBOOT, if you do not reboot it won't work!!
Now return to the app, select it, and install... enjoy
Non-Rooted users, you can give this a try and see if it will work...
uninstall updates for gmail
download app
navigate to app
select and install
You will know right away if it works.....
Always make a backup and enjoy Gmail 2.3.5.... Blacked Out
http://bit.ly/Gmail235BlackedOut
Rooted users... if you have issues installing, let me know and I will post some update.zips... but this should work for ALL devices...
Needed this. Thanks!
ADR6300
Very nice...I wish I could do this..I would like all the text to be ff0017ce but I do not know all the locations of were the texts are..I changed what I could in colors.xml but that did not do it.
Wouldnt install on my stock galaxy tab
Sent from my SPH-P100 using XDA Premium App
Hatman41 said:
Very nice...I wish I could do this..I would like all the text to be ff0017ce but I do not know all the locations of were the texts are..I changed what I could in colors.xml but that did not do it.
Click to expand...
Click to collapse
Unread/read text is smali.. the inner messages that we inverted is in the raw files..... look for an update with a slightly lighter "read" background....
Sent from my Droid using XDA App
Thanks, can you place some screenshots please
ecsnead69 said:
Ok, here is it.. just pushed last night and already inverted! The major part of this was done by B-boy, I just added the finishing touches and did a few smali edits..
Instructions for ROOTED users.....
uninstall updates for gmail
download the app
navigate to app
select and install.....enjoy
if this doesn't work, then you will need to use RE, rename gmail.apk in /system/app to gmail.apk.old and then REBOOT, if you do not reboot it won't work!!
Now return to the app, select it, and install... enjoy
Non-Rooted users, you can give this a try and see if it will work...
uninstall updates for gmail
download app
navigate to app
select and install
You will know right away if it works.....
Always make a backup and enjoy Gmail 2.3.5.... Blacked Out
http://bit.ly/Gmail235BlackedOut
Rooted users... if you have issues installing, let me know and I will post some update.zips... but this should work for ALL devices...
Click to expand...
Click to collapse
FC on authentication -SGS2
Are you rooted?
Sent from my SCH-I500 using XDA Premium App
Awesome, thanks for this!
Sent from my HTC Vision using XDA App
B-boy™ said:
Unread/read text is smali.. the inner messages that we inverted is in the raw files..... look for an update with a slightly lighter "read" background....
Sent from my Droid using XDA App
Click to expand...
Click to collapse
If I wanted to change the read/unread could you point me to the correct file and line? Also what is the smali color code for the grey that you use? Also the html color code for the grey. I could probably find out where in the files they are located if I knew the color code. I have a black/blue theme and am wanting to redo my Gmail to match it. I have almost completed theming the entire gmail. I am just missing the smali edits. Any help would be appreciated and all credit would be given.
dseo80 said:
FC on authentication -SGS2
Click to expand...
Click to collapse
If it installed but fc's, go to settings/apps/manage/all/Gmail/clear data and cache ....
Sent from my Droid using XDA App
Hatman41 said:
If I wanted to change the read/unread could you point me to the correct file and line? Also what is the smali color code for the grey that you use? Also the html color code for the grey. I could probably find out where in the files they are located if I knew the color code. I have a black/blue theme and am wanting to redo my Gmail to match it. I have almost completed theming the entire gmail. I am just missing the smali edits. Any help would be appreciated and all credit would be given.
Click to expand...
Click to collapse
Ecsnead would have to guide ya on the smali stuff.... the gray text we use within the messages is in raw-hdpi and raw-mdpi... the -v9 ones or whatever can be deleted... open those with note++ and the top section has background and text color... make the bg 000 and the text color 666 .... if I knew what smali files were used I'd hook ya up but ec did those on Gmail....
Sent from my Droid using XDA App
B-boy™ said:
Ecsnead would have to guide ya on the smali stuff.... the gray text we use within the messages is in raw-hdpi and raw-mdpi... the -v9 ones or whatever can be deleted... open those with note++ and the top section has background and text color... make the bg 000 and the text color 666 .... if I knew what smali files were used I'd hook ya up but ec did those on Gmail....
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Thanks much. I made the changes to the styles in the two raw directories and now my text color is the blue of my theme. ecsnead69 is helping me with the smali edits. After I am done I will post screen shots.
Ok mine is done. Thanks alot B-boy and ecsead60
Hatman41 said:
Ok mine is done. Thanks alot B-boy and ecsead60
Click to expand...
Click to collapse
No prob... glad ya got it... and if ya still haves purple text in the inner messages, in those raw files at the bottom part is 2 lines that say purple... change them to blue... fixes the purple color....
Sent from my Droid using XDA App
B-boy™ said:
No prob... glad ya got it... and if ya still haves purple text in the inner messages, in those raw files at the bottom part is 2 lines that say purple... change them to blue... fixes the purple color....
Sent from my Droid using XDA App
Click to expand...
Click to collapse
I do not see any purple so far.
ecsnead69 said:
Rooted users... if you have issues installing, let me know and I will post some update.zips... but this should work for ALL devices...
Click to expand...
Click to collapse
I have an first generation Incredible and it would not install. ROOTED.
If it won't install, then go into /system/app and delete the Gmail.apk in there and reinstall.. You will need to reboot after deleting the file though, or the install will fail
Work perfectly on my Milestone, had to remove other gmail first but no problem there.
B-boy™ said:
If it installed but fc's, go to settings/apps/manage/all/Gmail/clear data and cache ....
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Still FC's here.

[REQUEST] Theme from MIUI

Hello, I made a theme on MIUI, but for some reason I can't get it working on Weapon G2X..
I got the notification bar icons to work, but I don't really know how to mod the drop down notification bar. I have all the icons in the MTZ in the SystemUI file.
Could someone help me port this over?
I attached Backup_0.mtz (the theme from MIUI).
SystemUI.apk (My modded SystemUI.apk which has the notification bar icons from the MIUI theme)
(the framework that must be modded I'm assuming is framework-res.apk? Or how else do I mod the notification drop down bar?)
Thanks for any help!
http://www.mediafire.com/?p9g8vcg2k2i2219
http://www.mediafire.com/?uuq2tlwo9utz9ag
Holy hell. This might bring me over to CM7 again. Once you MIUI its hard to go back. I wish the main apps like the dialer and messaging app would be installable on other roms.
LG G2x - 2.3.5 MIUI
Asus Transformer - 3.2 Revolver
player911 said:
Holy hell. This might bring me over to CM7 again. Once you MIUI its hard to go back. I wish the main apps like the dialer and messaging app would be installable on other roms.
LG G2x - 2.3.5 MIUI
Asus Transformer - 3.2 Revolver
Click to expand...
Click to collapse
I miss MIUI too. Unfortunately for me stuff was just not working at all, 3g connectivity broke, and certain things wouldn't work properly.
On weapon most of the pulldown is in systemui.apk. the other basics is in frameworkres. I have alot going on lately but if I have time I will look at it.
Sent from my LG-P999 using xda premium
kwes1020 said:
On weapon most of the pulldown is in systemui.apk. the other basics is in frameworkres. I have alot going on lately but if I have time I will look at it.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I'd thank you but I'm on XDA App. Thank you though
I'll check out systemUI when I get home. I was peeking in framework-res and couldn't find the files, so I'll check again SystemUI.apk
Sent from my Flashback HC-TAB using XDA Forum App
I have it somewhat done...
http://www.mediafire.com/?bbnck75fstval0z
It's getting there. I just have a problem with the time being in white so you can't see it, and blotchy black colors on the drop down bar.
Also, the status bar when closed just looks like a purely white straight across line. I wanna make it a little more gradient towards the bottom. Anyone good with doingthings like that?
Edit:: How do I edit the color of the text of "Emergency" (I think it's the carrier name).
And also edit the colors of the background of the status bar expanded? I've changed every png so far. I'd like to make the status bar black until you pull it down, then it turns white. Possible?
It is possible. The easiest way I have found is using partially transparent status bars. As for the text colors its in various XML files. Their names pretty much will give them away.
For the backgrounds of where it shows notifications like download and such is app_item_background.9 but if your talking about the bar itself I think you will have to make semi major mods
Sent from my LG-P999 using xda premium
kwes1020 said:
It is possible. The easiest way I have found is using partially transparent status bars. As for the text colors its in various XML files. Their names pretty much will give them away.
For the backgrounds of where it shows notifications like download and such is app_item_background.9 but if your talking about the bar itself I think you will have to make semi major mods
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Dang :S
I can't open the xml files, it always comes up as random squares. I'm using notepad++ btw.
Any reason why they're coming up weird?
And yeah, like I changed the bottom tab of the drop down bar, and I changed the background for text and for the quick toggles, but the actual bar still seems to be black on the background. The things I changed just seem to be overlays. Do you know how to change the actual entire bar?
You have to decompile Apks before you can edit the xml with notepad++
Sent from my LG-P999 using xda premium
kwes1020 said:
You have to decompile Apks before you can edit the xml with notepad++
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Whoa that sounds complicated.
I'll google around how to decompile apks. After decompiling and editing xml files can I just drag and drop them back into the apk? Or do I need to recompile.
Yes you would have to recompile them.
Sent from my LG-P999 using xda premium
kwes1020 said:
Yes you would have to recompile them.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
K got some googling to do.
barqers said:
Whoa that sounds complicated.
I'll google around how to decompile apks. After decompiling and editing xml files can I just drag and drop them back into the apk? Or do I need to recompile.
Click to expand...
Click to collapse
There is a great thread for theming by theimpalar747 http://forum.xda-developers.com/showthread.php?t=916814
If I remember correctly I use apk manager 4.9 to decompile and recompile. You have to set up some Java to work on certain system apk files, and the resources.arsc file can bite you in the a$$ sometimes. I replied to you in my thread btw, did they answer your question?
I also like the villainrom theming script, makes it easy to make flashable zips. But that is just my 2¢.
Sent from my JitterBug
wewoapsiak said:
There is a great thread for theming by theimpalar747 http://forum.xda-developers.com/showthread.php?t=916814
If I remember correctly I use apk manager 4.9 to decompile and recompile. You have to set up some Java to work on certain system apk files, and the resources.arsc file can bite you in the a$$ sometimes. I replied to you in my thread btw, did they answer your question?
I also like the villainrom theming script, makes it easy to make flashable zips. But that is just my 2¢.
Sent from my JitterBug
Click to expand...
Click to collapse
Yes thank you it did
I'm slowly piecing it together. For some reason though I tried changing all the png's and it still doesn't change the actual color from black to white.
I'm wondering now if it's even a png for the true background of the status bar.
I will definitely check out the application for compiling/decompiling, hopefully I can get this thing working lol
You know, honestly, the new Weapon 2.7 theme I can totally live with.
If someone of greater knowledge would like to take over my project though, I wouldn't object lol. I just don't really know what I'm doing, I've had my phone stuck in bootloops like 5 times now -.-
If you want and I get some free time I will look at porting it to 2.7 for you once I get through updating all my crap.
kwes1020 said:
If you want and I get some free time I will look at porting it to 2.7 for you once I get through updating all my crap.
Click to expand...
Click to collapse
That would be amazing!!
Whenever you have time that would be great
I'm done trying it out for the night. I'll continue testing PNGs tomorrow.
So far I have all the icons ported, and some proper white backgrounds. But then there's random black blotches and the clock color is white, gotta change it to black.
Thank you for all your help so far!
barqers said:
That would be amazing!!
Whenever you have time that would be great
I'm done trying it out for the night. I'll continue testing PNGs tomorrow.
So far I have all the icons ported, and some proper white backgrounds. But then there's random black blotches and the clock color is white, gotta change it to black.
Thank you for all your help so far!
Click to expand...
Click to collapse
On weapon you can change clock color with the edttweaks app. No need to stress over that. Framework.jar is where you would normally change it.
Sent from my LG-P999 using xda premium
kwes1020 said:
On weapon you can change clock color with the edttweaks app. No need to stress over that. Framework.jar is where you would normally change it.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Oh perfect! One more problem solved
Now now only thing that I gotta worry about is the black to white background
Sent from my LG-P999

Combining themes..

It is possible to merge elements from 1 then to that of another, simply? Or would I need to get into the apk and dig around? I
Sent from my ADR6300 using XDA App
20twins10 said:
It is possible to merge elements from 1 then to that of another, simply? Or would I need to get into the apk and dig around? I
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Depends, if they're just icons/image .png's, then you can use 7zip to open the apk's and find what you want to move. If it's font colors and other items (XML edits), it may be a little more difficult than that.
20twins10 said:
It is possible to merge elements from 1 then to that of another, simply? Or would I need to get into the apk and dig around? I
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
if the themes are for the same rom you could do it. you will need to know what to look for so you can pick and choose.
All the themes are for cm7. Some are images, some are things like dialers and such.. if all of it can be done not having to use Linux then I'm fine with it.. ill have to crack an apk open and take a look..
Sent from my ADR6300 using XDA App
20twins10 said:
All the themes are for cm7. Some are images, some are things like dialers and such.. if all of it can be done not having to use Linux then I'm fine with it.. ill have to crack an apk open and take a look..
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
oh so they are cm7 theme chooser apk's. that makes it easier. if you decompile with apktool you can combined them. the xmls will show RGB color codes so you can see it more clearer. which themes where you trying to combined?
Newwavegb & mixer.. I like how newwave has tthe colored icons for the settings section, but mixer also has colored icons for all the smaller setting sections.. the dialer for newwave is a little bland, the solid black..
Is apktool Linux or windows?
Sent from my ADR6300 using XDA App
20twins10 said:
Newwavegb & mixer.. I like how newwave has tthe colored icons for the settings section, but mixer also has colored icons for all the smaller setting sections.. the dialer for newwave is a little bland, the solid black..
Is apktool Linux or windows?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
its for both. if you want an easier way use apkmanager. its all runned by scripts. i learned how to edit with apkmanager then switched to apktool because i found it works better for me. but its up to the user. let me know if you need any help.
http://forum.xda-developers.com/showthread.php?t=695701

Editing 14 toggle for ICS

Hey Guys and Gals,
How difficult would it be to edit the 14 toggle mod to remove the line indicator and just leave the icon to light up when pressed? I like a bit more room on my notification bar and this would be perfect. I tried editing it myself. I've done some theme work but I can't really find the correct places to remove to re-size it. If anyone wouldn't mind taking a shot at it I'd appreciate it or tell me how.
phoenix2217 said:
Hey Guys and Gals,
How difficult would it be to edit the 14 toggle mod to remove the line indicator and just leave the icon to light up when pressed? I like a bit more room on my notification bar and this would be perfect. I tried editing it myself. I've done some theme work but I can't really find the correct places to remove to re-size it. If anyone wouldn't mind taking a shot at it I'd appreciate it or tell me how.
Click to expand...
Click to collapse
To resize I don't think it would be a matter of removing code, but altering it, or altering the dimensions of the images.
If you want more screen real estate I'd recommend changing your pixel density.
Sent from my SAMSUNG-SGH-I727 using xda premium
I'd post a screenshot but the app is being really weird right now...
Sent from my SAMSUNG-SGH-I727 using xda premium
It's inside the drawable folders in SystemUI
Sent from my SAMSUNG-SGH-I727 using XDA

Editing Apps

The goal is to be able to change small things in some apps.
For example, there is an app called SnapChat which allows you to send a picture for 3 seconds and then closes the picture. In this scenario, I would like to be able to edit the .apk file to allow to stay for 4 seconds. Would this kind of this be possible?
How so?
Um....you can do this within the app.....stock....
Sent from my Eclipsed S3 running that KTOONZ Sauwce
post this in android hacking. it is not a verizon gs3 topic. you'll find more support there.
Matthenson20 said:
Um....you can do this within the app.....stock....
Sent from my Eclipsed S3 running that KTOONZ Sauwce
Click to expand...
Click to collapse
I know, it was a poor example. But I'm just wondering if it would be possible to do small changes like this to apps?
Dgameman1 said:
I know, it was a poor example. But I'm just wondering if it would be possible to do small changes like this to apps?
Click to expand...
Click to collapse
most apps are customizable. there are threads over in android general/hacking specifically about this topic.
OK I have looked a lot. I want to change a lot of things not just an app. I want to change my app icon color I want to change the color of my clock widget my wheat her widget the resize outline of the box also the color of the lock on the lock screen. Anybody pm me plz I am clueless at this stuff.
Sent from my SCH-I535 using xda app-developers app
You can change alot of things in apps just by playing around with them. Using Apktool or another decompiling tool, you can change alot in the res/values folders Theres alot of stuff you can play around with in the various xml files
tihsllub said:
OK I have looked a lot. I want to change a lot of things not just an app. I want to change my app icon color I want to change the color of my clock widget my wheat her widget the resize outline of the box also the color of the lock on the lock screen. Anybody pm me plz I am clueless at this stuff.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
use the search box at the top of the page. type in theme/mod apk's. pages of stuff will come up. here's 1 place to start- http://forum.xda-developers.com/showthread.php?t=2069287
So you are saying I can't decompile or recompile apks on my phone? I have to use adb to push/pull and then use a program to decrypt the XML then I can change the values to what I want?
Sent from my SCH-I535 using xda app-developers app
tihsllub said:
So you are saying I can't decompile or recompile apks on my phone? I have to use adb to push/pull and then use a program to decrypt the XML then I can change the values to what I want?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
You're gonna have to adb push/pull unless you build your own ROM.
You can get apktool from here: https://code.google.com/p/android-apktool/
[email protected] OK. :/ hard drive crashed.
Sent from my SCH-I535 using xda app-developers app
You can swap out images but you definitely can't change app settings like animations and such without the right tools and procedures.
[email protected]'$ [email protected]@XY
OK. I don't want yo change animations just yet. I want to edit app icon colors widget colors. I pretty much want to theme everything.
Sent from my SCH-I535 using xda app-developers app
use 7zip on your computer to swap out png's. change app's name from whatever.apk to whatever.zip then move it to your computer using 7zip open the archive. don't extract or unzip. navigate to res folder and open it. find the png files you want to change and insert your png files you want. make sure they are the correct size, in the correct format (png) and are named correctly. exactly as they are in the zip file. then close the zip transfer it back to your phone and rename back to whatever.apk i do suggest doing some more research before doing this. there are a lot of threads dedicated just for this. use the search engine at the top of the page. XDA provides it for this exact reason.

Categories

Resources