Change Carrier Name(app)V1.3 Updated 4/6/11 - Droid Incredible Themes and Apps

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....

Related

[MOD] Vanilla Lockscreen WITHOUT Sprint/Time/Date (Now w/o Haptic Option)

EDIT: This mod has been integrated directly into the Fresh 2.1.2 ROM, thus, to date, I have yet to update it as a standalone MetaMorph / Zip.
Based on popular demand, I decided to take a look at the Vanilla Lockscreen today, to see if there was a way to remove the majority of text from the screen, so that all you are left with, for the most part, is the slider bar for screen unlock and the slider bar for volume on/off.
It turned out to be quite an undertaking, and required some significant code modifications, and unfortunately, a single hex edit to an XML file, meaning the mod is spread across 2 files, rather than my goal of 1. But, having said this, I am pleased to announce my efforts were not in vain.
Ladies and gentlemen, I present to you, a completely clear Vanilla lockscreen for your enjoyment . Special thanks to flipzmode for the original format fix on the vanilla lockscreen. My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, emergency call, as well as the menu key unlock disable.
Reference:
{
"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"
}
First, if you are currently running the stock HTC Lockscreen, if you wish to move to the Vanilla lockscreen, after flashing one of the options below, you will need to move your HTC Lockscreen out of the way, via adb, by doing the following:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
This will NOT delete your stock lockscreen, rather, simply move it out of the way, so that if you want to move back to the stock lockscreen, you can also undo your change:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.bak HtcLockScreen.apk
exit
As mentioned, above, the fix is across two framework files, 'android.policy.jar', as well as the 'keyguard_screen_tab_unlock.xml' file in the \res\layout folder of the 'framework-res.apk' file.
Attention: Since you are changing a core android framework file, after flashing, your Dalvik cache will get rebuilt, so rebooting will take some time, based on the number of apps you have installed. Be patient and watch your logcat.
So, here are your 2 options.
Option #1
Option #1's flashable zip contains BOTH files. Flash this for a completely clear vanilla lockscreen ONLY if you have not made any other changes (themes) within your framework-res.apk file (custom taskbar), as the zip will return this file back to stock, with the exception of my fix for the lockscreen.
Vanilla Lockscreen No Text Complete <---Only flash if you are running stock theme from Fresh 2.0d.
Option #2
Option #2's flashable zip contains the 'android.policy.jar' file ONLY. Flash this to make the primary framework file change:
Vanilla Lockscreen No Text Jar Only <---This is the .jar file only.
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
keyguard_screen_tab_unlock.xml.txt<---Remove .txt extension after downloading.
Code:
adb pull /system/framework/framework-res.apk .
Open 'framework-res.apk' with WinRar or 7zip, navigate to the '\res\layout\' folder, and drag and drop the above XML into this folder. Close up the file, then:
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
If you are running a different ROM, other than stock espresso Fresh 2.0d, then Option #2 presented above is your best course of action, so as to not mess up your existing taskbar, etc.
Also, it should be noted, this does not contain any of the Alarm clock changes, etc, necessary when you are using the Vanilla lockscreen. Please see Flipz's site for flashing the needed files if you are NOT already running the Vanilla lockscreen and don't want to have alarm clock disable issues.
EDIT: If you prefer an opaque (non-transparent) black background, rather than the default / semi-transparent, please see here.
EDIT 2: If you are a MetaMorph user, thanks to danaff37 for putting together a few MetaMorphs of my mod that you can use as well.
EDIT 3: New version posted which allows for a background wallpaper image instead, see here.
EDIT 4: See this post to remove the haptic feedback after having first flashed your desired vanilla version above.
sweeeeeeeeeeeet! I just wish the HTC clock/weather widget updated under the lock screen
Awesome! Thanks man!
Does this include the no-menu-unlock mod too?
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
darchstar said:
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
Click to expand...
Click to collapse
10chars
Gregalous said:
Does this include the no-menu-unlock mod too?
Click to expand...
Click to collapse
Yes, it does.
JsChiSurf said:
My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, as well as the menu key unlock disable.
Click to expand...
Click to collapse
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
DanWalker said:
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
Click to expand...
Click to collapse
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
JsChiSurf said:
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
Click to expand...
Click to collapse
I'm not sure that it's a "popular" request just something I was asking Konikub about and he had agreed that he didn't like it either. It just seems to cause a bit of a lag when unlocking my phone. If it's something that cannot be done without a lot of work I will live with it.
You "ARE" the man!!!!! This is just what I was looking for A true master, at such a tricky craft!!! All hats go off to you!!!
guess i dont get it, cause im too noob
epitaphromance said:
guess i dont get it, cause im too noob
Click to expand...
Click to collapse
Perhaps this makes it clearer (no pun intended)?
so we can't use a custom theme in addition to this?
smoother2010 said:
so we can't use a custom theme in addition to this?
Click to expand...
Click to collapse
Sure, use Option #2, as explained.
if i was to use option two would it mess with my lock that i have now ?
I apologize for what I'm certain is a noob question but...
JsChiSurf said:
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
Click to expand...
Click to collapse
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
id use this lock screen if we could apply custom background wallpapers.
702DROID said:
if i was to use option two would it mess with my lock that i have now ?
Click to expand...
Click to collapse
It would change the background for opaque black to semi-transparent as shown in the OP, but your graphics would remain unchanged.
smw6180 said:
I apologize for what I'm certain is a noob question but...
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
Click to expand...
Click to collapse
All the heavy lifting is already done for you. Yes, per the instructions, just stick "keyguard_screen_tab_unlock.xml" in the \res\layout folder in 'framework-res.apk'.
smoother2010 said:
id use this lock screen if we could apply custom background wallpapers.
Click to expand...
Click to collapse
For me, it defeats the point / goal of what I wanted to achieve, i.e. seeing clear through to the desktop behind the lockscreen, with nothing obstructing the view...

[MOD]Change "Sprint" on AOSP (No HexEdit/CDMA)(Scrolling Lockscreen Text)

I searched through EVO 4G Themes and Apps and did not find this method; however, I am posting it here in case it is a repost. I suppose a mod could move it later if users find it helpful and they felt inclined to do so.
So far the two main methods I've seen are done with CDMA workshop or hex editing .xml files. I didn't like either of these methods too much. CDMA workshop costs money unless you download it illegally, and even then it only works half the time. I do not care for hex editing very much either. Not to mention the fact that you have to use a text-hex converter and download a hex editor. Plus, whenever the framework changes in the rom (happens very often with CM) you have to do a lot of work with the .xml if you don't want your phone to bootloop into eternity. (Do not misconstrue what I am saying. The user who created the hex editing method for changing your lockscreen/notification bar text does great work and I used his method for a long time. The framework in CM changes so much though and I don't expect him to constantly update his method for one specific rom.)
I scoured several sites to find this method only to find out it has been posted on XDA. The only problem I saw was that the posts were within [Q] threads and therefore buried to the average user. This is my attempt to share this with the community. I don't take any credit for the actual method. Just trying to bring it up so we all have options.
This edit is very easy to complete. Try it at your own risk.
0. Make a Nandroid backup. Hopefully this is second nature by now.
1. Download eri.zip
2. Unzip the file to wherever you please.
3. Right click on eri.xml and choose "Open with Notepad"
4. Once you open the file you will see "Sprint" in the 5th line.
5. Delete Sprint and place whatever you would like in it's place. I believe you have up to 16 spaces to work with if need be.
6. Save the file with an .xml extension. Important: Make sure it is eri.xml and not eri.xml.txt. This will cause issues.
7. Place the eri.xml in your /androidsdk/tools directory.
8. Pull up your Command Promt/Terminal/Etc
9. CD to your /androidsdk/tools directory and:
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

[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?

[MOD] HoneyComb Look: Bootanimation | Lock Screen

Hey guys just wanted to share something that I found on the other device forums on XDA
PLEASE MAKE A FULL XRECOVERY/NANDROID BACKUP BEFORE TRYING ANY SYSTEM MODIFICATIONS LIKE THIS
[1] BootAnimation [works on all ROMs]
{
"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"
}
I dont know if it has been posted here before but here is the boot animation from Honeycomb, tailored for our screen sizes.
P.S.: this is not created/modified by me, I had found it while browsing on the other Android forums @ XDA but I cant recollect from which thread I downloaded this...
check attached files XOOM_Honeycomb.rar
there are landscape and portrait versions... i prefer the landscape one
[2] Lock Screen [works on CM6/ CM7 mods, DOESNOT work with 2.1]
This is from: Lockscreen Mod for CM7 (Honeycomb Wannabe Lockscreen) by bizdady
all credit goes to him, great job dude!!!
please read the first post of that thread completely before proceeding
for this lockscreen u will need a few thigs:
*** if you dont know how to push/pull files from device visit the following thread: http://forum.xda-developers.com/showthread.php?t=842060
A) Clock font
Download the attached file "honeycomb_lockscreen_clockfont.zip" place it on the root of ur SDCARD and flash it via xRecovery, reboot...
B) "Lock" button
{Method 1} Automated (havent tried this myself by is suggested by the OP of that thread)
To get the lock follow the part on "Metamorph Instructions" given in http://forum.xda-developers.com/showthread.php?t=959602 thread and for X10...
If your not sure about which version your phone uses just use Astro or any other file manager and take a look at your /system/framework-res.apk file. Browse file the file and navigate over to the /res folder and you will see a drawable folder with either hdpi or hdpi-v4. Proceed to download whichever version your rom uses.
incase its HDPI the d/l this file: http://www.mediafire.com/file/vchfnuiekvi3syi/Honeycomb_Lock_HDPI.zip...
incase its HDPI-v4 the d/l this file: http://www.mediafire.com/file/7tqgs778yeawbqm/Honeycomb_Lock_HDPI-v4.zip
further instructions are given in above mentioned thread.
{Method 2} Manual-round-about-way (this is what I followed and works on FreeX10-Beta4+CM6 settings; should also work on CM7)
1> pull the file "framework-res.apk" from the /system/framework/ of ur current ROM, and make a copy of this file as a backup incase something goes wrong
2> extract the contents of the "Honeycomb_Lock_HDPI.zip" file stated above into another folder on ur computer. u will the get the following folders: framework-res\res\drawable-hdpi & framework-res\res\drawable-land-hdpi
3> open the "framework-res.apk" which you got from step 1 in WinRAR http://www.rarlab.com/ (this is wht i used), browse to framework-res.apk\res\ within WinRAR and copy the contents from the folders u got from step 2 to into the corresponding folders, i.e. files from framework-res\res\drawable-hdpi (or hdpi-v4) into framework-res.apk\res\drawable-hdpi (or hdpi-v4) and files from framework-res\res\drawable-land-hdpi (or hdpi-v4) into framework-res.apk\res\drawable-land-hdpi (or hdpi-v4), within winrar window [while adding the files winrar will through up a window titled "Archive name and parameters" in this MAKE SURE THAT THE COMPRESSION METHOD IS CHANGED IT TO "STORE", after that click OK, the files will be replaced/added to the apk file]
4> once all files have been replaced, push the modified "framework-res.apk" to /system/framework/ on ur device. [they phone may reboot, but thats normal no need to panic]
* Incase either of these methods dont work just post ur framework-res.apk file here and i will do the necessary modifications n post it back...
Enjoy the Honeycomb look for your LockScreen!!!
Heres a flashable zip of the clock font only.
http://www.mediafire.com/file/b6xpw0pda671ujm/HoneycombClock.zip
Nice find =D
Gonna test it tomorrow
Sent from my X10i using XDA App
I'm on Free X10 beta 4, CM 6 (something). And lockscreen isn't applied with metamorph. It's just saying applying theme, but nothing happens.
When I tried to apply lockscreen manually, phone restarts and at some point bootscreen hangs, green led stays on and phone vibrates continiusly - so it's bricked.
I did get to recover system files with xrecovery.
But my question is, do I have to apply CM 7? Isn't there a way to use it on CM 6 or is this baseband problem, because my baseband version is 55.
I understanded that it works with CM 6 too.
Sorry for my bad English.
SilverASH said:
I'm on Free X10 beta 4, CM 6 (something). And lockscreen isn't applied with metamorph. It's just saying applying theme, but nothing happens.
When I tried to apply lockscreen manually, phone restarts and at some point bootscreen hangs, green led stays on and phone vibrates continiusly - so it's bricked.
I did get to recover system files with xrecovery.
But my question is, do I have to apply CM 7? Isn't there a way to use it on CM 6 or is this baseband problem, because my baseband version is 55.
I understanded that it works with CM 6 too.
Sorry for my bad English.
Click to expand...
Click to collapse
1stly i myself havent tried the Metamorph method...
manual method doesnt work? thats odd.. cause i am myself using FreeX10-beta4 + CM6 settings (on baseband 2.1.55) and manual way works flawlessly... sorry that ur device got bricked @ boot...
no no u dont need to apply CM7 (thats based on GB, a totally diff OS version 2.3.x)... it should work on CM6...
do one thing since u have got ur current system running just pull the framework-res.apk file from /system/framework/ and post it here (use some compression software, e.g.: winrar)... i will modify it and post it back...
btw did the clock font atleast change? and wht abt the bootscreen?
Clock font worked flawlessly, bootscreen I haven't tried.
Btw I pulled framework-res.apk with root explorer. Framework-res.apk is in attachment.
SilverASH said:
Clock font worked flawlessly, bootscreen I haven't tried.
Btw I pulled framework-res.apk with root explorer. Framework-res.apk is in attachment.
Click to expand...
Click to collapse
which ROM are u using?
do u have a X10 (came preinstalled with 2.1) or X10 HD (came preinstalled with 2.1)?
I'm using zdzihu 's Free X10 Beta 4 rom and CM 6 (I think it was CM-6.1.3-V4, but I'm not sure).
My X10i came with preinstalled 1.6.
SilverASH said:
Clock font worked flawlessly, bootscreen I haven't tried.
Btw I pulled framework-res.apk with root explorer. Framework-res.apk is in attachment.
Click to expand...
Click to collapse
i think i figured out the problem... the framework-res.apk which u posted is HDPI-v4 based as compared to HDPI (for which the link was posted in main post)... if u want to try the Metamorph method again try it with this file: HDPI-v4: http://www.mediafire.com/file/7tqgs778yeawbqm/Honeycomb_Lock_HDPI-v4.zip
anyways i had modified it to work for ur framework-res.apk... its attached here...
let me know if it works...
Yeah, I know that I need HDPI-v4. And I tried with HDPI-v4 metamorph - it didn't work. I tried with HDPI too and it didn't work either.
I'm gonna try your modifyed framework.
Your modifyed framework didn't work too. Again it just hanged in bootscreen. And again I restored to same point.
em ok... I am out now will create a recovery package when I get back
Sent from my X10i using XDA App
SilverASH said:
Yeah, I know that I need HDPI-v4. And I tried with HDPI-v4 metamorph - it didn't work. I tried with HDPI too and it didn't work either.
I'm gonna try your modifyed framework.
Your modifyed framework didn't work too. Again it just hanged in bootscreen. And again I restored to same point.
Click to expand...
Click to collapse
here is the update.zip for flashing via xRecovery...
if this doesnt work i will send ur file to bizdady... this info is based on his thread...
Yeah, it worked. Thanks! http://media.xda-developers.com/images/icons/icon6.gif
SilverASH said:
Yeah, it worked. Thanks! http://media.xda-developers.com/images/icons/icon6.gif
Click to expand...
Click to collapse
finally... phew...
enjoy!!!
But it would be much cooler if it would act like Honeycomb lockscreen does. Can't it be done?
SilverASH said:
But it would be much cooler if it would act like Honeycomb lockscreen does. Can't it be done?
Click to expand...
Click to collapse
??? didnt follow... u can read this thread: http://forum.xda-developers.com/showthread.php?t=959602
exactly wht u want?
SilverASH said:
But it would be much cooler if it would act like Honeycomb lockscreen does. Can't it be done?
Click to expand...
Click to collapse
That's a whole other lvl of coding. Its been looked at by others but at the moment still a no go.
Sent from my Evo 4G CM7 nightly machine!
bizdady said:
That's a whole other lvl of coding. Its been looked at by others but at the moment still a no go.
Sent from my Evo 4G CM7 nightly machine!
Click to expand...
Click to collapse
I did find something, but I haven't tried this yet. But it works with Lockbot app.
http://forum.xda-developers.com/showthread.php?p=11502902
SilverASH said:
I did find something, but I haven't tried this yet. But it works with Lockbot app.
http://forum.xda-developers.com/showthread.php?p=11502902
Click to expand...
Click to collapse
Give it a go then. Personally I hate 3rd party lockscreen apps as there is always that 1 sec lag for me, I have no knowledge of this app but it looks like another theme. Doubt you can move it around like the real honeycomb lock.
I tryed this app. There is a privew from honeycomb. You can move it around, but clock keeps moving around too. And if I press 2x back button, it just goes to homescreen. So it's too buggy.
And I don't really like 3rd party lockscreen too. So i sick with your lockscreen. It's really good looking.

[Q] Change the color of the check mark?

Hi, this is a minor issue but it's starting to bug me.
Is there any way to change the color of the little check mark that appears when you select something?
On many of the apps that I use (but not all?) this check mark appears as a very light green color on a white background and is virtually invisible. I asked about it on a forum for one of the apps and was told that my phone must not be using standard android colors.
For example, on the Maps app that came with the phone, if I go to Settings and try to select something I will see the very light green color check mark. On the other hand, other apps, like the stock mail app, use a medium blue which is quite visible.
If I could get them all to use the blue that would be great. Changing the theme does not seem to affect the check mark.
Thanks!
-- Jon
This has been bugging me since I got XL.
My guess would be editing framework-res.apk
Just wanted to give this a bump in case somebody may have run across a solution. Thanks!
OP are you rooted? I thought you could change simple things like this inside framework-res.apk if you pull it from /system/framework.
If you open it using 7zip or winrar you should find the graphic in one of the drawable folders (i think the one youre after is called "drawable-xhdpi") which contain all of the graphics and icons that are displayed on your phone whenever you interact with it. Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Back up your original framework file though as messing this up WILL result in bootloops. In fact, doing a nandroid couldnt hurt if you arent familiar with this.
Then just replace the original with your modified one.
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
{
"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"
}
Loneeagle14 said:
Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Click to expand...
Click to collapse
This doesn't make any sense to me. Changing even one bit of a file will break a digital signature. Altering the color of a check mark will change many bits. So either the file is not signed, or the signature doesn't matter, or this won't work at all.
You must have unlocked bootloader of course. No signature check.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
gunnyman said:
You must have unlocked bootloader of course. No signature check.
Click to expand...
Click to collapse
Thanks. That's kind of what I meant. I was seriously out of it when I typed that originally. So yeah unlocked bootloader. Basically, so long as you don't decompress the original .apk and only swap files in and out from the COMPRESSED version, you should be good to go. Trying to use winrar or 7zip to recompile it will result in bootloops i promise
Sorry for the confusion.
Loneeagle14 said:
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
Click to expand...
Click to collapse
Thanks, I'll give that a try!
-- Jon
Originally Posted by beaups
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
Click to expand...
Click to collapse
What's actually kind of funny is I had the opposite problem. My check marks inside of the settings menu stayed green, but any check marks inside of apps are now the modified color.
Edit: nvm didn't read that right. I see you were referencing the other guy.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
That does not work for me. I have been on the matte skin since I got my device. I don't see any dark purple or black checkmarks in any apps. Most of mine are the light (invisible) green, a few are a medium blue, which is decent. Are you sure there is not something else making your checkmarks black?
So I edited my framework-res.apk using drag&drop into 7zip without unzipping the file, as suggested. And then I did horrible things: I simply overwrote the file in /system/framework using Root Explorer. The phone immediately rebooted and won't boot now. Time to do a restore!
I guess I have to push the file using ADB while in Recovery/Fastboot? Or else make my own flashable zip? I'm definitely a modding noob.
Didn't back up the original huh? Sorry dude that sucks.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery. Then go to advanced-->file manager and that should let you access up to root. Also, it never hurts to run fix permissions after changing something in the system directory.
This method is always easier for me since I'm not an expert with adb. That's strange you had problems though. The only time I've ever had bootloops was when I decompiled the .apk or changed the compression settings when replacing files inside of it. Hope you get it sorted out..
Loneeagle14 said:
Didn't back up the original huh? Sorry dude that sucks.
Click to expand...
Click to collapse
I had a backup in the form of nandroid. I also do have the file itself backed up, I just realized. I probably didn't need to do a restore. It's just that when my phone wouldn't boot I got scared and I wanted to make sure I could restore it!
I didn't realize how easy it is to fix permissions on a file in TWRP. I can run the batch command, and there is a permissions fixer in the file browser that just does chmod 755. It grants execute permissions as well as the other ones, but it's no big deal. Also, it's easy enough to change in Root Explorer once the system actually boots. Then you don't have to wait for the whole permissions fixer to run.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. ]In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery.
Click to expand...
Click to collapse
Thanks, I was just exploring this functionality. I forgot I had to manually mount system, so I was a bit confused why I couldn't see anything in there.
Hey, it just booted up with my modded file. Look at those nice, black check marks! The ones in Settings are still green. I guess they are using different resources, which explains why they changed when I changed skins, but none of the others did. I only changed the color of the "on" check mark, and not the "on disabled", or "on focused" ones, so they'll still be green. I don't really care if the check mark is green while I'm clicking the button, but I would like to change the disabled one.
Looking good sir. I was a bit worried my method was wrong or something. Good to see someone was able to get it done! :thumbup:
So if I flash a new rom, will I need to do this again?
snowkilts said:
So if I flash a new rom, will I need to do this again?
Click to expand...
Click to collapse
Yes, unless you modify the rom before you flash it. Personally, I'm hoping to learn enough about flashable zips to make this idea into a flashable mod. At which point I'll fix all the icons.
Success! I have created a flashable zip that changes the check marks to black. I also created an Undo version that restores the original framework-res.apk.
If anyone would like to test it out, send me a PM. It only changes the "on" checkmark, but that's the only one you really need. In the future, I will fix the other icons. This is my first Android mod, so I don't want to release it publicly until at least a couple of people have tested it.
If it matters, the framework-res.apk which I changed is the one that comes with CleanROM 4.1 LE. I don't know if Scott modified the stock version in any way, and I don't know if other Sense roms have changed this file, so I can't gurantee that this APK is 100% compatible with roms other than CleanROM 4.1. I would need to download the other roms and compare their file with mine.
The MD5 of the original /system/framework/framework-res.apk is d6d3f7f3808dd7d01ba2dd11babd3b64. So if your APK has the same MD5 then this mod will work for you.

Categories

Resources