[ApkTool] How To Add Custom Carrier Label On Status Bar Using ApkTool X

[ApkTool] How To Add Custom Carrier Label On Status Bar Using ApkTool X

[ApkTool] How To Add Custom Carrier Label On Status Bar Using ApkTool X
Hello Guys I'm Showing to you, how to add custom carrier label on status bar using ApkTool X or Any Version.
New Light Template Documentation
How To Add Custom Carrier Label

I'm Recommended To You Using ApkTool X Android Version Because ApkTool X Is Best Apk For Android Device. ApkTool X is working perfectly.


Disclaimer : Plz work at your own risk, If your device damage or brick then Rom Claims is not responsible to your complain.

Requirement Tool :


- Custom Carrier Label.zip

Show More : [ApkTool] How To Setup All ApkTool Android Version


ScreenShort :

New Light Template Documentation

How To Add Custom Carrier Label :
Step 01 : At First Download "Custom Carrier Label.zip" File And Extract it.

Step 02 : Now Decompile "SystemUI.apk" Using ApkTool

Step 03 : Replace "Custom Carrier Label" Folder Under "SystemUI_res" Folder File To Stock "SystemUI_res" Folder Under.

Step 04 : Now Go To res/layout Folder Under & Add This Code statusbar.xml & gemini_status_bar.xml File Under. 

Search:= id/notification_icon_area  & Add This Line Before </LinearLayout> Under.
<com.adi.rom.interface.customcarrierlabel android:textAppearance="@style/TextAppearance.StatusBar.CustomLabel" android:gravity="left|center" android:id="@+id/custom_label" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

Look Like This :
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone...
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
        <LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.adi.rom.interface.customcarrierlabel android:textAppearance="@style/TextAppearance.StatusBar.CustomLabel" android:gravity="left|center" android:id="@id/custom_label" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
            <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Trafficmeter" android:gravity="left|center" android:id="@id/trafficbridge" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />
        </LinearLayout>

Step 04 : Now Go To res/values/style.xml & Add This Code Before </resources> 
    <style name="TextAppearance.StatusBar.CustomLabel" parent="@*android:style/TextAppearance.StatusBar.Icon">
        <item name="android:textSize">13.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">@*android:color/holo_blue_light</item>
    </style>

Step 05 : Now Decompile "SystemUI_src" Folder & Recompile Again.

Step 06 : Now Go To res/values/public.xml & Search <public type="id" name="custom_label" & Change Look Like This.
Change
<public type="id" name="custom_label" id="0x7xxxxxxx" />
To
<public type="id" name="custom_label" id="0x7f0800b5" />  

Step 07 : Now Recompile, Sing & Make Flashable Zip File And Flash it Using Recovery.

Step 08 : Decompile "Settings.apk" & Add This Code res/xml/display_settings.xml Under.
    <PreferenceScreen android:title="Carrier Label" android:key="carrier_label">
        <intent android:targetPackage="com.fiqih.anaknya.mbol" android:action="android.intent.action.MAIN" android:targetClass="com.fiqih.anaknya.mbol.MyActivity" />
    </PreferenceScreen>

Step 09 : Now Recompile, Sing & Past system/priv-app Folder Under Using Root Explorer.

Credit :
- Android Black
- ApkTool
- XDA Developers
Rom Claims
- S M Nahid EMON

[Note : Please share this guide any place and if you need any help comment below]
Android Apk Modifying Tips & Tricks

4 Responses to "[ApkTool] How To Add Custom Carrier Label On Status Bar Using ApkTool X"

375/5000
A Note for Entrepreneurs
  • Please leave a trace in accordance with the title of the article.
  • Not allowed to promote goods or sell.
  • Do not include active links in comments.
  • Comments with active links will be automatically deleted.
  • Comment well, your personality reflects when commenting.

Top Ad Articles

Middle Ad Article 1

Middle Ad Article 2

Advertise Articles