Editing softkeybar .png images.... - HD2 Windows Mobile 6.5 Themes and Apps

I just tried to modify my softkeybar by changing some colours around, saved the file as a .png with the same dimensions and such like, copied it back to the device and when I restarted the softkey bar was all kind of fragmented and multicolured.
Could anyone tell me what I've done wrong......
I know its something stupid but I'm having one of those days.
Thanks

conantroutman said:
I just tried to modify my softkeybar by changing some colours around, saved the file as a .png with the same dimensions and such like, copied it back to the device and when I restarted the softkey bar was all kind of fragmented and multicolured.
Could anyone tell me what I've done wrong......
I know its something stupid but I'm having one of those days.
Thanks
Click to expand...
Click to collapse
Without knowing exactly what you did, it is hard to know what you may have done wrong.
If you use a copy of the original as a template, then you should be good to go as all the parameters will still be present.
If at first you don't succeed... cheat.

Thats exactly what I did.
Opened up the file i got from here....
changed one colour........
saved the file.........
Il post the files here in case that helps.
The one with the green is the original I got from XDA, I just changed it to blue but it didnt work for some reason.

Weird, which image editor are you using?
I did the same using Photoshop CS4, using the exact same bar as you and here it is below. Try it on your phone to see if it is your image that is messed up or whether your phone just isn't displaying it correctly.

I've just realised what you have done. Your image is resized... if you open it up to view it, it is tiny. That's why it is pixelated as it is being stretched to display in your phone.
Try again and make sure you keep the correct image size

Ahhhh, I told you it was something stupid but I didnt think it was that stupid....
Thanks man much appreciated.

Original are H E R E in post #2
Thx 4 using

Thanks matt, couldnt remember which thread I'd got them from.
Must be the ****ty software Im using because the dimensions are ok and its still happening.
Solved: Works Ok using good old fashioned MS Paint, I think bit depth was the problem...
Thanks again for your help guys!!!

Related

WM5 startup screen

I found the image ms_screen320.png that I thought was the start up screen, looks the same, the green BG with D.P.T. and windows logo on it. I wanted to change it so I replaced it with my own image I made, same name, same png file. But it still shows the old one when I start up. in the same folder (windows) there is one titled ms_splash.png that is the other screen orientation (not lanscape). Does anyone know if changing that one will do it? Or am I barking up the wrong tree?
*edit*
didn't change it, same start upscreen
hi, if u replace HTC_LogoImg_320x240 it will change the shout down screen and start up screen but the start up screen will be changed only after the orginal splash anyway.
in ur case the start up and shut down screen my be different you can check them by looking in registry here
HKEY_local_machine/system/shoutdown or startup - it give you the name of the files.
let me know if u managed to change it !
cudo
That points towards oemstartup.dll on start and shutdown. I don't see anything about an image at all. I don't have HTC_LogoImg_320x240 so it must not be on the dash. i wonder if its just one of those things that can't be changed..
oplitic said:
That points towards oemstartup.dll on start and shutdown. I don't see anything about an image at all. I don't have HTC_LogoImg_320x240 so it must not be on the dash. i wonder if its just one of those things that can't be changed..
Click to expand...
Click to collapse
i am running htc s620 rom so it might be the case ! in ur case you need to extract the files from dll and put new and dont ask how to do it cos i got no clue !
cudo
lol, I'll look around and see what i can find. If I find anything I'll post.
well ,did you find anything.You didnt post back.Ive been looking also as I to have extracted the splash screen but mine is called ms_splash.Im having the same problem and would like to figure this out.Thanks and sorry if this has been covered else where

[Request] Simple Digital Clock (using "Segoe UI"fonts)

i've searched everywhere for some nice digital clocks, but everyone creates clocks with some really wierd fonts, or colors that isnt really my taste. So, i made a "concept art" of how a digital clock id like to use look like. (see attachments)
The clock has to be adjustable via CHT (i mean being able to move it around like the normal manila digital clock), so that i can use it in all screens, (Home , all levels, and lockscreen).
Anyone knows if anything like this exists?
if not, anyone willing to make it?
i used the font known as "Segoe UI" (light). Also, if possible, id like some extra versions of it, like the fonts being black instead of white, and an other one with having that black transparent panel behind the clock, using white for the fonts.
PS1:i know that the clock im thinking about looks horrible with the current looks of my phone, but i cant be arsed to change anything until i find a proper clock
PS2: i also know that theres a cab that removes the white panels behind the manila numbers of the clock. The thing is that, without it, the numbers got a little gap between them, looking ugly imo
I basically achieve this by mixing two cabs I've found here in xda
one is called
[Star] Segoe UI light clock charecters White.cab
and the other one is
Transparent Clock flippers.cab
you can find them here on xda posted by their respective authors.
edit: oh I forgot! you can use
transparent clock background.cab to get the effect you want
awesome! thanks a lot for ur reply!
Yeah use my cabs, but you will still get the lines its inevitable when you remove the clock flippers man
ah shame. i thought that ppl let those gaps there, so that the "flip" of the numbers looked better
excellent work with those cabs btw, they were exactly what i needed
I would love a clock like this also. Shame nobody wants to make it without the lines (from the flippers).
Having the lines kills the elegancy of it.
Hi everyone,
I get a solution to fix the problem with the flip lines but you have to be very carefully 'coz it's a bit risky...don't be panic, it works for me perfectly without problem and it would work for you guys too, just follow the instruction
1. Make a backup of the 7c60907d_manila go to your /windows directory and find that file, copy and paste it in your SD card.
2. Download the attached rar. file to your PC, extract the file and save the folder "NoFlipLIne" in your SD card
3. Using Total Commander or File Resco, go to your SD card and open the folder "NoFlipLine" and copy the manila file and paste it into your /Windows directory and accept overwrite (don't worry, you have a backup in case something go wrong)
4. Now reset Sence or restart your phone (as you prefer) and see if you like the magic
Also this manila file has a fix to get installed up to 20 CHT widgets too.
In case of any problem, just find your backed up original file and reinstall it back.
Remember, that works perfectly in my device, but I will not be responsible if it does not work well on yours or cause any other problems, so use it at your own risk
Enjoy it and please let me know if it works well for you.
Your feedback or just a Thanks button clicked is always appreciated.
Thank you for the reply, and your effort.
Unfortunately this did not work. I did exactly as you said, when I restart the phone, I get the original clock, with flippers, but no text where the time is. Basically the time (text) is blank and I just have the original flippers which flipe with nothing inside them.
I don't have screen capture software so I hope you know what I mean. I fyou want a screen print, please link a screen capture app.
I copied the original (backup file) to Windows and all is ok now.
My phone details are as follows:
ROM: 314 WWE (3.14.831.3
Manila: 2.5.20161330.0
WM6.5
Thanks again for trying. Any other suggestions?
ok, this s a little embaressing, I feel like an idiot.
There was no clock text as everything was white. When I mucked around and applied the 'transparent flippers' boom, the clock is just like the pic. PERFECT.
Thanks heaps. I have 'thanked' your post. Good job.
hgalanos said:
ok, this s a little embaressing, I feel like an idiot.
There was no clock text as everything was white. When I mucked around and applied the 'transparent flippers' boom, the clock is just like the pic. PERFECT.
Thanks heaps. I have 'thanked' your post. Good job.
Click to expand...
Click to collapse
Hi Hgalanos,
Please, don't feel like that, it happen to everyone sometimes
I'm glad it works for you too and you get it the way you like it, thanks for your feedback my friend.
Best regards.
hgalanos said:
Thank you for the reply, and your effort.
I don't have screen capture software so I hope you know what I mean. I fyou want a screen print, please link a screen capture app.
Click to expand...
Click to collapse
Hi again my friend,
I forgot to give you a hand with this one too, so here I'm again
For screen capture I use a great app that is very easy to use and works perfectly and with good quality, it is "Shake and Save" which you can find it in this thread: http://forum.xda-developers.com/showthread.php?t=488990
Best regards.
Wow, brilliant app. Thank you x2. For the app, and the clock.

Replacing Icons in framework-res.apk

I've been opening up framework-res.apk as a zip file and changing around icons for my status bar with other themes. I just replaced the signal bars icons and the 3G icons, repackaged the framework into a zip file, and applied it via rom manager. No Icon change. I've been able to replace several before, any ideas why it wouldn't work now? I reopened the file and verified the icons had been changed.
The icons you are looking for are in com.htc.resources.apk
If you have something specifically you want changed I can tell you where it is located and what the filename is. I am building some theme tutorial videos because I had a hard time finding all of this information. I want to make it easier for others. I remember all the way back in June when I got frustrated finding what files went where. I am making a list to help others out, let me know what you are looking for.
[email protected] said:
The icons you are looking for are in com.htc.resources.apk
If you have something specifically you want changed I can tell you where it is located and what the filename is. I am building some theme tutorial videos because I had a hard time finding all of this information. I want to make it easier for others. I remember all the way back in June when I got frustrated finding what files went where. I am making a list to help others out, let me know what you are looking for.
Click to expand...
Click to collapse
Subscribed!
Sent from my ADR6300 using XDA App
subscribed as well, a video with some info would be great. I am definitely no developer, but not afraid to mess around a bit. I was also interested in making similar changes as OP.
In fact I am using Jerick's smooth sense mod with white letter mod by squintz, and a couple of the icons were coming up out of order. I was not cool enough to be able to repair the info that points to an icon so I found the icons in framework-res.apk and changed the names of them so that I would get the correct icon in status bar. But obvously that is not the correct fix. However this is where the icons OP is talking about. So if I can make a name change to a png can't you also replace that png. I believe that the apk has to be signed correctly after manipulating?
Anyways any basic info about doing such would be greatly appreciated
spjoneser said:
subscribed as well, a video with some info would be great. I am definitely no developer, but not afraid to mess around a bit. I was also interested in making similar changes as OP.
In fact I am using Jerick's smooth sense mod with white letter mod by squintz, and a couple of the icons were coming up out of order. I was not cool enough to be able to repair the info that points to an icon so I found the icons in framework-res.apk and changed the names of them so that I would get the correct icon in status bar. But obvously that is not the correct fix. However this is where the icons OP is talking about. So if I can make a name change to a png can't you also replace that png. I believe that the apk has to be signed correctly after manipulating?
Anyways any basic info about doing such would be greatly appreciated
Click to expand...
Click to collapse
You don't need to resign the apk unless you completely extract it. Then good luck trying to get a system apk to work. Just open the archive and replace needed imgs then update the archive and you're done. All depends on what os your using. Linux makes it easy to edit apks without extracting. In win you have to rename to .zip then do line I said then rename back to .apk
Sent from my ADR6300 using XDA App
Which files specifically are the signal meter? I just want to change those ones back to the stock icons.
jskolm said:
Which files specifically are the signal meter? I just want to change those ones back to the stock icons.
Click to expand...
Click to collapse
I can tell you later (i dont have the dump on hand) but the signal meter pngs are located in com.htc.resources.apk under /res/drawlablehdpi/ thay have a name like sys_status_cdma1 or something like that. I think if you get that far the images might jump out at you. If you want the exact ones I can tell you when I get back from work.
[email protected] said:
I can tell you later (i dont have the dump on hand) but the signal meter pngs are located in com.htc.resources.apk under /res/drawlablehdpi/ thay have a name like sys_status_cdma1 or something like that. I think if you get that far the images might jump out at you. If you want the exact ones I can tell you when I get back from work.
Click to expand...
Click to collapse
Found them. Thanks for the direction. I was looking through the folders and I couldn't find them, because they are transparent backgrounds, so the white on white blended right in. I changed out the signals for the ones I wanted and everything looks like its working now.
Thanks for your help!

[Q] Background Colors - SMS, Conversation History...

I know this is probably petty, but for me it's sort of a big deal.
I like light characters on a black screen, especially at night. There are flashlight apps to turn the screen white because it's bright and at night I would prefer to have a black screen.
Is there a way to change the conversation history to black, and lso for the background behind the balloons in an SMS?
Is there a ROM that has an option for this?
Thanks for the help!
Go sms. Totally customizable. Backgrounds, fonts, font colors, etc
Sent from my SAMSUNG-SGH-I727 using Tapatalk
Ends said:
Go sms. Totally customizable. Backgrounds, fonts, font colors, etc
Sent from my SAMSUNG-SGH-I727 using Tapatalk
Click to expand...
Click to collapse
Handcent will let you do this too.
If you get GoSMS Pro, grab the Theme builder in the market as well. It will allow you to totally create your own theme.
liquidzoo said:
Handcent will let you do this too.
If you get GoSMS Pro, grab the Theme builder in the market as well. It will allow you to totally create your own theme.
Click to expand...
Click to collapse
I should have included that I've tried all those. Yes, they're good and very customizable. But I've not been able to get them to work seamlessly and to replace the stock messaging. One of those my keyboard does't display properly with and simple other things. Plus I really like how I can go to messages and slide to the right to call. That's the easiest way to call people. That's my favorite feature and no one else has that.
What's so hard about changing the stock messaging to black with white text? lol At one point there was a night mode that made the conversation history black, but not now.
One question... For example a lock screen. There are different ones to install. Is there a different messaging to install to replace stock that someone has added things to? I don't even know if it's possible to replace messaging or not. I don't really want to install another app... I've just not had the best luck with them having the right feel.
Firstly, are you on GB or ICS? And which ROM?
If GB, you could swap out the AT&T mms.apk with the Rogers version, as they use a dark charcoal background behind matte blue and yellow bubbles (was always my favorite). Or you could try the mms.apk that Sean used to include in his GB ROMs. It was basically stock, but came with 5 themes. If you're on NexusMod GB, somewhere in the thread R4INS posted a CM7 mms.apk which has a light and dark theme.
If you're on an AOSP ICS (which I know you're not since you mention swipe to call), you could try the inverted mms.apk, which is black. If you're on stock ICS, the only thing I can think of is to just decompile the apk and use Gimp to change the colors as you'd like them (which goes for any apk really), although I think the important images are *.9.png's which are tricky. Or since you like TouchWiz, see what the T-Mobile mms.apk from their leak looks like? And if it works? As I don't know the answer to either.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I'm running ICS that I just flashed. I put in SKYICS also.
Thank you for getting back to me. I'm new to this and starting to figure things out. I opened the mms.apk with WinRar and found most of what I want to change. I've not used Gimp. For colors I usually use Office Picture Manager. I'll have to check out Gimp. I'm starting to understand a little about the xdaAutoTool. I suppose I have to decompile the mms.apk , modify what I want, then recompile it, zip it all back up, then install it through CWM. I can't get the adaAutoTool to run because of the OCX thing and I don't know how to register the files. I wish I knew someone that could decompile the apk, let me change some of the .png files and recompile it for me. I want to change the editor box from this almost black to black beause it looks incredibly grainy at 1% gray or whatever it is. The hard thing for me would be figure out how to change the text color to white if I had to on the conversation list. I think I'll do as you suggested and look for another mms.apk.
You said I like TouchWiz... I'm not exactly sure what that even is. Isn't that something to do with the buttons and how they look at the bottom?
You mentioned the CM7 something. I'm not exactly sure what the CM is. I have CM5 and it said I have a mismatch when I tried to restore my original ROM that I backed up. it was 2.3.6 I think.
Thanks for the help and I'll be back. I'm going to look for another mms.apk...
CodeRedDewd said:
I'm running ICS that I just flashed. I put in SKYICS also.
...
I'm going to look for another mms.apk...
Click to expand...
Click to collapse
I think I may have just come across a solution for you. Did you see this post in the SkyICS thread?? I'd look into that one first before attempting any of the above.
---------- Post added at 05:51 PM ---------- Previous post was at 05:43 PM ----------
CodeRedDewd said:
I'm new to this and starting to figure things out. I opened the mms.apk with WinRar and found most of what I want to change. I've not used Gimp. For colors I usually use Office Picture Manager. I'll have to check out Gimp. I'm starting to understand a little about the xdaAutoTool. I suppose I have to decompile the mms.apk , modify what I want, then recompile it, zip it all back up, then install it through CWM. I can't get the adaAutoTool to run because of the OCX thing and I don't know how to register the files. I wish I knew someone that could decompile the apk, let me change some of the .png files and recompile it for me. I want to change the editor box from this almost black to black beause it looks incredibly grainy at 1% gray or whatever it is. The hard thing for me would be figure out how to change the text color to white if I had to on the conversation list. I think I'll do as you suggested and look for another mms.apk.
Click to expand...
Click to collapse
Now I'm no expert on this or anything and haven't done much research on it, so I don't know everything you're talking about. But when I manually swapped out battery icon images from framework-res.apk, I didn't do any unzipping, rezipping, decompiling, recompiling. All I had to do was *open* the archive with 7zip (NOT unzip). Delete the images in there I wanted to replace. Then drag and drop the new images into the archive. As long as they were the same names and I wasn't adding or removing any images, there was no need to change any of the XML files. And it all worked fine.
As I said though, if I recall (as I actually looked into trying to do this myself with the help of another guy -- I wanted to make the AT&T mms.apk look like the Rogers mms.apk) the background image and maybe the bubble images too are 9-patch files, which are the image_name.9.png files. They require a very special process for editing. So that might require a bit more work.
---------- Post added at 05:58 PM ---------- Previous post was at 05:51 PM ----------
CodeRedDewd said:
You said I like TouchWiz... I'm not exactly sure what that even is. Isn't that something to do with the buttons and how they look at the bottom?
Click to expand...
Click to collapse
Haha something like that. TouchWiz is the graphical overlay (UI skin) Samsung puts on top of "vanilla" Android, or AOSP. Every manufacture does it. Motorola's is called MotoBlur. HTC's is called Sense. And so on. The Nexus line of phones is the only one to get stock, vanilla Android (AOSP). So it's the reason all android phones from the same manufacture look somewhat the same.
TouchWiz does consist of those buttons at the bottom and how they look (I assume you're talking about the docked apps - Phone, Contacts, Email, Apps). But it's also the system apps (Messaging, Email, Phone, Contacts, Settings, etc.) and how they look and act. The swipe right to call / swipe left to message is a feature of TouchWiz, which is why I said you liked TW because you like that feature.
---------- Post added at 06:07 PM ---------- Previous post was at 05:58 PM ----------
CodeRedDewd said:
You mentioned the CM7 something. I'm not exactly sure what the CM is. I have CM5 and it said I have a mismatch when I tried to restore my original ROM that I backed up. it was 2.3.6 I think.
Click to expand...
Click to collapse
CM stands for CyanogenMod and consists of a more AOSP feel, unlike Samsung's TouchWiz. So it doesn't have the swipe to call feature; usually just tap the contact picture inside Messaging and it gives you the option to call. CM7 was their Gingerbread build. CM9 is their Ice Cream Sandwich build.
Basically CyanogenMod has created a replacement/aftermarket firmware to replace Google Android (AOSP). It's sort of different than just a custom ROM because a custom ROM is usually just built with one phone in mind (whichever one the developer owns). CM is a firmware built the same way, with the same features, for as many phones as they can support. So your specific phone still needs to be supported and have its own specific build, but once you have it on you phone, it will look and feel just like any HTC, Motorola, etc. that is also running CM.
So it's based off of Google Android (AOSP), it's completely self-contained as its own operating system (somewhat anyway).
We have an unofficial alpha of CM9 in the development section if you want to give it a shot! (Unofficial means it's not being built by or currently supported by the actual CyanogenMod team. Just a private individual is using their source code to make it work with our Skyrocket.) It works rather well and is like 99.5% a daily driver.
Wow, thank you for that information. Some of the fuzzy things are a little clearer now but not much. lol
What you said about replacing a png - I opened the ROM in 7Zip, clicked down to the Mms.apk. I right clicked and copied to desktop. I opened that in 7Zip and dragged and dropped the png into that. I changed the file extinsion to .zip and put in on my phone. When I tried to install it though CWM touch it just aborted.
I'm not 100% sure, but I edited the png in paint. I magnified it 800 times and could see a perfect rectangle inside of this other stuff. I only made the perfect rectangle black and saved. The one I'm doing is textfield_default_dark.9.png. I don't quite think I edited it wrong since it wouldn't even install. My editing wrong would make it FC or not show right?? I don't know how to troubleshoot.
In the meantime I'm going to check out some of your other suggestions. However I would LOVE to be able to fix what I want. Why make a black that's not black and can't be displayed right by the display because the pixels are just barely on?
Suggestions on my proceedure? I read somewhere earlier that there has to be some something done to the png for permission or something strange....
I checked out the dark themed Mms.apk you mentioned at the top. This is what it says.
This is not flashable. what you'll need to do is navigate to system--> app, rename your current mms.apk to something like "mms.apk.old" or "mms.apk.bak". Then paste the attached into the same folder. Reboot your phone and voila.
I lost root access and cannot get it back when I installed SKYICS. I'm running UCLD2. I haven't been able to put together what to do about this. I tried to install my original backup and it said CM5 mismatch or something. I do believe I need root access to navigate to the system folder because I can't find it?
yeah. you need root. you dont really need to "flash" in CWM. Just replace the original in the system. But you do need root. Reboot into recovery and flash superuser
I did that a few times and nothing. I gave up on rooting for a while then now I'm rooted. Titanium, when I opened it, asked for permission. It wouldn't do that yesterday. I'm just going to have to say okay I'm rooted.
I'm trying to find the system directory right now...
CodeRedDewd said:
I'm not 100% sure, but I edited the png in paint. I magnified it 800 times and could see a perfect rectangle inside of this other stuff. I only made the perfect rectangle black and saved. The one I'm doing is textfield_default_dark.9.png. I don't quite think I edited it wrong since it wouldn't even install. My editing wrong would make it FC or not show right?? I don't know how to troubleshoot.
Click to expand...
Click to collapse
Yea so like I said, since it's a 9-patch file (*.9.png), I'm not sure if you can just edit the image and throw it back in there. I'm guessing that Paint only recognizes it as a *.png, and so saves it as such. 9-patch images need to be recompiled, as far as I know. So that might've screwed you up, even if you installed it right.
CodeRedDewd said:
What you said about replacing a png - I opened the ROM in 7Zip, clicked down to the Mms.apk. I right clicked and copied to desktop. I opened that in 7Zip and dragged and dropped the png into that. I changed the file extinsion to .zip and put in on my phone. When I tried to install it though CWM touch it just aborted.
Click to expand...
Click to collapse
So about installing it. Everything above sounds like the correct process EXCEPT for changing the file extension. A CWM flashable zip isn't just any old zip file. It's has a certain structure to it and includes a script file that tells CWM exactly what to do with the information contained inside the zip. With a system apk, all you need to do is get the file on your phone somehow (microSD, USB cable, Dropbox, etc.), and then copy and paste it into the /system/app directory, afterwards setting its permissions to rw-r--r--. To do this, yes you will need root access. It shouldn't be that hard to just root again if you lost it somehow. Or judging by your last post, you may have successfully rooted again.
CodeRedDewd said:
I checked out the dark themed Mms.apk you mentioned at the top. This is what it says.
This is not flashable. what you'll need to do is navigate to system--> app, rename your current mms.apk to something like "mms.apk.old" or "mms.apk.bak". Then paste the attached into the same folder. Reboot your phone and voila.
I lost root access and cannot get it back when I installed SKYICS. I'm running UCLD2. I haven't been able to put together what to do about this. I tried to install my original backup and it said CM5 mismatch or something. I do believe I need root access to navigate to the system folder because I can't find it?
Click to expand...
Click to collapse
Which brings us back to this mms.apk. Definitely give this app another shot using the above method once you obtain root again. You will need an app such as Root Explorer, which can be downloaded from the Market.
As far as restoring your backup, the error you received was an MD5 checksum mismatch error. You can Google what MD5 means, and possible reasons why CWM gave you that error. I think it gives it to you sometimes when you rename a backup file and put a space in the file name.
I'll have to research that MD5 thing...
I got the Mms.apk copied to the right directory and my changes worked. I have to use something other than paint that allows me to keep white as the transparant color. This is pretty awesome... Maybe I'll post my result when I figure out what's going on. I'm thinking the text field is a box within a box. I got a black box with a very dark gray one in the middle... But it's progress! Thanks for your help!
CodeRedDewd said:
I'll have to research that MD5 thing...
I got the Mms.apk copied to the right directory and my changes worked. I have to use something other than paint that allows me to keep white as the transparant color. This is pretty awesome... Maybe I'll post my result when I figure out what's going on. I'm thinking the text field is a box within a box. I got a black box with a very dark gray one in the middle... But it's progress! Thanks for your help!
Click to expand...
Click to collapse
That's awesome man, good job! Wanna post a screenshot for me? A before and after if you have it?
But if you need something better than Paint, I'd look into Gimp. It's what most of the guys on here use. It's basically the Linux version of Photoshop. And being Linux, it's free and open source... and has been ported over to Windows. It works great for quick image editing. Just takes a bit of Googling to learn all the buttons haha.
I'm using Gimp because it keeps the transparant background. I had a big white box around my box from paint.
Update: When I used paint, it seemed things worked correctly besides the white box around the editor. The transparancy was lost. In Gimp, if I change 1 pixel I get a whole distorted image for the editor. In paint, I made the blue line gold and the box black. That looked great. Nothing seems to be working right with Gimp. Wait, in Paint I did notice one thing. The box was a true black, but with a lighter black, wide stripe in the middle from end to end, as if it was another png inserted into it. Hmmm... In Gimp it looks like nothing is getting inserted and the small image is stretching all the way across with the thin blue line getting super fat. I didn't jack the image up. I only changed one pixel to red in the middle of the black. I'm thinking there's more to this. Someone posted something about a decompiled image that had extra dots around the edge and one a one pixel line on two sides or something. I didn't break anything, because I put in an untouched png and it fixed things, so it's just the image.
Any ideas? I'm headed out to watch a movie, but I'm determined.
Look for a brush diameter or feathering option in Gimp and change it to the smallest one you have. I've had to do that in both Photoshop and Gimp before to get the apk changes I've made to look right and not have that outlining that you're referring to.
I understand what you mean, but this is different.The .9.png looks exactly the same when I edit it. I'm just making it darker. The .9.png files are made of 9 sections taht are stretched individually so the image is not distorted. In my case, Gimp is destroying that ability and the image is getting stretched the wrong way when displayed. For example, if you stretch a line along its lengt it still looks like the same line only longer, which is what they do. But if you stretch it across its width, it becomes this fat line, which is what is happening in my case.
I think you're editig just .png and not .9.png files?
CodeRedDewd said:
I understand what you mean, but this is different.The .9.png looks exactly the same when I edit it. I'm just making it darker. The .9.png files are made of 9 sections taht are stretched individually so the image is not distorted. In my case, Gimp is destroying that ability and the image is getting stretched the wrong way when displayed. For example, if you stretch a line along its lengt it still looks like the same line only longer, which is what they do. But if you stretch it across its width, it becomes this fat line, which is what is happening in my case.
I think you're editig just .png and not .9.png files?
Click to expand...
Click to collapse
Do you think some information in this tutorial could be of any help? There's also a video tutorial available.
Yes it's possible that would be very helpful. I found either that or another tutorial last night. It was interesting how the .9.png files are sectioned. I conda figured that out on my own, because it would have to be to get bigger and not distort fine lines. I'll have to find that tutorial itself, because that post you linked has no links in it. I went to a 9patch website or something that had all the stuff, but it got too deep pretty quickly. In the short time I studied it, I had no clue how to even begin to install and use the program.
What baffles me is how Paint didn't screw up the .9.png. It worked fine with my edits, only it had no transparency so there was a white border. It was able to scale fine to landscape and portrait. It looked great. I totally though I had it figured out. :/ Have you looked at how to do .9.png files?
CodeRedDewd said:
Yes it's possible that would be very helpful. I found either that or another tutorial last night. It was interesting how the .9.png files are sectioned. I conda figured that out on my own, because it would have to be to get bigger and not distort fine lines. I'll have to find that tutorial itself, because that post you linked has no links in it. I went to a 9patch website or something that had all the stuff, but it got too deep pretty quickly. In the short time I studied it, I had no clue how to even begin to install and use the program.
What baffles me is how Paint didn't screw up the .9.png. It worked fine with my edits, only it had no transparency so there was a white border. It was able to scale fine to landscape and portrait. It looked great. I totally though I had it figured out. :/ Have you looked at how to do .9.png files?
Click to expand...
Click to collapse
The tutorial is contained in the OP of that post I linked to. It contains links for all the tools you need and a short description of the process to follow. And then I think the video tutorial might just guide you through the OP of that first link.
But yea, that's really interesting how Paint worked so well. Did you happen to take any screenshots of the Paint-edited apk running on your phone?
And no, I actually have never looked into editing .9.png files. Didn't really even know how they worked until you explained them a little bit in one of the above posts.
I attached an image. I'm not sure if it's going to show up in the post as an image; we'll see.
There is a white box around what is suppose to be shown as the editor. In the center of the black box it's not true black as the black surrounding it that I changed in the .9.png. The center must be another image.
I'm thinking I'm just going to make the white black, find the other gray images the buttons are on and make that one black. Who needs transparancy when it's all black, which is what I want anyway. lol
I'm going to look into the 9patch some more... It just seems so complicated with how to install and get working. It would be nice to work with someone who is actively editing .9.png's to get me on track....
Do you have an interest in editing those png's? lol

[Q] How to dim soft keys Loli 5.1

Title say all , i have a Nexus 5 lolipop 5.1 and i want to full dim 0 my visor . Softkeys inclued.
Need help please.
If you want to dim the navigation bar (why would you need to?) you'll probably have to decompile SystemUI, modify the drawables then recompile, or use Xposed.
It's not necessary to decompile. As .apk is actually a .zip, you can simply change .png-s inside drawable folders.
But if you use 5.1 it will be much harder to change original SystemUI with yours, because of security changes in system partition.
zagorteney said:
It's not necessary to decompile. As .apk is actually a .zip, you can simply change .png-s inside drawable folders.
But if you use 5.1 it will be much harder to change original SystemUI with yours, because of security changes in system partition.
Click to expand...
Click to collapse
This one is tricky though since you have to make sure, not to damage the signature. Some PNG use a "special" format and need to be decompiled first --> modified --> recompiled --> injected again in the Framework.
Gorgtech said:
This one is tricky though since you have to make sure, not to damage the signature. Some PNG use a "special" format and need to be decompiled first --> modified --> recompiled --> injected again in the Framework.
Click to expand...
Click to collapse
I wrote this many times: you DON'T need to decompile apps which came from factory image. And even .9.png-s can be simplycomment on this are changed. For example: We wish to change background of power widget. 1. Pull the Settings.apk from /data/priv-app. Copy to PC. Rename it to .zip (you don't need any extra tool for this) or use TotalCommander - you even don't need to rename .apk to .zip with it. We must look for appropriate image (appwidget_bg_holo.9.png in /res/drawable-xxhdpi-v4) inside. Make some regullary png in Photoshop in size and resolution of original one - you can free your imaginations about colors as you like. Now copy the name of original image and with paste rename your own. Put your renamed image into .zip (overwrite original one) and thats all philosophy.
This is possible just with apps from factory image and you will not brake any signature. This works for me since Xperia X10 until Nexus 5 with 5.0.2. On 5.1 biggest problem is (at least for me) that I don't know how to integrate updates of system apps into rom. But if you are on 5.0.2 or above, you can simply try. Just remember to backup first.
Regards, Zagor
P.S. Any further informations are welcome, but at least people try this first. And it's a little annoying to write this down over and over again.
Extracting and inserting pictures is not the problem but like I mentioned before, the "9" PNG. If you simply copy them, edit them and reinsert them again, it might turn out to be a mess and these pictures are not displayed the right way. I gave up theming stuff a long time ago since it´s not really worth the trouble anymore. At least if you use a legal Gfx tool ( since I have my doubts that most people own a real licensed version of Photoshop anyway ) like eg. GIMP, you might expect some trouble if you don´t decompile "9" PNGs first. At least I can tell that I had to go through the trouble while I still had my old Galaxy S3 in order to make them usable, the way I wanted them to be
I know the procedure, don´t worry
Gorgtech said:
Extracting and inserting pictures is not the problem but like I mentioned before, the "9" PNG. If you simply copy them, edit them and reinsert them again, it might turn out to be a mess and these pictures are not displayed the right way. I gave up theming stuff a long time ago since it´s not really worth the trouble anymore. At least if you use a legal Gfx tool ( since I have my doubts that most people own a real licensed version of Photoshop anyway ) like eg. GIMP, you might expect some trouble if you don´t decompile "9" PNGs first. At least I can tell that I had to go through the trouble while I still had my old Galaxy S3 in order to make them usable, the way I wanted them to be
I know the procedure, don´t worry
Click to expand...
Click to collapse
As I said: you must not copy and edit existing .9.png. You have to create a new one and just name it with the procedure as I wrote above. So you have to copy the name of .9.png and paste that in the name of your own image. Am I clear enough now?
Forgive me to say, but you don't know this. Sorry.
Best regards, Zagor
I guess you don´t read what I write ? If you want to color a existing image ( "9" ), it will be displayed faulty if you don´t proceed like I did. End of the story. You can replace it with another image you can rename but it won´t be displayed the right way in some circumstances. I´m out.
zagorteney said:
As I said: you must not copy and edit existing .9.png. You have to create a new one and just name it with the procedure as I wrote above. So you have to copy the name of .9.png and paste that in the name of your own image. Am I clear enough now?
Forgive me to say, but you don't know this. Sorry.
Best regards, Zagor
Click to expand...
Click to collapse
Gorgtech said:
I guess you don´t read what I write ? If you want to color a existing image ( "9" ), it will be displayed faulty if you don´t proceed like I did. End of the story. You can replace it with another image you can rename but it won´t be displayed the right way in some circumstances. I´m out.
Click to expand...
Click to collapse
Out of what? Space?
I don't guess, I conclude: You don't read or understood what I wrote.
Back to topic: OP: If you want to change navbars buttons (those are ordinary .png-s) you can simply pull them off, modify them and put back into .apk as I already described. You don't need to decompile, compile, undercompile or hipercompile anything.
Regards from Jupiter (yes, I'm also out), Zagor
And the last and for all!
This has been done without superduperpuper compiling. Just pure windows and photoshop.
@Elluel, @Gorgtech and all of the other sceptics: Look at the navbars of attached screenshot and next time, please check the informations before you disagree with them.
Regards, Zagor
IMO @zagorteney is right as long as you do not unzip/extract the apk. If you check the .9.png with a zip viewer then you can see the black border of 1px. Modifying the icon/log/picture without touching the black borders should not create bugs.
Regarding the navbar buttons it's easier as explained above.
@Primokorn
I've changed almost all of Xperia S UI on that way, to looks more AOSP. But at the end I figured it out, that it's simplier if I get Nexus.
Just to notice you. The problem is because in photoshop you can't create .9.png-s. But if you create your own png and rename it with the mentioned method, there will be no problem with those images either. For example, you can try to change power widget background on this way.
zagorteney said:
@Primokorn
I've changed almost all of Xperia S UI on that way, to looks more AOSP. But at the end I figured it out, that it's simplier if I get Nexus.
Just to notice you. The problem is because in photoshop you can't create .9.png-s. But if you create your own png and rename it with the mentioned method, there will be no problem with those images either. For example, you can try to change power widget background on this way.
Click to expand...
Click to collapse
Actually you can create .9.png files with Photoshop. I did it a lot of times.
Anyways all my modded apks have been decompiled/modified/recompiled because you cannot use this method for .xml files, can you? Moreover, theming files with a phone is a mess compared to a comfortable destop version of PS lol
@Primokorn
Yes, its true if we are talking about some serious theming. But OP just want to get little different nav buttons. So, I just want to say, that you don't need to change any .xml for that purpose, you don't need to decompile and recompile and you don't need to worry that you'll break signatures. As simple as that.
That's all folks.
zagorteney said:
@Primokorn
Yes, its true if we are talking about some serious theming. But OP just want to get little different nav buttons. So, I just want to say, that you don't need to change any .xml for that purpose, you don't need to decompile and recompile and you don't need to worry that you'll break signatures. As simple as that.
That's all folks.
Click to expand...
Click to collapse
Yes, I know. Everything is clear on my side
Primokorn said:
Yes, I know. Everything is clear on my side
Click to expand...
Click to collapse
At least one who deserves all of those thanx.
zagorteney said:
At least one who deserves all of those thanx.
Click to expand...
Click to collapse
Do not be rude. Nobody can know everything and it is one of the goals of XDA to learn every day. All recognized members deserve their status.
A app that do that easy and without so much work is nice , my know how on this stuffs are limited :crying: , im kitkat i use a app that does that without so many work , now i use another but just dim the visor the softkeys still are very white full light... :crying:
Primokorn said:
Do not be rude. Nobody can know everything and it is one of the goals of XDA to learn every day. All recognized members deserve their status.
Click to expand...
Click to collapse
The problem is that n00bs are mislead by recognized members who think that they know everything. At least they could check before post.
And no, I'm not rude. Rude are exactly those contributors.

Categories

Resources