yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
I've been trying to get this to work on the Sprint version. Settings works fine, I've already got Didact74's mod implemented. I'm only working on the clock portion of this mod. SystemUI compiles fine except it fc's and I have no status bar. I've read through this entire thread and I'm not sure what I'm missing. Any help would be great. Thanks.

Edit:The clock settings work, except for the left clock, but the status bar color picker and clock color picker fc. Any ideas?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
So I went back and started from scratch and have the settings fully functional, it had to go through and get the correct id's. Now I'm going to tackle the systemUI.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] engloa:
Hi

Try taking a logcat. all the errors and what caused it will be listed out and you can easily sort it out. its pretty hard to sort out what you did wrong unless you post an error log:rolleyes:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Yea, I'm going to go through the steps for the systemUI again and see if I can get it working. I haven't done a logcat in awhile.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
OK, I went through the whole mod again. Settings works, left clock works, no fc's, but the status bar color doesn't work. Time to go back through this thread and the edits :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Looks like I need to follow post #168.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jedi-knight-:
Has anyone got this working for 4.3? I keep getting FC
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
That edit from post #168 is the one that I needed. I still can't get it to be transparent though, even following loserskater's tip on how to do it. It just stays black or colored.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Josehg:
Hi,

Have you checked post #172 and post #174?

Enviado desde mi GT-I9100 mediante Tapatalk
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Yes, I tried that, still doesn't turn transparent. Another thing I was just able to test is the center clock. My notifications overlap the center clock, unless I misunderstood I thought this mod fixed that.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
OK, it's working now, I forgot to delete Didact74's color picker and I think it was conflicting with loserskater's. Thanks for the help.

---------- Post added at 06:58 AM ---------- Previous post was at 06:55 AM ----------

One thing that I noticed is that it's not transparent when apps are open(which I understand, it would look weird) but it's also not transparent on the lock screen. Is it like that on purpose?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Josehg:
Great, now working :good:

About the other issues, it not related with this mod. Each App has its own theme applied, so if you have your status bar transparent, you will see the background of the App. If the App has the holo light theme, you will see its white background on the statusbar. if dark theme, black background. due to the transparency of the statusbar.

The lockscreen image, is placed just below your status-bar, so you will allways see it, transparent, black or whatever color you have selected.

To fix this, you may apply this:

http://xdaforums.com/showpost.php?p=44100731&postcount=1

;)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Thanks, I'll give that a try. What about the center clock? It still overlaps my notifications.

---------- Post added at 02:07 PM ---------- Previous post was at 02:01 PM ----------

Nevermind, I missed some code in the tw_status_bar smali, center clock edits. Recompiling now.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Hmm, center clock still overlaps my notifications. I'm stumped. Anyone care to take a look at it for me?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
Change the max number of notification icons to 3 or 4. Its part of systemui and I forget which XML, but its in the /res/values folder.

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Nice I'll try that. I'm not near my laptop at the moment. Thanks man.

---------- Post added at 08:39 PM ---------- Previous post was at 08:13 PM ----------

I'm not exactly sure what I'm looking for. Is that in the OP?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
No it's not. Its in one of the XML files. It is only a few lines long.

Tapatalk 4 sucks

---------- Post added at 09:16 PM ---------- Previous post was at 08:54 PM ----------

Actually hold on... I think it is in /res/values/integers.xml

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
I found it in res/values/integers.xml. There is max notification icons and max notification icons num.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
That's where I thought it was. Did it work for you?

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
I don't know yet, lol, I'm letting my notifications build up.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
Install a couple of apps from the market, send yourself a text and send yourself an email :D

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Negative, still getting the overlap.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] TheDriller:
Try bumping it down another one. However much overlap you have is how much you have to bump it down. Maybe even try 2

Tapatalk 4 sucks
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
I have it at 3 now, I'll try 1 later when I get a chance.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] metalfan78:
Well, changing that number doesn't seem to make any difference for me. Any other ideas?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] maskerwsk:
excellent mod loser, works great.

just one question.

I used this tutorial to implement clock colour and statusbar colour, Im not fussed about left clock.

I also have my own colour picker set up so just directed it to that one.

however my colour picker isn't remembering the colour so when you exit settings and go back in its just showing black.

which part of the mod tells the colour picker to remember what colour was chosen?

I have other mods that use my colour picker and it remembers it for them but not this one.

thanks

EDIT - never mind I figured it out :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] a0ry:
work fine great mod :p

-edit- solved wit op other thread
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danivancouver:
Hi, I'm doing the mod for the note, I get the system ui do it but gives error but recovers.

There is another error, error checking is the SD card.

any ideas
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] maskerwsk:
you have an incorrect id somewhere. I had same problems when I did it for note 1.

check all your ids and also check the access$ values refer to the correct values in phonestatusbar.smali
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danivancouver:
Hi, checked IDs, access $ and all right, I'll do a Logcat

regards
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danivancouver:
this is Logcat

https://www.wuala.com/danivancouve/2/carpeta nueva/?key=Nj8nXFg8Em4L
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MyLifeRocks10:
Hi [MENTION=1016795]loserskater[/MENTION], Is there a fix for overlapping notifications on center clock for 4.3 firmwares like you did for 4.1.2?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Yes, instead of looking for mIcons, leftIconsControl, and rightIconsControl you need to look for mStatusBarContents in PhoneStatusBar and PhoneStatusBar$MyTicker. You also need to make sure you make the correct modifications to status_bar.xml.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MyLifeRocks10:
I did that but all my right side icons like signal,wifi,battery were moved to left, overlapping with notification icons. It's like there is no right side in my statusbar, everything that should be in right side overlaps with left side icons. So can you tell me what should I modify in status_bar.xml?:fingers-crossed: I have attatched mine modified status_bar.xml.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Alright, try this:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MyLifeRocks10:
Thanks for your help, will try it later and let you know the result.

Edit: Now it's working fine. No more overlapping on center clock, thanks again for your help.:)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] andrim3:
thank you for the way you loserskater. but there is one thing I do not understand. why after reboot color and statusbar notification back to its original color. Example my systemUI have the original black color, then I change it to red, while at the restart he returned to the black color does not return to the red color. Can you petrified me what I'm doing less

Sorry for bad my language

Sent from my GT-B5330
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Dhinesh Ravi:
First of all hats off for the job u have done....

But i have some clarifications... Since am a usin a rom which is not touchwiz based am in a total confusion on makin the clock mod work as the smalis uploaded are for touchwiz roms... can u make a seperate guide for AOSP roms which are not touchwiz based...thanks..
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] maskerwsk:
Try this mate

http://xdaforums.com/showthread.php?p=53207532
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Dhinesh Ravi:
Awesome bro...thanks for the link...i will try it.. :good: :highfive:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Some of the registers (v1...v5...etc) aren't within the ranges set out at the start of the method.

You should post lines

2932 - 2942

of whichever file that is.... probably 10 lines above and below that chunk too
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Realized I forgot one step that should fix your situation:

Navigate to /smail/com/android/systemui/statusbar/policy/PhoneStatusBar$SettingsObserver.smali

const-string v1, "status_bar_transparency"

invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v1

invoke-virtual {v0, v1, v2, p0}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V

[COLOR="Red"]const-string v1, "statusbar_color"

invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v1

invoke-virtual {v0, v1, v2, p0}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V[/COLOR]

return-void
.end method

Added to the OP
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Or with a little google-ing I found an open source ColorPicker that works perfect! I'll be adding it to this mod.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
I've updated with a color picker! If you've already implemented, you'll have to go through it again, sorry. I've tried to streamline the process by having you copy complete files instead of searching for code, but there's only so much I can do.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] stratatak7:
Beat me to it! Glad you were able to get it implemented so quickly.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Thanks! It was relatively easy since most of the leg work was already done. Much easier messing with integers than strings.

EDIT: Oops, the arrays you remove in SecSettings are supposed to be the clock and status bar colors, not transparency. I'm on my phone in bed so I'll update when I wake up.

Sent from my SAMSUNG-SGH-I747
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
You forgot the statusbar colour changes from string to integer ;)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Everything is good except for the setStatusbarParams. Forgot to change that method. Will update shortly.

Sent from my SAMSUNG-SGH-I747
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] hednik:
Since I highly doubt I'll ever do this myself I'll wait around till it gets implemented in a ROM. Thanks for all the mod's you do and improve upon Loser !

Keep it up as you are a great resource for us all.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Awesome :)

And that fix you posted earlier works well!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
setStatusBarParams has been updated. Everything looks good now.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Any idea how to change the default colour of the clock? It starts red on mine. I'm guessing it's the const/high16 v3, -0x1 ?

EDIT:

Ahh yes, it was that

onst-string v1, "clock_weekday"

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const-string v1, "clock_color"

[COLOR="Red"]const/high16 v3, -0x1[/COLOR]

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

To

onst-string v1, "clock_weekday"

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const-string v1, "clock_color"

[COLOR="Red"]const v3, -0xCC4A1A[/COLOR]

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

For some Holo blue goodness!

EDIT:

Sent a few beers your way :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] sbreen94:
Kryten, the smali hex code that is in their is the one for ics holo blue, so i dont think that one is it, could be wrong tho... :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
That is the correct value, but I'm not sure why it was showing red. It only pulls that value on the initial boot when the setting isn't set yet. And you can use a program like Android Color Converter to change it to any value you want.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Alright, updated everything to remove the transparency code so it's less confusing. Also, added the necessary code if you haven't implemented the transparency setting.

Updated again. Broke the weekday setting. Download the SystemUI zip again. You only need to replace Clock.smali
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] evolutioncsr:
Thank you for the continued support.

I got a compile error with SecSettings and had to add the string below. I listed the error as well for reference.

projects\SecSettings.apk\res\layout\dialog_color_picker.xml:5: error: Error: No resource found that matches the given name (at 'text' with value '@string/press_color_to_apply')

layout_land as well.

It works if I add in the string:

<string name="press_color_to_apply">Press Color to Apply</string>

I also can not go into Settings>Date and Time it FC's. I wanted to make sure all the settings still work so I did not do the SystemUI part yet but did not have these problems with the original version you had up yesterday.

Going into Settings>Display>Status Bar Color also causes FC not sure if I need to finish SystemUI to get rid of that though.

One last thing

type="layout" name="dialog_color_picker" is in public.xml but type="string" name="dialog_color_picker" is not. Not sure if I need the ID's from both but I was able to match the rest.

sorry I know some of these things may be my fault but just pointing out my issues for others that may go through the same.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Sorry, forgot to add two of the strings. Add this to your strings.xml:

<string name="dialog_color_picker">Color Picker</string>
<string name="press_color_to_apply">Press on Color to apply</string>

Not sure why DateTimeSettings is FC'ing. Can you post a logcat?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Ahh, I was just coming here to point that out :D I had the old version on hand to compare and fix, though :D
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] _neutron_:
Hi, im having problems with the phonestatusbar.smali recompiling:

heres the pastebin of the entire method "makeStatusBarView"

This is the relevant part:

new-instance v13, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;

new-instance v14, Landroid/os/Handler;

invoke-direct {v14}, Landroid/os/Handler;-><init>()V

invoke-direct {v13, p0, v14}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/os/Handler;)V

invoke-virtual {v13}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->observe()V

the error relates to the last line of the above code

Ive changed the original v9 / v10 values for v13 & v14 as this is for the int s3 - these are also the same values used in that method

im struggling to understand the error code, im still learning coding stuff atm - any ideas?

Yes i already have the didact clock mod implemented

Thanks in advance
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Change:

invoke-direct {v13, [COLOR="Blue"]p0[/COLOR], v14}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/os/Handler;)V

to

invoke-direct {v13, [COLOR="Red"]v0[/COLOR], v14}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/os/Handler;)V
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] _neutron_:
that worked, thanks

everything compiles and boots ok, just one last thing though

which id's am i looking for in the public.xml? (sorry for being a noob!)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] evolutioncsr:
The ID's are listed as stated in the OP

Open /smali/com/loser/colorpicker/ColorPickerDialog.smali (from the zip file)

and look for the hash tags next to the id's
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] _neutron_:
thanks, i was looking at my decompiled smali file
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] upndwn4par:
Yup, you're wrong. ;)

It's a red-orange.

WTF? I was almost done.

Oh well, this is a better option. Thanks!

Back to work....
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Haha, sorry. It's actually not too much different.

That's weird that the default color is red... Wonder why it's doing that.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
Hi can someone help me please im new to this stuff but I am trying to learn it :p could someone please tell me where ive gone wrong? Everything compiles properly and looks fine but as soon as I try and pick clock or statusbar color..settings force closes..the .zip ive attached contains both apks but decompiled so its easy to look at thanks in advance. .

Link : http://db.tt/CEGkebkl
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Haven't looked at your files but did you follow this?

(Taken from first post so SecSettings.apk)

Now you're going to need to get some ids!!! Compile and then decompile.

Open /smali/com/loser/colorpicker/ColorPickerDialog.smali

There should be a total of 6 id's you need to get. Make sure you're looking at the type as there's a layout and string with the same name.

Look for them in /res/values/public.xml. You should now be good to go.

Sent from my SAMSUNG-SGH-I747
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
I compiled and decompiled. But wasnt sure what I was looking for after that

.sorry dont understand. Thanks for the reply
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
It's because of the code I posted :D

-0x1 = 0x100000

Which in colour code is f00000

Which is red #f00000

:D

For the stock look, I think the colour is f9f9f9?

const-string v1, "clock_weekday"

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const-string v1, "clock_color"

[COLOR="Red"]const v3, -0x060606 [/COLOR]

invoke-static {v2, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

iput v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mClockColor:I

iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Interesting, so white (ffffffff) would be -0x11111111?

Sent from my SAMSUNG-SGH-I747
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] MattBooth:
Almost :D They're the complete opposite in smali hex to the hex colour code system.

So, for white, it's -0x000000 for black it's 0xffffff

I used these two to help:

http://rootzwiki.com/topic/18783-ho...smali-to-use-with-color-pickers-in-aosp-roms/

http://xdaforums.com/showthread.php?p=14848707 - This one is for pure laziness... needless to say it's in my apktool folder now :D
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] alvin551:
hi again everyone i still dont understand what to do at this point can someone help me please? I just dont understand sorry

Haven't looked at your files but did you follow this?

(Taken from first post so SecSettings.apk)

Now you're going to need to get some ids!!! Compile and then decompile.

Open /smali/com/loser/colorpicker/ColorPickerDialog.smali

There should be a total of 6 id's you need to get. Make sure you're looking at the type as there's a layout and string with the same name.

Look for them in /res/values/public.xml. You should now be good to go.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] loserskater:
Compile SecSettings.apk and the decompile it again. Then open two files. /res/values/public.xml and /smali/com/loser/colorpicker/ColorPickerDialog.smali

Look through the ColorPickerDailog for lines like this:

const v2, 0x7f040124 # type="layout" name="dialog_color_picker"

Now copy the section after the hash tag(#) "type="layout" name="dialog_color_picker"" and search for it in the public.xml file. When you find it you'll see a line like this:

<public type="layout" name="dialog_color_picker" id="0x7f040124" />

Copy the id (0x7f040124) and overwrite that section in the original line in the ColorPickerDialog.

You'll need to do that a total of 6 times for that file.