Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,459 Members 41,179 Now Online
XDA Developers Android and Mobile Development Forum

[Manila Mod][01-Jul-2010] Calendar Tab - 28 days on Agenda

Tip us?
(Last edited by slabbi; 8th July 2010 at 11:08 PM.)
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
Default [Manila Mod][01-Jul-2010] Calendar Tab - 28 days on Agenda

Please Read the first post:
- Read the first post carefully and completely before posting.
- When posting about a problem please report your full Manila version (e.g. 2.5.x), OS version, the device and ROM you are using and if you have any other mods installed.

This is a Manila (Sense) 2.5 Calendar Tab modification which features:
- Agenda displays 28 days (instead of 7 days), number of days can be configured
- Some colors can be configured

Click image for larger version

Name:	2010-04-22_10-50-39-AM.jpeg
Views:	5837
Size:	35.6 KB
ID:	313950

I did this patch because I found it very annoying to have only 7 days ahead in the Agenda.

Change log:
1.0.0 first version (30-Mar-2010)
-[new] 28 days on the Agenda
1.0.1 small update
-[update] stripped debug info from the file, so its smaller now
1.0.2 small update
-[new] added some registry keys for configuration
1.0.3 update
-[change] renamed the keys Tweaks.CalendarAgendaYearView(Sa|Su) to Tweaks.CalendarYearView(Sa|Su)
-[new] added some additional keys for modding the colors
1.0.4 update
-[change] updated for 2.5.2016

Requirements and Compatibility:
Manila >= 2.5.1921 is required.

To check your Manila version: go to the settings tab in Sense, select "About phone", and then "Software Information". If you have any problems with this mod please report your full Manila version (e.g. 2.5.x), the device and ROM you are using.

- Install the mid using the CAB, alternatively you can download the Manila file and copy it into your device's windows folder.
- You should backup the original file first in order to revert the modification if necessary.
- Restart Manila or do a Soft-Reset.
- When you do the installation manually, no registry key is created and the default values are used (see below which keys can be created and used).

The CAB creates one new registry key automatically:

Key: (DWORD) Tweaks.CalendarAgendaShowDays = 28

There are some additional keys that are not created automatically:

- (DWORD) Tweaks.CalendarYearViewSa(R|G|B)
- (DWORD) Tweaks.CalendarYearViewSu(R|G|B)
- (DWORD) Tweaks.CalendarYearViewFontColor(R|G|B)
- (DWORD) Tweaks.CalendarYearViewTodayTextColor(R|G|B)
- (DWORD) Tweaks.CalendarYearViewTodayBKColor(R|G|B)
- (DWORD) Tweaks.CalendarMonthViewWeekColor(R|G|B)
- (DWORD) Tweaks.CalendarMonthViewDayColor(R|G|B)
- (DWORD) Tweaks.CalendarWeekViewTimeColor(R|G|B)

"(R|G|B)" means that you have to add "R", "G" or "B" to the key depending on what color you want to set. So you have always three keys:
- (DWORD) Tweaks.CalendarYearViewSuR = red value
- (DWORD) Tweaks.CalendarYearViewSuG = green value
- (DWORD) Tweaks.CalendarYearViewSuB = blue value

Default values for Manila 2.5.2013 are 0,0,175 (Sa) and 175,0,0 (Su). You must not create all keys, e.g. Tweaks.CalendarYearViewSuR = 175 displays red numbers for Sundays also on 2.5.1921. When a key of the RGB-triple is not set, "0" is used. Do not use 0,0,0 since this setting is ignored.

Not required.

Known issues:
- Loading the Agenda screen becomes a little bit slower. I have approx. 500 appointments on my device and the additional loading time is barely noticeable. If it becomes too slow, use smaller values like 14 days.
- Manila 2.5.2013 uses red and blue colors, Manila 2.5.2012 light gray colors for Saturday/Sunday on the years view. Since the mod was done with 2.5.12, also 2.5.2013 users will have light gray color for Saturday/Sunday on the years view. Nevertheless you can tweak the colors.


Manila 2.5.1920:
not compatible

Manila 2.5.1921: (Manila file for manual installation)
slabbi 28 days on (CAB file)

Manila 2.5.2011, 2.5.2012, 2.5.2013, 2.5.2015, 2.5.2016: (Manila file for manual installation)
slabbi 28 days on (CAB file)

If you like my work:
This very simple mod is completely free and donations are not expected, but always appreciated.

(Last edited by zhuozhi211; 22nd April 2010 at 08:38 AM.)
Senior Member
Thanks Meter 56
Posts: 284
Join Date: Sep 2008
works for me thanks! I used the cab.


It worked on my stock Manila. But it takes 2 - 3 seconds for Manila to refresh the list each time i scroll to Calendar tab.
Thats not desirable considering with HD2 processing power it is still so slow. Maybe less days - 14 days?
Niker84's Avatar
Thanks Meter 1
Posts: 97
Join Date: Mar 2009
Doesn't work for me! Manila freezes when tapping on calender tab.

Manila Version 2013
Win Mob 6.5.3
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
Strange, since the mod only changes the counter and does not modify any code. Can you post the original file from your system please?
fgth90's Avatar
Senior Member
Thanks Meter 234
Posts: 850
Join Date: Jan 2007
Location: Belfort, France
Default Well done

I used your cab too.

Excellent work.
HTC ONE X ROM ViperX 4.1.1 | Android 4.2.2 | Sense 5
HBoot 1.72 - Kernel File Type:
lONELyX #023 LI | Stock HTC 4.18.401.2 src |S2W,DT2W,FC,UMS,UV,GPU_OC,MPDEC...

Don't forget to QUOTE if you don't want I miss your post
Hit THANKS if I helped you

Senior Member
Thanks Meter 29
Posts: 186
Join Date: Dec 2008
Location: Rouen
My manila calendar tab won't work with it. I have to uninstal it for the tab to work again.
Maybe there is some incompatibility with another custom manila file wich makes transparent background on calendar tab.

Also thanks for your work.
anhphe076's Avatar
Senior Member
Thanks Meter 16
Posts: 1,148
Join Date: Sep 2008
Location: CanTho
Can you post screen short of Calendar tab - 28 day on. plz. Thank you!!
ChefChaudart's Avatar
Senior Member
Thanks Meter 76
Posts: 1,291
Join Date: Oct 2007
Location: Gaume
This is really a function I missed

Thanks you very much
bnm7bnm's Avatar
Senior Member
Thanks Meter 4
Posts: 784
Join Date: Mar 2008
great mod but not working on manila v2.5.2012.1225,
attached original file plz make it work

screens of problem attached and if i set other views manila restarts
uninstalled without problems
Attached Thumbnails
Click image for larger version

Name:	Screen01.jpg
Views:	643
Size:	21.1 KB
ID:	313960   Click image for larger version

Name:	Screen02.jpg
Views:	532
Size:	16.4 KB
ID:	313961   Click image for larger version

Name:	Screen03.jpg
Views:	516
Size:	21.5 KB
ID:	313962  
Attached Files
File Type: zip - [Click for QR Code] (1.6 KB, 66 views)
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
Originally Posted by bnm7bnm View Post
great mod but not working on manila v2.5.2012.1225,
attached original file plz make it work
Which stock roms contain Manila 2.5.2012.1225?

I have patched your file. Added to first post.

manila 2.5, mod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Integrate Social Networks Into Your Project With ASNE Library

Social network applications and services have developed into major parts ofour … more

Give Your Android Wear Device a Lock Screen with Lockable

Without a doubt,Android Wear is one of the most frequently talked abouttopics of … more

Forums Added for the LG G Watch R and Samsung Gear S

A little over a week ago, LG “inadvertently” let the world know about the … more

Secrecy App Goes Open Source, New LG Android Wear Device! – XDA Developer TV

Secrecy encryption app goes open source! That and much … more