[MOD]Change "Sprint" on AOSP (No HexEdit/CDMA)(Scrolling Lockscreen Text)
I searched through EVO 4G Themes and Apps and did not find this method; however, I am posting it here in case it is a repost. I suppose a mod could move it later if users find it helpful and they felt inclined to do so.
So far the two main methods I've seen are done with CDMA workshop or hex editing .xml files. I didn't like either of these methods too much. CDMA workshop costs money unless you download it illegally, and even then it only works half the time. I do not care for hex editing very much either. Not to mention the fact that you have to use a text-hex converter and download a hex editor. Plus, whenever the framework changes in the rom (happens very often with CM) you have to do a lot of work with the .xml if you don't want your phone to bootloop into eternity. (Do not misconstrue what I am saying. The user who created the hex editing method for changing your lockscreen/notification bar text does great work and I used his method for a long time. The framework in CM changes so much though and I don't expect him to constantly update his method for one specific rom.)
I scoured several sites to find this method only to find out it has been posted on XDA. The only problem I saw was that the posts were within [Q] threads and therefore buried to the average user. This is my attempt to share this with the community. I don't take any credit for the actual method. Just trying to bring it up so we all have options.
This edit is very easy to complete. Try it at your own risk.
0. Make a Nandroid backup. Hopefully this is second nature by now.
1. Download eri.zip
2. Unzip the file to wherever you please.
3. Right click on eri.xml and choose "Open with Notepad"
4. Once you open the file you will see "Sprint" in the 5th line.
5. Delete Sprint and place whatever you would like in it's place. I believe you have up to 16 spaces to work with if need be.
6. Save the file with an .xml extension. Important: Make sure it is eri.xml and not eri.xml.txt. This will cause issues.
7. Place the eri.xml in your /androidsdk/tools directory.
8. Pull up your Command Promt/Terminal/Etc
9. CD to your /androidsdk/tools directory and:
adb push eri.xml /data/eri.xml
10. Success. Hopefully.
I have heard that this method does not work for some. It worked for me earlier tonight and for another CM user that I shared it with. Hopefully this gives you an alternative to the other methods if they didn't work or if you aren't comfortable with them.
Let me know if I left anything out or if there are any issues.
Thank you lovethyEVO for bringing it to my attention. Looks like this will only work for CM roms (though I would imagine it would work on any AOSP rom) at this point in time. Just tested on a Sense based rom and saw no change. Sorry folks.
After reading through a few posts, I figured it was only right to write up some instructions on how to complete the edit from the phone itself.
Apps needed: Root explorer is ideal but it costs money and it is not necessary if you don’t want to pay for it. So for this method, we will go the long way and use AndroZip and Terminal Emulator (Possibly DropBox as well, will explain later), all of which are free on the Market.
1. Download the file to your phone. Depending on your settings it will either be on the root of your SDCard or in a “download” folder. If in a folder, move it to the root of your card. Do this by opening Androzip, go to your download folder on your SD card, long press on the file, select “Move,” press the back button, and then press the “Move Here” button that has appeared in the top right.
2. Unzip the eri.zip file. Tap on eri.zip and select “Extract file here.”
3. Open the file. Tap on your newly unzipped eri.xml, tap “Open,” pick an app to edit the file (AndroZip has a built in text reader that won’t work because it does not have an Edit option. This is where DropBox can come in handy since it contains a Text Editor in case your rom does not have one built in.)
4. Find “Sprint” and change it to your desired text. Save the file before exiting. If you try to back out before saving it should prompt you to save.
5. Move the file to the appropriate location. Exit AndroZip and Open up Terminal Emulator. Type:
mv eri.xml /data/eri.xml
if you want to keep a copy of your edit eri.xml on your sdcard. Will come in handy if you ever do a full wipe and a fresh install of CM.
6. Back out of Terminal Emulator and restart your phone.
Sorry for the wordy directions. Tried to make sure I covered all of my bases. Figured more directions were better than not enough. Let me know how this works. You can use other apps if you want. These just happened to be the ones I had on my phone at the time. Hope this helps those that don't like ADB or just want to complete the edit straight from the phone.
To remove the edit completely you can use Root Explorer, navigate to /data, long press on eri.xml, and then select Delete. If you don't have Root Explorer, then open Terminal Emulator and type:
rm -r /data/eri.xml
Reboot after deleting the file and you will go back to Sprint.
There doesn't really seem to be a limit on the character count with this modification. 24601
did a little bit of experimenting and found out that the text will actually scroll across the lockscreen if you complete the edit with a long enough phrase. The text doesn't scroll in the drop down notification menu and looks a little jumbled, but it is definitely a cool effect on the lockscreen. Nice find either way.