Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP EMSpilot

27th August 2014, 08:03 PM   |  #1  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,560
 
808 posts
Join Date:Joined: May 2012
Donate to Me
More
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:textAppearanceMed ium" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/carrier_text" androidaddingBottom="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" androidaddingBottom="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 by EMSpilot; 27th August 2014 at 08:11 PM.
The Following 3 Users Say Thank You to EMSpilot For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes