{"id":819,"date":"2012-01-07T15:54:00","date_gmt":"2012-01-07T22:54:00","guid":{"rendered":"http:\/\/chriscarey.com\/wordpress\/?p=819"},"modified":"2013-12-27T11:33:59","modified_gmt":"2013-12-27T18:33:59","slug":"changing-calendar-colors-on-a-jailbroken-iphone-running-ios-5","status":"publish","type":"post","link":"https:\/\/chriscarey.com\/blog\/2012\/01\/07\/changing-calendar-colors-on-a-jailbroken-iphone-running-ios-5\/","title":{"rendered":"Changing Calendar Colors on a Jailbroken iPhone running iOS 5"},"content":{"rendered":"<p>iOS 5 changed the database that deals with Calendar colors. The value is now a hex value just like CSS uses (something like #fe6548)<\/p>\n<p>&#8211; Install sqlite3 via Cydia (you must have Cydia in &#8220;Developer&#8221; mode so it lists the command-line utilities)<\/p>\n<p>&#8211; ssh to your iPhone (as user mobile)<\/p>\n<p>&#8211; Run sqlite3 and open the calendar database<\/p>\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">iPhone:~ mobile$ sqlite3 \/var\/mobile\/Library\/Calendar\/Calendar.sqlitedb<\/div><\/div>\n<p>&#8211; Issue the SQL commands to change the calendar colors:<\/p>\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">sqlite&gt; UPDATE Calendar SET color='#9FC6E7' WHERE title = 'Chris Carey';<br \/>\nsqlite&gt; UPDATE Calendar SET color='#FF7537' WHERE title = 'Work';<br \/>\nsqlite&gt; UPDATE Calendar SET color='#D06B64' WHERE title = 'Important';<br \/>\nsqlite&gt; UPDATE Calendar SET color='#B3DC6C' WHERE title = 'School';<br \/>\nsqlite&gt; UPDATE Calendar SET color='#4986E7' WHERE title = 'Chris &amp;amp; Nasique';<br \/>\nsqlite&gt; UPDATE Calendar SET color='#AC725E' WHERE title = 'Health';<\/div><\/div>\n<p>-Quit sqlite3<\/p>\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">.quit<\/div><\/div>\n<p>-Quit ssh<\/p>\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">exit<\/div><\/div>\n<p>If needed, kill the calendar app or reboot the phone to get it to reload the new colors<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS 5 changed the database that deals with Calendar colors. The value is now a hex value just like CSS uses (something like #fe6548) &#8211; Install sqlite3 via Cydia (you must have Cydia in &#8220;Developer&#8221; mode so it lists the command-line utilities) &#8211; ssh to your iPhone (as user mobile) &#8211; Run sqlite3 and open [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-819","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prpYG-dd","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/comments?post=819"}],"version-history":[{"count":18,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/819\/revisions"}],"predecessor-version":[{"id":1111,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/819\/revisions\/1111"}],"wp:attachment":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/media?parent=819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/categories?post=819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/tags?post=819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}