[Android Software/Hacking General [Developers Only]] DocHoliday77:
Thank you so much for the write up!!! Took forever but I got it working! There were two main things that gave me the biggest headaches, and as usual for me it was a single missing or additional word, its always the smallest stuff like this that gets me. Anyway, in case it helps anyone I thought Id share.

The first problem I ran into was with compiling SystemUI and I determined the issue to be in LatestItemContainer$1.

The problem was with the line where you have to edit the id for the Slide Left Animation.

.line 53

:cond_0

const/high16 v1, 0x7f0c

All I had to do to make it compile was remove the /high16 so it would look like this.

.line 53

:cond_0

const v1, 0x7f0c

The second problem I ran into was in StatusBarService. This one was already solved, but it is only pointed out in I think one small post which I overlooked the first time I read through the entire thread. Had I caught this the first time, it would have saved me literally 10-12 days of messing with this thing! Hopefully by posting the solution again, it may save someone else the headaches and make it easier to find!

Basically, I used the HTC guide credited to Dunc001, but no matter what I tried I could not get it to work! As it turned out, I could have pretty much just copied and pasted the code as is, and it would have worked, except for a missing init. All the time I spent trying to 'fix' it.....and it was correct from the first except it was missing this <init>

Thats it! This line,

invoke-direct {v7, v8, v9}, Lcom/android/systemui/statusbar/StatusBarService$7;->(Lcom/android/systemui/statusbar/StatusBarService;Lcom/android/internal/statusbar/StatusBarNotification;)V

Should be like this,

invoke-direct {v7, v8, v9}, Lcom/android/systemui/statusbar/StatusBarService$7;-><init>(Lcom/android/systemui/statusbar/StatusBarService;Lcom/android/internal/statusbar/StatusBarNotification;)V

Hansip87, Thank you so much for all your work on this mod, and all of your follow up work trying to help everyone get it working for themselves. I commend you and wish there were more like you around the forums!

I have only one request of you. Please fix the code here: http://xdaforums.com/showpost.php?p=22378528&postcount=33

All you have to do is put the <init> in there and I imagine it will solve a lot of problems and save a TON of time for people! My very first attempt would've worked, not my 20th! No worries here though, because of it, I was still forced to learn more about java and Android, which is always a good thing!

---------- Post added at 11:12 PM ---------- Previous post was at 10:59 PM ----------

I noticed a couple of times some people asking if this would work on a Froyo Rom. I don't see any reason it could not. All of the required files that need editing are there, only in different places. Plus it works in CM6.

I was trying this a couple of months ago, but failed to get it going. (now that I think of it, it may have to do with the missing <init> in StatusBarService. If I have time Ill pull out my old files and check it out). Anyway, I put it down when I moved on to Gingerbread. I am going mostly from memory here, so I could be a little off, but all of your edits should be in Framework-res.apk and Services.jar. Your resource edits (Anim, statubar_latest_event, public) should be in framework-res.apk. All of your source edits (LatestItemContainer, StatusBarService, IStatusBarService$Stub, etc) should be in services.jar.

Grab a copy of CM6 and decompile the two files and use as a reference. I was attempting to frankenstein the CM6 code with Hansip's, but as I said, I moved to GB before I got it working.

Hope this helps get someone on the right track for getting this working on Froyo. If you get it working, share the knowledge!