Custom Notification Bar/Custom Theme - Android Themes

Ok so I modified the framework-res.apk file to have a custom notification bar. My question is how to make it so I can flash just the notification bar onto my phone? I know Metamorph is real easy but I want to be able to flash it in Clockworkmod Recovery. Any help would be greatly appreciated.

easiest way to do it is adb pushing it back to /system/framework/framework-res.apk

Well that's what I have been doing, but I want to make it be able to be flashed in recovery.

You need to make an update.zip

brfield said:
You need to make an update.zip
Click to expand...
Click to collapse
How do I go about doing that?

Go to circle.glx.nl and choose flashable theme. Upload your framework-res.apk and voila !

badeaioan said:
Go to circle.glx.nl and choose flashable theme. Upload your framework-res.apk and voila !
Click to expand...
Click to collapse
Tried it and it seems great, but for some reason its causing everything to crash and force close on my phone.

Ok, so I think I narrowed it down to the fact that I need the correct update-script. I made one, flashed it and it went fine, but then I rebooted and didnt see a difference. So I tried to reflash it and then it gave me a syntax error. I know what a syntax error is, but my question is if anybody could give me the info of what I should put in the update-script so that it'll work correctly. Thanks!

i have a question too...
my phone has touchwiz 3.0
which in the notification bar there is a toggle buttons like; wifi, silent, bluetooth... etc.
i know it's important and useful, but why have to put it in notification bar... wasting some space, especially when in landscape mode.
is there any way to remove that toggle button?

I have that toggle widget too on my P500.
My .apk is located in /system/framework/lge-res.apk .
Backup it and then delete the .apk and see if it goes. If it doesn't work you will need a custom ROM with the toggle widget stripped out.

I want touchwiz on my phone.
Sent from my M860 using Tapatalk

Related

changing the notification bar.

if im happy with my theme but i ONLY want the notification bar from another theme, is there a file that i can just take from the other theme & push to my phone to change it?
I don't think so. The notification bar is in the Framework-Res.APK? and if yo change that, you change the lock screen and a lot of other stuff soo yeah.
1-"adb pull /system/framework/framework-res.apk"
2-Copy the file you want from the "system\framework\framework-res.apk\res\drawable-mdpi\" folder from the ROM you desire into your pulled framework-res.apk in the same path as above "system\framework\framework-res.apk\res\drawable-mdpi\"
3-adb push "C,D,E:\(wherever it is)framework-res.apk /system/framework/"
just a heads up dont push framework you will get frosted boot loops.. flash the framework via update or mm
In my experience i've never had a bootloop from adb pushing the framework, and thats a lot of times!!
And i always push in recovery so the files are'nt being used.
icegad said:
just a heads up dont push framework you will get frosted boot loops.. flash the framework via update or mm
Click to expand...
Click to collapse
I've had this problem only on CM5. Not a big deal (I can just boot into recovery and use console to move them over), just an extra step.

[Theme] HTC Status Bar for CM6 and Gingerbread ROMs

This is a black status bar theme that looks just like the one you had back in the days when you were running the Eris OTA ROM. This theme is for medium resolution phones like the Eris, Hero, etc.
Gingerbread ROMs
Tested with GSB 1.5 and 2.2, but it should install just fine on any medium-res GB rom. For now there is a single theme file that updates the top status bar. I haven't yet ported the pull-down notification panel.
INSTALLATION FOR GINGERBREAD ROMs:
Download the attached HtcStatusBar4GB.zip file and then install using ZipThemer with these instructions. ZipThemer is free from the market.
CM6-based ROMs (Froyo)
I developed and tested it with KaosFroyo v32, v37, and v39. It will work on most any CM6 ROMs with the same screen resolution as the Eris.
There are two themes, one which just sets the color and icons in the top status bar, and another that updates the notification pull-down panel. Install both if you want the full HTC notification experience.
INSTALLATION FOR CM6 ROMs:
This is now a ZipThemer theme, but also remains compatible with MetaMorph.
1) Install the ZipThemer version 1.1 or above from the Market. Its free!
2) Download the attached HtcBlackStatusBarTheme.zip. Also download HtcNotificationPanel.zip for the full HTC notification experience. The first sets the top status bar, the second modifies the pull-down notification panel.
3) Fire up ZipThemer.
4) Click "+Theme" and browse to, then select, HtcBlackStatusBarTheme.zip. Repeat if you also want to install HtcNotificationPanel.zip.
5) Optionally select a different output zip file, and/or edit the ouptut filename using the "+Output" and "*Output" buttons.
6) If installing both the status bar and notification panel at the same time, expand the HtcBlackStatusBar item and uncheck the "CM Tweak Extras file", leaving the corresponding item checked under HtcNotificationBar.
7) Click "Built It!" to create the flashable update.zip file. The output file is signed and ready for flashing! But don't flash yet, you have to set the notification text colors in separate steps, so continuing on...
8) Press Menu, Settings -> CyanogenMod Settings -> User Interface -> Tweak extras -> Select a Theme. Select HtcBlackStatusBar if you are only installing the status bar changes, or HtcNotificationPanel if installing both the bar and panel themes.
Click "OK".
10) Now boot into recovery and flash your update.
The file FroyoStatusBarTheme.zip can be used to return the status bar and notification panel to the stock Froyo look and feel. This theme also contains a cmparts_ui.xml for setting the clock and text colors back to black. E.g., same instructions as above to install.
kellinwood said:
The is a black status bar theme that looks just like the one you had
back in the days when you were running the OTA ROM.
Please read the KNOWN ISSUES section below.
INSTALLATION:
This is my first theme and I'm still learning. THIS IS NOT A
FLASHABLE ZIP FILE! The theme must be installed manually via adb commands, so you must have the Android SDK in order to install
this theme.
1) Make a Nandroid backup first!
2) Extract the zip file somewhere on your computer
3) Using adb, execute the following command:
adb push sdcard/cmparts_ui.xml /sdcard/cmparts_ui.xml
4) On your phone, press Menu, Settings -> Cayanogen Mod Settings -> User Interface -> Tweak extras -> Import colors from XML.
Click "OK". Do not reboot yet. This step sets the clock and date text color to white.
5) Using adb, execute the following commands:
adb remount
adb push system/framework/framework-res.apk.theme /system/framework/framework-res.apk
adb push system/app/Mms.apk.theme /system/app/Mms.apk
adb reboot
KNOWN ISSUES
The home screen background image always reverts to the default KaosFroyo image when installing.
Sometimes, after pushing the apk files to the device and rebooting, I would have to re-add my Google and Facebook accounts. The sympom is an empty contact list, no icons in the call log, etc.
On rare occasion the phone would enter a boot-loop after installing the apk files. If this happens pull the battery, boot into recovery, and restore from a known good nandroid backup.
SCREENSHOTS
See the attached thumbnails.
Click to expand...
Click to collapse
Nice...
Why don't you create it as a metamorph theme?
goldenstorm said:
Nice...
Why don't you create it as a metamorph theme?
Click to expand...
Click to collapse
I suppose I should look into that...
kellinwood said:
I suppose I should look into that...
Click to expand...
Click to collapse
Its fairly easy, I took the plunge a few days ago and all is well so far. Still much to learn for me the curve is steep.
Updated to MetaMorph. All the details are in the first post.
Thanks awesome. I miss Sense but I want Froyo. I can't wait for a Sense Froyo ROM for the Eris.
Thanks, glad you like it.
I don't miss Sense myself, I just think HTC did a better job with the status bar than Google did.
Sent from my FroyoEris using XDA App
One problem. The bottom graphic of the notification shade is still the original Vanilla white. Was it suppose to change to the black like in the Sense UI?
I also couldn't import the XML file via Cyanogen menu. There was no option to import. Only options were to load themes from SD and it only had Stock and Dark as options.
KaosFroyo v35.1
Sent from my FroyoEris using Tapatalk
This theme does not update the notification panel (the pull down part), so yes it remains stock white.
I haven't installed v35 yet... didn't realize it was out until just now. I'll post again after I get that sorted out.
Sent from my FroyoEris using XDA App
kellinwood said:
This theme does not update the notification panel (the pull down part), so yes it remains stock white.
I haven't installed v35 yet... didn't realize it was out until just now. I'll post again after I get that sorted out.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Thanks. I fixed it myself. I could make this theme, I am just lazy =] That is why we need people like you <3
I've added another theme for the HTC pull-down notification panel. Download HtcNotificationPanel.zip and install it using the same seven steps.
I updated the instructions in the first post for CM6.1 (KaosFroyo v35 and beyond).
Thank you!
This is exactly what I've been looking for! I love Froyo, but missed the HTC Status bar.
not sure what I am missing here but I don't understand. after I copy: Copy to /sdcard/CMTheme/cmparts_ui.xml for 6.1.x what or where am I pasting/moving it to?
jaredvizball said:
not sure what I am missing here but I don't understand. after I copy: Copy to /sdcard/CMTheme/cmparts_ui.xml for 6.1.x what or where am I pasting/moving it to?
Click to expand...
Click to collapse
Once you copy the file into /sdcard/CMTheme, continue at step 6...
6) Press Menu, Settings -> CyanogenMod Settings -> User Interface -> Tweak extras -> "Select a Theme". Select the "cmparts_ui" theme.
Click "OK" but do not reboot yet. Then proceed to step 7.
This is just what I've been looking for. Unfortunately it's such a chore to install it whenever I flash a new ROM I stopped doing it (I do not like the light status bar). It takes me at least two passes of about 15 steps and it never applies the first time. Metamorph always seems to reboot the device in the middle causing me to start over. It is possible to make this a flashable zip? That would be great.
I am installing this theme as we speak, but how long does Metamorph usually take to patch this stuff in? It's been doing the framework for like 10 minutes now.
scottjb said:
This is just what I've been looking for. Unfortunately it's such a chore to install it whenever I flash a new ROM I stopped doing it (I do not like the light status bar). It takes me at least two passes of about 15 steps and it never applies the first time. Metamorph always seems to reboot the device in the middle causing me to start over. It is possible to make this a flashable zip? That would be great.
Click to expand...
Click to collapse
It would be my first flashable zip, but I think I can handle it.
If I understand how they work, it means that entire files in the filesystem are replaced and not simply patched like MetaMorph does. In theory this means that the update.zip should be targeted at specific ROMs or major OS version (2.1, 2.2, etc).
Which ROM do you run most often and what is the OS version -- 2.1 or 2.2? Are you just upgrading the ROM versions or going from one ROM to another (e.g., from KaosFroyo to CELB, etc).
Also, are you installing just HtcBlackStatusBarTheme, or both HtcBlackStatusBarTheme.zip and HtcNotificationPanel.zip?
FYI, the MetaMorph delay setting really does help to stabalize the Metamorph install process. I've got mine set to 5000 and it only reboots when patching framework-res.apk, and the reboot seems to happen after it has successfully patched anyway.
CGriffiths86 said:
I am installing this theme as we speak, but how long does Metamorph usually take to patch this stuff in? It's been doing the framework for like 10 minutes now.
Click to expand...
Click to collapse
MetaMorph usually crashes just after successfully patching framework-res.apk. Usually the device just reboots but in your case it appears to have hung so pull the battery. Be sure you set the Metamorph delay setting to the maximum value (5000). This seems to help a bit.
Also, apply the sub-themes one-by-one instead of using "apply all".
kellinwood said:
...
Which ROM do you run most often and what is the OS version -- 2.1 or 2.2? Are you just upgrading the ROM versions or going from one ROM to another (e.g., from KaosFroyo to CELB, etc).
Also, are you installing just HtcBlackStatusBarTheme, or both HtcBlackStatusBarTheme.zip and HtcNotificationPanel.zip?
FYI, the MetaMorph delay setting really does help to stabalize the Metamorph install process. I've got mine set to 5000 and it only reboots when patching framework-res.apk, and the reboot seems to happen after it has successfully patched anyway.
Click to expand...
Click to collapse
I use Kaos Froyo, currently on v37. I do flash both zip files and have gotten it to work a couple of times. I think it took four tries last time and I did have the max delay in MM.
Thanks for considering my request.

[DISCUSS] General Questions/Problems with Theming

There seems to be a lot of things that are new when it comes to theming the Nexus S and Gingerbread in general.
A lot of us have run into various problems.
The purpose of this thread is to discuss the problems we're facing and to ask general questions regarding theming.
Issues:
1. [SOLVED] I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
Solution: Post 12. Thanks to ogdobber.
2. If I make a nand of a themed ROM and try to restore it, I get a bootloop. Unthemed ROM works fine.
Temporary Solution: Don't use ROM Manager to restore your themed Nandroids. Go to recovery and restore the Nand and don't reboot.
Flash the pertinent ROM again without wiping anything, then reboot. Flash the theme again.
3. How to get out of a bootloop? I've been doing the battery pull and volume up + power button does not work during a bootloop.
Solution: adb reboot recovery
4. [SOLVED] Nexus S loses signal after reboot.
After unlocking the bootloader, I used paul's Superboot to get root and used ROM manager to flash the latest CWM. All is well except every-time I reboot, I lose the signal (it shows emergency calls only) and I have to search for available networks in Mobile network settings.
Solution:
In the dialpad enter *#*#4636#*#*
Select phone information
Scroll down to preferred networks
Select "WCDMA only"
Click on Update
You need to re-enter the SMSC Carrier number. For WIND Mobile Canada, SMSC is 16135009000
Android requires you to enter this info in Hex.
Hex = 07916131059000F0
For Mobilicity Canada Hex = 07916174080001F6
In the dialpad enter *#*#4636#*#*
Select phone information
Scroll down to SMSC field, enter 07916131059000F0 and done. Then reboot.
Theming Guide:
Masterâ„¢ started a guide where we could post useful stuff like the transparent notification bar & anything else in a simple Nexus S (or gingerbread guide...)
https://docs.google.com/document/d/1nZSTpSuFg_ox7cEzn5YZSx3P8nXMgly4Q-AvVRC8Lfw/edit?hl=en#
If you guys want to edit it, PM him so he can add you.
Click to expand...
Click to collapse
Stuck this useful thread
theimpaler747 said:
Stuck this useful thread
Click to expand...
Click to collapse
Thanks a lot!
Issue number 2 has been confirmed by another users. Maybe its a bug in CWM.
sonnysekhon said:
Thanks a lot!
Issue number 2 has been confirmed by another users. Maybe its a bug in CWM.
Click to expand...
Click to collapse
Could be that, I remember on my hero I tried to restore a recovery of my theme and it looped too
sonnysekhon said:
Issues:
1. I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
2. If I make a nand of a themed ROM and try to restore it, I get a bootloop. Unthemed ROM works fine.
3. How to get out of a bootloop? I've been doing the battery pull and volume up + power button does not work during a bootloop.
4. Nexus S loses signal after reboot.
After unlocking the bootloader, I used paul's Superboot to get root and used ROM manager to flash the latest CWM. All is well except every-time I reboot, I lose the signal (it shows emergency calls only) and I have to search for available networks in Mobile network settings.
Anyone else having this issue? Any fixes?
If you guys can provide some insight, I will be most thankful.
Click to expand...
Click to collapse
In regard to #1, you're right about that. The mount line is incorrect, I believe it needs to be changed to ext4 instead of mtd but I haven't gotten the line just right yet. I contacted PaulOBrien and Koush for assistance but didn't have much luck getting it right.
In terms of #4, I actually didn't have that same issue with his Superboot...but perhaps I overlooked it.
Hopefully we can get a theme zip base to work from. I'm hoping one of the ROM devs can jump in and maybe push us in the right direction. I'm not a code type of guy so I let the coders do the update script stuff . In the meantime, we'll just have to use the full ROM.
Thanks for this thread sonny!
On the Galaxy S I can find the data and wifi icons for the notification bar no problem, but I can't seem to find them anywhere for the Nexus S (along with a couple of others). Sorry if the answer is obvious, but I'm stuck. Could someone please point me in the right direction?
Dean-O said:
On the Galaxy S I can find the data and wifi icons for the notification bar no problem, but I can't seem to find them anywhere for the Nexus S (along with a couple of others). Sorry if the answer is obvious, but I'm stuck. Could someone please point me in the right direction?
Click to expand...
Click to collapse
system/app/SystemUI.apk
Great, thanks.
Found a solution to issue number 4, updated the post.
sonnysekhon said:
Issues:
1. I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
Click to expand...
Click to collapse
this is a solution to problem 1.
in the META-INF\com\google\android needs to have updater-script and update-binary
the updater-script needs the following line
Code:
run_program("/sbin/busybox", "mount", "/system");
attached is a meta-inf. use it in place of your current one for flashing themes
Thanks ogdobber.
Hi,
I'm a newb to theming. Can anyone point me to the right direction to change my stock news widget to transparent?
Thanks in advance
cyc1120 said:
Hi,
I'm a newb to theming. Can anyone point me to the right direction to change my stock news widget to transparent?
Thanks in advance
Click to expand...
Click to collapse
start with the 2 links below, you basically need to change the transparency level on the widget_background in the drawable(hdpi) folder. but it is not that easy because it is a .9 png (unless you go 100%)
[GUIDE] Want to learn how to theme?
The Ultimate Android Themeing Guide
Here is a thread by rori that he themes a bunch of stuff to transparent smoke http://forum.xda-developers.com/showthread.php?t=731625
I can't for the life of me try to figure out how to make an object in photoshop have a transparent background. I make the background transparent, add the object (eg: a number) and everything looks great. Then once I flatten the image the transparency disappears. What I don't get is up until I flatten it, the whole background is transparent. I'm completely baffled, can anyone offer an idiot some help?
kenvan19 said:
I can't for the life of me try to figure out how to make an object in photoshop have a transparent background. I make the background transparent, add the object (eg: a number) and everything looks great. Then once I flatten the image the transparency disappears. What I don't get is up until I flatten it, the whole background is transparent. I'm completely baffled, can anyone offer an idiot some help?
Click to expand...
Click to collapse
What image is it? And by flatten it, do you mean you are making it an indexed image?
theimpaler747 said:
What image is it? And by flatten it, do you mean you are making it an indexed image?
Click to expand...
Click to collapse
Its a number for a Beautiful widgets clock skin. By flatten it I mean in photoshop CS5 when you make an image with multiple layers (the layers get created automatically when I try to add anything, in this case text) in order to save it as anything but a .psd you have to flatten it (IE force all of the layers into one).
kenvan19 said:
Its a number for a Beautiful widgets clock skin. By flatten it I mean in photoshop CS5 when you make an image with multiple layers (the layers get created automatically when I try to add anything, in this case text) in order to save it as anything but a .psd you have to flatten it (IE force all of the layers into one).
Click to expand...
Click to collapse
Never save it as a psd for edits on android Save it as a .png
theimpaler747 said:
Never save it as a psd for edits on android Save it as a .png
Click to expand...
Click to collapse
Exactly, I'm trying to save it as a png but in order to do that I have to flatten the image which causes the transparency of the background to disappear.

circle battery on thunderbolt

how do you add different icons into the status bar
Use an app called metamorph. You can modify the framework...and that's the status bar icons
Tbolt meatclaws via talkatap
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Get the framework.apk from the rom your using (/system/framework/framework-res.apk) and from the theme that has the icons you want, then use 7-zip to get into the framework res apk / drawable (drawable-hdpi) folder and swap out the .png files that you want to change. Make sure the new file has the same name as the one you are replacing.
You'll have to copy the .png files onto your desktop to view them and get familiar with the apk folders, it's not difficult.
Close the framework-res.apk in 7-zip, no need to re-sign it, and push it back onto your phone.
reboot.
or Ninjamorph.
is the methods described only for custom roms? im running stock rom...
any apps u guys recommend that use the least amount resources?
update....I just installed this: http://forum.xda-developers.com/showthread.php?p=8639993
is editing framework-res.apk a better solution? im just looking for least amount battery consumption...thank u kind sirs
adding the circle battery was the first thing I did on stock rooted ROM...it's easy to do again if you change ROMs.
IISiDeK1CKII said:
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Click to expand...
Click to collapse
So easy! Thanks!
IISiDeK1CKII said:
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Click to expand...
Click to collapse
I had no idea there was a kitchen like this available without the nasty coding.
Thanks very much!
do you have to be rooted to use this
OK I just tried this. After I flashed the .zip I got a TON of force closes from various places. Browser, google search, some others, right when the phone booted. I followed the directions and extracted and uploaded my ROM. the only options I wanted to flash were the circle battery and the bootanimation. The bootanimation and circle battery did show up, but after it booted there were just way too many force closes.
Can anyone help on what I need to do?
First thing I always do out of habit is go into CW, clear cache, clear dalvik cache, then reinstall my zip. Takes care of most FC issues.
ZuneNinja! said:
OK I just tried this. After I flashed the .zip I got a TON of force closes from various places. Browser, google search, some others, right when the phone booted. I followed the directions and extracted and uploaded my ROM. the only options I wanted to flash were the circle battery and the bootanimation. The bootanimation and circle battery did show up, but after it booted there were just way too many force closes.
Can anyone help on what I need to do?
Click to expand...
Click to collapse
Sent from my ADR6400L using XDA Premium App
I want to try the UOT Kitchen but I can't confirm if the stock TB rom is odexed or deodexed. I am a newb, been looking for an answer, but I can't find one.
**UPDATE** So I been browsing my rom files and ive seen some .odex files. I think this means its an odexed rom and can't be used with the kitchen. Is that correct?
all confusing to me! haha
I have done quite a few mods to the graphics in the Framework, including the battery one here. My question is that every time I push the framework back and reboot. I have to re-setup a few things (i.e. passwords) and clear contacts and resync. Is this normal or am I doing something wrong? Thanks for any help anyone may have.
Stock rom is odex. You can download plainjane rom that is deodex stock and rooted.
tbtaf said:
Stock rom is odex. You can download plainjane rom that is deodex stock and rooted.
Click to expand...
Click to collapse
Thanks, I'm actually doing that now

notification bar problem

hi, i tried one of the mods here for the notification panel. unfortunately it didn't work for me and for some reason, my notification bar disappeared. each time i restart, my phone displays 'system ui stopped'. i want to revert the changes made so that my notification bar would appear again. Please help. any form of help is greatly appreciated
yondaime23 said:
hi, i tried one of the mods here for the notification panel. unfortunately it didn't work for me and for some reason, my notification bar disappeared. i want to revert the changes made so that my notification bar would appear again. Please help. any form of help is greatly appreciated
Click to expand...
Click to collapse
Just put framework-res apk from original rom into /system/framework/ and reboot and it will appear again.If you say what rom you are using,I would be more accurate in your answer
im on a stock ics rom and partially rooted. btw, can i use es explorer to access contents of system directory?
yondaime23 said:
im on a stock ics rom and partially rooted. btw, can i use es explorer to access contents of system directory?
Click to expand...
Click to collapse
By partial root,do you mean root access but no cwm???I dont think you can use esexplorer because it doesnt have root access to access root files.You need file manger app with root access like rootexplorer
yes, i followed deathst guide for rooting a stock ics but i didn't implemented the full root instructions for partially rooted gnote
is the framework res apk available in the forum?
http://forum.xda-developers.com/showthread.php?t=1620625
In this thread you will get the Flashable zip file of system ui.... In revert back link.
Download and flash it in recovery....
Easy solution...

Categories

Resources