[EVO 4G Themes and Apps] JsChiSurf:
I wanted to try and see if it were possible to avoid having to hack smali code, or use CDMA Workshop to globally change your phone settings for displaying the carrier name, with the goal of making it easier for someone to change the 'Sprint' banner text on their vanilla lockscreen, HTC Lockscree, or Notifications Window, to something else.

Here's a way if you are interested (see end of post for links for HTC Lockscreen and/or Notification Window):

0. Make a nandroid before attempting this!

1. Download the attached XML file which I have modified to allow this option. The XML file, keyguard_screen_tab_unlock.xml, has been given a .txt extension so that it downloads correctly. After downloading, remove the .txt extension.

2. Open up the compiled binary XML file you just downloaded in your favorite hex editing program, I prefer HxD. It is freeware, and it's what all the kids are using :p.

3. I have modified the attached XML file to default to say 'HTC EVO' as the banner. This is just so that there is something to search for and replace. In addition, the compiled XML will allow for a replacement string up to 20 characters in length. You CANNOT exceed, or shorten the actual character length of data when hex editing. That is, you cannot delete anything in the file, only replace.

But, you say: "Hey John, 'HTC EVO' is NOT 20 characters in length!" This is correct, it is only 7, and as such, to the left (front) of this text are 13 spaces that I've left empty for you.

4. Search for the hex value of this 20 character string I've inserted into the XML, which is the following sequence:

20 20 20 20 20 20 20 20 20 20 20 20 20 48 54 43 20 45 56 4F

As you can quickly tell, the hex value '20' represents a space, while the last 7 hex values represent the text 'HTC EVO', as follows:

20 20 20 20 20 20 20 20 20 20 20 20 20 48 54 43 20 45 56 4F
H T C E V O

5. Figure out the text you want to use for the lockscreen banner, again, up to 20 characters in length, and use the following site to convert your text to hex equivalents:

http://www.string-functions.com/string-hex.aspx

In my example, I will use "John's Phone", which converts to:

4a 6f 68 6e 27 73 20 50 68 6f 6e 65

6. Since "John's Phone" is only 12 characters in length, I need eight more characters to replace a fixed 20 character length string with another 20 character length string, so I have to append 8 hex equivalent spaces, represented by '20' to the front of my new string:

20 20 20 20 20 20 20 20 4a 6f 68 6e 27 73 20 50 68 6f 6e 65

7. Now that I have my new string, in the hex editor that I just opened the XML file in, simply search & replace the old hex value (be sure to search for hex, not text):

20 20 20 20 20 20 20 20 20 20 20 20 20 48 54 43 20 45 56 4F

With the new hex value:

20 20 20 20 20 20 20 20 4a 6f 68 6e 27 73 20 50 68 6f 6e 65

8. Save the modified XML file.

This XML file's home is in your framework-res.apk file, in the '/res/layout' folder. And you need to replace the default 'keyguard_screen_tab_unlock.xml' with your modified version.

9. Pull the current framework-res.apk file to your working folder via adb:

adb pull /system/framework/framework-res.apk .

10. Open the .apk file up by using any zip type program, 7zip, winRar, WinZip, etc, navigate to the '/res/layout/' folder and drop in your modified 'keyguard_screen_tab_unlock.xml' file.

11. Close up the file and push back to your phone:

adb remount
adb push framework-res.apk /system/framework
adb reboot

That's it. No decompiling java code, no hex workshop, just a little elbow grease. Once your phone comes back up, if you followed the steps correctly, you will see your newly modified custom banner on the stock vanilla lockscreen, assuming that this is what you are already running. Note, pushing a live apk file back to your phone may reset your widgets and/or cause you to have to reset up your sync accounts. You can avoid this by creating a flashable zip, or pushing to the phone as soon as it responds to adb remount.

While it seems like a lot of steps, I just wanted to lay this out as explicitly as possible. Anyone who does any sort of themeing or mild work on the phone should be able to pull this off in a few minutes at most.

Reference:

EDIT: See Here for similar instructions for the stock HTC LockScreen.

EDIT 2: See Here for instructions for modifying the banner text on the status bar notification window.

EDIT 3: If running CyanogenMod, use the applicable version attached with the .cm6*.txt extension, and be sure to remove everything after the .xml extension.

EDIT 4: If running vanilla locks mod for Sense (rotary, slider, etc), use the applicable version attached with the .vanilla*.txt extension, and be sure to remove everything after the .xml extension.