[MOD][CM11] Dark Holo Theme

Search This thread

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
Changelog:

Dark Holo:
1) The default button press is changed from orange to blue.
2) The progress bar is changed from yellow to white.
3) The default gradient background is changed to a solid dark gray (background for settings menu and the default background for many other apps). The gradient is replaced with a solid background to prevent screen flickering at high brightness levels.

Dark Holo Blue:
1) holo blue (#33b5e5) accents (~100 resource files changed to holo blue in the framework)
2) holo blue button press
3) holo blue progress bar
4) solid dark gray background.

Dark Holo Amber
1) holo amber (#f49155) accents (~125 resource files changed to holo amber in the framework)
2) holo amber button press
3) holo amber progress bar
4) solid dark gray background.

MD5 (dark holo): 95632c132176a8a39dd5b4ea87a18e83
MD5 (dark holo blue): c0113396cd830229733fad4e0a361c67
MD5 (dark holo amber): 52bd6d9890e5d96679e98c2c9d965f8d

Instructions: Apply CWM flashable zip inside recovery.

Supported models: p31xx

Requirements: CM11 or OmniRom installed.
 
Last edited:

tetakpatak

Senior Member
Jan 6, 2013
4,663
2,331
Lucerne
Dear @Tsjoklat

I suspect that the CyanogenMod team has kept in boot.img only the scripts for running the boot animation but removed the scripts for playing the boot sound..... Can you just confirm me if this is correct? And if yes, is it possible for the developers to merge the scripts for the boot sound?

BTW: to this topic.... great! I really love dark theme (run in my phones often Slim ROMs therefore) and I would instantly flash this theme on my Tab2, but I have now Android-Andi's unofficial Omni :D
 
Last edited:

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
Dear @Tsjoklat
I suspect that the CyanogenMod team has kept in boot.img only the scripts for running the boot animation but removed the scripts for playing the boot sound..... Can you just confirm me if this is correct?

Inside the ramdisk of the boot.img is a file called init.rc. Inside init.rc is where the bootanimation is triggered.

Code:
service bootanim /system/bin/bootanimation
    class main
    user graphics
    group graphics
    disabled
    oneshot

Although, I dont see a bootup sound portion in init.rc.


BTW: to this topic.... great! I really love dark theme (run in my phones often Slim ROMs therefore) and I would instantly flash this theme on my Tab2, but I have now Android-Andi's unofficial Omni :D

This theme script will also work on Omni. I just checked.
 

tetakpatak

Senior Member
Jan 6, 2013
4,663
2,331
Lucerne
Thank you very much!
I have shortened up my initial post to un-spam your thread.

Cool about mering it to Omni! :)
Oh.... but.... I see now in the OP that it works only for p31xx, will it not work then for p51xx?
 

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
Thank you very much!
I have shortened up my initial post to un-spam your thread.

Cool about mering it to Omni! :)
Oh.... but.... I see now in the OP that it works only for p31xx, will it not work then for p51xx?

I've never had a chance to test it on a p5100. It wont mess anything up to try.

I'm also posting another version of this dark theme with a blue progress bar to match the color of the mini progress bar in the quick notification panel. The two dark holo themes are identical except one has a default white progress bar and the other has a default blue progress bar.
 
Last edited:

tetakpatak

Senior Member
Jan 6, 2013
4,663
2,331
Lucerne
OK, cool, I will try tomorrow.
I can't mess up too much, I flash anyway about each 2nd day new build on my Tab as I help the development as tester.

And even more often flashing the phones, LOL :D

Sent from my GT-I9000 using Tapatalk
 

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
I have added a "kitkat orange" version (#fff49155) that changes the color of the progress bar from yellow to the same orange color used in the status bar for the signal meters. Also the background is changed from a gradient to solid dark gray. The background color of the keypress is unchanged.

Edit: changed to dark holo amber theme.

Code:
diff -ru framework-res.orig/res/drawable/background_holo_dark.xml framework-res/res/drawable/background_holo_dark.xml
--- framework-res.orig/res/drawable/background_holo_dark.xml2013-12-09 23:19:21.076740370 +0100
+++ framework-res/res/drawable/background_holo_dark.xml2013-12-09 23:39:34.056739424 +0100
@@ -1,5 +1,5 @@
 
 
-    
-
\ No newline at end of file
+     
+
diff -ru framework-res.orig/res/drawable/progress_horizontal.xml framework-res/res/drawable/progress_horizontal.xml
--- framework-res.orig/res/drawable/progress_horizontal.xml2013-12-09 23:19:21.156740370 +0100
+++ framework-res/res/drawable/progress_horizontal.xml2013-12-09 23:36:07.380739585 +0100
@@ -4,14 +4,14 @@
     
         
             
-            
+            
         
     
     
         
             
                 
-                
+                
             
         
     
@@ -19,8 +19,8 @@
         
             
                 
-                
+                
             
         
     
-
\ No newline at end of file
+
 
Last edited:
  • Like
Reactions: jskolm and antutu

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
Ive updated the Dark Holo Blue theme. All of the resource files have been recolored to better match the original holo blue color (#33b5e5).
 
  • Like
Reactions: jskolm
D

Deleted member 5616867

Guest
fixed flickering on high brightness, also seems to fix inconsistent automatic brightness. best theme without an effect on peformance :good:
 

Tsjoklat

Senior Member
Apr 5, 2010
1,705
2,386
does this work on latest slimkat?

Yes, it should work. All of these cm11 based roms should have basically the same framework resources. If it doesn't work or you want to revert back, just install your ROM again and it will be back to the original state. The only file that gets changes by this script is /system/framework/framework-res.apk.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Changelog:

    Dark Holo:
    1) The default button press is changed from orange to blue.
    2) The progress bar is changed from yellow to white.
    3) The default gradient background is changed to a solid dark gray (background for settings menu and the default background for many other apps). The gradient is replaced with a solid background to prevent screen flickering at high brightness levels.

    Dark Holo Blue:
    1) holo blue (#33b5e5) accents (~100 resource files changed to holo blue in the framework)
    2) holo blue button press
    3) holo blue progress bar
    4) solid dark gray background.

    Dark Holo Amber
    1) holo amber (#f49155) accents (~125 resource files changed to holo amber in the framework)
    2) holo amber button press
    3) holo amber progress bar
    4) solid dark gray background.

    MD5 (dark holo): 95632c132176a8a39dd5b4ea87a18e83
    MD5 (dark holo blue): c0113396cd830229733fad4e0a361c67
    MD5 (dark holo amber): 52bd6d9890e5d96679e98c2c9d965f8d

    Instructions: Apply CWM flashable zip inside recovery.

    Supported models: p31xx

    Requirements: CM11 or OmniRom installed.
    4
    I've added a new theme file called "dark holo amber" with over 125 modified framework resource files. See OP for new screenshots.
    2
    Dear @Tsjoklat
    I suspect that the CyanogenMod team has kept in boot.img only the scripts for running the boot animation but removed the scripts for playing the boot sound..... Can you just confirm me if this is correct?

    Inside the ramdisk of the boot.img is a file called init.rc. Inside init.rc is where the bootanimation is triggered.

    Code:
    service bootanim /system/bin/bootanimation
        class main
        user graphics
        group graphics
        disabled
        oneshot

    Although, I dont see a bootup sound portion in init.rc.


    BTW: to this topic.... great! I really love dark theme (run in my phones often Slim ROMs therefore) and I would instantly flash this theme on my Tab2, but I have now Android-Andi's unofficial Omni :D

    This theme script will also work on Omni. I just checked.
    2
    I have added a "kitkat orange" version (#fff49155) that changes the color of the progress bar from yellow to the same orange color used in the status bar for the signal meters. Also the background is changed from a gradient to solid dark gray. The background color of the keypress is unchanged.

    Edit: changed to dark holo amber theme.

    Code:
    diff -ru framework-res.orig/res/drawable/background_holo_dark.xml framework-res/res/drawable/background_holo_dark.xml
    --- framework-res.orig/res/drawable/background_holo_dark.xml2013-12-09 23:19:21.076740370 +0100
    +++ framework-res/res/drawable/background_holo_dark.xml2013-12-09 23:39:34.056739424 +0100
    @@ -1,5 +1,5 @@
     
     
    -    
    -
    \ No newline at end of file
    +     
    +
    diff -ru framework-res.orig/res/drawable/progress_horizontal.xml framework-res/res/drawable/progress_horizontal.xml
    --- framework-res.orig/res/drawable/progress_horizontal.xml2013-12-09 23:19:21.156740370 +0100
    +++ framework-res/res/drawable/progress_horizontal.xml2013-12-09 23:36:07.380739585 +0100
    @@ -4,14 +4,14 @@
         
             
                 
    -            
    +            
             
         
         
             
                 
                     
    -                
    +                
                 
             
         
    @@ -19,8 +19,8 @@
             
                 
                     
    -                
    +                
                 
             
         
    -
    \ No newline at end of file
    +
    1
    Ive updated the Dark Holo Blue theme. All of the resource files have been recolored to better match the original holo blue color (#33b5e5).