Guest Angio Posted February 12, 2010 Report Posted February 12, 2010 As you all know i left my phone at school and when I went back for it it was gone (i was rushing home which was my fault) but anyways im still building roms for you all maybe just one more till I get a new device, but here is what i am trying to do... Im trying to make the black text white for the 2.000.16 rom but I do not know how to edit these jars, can anyone help? Regards, Angio
Guest liquid_it Posted February 12, 2010 Report Posted February 12, 2010 Im trying to make the black text white for the 2.000.16 rom but I do not know how to edit these jars, can anyone help? I guess that if you push services.jar and framework-res.apk from (f.e.) darkstar theme or maxisma theme you get what you need. Font color is defined in services.jar, bar color in framework-res.apk (res/layout/status_bar.xml).
Guest Angio Posted February 12, 2010 Report Posted February 12, 2010 I guess that if you push services.jar and framework-res.apk from (f.e.) darkstar theme or maxisma theme you get what you need. Font color is defined in services.jar, bar color in framework-res.apk (res/layout/status_bar.xml). will i need them both so it can work?
Guest liquid_it Posted February 12, 2010 Report Posted February 12, 2010 (edited) will i need them both so it can work? If you already themed the status bar you'll have to change just services.jar into /system/framework with the "patched" one attached this post. edit: kudos go to loom29, this services.jar is from his themeservices.zip Edited February 12, 2010 by liquid_it
Guest Angio Posted February 12, 2010 Report Posted February 12, 2010 If you already themed the status bar you'll have to change just services.jar into /system/framework with the "patched" one attached this post. thank you ;)
Guest drigerott Posted February 12, 2010 Report Posted February 12, 2010 for status bar clock color: Download smali and baksmali from http://code.google.com/p/smali/ and place them in the tools folder. Rename the files to baksmali.jar and smali.jar to save on typing later 1. Open the services.jar file with something such as winrar or 7zip or whatever you prefer 2. Copy out the classes.dex file to your SKD/tools folder 3. run following from command line: java -jar baksmali.jar -o classout/ classes.dex 4. Now browse to your new folders classout/com/android/server/status 5. Open the file StatusBarIcon.smali in something like notepad or context or any text editor 6. Locate a line that says: .line 46, under this line it should have something like: const/high16 v6, -0x100 7. Change this to say: const v6, -0x1 8. Save the file 9. Now back to the command line and from your SDK/tools folder run: java -Xmx512M -jar smali.jar classout/ -o new-classes.dex 10. If the above finishes without errors you should have a file called new-classes.dex in your SDK/tools folder now that is the same size as your classes.dex file. 11. Rename the old classes.dex file to classes-old.dex and rename the new-classes.dex file to classes.dex 12. Open the services.jar file with your archiving tool again and replace the existing classes.dex file with our new classes.dex we just created. status bar notification color: /system/framework/framework-res.apk/res/layout/status_bar.xml-- hex edit this to change the notification bar text color In a hex editor, search for 00 00 1C and replace the next 3 value with HTML color codes (RGB)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now