[MOD]Change "Sprint" on AOSP (No HexEdit/CDMA)(Scrolling Lockscreen Text) - EVO 4G Themes and Apps

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:
Code:
adb remount
adb push eri.xml /data/eri.xml
adb reboot
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE:
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.
UPDATE 2:
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:
Code:
su
cd /sdcard
mv eri.xml /data/eri.xml
Alternately, use
Code:
cp
instead of
Code:
mv
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.
7. Success?
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.
UPDATE 3:
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:
Code:
su
rm -r /data/eri.xml
Reboot after deleting the file and you will go back to Sprint.
UPDATE 4:
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.

Thanks man finally a fast way to do it.....using a mac everything is different lol but just wanted to confirm that it worked for me

fantastic post...
gonna test it out later and complain to you about it.

This didn't work for me. The text change is definitely on the phone. I used root explorer to find and read the eri.xml file in the data folder and my change is there, but "Sprint" still shows up on my notification bar and lockscreen, not my newly revised text. Have rebooted a second time just to be sure. Dang, I knew this sounded too easy, lol.

I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.

w84mike said:
This didn't work for me. The text change is definitely on the phone. I used root explorer to find and read the eri.xml file in the data folder and my change is there, but "Sprint" still shows up on my notification bar and lockscreen, not my newly revised text. Have rebooted a second time just to be sure. Dang, I knew this sounded too easy, lol.
Click to expand...
Click to collapse
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
lovethyEVO said:
I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.
Click to expand...
Click to collapse
Excellent. I encourage you to use the method that works best for you. This method is for those whole would rather not download an extra program or deal with hex editing at all.
I will check into the question about compatibility with Sense based roms. Off the top of my head I think it works, but I won't say for sure until I can prove it.

lovethyEVO said:
I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.
Click to expand...
Click to collapse
i believe the purpose of karadorde sharing is that it doesn't require a hex editor; that it can be done in notepad. it's good that you can do it in 5-7 seconds, but there are always users who will feel uncomfortable with taking that route.
kudos on timing yourself though.

shift_ said:
i believe the purpose of karadorde sharing is that it doesn't require a hex editor; that it can be done in notepad. it's good that you can do it in 5-7 seconds, but there are always users who will feel uncomfortable with taking that route.
kudos on timing yourself though.
Click to expand...
Click to collapse
The hex edit method saves time everywhere else. Like I said, sense based roms don't parse xml files from the data folder that I know of.
In order to edit any xml file in sense you have to decompile the apk, make the edits, and then recompile the apk and hope it doesn't bootloop. That's longer than a couple of seconds to hexedit a file and reinsert it into the apk.
With this method, while it works for cm, almost all xml files in sense are binary and are not easily edited in notepad and won't be edited properly.
Kudos to the op for the method but unless the rom explicity allows parsing human readable xml files the hexedit method will still be a "go to" overall.

lovethyEVO said:
The hex edit method saves time everywhere else. Like I said, sense based roms don't parse xml files from the data folder that I know of.
In order to edit any xml file in sense you have to decompile the apk, make the edits, and then recompile the apk and hope it doesn't bootloop. That's longer than a couple of seconds to hexedit a file and reinsert it into the apk.
With this method, while it works for cm, almost all xml files in sense are binary and are not easily edited in notepad and won't be edited properly.
Kudos to the op for the method but unless the rom explicity allows parsing human readable xml files the hexedit method will still be a "go to" overall.
Click to expand...
Click to collapse
agreed. i use hxd myself, but for any cm users who want to customize, this is a pretty good method. regardless, i believe karadorde is testing it out on sense to provide a definitive answer.

shift_ said:
agreed. i use hxd myself, but for any cm users who want to customize, this is a pretty good method. regardless, i believe karadorde is testing it out on sense to provide a definitive answer.
Click to expand...
Click to collapse
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.

lovethyEVO said:
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.
Click to expand...
Click to collapse
heh that's sense for ya.

lovethyEVO said:
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.
Click to expand...
Click to collapse
In time maybe we can use it to complete the edit in Sense based roms. For now it looks like CDMA Workshop or HxD is the best option for those lacking AOSP in their lives . Regardless, OP updated with the info.

Karadorde said:
9. CD to your /androidsdk/tools directory [/B]
Click to expand...
Click to collapse
I'm not that well versed using terminal commands. What does this part mean?
Sent from my PC36100 using XDA App

jcjr81 said:
I'm not that well versed using terminal commands. What does this part mean?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
No problem. We have all been there and the cmd prompt can be a difficult place sometimes. First and foremost, do you have the Android SDK installed on your computer?
Sent from me to you via the interwebs.

Thanks for the help! I do have it installed on my PC.
Also, is there any way to do this right on the phone using terminal emulator?
Sent from my PC36100 using XDA App

jcjr81 said:
Thanks for the help! I do have it installed on my PC.
Also, is there any way to do this right on the phone using terminal emulator?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
CD means change direction. So you are opening a command terminal and directing toward your tools folder. I installed my SDK right on my C: drive. So when I open open my command terminal I type cd C:\androidsdk\tools. It all comes down to where it is installed on your computer.
Also, you can do everything from the phone. Don't need to use terminal emulator at all from the phone. I will update the OP in a few with directions. Sorry, I am at work right now and trying to get you a quick response. Hope this helps a little bit. More instructions to come.
Sent from me to you via the interwebs.

Karadorde said:
CD means change direction.
Click to expand...
Click to collapse
Not to be a jerk, but cd is change directory, not direction. I don't get to contribute much when it comes to the phones, so thats the best kind of help I can offer here

Karadorde said:
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
I did use adb to push it to the phone. I didn't edit it on the phone, just opened the file and looked at it to make sure my change was there, which it was. I am using Myn's RLS4, so sense based. Maybe that is the problem.
Click to expand...
Click to collapse

I would also really love a method that could be done from the phone only. I'm doing this for a friend and there usb is messed up so can't use adb to push files from the computer. Thanks for this.
Sent from my PC36100 using XDA App

w84mike said:
Karadorde said:
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
I did use adb to push it to the phone. I didn't edit it on the phone, just opened the file and looked at it to make sure my change was there, which it was. I am using Myn's RLS4, so sense based. Maybe that is the problem.
Click to expand...
Click to collapse
Sorry about that sir. I should have tested before hand to verify compatibility. Forgive the confusion.
Sent from me to you via the interwebs.
Click to expand...
Click to collapse

Related

[Q] Dark notification bar for 2.2

Does anyone still have instructions/required files for changing the notification bar on a 2.2 Droid X?
Before it is linked, I have already looked at teenfaces' thread; if you look, you'll notice that teenfaces has edited the initial post (presumably where the instructions were).
Just to cover all of my bases, I have tried the pre-2.2 post. (A boot loop says it doesn't work.)
Any suggestions?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
williams37 said:
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
Click to expand...
Click to collapse
That is what I mean.. However, in teenfaces' pre-2.2 post, it mentions changing the services.jar file.. Which is why I thought that simply changing the background image in the framework apk wouldn't work.
I have no experience with Ninjamorph. I'm not going to even try to play it off - I've only recently decided to take the plunge and root. (And I only decided to root because I wanted to change the font, phone-wide.) So, I'm pretty new to all of this.
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
williams37 said:
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
Click to expand...
Click to collapse
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
paramnesya said:
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
Click to expand...
Click to collapse
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
williams37 said:
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
Click to expand...
Click to collapse
Thanks for getting me started in the right direction!
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
XDRDX said:
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
There is two files almost the same name. But the one I edited and got my name and fox logo on was Status_bar_Background.png... NOT the .9.png
Thats how it is on my rom anyways. I am realizing I have different system files than many people on here.
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
williams37 said:
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
Click to expand...
Click to collapse
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
I haven't tried anything yet (other than pulling the framework-res.apk). I'm still doing research. From what I've read, though, you definitely have to be deodexed.
I plan on attempting it this week.. If all goes well, I intend on writing some instructions up. In the meantime, if anyone else gets it done, feel free to post some helpful pointers!
Just so I'm clear, what I want to do is modify the notification bar and pull-down without using a rom.
williams37 said:
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
Click to expand...
Click to collapse
I deodexed and tried a third time, still nothing. I think I'm deodexed that is. Is there any test to know for sure if your deodex process worked for sure? I used the OTA Auto-Deodex
to expand on part of your instructions
yes
no
yes
the actual questions I get are
Confirm action - overwrite with finished project -yes
confirm action - zip align -no
reboot phone - OK (no yes or no option)
and then only once did i get a last yes/no about cleaning up files. i said yes.
are these the correct answers? and on the hit back button until main ninjamorph menu, is that the phone back button, or the on screen back button?

Change Carrier Name(app)V1.3 Updated 4/6/11

I threw together a simple app to change the Carrier Name in the status bar/lockscreen to whatever you want since my alot of people seem to ask how to change it. Feel free to use it. Tested on Incredible and Eris. No ads and free just a simple tool to change the text.
Currently only for AOSP roms such as cyanogenmod roms.
V1.3
While trouble shooting some radio issues on a rom I realized there's no need to reboot the phone to apply the new carrier name. I only needed to cycle the radio so I changed the app to toggle airplane mode on and then back off after you input your text so the change should take place immediately. This should make it a little easier to test and try different things or just change it more often.
I also added some shortcut buttons at the bottom to quickly add the text for the ", < and > signs so you don't have to type it all out. Only tested this with cm7 but should still work with any rom's it worked with before. Again thanks to Psiphon for pointing these symbol fixes out.
http://www.multiupload.com/RO6RZUUL16
V1.2
Fix for phones that don't already have an eri.xml file there
Added version number to bottom of screen so people can be sure what version they are running.
Download CCName1.2
V1.1
Fixed force closes when using symbols.
You can now use symbols except for double quotes. Apostrophe (single quote) seems to work fine.
Some useful info if you want quotes....
Psiphon said:
You can use special characters like the quotation marks and greater/less than signs by using entity references (either using an entity name or number):
" (quotation mark) use "
< (less than sign) use either < or <
> (greater than sign) use either > or >
I hope this helps!
Click to expand...
Click to collapse
Added Toast popup to let you know the name has been set.
If reboot button does not reboot phone just reboot the phone manually
http://www.androidphiles.com/files/get/w5A-P2p_tx/ccname1.1.apk
This app does one thing. It takes the input text you type and creates and eri.xml file and puts it in data/ folder on your phone. Then you can reboot for change to take effect. You can uninstall the app after you change it if you want or you can leave it on there(it's pretty small) in case you like to switch it every now and then. If you flash a new rom you will have to rerun the app.
I have used it on cm7 for incredible but should work for all roms and probably other phones.
Thanks for all the feedback guys!!
File not found?
Same here. 404 error. Would love to try this out.
jrbotell said:
File not found?
Click to expand...
Click to collapse
Sorry about that...link fixed.
That's what i get for copy/pasting lol.
Not working for me on my incredible running lous redemptive revolution rom, after entering my text it either freezes and fc's on me or after hitting set name and reboot nothing happens.
N-Forced said:
Not working for me on my incredible running lous redemptive revolution rom, after entering my text it either freezes and fc's on me or after hitting set name and reboot nothing happens.
Click to expand...
Click to collapse
Is that a sense based rom? I didn't try it on any sense based roms but I thought they would use an eri.xml in the /data folder.
Nice!!! This worked perfect....
___________________________________
Yup.... The ones yoe momma told ya about.... Bad Seed Customs!!
Yep its a sense based rom. I looked with root explorer and didn't see an eri.xml in there, but I do remember seeing the banner eri text in an xml file in an apk I was decompileing awile back. Can't remember if it was in framework.apk or htc_resources.apk
Works nice on Cyanogenmod 7 RC1. Awesome app man!
Sent from my ADR6300 using XDA App
N-Forced said:
Yep its a sense based rom. I looked with root explorer and didn't see an eri.xml in there, but I do remember seeing the banner eri text in an xml file in an apk I was decompileing awile back. Can't remember if it was in framework.apk or htc_resources.apk
Click to expand...
Click to collapse
Yeah there doesn't need to be an eri.xml file in there the app should create one. Android uses an eri.xml file that is compiled into the framework-res.apk. If there is an eri.xml file in the data folder then it overrides the one in the framework-res.apk. I'm still not sure why that wouldn't work on a sense based rom though. If you can get a logcat of the force close I could take a look and see what's going on. If not I'll try to flash that rom sometime this weekend and try it out. Thanks for the feedback.
Worked great on cm7.
Just a few things you might want to add.
1. maybe add a toast notification that says it wrote to the file and tell them to reboot.
And the app only fc on me when I tried to add ' or @ symbols so might want to say you can't do it.
Just food for thought.
Sent from my sexy assistance (HTC Incredible cm7)
Having trouble with Athena, which is sense based. Root permission is granted, but I end up manually rebooting because reboot button doesn't work.
Awesome work! Worked perfectly.
Sent from my ADR6300 using XDA App
synisterwolf said:
Worked great on cm7.
Just a few things you might want to add.
1. maybe add a toast notification that says it wrote to the file and tell them to reboot.
And the app only fc on me when I tried to add ' or @ symbols so might want to say you can't do it.
Just food for thought.
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
Yeah I agree with the toast suggestion I will add that and thanks for the heads up on the symbols....I don't think they can go in xml files I will add that to first post.
luke1987 said:
Having trouble with Athena, which is sense based. Root permission is granted, but I end up manually rebooting because reboot button doesn't work.
Click to expand...
Click to collapse
CM and alot of custom roms have a reboot binary in the rom. Your build probably doesn't have that binary which is why the button doesn't work. Rebooting manually will still do the same thing as the button I added. Did it make the changes when you rebooted manually?
Edit: Actually it did let me use the @ symbol. I'll have to investigate that a little more.
Conap said:
Yeah I agree with the toast suggestion I will add that and thanks for the heads up on the symbols....I don't think they can go in xml files I will add that to first post.
CM and alot of custom roms have a reboot binary in the rom. Your build probably doesn't have that binary which is why the button doesn't work. Rebooting manually will still do the same thing as the button I added. Did it make the changes when you rebooted manually?
Edit: Actually it did let me use the @ symbol. I'll have to investigate that a little more.
Click to expand...
Click to collapse
Oh. Ill try it again a little bit later.
Sent from my sexy assistance (HTC Incredible cm7)
synisterwolf said:
Oh. Ill try it again a little bit later.
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
It won't let you use " or ' in the name as it messes up the shell command that writes the eri.xml file.
Conap said:
It won't let you use " or ' in the name as it messes up the shell command that writes the eri.xml file.
Click to expand...
Click to collapse
Oh I c. Dam wish there is a way around it because I want to put "Justin's phone" but ill stick with "HTC Incredible"
Great work. Might want to post in market
Sent from my sexy assistance (HTC Incredible cm7)
Ok I actually managed to change the banner on a sense rom with the help of JsChiSurf from this post http://forum.xda-developers.com/showpost.php?p=8735731&postcount=106 Although in the instructions he gives he uses hex to edit the banner you do not need to. If you want to edit the file in plain english all you need to do it download the xml file he provides, insert it into your framework-res.apk file, then decompile and edit with an xml editor.
Here is my result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
synisterwolf said:
Oh I c. Dam wish there is a way around it because I want to put "Justin's phone" but ill stick with "HTC Incredible"
Great work. Might want to post in market
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
I'll look for a way to put quotes in but the issue is that the xml file line looks like this EriText="Verizon Wireless" and it reads the quotes to know the beginning and end of the letters it should display so when you add more quotes in it confuses the xml file so not sure if there would be a work around for that or not. I might throw it up in the market just to make it easier for people to access since I already have a market account but it will continue to be free.
N-Forced said:
Ok I actually managed to change the banner on a sense rom with the help of JsChiSurf from this post http://forum.xda-developers.com/showpost.php?p=8735731&postcount=106 Although in the instructions he gives he uses hex to edit the banner you do not need to. If you want to edit the file in plain english all you need to do it download the xml file he provides, insert it into your framework-res.apk file, then decompile and edit with an xml editor.
Click to expand...
Click to collapse
Yeah there are a few ways to change it I was just attempting to make it easier lol....anyone else running sense roms that have time to try it and give feedback would be great....thanks.
ok i think i fixed all the issues and i added the toast message. you can now use any symbols or any letters you want except for double quotes as they are read by the xml file as starting and ending the settings.(I don't think you can use double quotes even if you edited it manually) Single quotes or apostrophe's are fine to use.....thanks for testing guys....

[TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G)

After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3
I'll try this out, thanks alot dude.
One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse
TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol
nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.
still didnt work for me, oh well back to m10 editor... thanx anyways
did you put it on your c drive i had that problem on the one for the 3d
I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium
life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.

[MOD] Black Check Marks - Much easier to see!

NOTE: I'm probably not going to make any new versions of this. There are simply too many rom versions. Instead, I have provided complete instructions in this post on how to do this yourself. Check the DIY section.
This is a modification of the framework-res.apk that turns the green check marks into black ones. The green ones don't have enough contrast and are very hard to see with the phone held at a normal distance from your eyes, or in bright sunlight. I made a point not to change the aesthetics of the existing icons. I just wanted to make them darker.
I tested the new icons in a variety of apps, and every app I tested that used the old icons now shows the new ones. Some apps like Gmail use square, holo-style check marks and aren't affected by this mod. The check marks in the HTC settings are also not affected. I'm not sure where those icons are stored, or else I would change them, too. Those ones can be changed by picking a different HTC skin. The "Matte" skin, in particular, makes those check marks dark blue.
I have created different versions for different Sense-based roms here on XDA.
CleanROM 4.5
CleanROM 4.2 LE/SE
I have not tested the versions for Sick Sense or Xi40 r119, however, there's not much that could go wrong with them. I extracted the framework-res.apk from those roms, stuffed in the new PNGs, added them to my flashable mod structure, zipped them up, and signed them. Please let me know if you try them out. Make a nandroid backup first, though!
If you are currently running a theme that already modifies framework-res.apk for your rom then this mod will eliminate those changes. This is meant to be applied over the default theme of the specific versions above. If your rom gets updated then this may or may not work with the new version. These best way to check this is to compare the MD5 hash of the unaltered framework-res.apk from one of the above rom versions to the unaltered framework-res.apk from whatever new version has come out. If the checksums are the same then the rom maker hasn't updated framework-res.apk and you can freely overwrite it again with the Black Check Marks Mod.
Screenshots
Here's a set of 25% resolution before and after screenshots. This sort of simulates difficult viewing conditions, and shows how hard it can be to see the green check marks, and how much easier it is to see the black ones.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here's a large screenshot from Windows showing the icons in detail:
I also edited the smaller "zzzhtc holo" version of the icons which are used by some apps. They aren't shown here, but are used by "reddit is fun" in the screenshot above.
Notes About Flashing
This is a flashable mod. I've only flashed it with TWRP 2.2.0, but it doesn't use Aroma or anything particularly unusual, so I don't see why you couldn't flash it with CWM. Obviously, you are flashing this at your own risk. Do a nandroid backup first!
Undo
If you want the ability to easily undo this mod, then just backup your current /system/framework/framework-res.apk. If you forget, you can always extract it again from the rom itself without having to reflash the whole rom. Or, just restore the nandroid backup you obviously made before applying this!
Source Graphics
I have included a zip file containing the source graphics. This will let you modify the icons further to make your own, or to add these icons to a different version of framework-res.apk. This includes the PSD files I created to make the icons. The PSD files use adjustment layers with masks. It would be quite easy to make versions that were some dark color instead of black by only changing the adjustment layers.. All the icons for a given size are in one file in layers. (Two PSD files total.)
DIY!
There are simply too many roms and rom versions for me to keep up with them all, so from now on, I'm not going to provide any new versions. I might provide versions for the ROMs I use, but starting with 2.23.707.2 the size of framework-res.apk is 18MB. Even when zipped it's still 12MB and too big to attach here on XDA. So, you can make your own mods from now on. It's super easy! There are a lot of steps here because I want to explain it in enough detail so everyone can do it. This whole process takes under two minutes once you know what you're doing.
Things you will need
A Windows PC.
7-Zip
Java (to sign the zip file at the end.)
The attached template file, "BlackCheckMarksMod_Custom.zip", which contains the source PNGs, the updater-script, and testsign.jar.
Step by step instructions
1. Extract framework-res.apk
You need a copy of framework-res.apk from your rom. Most of the time you can simply open the rom zip file in 7-Zip, navigate to /system/framework and drag the file from there to your desktop. Some rom makers use an Aroma installer with multiple versions of framework-res.apk and none of them are in /system/framework until after you install the rom. You can either find the right file somewhere inside the rom first, or wait until you install the rom then extract it from your phone. The second idea is the most foolproof. You just need a file explorer on your phone capable of navigating to your /system/framework folder, and you copy framework-res.apk from there to /sdcard. Then mount the SD card on your PC and copy the file to your desktop.
2. Copy framework-res.apk into the template
Download and unzip the template zip file, "BlackCheckMarksMod_Custom.zip". (When unzipping there is no need to unzip it into a containing folder because the root of the zip file only contains one folder.) This contains everything you need to make a flashable zip. Inside you will find the following structure:
(Directories in bold)
BlackCheckMarks_Custom
____BlackCheckMarksMod
________META-INF (contents not shown)
________system
____________framework
________sign.bat
________testsign.jar
____PNG files
________A bunch of check mark icons
Copy your framework-res.apk into BlackCheckMarks_Custom\BlackCheckMarksMod\system\framework. At this point, this is still the unaltered version from your rom.
3. Replace the stock check marks
There are two ways to open the APK with 7-Zip.
The easiest way to do it -- but hardest to demonstrate because of differences in versions of Windows and their various dialog boxes -- is to simply associate the .apk extension with 7-Zip. This involves using the Open With... command from the right-click menu on the APK file, or just double clicking it then selecting 7-Zip as the app to use for APK files.
The second way to do it is to launch the 7-Zip File Manager and then navigate to the APK. This is the process I will show here.
In your Start menu, locate and open 7-Zip File Manager.
When it opens, navigate to the folder where you placed the APK: BlackCheckMarks_Custom\BlackCheckMarksMod\system\framework
Alternatively, you can just paste in the path that you copy from the Explorer window.
It should now look something like this:
Now, double click on framework-res.apk. You will see a file listing from inside the APK.
Double click on the "res" folder and you should see more folders.
Double click on the "drawable-xhdpi" folder and stop there.
You should now see a bunch of icons. Now we need to copy our custom icons over the ones inside this folder.
In Windows Explorer, go back up to the root of the "BlackCheckMarks_Custom" folder and you should see a "PNG files" folder.
Open the "PNG files" folder.
Make sure you can see both the 7-Zip window and this Windows Explorer window.
In Windows, Press Ctrl-A to select all the files in the "PNG files" folder, or just select them all manually.
Drag and drop the PNG files into the 7-Zip window.
7-Zip will confirm that you want to add these files to the zip. (It doesn't always come to the front, so you may have to click on 7-Zip to see the prompt.)
Click "Yes" to confirm adding the files.
After a split second it should be complete and you can now close the 7-Zip window.
4. Make the mod zip file
You are ready to make the flashable zip file.
In Windows, navigate to the BlackCheckMarks_Custom\BlackCheckMarksMod folder.
Select just the META-INF folder and the system folder. (If you don't know, to select both you click on one then hold down Ctrl and click the other.)
When they are both selected, right click one of them and choose 7-Zip > Add to "BlackCheckMarksMod.zip" (See screenshot)
After a few seconds you should have a BlackCheckMarksMod.zip in the BlackCheckMarksMod folder. (See screenshot)
5. Make sure the batch file can find Java
You may or may not have the Java binary path in your PATH environment variable. If you don't know what this means, it doesn't matter. I will tell you how to find out, and what to do in either case.
How to find out if Java is in your PATH:
Press WindowsKey-R, or chose Start>Run... from the Start Menu.
Type in cmd and press enter. This will open a command line.
In the command window, type in java and press Enter.
You will see one of two things. See the screenshots below.
This output means Java IS in your PATH variable:
This output means Java is NOT in your PATH variable:
If Java is NOT in your path variable then you need to edit the batch file in step 6. Otherwise, proceed to Step 7.
6. Edit the batch file only if Java was not in your PATH in step 5
We need to edit the batch file so that it points directly at your copy of java.exe which is probably in your Program Files folder. (Or perhaps your Program Files (x86) folder if you are on a 64-bit machine.
The likely places to find java.exe are:
C:\Program Files (x86)\Java\jre1.6.0_22\bin\java.exe
C:\Program Files\Java\jre1.6.0_22\bin\java.exe
Perhaps you will have a slightly different version number, or maybe you installed Java in some other location. To modify the batch file:
Go to the BlackCheckMarks_Custom\BlackCheckMarksMod folder
Right click on Sign.bat and choose Edit. This should open the file in Notepad.
In Notepad, replace the first word, java, with the full path to your java.exe. It should look like one of the two paths above.
You must surround the whole path to java in double quotes! See the example of the whole batch file below:
Code:
"C:\Program Files (x86)\Java\jre1.6.0_22\bin\java.exe" -classpath testsign.jar testsign BlackCheckMarksMod.zip BlackCheckMarksMod-signed.zip
pause
Once you've edited the file, save it and close Notepad.
6. Sign the zip file
Now that you've made sure the batch file is OK, you just double-click it. This will run testsign.jar on the zip file you made. The command window that opens will pause to let you see any errors that occur. You will have to close it manually when it finishes.
If it worked, you won't see much:
If all went well you should now see BlackCheckMarksMod-signed.zip in your folder.
You are done! Stick this file on your phone, do a nandroid backup, then flash this zip and see if it works!
MD5s
CleanROM 4.2: 445d07b8112bce8a090d43940951ae9b
CleanROM 4.5: 993c96203d895d97c02e66a69ec39080
Thank you!
Sent from my HTC One X using Tapatalk 2
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
theking_13 said:
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
Click to expand...
Click to collapse
That's odd. I'll check it out tonight.
EDIT: The Xi40 framework-res.apk is quite a bit different from the one in CleanROM. I wonder if the CleanROM one is even the same as the stock one. I'll have to look inside a stock rom. For now, I'm going to label this mod as designed for CleanROM.
It's really easy to change the check marks yourself if you'd like. Making it a flashable zip is a bit more work, but that's not necessarily needed. You can just use the file manager in your recovery to push the modified file into the system folder.
Copy framework-res.apk from your rom's /system/framework to somewhere on your computer.
Download the zip file of icons from up above.
Open the APK in 7zip. Do not unzip it into a folder. Just open it in 7zip.
Navigate in 7zip to the folder within the APK: \res\drawable-xhdpi
Drag and drop the PNG checkmark icons from my icon pack into the drawable-xhdpi folder in 7zip. It will ask you to confirm adding them to the APK.
Close 7zip.
Now you just put this file on your /sdcard storage and reboot into your bootloader. Use the file manager to copy it into /system/framework. Perhaps you should backup the old file by renaming it to framework-res.apk.bak or something. It's easier to undo this change with that file than it is to restore a nandroid backup. Then you need to fix the permissions on the file. In TWRP's file manager there is a button to set permissions to 755 ("chmod 755") This will grant unneeded execute permissions, but that can be changed later in any root file explorer, like Root Explorer. It can probably even be left as-is with no harm. Ideally it should be 644, though. (rw-r--r--)
Alternatively, unzip my mod and replace the framework-res.apk that's inside of it with the one you just edited, and zip it back up. Then use the Android Signer to sign the new zip file. Note: the signer won't work unless you have the path to the java bin folder in your PATH environment variable. You also need .Net 2.0 installed.
Either method can be a little tricky. Personally, I find making the flashable zip to be easier. Especially since I already wrote the updater-script for it.
Good work on this! I've been thinking a lot about the check marks located in some of the system settings areas, and I'm thinking the respective pngs to change them are located within the framework-htc-res.apk in system/framework but I could be wrong.
Digging into a few of the xml files in original framework-res.apk yielded some hex color codes for certain ui elements as well. Could be that changing the right one of those may have the desired effect for the rest of the check marks. Just a few random leads to investigate.
I haven't had much time otherwise I'd look more into it. But thanks for taking the time to make this a flashable. :good:
theking_13 said:
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
Click to expand...
Click to collapse
I created a version for Xi40. If you would like to try it, let me know if it works.
QQNoob said:
I created a version for Xi40. If you would like to try it, let me know if it works.
Click to expand...
Click to collapse
No problem, will be more than happy to test.
Sent from my HTC One X using Tapatalk 2
theking_13 said:
No problem, will be more than happy to test.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
+1
Sent from my HTC One X using xda premium
Thanks, guys. Let me know if it works.
I just upgraded to CleanROM 4.2 and had to make a new version of this mod for that.
You think the r119 mod will work on r122?
Eh, to hell with it. Backing up now and coming back with results.
Sent from my HTC One X using Tapatalk 2
theking_13 said:
You think the r119 mod will work on r122?
Eh, to hell with it. Backing up now and coming back with results.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
You could always just unzip each mod and compare the MD5s of the two framework-res.apk. If they are the same, then you're good to go. If they're different, then it still might work, but the rom designer probably changed those resources for a reason. You'd lose whatever changes they made.
EDIT: Considering that Xi40 r122 doesn't even have a framework-res.apk, I'd assume that it won't work.
How do I check the MD5 sums?
EDIT: I'll try it in the morning, so tired and took forever to back up lol
Sent from my HTC One X using Tapatalk 2
theking_13 said:
How do I check the MD5 sums?
Click to expand...
Click to collapse
There's no point now. r122 doesn't even have a framework-res.apk, as I mentioned in my last post. If it did, you would simply open each ROM in 7zip or some other zip tool, and drag framework-res.apk out of the rom to somewhere handy. Then use a tool like http://www.winmd5.com/ to generate the MD5 hash for each copy of the file. If the values are the same, then it's the exact same file. If they are different, then something was changed in that APK for the new rom version. But there is no framework-res.apk in r122, so it's moot.
Damn, wish there was. I would love to try your mod, the green check marks are so deceiving sometimes.
Sent from my HTC One X using Tapatalk 2
I hope Jelly Bean fixes these check marks for us. I'd love to try this but I'm stock but rooted.
Sent from my HTC PG09410 using xda premium
theking_13 said:
Damn, wish there was. I would love to try your mod, the green check marks are so deceiving sometimes.
Click to expand...
Click to collapse
It turns out that there are no less than four versions of framework-res.apk in this rom. One for the three carriers of this phone, and one generic one. None of them match the MD5 of the r119 one. I assume this rom gives you a choice during install of what carrier branding you want. Which one are you using? I can make a flashable version of Back Check Marks for them all, anyway.
EDIT: Done and uploaded.
FYI: Tried ATT and Generic for r122. Neither worked for me.
Sent from my HTC One X using Tapatalk 2
phatboypat said:
FYI: Tried ATT and Generic for r122. Neither worked for me.
Click to expand...
Click to collapse
That's a pity. Guess I'll might have to flash it myself and take a look. Can you look in your /system/framework/ directory and tell me if framework-res.apk is in there?
QQNoob said:
That's a pity. Guess I'll might have to flash it myself and take a look. Can you look in your /system/framework/ directory and tell me if framework-res.apk is in there?
Click to expand...
Click to collapse
Yes, it is.
Sent from my HTC One X using Tapatalk 2
phatboypat said:
Yes, it is.
Click to expand...
Click to collapse
When you say it didn't work. Would it not boot, or were the check marks simply still green?
QQNoob said:
When you say it didn't work. Would it not boot, or were the check marks simply still green?
Click to expand...
Click to collapse
Check marks were still green.
Sent from my HTC One X using Tapatalk 2

[Request] Circle Battery Mod

Hi, I really like the circle battery mod. If anyone care enough to modified the zip below to a flashable battery mod zip for NeXus JB or Glorious Overdose V5 or give me some idea on what to search for or maybe something I can do on my own, it would be much appreciated.
I just recently started messing around with modding this year, after previously all I know is rooting, unlocking bootloader, and some adb stuff. I just know this is related to decompile the SystemUI.apk and change the frameworkres,apk, recompile and signed it *CMIIW*, but I don't know how to do the exact steps.
This is the sample of the circle battery mod, I attached the file from Dell Streak DSC ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or should anyone be interested on making other battery mod style, like this one :
or this one :
or this one :
Here's the reference thread from EVO 3D sub-forum :
[MOD]Battery Mods!
Thanks in advance. :highfive:
Try rom toolbox
They should have them
Unfortunatly i am messing with the clock at the moment (trying to get it to the center)
Or maybe look at the kitchen (some website people use to make all of these)
Sent from my SGH-T839 using xda app-developers app
immorality said:
Try rom toolbox
They should have them
Unfortunatly i am messing with the clock at the moment (trying to get it to the center)
Or maybe look at the kitchen (some website people use to make all of these)
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the info, Man. Demkantor already made it in his Aroma Installer thread.
How's it go on modding the clock to the center? I'd love that one too~
ummm... well i can do it but the way i have it set up would then brake the battery icons, or i would have to do the clock + battery icon in same framework, doable but i mean, if you want it
if you want i could help you make some yourself, then you can do as many different styles as you want, all i would ask is that you post what you make so others can use it too... kinda my thing...
demkantor said:
ummm... well i can do it but the way i have it set up would then brake the battery icons, or i would have to do the clock + battery icon in same framework, doable but i mean, if you want it
if you want i could help you make some yourself, then you can do as many different styles as you want, all i would ask is that you post what you make so others can use it too... kinda my thing...
Click to expand...
Click to collapse
wow, that would be great ! please teach me, just the steps how to do it will do. :good:
of corze i'll share it if i ever succeed making some status bar mods. :fingers-crossed:
ok im assuming windows, can be done in linux as well, if you using mac i wont help
this is what you need
http://www.7-zip.org/
http://notepad-plus-plus.org/
http://apkmultitool.com/
https://play.google.com/stor/apps/details?id=com.speedsoftware.rootexplorer
http://sinfulandroid.com/showthread.php/2597-SignApk-Sign-Your-Android-APK-File
or something similar, you can push and pull with adb too
first so you know how to do it lets do this, make a back up, flash a different rom for our phone (one with a battery mod you like but similar base)
use root explorer, go to system>framework>framework-res.apk, copy it (may have to make r/w) and save it to sd card
or you can use adb
adb pull /system/framework/framework-res.apk c:\desktop
this will put the .apk on your desktop or you just take the one from sd card if you used root explorer
now use 7zip to open the flashable zip i made (extract files)
in the folder go to system>framework>and swap out the two framework-res.apks
now back out of folder until all you see is system folder and META-INF
highlight both
right click
choose add to archive
name it NEWBATTERYICON.zip (exactly)
make sure compression is set to store and hit go
not you have a flashable .zip, but its not signed, so either toggle verification in recovery or lets quick sign it
How To sign
need the latest java installed, get from below if needed
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
take the signapk.jar tool
put it on the root of computer (directly in c:// no other folder)
open it up, place NEWBATTERYICON.zip in this folder allong with the other garbage
now open cmd in same location (hold shift, rightclick in folder and choose open command here or cd:/SignApk)
copy this and paste into cmd
java -jar signapk.jar certificate.pem key.pk8 NEWBATTERYICON.zip NEWBATTERYICON-signed.zip
hit enter and wait a couple seconds
now use place the newly signed zip on sdcard and flash in recovery!
ok this was long, so if you handle all this fine let me know and ill teach how to modify vs just extracting and swapping!
good luck! and as always...
HAPPY FLASHING!
Ehh it went bad i kept having overlapping issues
I set it up where the time would be center . Tryed to get all apps to be in one icon which would go up in numbers (1,2,3) kinda thing) which didnt work then any new notification messed the things up and i tryed to make it where if connceted to wiffi the 3g bar goes away
Im not that good with android so i trashed it (wish it was more like ipod/phone where you can move it because its all one thing)
Looked like this @ is signal/wifi %battery +3 3 different notifications which i thing doesnt work atleast not for me
+3.......12:[email protected]%
Sent from my SGH-T839 using xda app-developers app
Can you send me what you did so I can see where it went wrong?
Sent from my Nexus 7 using xda premium
demkantor said:
Can you send me what you did so I can see where it went wrong?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Sorry man I trashed it all an went back to stock
The main problem though was the notifications because they don't stack in till it hits the breaker so I tryed to move it all the way over to the side where it will hit after the 2nd notification
The signal an wifi need a new script I didn't mess with it I tryed the notifications first and clock with out am pm because if it's 7:00 an getting dark you know it's night
It's not much just 2 things that were moved (4 counting landscape)
Sent from my SGH-T839 using xda app-developers app
please download the new battery icon on page 2 it should fix invisible charging battery
Hey great job! When I get to a computer I can upload you a bunch of icon packs if you would like to make some more, love seeing people working on this kind of stuff!
Sent from my Nexus 7 using xda premium
demkantor said:
Hey great job! When I get to a computer I can upload you a bunch of icon packs if you would like to make some more, love seeing people working on this kind of stuff!
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Yea I'll mess with some more
I have to fix the last one charging from 27%to 99% is blank >.< mostly because the theme didn't have them so I'm just going to make dues an rename them
Sent from my SGH-T839 using xda app-developers app
okay new battery file with fixed charging issue (please note i have not tested this!!! nor am i responsible for how you phone will look after or any issues you may encounter)
the battery icon is this one in the link
(the original post
http://forum.xda-developers.com/showthread.php?t=1210767
not signed (im lazy and did it off the honey comb battery demkantor uploaded)
just go to install zip and disable signature verification
it looks really nice to me (was looking for maybe a blue colored one but it seems this battery icon is dead i couldn't find any others with working links
I'll be making more battery's if you want something give me a download with all the icons
demkantor said:
ok im assuming windows, can be done in linux as well, if you using mac i wont help
this is what you need
http://www.7-zip.org/
http://notepad-plus-plus.org/
http://apkmultitool.com/
https://play.google.com/stor/apps/details?id=com.speedsoftware.rootexplorer
http://sinfulandroid.com/showthread.php/2597-SignApk-Sign-Your-Android-APK-File
or something similar, you can push and pull with adb too
first so you know how to do it lets do this, make a back up, flash a different rom for our phone (one with a battery mod you like but similar base)
use root explorer, go to system>framework>framework-res.apk, copy it (may have to make r/w) and save it to sd card
or you can use adb
adb pull /system/framework/framework-res.apk c:\desktop
this will put the .apk on your desktop or you just take the one from sd card if you used root explorer
now use 7zip to open the flashable zip i made (extract files)
in the folder go to system>framework>and swap out the two framework-res.apks
now back out of folder until all you see is system folder and META-INF
highlight both
right click
choose add to archive
name it NEWBATTERYICON.zip (exactly)
make sure compression is set to store and hit go
not you have a flashable .zip, but its not signed, so either toggle verification in recovery or lets quick sign it
How To sign
need the latest java installed, get from below if needed
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
take the signapk.jar tool
put it on the root of computer (directly in c:// no other folder)
open it up, place NEWBATTERYICON.zip in this folder allong with the other garbage
now open cmd in same location (hold shift, rightclick in folder and choose open command here or cd:/SignApk)
copy this and paste into cmd
java -jar signapk.jar certificate.pem key.pk8 NEWBATTERYICON.zip NEWBATTERYICON-signed.zip
hit enter and wait a couple seconds
now use place the newly signed zip on sdcard and flash in recovery!
ok this was long, so if you handle all this fine let me know and ill teach how to modify vs just extracting and swapping!
good luck! and as always...
HAPPY FLASHING!
Click to expand...
Click to collapse
Thanks, demkantor~ I've tried this extracting and swapping on other device, instead of SK4G, coz I couldn't find a good alternate rom to flash
Now lemme see how I can handle 'modify' phase of modding, I think I passed the 'extracting and swapping' phase, thanks to you :victory:
immorality said:
okay new battery file with fixed charging issue (please note i have not tested this!!! nor am i responsible for how you phone will look after or any issues you may encounter)
the battery icon is this one in the link
(the original post
http://forum.xda-developers.com/showthread.php?t=1210767
not signed (im lazy and did it off the honey comb battery demkantor uploaded)
just go to install zip and disable signature verification
it looks really nice to me (was looking for maybe a blue colored one but it seems this battery icon is dead i couldn't find any others with working links
I'll be making more battery's if you want something give me a download with all the icons
Click to expand...
Click to collapse
wow, thanks. I'll definitely test it, I didn't bring my SK4G right now, will report the result tomorrow.
Yeah you can't use the framework from a different phone, but the icons are fine to use and flash. I'll be at a computer soon and I'll post some more icons as well instructions to decompile the framework-res.apk and swap icons
Sent from my Nexus 7 using xda premium
quick guide
sorry took me a while to get to a computer, ok here you go:
need to extract the apk tool from the the download all to one folder, open that folder and open a terminal into that location (hold shift and right click there or cd to it)
then make sure the system-res.apk is in this folder too
run this is terminal
Code:
java -jar apktool.jar if framework-res.apk
now run this
Code:
apktool d -f -r framework-res.apk
this creates a new folder, open it up, find res> drawable-hdpi
swap out the wanted icons for battery or whatever
once done run this in terminal
Code:
apktool b -f -d framework-res
wait a couple seconds to finish, open up that framework-res folder and youll see a new folder called build and one called dist, look in there for new apk
and just push it phone and change permissions or follow my instructions before to add it into my prebuilt flashable zips (best if you sign it too)
here is some various icons for you as well
OGBatteryMod v2.1.0.zip - 27.71 MB
also its hard for me to remember all the steps and what i type in terminal so i just made another one (bubbles) so i could make this guide, i am attaching it here. i dont have my phone to test it but this is the same way as the others so it should work fine. oh also i never upgraded my apktool so im using a real old build but the newer ones work similar i suppose, if not i can link you to the build i use or will update to a newer tool and see where the differences lie
good luck guys! im real glad you two are picking this up, its great to see so many interested in starting to develop!
and for anyone else wanting to try your hand at ill let you know once you get the hang of it something like this will take you ten minuets tops from start to finish.... just saying
as always, Happy Flashing!
demkantor said:
Yeah you can't use the framework from a different phone, but the icons are fine to use and flash. I'll be at a computer soon and I'll post some more icons as well instructions to decompile the framework-res.apk and swap icons
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yea i know that the frameworks are different but all icons are just that a .png file which can be moved around to any phone (faster way to theming for alot of lazy people xD
also i dont like siging them it takes awhile for me cuz everything on my computer is just everywhere. So if anyone would like to all they need is to be signed and done .... plus if they dont know how to turn off the signature check they should probably wait before trying in my opinion
Cyris battery with full charging should work (still going off the honeycomb.zip demkantor uploaded on another thread) i will get to the og battery in just a minute
and if you want i am free the next few weeks i graduated last week \^.^/ so im basically home the entire morning and night so i can make other battery's (p.s upload your framework if you dont want mostly everything blue) or if you give me a simple tut ill do other things as well (not a developer but i can do alot with a little)
p.s. demkantor you can change the icon files via 7zip (extract the files go to system>framework>right click >7zip>open archive>hdmi > then highlight all the icons and drag into archive and your done)
will make a new thread with all theicon mods i make soon and will sign them too
and for everyone else please look at " rom toolbox" for the batterys as well so i dont make multiple ones that are on there
Really? You just used 7zip to open the apk? I never tried, didn't even think of that, nice!
Sent from my Nexus 7 using xda premium
demkantor said:
Really? You just used 7zip to open the apk? I never tried, didn't even think of that, nice!
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yea save time an less stuff to use
p.s. signing the zips are not working tryed multiple times and different ways
but if your running red voodoo cwm you just have to install the zip no turning on or off things

Categories

Resources