TW Lock Screen without the clock? - Epic 4G Q&A, Help & Troubleshooting

Hello all, I was wondering if there was a way for me to remove the Clock on the top of the Touchwiz lockscreen alltogether. I would normally just use the AOSP lockscreen, but after flashing Nebula 1.0.7, I've changed my mind about the lock screen. Problem is, I'm using a live wallpaper that has the time and date at the same place as where the touchwiz lockscreen's clock is, so i just wanted to remove it.
Thanks, guys

Your gonna have to edit the framework.apk your self. Cause there is no universal way of doing it that I know off right now. If you edit the framework you can make everything 100% transparent. I'm sure one of the .jar files could be edited but again not really universal if the rom dev has any changes in that jar file
Sent from my PC36100 using XDA App

Is that all I do? Don't I have to resign the APK or something like that? I've poked around here and there but I'm still kind of a noob.
So I can do whatever I want the framework-res.apk, and I just zip it back up and push it and overwrite? Or is it more complicated?
Also, do the PNG's have to be special? 16-bit,32-bit,interlaced, etc?

brianhuangbh said:
Is that all I do? Don't I have to resign the APK or something like that? I've poked around here and there but I'm still kind of a noob.
So I can do whatever I want the framework-res.apk, and I just zip it back up and push it and overwrite? Or is it more complicated?
Also, do the PNG's have to be special? 16-bit,32-bit,interlaced, etc?
Click to expand...
Click to collapse
You might wanna read the how to on themeing by dreamsforgotten
Sent from the deepest parts of hell!!!

Moved to Q&A

Related

[Q] Dev/Themer Question XML and Image to edit??

Ok so I've managed to edit a few of my apks on my phone to something that I like better and that's been easy because i knew the files I needed to edit would be in the apk itself. With me so far?
So now I want to edit some files on the ROM I'm using, but this is where it gets tricky, because I dont know if I need to edit the framework, SystemUI, or Roise, etc.... to get what I want.
So... here is my question: Attached is an image of my menu that pops up when I git my Meny button on my Evo. You'll notice my icons are pulled from another Rosie.apk which I replaced with my current Rosie.apk. I had to pull edit and push this mod because flashing it was not compatible with my current ROM. So now, that i have the icons I want, I want to make the background of this menu (and possible others) black transparent and the text white. I know this can be done because I've seen it and would like to know which files need to be edited.
Does anyone know that could toss me a bone??
I've also posted this on Android Central, but no one seems to know there...
for the menu background color it should be either menu_background or menu_background_fill_parent_width both in framework-res.
For the text color i dont know but poke around the .xmls in framework or ask here http://forum.xda-developers.com/showthread.php?t=468254&page=283
eniamg02 said:
for the menu background color it should be either menu_background or menu_background_fill_parent_width both in framework-res.
For the text color i dont know but poke around the .xmls in framework or ask here http://forum.xda-developers.com/showthread.php?t=468254&page=283
Click to expand...
Click to collapse
Many thanks my friend... MANY MANY THANKS!
Yw,if you figure out how to change the text color in menu you should post findings here.
Sent from my PC36100 using Tapatalk

Question about theme mod's

Hi there I have just got my SGSII
i've been able to root it and install TW4.5 and pretty much have the device exactly how I want it with just one gripe
The drop down of the notification bar is way too dark especially for notifications with black fonts.
Can anyone point me to any kind of guide or way of changing the the background graphic for this drop down?
Thanks in advance
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
dully79 said:
Everything you'll ever need to know
forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Hey man thans very much for the resources they helped me find what I needed.
however the methods of editing seemed very complex for my needs ....
Since I only wanted to change some of the png graphics slightly (just to lighten them up) I opened the framework-res.apk and the systemui.apk in winrar extracted the png's I wanted lightened them up with irfanview dropped them back in the still open apk in winrar and then copied the apk's back where the originals were (renaming the originals .bak first).
I didn't change any .odex or .jar files in any way and I have kept backups of all the originals just in case so I only have one question for you.
can you think of any reason my simple method, for graphics only, would have caused any harm?
it doesn't seem to have after a reboot it seems to have had the desired affect on the notfication bar (which was to make all notifications readable whether they had black or white fonts)
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
sileshn said:
There are 2 kinds of PNG files. Ordinary PNG files can be edited without any problems, but to properly edit .9 png's, you need to decompile the apk first, make changes and then recompile.
To do that, you need to use apktool/apk manager.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
ok so if I have edited one of the .9.png and I think I might have done and simply dumped it back in the apk with winrar what harm might I have done and what symptoms might I see?
Sometimes you can get away with editing .9' s the way you have if the black border around the outside stays completely black, any slight discoloration and its force close city on a one way ticket courtesy of systemui.
It seems you my have gotten away with it......this time.
Thanks to everyone who has repsonded to me on this thread you have all been very helpful. This is a truely wonderful phone I cant believe how big a step up this is from my old SGS. I tired all sorts of custom roms and mods on that to get features on that, with this I have it pretty much exactly where I want it simply by rooting and installing a the custom Touchwiz 4.5 (I have other lauchers but find myself going back to that all the time)
So the only remaining thing was the fact that some notifications were in black and the backgrounds on the notification drop down were too dark to read some app's notifications in black with a simple glance so your help with finding the right pngs and files (systemui.apk and framework-res.apk) were very very helpful. Not sure if this was the simplest way to achieve what I needed but it worked so I am happy.
Thanks again one and all.

How do I replace battery icons in ICS

I'm currently using Calk's 1.6 stock based ICS rom and cannot find the percentage battery icons so I can replace them with something different. In GB it was pretty easy but I guess some things have changed with ICS. I would rather know how to do this manually, I do not want an app or use the UOT for this. Tnx.
I cannot help you with that ROM but if you look at different ROM's, particularly the Blu Kuban, there are many battery styles you can choose from. I installed this ROM last weekend and am thoroughly enjoying it. You can do lots of customization's with it.
tdunham said:
I'm currently using Calk's 1.6 stock based ICS rom and cannot find the percentage battery icons so I can replace them with something different. In GB it was pretty easy but I guess some things have changed with ICS. I would rather know how to do this manually, I do not want an app or use the UOT for this. Tnx.
Click to expand...
Click to collapse
It is really quite tricky unless you have a theming background. If I remember right the files you need to modify are in the systemui.apk. You would need to decompile it, swap the image files, recompile it and then push it to system/app.
I'd recommend going the easy route and trying ROM Toolbox Pro.
rwilco12 said:
It is really quite tricky unless you have a theming background. If I remember right the files you need to modify are in the systemui.apk. You would need to decompile it, swap the image files, recompile it and then push it to system/app.
I'd recommend going the easy route and trying ROM Toolbox Pro.
Click to expand...
Click to collapse
Oh, don't get me wrong, I'm not shy about de/recompiling apk's but in ICS I don't think its as easy as swapping out some .png files like in GB. I've already looked in systemui and framework and the battery icons are solid, whereas the rom shows the battery percentage icons.
You can use the UOT Kitchen here: http://uot.dakra.lt/kitchen/
Pick the icons you want, upload the framework files from your rom, and you get a flashable zip. Very easy (assuming they have an icon style you like of course).
TD22057 said:
You can use the UOT Kitchen here: http://uot.dakra.lt/kitchen/
Pick the icons you want, upload the framework files from your rom, and you get a flashable zip. Very easy (assuming they have an icon style you like of course).
Click to expand...
Click to collapse
Sorry, once again I want to do this manually by reprogramming systemui/framework and do not want to use any third party app or the UOT. Thanks.
The files are in the SystemUI.apk file. You need to replace ALL the files named stat_sys_battery*.png (there will usually be like 100 for % and another 100 for charge) ex: stat_sys_battery_98.png & stat_sys_battery_charge_anim99.png
You will find the files in res/drawable-hdpi
All you need to do is replace the existing ones with the new ones. I would make a backup cause stuff does go wrong. Also I find it easiest to replace the SystemUI.apk using a flashable zip file.
If you need help with any of this just let me know.
CyberpodS2 said:
The files are in the SystemUI.apk file. You need to replace ALL the files named stat_sys_battery*.png (there will usually be like 100 for % and another 100 for charge) ex: stat_sys_battery_98.png & stat_sys_battery_charge_anim99.png
You will find the files in res/drawable-hdpi
All you need to do is replace the existing ones with the new ones. I would make a backup cause stuff does go wrong. Also I find it easiest to replace the SystemUI.apk using a flashable zip file.
Click to expand...
Click to collapse
Ok, finally a sane person.
Just kidding, everyone means well...
Anyway, I am going to attach the framework & systemui.apk so you can see what I'm talking about. I am on Calk's v1.6 from here (in case you're not familiar with it, there are screenshots of the stock TW looking desktops):
http://forum.xda-developers.com/showthread.php?t=1527041
As you can see, the rom's using a 1% battery percentage icon set. However, they can not be found in either framework or systemui.
I know it should be that easy but I just don't know on this stock FE22 based rom.
Edit: There are 26 battery icons in systemui. They do appear to be similar to the ones for the rom but the numbers are missing from the icons so I'm taking a stab that somehow the numbers are superimposed over the icon and this rom does not use the entire 200 or so individual icons if that makes any sense. Gonna test that theory.
Ok, finally figured it out. The developer's aren't putting the full 1% battery icons in yet and the stat_sys_battery.xml files haven't been edited for that yet either. Guess I'll just have to change that .
Thanks everyone.
tdunham said:
Edit: There are 26 battery icons in systemui. They do appear to be similar to the ones for the rom but the numbers are missing from the icons so I'm taking a stab that somehow the numbers are superimposed over the icon and this rom does not use the entire 200 or so individual icons if that makes any sense. Gonna test that theory.
Click to expand...
Click to collapse
I confirmed the battery percentage numbers displayed on the status bar are hard coded into the stock ICS rom. I even removed all of the battery png files and the only thing that remains is a lonely little '89%' showing in the notification bar w/o the icon around it.
Anyone know where the code for that might be?
Found this too. Settings, display
Sent from my SPH-D710 using XDA
tdunham said:
I confirmed the battery percentage numbers displayed on the status bar are hard coded into the stock ICS rom. I even removed all of the battery png files and the only thing that remains is a lonely little '89%' showing in the notification bar w/o the icon around it.
Anyone know where the code for that might be?
Click to expand...
Click to collapse
Do you want me to edit the xml for ya to add the battery images and then send you the sytemui? Or I could send you the xml files to replace the old ones.
Sent from my E4GT while experiencing some Wicked Sensations™.
dazednconfused said:
Do you want me to edit the xml for ya to add the battery images and then send you the sytemui?
Click to expand...
Click to collapse
Thanks Dazed. I finally got it all figured out. What was killing me was Calk has a bad .9 png file in the systemui so it refused to recompile correctly until I corrected it.
True 1% battery (stock ICS didn't have true 1% .png's), Green Goblin sig bar, White Clock & Big Battery.
I've attached a screenshot.
Edit: I did edit the battery xml's for the 100 or so .png files I added to systemui btw. Plus I enjoy learning to do it myself. We're kinda starting over with ICS.
tdunham said:
Thanks Dazed. I finally got it all figured out. What was killing me was Calk has a bad .9 png file in the systemui so it refused to recompile correctly until I corrected it.
True 1% battery (stock ICS didn't have true 1% .png's), Green Goblin sig bar, White Clock & Big Battery.
I've attached a screenshot.
Edit: I did edit the battery xml's for the 100 or so .png files I added to systemui btw. Plus I enjoy learning to do it myself. We're kinda starting over with ICS.
Click to expand...
Click to collapse
Cool. I know the ICS apk's can be a big pain at times getting them to decompile and compile. Glad you got it man.
Sent from my E4GT while experiencing some Wicked Sensations™.
could someone explain it to me also which xml file u have to edit for battery on ics/jb ??
ive changed the png but still no luck D
AskinSavascisi said:
could someone explain it to me also which xml file u have to edit for battery on ics/jb ??
ive changed the png but still no luck D
Click to expand...
Click to collapse
Im pretty sure if you want to make changes it will be this directory SystemUI/Res/drawable their you will find stat_sys_battery xml along with the charging xml as well...
thanks found it and working now xx
Seeing this post amazes me... even the machine we know as TD was once like the rest of us. Yet another reason I love XDA.
Sent from my SPH-D710 using xda premium

Theming help (AOKP)

I want to theme my own ROM's for this phone such as AOKP. I just themed Nova Launcher to all purple. But, I want to be able to create a theme that I can flash in CWM and not just the whole ROM (either works.)
I themed Nova Launcher with GIMP, just by extracting the drawable folders, editing, exporting/replacing, then adding back to the archive and resaving.
Can anyone help me out on creating a theme so I can fully theme a ROM such as AOKP? Or even create one for the theme manager? I can already tell I would get addicted. If anyone wants to help i'd highly appreciate it, so I can slowly get into Android Development
I myself have been wanting to learn how to theme for the theme engine. Didn't really find any tutorials though. I'm pretty handy with Photoshop but know nothing about development. Would be very interested in learning about the theme engine used in CM9, AOKP, CNA, etc.
Just add ur apk to the app folder in this zip. This is a base zip that anyone can use (I took it from Overstew's theme, and erased all of his apps/framework items.)
Ascertion said:
Just add ur apk to the app folder in this zip. This is a base zip that anyone can use (I took it from Overstew's theme, and erased all of his apps/framework items.)
Click to expand...
Click to collapse
So I just edit the png's inside the folders I want edited, then move the whole folder into that folder, re-zip, and flash?
Ok so after playing with everything, I update all of the png's I wanted (which still left a lot of blue.. from AOKP). I then moved them all back into the framework-res.apk and moved that back into the archive. I got it to be flashable along with my .apks, but after I flashed it System UI kept force closing, eventually it stopped. I saw a lot of the stuff I themed was actually themed, but there was still a lot of stuff that wasn't. But what causes the force closes on System UI?
hrffd said:
Ok so after playing with everything, I update all of the png's I wanted (which still left a lot of blue.. from AOKP). I then moved them all back into the framework-res.apk and moved that back into the archive. I got it to be flashable along with my .apks, but after I flashed it System UI kept force closing, eventually it stopped. I saw a lot of the stuff I themed was actually themed, but there was still a lot of stuff that wasn't. But what causes the force closes on System UI?
Click to expand...
Click to collapse
If there's any missing pngs on the SystemUI's drawable-hdpi, it'll FC instantly because it cannot find the png require for a certain task. (For example, if you accidentally deleted a signal bar icon, it cannot display what is not there, so it'll FC.)
Ascertion said:
If there's any missing pngs on the SystemUI's drawable-hdpi, it'll FC instantly because it cannot find the png require for a certain task. (For example, if you accidentally deleted a signal bar icon, it cannot display what is not there, so it'll FC.)
Click to expand...
Click to collapse
Ok so, I don't have to change anything besides the framework-res.apk? Do I have to sign it or anything?
Also, I themed nova launcher successfully with just changing png's without any signing. But when I tried to theme Facebook, and then tried to install it, it just kept failing to install?
Sent from my SPH-D710 using XDA
hrffd said:
Ok so, I don't have to change anything besides the framework-res.apk? Do I have to sign it or anything?
Also, I themed nova launcher successfully with just changing png's without any signing. But when I tried to theme Facebook, and then tried to install it, it just kept failing to install?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Same with framework-res. Any images missing will make it fc.
You only need to resign market apps. System apps do not need to be resigned.
only thing that sucks about having a white e4gt with ics... is that the menus clash with the product color lol. not that its that big of an issue, but i came across this theme http://forum.xda-developers.com/showthread.php?t=1654546 and am guessing it takes a lot of work to apply a white theme similar to this?
i tried flashing the syk sky theme on my phone just to see what would apply, and the majority of it did; however, there were some conflicts as i expected.
is there any way i could use some of what has already been created with this theme to work with the e4gt correctly? if so, any direction/info would be appreciated.
hrffd said:
I want to theme my own ROM's for this phone such as AOKP. I just themed Nova Launcher to all purple. But, I want to be able to create a theme that I can flash in CWM and not just the whole ROM (either works.)
I themed Nova Launcher with GIMP, just by extracting the drawable folders, editing, exporting/replacing, then adding back to the archive and resaving.
Can anyone help me out on creating a theme so I can fully theme a ROM such as AOKP? Or even create one for the theme manager? I can already tell I would get addicted. If anyone wants to help i'd highly appreciate it, so I can slowly get into Android Development
Click to expand...
Click to collapse
Try here and see if it helps ............... http://forum.xda-developers.com/showthread.php?t=916814
renzyyy said:
only thing that sucks about having a white e4gt with ics... is that the menus clash with the product color lol. not that its that big of an issue, but i came across this theme http://forum.xda-developers.com/showthread.php?t=1654546 and am guessing it takes a lot of work to apply a white theme similar to this?
i tried flashing the syk sky theme on my phone just to see what would apply, and the majority of it did; however, there were some conflicts as i expected.
is there any way i could use some of what has already been created with this theme to work with the e4gt correctly? if so, any direction/info would be appreciated.
Click to expand...
Click to collapse
In case you didn't know, with samoled+ screens you want the most dark pixels as possible to save battery because a black pixel is completely off consuming no power. That being said, a white theme will just completely destroy your battery life...
Sent from my SPH-D710 using Tapatalk 2
yeah i know, but i wanted to give it a shot & see what kinda impact it would have first hand. i always have an extra battery on me to swap out haha
ill just deal with what i got and try one with transparency or something. thanks for the response.
This is the absolute best place to learn to theme
http://forum.xda-developers.com/showthread.php?t=1320891
xda moderator/recognised contributer

Possible to mix AOSP and TouchWiz??

This might seem stupid, but would it be possible to have a rom that allows you to choose to have add some touchwiz interface onto an AOSP rom or vice versa? Like have a TW rom then go into some settings and enable the AOSP status bar and pulldown menu for example.
Maybe this has been done on other phones and some could be done through a different launcher, but figured I would ask. Thoughts?
Sent from my Samsung Galaxy S3
SGH-T999 with Frosty JB V3
I always thought it'd be cool to have a 'ROM Control' like Roman did in a lot of his ROMs, simple ones like, different battery views, add % next to battery (Samsung already added this), init.d tweaks, speed tweak settings, crt off animation enabler, lockscreen options, custom carrier label, etc.
I wish I knew how to do that, I'd go back to the TW ROM.
Sounds like what you're talking about are mostly cosmetic things that can be done fairly easily by changing .png files in the systemui.apk, framework-res.apk, and twframework.apk. It's really as simple as copy and paste.
Sent from my SGH-T999 using Tapatalk 2
Then you'd have to decompile systemui and framework-res with changes. That isn't exactly easy access.
Sent from my SGH-T999 using Tapatalk 2
Not necessarily if you're just changing out .pngs.
bfranklin1986 said:
Not necessarily if you're just changing out .pngs.
Click to expand...
Click to collapse
+1 you could do it right from your phone using root explorer. Just unzip, switch pngs, rezip, and rename from zip to apk
afbengochea said:
+1 you could do it right from your phone using root explorer. Just unzip, switch pngs, rezip, and rename from zip to apk
Click to expand...
Click to collapse
I don't think the frameworks are totally compatible like that. Seems like you're asking for force closes.
I know its easy to swap in the aosp messaging app or calendar or keyboard etc. by swapping your sec.apk files, but I don't mean apps. Like things such as the tablet style notification thing at the bottom or just other UI type stuff not just changing apps.
Thanks for answering though everyone.

Categories

Resources