[MOD][XT1033] Remove carrier label and SIM numbers for statusbar[Do-It-Yourself]

Y

yeshwanthvshenoy

Guest
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!

Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]


How to do:





1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):



2.Now find this line:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />

and change to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />


also change:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />





3.Now for the carrier label part open res/layout/statusbar_expanded.xml:

find these lines and change the width and height like the above method to 0.0dip:

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!


Here is the Flashable zip for deodexed roms
CarrierLabel&SIM Number.zip

I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
 

Attachments

Last edited:

rajibie

Senior Member
Aug 12, 2011
263
21
0
SABANG, WEST BENGAL
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!

Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]


How to do:





1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):



2.Now find this line:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />

and change to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />


also change:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />





3.Now for the carrier label part open res/layout/statusbar_expanded.xml:

find these lines and change the width and height like the above method to 0.0dip:

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!





I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
Screenshot?

Sent from my XT1033 using Tapatalk
 
  • Like
Reactions: Lemagex

Lemagex

Senior Member
Feb 18, 2013
446
194
0
Melbourne
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!

Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]


How to do:





1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):



2.Now find this line:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />

and change to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />


also change:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:

Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />





3.Now for the carrier label part open res/layout/statusbar_expanded.xml:

find these lines and change the width and height like the above method to 0.0dip:

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for

Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!





I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!​
Thanks for the DIY steps, it's rare to find a post with a DIY and I enjoyed it. You have my thanks :good: :victory:
 

Romiui

Senior Member
Mar 4, 2012
1,059
673
143
33
Doha
Can u mention how to remove sim logo ? I have broken sim no1 so i cant use it i want to disable it for ever =) >>

thanks in advance !
 
Y

yeshwanthvshenoy

Guest
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
my guide says exactly that to remove both sims if u do it for one then only one will be removed from statusbar bro!
 

sidharth.gtm

Senior Member
May 11, 2012
222
395
0
Patna
Do it yourself

I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 <ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 <com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip
 
  • Like
Reactions: Bhavyasaran

Romiui

Senior Member
Mar 4, 2012
1,059
673
143
33
Doha
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 <ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 <com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip

aha !! thats called solution =d ..

I'll Try it today !

Thank u

Edit: working Perfect But still there is gap ! How to remove it =D ..


i believe its here some where :


<View android:id="@id/spacer" android:layout_width="8.0dip" android:layout_height="8.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo_sub2" android:layout_width="wrap_content" android:layout_height="wrap_content">
 
Last edited: