Jump to content


Photo

Make your own themes [Theme Dark Pulse V1.0 - 14/07/2010]

* * * * * 1 votes

  • Please log in to reply
89 replies to this topic

#1
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce
You can change the look of any ROM and application by editing the framework. Here are some pointers on how to do it under Windows.

ROM framework

First you'll need to get the framework. For the best compatibility get the framework from the ROM you are using. So either install some root explorer on your device go to /system/framework and copy framework-res.apk to SD and then to PC, or if you are using a custom ROM open the update.zip (or whatever name it is ;) ) /system/framework and copy framework-res.apk to a folder on your PC.

Next you need to open the framework-res.apk and extract its contents. This works best with WinRAR, but feel free to use any archiver you like. Apk's are basically .zip like files.
Right click framework-res.apk select open with and then WinRAR. open the res folder and extract the drawable and drawable-mdpi folders to a new folder.

drawable-mdpi contains all the graphics of the ROM. PNG files that you can edit or just replace with PNG's from another framework. After editing open framework-res.apk and put the edited drawable-mdpi folder back in the res folder. Make sure add and replace files and normal compression is selected.

Editing .9.png's

http://forum.xda-dev...ad.php?t=487001

__________________________________________

The drawable folder contains xml files. The xml's we need are the ones responsible for the progress bars

File List:progress_horizontal.xmlprogress_indeterminate_horizontal.xmlprogress_large.xmlprogress_large_white.xmlprogress_medium.xmlprogress_medium_white.xmlprogress_small.xmlprogress_small_titlebar.xmlprogress_small_white.xml

What i have learned is that progress_horizontal.xml contains the color information of progress bars and you can HEX edit the file to get whatever color you like. Just replace these files with ones from another framework you like cause editing is a pain to do. After editing open framework-res.apk and put the edited drawable folder back in the res folder. Make sure add and replace files and normal compression is selected.

Editing progress_horizontal.xml: http://www.droidforu...bar-colors.html

NOTE: In Android 1.5 framework the PNG's and XML's are in the same folder drawable.

Changing the Notification bar text and clock color

Method 1: http://www.droidforu...html#post279084
Method 2: http://forum.xda-dev...ad.php?t=549309

Finally you need to make a signed flashable zip file.

Download update.zip and Auto_Sign.rar. Extract Auto_Sign.rar and put update.zip in the Auto Sign folder. Open update.zip and put your edited framework-res.apk in the framework folder. Close the zip and open auto-sign.exe. Select update.zip from the drop down menu and click auto_sign. A new zip is created called update_signed.zip. And that is it. You can rename the zip and flash it in recovery.

There are some issues with pop-ups when theming Huawei's vanilla ROM's

To fix the pop-ups you need to edit the build.prop.

Open build.prop. Go to ro.config.PopupTwink=true and change it to ro.config.PopupTwink=false.

Files:

Attached File  update.zip   2.14KB   159 downloads
Attached File  Auto_Sign.rar   50.33KB   157 downloads

App created by BigBearMDC for editing frameworks AnDE

Themes you can modify: HERE

NANDROID BACKUP ALWAYS

Edited by ogiogi, 14 July 2010 - 01:46 PM.

  • 0

#2
potter97

potter97

    Enthusiast

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Devices:HTC DESIRE

You can change the look of any ROM and application by editing the framework. Here are some pointers on how to do it under Windows.

ROM framework

First you'll need to get the framework. For the best compatibility get the framework from the ROM you are using. So either install some root explorer on your device go to /system/framework and copy framework-res.apk to SD and then to PC, or if you are using a custom ROM open the update.zip (or whatever name it is ;) ) /system/framework and copy framework-res.apk to a folder on your PC.

Next you need to open the framework-res.apk and extract its contents. This works best with WinRAR, but feel free to use any archiver you like. Apk's are basically .zip like files.
Right click framework-res.apk select open with and then WinRAR. open the res folder and extract the drawable and drawable-mdpi folders to a new folder.

drawable-mdpi contains all the graphics of the ROM. PNG files that you can edit or just replace with PNG's from another framework. After editing open framework-res.apk and put the edited drawable-mdpi folder back in the res folder. Make sure add and replace files and normal compression is selected.

drawable folder contains xml files. The xml's we need are the ones responsible for the progress bars

File List:progress_horizontal.xmlprogress_indeterminate_horizontal.xmlprogress_large.xmlprogress_large_white.xmlprogress_medium.xmlprogress_medium_white.xmlprogress_small.xmlprogress_small_titlebar.xmlprogress_small_white.xml

What i have learned is that progress_horizontal.xml contains the color information of progress bars and you can HEX edit the file to get whatever color you like. Just replace these files with ones from another framework you like cause editing is a pain to do. After editing open framework-res.apk and put the edited drawable folder back in the res folder. Make sure add and replace files and normal compression is selected.

Editing progress_horizontal.xml: http://www.droidforu...bar-colors.html

Finally you need to make a signed flashable zip file.

Download update.zip and Auto_Sign.rar. Extract Auto_Sign.rar and put update.zip in the Auto Sign folder. Open update.zip and put your edited framework-res.apk in the framework folder. Close the zip and open auto-sign.exe. Select update.zip from the drop down menu and click auto_sign. A new zip is created called update_signed.zip. And that is it. You can rename the zip and flash it in recovery.

Attached File  update.zip   2.14KB   159 downloads
Attached File  Auto_Sign.rar   50.33KB   157 downloads



I don't own a pulse but came across your thread and wanted to give you a +10.

Very nice post :(

  • 0

Also you can buy me a Beer!! :) If you like my work :)

Apocalypse-Cracking + More


#3
Fusion0306

Fusion0306

    Addict

  • Members
  • PipPipPipPipPip
  • 538 posts
  • Location:Varaždin, Croatia
  • Devices:T-mobile Pulse CM6.1
  • Twitter:@Fusion0306

I don't own a pulse but came across your thread and wanted to give you a +10.

Very nice post ;)



How do I change the notification bar? What's the file(s) for it? And how about the settings menu color?

Edited by Fusion0306, 22 June 2010 - 08:10 AM.

  • 0
--------------------
Posted Image
--------------------
Pulse CyanogenMod 6.1

#4
BigBearMDC

BigBearMDC

    MOD - Mode ;)

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,933 posts
  • Gender:Male
  • Location:Carinthia, Austria
  • Interests:I'm interested in µC's, programming, physics and astrophysics :)
  • Devices:Samsung Galaxy SII
  • Twitter:@BigBearMDC
Might I add *this*
;)

  • 0
Visit our git repos [2.6.32 porting project, FroYo vendor config]Got a question? No problem, write me an email :)

If you like what I'm doing, help me buying an Orange San Francisco Posted Image
Posted Image
Donors:
  • Niels Heeren, David Dawkins, Mark Leman, James Baker, Heinz Peter Hippenstiel, KenBW2, flibblesan, GraviticVortex, bear807, TDK29

look for the Posted Image


#5
Fusion0306

Fusion0306

    Addict

  • Members
  • PipPipPipPipPip
  • 538 posts
  • Location:Varaždin, Croatia
  • Devices:T-mobile Pulse CM6.1
  • Twitter:@Fusion0306

Might I add *this*
;)


DOH! :(

  • 0
--------------------
Posted Image
--------------------
Pulse CyanogenMod 6.1

#6
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

I don't own a pulse but came across your thread and wanted to give you a +10.

Very nice post ;)


THX :(

Might I add *this*
:)

I know there are tools :D. Just wanted to explain the process of modifying the framework.
Added a link to your app in the first post ;)

  • 0

#7
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

How do I change the notification bar? What's the file(s) for it? And how about the settings menu color?

PNG's in drawable-mdpi beginning with stat. Just for the bar statusbar_background.png and statusbar_background.9.png.

Do you want to change the color of system settings menu?

  • 0

#8
ozren

ozren

    Regular

  • Members
  • PipPip
  • 52 posts
  • Gender:Male
  • Location:Montenegro
  • Devices:T-Mobile Pulse

PNG's in drawable-mdpi beginning with stat. Just for the bar statusbar_background.png and statusbar_background.9.png.

Do you want to change the color of system settings menu?


HI, I would like to know how to change a backround of settings menu and messaging app (conversation list) back to white after I apply some framework with black notification bar. My problem is that I use fibble rom beta 4 and after I apply a framework with circular batery... I have a black clock in notification bar (a known bug in fibble rom). I got arround that with changing ro.config.hw_customizeType=01 to 02, but then backround in settings, phonebook, messaging app is black instead of white. Is there a solution for that. It is perfectly functional but I would like it to be white if possible!

  • 0

#9
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

HI, I would like to know how to change a backround of settings menu and messaging app (conversation list) back to white after I apply some framework with black notification bar. My problem is that I use fibble rom beta 4 and after I apply a framework with circular batery... I have a black clock in notification bar (a known bug in fibble rom). I got arround that with changing ro.config.hw_customizeType=01 to 02, but then backround in settings, phonebook, messaging app is black instead of white. Is there a solution for that. It is perfectly functional but I would like it to be white if possible!

This is how ;)

http://forum.xda-dev...ad.php?t=549309

  • 0

#10
Fusion0306

Fusion0306

    Addict

  • Members
  • PipPipPipPipPip
  • 538 posts
  • Location:Varaždin, Croatia
  • Devices:T-mobile Pulse CM6.1
  • Twitter:@Fusion0306

This is how ;)

http://forum.xda-dev...ad.php?t=549309



Not happening :( I thought that it would be easier :) Guess there's no white menu for me :D

(tried every rom on this forum - for pulse, but wip works best for me, and it has black menu and sms background)

Edited by Fusion0306, 22 June 2010 - 11:24 AM.

  • 0
--------------------
Posted Image
--------------------
Pulse CyanogenMod 6.1

#11
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

Not happening ;) I thought that it would be easier :( Guess there's no white menu for me :)

(tried every rom on this forum - for pulse, but wip works best for me, and it has black menu and sms background)

I'm searching for a easier method but no luck so far. Posted another link in the first post that seams to be easier to do. There is an app in latest cyanogen mods called Spare Parts that changes the color but i think that only works on cyanogen ROM's.

  • 0

#12
Daniel Williamson

Daniel Williamson

    Diehard

  • Members
  • PipPipPipPip
  • 344 posts
  • Gender:Male
  • Location:Manchester
  • Devices:Tmobile pulse
Have you tried changing the text colour? when i tried i got force reboot every time.

Dan

  • 0

#13
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

Have you tried changing the text colour? when i tried i got force reboot every time.

Dan

Haven't yet. Which method did you use?

  • 0

#14
Fusion0306

Fusion0306

    Addict

  • Members
  • PipPipPipPipPip
  • 538 posts
  • Location:Varaždin, Croatia
  • Devices:T-mobile Pulse CM6.1
  • Twitter:@Fusion0306
Which file should be changed in order to change this? (I don't want it to be that dark)

Attached File  screen.png   11.44KB   15 downloads

Edited by Fusion0306, 22 June 2010 - 01:27 PM.

  • 0
--------------------
Posted Image
--------------------
Pulse CyanogenMod 6.1

#15
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce
Espresso with white bar for vanilla users HERE

  • 0

#16
DanWilson

DanWilson

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,821 posts
  • Gender:Male
  • Location:Glasgow
  • Interests:Trololololololololol
  • Devices:HTC Desire Z // HP Touchpad
  • Twitter:@PARTAYDan

Might I add *this*
;)

Might I say *Mac users*?
:(

This is how :)

http://forum.xda-dev...ad.php?t=549309

Are you mad?!!? I mean, just, damn. That scared me as soon as I saw services.jar...

  • 0
HTC Desire Z - Something CM9 ish - giffgaff
HP Touchpad - AOKP? I dunno (ICS) // webOS // Debian - 30MB Interwebz

I should still be a mod. #JustSayin.

#17
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

Are you mad?!!? I mean, just, damn. That scared me as soon as I saw services.jar...

;) :( :) :D ;) ;) :D :( That was my reaction too

Edited by ogiogi, 22 June 2010 - 04:03 PM.

  • 0

#18
DanWilson

DanWilson

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,821 posts
  • Gender:Male
  • Location:Glasgow
  • Interests:Trololololololololol
  • Devices:HTC Desire Z // HP Touchpad
  • Twitter:@PARTAYDan

;) :( :) :D ;) ;) :D :( That was my reaction too

I relate to all, and all laugh at me cos I'm damn funny!
:P
I didn't know you could use that many smily dudes, I mean, I'll need to try it! Just wait for my next great post!

  • 0
HTC Desire Z - Something CM9 ish - giffgaff
HP Touchpad - AOKP? I dunno (ICS) // webOS // Debian - 30MB Interwebz

I should still be a mod. #JustSayin.

#19
BigBearMDC

BigBearMDC

    MOD - Mode ;)

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,933 posts
  • Gender:Male
  • Location:Carinthia, Austria
  • Interests:I'm interested in µC's, programming, physics and astrophysics :)
  • Devices:Samsung Galaxy SII
  • Twitter:@BigBearMDC

I relate to all, and all laugh at me cos I'm damn funny!
:(
I didn't know you could use that many smily dudes, I mean, I'll need to try it! Just wait for my next great post!


Well that is simple ... I'll write short tool that does that (for windows users ;)).

  • 0
Visit our git repos [2.6.32 porting project, FroYo vendor config]Got a question? No problem, write me an email :)

If you like what I'm doing, help me buying an Orange San Francisco Posted Image
Posted Image
Donors:
  • Niels Heeren, David Dawkins, Mark Leman, James Baker, Heinz Peter Hippenstiel, KenBW2, flibblesan, GraviticVortex, bear807, TDK29

look for the Posted Image


#20
ogiogi

ogiogi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,351 posts
  • Gender:Male
  • Location:Skopje, Macedonia
  • Devices:HTC Desire
  • Twitter:@ogigoce

Well that is simple ... I'll write short tool that does that (for windows users ;)).

That's great Bobo. Will help a lot with theme compatibility.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users