[MOD+GUIDE] Carrier logo's for stock ROMs (and others)

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
I have always loved the extended settings Andy Thomoson has made for MIUI (found here), especially the carrier logo's in the statusbar

Well, I have been messing around with the SystemUI.apk from the latest 2.3.7 OTA for the NS4G and made it accessible for that stock ROM. I'll make one for BuglessPete's GPA17 and maybe CM soon.
I'm pretty sure this option has been around for a while but it really is a cool mod and wanted to revive it.

Here is an example of what it looks like


The logo can be a lot of things.. Here is a good thread for some carrier logos

So here is the one I showed in the pic: download here

^^That zip was built against the 2.3.7 SystemUI.apk for the NS4G.

I will take requests. Also please refer to the second post for a "How-To"

Instructions
1) Flash ZIP in recovery and rebot
2) Download this eri.xml.zip found HERE
3) Extract that eri.xml and copy/paste it to /data
4) Change permissions to "everything"
-looks like this using Root Explorer or ES File Explorer
5) Toggle airplane mode or reboot to see changes
6) Enjoy!!


How To Submit Request
1) Post your SystemUI.apk and framework-res.apk from your current ROM
(SystemUI.apk is found in /system/app and /system/framework)
2) Post the carrier logo you want (or give an idea of what you want)
3) Post what ROM your using

If you want any other mods like differnt colors for the clock, date, ticker notifications, pretty much anything in the statusbar letme know and I can do that as well
 
Last edited:

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
GUIDE

1) Decompile your SystemUI.apk
2) Navigate to your decompiled SystemUI folder and goto
res>layout>status_bar.xml
3) Open it with word processor of choice (I prefer Notepad++)
4)Find the line that starts with
Code:
<com.android.systemui.statusbar.IconMerger
5) Place your curser right at the beginning of that line, press enter to make a space
6) In the empty line now, copy/paste this line of code
Code:
 <com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
7) Save and exit
8) Now goto res>values>ids.xml
9) Open that xml and add this line to the end of the id's (right above the </resources> at the bottom)
Code:
<item type="id" name="carrier">false</item>
10)Save and exit
11) Now take your carrier logo picture you want to use and place it in res>drawable-hdpi and name it "carrier_logo"
12) Now compile your SystemUI, sign it if using apktool and make it into a flashable zip

Here's an empty flashable zip folder structure you can use
DOWNLOAD HERE

Just extract that zip, place your moddified SystemUI.apk in the /system/app folder, then select both the system and META-INF folder and zip em up

EDIT: 2-13-12

I changed the code for the carrier logo to hopefully get rid of overlapping text with carrier logo
 
Last edited:

cicciomerenda

Member
Dec 25, 2008
22
1
0
Milano
Request

Hi fergie!

Very nice work!!!

I using on my HTC HD2 the ROM Typhoon Cyanogenmod 7 based on Android 2.3.7
Here is the link

http://forum.xda-developers.com/showthread.php?t=933951

If is possible, I want to display the carrier name only in the status bar.
I have tried some solution, but on this nevest build don't work :(

I send you my framework and system-ui

Can you made for me a flashable zip?

Thank you very much and sorry for my bad english.... :)
 

Attachments

cicciomerenda

Member
Dec 25, 2008
22
1
0
Milano
Hmmm. Well I've only tried on the Nexus S/ Nexus S 4G. But I'll definitely give it a go when I get home!

Sent from my Nexus S 4G using Tapatalk
Thank you, Fergie!!!
Only carrier name, no graphics logo...
This patch (see attachment) working only on Android 2.3.5

When I install on new Android version, cause me a USB error and crash the status bar app...

Thank you a lot lot lot :):):):)
 

Attachments

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
Thank you, Fergie!!!
Only carrier name, no graphics logo...
This patch (see attachment) working only on Android 2.3.5

When I install on new Android version, cause me a USB error and crash the status bar app...

Thank you a lot lot lot :):):):)
Ok I attached a zip you can flash in recovery. Everything decompiled/recompiled fine with no errors.

I also attached the SystemUI.apk by itself in case the zip doesn't work, try moving the SystemUI.apk to /system/app/ and change permissions to rw-r--r--
 

Attachments

cicciomerenda

Member
Dec 25, 2008
22
1
0
Milano
Thank you very much, Fergie, but the mod don't work...:(

The ZIP file give me an error on flash in recovery and the sistem-ui make disappear the status bar...:mad:

Where is the error???

Sorry sorry :D
 

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
Thank you very much, Fergie, but the mod don't work...:(

The ZIP file give me an error on flash in recovery and the sistem-ui make disappear the status bar...:mad:

Where is the error???

Sorry sorry :D
It should work

Try toggling zip verification in recovery when flashing the zip

if copy/pasting the apk by itself, you have to change permissions of the new SystemUI.apk to rw-r--r--

Or you can use adb to push it to /system/app/ then go into adb shell and run
Code:
su
fix_permissions
 

melvinchng

Senior Member
Oct 17, 2010
4,206
1,748
0
Penang
@melvinchng

Attached is the modded SystemUI in a flashable zip and standalone apk
I flash that... I work well.. but the problem is I have my carrier name stack on the icon... I do copy the xml to my data...

Any idea?

Thanks!

Accidentally sent from my Google Nexus S using XDA Premium
 

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
Thank you once again... do you know can I use it as background than logo?

Accidentally sent from my Google Nexus S using XDA Premium
I'm glad it's working for you!! Awesome stuff. Does it look cramped in there? I resized it for you to try and make it look ok

You want to use the logo as your statusbar background?
 

melvinchng

Senior Member
Oct 17, 2010
4,206
1,748
0
Penang
I'm glad it's working for you!! Awesome stuff. Does it look cramped in there? I resized it for you to try and make it look ok

You want to use the logo as your statusbar background?
I don't work well actually. Changed the permission, reboot. My carrier name is still there...

Ya, use it as status bar background. So notification icon can float on it...

Accidentally sent from my Google Nexus S using XDA Premium
 

fergie716

Senior Member
May 14, 2011
4,053
3,787
0
33
Buffalo, NY
I don't work well actually. Changed the permission, reboot. My carrier name is still there...

Ya, use it as status bar background. So notification icon can float on it...

Accidentally sent from my Google Nexus S using XDA Premium
Can you post a pic? It should be working ok

And IDK if that can be done.. I'll take a look tho and see if it can
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone