Guide How To Natively Change Lock Screen Carrier Label Text Verizon S5

Search This thread

EMSpilot

Recognized Themer
May 31, 2012
1,096
2,054
Havasu
Guide How To Natively Change Lock Screen Carrier Label Text Verizon S5

First thing you need to do is decompile Keyguard.apk located in system/privapp

Find keyguard_emergency_carrier_area.xml in res/layout-sw360dp.

Look for line: "should be line 8"

<com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/carrier_text" android:paddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />


Change to and save file

<TextView android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:paddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:text="@string/mytext" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />


Then open res/values/strings.xml

Look for line 304. Add a line right below line 304 as follows:

<string name="tts_temperature">Degree</string>
303 <string name="keyguard_guest_mode_help_text">"Swipe to switch to %s's home screen"</string>
304 <string name="keyguard_clock_with_battery">%s battery power</string>
305 <string name="mytext">PUT YOUR TEXT HERE</string>
306 </resources>


Where it says "PUT YOUR TEXT HERE" is where you enter whatever you want it to say on your lock screen.

Save file and compile Keyguard.apk

Push to System/privapp and Enjoy!!!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Guide How To Natively Change Lock Screen Carrier Label Text Verizon S5

    First thing you need to do is decompile Keyguard.apk located in system/privapp

    Find keyguard_emergency_carrier_area.xml in res/layout-sw360dp.

    Look for line: "should be line 8"

    <com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/carrier_text" android:paddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />


    Change to and save file

    <TextView android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:paddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:text="@string/mytext" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />


    Then open res/values/strings.xml

    Look for line 304. Add a line right below line 304 as follows:

    <string name="tts_temperature">Degree</string>
    303 <string name="keyguard_guest_mode_help_text">"Swipe to switch to %s's home screen"</string>
    304 <string name="keyguard_clock_with_battery">%s battery power</string>
    305 <string name="mytext">PUT YOUR TEXT HERE</string>
    306 </resources>


    Where it says "PUT YOUR TEXT HERE" is where you enter whatever you want it to say on your lock screen.

    Save file and compile Keyguard.apk

    Push to System/privapp and Enjoy!!!
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