yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] LDOliver:
I use Slayers Cyan theme and when i use this it works except the text for the Notification is now white rather than the Cyan that is part of his theme. Is this something that is hard to change? Is there just a HEX value that I can search for and replace with the Cyan HEX value for Slayers theme? I know there are other mods out there for this but I am like you and believe that it shouldnt break base functionality.
[EVO 4G Themes and Apps] JsChiSurf:
Yes, you can very easily hex edit your xml file to achieve the text color you desire.

Do you know the cyan hex color code you want?
[EVO 4G Themes and Apps] JsChiSurf:
On the surface they look correct, though you have the filename messed up for the keyguard file, with "_copy" as part of the name, that you want to be sure to correct.

Also, drop them in one at a time, in case something goes wrong, you know which one was incorrect, starting with the keyguard file, as there is less opportunity for something to go wrong with that one.
[EVO 4G Themes and Apps] DaddieDiesel:
Yeah just did the copy thing cause i did it over after droping it to the sd card. Just tried it and no go. Used the ninjamorph method. Gonna try adb when i get home see if that works.

sent from Daddie's EVO from your moms.
[EVO 4G Themes and Apps] ssmcd:
I'm having some trouble getting this mod to work on the Incredible. I'm not sure what modifications need to be done to the XML before i can just follow the tutorial in the first post. I tried messing around with it and i keep getting bootloops.

I've upload my original 'keyguard_screen_tab_unlock.xml' file from the Incredible framework. If someone wants to edit it or point me in the right direction that would be great. Thanks in advance.

EDIT: I'm trying to mod the Vanilla Lockscreen, not HTC Sense.
[EVO 4G Themes and Apps] LDOliver:
Yes it is 05d8ca
[EVO 4G Themes and Apps] luist4498:
I tried this with NinjaMorph and no go! Just sent me into bootloops!
[EVO 4G Themes and Apps] JsChiSurf:
Open you XML file in your hex editor, and search for the hex value '1C FF FF FF FF', the first instance you find is the one you need to change. You should only find two instances of this value.

Change:

1C FF FF FF FF

To:

1C CA D8 05 FF

Make the above change and you should be good to go.
[EVO 4G Themes and Apps] JsChiSurf:
Using NinjaMorph should work just fine, some other part of your process, be it the edit, using the correct / compatible file, is causing your bootloop.
[EVO 4G Themes and Apps] ssmcd:
Sorry I meant to upload the framework-res.apk. Here it is.
[EVO 4G Themes and Apps] luist4498:
Thats what i figured as well. I just open the file in hex editor and insert text i want than save file. Than find them in NM and replace than finish and reboot. NO GO! I also tried using different files and no go either.
[EVO 4G Themes and Apps] Ice007112:
What do you want it to say?
[EVO 4G Themes and Apps] LDOliver:
Original

Mod Version

That worked great but as you can see from the screen shots there are some differences since my original had been themed. I like the original look so I will live with the "Sprint" text. Thanks for all your help!
[EVO 4G Themes and Apps] ssmcd:
Just blank would be awesome. Thanks
[EVO 4G Themes and Apps] Ice007112:
Ok. When I looked at the xml file it didn't have any text in it where it should be. I can add the line in where it should and just have it be spaces. JsChiSurf may have to make a suggestion on this. When I looked into the file straight from his vanilla lockscreen mod, it was blank also. Can't find "Sprint" anywhere. Figured it was blank to start with.
[EVO 4G Themes and Apps] ssmcd:
Yeah, I tried just adding in the line of blanks were it should be according to the XMLs from the 1st post and i just got bootloops, which was kind of expected. From reading through this thread it looks like JsChiSurf does something to the framework apk to make the xml editable. Just wish i knew what it was.
[EVO 4G Themes and Apps] Ice007112:
The xml is what has been modded, not the framework.apk. Did you use the correct xml file? I went ahead and added the spaces in. You can try the file i have uploaded here. First thing though is do a nandroid backup and rename the uploaded file back properly to framework-res.apk
[EVO 4G Themes and Apps] ssmcd:
Just flashed it man, sure enough it's stuck in a bootloop. I think ill just have to wait for JsChiSurf to step in. Thanks for the help tho
[EVO 4G Themes and Apps] Ice007112:
Are you clearing the cache and dalvik before installing? If so I have had it be in bootloop for over 5 minutes before it would finally load completely.
[EVO 4G Themes and Apps] ssmcd:
Yeah, i'm runnin Lou's senseless revolution which im pretty sure requires you to wipe the dalvik before flashing anything..its included in the update script so it should be. It shouldn't matter that im flashing it via recovery vs pushing it thru adb right?
[EVO 4G Themes and Apps] Ice007112:
Depends. Are you using Clockwork Mod? I keep reading that it can be buggy at times.
[EVO 4G Themes and Apps] ssmcd:
Yeah, I am. But i mean I've never had any trouble with it before. I still think the hack is more than just adding a few more blank spaces in xml.
[EVO 4G Themes and Apps] JsChiSurf:
You can't just edit a stock XML file, as mentioned. This method requires edits to stock to then allow you to edit for injecting text, be it actual text, or blank characters, etc.

I've done the attached for you to try, just because I have a heart, but I have to be honest, this is the EVO forum and I have an EVO phone, so my only real concern is having it work for EVOers...
[EVO 4G Themes and Apps] ssmcd:
Thanks, I appreciate you taking the time to mod it. Works perfectly.
[EVO 4G Themes and Apps] secondskin:
I'm hoping someone can help me. I can't figure out where the "Htc Evo" is in the file for the Vanilla Lock screen. I downloaded the file from the OP renamed it as stated and opened it using Hxd. However, when I search for the first code to find "Htc Evo" so that I can change it I keep getting a message that Hxd can't find the code.

I've successfully edited the hex code following this post for the Notification menu but can't seem to get past step 1 for the the lockscreen. Can anyone help me out?
[EVO 4G Themes and Apps] LDOliver:
I beleive on that one you search for string.

This should be the hex code.

20 20 20 20 20 20 20 53 70 72 69 6E 74 20 20 20 20 20 20 20
[EVO 4G Themes and Apps] secondskin:
I tried that code and it didn't work. I still appreciate your help and made sure to hit your thanks button. I should probably post my framework so that you or someone can edit whatever is necessary on my vanilla lock screen to say "Andy's Evo".

I would like to know how to do it though simply cause I'm trying to learn. Unfortunately, I'm not a programmer, and not good with code so I struggle but am doing my best to try to learn.

I will post my framework-res.apk in tomorrow if someone can go from there.

FYI, I'm running Mikfroyo's newest release 4.5
[EVO 4G Themes and Apps] roscoenr:
make sure when you open the search the datatype (selection under search for) says Hex-values
[EVO 4G Themes and Apps] Digitalkarma:
nice work Jschisurf! i was able to get the custom lockscreen to work, but i had no such luck with the notification menu. i followed your instructions to a tee, and i got bootlopped.

my framework folder says layout-hdpi-v4 instead of just "layout-hdpi" and i'm running the Sprint Lover's ROM. do you already have a link attachment that i missed out on that fixes this? appreciate it man!
[EVO 4G Themes and Apps] JsChiSurf:
The presence of a "layout-hdpi-v4" is an indicator that your framework was not themed manually (as it should be), but rather, was themed using an automated kitchen, and for whatever reason, I've found that when doing so, unless the xml file is modded directly from the one in your apk, it won't work.
[EVO 4G Themes and Apps] Digitalkarma:
ah, i see. i'm just glad to have my handle on the lockscreen at least to identify it as my phone. thank you!
[EVO 4G Themes and Apps] moseso:
It will work on Sprint Lovers ROM

I am running Sprint Lovers ROM too -- and had the same problem.

You must start with the status_bar_expanded.xml.pc.txt file, and follow the editing instructions -- put it in the /res/layout-hdpi-v4' folder -- it will work. At least, it does for me.

The "pc" suffix indicates that this is the .xml file to used where JsChiSurf's power control widget mod is being used -- which it is, in Sprint Lovers ROM. I missed that detail and used the "standard" .xml file the first time I tried this. Result: bootloops! Roscoenr was the one who directed me to the correct file.
[EVO 4G Themes and Apps] Digitalkarma:
okay cool i'll try this out. i'm guessing the pc tag also needs to be removed when i rename the file?

edit: i got it to work now. thank you!
[EVO 4G Themes and Apps] subgrenades:
Thanks JsChiSurf, the instructions worked like a charm on Myn's Warm 2.2 RLS 5! I show this off and people are more impressed with this mod than any other.

I've switched to CM7 RLS 1 which has a rotary lockscreen baked in. Will any of your original files work? I've been spoiled. Thanks again.
[EVO 4G Themes and Apps] bodiecon:
i have tried this for hours. followed the steps to a "t" but still says sprint. i copied the files you sent to the guy who wanted "dirty south" and got my phone to say that but when i tried to edit that one it wouldn't change either! I'm running warm 2.2 rsl5 and saw someone say they got it to work but i'm at a loss. i'm trying to make it say "Skynet".
[EVO 4G Themes and Apps] roscoenr:
What happens after you change dirty south
[EVO 4G Themes and Apps] billdozer357:
Anyone have instructions for a sense 2.0 based ROM? The lock_screen_bar.xml that JsChiSurf supplied doesn't seem to work with Myn's Warm Z; instead the lockscreen changes to vanilla.

I have no idea what I'm doing wrong. Thanks for any help on this.
[EVO 4G Themes and Apps] bobbinferbears:
Has anyone found the method to change the Carrier text for the new Sense 2.1/3.0 ports out there with the 3.0 lockscreen?
[EVO 4G Themes and Apps] proalsren:
Thanks for the step by step instructions...
[EVO 4G Themes and Apps] AndroidGraphix:
Thanks for the post. I'll be looking into this for sure.
[EVO 4G Themes and Apps] JsChiSurf:
Curious if you post a logcat during reboot what it may show. I'm running Fresh 3.3.0.1, grabbed the HtcLockScreen.apk you've attached, pushed, rebooted, and the lock loaded fine, showing 'Sprint' as the banner text. Downloaded your modified XML file attached, replaced it in the apk you've attached, pushed to the phone, rebooted, and the banner has been cleared out all together, just as you intended :).

So, moral of the story is that something is interfering that perhaps a logcat will reveal...
[EVO 4G Themes and Apps] myMUSICveins:
Well, I'm not sure what a logcat is or how to run one, but something you said is interesting. Both files I attached were supposed to be the final product. In other words the .apk I uploaded already had my updated .xml file with all 20's and yet you said it loaded with the sprint banner. You said it wasn't until YOU properly zip'd my modified .xml file that it loaded with my intended empty spot. I'm thinking I'm doing something wrong re-packaging/saving the .apk.

Do you mind attaching the final .apk you eventually got working that cleared out the sprint banner with the stock HTC lock screen and ill see if it works for me?? It might be a Rom issue too I guess.

I'm running steelrom which is a deodex version of the most recent ota froyo

Thanks! You have been more than helpful .
[EVO 4G Themes and Apps] JsChiSurf:
The apk you attached had the XML I originally modified to be fixed to say 'Sprint' with the spacing to the front/back. The XML file you attached was the one you modified to be blank, but that was not in the apk you attached.

I can't see how/why it would make a difference, but attached is the apk you attached previously with your modified XML file to blank out the banner, which booted for me fine in Fresh 3.3.0.1. If this does not boot for you (don't think it should make a difference), let me know, and we can try a few other options / versions.
[EVO 4G Themes and Apps] _Cooze_:
I can give you my CM6 keyguard_screen_tab_unlock.xml if you'd like, so you can take a look at it..
[EVO 4G Themes and Apps] _Cooze_:
Better yet.. what exactly do you "do" to modify the XML to allow us to do this?? Or is that like super in-depth way to difficult stuff? :p
[EVO 4G Themes and Apps] KommodoreHeinz:
Awesome Mod. It worked flawlessly the first time on fresh evo 3.3.0.1.

I only have one question, and if its already been answered forgive me its late and I'm tired but, is there a way to apply this to the notification screen as well?

TY
[EVO 4G Themes and Apps] jhdreamer:
No need for all this work!

Just use cdma workshop:

-put phone in diag mode (##3424#)

-connect to the new htc port

-read phone

-read spc in htc mode (security tab)

-send spc (rewrite to 000000 if you want)

-go to nam tab

-delete 'sprint' out of the banner column

-write whatever you want in the banner column

-write to phone

-close workshop and reset phone and enjoy!
[EVO 4G Themes and Apps] JsChiSurf:
Seriously dude? You think we don't know about CDMA workshop? As stated in the OP, this is an alternative for those who don't want to use that method or can't use that method.

Simply hex editing an XML file and replacing it in the existing apk is much less work than the steps you've listed, with the bonus of not changing system level settings that can/may break things on your phone.

But, variety is the spice of life...
[EVO 4G Themes and Apps] JsChiSurf:
Yes, it can be done on the notification screen as well (see earlier post for proof on concept in this thread). Just haven't had time to put a post together.
[EVO 4G Themes and Apps] JsChiSurf:
I need the entire set of framework files to decompile and allow for editing, though, as a test, I can do a straight hex edit for you to push and see if a small change works. I'll post that up later today. Thanks.
[EVO 4G Themes and Apps] JsChiSurf:
Okay, attached is the modified CM6 XML file. Nandroid and try this bad boy and let me know how it works out. You can even do a straight replace before editing, just to verify it works, by replacing 'Sprint' with 'HTC EVO'. Be sure to remove the .cm6.txt extension.
[EVO 4G Themes and Apps] jdmsleepr:
thank you for taking the time to get this working on cm6...
[EVO 4G Themes and Apps] JsChiSurf:
Did you try it yet? Looking for confirmation. I posted the XML untested, as I am not running CM.
[EVO 4G Themes and Apps] _Cooze_:
Did you just add the "HTC EVO" to the XML file without doing anything else? Because I tried that last night and it didn't work.. And it looks like your file you just posted isn't the same size thats on my phone right now. And viewing the files side by side the HEX lines are shifted to different points.

Only asking becasue I'm tired of running a NAND restore lol.. That has been the only way to fix if it doesn't work..
[EVO 4G Themes and Apps] JsChiSurf:
It's not THAT easy ;)
[EVO 4G Themes and Apps] _Cooze_:
Oh no no... I can understand that.. And I appreciate the time your taking.. I knew it couldn't be cause when I was messing around with it last night I was like, why don't I see "Sprint" in the HEX coding of the XML that I pulled off the phone.. lol

So yeah, I'm well aware that I have NO idea about HEX coding.. :D:D
[EVO 4G Themes and Apps] jdmsleepr:
Sorry...lol...that was a thank you cause it worked...guess I should have said so...tested unedited and edited...both worked great....thanks again for your time
[EVO 4G Themes and Apps] _Cooze_:
WHOA WHOA... the file he posted worked on your CM6????? Damn, gonna try it RIGHT now!!!
[EVO 4G Themes and Apps] JsChiSurf:
By default, the text that displays is being pulled dynamically from the system and written to a field in as defined in the XML. This is why the only prior method was to change the actual value at the system level, using CDMA workshop, and why you won't see a static 'Sprint' text defined in the XML out of the box.

I wanted to avoid changing such a setting at the system level setting, so I hacked up the XML to hide the display of the text pulled from phone dynamically, and display a static value instead.
[EVO 4G Themes and Apps] JsChiSurf:
Cool, thanks for the confirmation.
[EVO 4G Themes and Apps] _Cooze_:
uh huh :confused: :p
[EVO 4G Themes and Apps] _Cooze_:
SON OF A B*TCH!!!!!!!!!!!!!!!!!!!!!!!

Didn't work for me... The "HTC EVO" is there.. but once I unlock and the home screen comes up.. so does about 27 force closes.. None of my google services work.. no contacts, no 3G, no nothing...

NAND restore.. again.. :(

(my wallpaper changes too.. don't know if that means anything...)
[EVO 4G Themes and Apps] jdmsleepr:
thanks again for getting this working for cm6 but i was wondering if you were able to get the status bar edit up and going as well...
[EVO 4G Themes and Apps] JsChiSurf:
If you're willing to try, let's eliminate all variables by having your post as an attachment your original / unmodified framework-res.apk file, I will modify directly, and create a flashable zip via recovery, in order to see what happens.
[EVO 4G Themes and Apps] JsChiSurf:
I'll try and post up tonight.
[EVO 4G Themes and Apps] _Cooze_:
Okay, here you go...
[EVO 4G Themes and Apps] myMUSICveins:
So since I never actually tried any of these methods using adb pushing/pulling(been using root explorer to copy and paste the .apk file), Ive been trying to school myself on how to do this. I want to try and pull the HtcLockScreen.apk directly from my phone, and modify it and try and push it back.

Using a computer I did not root the phone with, I reinstalled android adk and the usb driver and tried the command prompt you posted on page one like so:

{once I had already navigated to "C:\Android\android-sdk-windows\tools"}

"adb pull /system/app/HtcLockScreen.apk"

Then is displays:

* daemon not running. starting it now on port 5037 *

* daemon started successfull *

remote object '/system/app/HtcLockScreen.apk' does not exist

So it seems like the computer cant find that file on my phone? The directories and the file name look spot on, what gives?
[EVO 4G Themes and Apps] JsChiSurf:
Hmmm, are you running a stock CM6? There are a bunch of corrupt files inside your apk preventing me from working with it, and the folder stock is not standard either...

EDIT: I was able to work around the corrupt files by removing and replacing them, temporarily, with known good files of the same version, then restoring after completion. Attached is a signed zip to flash via recovery. If this doesn't work for you, I'm out of ideas...
[EVO 4G Themes and Apps] JsChiSurf:
Check your pull command with the syntax I provided. Is it exact? Hint, it's not ;).
[EVO 4G Themes and Apps] myMUSICveins:
Bless you for your patience. Since Im doing this for the stock HTC lockscreen, syntax is harder to comare since you kinda referenced page one saying to swap the folder and file names. The only thing I saw that I might have missed (assuming it wasnt a typo on your end) was a period one space after the .apk file name.

After being quite excited thinking I found it and many many attempts, still no success, take a look at my screens attached. I appreciate you forcing me to learn, but Im just not seeing what Im doing wrong here to do a simple adb pull

-Anders
[EVO 4G Themes and Apps] JsChiSurf:
Your syntax looks good to me. Are you sure you are running the HTC Lockscreen? Based on the response you are getting, it looks to me like you deleted / removed the HtcLockScreen.apk file, and thus are using the Vanilla Android lockscreen instead.
[EVO 4G Themes and Apps] jdmsleepr:
just a heads up...for those running cm6...there is already an option to turn off the lockscreen and the statusbar text under setting/cyanogenmod settings/user interface/date and provider/PLMN carrier string...and uncheck lockscreen or status bar or both and reset...was tinkering around with this and found it out...thought that i would share to make things easier for everyone running cm6!!

so just to recap...all this does is turns it off, cant change the text to anything custom.
[EVO 4G Themes and Apps] _Cooze_:
umm.. I'm running a custom snap kernal with my CM6 and with the kernal came a snap turbo apk that does a lot of modifying to the framework.. maybe that is what you are seeing.. I'm going to try your signed zip here in a few minutes.. If it works I'll definately donate.. I really appreciate your help...
[EVO 4G Themes and Apps] _Cooze_:
Okay Js...

Your signed zip that you made for me WORKED!! I was like, AWESOME :D

BUT.. since I saw that it worked I went ahead and pulled it, reworked the xml to say "Cooze's Evo" pushed it back, and got all the same problems as before and had to NAND restore again.. So, either I'm doing something WAY wrong.. or it just doesn't like me, or both...

SOOOO... Like I said, your signed zip worked. Your a genius. I WILL donate! However, do you think you could just do me the honors and do another signed zip so that the banner reads (case sensative and all...)

Cooze's Evo 20 20 20 20 20 20 20 20 43 6f 6f 7a 65 27 73 20 20 45 76 6f

(yes I would like two(2) spaces betwen Cooze's and Evo)

Thank you thank you thank you sooo much.. Whenever you get a chance of course, take your time!!
[EVO 4G Themes and Apps] myMUSICveins:
It certinaly would be the only logical reasoning at this point, but the file is certainly there and I am certianly using the htc lockscreen (cant give it up since I like the alarm and the music lockscreen audio functions)

View attachment 420632

View attachment 420633

View attachment 420634

View attachment 420635
[EVO 4G Themes and Apps] myMUSICveins:
I pulled the .apk using root explorer again since the adb isnt currently working and the .xml lock screen inside the .apk doesnt look like the one you attached. I searched for this string "53 70 72 69 6E 74" (which stands for sprint) and the hex editor couldnt find it?

I attached the .apk i copied from my phone, and also the .xml from this .apk
[EVO 4G Themes and Apps] JsChiSurf:
You're not going to find the string in the XML that is stock. Sprint text isn't in it. In a previous post you will see I mentioned that 'Sprint' is pulled from the system dynamically and inserted in place on the lockscreen. This is the crux of the mod/hack I did, to turn this into static text instead.

What ROM are you running again?

Lastly, what happens, instead of navigating via root explorer, when you shell into the phone and view the application list instead?

adb shell
cd /system/app
ls -al

Do you see the HtcLockScreen.apk listed there as well?

You don't happen to have the same in /data/app do you?

adb shell
cd /data/app
ls -al
[EVO 4G Themes and Apps] _Cooze_:
Donated :)
[EVO 4G Themes and Apps] JsChiSurf:
Thanks for that. Not necessary, but certainly appreciated.

Give the attached a try and pray that it works :D
[EVO 4G Themes and Apps] _Cooze_:
I'll try it right now..
[EVO 4G Themes and Apps] _Cooze_:
Js you are THE MAN!!! Thank you!!

Sent from my Snapped CM6 Evo
[EVO 4G Themes and Apps] myMUSICveins:
Steelrom - Im open to other roms, I just dont like most roms since people modify lots of things in a way I wouldnt want, I like to run as stock/clean as possible and modify from there.

http://xdaforums.com/showthread.php?t=743781

I also have PlurStarAlpha theme running on top of steelrom

http://xdaforums.com/showthread.php?t=761765

And Im running the ADW laucncher on top of both :)

------------------------------------------

Now for the interesting screen shots. It seems when I ran adb shell I couldnt navigate to an "app" folder in either the "system" or "data" folder. So instead I ran the "ls -al" command in the "system" and "data" folders to see if this makes any sense to you.

Seems I have an odd problem here (see attached screens)