Classes.dex - Droid Incredible Q&A, Help & Troubleshooting

What file in the classes.dex controls the color of the new notification bar? The green like in the new SR 3.5? I forgot to write it down and I modified it before. I need to know the name of the file and the line to edit. Thanks

Click here: http://forum.xda-developers.com/showpost.php?p=9174222&postcount=118

spence341 said:
Click here: http://forum.xda-developers.com/showpost.php?p=9174222&postcount=118
Click to expand...
Click to collapse
Thanks alot.

Related

changing status bar in a rom

Which file or files in a rom are for the status bar?
I believe it's all in the framework apk
civicsi89 said:
Which file or files in a rom are for the status bar?
Click to expand...
Click to collapse
KAwAtA said:
I believe it's all in the framework apk
Click to expand...
Click to collapse
/system/framework-res.apk/res/drawable/statusbar_background.png
If you change that background to black, how does one make the text appear white?
Super Jamie said:
If you change that background to black, how does one make the text appear white?
Click to expand...
Click to collapse
You have to edit the text color in the classes.dex file inside /system/framework/services.jar

Change lockscreen slider color??

i saw somewhere once on an Epic that the stock Samsung lock screen slider was a red circle and red arrow up with the lock in the middle. I can't seem to find the thread in order to do more research or get what i am looking for.
so does anyone know how i can get my slider icon to be red instead of the greyish black it is now?
Flash a theme, or if you only want the lockscreen then delete all the images except the lock.
Texted while driving
063_XOBX said:
Flash a theme, or if you only want the lockscreen then delete all the images except the lock.
Texted while driving
Click to expand...
Click to collapse
where are the images located?
or where can i get just a theme for the lockscreen, i don't want a full on theme.
Are you using the standard or the aosp lockscreen?
cerebralzulu said:
Are you using the standard or the aosp lockscreen?
Click to expand...
Click to collapse
standard samsung on Epic
The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
black06c230 said:
standard samsung on Epic
Click to expand...
Click to collapse
p3dr0maz said:
The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
Click to expand...
Click to collapse
using Root Explorer i can get to /res/....but there is not a folder for drawable-hdpi
anymore thoughts on places to check?
Nope, that's where it is for moi. Weird. Try unzipping the whole folder then look on /sdcard/extracted/ and see if it shows up there.
If not maybe post your framework-res.apk and twframework-res.apk here and i can take a look.
edit: Maybe mine's different since technically we don't have the stock TW Launcher. We have a slightly modified one on Bonsai.
black06c230 said:
using Root Explorer i can get to /res/....but there is not a folder for drawable-hdpi
anymore thoughts on places to check?
Click to expand...
Click to collapse
p3dr0maz said:
The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
Click to expand...
Click to collapse
That's where they are on mine. Stock, not rooted ec05.
Sent from my always stock, EC05 Epic 4G
zanderman112 said:
That's where they are on mine. Stock, not rooted ec05.
Sent from my always stock, EC05 Epic 4G
Click to expand...
Click to collapse
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?
p3dr0maz said:
Nope, that's where it is for moi. Weird. Try unzipping the whole folder then look on /sdcard/extracted/ and see if it shows up there.
If not maybe post your framework-res.apk and twframework-res.apk here and i can take a look.
edit: Maybe mine's different since technically we don't have the stock TW Launcher. We have a slightly modified one on Bonsai.
Click to expand...
Click to collapse
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?
EDIT: in the extracted file i don't see the ones i'm looking for....i am using Syndicate ROM if that helps
Apk's are just archives. You can use your favorite archiving application to modify the APK ( i like WinRAR ). All I normally have to do is open the APK with WinRAR and take the modified PNG's (not .9.pngs - these have to be run through eclipse first) and drop em in to the folder you want. Boosh! Done.
I'm seeing the files right where we said they'd be. you still don't have 'em? /system/framework/framework-res.apk
black06c230 said:
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?
Click to expand...
Click to collapse
Inside framework-red.apk is a folder called res. Inside that is drawable-hdpi, all the way at the bottom of that.
Sent from my SPH-D700 using Tapatalk
p3dr0maz said:
Apk's are just archives. You can use your favorite archiving application to modify the APK ( i like WinRAR ). All I normally have to do is open the APK with WinRAR and take the modified PNG's (not .9.pngs - these have to be run through eclipse first) and drop em in to the folder you want. Boosh! Done.
I'm seeing the files right where we said they'd be. you still don't have 'em? /system/framework/framework-res.apk
Click to expand...
Click to collapse
okay thanks i figured out my error and now can see the file
thanks for your help
1 last ? where is the file for the task/notification bar color?
black06c230 said:
okay thanks i figured out my error and now can see the file
thanks for your help
1 last ? where is the file for the task/notification bar color?
Click to expand...
Click to collapse
Its in framework res.apk too look for status bar background. There are two one is a bigger png which is for when you pull it down and that's a dummy file because on the epic its inside twframework-res but the other is a small box and a .9.png so if you don't know how to edit them borrow one from a working theme.
Sent from my SPH-D700 using Tapatalk

[Q] remove clock on stat bar jb

hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
chwoiy said:
hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
Click to expand...
Click to collapse
send your SystemUI.apk,I will make.
thanks. but i wouldn't want to trouble you
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
chwoiy said:
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
Click to expand...
Click to collapse
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
thanks dr30ma
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
chwoiy said:
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
Click to expand...
Click to collapse
Doesn't matter which launcher you used.
systemUi and launcher are both different system apps.
Google and Google......
It's your friend,take help.
I learn only from search,Never take any help in my mods from any dev.
Do And do.... you will learn everything.
For giving thanks a button is situated on lower rt. side.
And for center clock?
Install AllianceMod.
GreatVortex said:
And for center clock?
Click to expand...
Click to collapse
For Centre Clock
Read this Guide
http://forum.xda-developers.com/showthread.php?t=1830994
---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
Tarique Bhai someone want to do himself.
thanks dr30ma
thanks again dr30ma
i tried installing apk multi tool
and read some instructions on how to edit the systemui but i always get stuck at decompile apk.
"an error occured pls check the log"
some tutorials even says that we should set the max size or option 22.
i get lost in it
tia
i tried alliancemod but
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
i tried alliance mod looks great but the toggles are not my style and you have to use on of the toggles so that your preferences would reflect. also it interferes with the multiwindow of the biftor rom that i'm using.
i also tried the alliancerom but same problem with toggles. the settings look also changed. i'm aiming for a more stock like look.
but thanks for the recommendation, at first i really liked the customization but it just didn't suit my taste.
:angel:
i think i have decompiled
dr30ma said:
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
Click to expand...
Click to collapse
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
chwoiy said:
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
Click to expand...
Click to collapse
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
recompiling
hi dr30ma
i'm really not sure if i've done everything correctly.
in decompiling i keep on getting an error occured
but i checked projects folder, the systemui directory is there
so i looked for the tw_status_bar.xml file and made the changes u listed by just using notepad. i'm not really sure if this is correct but i tried it anyway.
now when i go back to script in apktool, i press 11 to recompile apk. but there is again an error.
i tried to look for the keep directory but it does not appear. so i think i wasn't successful.
any help would be appreciated. tia!
is notepad++ same as the stock notepad available in windows7?
churapa said:
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
Click to expand...
Click to collapse
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
chwoiy said:
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
Click to expand...
Click to collapse
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
grisoxxl said:
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help. but have i done the steps right? i'm not sure about the steps i did in apktool
tia

SystemUI Theme

Hey guys, I'm not sure if this is the right spot, but if not can a mod please move it.
Anyway I want to add a notification background to my systemUI, and/or change the statusbar color. I know what to change but I do not know how to compile APKs, so if there is anyone out there who would be willing to do it for me it would be great, I can send you all my files!
Thank you so much in advance!
Pikezer1337 said:
Hey guys, I'm not sure if this is the right spot, but if not can a mod please move it.
Anyway I want to add a notification background to my systemUI, and/or change the statusbar color. I know what to change but I do not know how to compile APKs, so if there is anyone out there who would be willing to do it for me it would be great, I can send you all my files!
Thank you so much in advance!
Click to expand...
Click to collapse
It's possible, but you would need to flash a custom ROM that supports UI customization to do this.
Swap out images with the same file name using 7 zip but don't extract the ROM
Do I use 7zip on my Pc or phone?
Pikezer1337 said:
Do I use 7zip on my Pc or phone?
Click to expand...
Click to collapse
Swapping out the PNG's only works on the computer I've tried on the phone but no dice. Again, make sure you do not extract the ROM, or changing the images will not work!
Correction: NinjaMorph in the Google Play store can alter images from the phone, though its a little bit harder to use in my opinion.
Adizzzle said:
Swapping out the PNG's only works on the computer I've tried on the phone but no dice. Again, make sure you do not extract the ROM, or changing the images will not work!
Correction: NinjaMorph in the Google Play store can alter images from the phone, though its a little bit harder to use in my opinion.
Click to expand...
Click to collapse
Okay, so I have downloaded Ninjamorph, and I somehow can not find the .png for the notification background for 4.1.1. I'm on the stock ROM, Do you happen to know what the file name is?
Pikezer1337 said:
Okay, so I have downloaded Ninjamorph, and I somehow can not find the .png for the notification background for 4.1.1. I'm on the stock ROM, Do you happen to know what the file name is?
Click to expand...
Click to collapse
I believe that is a hex value in one of the xml files. you would need to decompile and edit the xml to allow custom png images as the background.
BYOBret said:
I believe that is a hex value in one of the xml files. you would need to decompile and edit the xml to allow custom png images as the background.
Click to expand...
Click to collapse
Sounds a tad complicated
Adizzzle said:
Sounds a tad complicated
Click to expand...
Click to collapse
Yeah, it requires a bit more work. I am looking for the thread where I found the info, but xda search is down. I will link as soon as I find it.
BYOBret said:
Yeah, it requires a bit more work. I am looking for the thread where I found the info, but xda search is down. I will link as soon as I find it.
Click to expand...
Click to collapse
Thanks I wanted to look into this. :beer:
Adizzzle said:
Thanks I wanted to look into this. :beer:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1770698
This should still apply. Check post 2.
...and this one should help if you have questions about modifying the apk
http://forum.xda-developers.com/showthread.php?t=2147425

Request: Operator Name in Status Bar

Hi guys, Someone knows a mod that shows the name of your carrier in the status bar? Like this but for Stock 5.1.1: http://forum.xda-developers.com/showthread.php?t=2596089
I already know "Phono", but i want the NAME, no the Logo.
Thank you guys!
Ger$$on said:
Hi guys, Someone knows a mod that shows the name of your carrier in the status bar? Like this but for Stock 5.1.1: http://forum.xda-developers.com/showthread.php?t=2596089
I already know "Phono", but i want the NAME, no the Logo.
Thank you guys!
Click to expand...
Click to collapse
Try some custom text apps from Xposed. XBlast can put text next to clock, (screenshot), but there might be others that will do it better.
There is a books value in the SystemUI, have you tried changing that.
XperienceD said:
There is a books value in the SystemUI, have you tried changing that.
Click to expand...
Click to collapse
idk how to change that
Ger$$on said:
idk how to change that
Click to expand...
Click to collapse
Decompile your SystemUI, go to the values folder and open the bools.xml and look for...
Code:
<bool name="config_showOperatorNameInStatusBar">[B]false[/B]</bool>
...change it to...
Code:
<bool name="config_showOperatorNameInStatusBar">[B]true[/B]</bool>
...and it should display your operator.
I can't find that with root explorer, I'm sorry I'm a rookie, but here is my Sistemui.apk
Ger$$on said:
I can't find that with root explorer, I'm sorry I'm a rookie, but here is my Sistemui.apk
Click to expand...
Click to collapse
Here you go.. You need apktool on your PC. There's a version for Xperia phones that is very easy to use, check it out - http://forum.xda-developers.com/showthread.php?t=2639400
levone1 said:
Here you go.. You need apktool on your PC. There's a version for Xperia phones that is very easy to use, check it out - http://forum.xda-developers.com/showthread.php?t=2639400
Click to expand...
Click to collapse
Thank you!

Categories

Resources