Attention all fellow themers: Need help editing 2.2 rosie bar! - EVO 4G Q&A, Help & Troubleshooting

Ok, I've searched far and wide, and I have no idea how to get the word "Phone" off of the 2.2 Rosie bar.
If anoyne is confused as to what I'm talking about here:
{
"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"
}
It's the word "Phone" at the bottom... anyone who can edit the xml or can tell me where to start, the help would be appreciated, as this is the LAST thing I need to do to release my theme.
I'm including the defualt sense 2.2 rosie bar, which I used to build from, in case maybe there's someone coming from another UI that may know.
thank you all for any help in advance.

I'm guessing its a XML edit... not sure where though...

In rosie where you put your "k" there are 4 other files which appear blank...one of them is.phone...also make sure the files in the hdmi port folder of resource apk are edited as such

Yay 4 Juggs said:
In rosie where you put your "k" there are 4 other files which appear blank...one of them is.phone...also make sure the files in the hdmi port folder of resource apk are edited as such
Click to expand...
Click to collapse
I have no idea of where you're talking about. In 2.2, the K goes in Rpsie/res/drawable-hdpi
In that folder, I don't see anything about a File named phone, or see anyt blank files.
COuld you be more specific?

looking in the apk you posted i dont even see your "k" i see 2 phone handsets...i need your rosie apk...from there i can tell you what to take out...

Yay 4 Juggs said:
looking in the apk you posted i dont even see your "k" i see 2 phone handsets...i need your rosie apk...from there i can tell you what to take out...
Click to expand...
Click to collapse
OHHHHHHHHHHHHHHHHH, you're talking about the Actual icons of phones.
NO NO NO. GUYS, I AM TALKING ABOUT THE ACTUAL WORD PHONE THAT IS ON THE BOTTOM ROSIE BAR. I DO NOT WANT THIS THERE.

TJDuckett said:
OHHHHHHHHHHHHHHHHH, you're talking about the Actual icons of phones.
NO NO NO. GUYS, I AM TALKING ABOUT THE ACTUAL WORD PHONE THAT IS ON THE BOTTOM ROSIE BAR. I DO NOT WANT THIS THERE.
Click to expand...
Click to collapse
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay

Yay 4 Juggs said:
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay
Click to expand...
Click to collapse
Ok... stop talking about the phone icons, lol. They're a non factor... I replaced them with the K bc I didn't want them there.
I simply just want that overlay (The word Phone) removed.
And thank you for your responses Juggs. People here definitely are awesome about trying to help.

Yay 4 Juggs said:
yes the phone icons that are in your rosie should be replaced by your k...the word phone is just an overlay
Click to expand...
Click to collapse
Right and he does NOT want the "Phone" text to be there. He wants to remove the text that says "Phone" from the bottom bar and replace with his own image. The problem is that in 2.1 it was an editable image and it seems that in 2.2 it has been moved to an XML or somewhere else, which is what we're trying to figure out here.

ok the base of your theme was something koni and i worked on a few weeks back and he released it as enamorous red...i released as part of my rom...his release of the theme did not include the fix for the "phone" we had to go back to a previous theme to fix it as done in my rom...for ****s n gigs add these two images to your rosie and tell me if the word phone is gone when you flash...

Stumbled across this thread, so said, what the hell, might as well help you out .
Untested, but should do the trick.

Ok guys just saw these. Literally ahve three people's fixes to try, which is awesome, so I'm going to start with uggs' (who was dead on when he mentioned I used Koni's as a base in my 2.1 build). Let's see if one works!

Attempt 1 (Juggs) - FC on launch.
Next attempt - An outside source is telling me to edit the resources.arsc or whatever.

TJDuckett said:
Next attempt - An outside source is telling me to edit the resources.arsc or whatever.
Click to expand...
Click to collapse
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.

JsChiSurf said:
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.
Click to expand...
Click to collapse
Hey man I just spoke to TJDuckett and he said it worked!! Thanks a ton man. How'd you make it work? What edits did you make?

JsChiSurf said:
Ummm, the Rosie.apk I've attached for you contains the necessary edit to resources.arsc to remove the Phone text. You can ignore it if you wish, I suppose.
Click to expand...
Click to collapse
Yea sorry I didn't respond earlier, but I've been busy working on it, since urs actually worked. I actually decided to try yours second, and that's why I asked jabba to respond for me because I've been working on getting this right ow that the phone word is removed.
Thank you very, VERY much.
and, actually juggs' img helps too, because there needs to be a more wide image to make the icon push to the center.
So thank BOTH of you for ur help!

I want to remove the word phone from my Rosie too, can you tell me what edits you made?

If you were to decompile Rosie.apk, you would find various strings are defined in the '/res/values' folder (via apktool), including the string for the 'Phone' text.
You "could" edit there and recompile, which gives you more flexibility, however, knowing that these values, when the apk file gets built, are compiled into the resources.arsc file, it is much quicker and easier to just hex edit the file directly.
So, after opening resources.arsc in a hex editor, we can search for 'Phone' in its hex value equivalent (with each letter separated by a null char (00)), which becomes:
500068006f006e006500
Searching this out, we find a couple of instances, but it is obvious, once looking, which is the correct one for the 'Phone' text in the Rosie launcher.
When hex editing, you can't remove or add content, since if we do, it will corrupt the file. We can only change. With that in mind, you can simply replace all of the characters with a blank space, hex equivalent of 20, becoming:
20002000200020002000
And there you have it. With this change, 'Phone' has been nulled out in favor of blank spaces that you can then insert a graphic of in its place. This does not remove the spacing that the text once took up, so if you are not removing the stock 'Phone' icon to the left of the text, a different approach is needed, as the icon will remain positioned to the left.

JCS, please get an EVO dude.. please

nebenezer said:
JCS, please get an EVO dude.. please
Click to expand...
Click to collapse
. Hopefully in October.

Related

[wip] hero evolution theme for hero

{
"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"
}
removed the attachments to end the confusion...they were of an earlier attempt at this theme.....this theme will be released shortly guys...leaving the icons for those of u who want to use them for ur programs tho.
Reserved.......
Screenshots:
more screenshots
Nobody able to create the update.zip for me?
in the meantime...next project is taking the curve out of rosie so it is uniform with the rest of the screens.
Look awsome
Hey man dont know how to sign zip files but keep working on it your doing a great job....Excited to see the finishing touches
Idea: maybe you could pm Drake and see if you could put it in his rom it would look badass
Hey man i would help out if i could with signing or even drawables if you wanted but my pc's power supply was fried about a week ago during a thunder & lightning storm. If im up and running again soon and swing by to help if its still needed.
I'm willing to help. What rom is this for? Any Hero rom?
flat rosie screenshots
thank you i will pm u soon.
think im going to keep the regular icons but modify a few of them instead of the black gloss button icons...they look a little small on the phone
CC CEO said:
thank you i will pm u soon.
Click to expand...
Click to collapse
im digging the flat rosie. sometimes a flat woman isnt so bad after all...
palosjr said:
im digging the flat rosie. sometimes a flat woman isnt so bad after all...
Click to expand...
Click to collapse
lol ... this is coming along well cant wait to see it finished
does anybody have any idea how 2 remove "Phone" from the button on rosie? its so lame and its annoying...i want to replace it with a image.
Flat rosie complete
Almost ready for release!
FLAT ROSIE finished...
up and down arrow changed to touchflo/programs....
to do:
modify dialer buttons slightly so pound sign and "star" are same size and voicemail button isnt upside down anymore
CC CEO said:
Almost ready for release!
FLAT ROSIE finished...
up and down arrow changed to touchflo/programs....
to do:
modify dialer buttons slightly so pound sign and "star" are same size and voicemail button isnt upside down anymore
Click to expand...
Click to collapse
Awsome cant wait and thanks
more screens...
CC CEO said:
does anybody have any idea how 2 remove "Phone" from the button on rosie? its so lame and its annoying...i want to replace it with a image.
Click to expand...
Click to collapse
Great minds really do think alike . Check the bottom of my post lol
http://forum.xda-developers.com/showpost.php?p=4320489&postcount=1
Anyway ive spent countless hours going through .xml's trying to find where it would be located. I thought i came close a couple of times but i would only get stuck in a bootloop. Its either located in an .xml somewhere or it can only be changed from the source(which would suck). There arent many of us who have taken on the task of theming the Hero so we may be alone in our efforts. There is also the "remove" and "select" that would have to be taken out possibly from seperate .xmls otherwise it would overlap the image.
Good thing is that if it is an .xml mod, then there is a simple solution. We just have to find the darn .xmls that control it.
If you wanted to try something temporary, you could replace the middle tab with the image you wanted and modify it with borders and shadows etc to give it a sort of flushed look. Like if it sits within the tab. I tried it with a few images and it came out nice. Worth a try. Anyway great work. Looking forward to your finished theme
IamLugo said:
Great minds really do think alike . Check the bottom of my post lol
http://forum.xda-developers.com/showpost.php?p=4320489&postcount=1
Anyway ive spent countless hours going through .xml's trying to find where it would be located. I thought i came close a couple of times but i would only get stuck in a bootloop. Its either located in an .xml somewhere or it can only be changed from the source(which would suck). There arent many of us who have taken on the task of theming the Hero so we may be alone in our efforts. There is also the "remove" and "select" that would have to be taken out possibly from seperate .xmls otherwise it would overlap the image.
Good thing is that if it is an .xml mod, then there is a simple solution. We just have to find the darn .xmls that control it.
If you wanted to try something temporary, you could replace the middle tab with the image you wanted and modify it with borders and shadows etc to give it a sort of flushed look. Like if it sits within the tab. I tried it with a few images and it came out nice. Worth a try. Anyway great work. Looking forward to your finished theme
Click to expand...
Click to collapse
dont know anything about xml...ive only got a weeks worth of gimp/photoshop in me lol....my start was trying to edit the google icon...and OCD took over and i got addicted so im teaching myself as i go.
as far as my finished theme...i think im ready for its initial launch....i just need to create the update.zip now with the modified rosie.apk, htccontacts.apk and phone.apk...care to do some file signing for me?
CC CEO said:
dont know anything about xml...ive only got a weeks worth of gimp/photoshop in me lol....my start was trying to edit the google icon...and OCD took over and i got addicted so im teaching myself as i go.
as far as my finished theme...i think im ready for its initial launch....i just need to create the update.zip now with the modified rosie.apk, htccontacts.apk and phone.apk...care to do some file signing for me?
Click to expand...
Click to collapse
oh yeah...since u are familiar with xml....i removed the slider above rosie because i didnt know how to take the curve out....is that a xml edit so i can place that back in?
Lol i know what you mean. Im the same way. I would help with the signing but my pc is down atm. I should have a new desktop in a few days so i can help then. My own projects are at a stand still because of my crashed pc. Sucks. If you put the slider back in it will re-appear with the curve. Easiest thing to do is make it transparent. Itll still be there but it wont be visible.
IamLugo said:
Lol i know what you mean. Im the same way. I would help with the signing but my pc is down atm. I should have a new desktop in a few days so i can help then. My own projects are at a stand still because of my crashed pc. Sucks. If you put the slider back in it will re-appear with the curve. Easiest thing to do is make it transparent. Itll still be there but it wont be visible.
Click to expand...
Click to collapse
yeah thats how i have it now.....so it doesnt show...but id love for the slider to go straight across...i was hoping it was an xml thing and u had a solution...no worries...cant wait to get this done....
im thinking instead of just making a transparent lockscreen im going to do some stuff there too....
my question is...do i need to make mods to all the programs that use the lockscreen i.e. music,phone,etc.?
1000+ views and still noone to help get this thing zipped up and ready to go?!?!?!

[Q] How do i make a transparent title bar?

hey guys,
how do i make my title bar transparent like the one below?
ex
{
"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"
}
thanx
That's myn's warm two point two ROM. Check the dev section for the thread and then look under extras. Idk about flashing it on another ROM though.
Sent from my PC36100 using XDA App
Aerodynamix said:
That's myn's warm two point two ROM. Check the dev section for the thread and then look under extras. Idk about flashing it on another ROM though.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
exactly i dont wanna flash it. i wanna learn on how to do it and do it on my rom. u know what i mean. hands on experience.
Why not just trying to flash it on top of your current ROM? As long as you nand backup first it should be nbd.
Sent from my PC36100 using XDA App
Aerodynamix said:
Why not just trying to flash it on top of your current ROM? As long as you nand backup first it should be nbd.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
caz i don't know what else is changed in his framework-res. i dont mind recopying my icons and status bar png and battery mod etc. but i dont want it to break anythin else. also i always believed in learning and doing it urself. i am here to learn as much as i can, simply flashing a mod doesnt teach me anythin
"Give a man a fish and he will eat for a day. Teach a man to fish and he will eat for a lifetime.”
teshxx said:
caz i don't know what else is changed in his framework-res. i dont mind recopying my icons and status bar png and battery mod etc. but i dont want it to break anythin else. also i always believed in learning and doing it urself. i am here to learn as much as i can, simply flashing a mod doesnt teach me anythin
"Give a man a fish and he will eat for a day. Teach a man to fish and he will eat for a lifetime.”
Click to expand...
Click to collapse
Ahh gotcha. Didn't quite get your question the first time.
Unfortunately, I can't really help ya. Myself, I'm trying to work through the SDK right now for much the same reason. I'd like to contribute instead of just leeching off everyone.
One thing you might not've thought of that might help...is you could DL Myn's (on your computer)and then just unzip the file and check out what all the XML files/etc look like/say.
Aerodynamix said:
Ahh gotcha. Didn't quite get your question the first time.
Unfortunately, I can't really help ya. Myself, I'm trying to work through the SDK right now for much the same reason. I'd like to contribute instead of just leeching off everyone.
One thing you might not've thought of that might help...is you could DL Myn's (on your computer)and then just unzip the file and check out what all the XML files/etc look like/say.
Click to expand...
Click to collapse
doing that as we speak lol... alot xmls to go thru lol
try deleting the pngs you want to be clear from the framework, it may complain in the logcat if you don't change the manifest or code calling it but shouldnt hurt anything
teshxx said:
doing that as we speak lol... alot xmls to go thru lol
Click to expand...
Click to collapse
Don't waste your time.....it's not in the xmls
It's a png file. It's probably indexed, so you'll have to change it to a RGB first....then just set the transparency.
I think this was it.
framework-res\res\drawable-hdpi-v4\statusbar_background.png
Goodman I am trying that right now. Will post my results. Live this forum n their helping nature.
Sent from my PC36100 using Tapatalk
bluebeast213 said:
Don't waste your time.....it's not in the xmls
It's a png file. It's probably indexed, so you'll have to change it to a RGB first....then just set the transparency.
I think this was it.
framework-res\res\drawable-hdpi-v4\statusbar_background.png
Click to expand...
Click to collapse
statusbar_background.png is the img thats used for ur drop down notification bar.
teshxx said:
statusbar_background.png is the img thats used for ur drop down notification bar.
Click to expand...
Click to collapse
Sure you're not talking about status_bar_close_on.9.png? That is the pull down notification bar.
Figured out what you're talking about.
You are talking about "status_bar_background.png" not "statusbar_background.png".
status_bar_background.png is the notification background but statusbar_background.png is the status bar itself.
....very subtle difference. lol
I'm wanting to do the same, I actually flashed warms transparent notification bar on netarchys rom and part if it works but it needs tweaked to be right, so ill have to try this .
Sent from my netarchy_toast, froyo beast of a machine evo!
Just made sure......and yeah, that's the one. I made them all at once....but it is the only one that is identical.
bluebeast213 said:
Figured out what you're talking about.
You are talking about "status_bar_background.png" not "statusbar_background.png".
status_bar_background.png is the notification background but statusbar_background.png is the status bar itself.
....very subtle difference. lol
Click to expand...
Click to collapse
wowowowowoowo....my bad dude. thanx bud really appreciate your help.
No problem....post a screenie when you get it done.
bluebeast213 said:
No problem....post a screenie when you get it done.
Click to expand...
Click to collapse
ok so i changed statusbar_background.png as you suggested. it worked partially. as you can see in pic 1 (lockscreen) the status bar is translucent, but in pic 2 (homescreen) it comes out black. Also, i did replace icons for 3g wifi etc. but as you can see some of them work (silent mode) and some of them are reverted back to the original ones (gps, 3g, signal). i extracted my framework-res and in the folder the icons i changed/replaced are still there, but they just dont show up.
Pic 1
Pic 2
i dont have an answer, but i can help. to make the notification tray translucent, you need to put in a translucent png AND change a line or two in the coding of a .smali file.
i have no idea what to change for the bar, but if anybody is interested in the tray, http://forum.xda-developers.com/showpost.php?p=7739623&postcount=53
also make sure to get the transperant .png from the op.
dkdude36 said:
i dont have an answer, but i can help. to make the notification tray translucent, you need to put in a translucent png AND change a line or two in the coding of a .smali file.
i have no idea what to change for the bar, but if anybody is interested in the tray, http://forum.xda-developers.com/showpost.php?p=7739623&postcount=53
also make sure to get the transperant .png from the op.
Click to expand...
Click to collapse
thats only for the notification bar background. i have done that already.
i need to find out why some icons aren't workin in my taskbar and why my homescreen taskbar is black n how to make it translucent.
EDIT: figured out the icon problems. there are more icons you need to replace in com.htc.resources besides the ones in framework-res.

[Q] Notifications Text Color

Hi all. I was wondering if any of you themers would be able to tell me how to change the color of the notifications text in the pull down bar (the download one is pretty clear, so I do not need that). I have changed all the color values in status_bar_latest_event_content.xml to no avail. I have also looked through status_bar_expanded.xml and colors, styles.xml, etc. and have not solved the puzzle. Is there a smali edit I need to make, similar to the transparent background for the notifications bar?
Anyway, I have looked everywhere, tried several "guides" to no avail. If this has been addressed elsewhere, it was not evident, to me at least, and I apologize for covering trodden ground.
Any help is appreciated. Thanks!
Steve
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
N-Forced said:
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
Click to expand...
Click to collapse
In resources, eh? Man HTC does some weird stuff. Thanks for the input!
Sent from my ADR6300 using XDA App
N-Forced said:
I've been trying to find this damn thing for awhile to no avail and eventually just gave up. I did figure out it's an xml file in com.htc.resources but never managed to figure out which xml was controling it. All I can say is look there, good luck on your search!
Click to expand...
Click to collapse
I ran a diff on the DisctINC INverted Sense theme's decompiled resources and the one from my ROM and did not see any changes that would affect text color. The only differences I saw were with PNG files.
This is really irritating. I do not like it when I can't figure something out .
EDIT - I am a moron. I accidentally decompiled two versions of my resources and ran the diff . Stupid daylight savings time...
I wil re-run the diff and report back WHEN I get it.
Steve
OK, got it.
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
sk806 said:
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
Click to expand...
Click to collapse
Hell yea glad you got it man! Been waiting along time for this.
sk806 said:
It was a smali edit in services.jar. Pull classes.dex from the jar file with 7zip or Betterzip, decompile the classes.dex file with baksmali, go to /com/android/server/status/StatusBarService.smali, search for "textcolor" in that document, and above the three instances you will see, change the -0x100000 to -0x1, recompile a new classes.dex with smali, copy the new classes.dex to services.jar using 7zip/betterzip, save, push to your phone and you will have white notifications text.
Not sure how it may affect other areas of text, so I will report back if anything weird happens.
Steve
Click to expand...
Click to collapse
Hmm..one weird thing, the text turns back to black when you press the notification. I think I know what to fix.
sk806 said:
Hmm..one weird thing, the text turns back to black when you press the notification. I think I know what to fix.
Click to expand...
Click to collapse
The answer is in one of the xml's in the color folder in com.htc.resources.
N-Forced said:
The answer is in one of the xml's in the color folder in com.htc.resources.
Click to expand...
Click to collapse
Thanks. I will check that out.
Sent from my ADR6300 using XDA App
I know this is an old thread, but I have the same issue. I have all of the text turned to white, but Ongoing Notifications, i.e. HTC Music or Pandora are still black text. I can't figure out where to change this. Has anyone been able to successfully make this change? I have included a screenshot to show what I'm talking about.
{
"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 think the thread I grabbed this from is a bit old and for an odd phone but it says to look in downloadprovider.apk, music.apk and probably pandora.apk for that matter. I just started ripping apart xml files so I didnt get to test this out yet.
"For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign (not sure if it's needed but i do anyway) and push back to device. Music.apk would probably work across any rom as long as it is signed the same. (If it's even needed!)
For DownloadProvider.apk i did it slightly differently due to getting force closes after compiling with apktool. I simply opened the .apk and extracted the file, "status_bar_ongoing_event_progress_bar.xml" from /res/layout/. Now open this file with a hex editor and open a search box. Search for hex code "0800001C", there are 3 instances of this. After each one you need to change the following 6 characters. They all start as "0800001C000000FF" where the six zeroes are black and need to be changed to "0800001CFFFFFFFF" where the six F's represent white. Now save and exit. Copy this file back into the correct location in DownloadProvider.apk. It will not need resigning. Push this file to your device. Done!"

Themer's, help me find where this PNG is,

The blue at the top of the pic. Where is that PNG at. I am trying to kang me a makeshift aosp theme and I cannot find that PNG. I looked in both frameworks and I see several blue ones. Just need to know which one it may be. Any help is much appreciated.
{
"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 finally found it in the Framework-res.apk Its called the activity bar, its the very first PNG in the res/hdpi folder. For some reason if you change it to black it force closes everything that uses it. But you can set it to grey or a darker grey and it works just fine
Glad you found it. Yeah, you can't render it bright green either for some reason. There are a lot of framework/SystemUI PNGs like that. If you render them certain colors, the app force closes. Having that issue with a theme I'm currently building...I have to go back through through every APKs res folder and locate the culprits. Lol
12MaNy said:
Glad you found it. Yeah, you can't render it bright green either for some reason. There are a lot of framework/SystemUI PNGs like that. If you render them certain colors, the app force closes. Having that issue with a theme I'm currently building...I have to go back through through every APKs res folder and locate the culprits. Lol
Click to expand...
Click to collapse
Wow, that's tedious man. This is the first one I've ever done more then themeing the if_launcher icons of the apps. So little at a time. Thanks for the info much appreciated.
scarmon25 said:
Wow, that's tedious man. This is the first one I've ever done more then themeing the if_launcher icons of the apps. So little at a time. Thanks for the info much appreciated.
Click to expand...
Click to collapse
I think it has something to do with the .9.PNG file type. When you decompile an apk, you'll see that the PNGs now have black lines embedded in them that tells system how to resize and use the images within the framework. If you alter these lines while modifying the PNG, you'll have all sorts of problems.
I never actually decompiled them. I used 7zip to open the archive and copy a replace the images. But yeah. Doesn't much matter now. The AOSP Mod ROM was just updated. Still was a great learning experience.
scarmon25 said:
I never actually decompiled them. I used 7zip to open the archive and copy a replace the images. But yeah. Doesn't much matter now. The AOSP Mod ROM was just updated. Still was a great learning experience.
Click to expand...
Click to collapse
I do the same, tedious, but gets the job done.
Sent from my SPH-D710 using XDA App
Yeah, it is nice when you can get away with just modifying/swapping PNGs. Unfortunately, theming is limited without editing smali and XML files. Also the black lines are still present in compiled images....they're just hidden.
12MaNy said:
Yeah, it is nice when you can get away with just modifying/swapping PNGs. Unfortunately, theming is limited without editing smali and XML files. Also the black lines are still present in compiled images....they're just hidden.
Click to expand...
Click to collapse
This is why I am unable to change the MMS bubbles then huh, Thanks, you just helped me figure something out. Going to have to play with that,
So i decompiled the mms.apk and saw the lines your talking abut. I changed the color and recompiled but that damn bubble still came out all distorted. Any idea why this is happening.
This thread gives me a headache. Thanks given to all of you for doing this tedious work for all of us to enjoy
Sent from my Blazing ET4G
scarmon25 said:
So i decompiled the mms.apk and saw the lines your talking abut. I changed the color and recompiled but that damn bubble still came out all distorted. Any idea why this is happening.
Click to expand...
Click to collapse
The only thing that works for me is zooming in on the image and using a pixel grid as not to compromise any part of the black lines. Its pretty tricky sometimes.
12MaNy said:
The only thing that works for me is zooming in on the image and using a pixel grid as not to compromise any part of the black lines. Its pretty tricky sometimes.
Click to expand...
Click to collapse
On this one the black lines are only on the edges. And the bubble is quite small in the PNG. Its the mms.apk from the new aosp mod rom. The green.bubble. I'm trying to make it a different shade of grey. Its just two.bright for me. I'm gonna play with it some more ttonight. I'm using adobe fireworks and it has a tool that will only change the color thou select. So when I go over it , it only changes the green. Doesn't mess with the lines. But I think I may do what you suggested and see what happens
It has been a while since I have messed with theming but I believe you have to use eclipse to compile the images. I don't think you can just change them and compile the apk back. But here is a little trick that I used when working with the images. I do my edits in photoshop. This works if you are just making color changes and not resizing or changing images. First open the decompiled .9.png. Next open a new blank image to match the size of the image you are using. Now on the original image highlight everything inside the black border. Cut that and paste it in the blank one. Make your color changes and copy the modified image, make sure you copy it just the same size it was originally. Paste that into the original image and save. If done correctly you should be done. That saved me a lot of headaches. Try compiling it and using it. If that doesn't work you need eclipse to compile the images. Which I am almost positive is the case.
Sent from my SPH-D710 using xda premium
I have eclipse set up and all. Not sure how to use it. Haven't got that far yet. Gonna do some Googling when I get home and may try your trick too. Thanks for the info.
Hey can Some one tell me where the open and close applications animations are found at I like the ones in unnamed rom and want to use them on another
Sent from my SPH-D710 using XDA App
You can google xUltimate he makes a utility that will properly compile .9 png's after you patch them with draw9patch (included in the newest Android SDK)
scarmon25 said:
I have eclipse set up and all. Not sure how to use it. Haven't got that far yet. Gonna do some Googling when I get home and may try your trick too. Thanks for the info.
Click to expand...
Click to collapse
Maybe check out APKTOOL and APK manager here on XDA. I see that a majority of themers use these tools and say its the easiest way to decompile, compile and edit apk's. I've tried it, but I must not have gotten something set up right, because I can never get anything recompiled. Even when I try to use a stock rom and pull the apk's I still can't get it to recompile, so I'm sure something is not set up right. YouTube is a great place to learn as well. I've watched a lot of videos on this stuff, but I always get caught up when it comes to editing the XML'S. If I could find an easy way to edit the XML files I would be set. Good luck to you on learning more.
APK Manager and APK Tool are the ****....and yes, you can edit certain PNGs and recompile them....a very select amount.
You should search .9 pngs there are A LOT of threads on how to make and edit these. They go into great detail step by step... Better than I can explain it... Good luck sir... Welcome to the fustrating world of theming... It can be a dark abyss... Prepare yourself...

[REQUEST] Mms.apk without contact pictures

I just spent a few hours trying (decompiling, extracting, etc), but I suck. I tried blacking out the .png and replacing it, but it doesn't look very good. I'm sure somebody out there hates contact pics as much as me
Anyone know of a way to remove the contact picture and set the text to the left side of the screen. Check out the pic if you don't understand. Thanks in advance.
{
"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 and final bump. Maybe I can get some night-time love for my idea.
I'm gonna try again tomorrow, but I can NEVER re-compile apps. I'll figure it out though.
i would be into this idea, too!
I like this idea.
Sent from my Galaxy Nexus using xda premium
Would be awesome.. I dont sync my contacts pictures anyways so..
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
EDIT: Here's the Mms.apk I'm using. Got it from the amazing 'Black Exodus' theme by Nitroz. Maybe someone can take a whack at it.
http://www.mediafire.com/?4g43b8ac3x0b9jq
number3pencil said:
Thank you for your mods. Could you please explain the process by which you removed the 'ic_contact_picture.png' from both the message list and the conversation frame. I searched through my decompiled mms.apk but couldn't find anything. Obviously it's in there somewhere. If it isn't to hard or time consuming, please let me know how to do it manually. I really like the color scheme I have currently and would like to keep it exactly the way it is, minus the contact pics.
Thank you again for your effort.
Click to expand...
Click to collapse
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
artvandelay440 said:
Like this? I added it as a alternate version if you'd like:
http://forum.xda-developers.com/showthread.php?t=1466563
Click to expand...
Click to collapse
This is what i want! Thank you!
artvandelay440 said:
You need to make three edits. In order to maintain code dependencies across the app, i didn't actually remove the icon, i just made it 1px by 1px. This way, it's still invisible, but doesn't break support in other areas.
In
message_list_item_recv.xml
message_list_item_send.xml
conversation_list_item.xml
in the <RelativeLayout> view, look for the ID android:id="@id/avatar" (line 6 in the sent/recv, and line 4 in conversation xml)
You need to use the following attributes under each 'text' hiearchy:
Code:
android:layout_height="1px" android:layout_width="1px"
Once each of the three .xml files has these listed in the correct spots, recompile.
Click to expand...
Click to collapse
THANK YOU SO VERY MUCH!!!!! I will try this right now. I'm not a coding noob, but it would have taken HOURS for me to figure this out.
hopefully I will be able to recompile using apk-multitool. For some reason the recompiling part always throws errors. THANKS AGAIN
No problem. Post the log if you get compile errors.
Sent from my Galaxy Nexus using xda premium
I got it working perfectly, thanks again. Two quick questions though. I know you will be able to answer them.
1) How would I remove the borders around the sent and recieved messages? I included a screenshot.
EDIT: Damn, I have looked everywhere. I figured the easiest way to to do this would be to just change the color of the border to all black (#000000), but there are two different colored borders and I can't find anything referencing them in message_list_item_... or in colors.xml
2) When I push Mms.apk to system/app it does overwrite the previous apk, but it doesn't show up in the app drawer. What I had to do to install my modded apk was to replace the Mms.apk in the flashable zip I use as a theme. Specifically black exodus. I'm sure there is a way to just quickly replace the Mms.apk without flashing. How do you do it?
Once I remove the borders I will upload the apk. I wouldn't care if you posted it in your thread. You don't even need to give me credit since you basically did everything .
Thanks again for ALL your help.
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
artvandelay440 said:
Remove borders:
in message send/recv xmls
in line 6ish i think, look for position="left_upper" and change to "left_middle". same thing for "right_upper" to "right_middle" in the other one.
-edit: as far as pushing mms, i don't use a theme, and i've always pushed system apps through adb. In theory, it should still work even with a theme applied, but I'm not sure why it wouldn't.
Click to expand...
Click to collapse
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
number3pencil said:
After pushing the app, do i reboot wipe cache or something? it just doesn't show up. And about the borders, thanks I'm working on it now.
Click to expand...
Click to collapse
No it isn't necessary. For me, as soon as i push it through adb, it appears in the drawer and is ready to go. You might ask Nitroz as to why this isn't working with a theme overlay, since it's his theme.
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Download links
number3pencil said:
Here's the APK. Thanks again for all your help, it is now themed perfectly!
http://www.mediafire.com/?t4dh3c3xf8hjk32
Click to expand...
Click to collapse
Does anyone have these apk files, the download links are no longer working

Categories

Resources