Advice on Changing the Clock Color on the SGP 5.0 - Samsung Galaxy Player 4.0, 5.0

I've been trying for the past couple of weeks to change the clock color on my SGP 5.0. I searched around on the forums and followed a lot of instructions word-for-word on editing .xmls from the SystemUI.apk and the framework-res.apk. Still, I cannot get the clock color to change.
I had intended to change the clock's color to #33B5E5 (ff33b5e5), and then when that was done, remove the AM/PM. But, at this point, I am so frustrated and would appreciate any assistance from the community.
P.S. - I would be happy to upload the SystemUI and framework-res apks that I am working with if someone can do it for me.

Oh, by the way, I am running stock ROM with themed apks.
Android 2.3.6
KRKPD (because this firmware is the only one compatible with the apks I modded)

Higgs_Boson said:
I've been trying for the past couple of weeks to change the clock color on my SGP 5.0. I searched around on the forums and followed a lot of instructions word-for-word on editing .xmls from the SystemUI.apk and the framework-res.apk. Still, I cannot get the clock color to change.
I had intended to change the clock's color to #33B5E5 (ff33b5e5), and then when that was done, remove the AM/PM. But, at this point, I am so frustrated and would appreciate any assistance from the community.
P.S. - I would be happy to upload the SystemUI and framework-res apks that I am working with if someone can do it for me.
Click to expand...
Click to collapse
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk

klin1344 said:
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk
Click to expand...
Click to collapse
Klin,
Thank you for the prompt reply. I have no doubt that you know what you're talking about. It's just that I was surprised at what you said, because I was under the impression that there were no smali edits needed with gingerbread. Correct me if I'm wrong (which I probably am).
Thanks again.

klin1344 said:
Changing the clock color requires editing smali in systemui. Don't worry, it's not too difficult.
I'll link you to the guide once I find it.
EDIT: link found: forum.xda-developers.com/showthread.php?t=1498859
Sent using Tapatalk
Click to expand...
Click to collapse
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.

Higgs_Boson said:
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.
Click to expand...
Click to collapse
That's weird... I've never run into anything like that before.
You could extract the classes.dex from the apk with 7zip and then baksmali it.
Sent using Tapatalk

Higgs_Boson said:
Checked out the link. It looks like just the right thing I need, but I am running into a problem. I am using APK Manger 5.1 to decompile apks, but after the apk decompiles, there is no smali folder. Any ideas? Your help is much appreciated.
Click to expand...
Click to collapse
Wait.. Are you deodexed?
You need to be using a deodexed rom so all your apks will have smali in them.
Sent using Tapatalk

klin1344 said:
Wait.. Are you deodexed?
You need to be using a deodexed rom so all your apks will have smali in them.
Sent using Tapatalk
Click to expand...
Click to collapse
That must've been the issue, because I am on stock ROM, which I am sure is not deodexed.

Related

[Q] What is VRTHEME??

I saw lots of theme which has this in their title. but I can't find any guide or tutorial about this. So, what is this? how could I use it? has it any benefit over usual "decompile/theme/recompile/replace"ing an apk?Is there any script to implement it like apktool?
Its the universal theme flasher created by Villain ROM.
As for all your other questions I'm not sure.
Sent from my GT-I9100 using XDA
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
sam5154 said:
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
Click to expand...
Click to collapse
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Ba7rani123 said:
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Click to expand...
Click to collapse
classes.dex is for the smali that has been edited if there was any.
I assume that if the xmls were edited and they point to new PNG images/objects then the resources has been changed. I would say that in this case you would need to have an updated resources file for these adjustments? This could be pulled from your newly compiled .apk that you want to base your flashable theme off?
I am unsure if resources needs to be updated though for certain? I have flashed in the past new xmls and they worked fine, however these were not referencing any new sources or images...so my thoughts are that these mods I made didn't require this additional file?? I could be wrong. I really should read the thread about it here on XDA. I did a long time ago, but have come a long way since then.
I diverse. Try using it without new resources file and see what happens?
You may also like to looking into Morphing as well (very similar concept).
James
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
xdarkmario said:
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
Click to expand...
Click to collapse
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
sam5154 said:
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
yep, both my phones i tried them on are deodexed.

[REQUEST] Clock Color Change

I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Higgs_Boson said:
I have been struggling with this procedure for the past couple of weeks and I am at my wit's end. I have tried both APKTOOL and APK Manager to decompile my SystemUI.apk and no matter how many ways I try to decompile it, there absolutely is no smali directory.
If I post my SystemUI.apk, would an experienced themer, developer, or modder be kind enough to edit the smali coding to make the clock a different color? I am happy with the icons and everything else; I just want the color change.
The color I was looking for is #33b5e5 (the ICS blue). I would appreciate any help someone would be willing to give. Thanks.
Click to expand...
Click to collapse
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
klin1344 said:
I will gladly do it for you right now.
Give me about 10 mins time.
EDIT: took a look at the apk, the reason why there is no smali folder is because you are using an odexed rom I believe. You have to be deodexed to be able to modify the smali inside system apks.
Sent using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help.
Is there nothing that can be done?
Higgs_Boson said:
Thank you very much for your help.
Is there nothing that can be done?
Click to expand...
Click to collapse
You could deodex the apk, make your smali edits, re-odex it again, and then push both files into the correct directories, but it is a very annoying and tedious process.
You should flash a custom rom (all of them are deodexed) and make your smali edits from there.
Sent using Tapatalk

[How-To]Change Grey Status Bar Color to Black

This Is Just a Small How To Change Status Bar Color To Black For Those Who Are Having Problems With Grey Status Bar :
Things Needed :
Code:
Basic Knowledge Of Compiling/decompiling
notepad ++ get it from [URL="http://notepad-plus-plus.org/"]Download[/URL]
First Decompile Your SystemUI.apk
Use Any Of The Preferred Methods
Code:
Then Browse To res > Values >drawables.xml
open the xml in notepad++ and search for
Code:
and search for
<item type="drawable" name="status_bar_background">
and change the codes you get with that to
Code:
[COLOR="Red"]#ff000000[/COLOR]
#FF000000 is your code for black
save it and recompile
Then Either Place It In Your System/app/
and change the permissions rw-r-r- or make a flashable zip and your good to go
If Someone wants to Make a request For The Black Status Bar Please Post Your :
SystemUI.apk
Framework-res.apk
twframework-res.apk​
PS: hit thanks if you think its not hard to hit it
Guys il Post The Grey Status Bar Fix Flashable Zip Here :
For XXDMA5 -- > Flashable Zip
For XXDLJ2 4.1.2 -- > Flashable Zip
For XXDLL4 4.1.2 -- > Flashable Zip​​
what are you using to recompile? apktool? i haven't done any compiling in a while. last i knew was apktool wouldn't work on JB.
na7q said:
what are you using to recompile? apktool? i haven't done any compiling in a while. last i knew was apktool wouldn't work on JB.
Click to expand...
Click to collapse
Apktool works....
Fired From My FireDevice.
na7q said:
what are you using to recompile? apktool? i haven't done any compiling in a while. last i knew was apktool wouldn't work on JB.
Click to expand...
Click to collapse
exactly like sahil said apktool works and if you still face any isdue just let me know
Awesome Post.thanks for share.
Warren87 said:
Awesome Post.thanks for share.
Click to expand...
Click to collapse
no problem my friend
Any chance for a flashable zip file? W
wmfreak said:
Any chance for a flashable zip file? W
Click to expand...
Click to collapse
+1 with many thanks
If someone who already done this could share the zip with us it would be awesome. Thanks..
Sent from my GT-N7100 using xda premium
guys just you guys wanted if you guys can post your version of Rom your using i can upload it for you
i can't get it to recompile. i've tried everything. recompiling works great. maybe it needs some updating or something? happen to have an entire linux or windows update of apktool that i can use?
na7q said:
i can't get it to recompile. i've tried everything. recompiling works great. maybe it needs some updating or something? happen to have an entire linux or windows update of apktool that i can use?
Click to expand...
Click to collapse
upload your systemUI.apk framework-res.apk and tw framework-res.apk
and also firmware version so that it can be helpful for other users as well
here you are my friend! thanks much for helping out!
i'm running the ALJC firmware on the USCC note 2 but running Sprints ALJC firmware.
i modified it to work on the USCC note 2 in case you were wondering.
USCC hasn't gotten any updates :/ so i've gone ahead and made my own you could say.
http://d-h.st/MyT
http://d-h.st/nDs
http://d-h.st/vn8
na7q said:
here you are my friend! thanks much for helping out!
i'm running the ALJC firmware on the USCC note 2 but running Sprints ALJC firmware.
i modified it to work on the USCC note 2 in case you were wondering.
USCC hasn't gotten any updates :/ so i've gone ahead and made my own you could say.
http://d-h.st/MyT
http://d-h.st/nDs
http://d-h.st/vn8
Click to expand...
Click to collapse
no problem my friend il just take a look at it
thanks again! i'm just a wittle bit sad i can't decompile/recompile it myself
who knew decompiling, editing and then recompiling classes.dex were easier than apk's
boggles my mind....
na7q said:
thanks again! i'm just a wittle bit sad i can't decompile/recompile it myself
who knew decompiling, editing and then recompiling classes.dex were easier than apk's
boggles my mind....
Click to expand...
Click to collapse
here mate try this
and report back
ALJA please
Here are my files. I'm on alj3 odex stock.
http://db.tt/USwdDmLv
I tried De compiling myself by failed miserably
Sent from my GT-N7100 using xda premium
MohJee said:
Here are my files. I'm on alj3 odex stock.
http://db.tt/USwdDmLv
I tried De compiling myself by failed miserably
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
try this mate and revert hope everything turns out well

[Q] how to modify status bar and status bar icons?

Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
SystemUI.apk and framework-res.apk
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
MaartenXDA said:
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
Click to expand...
Click to collapse
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Is this post meant for me?
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
As Maarten already pointed out SystemUI.apk and framework-res.apk. And if you want to use them in apktool you'll also need com.htc.resources.apk.
Just out of curiosity: are you going to use UOT or apktool? Been trying to change status bar clock colour on half-sense and fulmix (see my post in his thread) with apktool but haven't succeeded yet.
What are your plans on theming?
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
R: [Q] how to modify status bar and status bar icons?
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Sent from my HTC Desire X using xda premium
fulmix said:
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Click to expand...
Click to collapse
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
darxsen said:
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
Click to expand...
Click to collapse
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
fulmix said:
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
Click to expand...
Click to collapse
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
MaartenXDA said:
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
Click to expand...
Click to collapse
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
fulmix said:
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
Click to expand...
Click to collapse
have i to put back .dex files ? or not?
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
People, cause my brother has my same account I have to create my new one, so your fulmix now is xpirt
Sent from my HTC Desire X using xda premium
fulmix said:
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
Click to expand...
Click to collapse
Can you prove this ??
Make a SystemUI.apk without classes.dex and put that in you ROM and release to all users to test. If it works, I will resign from making ROMs.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
Use latest apktool, bad magic value errors fixed in new version.
Refer to this for more info : http://forum.xda-developers.com/showthread.php?t=1642224
BTW... if it just some icons png that you need to change, just replace the pngs, decompile/recompile is not needed.
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
SystemUI must have classes.dex; there is where all the instructions (the smali files) come from for the apk to work. Like what to run for the EQS and many more.
As mentioned on the link given above
Code:
b) If you are using apkmanager, you can just export classes.dex, then delete classes inside the apk. Then decompile, edit, compile and add classes.dex back when ready.
MaartenXDA said:
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
Click to expand...
Click to collapse
Yeah you're right you can edit the xmls & smalis, I have never got the hang of that yet? I just do it the other way
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
I have made wicked themed roms on the desire hd & now on the samsung galaxy s3! I just pull the res folder then mod the pngs with photoshop & then push back to the zip & flash.... ok its not perfect but I've made sum sweet looking ui & systems by doing it that way
sent from my super modded Samsung Galaxy S3

[Q] How to change the list on press action or bg in Xperia U devices?

Hi guys, I'm fairly new to this but I wanted to know how I can change the list pressed animation style in Xperia U? I mean the white background glow on pressing and holding any list button in menus or tabs or buttons, for example see the following photo (attachments), how the background of the notification has turn to white (fading).
I thought there might be a. 9.png file for that, but when I started searching for in the drawable folder of framework-res.apk, I wasn't able to find it?
So I wanna know that am I searching wrongly or there is no such file and just a xml code which I'm not able to get my hands on because of lack of my knowledge of decompiling the apks. I tried decompiling it by apktool but it won't budge. Also to edit pngs I am using a simple technique (posted by a xda user, sorry for not recalling your name but thanks) that is to just open or extract the roms through 7zip and then just copy them back to the respective apk file. This seems to be working as I was able to create my own lockscreen. So please help me in finding where I'm going wrong.
Thanks in advanced...
You must decompile the framework-res.apk and then, search in /drawable-hdpi folder the image. Its name is notification-normal-bg.9.png or something like that. Edit it with photoshop, and, when you have all that you want, compile the framework-res.apk and change it in your phone. Do a backup before do anything.
Enviado desde mi ST25i usando XDA Premium HD app
Slash137 said:
You must decompile the framework-res.apk and then, search in /drawable-hdpi folder the image. Its name is notification-normal-bg.9.png or something like that. Edit it with photoshop, and, when you have all that you want, compile the framework-res.apk and change it in your phone. Do a backup before do anything.
Enviado desde mi ST25i usando XDA Premium HD app
Click to expand...
Click to collapse
First of all thanks for your advice, but as it turns out the Sony isn't using that file?? And also I just did it with my normal method (described before), so I guess it might be a problem that I'm not decompiling it, but as it turns out I don't know exactly how to. So can you suggest me a Guide or something like that through which I can learn to do it without any problems...?? Because last I time tried it, I got a failed app! Please help, thanks in advance...
divinemamgai said:
First of all thanks for your advice, but as it turns out the Sony isn't using that file?? And also I just did it with my normal method (described before), so I guess it might be a problem that I'm not decompiling it, but as it turns out I don't know exactly how to. So can you suggest me a Guide or something like that through which I can learn to do it without any problems...?? Because last I time tried it, I got a failed app! Please help, thanks in advance...
Click to expand...
Click to collapse
I have successfully figured out the first part of the problem, the sony uses the .png starting with semc... So I just searched for semc_list_.... And found what I was looking for. But still how to decompile system apps in Xperia based devices succesfully..? Please someone..?
divinemamgai said:
I have successfully figured out the first part of the problem, the sony uses the .png starting with semc... So I just searched for semc_list_.... And found what I was looking for. But still how to decompile system apps in Xperia based devices succesfully..? Please someone..?
Click to expand...
Click to collapse
You must use APKTool for decompile. When you got it it's so easy to use.
Slash137 said:
You must use APKTool for decompile. When you got it it's so easy to use.
Click to expand...
Click to collapse
Yeah buddy, it was pretty easy. And I figured out what I was doing wrong before, I wasn't including framework-res.apk and SemcGenericUxp.apk in the tool to help it compile the resources! Thanks.
divinemamgai said:
Yeah buddy, it was pretty easy. And I figured out what I was doing wrong before, I wasn't including framework-res.apk and SemcGenericUxp.apk in the tool to help it compile the resources! Thanks.
Click to expand...
Click to collapse
Can you suggest me a method of porting roms perfectly...?
divinemamgai said:
Can you suggest me a method of porting roms perfectly...?
Click to expand...
Click to collapse
Don't worry GOT.. IT....

Categories

Resources