[Guide] How to change the color of your notification bar / background - myTouch 3G, Magic Themes and Wallpapers

This is my first "guide" so bare over with me
In order to change your status bar color along with the Background color, do this:
First we need the framework-res.apk from the phone
- adb remount
- adb pull /system/framework/framework-res.apk framework-res.apk
Take a backup of this file in case you failed and wants to go back.
Rename your local framework-res.apk to: framework-res.apk.zip
Open the Zip file and go here:
/res/drawable/
Locate these files and unzip them:
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
These are the files you want.
I sugest that you use Photoshop to do what you want with the colors, if you are using Photoshop, be carefull editing status_bar_close_on.0.png, it might look weird if you are doing it wrong.
After your done editing these pictures go here:
/res/drawable_land/
Locate and unzip:
statusbar_background.png
Do the same here as you done with the first pictures.
After you are done editing the png's, save them in your zip file.
Rename framework-res.apk.zip to framework-res.apk.
- adb push framework-res.apk /system/framework/framework-res.apk
Now restart your phone, and your Notification bar has been fixed
I'm using Open Home along with HTC Hero skin and this just looks PERFECT!
This doesn't change the Text's on your Notification Screen, that you will have to find out for yourself, or post a solution here.

Can't wait to try that out I want mine to be changed..

Update:
For changing the color of the clock, take a look at this topic:
http://forum.xda-developers.com/showthread.php?t=535630
Solution will be there during the week.
It's already available for Rogers ROM's.

WebghostDK said:
Update:
For changing the color of the clock, take a look at this topic:
http://forum.xda-developers.com/showthread.php?t=535630
Solution will be there during the week.
It's already available for Rogers ROM's.
Click to expand...
Click to collapse
Yeah i have tried to push a heap of different G1 services.jar files over to my Magic (ion rom) but was in boot loop city for every one. Oshaka has said he will modify a sapphire services.jar for me... still waiting on that- will post my results as soon as he has it for me.....
TBH though, having a status bar background black with green behind the black clock is actually probably easier for me to read than the white one......will test it out when i get the correct services.jar

got green notifications but for some reason the services.jar doesn't change....
working on it... maybe oshaka can come up with a reason for me...

I cant seem to get the services.jar to change either. I have asked Oshaka to fix it for me, and he said he would do it like 3-4 days ago.
Waiting

WebghostDK said:
I cant seem to get the services.jar to change either. I have asked Oshaka to fix it for me, and he said he would do it like 3-4 days ago.
Waiting
Click to expand...
Click to collapse
services.jar will work on hofo rom or any rom without .odex files. The problem with hero and ion roms are that they dont have the classes.dex files within services.jar. I am assuming they are in the services.odex file, which so far i have been unable to open and read to find the correct smali files.
I have called it quits trying to figure it out for now...... until the colorchanger app includes support for this i am putting it in the too hard basket.
Let us know if ohsaka gets back to you. If we get this we can theme anything we want- i made a theme template for ion which worked......
***edit*** just got a reply from Ohsaka, he said there is no way he knows of to open .odex files to edit colour inside of them. that kind of means those of us running ION or hero are **** out of luck. Until someone starts modding the HTC build a bit more (kind of like how cyanogen mods the standard 1.5 and also pulls from donut etc) then we are stuck with what we have got
Hofo rom has some potential.... maybe we should all chip in and buy cyanogen a Magic (32A of course )?

Is it possible to edit the png's in the framework zip to a translucent opacity, and push the entire zip back in to make the notification bar have some transparency?
Edit: Nm, tried it and it is more complicated than I thought lol. Screenshots of a 50% status bar png to come

I have adb etc set up and willing to try ,would be my first action on editing my phone.
Does my phone need to be rooted/re-rommed for this to work ?
I own a original out of the box T-Mobile G1 , and I really would like to change the colouring of the notification bar to match the colour of my background picture, but not at the expense of giving up my warranty ( not yet ) , depends on future updates of G1 which is doubtfull at the moment I believe

jinglebinkie said:
I have adb etc set up and willing to try ,would be my first action on editing my phone.
Does my phone need to be rooted/re-rommed for this to work ?
I own a original out of the box T-Mobile G1 , and I really would like to change the colouring of the notification bar to match the colour of my background picture, but not at the expense of giving up my warranty ( not yet ) , depends on future updates of G1 which is doubtfull at the moment I believe
Click to expand...
Click to collapse
I haven't tried this out at a non-rooted phone, but yes, it will work on a non-rooted phone, so just go ahead.
Don't be affraid about the warrenty, you can always say you downloaded a skin on market

MontAlbert said:
services.jar .......
Click to expand...
Click to collapse
Totally noob to this crazy world, what does the services.jar do?
What effects does it have? I'm trying to edit the notification bar/icons.
Am I limited to what can be done because of this "services.jar" ?

I keep getting "remount failed: Operation not permitted" when i try to remount

can you do this on the droid eris

should work on eris,just do a nandroid backup first just in case you need to roll back

I just wanted to let people know, i ran into a problem with force closing constantly.
Solution i came up with is if you have the custom OC kernel, you must edit the
pictures and stuff for your UI and then flash the kernel. If the kernel is already in place
it will conflict with the 'adb push framework-res.apk /system/framework/framework-res.apk'
And a data value will change, causing force closes.
~

So, is there any way I can grab the smileys aswell and change them? I want the SonyEricsson smileys instead of those android ones.

I also get force close (of the market app) after modifying images in a custom ROM, on a T-Mobile Pulse. jamsk8er1994, could you explain in more detail what you mean by "edit pictures and flash your kernel"?

The same goes for those of you who want to change the smileys that you see on your phone. If you're tired of those robots you go into
- framework-res.apk\res\drawable-mdpi-v4
and find the files called "emo_im_"
There is 17 files, png's. open photoshop and make the smileys you'd like in a 20x20 canvas (pixels). save for web and devices -png 24, with the same name. In example: (The grinning smiley :-D) is emo_im_laughing.png
Then you drag the new png you've made into the apk file and choose replace existing.
Note: this is only for your viewing, others will not see the smileys you have on your phone unless they got the same on theirs. If they have the droid ones that is what they see when you send. But if they send you a droid smiley you see the custom one you've put in yourself.

i changed all the colors to black on PS. dragged them back into the zip file, renamed it to "framework-res.apk" and typed in the command in the cmd. I got a message saying "failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk' : No space left on device".
what do i do?

Awesome thingy, I'll make everything non-glossy.

Related

Custom lockscreen, white clock, constant batt meter, and more...

MoonSpoon was the first to implement an image on the lockscreen and it was his idea. While he has not posted his yet the credit for the idea of having a graphical batt meter came from his mind. So, much thanks goes to Moonspoon for this. Check out his progress on this and more at his twitter page http://twitter.com/moonsspoon
Credit: The image for the lockscreen box is not my design, I stole it from Moonspoon, specifically from Gloss Suite. So the credit goes to him for the image.
The image for this battery meter was created by Androidd Please thank him for his creativity and time regarding this.
Major Update: This is an update to all three of the files I made available before. If you have these files now, please update all of them with what I am offering now.
This update adds a skinnable 5% graphical battery meter on the homescreen as well as a real time percentage of the remaining battery life.
This update also adds a transparent image in the drawable folder of framework-res.apk that can be changed to a solid image which will replace the current lockscreen image, please size image accordingly.
This also includes a custom image for the box on the lockscreen which holds the information on the lockscreen. This image is independent of all other images on the phone and will not affect any other part of the phone, please size accordingly.
This update also fixes the blackout issues being experienced by some.
This framework-res.apk includes the white text for the statusbar as well, if you don't want it take statusbar.xml out and replace with your own.
If you have a theme, add your own images to the drawable folder in Framework, However, be sure to leave my custom images I have in there, they all start with ZZ.
If you have any questions please don't hesitate to ask, but also look through this thread for the answer before asking.
Please be aware I will no longer be providing a lockscreen with T-mobile on it.
This COULD cause problems with certain features that have been implemented in other 1.5 versions. I am not working to maintain compatibility with any one specific build, so USER BEWARE! The reason that this could cause problems is because there may be changes that have been made for other 1.5 versions that have been made in these files and by replacing all of these files you will most certainly overwrite their changes. So use at your own risk!
Remember when pushing these files from recovery to mount system first by typing: adb shell mount /system
Remember all of these files go in /system/framework
By using these files you are agreeing that you have read and understand the above warnings! You assume all liability by using these files on your device.
White clock: http://www.fightforthepits.com/Androidstuff/services.zip
Lockscreen (push both files): http://www.fightforthepits.com/Androidstuff/framework.zip
Second file: http://www.fightforthepits.com/Androidstuff/android-policy.zip
From BrandenK
So I put together the JesusFreke ADP 1.5 with the custom lock screen from Stericson and keeping black text for notifications and the date. You should be able to rename to update.zip and flash if you already have JFv1.5 without having to wipe. And for me it took a long time to make it past the animated android logo so be patient.
DOWNLOAD HERE [37.1MB]
Enjoy,
Stericson
very nice so all we do is push this thru adb?
Yes but it is only the white clock for now....you need to push services.jar to /system/framework
The batt meter I will release later, it requires a update file....Which would wipe out themes people may have had installed, and reflashing a theme would erase it again...so....this would have to be incorporated into an actual theme. The white clock wont be affected by a theme because it is usually not replace during a theme update.
Stericson
thanks alot bro. will push right now :]]
can't wait for what else you can cook up for the lock screen!!
Please let me/us know if it works for JF's 1.5 build.
okay here's the problem.
i dont have adb avaiable because im on a mac and don't really know how to use this thru terminal
i know you can push this thru the terminal emulator on the g1
think you can give me the codes to push it thru
i tried this
su
mount -o rw,remount /dev/block/mtdblock03 /system
push /sdcard/services.jar /system
gives me an error saying i couldn't push
any ideas.
thanks.
I just replaced the file in the framework folder and resigned the update. Also, this works on JF's 1.5 build from what I see. Haven't had it on for any extended period of time so I don't know if any errors will occur.
okay i found the right prompt but it didnt work
maybe im doing it wrong :/
i also cp it to /system and reboot, but still black clock
can you make a update.zip with glosstheme battery lockscreen and white clock ?
Aw man good stuff.. im going to see if i can port the ORIGINAL gloss suite with the sexy jet black status bar before moon made it more gray because of complaints of the clock
Any clue on the white notification text? Can't get that one going... Thanks for this!
BTW - this works great on JF 1.5.
Edit - I tried copying the status_bar.xml from a 1.1ADP theme over, and had troubles with it not booting. I just tried one more time - this time the only thing that I have changed is the status_bar.xml in my framework_res.apk, re-signed it & my update.zip, did a nandroid (just in case!) and it is booting now.... but, all I get are force closes upon bootup, and a loop.
So, now I am restoring my nandroid of the system partition, which should get me back up and running. Can you tell me what I am doing wrong. When I compare the two xml's in HxD, there is only one difference (which I assumed was the text color), should I be modifying the new xml manually, or has something changed?
Thanks for being so patient with me, this is the last piece of the theme I am trying to get right...
DUH! I'm so sorry guys, you have to push this to /system/framework Then it will work. Sorry that was my fault.
Anyone that put it in /system can either remove the file from there or move it to the correct location.
rm -r /system/services.jar
That will remove it.
White notification text I can get but it will need to be replaces in framework-res.apk. I will postthat file tonight possible along with the battery meter on the lockscreen.
Stericson
Stericson said:
DUH! I'm so sorry guys, you have to push this to /system/framework Then it will work. Sorry that was my fault.
Anyone that put it in /system can either remove the file from there or move it to the correct location.
rm -r /system/services.jar
That will remove it.
White notification text I can get but it will need to be replaces in framework-res.apk. I will postthat file tonight possible along with the battery meter on the lockscreen.
Stericson
Click to expand...
Click to collapse
Thanks a million, I guess I already knew that it needed to go into the framework directory - cause that's where I put it!
But the notification text is just kicking me in the ass. The battery % on the lockscreen sounds cool - is that just an xml edit or does it require another app to be installed?
Looks like someone already ported the white notifications text for 1.5, here is the link http://forum.xda-developers.com/showpost.php?p=3719895&postcount=1
You can just flash the update or pull the xml file from it, which is statusbar...something something, don't remember, but just pull all the statusbar xmls in res/layout and put them in your own framework-res.apk and you'll be good to go.
The batt meter is a conbination of edits I made to the source it requires some new files and a new framework.apk, the easiest way to do this would be to take my framework-res.apk and put your drawables in, whatever they may be.
At any rate I'll see if I can get that up tonight.
Stericson
You got a bad link in that post, I tried looking for threads that ended in 95, but couldn't find it.. Care to correct it, thanks...
for some reason i can't mount my phone anymore?
could this be because of removing the original services.jar?
Fixed and tested.
Stericson said:
Fixed and tested.
Click to expand...
Click to collapse
Much obliged, running off to try this out now.
Edit - So, I dropped the xml into my framework, made a quick update, and bingo bango! Got white text, no force closes, I am rocking this now! Thank you again, just gotta finish setting up my apps like they were before (and custom ringtones - why can't that be backed up?) and I can make a final 1.5 nandoid stable backup!
johnnylicious said:
for some reason i can't mount my phone anymore?
could this be because of removing the original services.jar?
Click to expand...
Click to collapse
I believe that this could be a side effect but I'm not sure, I can mount it fine in recovery, just not while the phone is on....
Maybe you can try putting the opriginal service.jar back and let me know if it is from mine?
Stericson
Stericson said:
I believe that this could be a side effect but I'm not sure, I can mount it fine in recovery, just not while the phone is on....
Maybe you can try putting the opriginal service.jar back and let me know if it is from mine?
Stericson
Click to expand...
Click to collapse
I used your services.jar, and can still mount while the phone is on. You are talking about mounting the sdcard via the usb cable, right?

"porting" lockscreens

I've searched through the forums but i can't find an answer that works.
I want to take a semi-transparent lockscreen from one hero rom and put it on another hero rom that doesn't have a transparent lockscreen
i've tried replacing com.htc.resources.apk and when the phone reboots i hear the notification sound that the USB is connected but all i see is the htc loading symbol. the home screen never loads.
mgorman said:
I've searched through the forums but i can't find an answer that works.
I want to take a semi-transparent lockscreen from one hero rom and put it on another hero rom that doesn't have a transparent lockscreen
i've tried replacing com.htc.resources.apk and when the phone reboots i hear the notification sound that the USB is connected but all i see is the htc loading symbol. the home screen never loads.
Click to expand...
Click to collapse
totally going in the wrong way for that
the reason your getting a htc screen hang is bcuase the resources.apk your using prolly came from a different WWE build than the one your applying it to.... so go back to the one that came with your rom ... moving on to transparent lockscreen
what hero rom are you trying to modify and are you trying to mod the lockscreen grafics as well?
if your modding the graphics for the lockscreen bar unzip (using winrar) the apk (keep the original apk file) and inside one of the folders is one called draw port 480x280 the loscreen bar images are right there to edit
when your done editing
open the original resources.apk with winrar and navigate to that drawport480x280 folder
drag your modified images to the winrar window that is opened to the drawport480x280 when you modify the images keep the names that were originally corresponding with the images...so that the system can find them when it loads the lockscreen. and it will have a prompt click on ok and it will put those images back in your apk
now adb push your new resources.apk to your phone reboot to enjoy your modified lockscreen bar.
to change the image to transparent....(use photoshop to make a transparent .jpg image) get in root explorer on your phone and navigate to your /system/etc/lockscreen/port/ folder and the htc.lockcscreen1.jpg image is the one were gunna replace so name your custom image from photoshop the same thign that that htc.lockscreen1.jpg and then adb push (or root explorer copy) it to the /system/etc/lockscreen/port/ to replace original effects should apply immediatly then enjoy your fully modified lockscreen
i'm looking for original lock screen from android to replace hero's one cuz the time and date in original is bigger and backlight timeout is set to 5 sec ( in hero is 15- waste of battery). If you find a way how to do this - please let mi know cuz i've been trying and asking and nobody answered me...
Zarboz said:
totally going in the wrong way for that
the reason your getting a htc screen hang is bcuase the resources.apk your using prolly came from a different WWE build than the one your applying it to.... so go back to the one that came with your rom ... moving on to transparent lockscreen
what hero rom are you trying to modify and are you trying to mod the lockscreen grafics as well?
if your modding the graphics for the lockscreen bar unzip (using winrar) the apk (keep the original apk file) and inside one of the folders is one called draw port 480x280 the loscreen bar images are right there to edit
when your done editing
open the original resources.apk with winrar and navigate to that drawport480x280 folder
drag your modified images to the winrar window that is opened to the drawport480x280 when you modify the images keep the names that were originally corresponding with the images...so that the system can find them when it loads the lockscreen. and it will have a prompt click on ok and it will put those images back in your apk
now adb push your new resources.apk to your phone reboot to enjoy your modified lockscreen bar.
to change the image to transparent....(use photoshop to make a transparent .jpg image) get in root explorer on your phone and navigate to your /system/etc/lockscreen/port/ folder and the htc.lockcscreen1.jpg image is the one were gunna replace so name your custom image from photoshop the same thign that that htc.lockscreen1.jpg and then adb push (or root explorer copy) it to the /system/etc/lockscreen/port/ to replace original effects should apply immediatly then enjoy your fully modified lockscreen
Click to expand...
Click to collapse
alright ill give that a shot. thanks
pegaz said:
i'm looking for original lock screen from android to replace hero's one cuz the time and date in original is bigger and backlight timeout is set to 5 sec ( in hero is 15- waste of battery). If you find a way how to do this - please let mi know cuz i've been trying and asking and nobody answered me...
Click to expand...
Click to collapse
just delete htclockscreen.apk?
idk
haha

How to extract thinks of a theme ?

Hello,
I like http://forum.xda-developers.com/showthread.php?t=541841 the slider of this theme the widgets, and the green highlighting color ?
Cann anyone say how can i extract the slider and widgets of this theme and port it to cyan 4.1.999 ??
I mean this here
I want each think in its self update.zip so i can test what is good looking for me.
mfg
get the theme you want or rom. extract it. the go to system, framework, then extract framework-res.apk, then go into res and theres most of the highlights and stuff. now it you want the launcher get the theme/rom, then extract it, go to system, app, then extract launcher.apk and theres all of your desktop highlights and launcher.
if you have anymore questions just ask.
Okay thx , drpfenderson helped me too and sayed me the same but i dont
can sign my apks my windows say with my auto signer tool i dont have java but i have java installed... >.<
Could anyone fusion the launcher apk from this theme with the advanced launcher.The black notification bar and the green highligting colour ?
This would be really great
mfg
go get winrar and then right click on the apk/zip and go to properties then go to open with, winrar. then click on the apk/zip and then a little folder will pop up and the you can just drag what you want into it. you will not need to sign it. put it in your working adb directory. and then
adb remount
adb push (file name) /(directory)
adb shell reboot
I got the framework working now
Cann anyone fusin me the launcher from ted with the advanced launcher for 4.1.999
mfg
sorry wrong thread.
if you get winrar and do what i said you dont need it to be signed. you can do it your self and its really easy.
I have it
But i cant port it to 4.199 because its from 1.5 to 1.6 and i cant do this i hope ted port his theme soon
thank you
you can put his launcher in 1.6 im running jacs stuff in my drizzy 1.6. as long as its nothing completly different then you can put it in any rom. i have xroms launcher in 1.6 but just dont put the whole entire launcher in just go into drawable port/land. and take the thing that looks like what your talking about.
I have it
Now i port the framework-res
EDIT: I have a little question i ported the launcher.apk and it works but when i reboot my phone stocks every time in boot logo tmobile and i have to flash new >.< (Is this because my file is not signed ?)
mfg
what you have to do is go find teds launcher.apk and extract it. then go to res, drawable-land and drag those out to your desktop, and then go back to res, then drawable port, and then drag those out to your desktop. and then go find you cyan 4.1.999 and extract it, then click the extracted, then go to system, then app, Launcher.apk (you should be in winrar now), then click res, then click drawable-port, then drag the ones that are in portrait mode into the winrar box. then go back out to res, then click drawable-land, and and drag the ones that are sideways into the winrar box.
put the cyan 4.1.999 Launcher.apk in your working adb directory and type this...
adb remount
adb push Launcher.apk /system/app
adb shell reboot
if you every thing exactly how i told you it will work i do this 10 times a day.
I did this and i see my new launcher but when i reboot the g1 stuck on g1 tmobile screen ... Its just when i modified the launcher when i use the standard launcher it works but when i modified a thing it doesnt boot afer reboot
mfg
for me to be able to help and understand 100% will you explain step by step what you do.
Thx
I got it working now But now is my problem the framwork-res.apk
do you know how i can port this ?? I tried it but it says me a lot of errors like google process gapps is not working right.
mfg
every thing i said for launcher do for frame works. its exactly the same deal. youll start to get the hang of it. its not all that hard it just seems hard.
Now i portede the whole theme but a little problem is in the notification bar , the bar is black and the font colour too where i find this data to change the font colour
Search the Q&A forum for the thread 'help porting theme' david answered that question for me a week ago.
did you have to sign what you did? because when i do it this way i dont.
I tried this on framework-res.apk using the recovery console to place it back on my phone.
i got endless FC. tried fix permissions and wipe dalvik neither worked.
does it have to be ADB? is using the recovery console where i went wrong?
the graphical changes i made worked, but the phone was unuseable.
I always sign mine when I change something. It only takes an extra second, and I flash mine from the phone rather than in adb cuz I always do a backup first just in case.
As for the font colors on the notification bars, you hafta edit some xml files. Those which are posted in the other thread in the Q&A section.

[Q] How to modify and replace framework-res.apk

Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
How exactly did you replace the png's? Because the 'normal' proces of unzip-replace-rezip doesn't work.
The most easy way to changes png's:
1. Open framework-res.apk in 7-zip
2. Search for the files you want to change and copy them to your hard disk (do not unzip!!)
3. change the files. Make sure the name stays EXACT the same.
4. Open framework-res.apk and copy your new files in the desired place. By doing so, the original files will be replaced by your files. DO NOT USE ANY COMPRESSION (if asked select 'store').
5. Go into recovery, mount /system and replace the framework-res.apk by the new one. Reboot phone.
Take home message: never unzip
Hope it works now!
Erwin
i went to recovery and hit mount/system. But how can i replace it?
Thanks
urkotheone said:
i went to recovery and hit mount/system. But how can i replace it?
Thanks
Click to expand...
Click to collapse
You have to use adb to do is. I assume you know how to work with it. If not, you have to search for a little tutorial (can't link you right now because I'm using the xda app)
Put the new framework-res.apk in the same folder as adb.exe. Open the command prompt and brows to that same folder. Type in your command prompt:
Code:
adb shell mv system/framework/framework-res.apk system/framework/framework-res.old
adb push framework-res.apk system/framework
adb reboot
Due to the first command, you have a backup of your original framework-res.apk. To restore it, you have to boot in recovery, mount /system and again by the use of the command prompt, type:
Code:
adb shell rm system/framework/framework-res.apk
adb shell mv system/framework/framework-res.old system/framework/framework-res.apk
adb reboot
Erwin
Yeeeeey i did it
Thank you
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
urkotheone said:
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
Click to expand...
Click to collapse
Then it is going to be much more complicated than that. Perhaps I can explain you in more detail tomorrow, but you will have to look up some things for yourself.
First, you should decompile the framework-res.apk first using apktool. You will notice that it almost looks like it just dezips your apk, but when you look closely, you will see now that you can open and read the xml files.
Second, you have to open res\drawable\stat_sys_battery.xml (or something similar, perhaps it depends on your ROM). Try to understand what is written and make some changes (it is really not that hard) so that your system shows only 20 different images, in stead of 100.
Third, you have to recompile your modified framework-res.apk. Then pull stat_sys_battery.xml out of "your" framework-res.apk into the original framework-res.apk, but again, without unzipping one of them. Do, of course, the same thing with your images.
I must admit, I've been busy with the battery icons myself. It was my plan to do something similar like you did, but I didn't do it yet. So all the things I've written above where the things I was planing to do, but I don't know if it will work, as I never tried it myself. So please, keep me/us informed ;-)
Good luck!
EDIT: I used this site to know how to decompile apk's.
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
crazy_dragonlady said:
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
Click to expand...
Click to collapse
I don't know if I understand you fully, but I believe it would: only if the UOT changed the images that you have changed, you will not see the things you have changed.
What I did some time ago was upload my framework en systemui to the UOT, apply the battery mod and than change the battery images with my own. I did that just by opening the apk in WinRAR and adding my images, just like you did.
But if you only want to swapp some images, there is no need for uploading it to the UTO. Just continue as you did. Just make sure that you keep the original systemui.apk on your hdd. In case of a bootloop, you can easely revert.
Is that een answer to your question?
Erwin
Yes, it does.. and thanks. I ended up following the instructions on another thread I found on here... don't remember exactly which one but it basically omitted uploading the files to the UOT. It was a guide on how to theme your phone... sorry but I didn't save the link.
thanks again!
CDL.
urkotheone said:
Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
Click to expand...
Click to collapse
Same thing happened to me!
I Wiped Cache, Dalvik Cache, but nothing happened!
I had to flash 2.3.6 Stock ROM via Odin, to make my phone work!
I always work with Winrar, and in there you have the option for compression, which is selected at "medium compression" by default, and that causes bootloops.
So make sure that you don't compress your apk when adding your new png, or it will not work.
Erwin
I change my framework-res.apk from another rom. the problem is when I push long power button, my device going to BOOTANIMATION with out I choose shutdown, restart n etc.. what's wrong with my device??
sorry for my bad eng..
The problem is its another roms framework so things are in different places and some things will be missing, put the framework-res.apk from your rom back and things should go back to normal, mind me asking what tweak or mod you are after using?
Sent from my HTC Wildfire using xda premium
first time I must say sorry, I know this not my device place on XDA, I use MB525.. but I see the same problem here..
I use Ms3ginger mod rom by walter, n I take framework-res.apk from 2.3.6_4.5.2-109 DHT25_themed MultiLanguage, I try to change battery sys-stat but I get bootloop..
once again sorry for my bad eng
If not possible try
Adb remount
First

[THEME] ICS Lockscreen + ICS Style Pattern Lock

Featured on XDA Portal Thanks guys!
Also, thanks to zhuhang for including this in his CM7 ICS / Jelly bean look and All in One ICS patch thread
UPDATE: You can now choose between ICS blue/ white style colours or the default green/ red colours for the lock rings, etc., I have attached different the applicable zips ("Lockscreen Icons ICS Blue.zip" and "Lockscreen Icons Default.zip")
Hi XDA
This is my first attempt at doing some DIY themeing, this is very simple and did not take very long to do. Before I say anything else, bear in mind you must have root, and I am not responsible if your device is bricked, set alight or abducted by aliens due to this tutorial.
Screenshots are attached
On the G1, by installing CM7 it is possible to end up with a very nice ICS looking UI. You can do this through applying AChep's ICS theme, installing the Roboto font from ICS using an app such as Type Fresh from Pixelpod INTERNATIONAL and finally from finding ports of actual ICS apps, such as Holo Launcher by Mobint.
There is one problem though, which is that the lock screen is untouchable by themes such as Sonny Sekhon's.
And so we realize that we must theme it ourselves!
The actual lockscreen itself shouldn't be a problem, as CM7 has the option to use a holo style lock ring and to be set to "minimal", and once you have installed the ICS clock font for Clockopia (note that this isn't Roboto) found here (it's in the FontPack-Roboto_E2.zip file), you have a pretty clean looking ICS lock screen (See first attachment). Note I have also set the clock, etc. to be on the right side of the screen.
Now that that's done, onto the pattern lock :laugh: .
So, I don't particularly like the Gingerbread pattern lock anyway, and it looks especially horrible when everything around it is nice and ICS-y.
I found a page here which is a tutorial on how to change the look of the pattern lock, but the icons are the wrong colour and the wrong size, and some icons are missing.
For that reason, I've done the "hard" work for you :laugh: , so on to the tutorial ---->
Firstly, make a nandroid backup, although there shouldn't be much risk involved with this.
The apps you will need are Ninjamorph and to make things easy, a good file explorer, I personally use Ghost Commander.
You are now ready! The steps are as follows...
1. Open up Ninjamorph, grant SU permissions. I think you need to select "Start Checks" first.
2. Select "New Project", and locate framework-res.apk, it will be under /system/framework/ .
3. Although it backs up automatically, enter your file browser, go to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi and copy the following files to a safe location on your sdcard:
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_drag_direction_green_up.png
indicator_code_lock_drag_direction_red_up.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
ic_emergency.png
4. I have attached a zip file named "Lockscreen Icons.zip", in here you will find the icons to theme the pattern lock.
5. Unzip "Lockscreen Icons.zip", then copy the contents to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi . Notice that the icon names are the same as the ones you backed up, and also the same size. If you feel the need to edit them, do not change the name or size and do not save them as anything other than png files.
6. Open up Ninjamorph and select "Start Checks" as usual (you may need to locate back to the main screen first).
7. Select "Finish Project", then select "framework-resapk".
8. It will ask you to verify, to which you say yes, then ask if you want to zipalign, to which you will say no, I repeat: Do NOT zipalign.
9. Blah blah blah, it will do it's thing, extract and recompile the apk.
10. Now you've just got to reboot! , then admire you're ICS style pattern lock .
I've attached some screenshots of the results, the first 3 are blue/ white theme (no interaction, interaction, wrong pattern) then default green/ red theme (no interaction, wrong pattern, interaction). Note that I have swapped btn_code_lock_default.png and btn_code_lock_touched.png as they were the wrong way round. It is too difficult to get a screenshot, but when the corretc pattern is drawn the small rings/ nodes open up (become "o"s instead of filled in circles) again.
I hope this has helped, please thank me if it has and happy theming .
Media icons + emergency call icon
All screenshots attached at bottom and also in zip file.
I have now extracted the media icons (play, pause, etc.) from the CyanogenMod 9 framework-res.apk and put together this guide so you can make your G1 even more good looking. I have done this as, although CM7 themes do change media icons, as previously mentioned, the lockscreen is not effected
but no worries :victory: just read on --->
1. Read the above tutorial so you have everything you need, etc.
2. Once you have gotten up to step 2, stop reading and follow this insead --->
3. Enter your file browser, go to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi and copy the following files to a safe location on your sd card:
ic_media_ff.png
ic_media_next.png
ic_media_pause.png
ic_media_play.png
ic_media_previous.png
ic_media_rew.png
4. I have attached a zip file named "Media Icons.zip", in here you will find the icons to theme the media icons.
5. Unzip "Media Icons.zip", then copy the contents to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi . Notice that the icon names are the same as the ones you backed up, and also the same size (as in image size (width, etc.), not file size). If you feel the need to edit them, do not change the name or size and do not save them as anything other than png files.
6. Open up Ninjamorph and select "Start Checks" as usual (you may need to locate back to the main screen first).
7. Select "Finish Project", then select "framework-resapk".
8. It will ask you to verify, to which you say yes, then ask if you want to zipalign, to which you will say no, I repeat: Do NOT zipalign.
9. Blah blah blah, it will do it's thing, extract and recompile the apk.
10. Now you've just got to reboot!
I have also attached "Emergency Call Icons.zip", this themes the emergency call button (transparent background, grey call icon and blue on press). Do the same as above with btn_default_pressed.9.png, btn_default_transparent_normal.9.png and ic_emergency.png .
I will attach some screenshots later. Hope you like it , if you do, thank me and happy theming. :good:
Looks awesome!
galaxyace152 said:
Looks awesome!
Click to expand...
Click to collapse
Why...are you here?
King ACE said:
Why...are you here?
Click to expand...
Click to collapse
and y r u here ?
King ACE said:
Why...are you here?
Click to expand...
Click to collapse
I can be wherever I wanna be!
Anyways, I saw this thread on the Portal!
Thanks!
galaxyace152 said:
Looks awesome!
Click to expand...
Click to collapse
Glad you like it
Nice work. Had to modify the zip for my ldpi Wildfire. Anyone interested in resized zip for ldpi?
Thanks
3RMD said:
Nice work. Had to modify the zip for my ldpi Wildfire. Anyone interested in resized zip for ldpi?
Click to expand...
Click to collapse
Yeah, forgot to say, but obviously anyone feel free to make this better / resize for another device , This isn't all my original work as half the icons are resized and recoloured from another device.
Samsung Galaxy S II T989
Can someone resize the icons for the Galaxy S II T989 PLEASE?
The Dots are to small for my phone can someone teach me to rezsize or do it for me Please?
-Thanks
Found Out how to make them Bigger
USe this online editing tool h_tt_p://_pixlr.c_o_m/editor/ Without underscores , It wouldnt let me post the link...
Any who just use the lockscreen download which is provided in this thread, and open up the link...Locate the folder and one by one in the editing tool, go under IMAGINE and under imagine click on Imagine size to 120Pixels or what ever you like for every picture EXCEPT these two "indicator_code_lock_drag_direction_green_up" & "indicator_code_lock_drag_direction_red_up" I Did these for my Galaxy S II T989 using NinjaMorph...
Sorry for Double posting
I was looking for a guide like this, because I don't like the pattern lock of cm7 the dots are overlapped, etc. But I follow your steps and all, and after ninjamorph rebooted my phone, it went onto a bootloop. Why? What did I do wrong? Luckily, I made a backup before doing this, but I wonder why I can't have the ICS pattern style...
rolo143 said:
I was looking for a guide like this, because I don't like the pattern lock of cm7 the dots are overlapped, etc. But I follow your steps and all, and after ninjamorph rebooted my phone, it went onto a bootloop. Why? What did I do wrong? Luckily, I made a backup before doing this, but I wonder why I can't have the ICS pattern style...
Click to expand...
Click to collapse
hmm... Did you make sure Ninjamorph had fully finished (there should be a message saying "all done" and if it worked your wallpaper would have reset before a reboot). You say ninjamorph rebooted your phone - do you actually mean this, as it should tell you to reboot, but should not reboot for you; if it froze and rebooted, that means something didn't. work .
I can't remember if there are hdpi etc. folders but also make sure you're sticking everything into the drawable-mdpi folder and that you're replacing files as opposed to just making copies (filename.png, filename-1.png etc.).
The only other thing I can think of is that I've made a typo (unlikely as obviously I tested these myself first) or your framework-res is weird (I practicaly pulled that idea out my ar*e - I highly doubt this is the case). I think all you can do is tell me what rom you're on and which theme (blue or green) you used..... it would help alot if you could PM me your unthemed framework-res.apk if at all possible.
I hoped this helps and sorry for the late reply, but if all goes well you might want to check out post 2: I've got stuff for media icons + emergency call button
One last thought... I've been assuming you're trying this on a g1... if not then the sizing is probably incorrect (sorry, just checking )
HTCDreamOn said:
hmm... Did you make sure Ninjamorph had fully finished (there should be a message saying "all done" and if it worked your wallpaper would have reset before a reboot). You say ninjamorph rebooted your phone - do you actually mean this, as it should tell you to reboot, but should not reboot for you; if it froze and rebooted, that means something didn't. work .
I can't remember if there are hdpi etc. folders but also make sure you're sticking everything into the drawable-mdpi folder and that you're replacing files as opposed to just making copies (filename.png, filename-1.png etc.).
The only other thing I can think of is that I've made a typo (unlikely as obviously I tested these myself first) or your framework-res is weird (I practicaly pulled that idea out my ar*e - I highly doubt this is the case). I think all you can do is tell me what rom you're on and which theme (blue or green) you used..... it would help alot if you could PM me your unthemed framework-res.apk if at all possible.
I hoped this helps and sorry for the late reply, but if all goes well you might want to check out post 2: I've got stuff for media icons + emergency call button
One last thought... I've been assuming you're trying this on a g1... if not then the sizing is probably incorrect (sorry, just checking )
Click to expand...
Click to collapse
Thanks for your reply, I'm not using a G1 I tried this on a Live with Walkman, but for what I know I think it's the same resolution, (320x480) and I followed every step in order, I even tried replacing files with the ninjamorph app, and with the root explorer too, but nothing seems to work, when my phone reboots it always goes into a bootloop, is it possible for you to upload the framework-res.apk? If you need mine I can upload it, just tell me, I'm using CM7.2 official rom, with the default kernel that comes with the rom. I don't know where did I go wrong. :/
rolo143 said:
Thanks for your reply, I'm not using a G1 I tried this on a Live with Walkman, but for what I know I think it's the same resolution, (320x480) and I followed every step in order, I even tried replacing files with the ninjamorph app, and with the root explorer too, but nothing seems to work, when my phone reboots it always goes into a bootloop, is it possible for you to upload the framework-res.apk? If you need mine I can upload it, just tell me, I'm using CM7.2 official rom, with the default kernel that comes with the rom. I don't know where did I go wrong. :/
Click to expand...
Click to collapse
If you're using a different phone then perhaps there is a different naming scheme or dimensions or something (but probably not because you're using the same ROM) not entirely sure but it would help alot if you uploaded / PMed me your (unmodded) framework-res.apk . Thanks
what about drag path
do you maybe know how to make drag path (trace) thinner...? like this
???
filix97 said:
do you maybe know how to make drag path (trace) thinner...? like this
???
Click to expand...
Click to collapse
No, sorry, I believe this is probably coded into an xml somewhere.
HTCDreamOn said:
No, sorry, I believe this is probably coded into an xml somewhere.
Click to expand...
Click to collapse
thanks for information
Will this method work for CM9.1? If not, is there a thread that details how to?
Thanks
HTCDreamOn said:
Featured on XDA Portal Thanks guys!
Also, thanks to zhuhang for including this in his CM7 ICS / Jelly bean look and All in One ICS patch thread
UPDATE: You can now choose between ICS blue/ white style colours or the default green/ red colours for the lock rings, etc., I have attached different the applicable zips ("Lockscreen Icons ICS Blue.zip" and "Lockscreen Icons Default.zip")
Hi XDA
This is my first attempt at doing some DIY themeing, this is very simple and did not take very long to do. Before I say anything else, bear in mind you must have root, and I am not responsible if your device is bricked, set alight or abducted by aliens due to this tutorial.
Screenshots are attached
On the G1, by installing CM7 it is possible to end up with a very nice ICS looking UI. You can do this through applying AChep's ICS theme, installing the Roboto font from ICS using an app such as Type Fresh from Pixelpod INTERNATIONAL and finally from finding ports of actual ICS apps, such as Holo Launcher by Mobint.
There is one problem though, which is that the lock screen is untouchable by themes such as Sonny Sekhon's.
And so we realize that we must theme it ourselves!
The actual lockscreen itself shouldn't be a problem, as CM7 has the option to use a holo style lock ring and to be set to "minimal", and once you have installed the ICS clock font for Clockopia (note that this isn't Roboto) found here (it's in the FontPack-Roboto_E2.zip file), you have a pretty clean looking ICS lock screen (See first attachment). Note I have also set the clock, etc. to be on the right side of the screen.
Now that that's done, onto the pattern lock :laugh: .
So, I don't particularly like the Gingerbread pattern lock anyway, and it looks especially horrible when everything around it is nice and ICS-y.
I found a page here which is a tutorial on how to change the look of the pattern lock, but the icons are the wrong colour and the wrong size, and some icons are missing.
For that reason, I've done the "hard" work for you :laugh: , so on to the tutorial ---->
Firstly, make a nandroid backup, although there shouldn't be much risk involved with this.
The apps you will need are Ninjamorph and to make things easy, a good file explorer, I personally use Ghost Commander.
You are now ready! The steps are as follows...
1. Open up Ninjamorph, grant SU permissions. I think you need to select "Start Checks" first.
2. Select "New Project", and locate framework-res.apk, it will be under /system/framework/ .
3. Although it backs up automatically, enter your file browser, go to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi and copy the following files to a safe location on your sdcard:
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_drag_direction_green_up.png
indicator_code_lock_drag_direction_red_up.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
ic_emergency.png
4. I have attached a zip file named "Lockscreen Icons.zip", in here you will find the icons to theme the pattern lock.
5. Unzip "Lockscreen Icons.zip", then copy the contents to /mnt/sdcard/AndroidThemes/workspace/framework-resapk/res/drawable-mdpi . Notice that the icon names are the same as the ones you backed up, and also the same size. If you feel the need to edit them, do not change the name or size and do not save them as anything other than png files.
6. Open up Ninjamorph and select "Start Checks" as usual (you may need to locate back to the main screen first).
7. Select "Finish Project", then select "framework-resapk".
8. It will ask you to verify, to which you say yes, then ask if you want to zipalign, to which you will say no, I repeat: Do NOT zipalign.
9. Blah blah blah, it will do it's thing, extract and recompile the apk.
10. Now you've just got to reboot! , then admire you're ICS style pattern lock .
I've attached some screenshots of the results, the first 3 are blue/ white theme (no interaction, interaction, wrong pattern) then default green/ red theme (no interaction, wrong pattern, interaction). Note that I have swapped btn_code_lock_default.png and btn_code_lock_touched.png as they were the wrong way round. It is too difficult to get a screenshot, but when the corretc pattern is drawn the small rings/ nodes open up (become "o"s instead of filled in circles) again.
I hope this has helped, please thank me if it has and happy theming .
Click to expand...
Click to collapse
richdav1971 said:
Will this method work for CM9.1? If not, is there a thread that details how to?
Thanks
Click to expand...
Click to collapse
No need, this is attempting to emulate the look of the ICS lock rings, which is what you've got already
btw please don't quote the entire OP thanks

Categories

Resources