yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] JsChiSurf:
If the framework-res file you have is stock to the point I can use the posted XML files that I've pre-modified in this thread, I don't have a problem doing this.

If I have to custom build by decompiling and rebuilding your XML files specific / one off to your setup, it's probably a bit more time consuming that I have available to do so.

I try and make these mods to be as universal as possible.
[EVO 4G Themes and Apps] kevinjt:
Alright, yes, is from CM RC 6.2
[EVO 4G Themes and Apps] JsChiSurf:
I'll knock out a global CM 6.0 RC2 version, and gladly continue doing so for RCs, but from this point forward, I am not going to support nightly builds with this method.

As mentioned in previously in this thread, if you want to run nightlies, your best bet is to go for a different method...
[EVO 4G Themes and Apps] bigdog1459:
im running myns 2.2 warm rsl4 with what i believe is the stock htc ls. when i pull out the apk for the ls, edit the xml file and put it back in, it keeps changing my ls to the android vanilla one. any suggestions? i can post both the apk and the xml file i edited if that would help.

ok so i uploaded the ls apk but i cant change the xml to a txt file. all i did was edit the control string.
[EVO 4G Themes and Apps] JsChiSurf:
Attachments added to applicable posts for CM 6.1 RC2. Files attached are suffixed with *.cm6.1.RC2.txt extension. Be sure to remove, so that file ends in .xml before dropping in your .apk.

Note, these have been tested and confirmed working on RC2 by yours truly.
[EVO 4G Themes and Apps] JsChiSurf:
If you are getting Vanilla, this would most likely indicate that the HTC Lock cannot load due to some sort of issue. The XML in the file you posted looks good to me, so I'm not sure what your problem is. The HTC lock does appear to be stock on Myn's ROM.

Curious if you tried to flash the changed apk, rather than push, what may happen.
[EVO 4G Themes and Apps] bigdog1459:
i still have it on my sd card. ill give it a try. i tried to dl a apk of the stock ls to recover it and that didnt change anything. so ill report back with any findings. thanks again for the quick response. youre such a huge help here.

after trying to install it i get application unsuccessfully installed. maybe i can get the xml file from someone else using myn to compare the two. maybe its slightly different that your stock htc ls xml file.
[EVO 4G Themes and Apps] JsChiSurf:
When you say it didn't change anything by pushing a stock lock screen from, do you mean you still go vanilla? Did you drop in your modified xml first, and then push, or was it stock 100%?
[EVO 4G Themes and Apps] 1369:
Just thought I would throw this out there... The ".cm6.1.RC2" xml also works on the nightly 183 build.

(I changed from RC2 to the 183 nightly for the GPS fix and thought I would give it a shot.)
[EVO 4G Themes and Apps] JsChiSurf:
Good to know :cool:.
[EVO 4G Themes and Apps] evoinmypalm:
Riptide

Hi JsChiSurf,

I'm having a really hard time editing the files. I thought that I followed everything that you had outlined in all three of your OPs (keyguard, htc lock screen, and status bar). I can't get any of them to work. If you have the time, and isn't too much trouble, can you please edit the framework-res that I have included? I have modified the three files to say, "Justin's EVO"... but it isn't showing up anywhere. Please fix it show that it says "Justin's EVO"... (HEX# 4a757374696e27732045564f)

I am using this with Myn's RLS 4 with Riptide's theme on top of it. I was trying to keep the clear HTC lock screen.... but nothing is working. I've read through all the posts (yes, all 35 pages) and I haven't gotten any bootloops,... yet. I think I've just been lucky for now, but I'm sure if I keep going a bootloop (or something worse) is around the corner...

Again, sorry for the inconvenience....

Thanks in advance!
[EVO 4G Themes and Apps] JsChiSurf:
If nothing is changing, yet you are not getting bootloops, I just want to confirm that you are properly removing the file extensions in the attachments, so that the properly end in .xml.

If you are making changes, and not seeing the changes and not getting a bootloop, this is the only conclusion I can come to.

EDIT: Just saw that you added an attachment after the fact. Not sure why you dropped the XML files into the root of the apk. Per the posts, the 2 for framework-res, go into the applicable /res/layout and /res/layout-hdpi folders, and if you are using stock HTC lock, it's XML goes into HtcLockScreen.apk, not framework-res, but you appear to have dropped that file into framework-res.apk for good measure as well, lol!

Having said all of that, the only file you appear to have edited correctly is the one for HtcLockScreen.apk, even though you dropped it back into the wrong apk!
[EVO 4G Themes and Apps] evoinmypalm:
oh.. ok..

I fully extracted the framework-res.apk file (that I attached) using winzip. I have placed my edited files in their respective places. However, you made mention that I edited one/two of the files wrong. Can you shed light on this? Or.. better yet.. help me out, please?

Thanks for the quick replies!
[EVO 4G Themes and Apps] bigdog1459:
stock 100% and i tried the edited version. neither would get me any other lock screen other than vanilla. i posted over in myns thread to see if i could get someones apk of the roms ls. well see what happens from there i guess.
[EVO 4G Themes and Apps] JsChiSurf:
This was mentioned a page ago or so, but when you hex edit a file, if it gives you a warning about changing the file size, you did it wrong. I'm thinking you would have received such a message, as your 2 framwork-res xml files had were larger than the originals I provided in terms of bytes.

There is no need to fully extract a file. Just open, navigate to the folder and drop the files back in place.
[EVO 4G Themes and Apps] JsChiSurf:
The doesn't seem to make a whole lot of sense. Are you pushing HtcLockScreen.apk to /system/app ?
[EVO 4G Themes and Apps] evoinmypalm:
I know it was mentioned.. and I'm really sorry to trouble you. I'm having a difficult time with all of it.. mentioned or not...

I don't know how to edit the files in HxD without it giving me a warning about changing the file size... I'm at a loss...

Here's my two modified files (pulled from Riptide v9)
[EVO 4G Themes and Apps] jcresu8i:
My hardware is 003 can someone make me one that works for mine n have it say Jeffy4gEvo please
[EVO 4G Themes and Apps] roscoenr:
I tried helping you out a while back when you posted your framework.apk but there where things missing from it that did not allow this mood if you give me a proper framework I can help
[EVO 4G Themes and Apps] jcresu8i:
Do I just adb pull
[EVO 4G Themes and Apps] roscoenr:
yes just do a adb pull and post up your framework the problem with your last one was that in the apk the layout-hdpi folder was completly missing so there was nowhere to put the edited xml file

2nd are you wanting it to say Jeff's4gEvo or Jeffy4gEvo, are you still using myn's warm 2.2 rls4, and do you just want the staus bar or the status bar and lock screen and if you do want the lock screen witch one the htc one or the aosp one
[EVO 4G Themes and Apps] jcresu8i:
Jeffy4gEvo
[EVO 4G Themes and Apps] jcresu8i:
How do I pull it again I forgot
[EVO 4G Themes and Apps] roscoenr:
look at the first post in the thread
[EVO 4G Themes and Apps] jcresu8i:
Can I get the HTC one I want it for the notification bar and lock screen please and thanks again and I changed it I want it to say Jeff's4gEvo .
[EVO 4G Themes and Apps] roscoenr:
ok so pull your frame work apk-----adb pull /system/framework/framework-res.apk

and your htc lockscreen apk-----adb pull /system/app/HtcLockScreen.apk and post them up here

no apk's no mod
[EVO 4G Themes and Apps] jcresu8i:
here is my framework
[EVO 4G Themes and Apps] roscoenr:
all credit goes to JsChiSurf for his mod

try this it is form warm 2.2 so hope you are still on that
[EVO 4G Themes and Apps] jcresu8i:
Do I push it back now?
[EVO 4G Themes and Apps] roscoenr:
yes push it following the first post all the directions are there

let me know if that worked for you
[EVO 4G Themes and Apps] jcresu8i:
Thank you it work but what about the lockscreen the notification work
[EVO 4G Themes and Apps] roscoenr:
in order to do your htc lock screen i need you to post your htc lockscreen apk i do not use the htc one so i do not have it so you need to pull it using (adb pull /system/app/HtcLockScreen.apk) and post it here and i will try to get to it latter
[EVO 4G Themes and Apps] jcresu8i:
When I try and pull the HtcLockScreen.apk it says it does not exist what do I do now?
[EVO 4G Themes and Apps] roscoenr:
Are you wanting to use the lock screen that you pull down or slide over to unlock
[EVO 4G Themes and Apps] jcresu8i:
i'm using the vanilla lockscreen so I guess slide over
[EVO 4G Themes and Apps] roscoenr:
OK so I can post that up later
[EVO 4G Themes and Apps] JsChiSurf:
Thanks for your help on some of these requests. I've run out of time in the day to try and keep up with some of these things, so I appreciate it.
[EVO 4G Themes and Apps] jcresu8i:
Thanks ill be waiting
[EVO 4G Themes and Apps] roscoenr:
not a problem i understand how that goes plus im still trying to learn how to make apps and things like xml files witch i really have no idea about lol. so i try to help where i can
[EVO 4G Themes and Apps] roscoenr:
it looks like the htc warm uses cant be done like this not that i can do anyway but here is a new framework with the status bar and lock screen changed just push this same as you did your last one
[EVO 4G Themes and Apps] jcresu8i:
where is the new framework posted?
[EVO 4G Themes and Apps] JsChiSurf:
I don't use root explorer, so I don't know what its capabilities are, but you need to be able to open the existing apk to replace the applicable file. I'm guessing you can't do that with root explorer, but if you can, then I don't see any reason why not.
[EVO 4G Themes and Apps] ckombo:
Will your method allow the Sprint apps to still work? I originally did this using CDMA workshop, and the Sprint apps all stopped working. I changed it back to Sprint and they started working again.
[EVO 4G Themes and Apps] JsChiSurf:
Precisely. This method is what I call "out the door". It changes nothing at the system level, just the text that prints to the screen, preventing any such issues.
[EVO 4G Themes and Apps] ckombo:
Great! Thanks, I'll be doing this today.
[EVO 4G Themes and Apps] myMUSICveins:
When using the file you provided for the htc lock screen version, the string is not identical to the one you descibed that I should be looking for.

You said to look for this string:

"20 20 20 20 20 20 20 53 70 72 69 6E 74 20 20 20 20 20 20 20"

and the file you attached when opening with the program you linked the string looks like:

"20 20 20 20 20 20 20 53 70 72 69 6E 74 20 20 20"

Basically 4 "20's" missing from the end which is odd becuase the word sprint I would think wouldnt be centered. Am I looking at this wrong?

Thanks,

-Anders
[EVO 4G Themes and Apps] JsChiSurf:
Hmmm, just opened the file attached to that post and I'm seeing the exact string as stated and that I created in the XML. What editor are you using? The string certainly may wrap to the next line for you as well, but there are definitely 7 20's to the front and 7 20's to the back of the text 'Sprint'.
[EVO 4G Themes and Apps] myMUSICveins:
I was using the program you linked to. I was multitasking at work so its possible i missed the fact that the numbers "wrap to the next line" I'll take a closer look when I get home.

Thanks!
[EVO 4G Themes and Apps] jdmsleepr:
i downloaded, changed and installed but got a boot loop...did a straight install no changes and the same...opened my keyguard_screen_tab_unlock.xml from the framework-res.apk from my phone and it is completely different from what you have...just wondering what is going on and how to resolve it...attached is the file so you can take a look and let me know...thanks
[EVO 4G Themes and Apps] bluebeast213:
Worked great for me. Thanks:D

I'll post a screenie later.

This will be perfect for the Rom and theme I'm working on. I won't forget to give a shoutout to you in my Rom and theme treads.
[EVO 4G Themes and Apps] firesquirt:
No Joy For me using HTC Lock on Fresh 3.3.0.1 and theme FROYO2.2 Riptide9's ColorNClear.

Tried yours and tried to place text in the same place in my back up file but just kills the HTC lock screen each time.

Does the file need to be 806.9 kb? because when I added the new 20 character line it became 813. kb.

Here is a copy of my file without modification if you wish to explore.
[EVO 4G Themes and Apps] JsChiSurf:
What ROM are you running? The original XML file from Fresh (which was my starting point) and your attached XML (which I'm assuming is original from your ROM), are definitely different sizes.
[EVO 4G Themes and Apps] JsChiSurf:
Great. A shoutout is all I ask :).
[EVO 4G Themes and Apps] JsChiSurf:
Fresh 3.3.0.1 is my starting point as well, so something seems to be going wrong in your process, not sure what. The file size cannot change from the original supplied (be it my attached source when changing, or the original), otherwise, it will corrupt.

Any logcat data? The filesizes you are referencing are not the same as the one attached in the HTC mod post, so I'm a little confused.
[EVO 4G Themes and Apps] myMUSICveins:
So, I was able to modify the .xml file easy enough, the 4 20's did in fact trail to the next line. Ive never used that type or software or edited that type of file, so I didnt know it was like one long run on sentence.

Bad news is, although root explorer can view the .apk file to then view the .xml file, I was not able to paste the replacement .xml file in the .apk

Since i only adb pushed once when rooting the phone (with fantastic video walkthrough) I dont remember how to do that, is there perhaps an .apk editor I can use so i can replace the .apk using root explorer?

or is there perhaps a link you can provide me to for an explanation on how to adb push this file using the instructions you provided on page 1

Thanks,

-Anders
[EVO 4G Themes and Apps] _Cooze_:
I got a problem.. I'm on CM6.. didn't realize this was for Fresh only... phone bootloops now, but I deleted the keyguard file that I replaced from CM6.

what can I do??
[EVO 4G Themes and Apps] jdmsleepr:
i am running cm6 nightlies...i guess i didnt read that this was based from fresh...if you can point me in the direction that i need to go to complete this i would appreciate it!!
[EVO 4G Themes and Apps] JsChiSurf:
Open the zip file you used to flash the ROM to your phone with and pull the original framework file to retrieve the original XML.

Honestly, though I didn't test, it seemed logical to me that those files would be the same. It seems I was wrong.

Let me download CM6 and take a look at the file and see if I can doctor something up for non-Sense based ROMs as well. Stay tuned.
[EVO 4G Themes and Apps] jdmsleepr:
thanks a lot...i appreciate it!!
[EVO 4G Themes and Apps] _Cooze_:
Yeah.. I did that... now my phone is F*cked!!!! nothing google is working.. probably because during various modding it tweaked the framework-res and now that i put the stock one back on, nothing works.. no internet, no nodda.. i need to reflash gapps.. but i dont have it on my phone haha.. damn.. long night ahead..
[EVO 4G Themes and Apps] myMUSICveins:
Same thing happened to me. Simply kills the htc lock screen and puts the default vanilla unlock screen there in its place.

I attached both modified files in case you see something. I opened the original .apk with winrar, swapped out the .xml files and re-saved it. I wonder if there is some option i need to select to resave it correctly?

Very Frustrating :'(
[EVO 4G Themes and Apps] Vernox701:
Can the layout be centered and spaced like the droid x vanilla lockscreen ?

http://xdaforums.com/showpost.php?p=8525492&postcount=1
[EVO 4G Themes and Apps] JsChiSurf:
Sure. That's just a simple change to an attribute in the XML.
[EVO 4G Themes and Apps] roscoenr:
my bad here you go
[EVO 4G Themes and Apps] Vernox701:
Okay I downloaded the. xml what do I change" layout AlignParental Right "located in the right hand side

edit :I just want to center all of lettering and place the date below the icons
[EVO 4G Themes and Apps] jcresu8i:
Ty man ill donate to u for all ur work n putting up with me when I get paid next week ok
[EVO 4G Themes and Apps] roscoenr:
Your welcome
[EVO 4G Themes and Apps] kingcliff00:
anybody using mac osx willing to give me a hand with getting this to work im no noob... iight heres my problem im using midnight commander to copy the keyguard_screen_tab_unlock.xml to the framework apk but it bootloops after i push it back to my phone
[EVO 4G Themes and Apps] roscoenr:
if i knew anything about mac i would help sorry
[EVO 4G Themes and Apps] jcresu8i:
Does n e one know how to get the green lantern lockscreen I think its tight
[EVO 4G Themes and Apps] kingcliff00:
what exact app are u using to edit the framework apk on windows??
[EVO 4G Themes and Apps] Vernox701:
Just download 7zip to open the .apk
[EVO 4G Themes and Apps] Vernox701:
Center the Alignment of the Vanilla LockScreen?

Not very good at asking question but what exactly would I need to do to center the text on the vanilla lockscreen. I have searched here on xda, sdx and ppcgeeks but I seem to be missing something.

[/URL][/IMG]
[EVO 4G Themes and Apps] 1369:
I would love to find out how to center the text on CM 6.1 lock screen.

Also, is there going to be a new XML for the CM 6.1 final/stable?

Truly do appreciate all the work you do...
[EVO 4G Themes and Apps] texasez:
I am using Myn's 2.2 release 4. Will the method in post 15 work for me? I assume I have the HTC lock screen.
[EVO 4G Themes and Apps] roscoenr:
Yes you can
[EVO 4G Themes and Apps] buzzwyzr:
Thank you so much for posting this. And for your prompt replies and help to those of us who had problems. :)

I decided to use your powers for good and pay some hommage.
[EVO 4G Themes and Apps] buzzwyzr:
Not true. See post below yours.

Use the HtcLockScreen.apk method for Warm 2.2 RLS4 and it works perfectly.

EDIT: I realize that I'm not using the lockscreen that comes with 2.2, but I had modified that one as well before flashing the one in the pic.
[EVO 4G Themes and Apps] roscoenr:
Yeah my bad I was looking at the wrong thing is been a very long weekend thank you for correctingt that
[EVO 4G Themes and Apps] texasez:
Are you saying that you have to modify the standard lockbar before you flash the transparent lockbar? You have me confused now.
[EVO 4G Themes and Apps] buzzwyzr:
No. You can edit either one. I was simply stating that I edited the stock bar first.....then flashed the transparent one.
[EVO 4G Themes and Apps] texasez:
After a 2 hour struggle with ADB installation, I downloaded the xml file in post 15 for the htc lockscreen. Installed HxD and opened the xml file. I thought I downloaded the English version and even thought the letters were English, It might as well have been Russian version. I was looking for something with 20 rows with a bunch of 20's in the row but did not find any.

I am wondering if I am open i correctly removed the txt extension. Going to properties it still shows a txt extension but the name does not. How do I remove the txt extension and when i get it removed how do I find and change the hex files?

Trying to get this done but it is all new to me.

Edit:

Solved the extension problem and changed the hex file. However whenever i try to pull the htclockscreen.apk file, it says it cannot be found. How do I point adb to my phone.

I did adb pull /system/app/htclockscreen.apk and got the file not found error.

ADB does find my evo and call its an HTsomething.

Any other way to pull the file?
[EVO 4G Themes and Apps] Trident:
Wow. I was doing this with no problem with older ROMs, but every time I try to change my notification banner I get unusable systems. Constant FC of Sense & Android systems.

I'm relatively sure that the error is because of this step.

When I open the apk, the only place I see the noted xml file is in a folder called /layout-hdpi-v4. So I inserted it there. There is no folder labeled /layout-hdpi.

If there are modified instructions (or a modified file) for these newer ROMs, or if someone can tell me what I'm doing wrong, I'd appreciate it.
[EVO 4G Themes and Apps] jase81:
hey this is great :D but still aint managed to do it lol :mad:
[EVO 4G Themes and Apps] Adam1422:
Thanks for the step by step!
[EVO 4G Themes and Apps] PC-48:
All is good.
[EVO 4G Themes and Apps] bboy_201:
thanks

just wanted to say thank you
[EVO 4G Themes and Apps] sw10475:
I used the flashable zip for the notification bar, which worked perfectly but now there is an update the to the Riptide theme that changes my battery icon. I lose my notification bar text and if i flash the zip again it changes my battery back. How can I edit my xml file.to add the text without changing the file size?
[EVO 4G Themes and Apps] roscoenr:
Do you have adb. With adb you can put your new theme on and then pull your framework- res.apk them place your modified xml file in the correct spot then push it back to system/framework, then adb reboot and should be good to go
[EVO 4G Themes and Apps] sw10475:
I have not used ADB yet. I have yet to brave learning that. Usually I use Root Exploere and 7zip to get the files that I need. I think I know what I did though, instead of extracting my framework file and replacing the status bar, I just flashed the custom.zip again which contained my old framework.apk. Gonna try again today and see if I have luck.
[EVO 4G Themes and Apps] sw10475:
I have installed an update to my theme and if I flash the status bar xml with my new framework.apk the color changes from black to white. How do I change the color to black or will someone be willing to change the text on my xml if I post it? I am more.than willing to change it myself if I can get a little instructioan as to how without causing bootloops.
[EVO 4G Themes and Apps] roscoenr:
now that i cant help you with sorry bro
[EVO 4G Themes and Apps] sw10475:
No problem. I just have to decide if I want custom text and white buttons or Sprint and black buttons. Really not a tough choice, the Sprint needs to go.
[EVO 4G Themes and Apps] sw10475:
Is this hex edit still going to work when I finally install the 3.7 update?
[EVO 4G Themes and Apps] JsChiSurf:
From what I can tell there is no change between versions.
[EVO 4G Themes and Apps] sw10475:
Excellent, thanks.
[EVO 4G Themes and Apps] sw10475:
JsChiSurf, would you mind hex editing my xml for me from my theme update? It seems to change some colors and icons in my status bar drop down if I use the one supplied in this post. I was going to try CDMA but I dont want to buy it and I cant get into diag mode anyway for whatever reason.
[EVO 4G Themes and Apps] gmramirez1973:
Help

I tried pushing framework-res.apk after I put the modified status_bar_expanded.xml on it but I get a bootloop after reboot. It worked in the previous rom I flashed that was Azrael 2.1 (based on Sprint 3.29) but after I updated to Azrael 3.0 (based on Sprint 3.70) I get bootloops. Then I extracted the status_bar_expanded.xml directly from the unmodified rom (Azrael 3.0) and I open it with HexEdit but I can not find the code line that JsChiSurf described on his guide:

53 70 72 69 6E 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20
S p r i n t
[EVO 4G Themes and Apps] jcresu8i:
Can u make another one for me it does not work on rls5 please
[EVO 4G Themes and Apps] jcresu8i:
Here is my framework
[EVO 4G Themes and Apps] BigMark82:
Same issue here..I updated to Azrael 3.0 and tried this Hex edit and I keep getting bootloops. I'm following the instructions exactly as written...what could be causing this? I've attached the framework from Azrael 3.0 if anyone can take a look at it and let us know why it isn't working or if they can change my Android lock screen to read Big Mark's Evo and the same for the status bar..Thanks a mil in advance. you guys rock!