Difference between revisions of "Application:ModeSwitcher"

From WebOS Internals
Jump to navigation Jump to search
 
(232 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<div style='position: relative;'>
 
{{application
 
{{application
|name=Mode Switcher (beta)
+
|name=Mode Switcher
 +
|version=1.x/2.x
 
|type=webOS
 
|type=webOS
|version=Version: 1.0.3 <br />(August 23th, 2010)
 
 
|tag=Utilities
 
|tag=Utilities
|screenshot=modeswitcher001.png
+
|screenshot=modeswitcher_2x.png
|description=developed by sconix
+
|description=<div style='position: absolute; bottom: 0; right: 0; padding-right: 28px; padding-bottom: 16px'>{{SconixDonation}}</div>
 
}}
 
}}
== What is Mode Switcher? ==
+
</div>
  
{{icon|Icon_Mode-Switcher.png|float:right;}}
+
== Overview ==
 +
[[image:Icon_Mode-Switcher.png|frameless|left]]
 +
Mode Switcher is a webOS application that brings profile support to your device in the form of "modes". These "modes" can nearly control every available setting in webOS and can be triggered (manually or automatically) by a number of different methods or "triggers" that in turn change settings on your device based on the configuration of the modes you created. Mode Switcher is very powerful and feature rich. You can make its use as simple or complex as you would need.
 +
<br /><br /><br />
 +
 
 +
{{article-two-columns
 +
|width1=50%;
 +
|column1=
 +
<span style="color:#8a0002"><center>'''Mode Switcher 2.x'''</center></span>
 +
<span style="color:#8a0002">'''Controllable Settings'''</span>
 
<blockquote>
 
<blockquote>
Mode Switcher brings profile support to WebOS in the form of 'modes' that cover nearly every available phone setting.  These modes can be triggered in my many different ways: placing the phone on a touchstone, time of day, current wifi ssid, GPS location.
+
*'''Airplane'''
 +
*'''Calendar''' ''(blink and reminder)''
 +
** ''Advanced Systems Prefs - Calendar Prefs patch or Uber Calendar patch (Required)''
 +
*'''Connections''' ''(radios: phone, data, wi-fi, bluetooth, gps)''
 +
*'''Contacts''' ''(blocked and unknown)''
 +
** ''Advanced Systems Prefs - Framework patch (Required)''
 +
*'''Email''' ''(blink, alert, sync frequency)''
 +
** ''Advanced Systems Prefs - Email Prefs patch (Required)''
 +
*'''Messaging''' ''(blink, alert, instant messaging account status)''
 +
** ''Advanced Systems Prefs - Messaging Prefs patch (Required)''
 +
*'''Network''' ''(network type, data roaming, voice roaming (forced/automatic))''
 +
*'''Phone''' ''(on call reject and blink)''
 +
** ''Advanced Systems Prefs - Phone Prefs patch (Required)''
 +
*'''Ringer''' ''(switch on, switch off, ringtone)''
 +
*'''Screen''' ''(brightness, turn off after, blink notify, locked notify, wallpaper)''
 +
*'''Security''' ''(unsecure, simple pin, password)''
 +
*'''Sounds''' ''(ringer, system, media)''
 +
*'''Applications''' ''(opening, closing, special functions via app launch parameters where supported (e.g. Govnah))''
 +
</blockquote>
 +
<br />
 +
<span style="color:#8a0002">'''Available Triggers'''</span>
 +
<blockquote>
 +
*'''Application'''
 +
*'''Battery Level'''
 +
** ''Advanced Systems Prefs - Framework (Required)''
 +
*'''Bluetooth Connection''' ''(by profile or device name)''
 +
*'''Calendar Event'''
 +
*'''Charger Event''' ''(touchstone w/orientation, USB or wall charger. Can be set separately)''
 +
** ''Advanced Systems Prefs - Framework (Required)''
 +
*'''Display State'''
 +
*'''GPS Location'''
 +
*'''Headset'''
 +
*'''Mode Change'''
 +
*'''Silent Switch'''
 +
*'''Time Interval'''
 +
*'''Time of Day'''
 +
*'''Wi-Fi Network'''
 +
</blockquote>
  
Examples of settings which can be controlled by Mode Switcher include, but are not limited to:  
+
|column2=
 +
<span style="color:#8a0002"><center>'''Mode Switcher 1.x'''</center></span>
 +
<span style="color:#8a0002">'''Controllable Settings'''</span>
 +
<blockquote>
 +
*'''Airplane'''
 +
*'''Connections''' ''(radios: phone, data, wi-fi, bluetooth, gps)''
 +
*'''Network''' ''(network type, data roaming, voice roaming (forced/automatic))''
 +
*'''Ringer''' ''(switch on, switch off, ringtone)''
 +
*'''Screen''' ''(brightness, turn off after, blink notify, locked notify, wallpaper)''
 +
*'''Security''' ''(unsecure, simple pin, password)''
 +
*'''Sounds''' ''(ringer, system, media)''
 +
*'''Applications''' ''(opening, closing, special functions via app launch parameters where supported (e.g. Govnah))''
 +
</blockquote>
 +
<br />
 +
<span style="color:#8a0002">'''Available Triggers'''</span>
 +
<blockquote>
 +
*'''Application'''
 +
*'''Battery Level'''
 +
*'''Bluetooth Connection''' ''(by profile or device name)''
 +
*'''Calendar Event'''
 +
*'''Charger Event''' ''(touchstone w/orientation, USB or wall charger. Can be set separately)''
 +
*'''Display State'''
 +
*'''GPS Location'''
 +
*'''Headset'''
 +
*'''Mode Change'''
 +
*'''Silent Switch'''
 +
*'''Time Interval'''
 +
*'''Time of Day'''
 +
*'''Wi-Fi Network'''
 +
</blockquote>
 +
}}
  
* WiFi on/off
 
* Bluetooth on/off
 
* GPS on/off
 
* IM Status
 
* Ringer on/off/vibrate
 
* Ringtone
 
* Brightness
 
* Wallpaper
 
* System Volume
 
* Media Volume
 
  
 +
==== Versions ====
 +
<blockquote>
 +
There are two versions of Mode Switcher available. What version you use is dependent on what version of webOS is running on your device. Mode Switcher 1.x is available for webOS 1.4.x and Mode Switcher 2.x for webOS 2.x.
 +
<br /><br />
 +
Mode Switcher 2 was completely rewritten into a Javascript service instead of being an application that runs in the background. It supports controlling even more system settings than MS 1.x with the help of the Advanced System Prefs patches for webOS 2.1. Mode Switcher 2 is faster, better and all around more awesome than before!
 +
<br /><br />
 +
Differences in the version's features, settings and capabilities will be noted throughout the rest of the wiki.
 
</blockquote>
 
</blockquote>
  
  
== How to Install Mode Switcher ==
+
== Installation ==
 +
 
 +
The following information will help you install Mode Switcher.
 +
 
  
 
==== Overview ====
 
==== Overview ====
 
<blockquote>
 
<blockquote>
The following steps will guide you through installing Mode Switcher with Preware.
+
<span style="color:#8a0002">'''Stable Releases'''</span>
 +
<br />
 +
The stable releases of Mode Switcher can be found in the WebOS-Internals feed and are recommended for general public use.
 
<br /><br />
 
<br /><br />
  
Currently, Mode Switcher is found in the WebOS-Internals Testing Feeds. Mode Switcher's dependent/required patch, "Launch Mode Switcher on Luna Boot", is found in the WebOS-Internals Patch feed and is required for Mode Switcher to work. When installing Mode Switcher from Preware, the "Launch Mode Switcher on Luna Boot" patch will automatically be installed at the same time as Mode Switcher.
+
<span style="color:#8a0002">'''Testing Releases'''</span>
 
+
<br />
 +
The testing releases of Mode Switcher can be found in the WebOS-Internals Alpha or Beta feeds [http://www.webos-internals.org/wiki/Testing_Feeds WebOS-Internals Testing Feed].
 
<br /><br />
 
<br /><br />
  
There is another patch, "System Menu Mode Menu Patch", that extends Mode Switcher's functionality. This patch is Webos-Internals Patch feed. This patch is not required for Mode Switcher to work. For more information on how this patch extends Mode Switcher's functionality, please see the [[#Usage_Manual|Mode Switcher Manual]].
+
<span style="color:#8a0002">'''Corresponding/Related Patches'''</span>
 +
<br />
 +
There are a number of patches that extend Mode Switcher's functionality. While they are not required for Mode Switcher to function; they are recommended as they add much more functionality to your device and controlling of the functions with Mode Switcher. These patches can be found in the WebOS-Internals Patch Feed. Please follow the links for installation and other general information. It is recommended that you install all of the patches in the patch set and not just those mentioned here. The patches mentioned here are those that matter for Mode Switcher usage.
 +
 
 +
<blockquote>
 +
<u>'''Mode Switcher 2.x'''</u>
 +
* [http://www.webos-internals.org/wiki/Patch:AdvancedSystemMenus Advanced System Menus Patch Set]
 +
<blockquote>
 +
In Particular:
 +
* Advanced System Menus - Framework ''(Required by all the system menus patches)''.
 +
* Advanced System Menus - Mode Menu ''(For easy manual control of modes through a system menu)''.
 +
</blockquote>
 +
* [http://www.webos-internals.org/wiki/Patch:AdvancedSystemPrefs Advanced System Prefs Patch Set]
 +
<blockquote>
 +
In Particular:
 +
* Advanced System Prefs - Framework ''(For using the charger/battery triggers and contacts settings)''.
 +
* Advanced System Prefs - Email ''(For controlling emaiö settings)''.
 +
* Advanced System Prefs - Messaging ''(For controlling phone settings)''.
 +
* Advanced System Prefs - Phone ''(For controlling phone settings)''.
 +
* Advanced System Prefs - System ''(For using extra screen settings)''.
 +
* Advanced System Prefs - Calendar Prefs OR Uber Calendar patch ''(For controlling calendar settings)''.
 +
</blockquote>
  
 
<br /><br />
 
<br /><br />
 +
<u>'''Mode Switcher 1.x'''</u>
 +
* Launch Mode Switcher on Luna Boot ''(Pre/Pre+ Only)''
 +
* [http://www.webos-internals.org/wiki/Patch:SystemMenus System Menu Mode Menu]
 +
</blockquote>
 +
</blockquote>
 +
  
Due to the Mode Switcher app being in the WebOS-Internals Testing Feeds, please take a few mintues to read over, understand and agree to the [http://www.webos-internals.org/wiki/Testing_Feeds#Rules_that_you_must_agree_to_before_using_these_feeds WebOS-Internals Testing Feed Rules] before continuing.
+
==== Method ====
</blockquote>
 
  
 +
The following method can be used to install Mode Switcher.
  
==== Installation via Preware ====
 
  
===== Adding the WebOS-Internals Testing Feeds =====
 
 
<blockquote>
 
<blockquote>
# Open Preware
+
===== [http://www.webos-internals.org/wiki/Application:Preware Preware] =====
# From the App Menu, tap Manage Feeds
 
# Scroll past the Installed section until you see the New Feed section
 
# In the Name field, TYPE ''*what ever name you want to call the feed*'' (ie. webos-internals-testing)
 
# In the URL field, TYPE <nowiki>http://ipkg.preware.org/feeds/webos-internals/testing/all</nowiki>
 
# The "IS COMPRESSED" option should be set to YES
 
# Tap the Add Feed button
 
# Tap Ok at the Custom Feed alert message
 
# Gesture swipe back to go back to the main Preware screen
 
# Tap the Do It Now button at the alert message to update the package list
 
</blockquote>
 
  
===== Installing Mode Switcher =====
+
# Open Preware
<blockquote>
+
# Start typing “Mode Switcher” (no quotes)
# Tap Available Packages (depending on your Preware preferences, you might see Available Applications)
+
# Tap the Mode Switcher from the list
# Tap the Feeds button at the bottom of the screen
+
# Tap the Install button
# Tap WebOS Internals > Application > System Utilities > Mode Switcher
+
# Tap the Ok button to restart Luna
# Tap the Install button
 
# Tap the Install / Update It button ''(This will install Mode Switcher and the dependent/required "Launch Mode Switcher on Luna Boot" patch.)''
 
# Tap the Ok button to restart Luna  
 
  
 
'''Or'''
 
'''Or'''
  
# At the main Preware screen, start a search for Mode Switcher by typing in "mode switcher" (without the parenthesis).
+
# Open Preware
# Tap the Install button
+
# Tap Available Packages
# Tap the Install / Update It button ''(This will install Mode Switcher and the dependent/required "Launch Mode Switcher on Luna Boot" patch.)''
+
# Tap Application > System Utilities > Mode Switcher
 +
# Tap the Install button
 
# Tap the Ok button to restart Luna
 
# Tap the Ok button to restart Luna
 
</blockquote>
 
</blockquote>
  
===== Installing the System Menu Mode Menu Patch =====
 
<blockquote>
 
# Open Preware
 
# Tap Available Packages
 
# Tap Patch > Top Bar > System Menu Mode Menu
 
# Tap the Install / Update It button ''(This will install the "System Menu Mode Menu" patch and the dependent/required "System Menu Initial Framework" patch.)''
 
# Tap the Ok button to restart Luna
 
</blockquote>
 
  
 
+
==== Updating ====
== Troubleshooting (FAQ) ==
 
  
 
<blockquote>
 
<blockquote>
'''Q: I’m getting this error when I try to install Mode Switcher: “1 of 1 hunk failed -- saving rejects to file etc/palm/luna.conf.rej”'''
+
===== <span style="color:#8a0002">webOS OTA Updates</span> =====
<br />
+
Since Mode Switcher is an app, it is OTA (over-the-air) update safe. However, the patches that correspond/extend Mode Switchers functionality like the Advanced System Prefs patches and the Mode Menu patches are not OTA (over-the-air) update safe. When there is an OTA update to a newer version of webOS from your carrier, you must remove these patches before updating. If you do not remove them prior to running the OTA update, you most likely will need to run the Emergency Patch Recovery tool from Preware.
A: The patch “Launch Brightness Unlinked on Luna Boot” conflicts with the "Launch Mode Switcher on Luna Boot" patch and must be removed.
 
  
<br/ ><br/>
 
  
'''Q: I installed Mode Switcher, but when I tap the launcher icon nothing happens.'''
+
===== <span style="color:#8a0002">Application and Patch Updates</span> =====
<br />
+
Updated versions of Mode Switcher and the related patches can be applied via Preware.
A: You must perform a Luna Restart after installing/updating Mode Switcher.
 
 
</blockquote>
 
</blockquote>
  
  
== Resources ==
+
== Configuration ==
 
+
<blockquote>
==== Official Forum ====
+
<u>'''<span style="color:#8a0002">Mode Switcher 2.x</span>'''</u>
 
<blockquote>
 
<blockquote>
* [http://forums.precentral.net/homebrew-apps/224544-mode-switcher.html Official PreCentral Forum Thread]
+
A new usage section is being created for Mode Switcher 2.x.
 +
<br />
 +
Sections will be added as they are completed.
 
</blockquote>
 
</blockquote>
  
==== Usage Manual ====
+
 
 +
<u>'''<span style="color:#8a0002">Mode Switcher 1.x</span>'''</u>
 
<blockquote>
 
<blockquote>
*[http://modeswitcher.jupiterns.org Mode Switcher Manual (current to version 0.9.35)]
+
* [http://modeswitcher.jupiterns.org Official Mode Switcher 1.x Manual]
 
</blockquote>
 
</blockquote>
 
==== Donation to Developer ====
 
<blockquote>
 
* Please see the official PreCentral Forum thread opening post for the donation link.
 
 
</blockquote>
 
</blockquote>
  
  
== Status ==
+
== Tips & Usage Hints ==
 
 
==== Current Release ====
 
 
<blockquote>
 
<blockquote>
'''1.0.0 <span style="color:#ff0000">'''</span> - (''Released Aug 23th, 2010'')
+
<u>'''<span style="color:#8a0002">Mode Switcher 2.x</span>'''</u>
 
</blockquote>
 
</blockquote>
 
===== Changelog =====
 
 
<blockquote>
 
<blockquote>
* Fixed govnah support
+
<b>Blocking Modes</b>
* Added translation support
+
<br />
* Fixed the map showing up empty in the first opening
+
Block options is gone in MS 2.x since it can be now done in a better way. If you want to make sure that mode A can not activate when mode B is active then add mode change trigger into mode A with setting: Mode B, Not Active. This way mode A can not trigger when mode B is active.
* Added radius displaying to the map interface
 
* Tweaked the GPS trigger once more to be bit better
 
 
</blockquote>
 
</blockquote>
  
===== Known Issues =====
+
 
 +
== Troubleshooting/FAQs ==
 +
<blockquote>
 +
<u>'''<span style="color:#8a0002">Mode Switcher 1.x & 2.x</span>'''</u>
 
<blockquote>
 
<blockquote>
* See also next release info below since it should fix all known issues
+
'''Q: There are times when the radios (Phone/Data (3G)/Bluetooth/Wi-Fi) don't change state (on/off) when opening, closing or switching modes. What is wrong?'''
* Phone call and other system tasks may interrupt or prevent mode change
+
<br />
* Launcher popup is not updated if another trigger happens while visible
+
A: There is a bug in webOS (version independent) where depending on the device/installation you may have varying success with the radios changing state. The frequency in which what radio settings get "stuck" or which radio settings don't get applied varies. A temporary solution is to do a full restart of the device which usually clears the "stuck" radio settings.
* Requesting mode change while processing previous change might cause unexpected behavior
+
<br /><br />
 +
'''Note: This issue affects devices running the stock and modified kernels. It appears to affect any device running any current webOS versions (1.4.x/2.x)'''
 
</blockquote>
 
</blockquote>
  
==== Next Release ====
+
 
 +
<u>'''<span style="color:#8a0002">Mode Switcher 2.x</span>'''</u>
 
<blockquote>
 
<blockquote>
</blockquote>
+
'''Q: I can't seem to find the settings for controlling the calendar, email and/or messaging nor the charger and/or battery triggers?'''
 +
<br />
 +
A: One of two things are not setup correctly.
 +
# As mentioned in the [[#Overview_2|Installation > Overview > Corresponding/Related Patches section]], certain patches are needed to extend Mode Switcher functionality. Please see the links to the related wiki pages for help with installing those patches.
 +
# If you have those patches installed, make sure you have the Advanced Features toggle enabled. ''(It can be found by going to the app menu and selecting Extensions.)''
 +
<br />
 +
'''Q: When opening MS after installation, I get the Unknown Service Error notification. How do I fix this?'''
 +
<br />
 +
A: That message means that you most likely have a bad or incorrect installation of MS. First try re-installing and rebooting your device (twice to be sure). If you still get the same error then you need to complete the installation manually ''(this is a webOS bug/error in your webOS installation that can cause the installation of service to always fail)''. You can complete the installation by entering the following three commands in a terminal ''(either over ssh/novaterm connection or in terminal application in the phone).''
 +
<br /><br />
 +
<pre>
 +
cp -f /media/cryptofs/apps/usr/palm/services/org.webosinternals.modeswitcher.srv/org.webosinternals.modeswitcher.srv.json /var/palm/ls2/roles/pub/
  
==== Future Releases ====
+
cp -f /media/cryptofs/apps/usr/palm/services/org.webosinternals.modeswitcher.srv/org.webosinternals.modeswitcher.srv.service /var/palm/ls2/services/pub/
<blockquote>
 
* Add extension for filemanager service for renaming dirs
 
* Individual mode triggers locking
 
* Per account ringtone settings
 
* Add per account IM configuration when WebOS/messaging plugin patches allow this
 
* Add special triggers like: Im status trigger / signal strength trigger / etc.
 
* Script for save/restore application
 
  
 +
ls-control scan-services
 +
</pre>
 +
<br /><br />
 +
'''Q: When changing modes, I get the notification, "Error: Mode change was aborted". What does that mean?'''
 +
<br />
 +
A: That message means that there is a loop within the MS app configurations and the mode changing was aborted.
 +
<br /><br />
 +
'''Q: Where did the trigger blocking go?'''
 +
<br />
 +
A: The trigger blocking was removed in MS 2.0.9 in favor of using the Mode Change Trigger. You can achieve the same results and more by using the Mode Change Triggers.
 
</blockquote>
 
</blockquote>
  
==== Past Releases ====
 
  
 +
<u>'''<span style="color:#8a0002">Mode Switcher 1.x</span>'''</u>
 
<blockquote>
 
<blockquote>
'''0.9.100 <span style="color:#ff0000">(beta)'''</span>
+
'''Q: I’m getting this error when I try to install Mode Switcher: “1 of 1 hunk failed -- saving rejects to file etc/palm/luna.conf.rej"'''
* Fixed GPS trigger closing for modifier modes
+
<br />
* Fixed Web app configuration not saving
+
A: The patch “Launch Brightness Unlinked on Luna Boot” conflicts with the "Launch Mode Switcher on Luna Boot" patch and must be removed.
* Fixed airplane settings causing network search even when no change in airplane mode
+
<br /><br />
* Fixes mode menu to update the status after network search
+
'''Q: I installed Mode Switcher, but when I tap the launcher icon nothing happens.'''
* Fixed loop failsafe and couple unwanted causes for mode loops
+
<br />
* Fixes grouped triggers
+
A: You must perform a Luna Restart after installing/updating Mode Switcher.
 +
<br /><br />
 +
'''Q: Can I close / get rid of the Mode Switcher dashboard icon?'''
 +
<br />
 +
A: If you are on a Pixi/Pixi+, then no, the dashboard scene needs to be active for Mode Switcher to function. For the Pre/Pre+, install the Launch Mode Switcher on Luna Boot patch to get rid of the dashboard.
 +
<br /><br />
 +
'''Q: Can I manually or use [[Application:SaveRestore|Save/Restore]] to import my Mode Switcher 1.x modes into Mode Switcher 2.x?'''
 +
<br />
 +
A: Unfortunately, no. The differences between version 1.x and 2.x are to great to make this possible.
 +
</blockquote>
 
</blockquote>
 
</blockquote>
  
 +
==== Sending Problem Report ====
 +
 +
When you are sure that the problem you are experiencing is not a configuration error and you have preferably first asked about the problem in the thread then you can send a problem report. To do so you need to have lumberjack installed. The preferred method of sending the problem report is first to reboot your phone then make the "problem" happen and right after it has happened open the Mode Switcher app and send the problem report via App Menu - Help - App Menu - Send Problem Report.
 +
 +
 +
 +
== Resources ==
 +
 +
===== Supporting Development =====
 
<blockquote>
 
<blockquote>
'''0.9.99 <span style="color:#ff0000">(beta)'''</span>
+
{{SconixDonation}}
* Fixed problem when multiple trigger of same type set
+
<br />
* Optimized triggers a lot (no triggering if no need)
 
* Added not in location option for GPS trigger
 
* Added dashboard state experiment
 
* Added map UI for location selection
 
* Added time interval trigger
 
* Added screen state trigger
 
* Added Require Mode action to the MS app configuration
 
* Changed the app adding UI to promote MS app
 
* Changed the help web page to be a scene
 
* Changed the settings view buttons to have separate ones for add/remove all
 
* Changed the pin/pw entering into more secure one
 
* Fixed situation where starting of modifier modes failed
 
* Added more controls for MS app (when started, when closed)
 
* Added exporting / importing of modes to google docs
 
* Fixed typo left in GPS trigger that prevented it from working
 
* Fixed for application trigger not sending closing event on all situations
 
* Fixed for charger & wireless delay setting not used in all situations
 
* Fixed calendar trigger failing on events missing some required fields
 
* Possibility to have grouped triggers
 
 
</blockquote>
 
</blockquote>
  
 +
===== Official Developer Project Page =====
 
<blockquote>
 
<blockquote>
'''0.9.40 <span style="color:#ff0000">(beta)'''</span>
+
* [[user:sconix|Current and Legacy Projects]]
* Fixed GPS trigger
 
* Fixed headset trigger
 
* Fixes to per-account email configuration
 
* Block will block only starting of modes
 
* MS app configuring has option to disable all triggers
 
* Calendar trigger also checks location field now
 
* Fixed the edit mode action not opening the configuration of the mode
 
* Fixes for headset trigger
 
* Fixed bug with trigger closing and starting modifier modes at the same time not working
 
* Mode Menu: has + sign after name when active modifiers
 
* Mode Menu: calls trigger all modes after lock is disabled
 
 
</blockquote>
 
</blockquote>
  
 +
===== Official Forum =====
 
<blockquote>
 
<blockquote>
'''0.9.39 <span style="color:#ff0000">(beta)'''</span>
+
<u>'''<span style="color:#8a0002">Mode Switcher 2.x</span>'''</u>
* Fixed application trigger not closing on modifier modes
+
* [http://forums.precentral.net/enlightened-linux-solutions/279166-ms-mode-switcher-2-x.html Official PreCentral Forum Thread]
* Added headset/headset_mic profile selection for headset trigger
+
<br />
* Only changed setting groups are applied on mode update
+
<u>'''<span style="color:#8a0002">Mode Switcher 1.x</span>'''</u>
* Fixed bug concerning use banner option
+
* [http://forums.precentral.net/enlightened-linux-solutions/260212-ms-mode-switcher-1-x.html Official PreCentral Forum Thread]
* Fixed bug that prevented MS to start when default mode configuration was lost
 
* Added any mode option for trigger/start/close actions in MS app configuration
 
* Fixed charger/wifi trigger delay option not working with modifier modes
 
* Fixed bug in application closing when close all set
 
* Fixed small problem in calendar event trigger not closing on some situations
 
* Added calendar selection into the calendar event trigger
 
* Possibility to start govnah application card
 
* Changed wifi ssid and calendar event match word to be case insensitive
 
* Empty string matching for calendar trigger (mathces every event)
 
* Added negative matching option for calendar trigger
 
* App list filtering (no mode/contacts launchpoints)
 
* Added per account configuration possibility for email alert/ringtone/sync
 
 
</blockquote>
 
</blockquote>
  
 +
===== Modes Sharing =====
 
<blockquote>
 
<blockquote>
'''0.9.38 <span style="color:#ff0000">(beta)'''</span>
+
* [https://groups.google.com/group/mode-switcher Mode Switcher Google Groups Group]
* Added calendar event trigger
+
:''Here you can delete your shared modes or view/comment modes posted by others.''
* Added silent switch trigger
 
* Added application trigger
 
* Added headset trigger
 
* Added device support into bluetooth trigger
 
* Added application support for modifier modes
 
* Added handling of failed extension loading on startup
 
* Added on mode switch option for MS app configuration
 
* Added support for services in application list
 
* Hide options in extension config that are not relevant
 
* Fixed configuration dropping when extension loading fails
 
* Fixed launchpoint mode launching so that icon does not stay glowing
 
* Fixed bluetooth trigger so that it works when multiple devices connected
 
* Fixed govnah support
 
* Fixed MS app handling to be efficient and safe
 
* Fixed dropped subscription service requests
 
* Fixed security setting so that it works in every situation
 
* Fixed BT profile trigger (latest feature release broke it)
 
* Fixed screen off feature for every situation
 
* Fixed web launchpoint (bookmark) launching
 
* Fixed voice roaming setting
 
 
</blockquote>
 
</blockquote>
  
 +
===== Official Twitter Account =====
 
<blockquote>
 
<blockquote>
'''0.9.36 <span style="color:#ff0000">(beta)'''</span>
+
* Follow Mode Switcher on Twitter: [http://twitter.com/modeswitcher @modeswitcher]
* Fixing of the MS startup popup bug.
 
* Clean up all the extensions.
 
* Add request retry for all service request.
 
* Add setting group for calendar alert and ringtone.
 
* Bring back the govnah support (properly this time).
 
* Reduce the amount of needed system request for configuration changes.
 
* Show Use Default / Do Not Set as a first option depending on mode type.
 
* Fixes to bluetooth profile trigger.
 
* New mode menu patch with posibility to start default mode directly and to remove the airplane mode which can now be done through MS if wanted to show up in the menu. Also add support for upcoming submodes. Possibility to open mode edit directly from the menu. Also add a way to select which modes are shown in the menu.
 
* Add new blocking options for blocking only modifier/normal modes.
 
* Add triggered start mode for MS app configuration.
 
* Remove the chaining of modes and add starting of previous active mode to the MS app configuration for advanced usage.
 
* Add settings group for screen lock control.
 
* More info in modes list (mode type with name).
 
* Add support for launch parameter for entering mode editing.
 
* Add support for temporary lock mode (disable triggers) from mode menu.
 
* Delay option for starting apps.
 
* Add notifications when locked setting.
 
* Add email sound/ringtone/sync settings.
 
* Changed the mode starting in a way that mode is marked done when settings have been applied (before the apps are started).
 
* Add a way to set do not set for slider based configs and for wallpaper/ringtone to go back to do not set.
 
* Add quick way to set minimum/maximum value for sliders.
 
* Introduce new mode type (modifier mode).
 
* Orientation option for touchstone charger trigger.
 
 
</blockquote>
 
</blockquote>
  
 +
===== Bug Reporting =====
 
<blockquote>
 
<blockquote>
'''0.9.29 <span style="color:#ff0000">(beta)'''</span>
+
* [http://redmine.webos-internals.org/projects/modeswitcher Official Bug Reporting Site]
* Possible fix for voice roaming configuration.
+
:''Registration on the site is required to submit bug reports.''
* Added connection checks for all network operations.
 
* App configuration for MS itself to allow advanced usage.
 
* Removed govnah support for now.
 
* Fixed WiFi trigger (delay option still untested).
 
* Made it possible to leave single settings untouched.
 
* Hopefully fixed default mode startup option.
 
* Configuration resetting (hopefully for the last time) and fixes..
 
 
</blockquote>
 
</blockquote>
  
 +
===== Feature Requests =====
 
<blockquote>
 
<blockquote>
'''0.9.25/26/27 <span style="color:#ff0000">(beta)'''</span>
+
* [http://redmine.webos-internals.org/projects/modeswitcher Official Feature Requests Site]
* Minor bug fixes.
+
:''Registration on the site is required to submit feature requests.''
 
</blockquote>
 
</blockquote>
  
 +
 +
== Status ==
 +
 +
{{article-two-columns
 +
|width1=50%
 +
|column1=
 +
<span style="color:#8a0002"><center>'''Mode Switcher 2.x'''</center></span>
 +
<br />
 +
 +
:'''Changelog'''
 
<blockquote>
 
<blockquote>
'''0.9.24 <span style="color:#ff0000">(beta)'''</span>
+
:'''3.0.0 - Features Road Map''' - (''?? ??th, 2011'')
* Fixed one bug concerning the restart of MS in memory low situation.  
+
:* Add enyo user interface for tablets/phones, i.e. UI rewrite
* Added chaining of modes (i.e. now modes closes in the order they were started hence default mode is only started when no earlier modes are valid).
+
:* Add way to see the current situation as seen by Modeswitcher
 +
:* Introduce separate settings profile configuration
 +
:* Add a basic/advanced configuration modes for the UI
 +
:* Remove modifier/normal mode separation
 +
:* Add random wallpaper feature for wallpaper configuration
 +
:* Screen state control (hopefully for both, on charger and when removed, at the moment I am thinking screen action extension)
 +
:* System services extension for connecting/disconnecting bluetooth etc.
 +
:* Extension configuration for trigger delays
 +
:* Add delay configuration for starting of applications (was in MS 1.x)
 +
:* Add mode configuration viewer for import
 +
:* Add event list (see what triggered and what etc. in a simple event history list), might leave this until the UI rewrite...
 +
:* Change interval trigger also work as a limit for how long mode can be active.
 +
:* Fix the memory leak in calendar trigger
 +
<br />
 +
:'''2.5.3 - Current Public Release''' - (''Oct. 3rd, 2011'')
 +
:* Fixed modes export/import so that it works again
 +
<br />
 +
:'''2.5.2''' - Public Release - (''Sep. 27th, 2011'')
 +
:* Fixed modes importing so that it works on all webOS versions
 +
<br />
 +
:'''2.5.0''' - Skipped Release - (''Sep. 27th, 2011'')
 +
:* Small fix for the wifi trigger
 +
:* Made the export modes work on Pre3 as well
 +
<br />
 +
:'''2.4.6''' - Beta Release - (''Sep. 23th, 2011'')
 +
:* Made the service queue request so that MS can catch every single trigger and process them properly
 +
<br />
 +
:'''2.4.2''' - Public Release - (''Sep. 6th, 2011'')
 +
:* Fixed a typo that caused problems
 +
<br />
 +
:'''2.4.1''' - Public Release - (''Sep. 5th, 2011'')
 +
:* Fixed wifi trigger and UI problem with webOS 2.2 (Pre3)
 +
<br />
 +
:'''2.4.0''' - Public Release - (''Aug. 30th, 2011'')
 +
:* Fixed problems with webOS 2.2, should now work with Pre3
 +
<br />
 +
:'''2.3.9''' - Public Release - (''July 7th, 2011'')
 +
:* Fixed mode changing bug when normal modes were closed / started by the same trigger
 +
<br />
 +
:'''2.3.8''' - Public Release - (''June 22th, 2011'')
 +
:* Should work on veer now
 +
<br />
 +
:'''2.3.7''' - Public Release - (''June 5th, 2011'')
 +
:* Fixed small typo that caused an non critical error on MS shutdown
 +
<br />
 +
:'''2.3.6''' - Public Release - (''June 5th, 2011'')
 +
:* Fixed restart device action being reverted to luna restart on systoolsmgr settings
 +
:* Fixed current unknown contacts setting retrieval bug
 +
:* Fixed calendar trigger not working at all bug
 +
:* Fine tuned the MS extension handling
 +
<br />
 +
:'''2.3.5''' - Public Release - (''June 3th, 2011'')
 +
:* Once again new try on the bluetooth trigger
 +
<br />
 +
:'''2.3.4''' - Public Release - (''June 3th, 2011'')
 +
:* Fixed typo that prevented email settings from working
 +
:* Fixed phone connection setting not being set at all
 +
:* Small change for bluetooth trigger to make it again bit better
 +
:* First public 2.3.x release so those upgrading from 2.2.x re-export your modes after upgrade
 +
<br />
 +
:'''2.3.3''' - Testing Release - (''June 1th, 2011'')
 +
:* Attempt to make the bluetooth trigger better and work for everyone
 +
:* Fixed some settings not changing bug (connection, media volume etc.)
 +
:* Made the service error messages bit more clear
 +
<br />
 +
:'''2.3.2''' - Testing Release - (''May 30th, 2011'')
 +
:* Fixed timeofday trigger problem which caused also unknown service error popup to show up
 +
:* Added dialog notifying about "mode references" if mode is in trigger or ms app config of another mode when deleting
 +
:* When mode is renamed it is now also renamed on mode triggers of other modes if exists
 +
:* Fixed bug in configuration upgrade that caused need for MS disable/enable after update
 +
:* From now on MS gets disabled on updates, so you need to enable it after the reboot
 +
<br />
 +
:'''2.3.1''' - Testing Release - (''May 27th, 2011'')
 +
:* Fixed security mode unsecure not taking effect
 +
<br />
 +
:'''2.3.0''' - Testing Release - (''May 26th, 2011'')
 +
:* Now email/messaging account existence is checked before setting its settings
 +
:* Easy sharing of modes for other MS users from export and easy importing of public modes from import
 +
:* Added storing / autofill of google docs username into mode export/import
 +
:* On export only first email accounts settings are exported, and when importing those settings are used for all accounts
 +
:* On export only sms and first im accounts settings are exported, and when importing the im settings are used for all im accounts
 +
:* Fixed bug in application side that caused the app to crash when backswiped twice (fast swipes when viewing settings e.g.)
 +
:* Added help system for the export/import scene as well to guide through sharing modes
 +
:* Polished MS app configuration by disallowing some configuration and having different options depending on mode type
 +
:* Fixed bug in mode change in certain situations with popup not resulting to correct modes being started
 +
:* Couple small bug fixes for MS app usage, also made it now impossible to control previous mode from modifier modes
 +
:* On export the screen lock pin/password is now cleared and it needs to be set again after importing
 +
:* Made trigger groups non optional, and the required (any trigger/all unique) option to be per group
 +
:* Made number of groups to be dynamic and empty groups are "removed" automatically on the app side
 +
:* Fixed the secondary button actions for clearing configuration with option+tap
 +
:* Added version for the exported configuration so that in the future older configuration can be imported as well
 +
:* This version can not import modes from older versions! So export your modes again after updating!
 +
<br />
 +
:'''2.2.5''' - Public Release - (''May 18th, 2011'')
 +
:* Fixed messaging and email settings not working
 +
:* Fixed interval trigger not working bug
 +
<br />
 +
:'''2.2.4''' - Private Release - (''May 18th, 2011'')
 +
:* Fixed MS app action loop banner notification bug (no notification was shown and mode change was aborted)
 +
:* Fixed close all modifier modes action causing trouble in certain situations
 +
<br />
 +
:'''2.2.3''' - Public Release - (''May 14th, 2011'')
 +
:* Fixed bug that caused initial configuration to fail on new installs
 +
<br />
 +
:'''2.2.2''' - Public Release - (''May 14th, 2011'')
 +
:* Fixed default mode started on startup even last active set (for some users)
 +
:* Fixed popup sound playing twice when configured to play
 +
:* Fixed reading of current unknown numbers setting
 +
:* Fixed bug with some extensions disappearing (for some users)
 +
<br />
 +
:'''2.2.1''' - Testing Release - (''May 12th, 2011'')
 +
:* Fixed the extensions name collision bug
 +
<br />
 +
:'''2.2.0''' - Testing Release - (''May 12th, 2011'')
 +
:* Changed the way how mode popup works and now its also enabled for modifier modes
 +
:* Configuration for setting extensions (for setting forced applying to override manual changes)
 +
:* Mode status functionality (possible to see what the current trigger status is for the modes)
 +
:* New contacts settings extension (support for unknown contacts settings handling)
 +
:* New phone settings extension (support for auto reply mode/text, blink notification)
 +
<br />
 +
:'''2.1.3''' - Public Release - (''May 12th, 2011'')
 +
:* Fixed the mode change popup still playing sound even when set not to
 +
<br />
 +
:'''2.1.2''' - Public Release - (''May 10th, 2011'')
 +
:* Fixed mode list empty / wrong choices bug in MS app configuration
 +
:* Fixed the address locating in the GPS trigger configuration
 +
<br />
 +
:'''2.1.1''' - Public Release - (''May 9th, 2011'')
 +
:* Removed unneeded and bit dangerous options from mode trigger
 +
<br />
 +
:'''2.1.0''' - Public Release - (''May 9th, 2011'')
 +
:* Bug fixes & final touches
 +
<br />
 +
:'''2.0.9''' - Testing Release - (''May 7th, 2011'')
 +
:* Added any normal/modifier mode options into mode trigger
 +
:* Removed trigger blocking setting, since it can be achieved with mode change trigger now
 +
:* Combined the notify and alert setting for simplicity
 +
:* Fixed phone/browser extensions (re-add phone/browser apps into the modes, now they should start)
 +
<br />
 +
:'''2.0.8''' - Testing Release - (''May 6th, 2011'')
 +
:* Automatic updating of configuration when mode is renamed (MS app configs in other modes)
 +
:* Other final touches on the app side
 +
:* Added configurable sound for the popup into MS preferences (the mode notify sound configuration is used now)
 +
:* Added notification for mode loops (wrongly configured MS app usage)
 +
:* Changed the grouped trigger behavior, now all triggers need to be valid in one of the groups
 +
:* Removed unneeded preferences / app menu entries
 +
:* Renamed preferences into extensions in the app menu since the prefs are for extensions only
 +
<br />
 +
:'''2.0.7''' - Testing Release - (''May 3th, 2011'')
 +
:* Fixed bug that caused modifier modes to close when closing normal mode
 +
<br />
 +
:'''2.0.6''' - Testing Release - (''May 1st, 2011'')
 +
:* One more fix for bluetooth trigger
 +
:* Small fix for closing applications
 +
<br />
 +
:'''2.0.5''' - Testing Release - (''April 29th, 2011'')
 +
:* Changed application closing to close all apps with the requested appid
 +
:* Removed impostah extension and added systools extension that allow luna/phone restart
 +
:* Fixes for bluetooth trigger...again
 +
:* Fixed displaying of security settings when fetched and other than unsecure set
 +
:* Fixed close all apps option
 +
:* Fixed the previous mode handling
 +
<br />
 +
:'''2.0.4''' - Testing Release - (''April 15th, 2011'')
 +
:* Fixes for some settings not taking effect for everyone such as screen lock timeout
 +
<br />
 +
:'''2.0.3''' - Testing Release - (''April 15th, 2011'')
 +
:* Fixes for bluetooth trigger
 +
:* Added help system
 +
<br />
 +
:'''2.0.2''' - Testing Release - (''April 14th, 2011'')
 +
:* Fixed severe typo that caused service not to start
 +
<br />
 +
:'''2.0.1''' - Testing Release - (''April 14th, 2011'')
 +
:* Fixed interval trigger UI
 +
:* Fixes to charger trigger logic not to trigger mode when not needed
 +
:* Fixed package installing (WebOS bug)
 +
:* Fixed a small bug in location trigger
 +
:* Small fix for bluetooth trigger
 +
:* Couple fixes for the MS app
 +
<br />
 +
:'''2.0.0''' - Testing Release - (''April 13th, 2011'')
 +
:* Initial Testing Feed Release
 
</blockquote>
 
</blockquote>
  
 +
|column2=
 +
<span style="color:#8a0002"><center>'''Mode Switcher 1.x'''</center></span>
 +
<br />
 +
 +
:'''Changelog'''
 
<blockquote>
 
<blockquote>
'''0.9.23 <span style="color:#ff0000">(beta)'''</span>
+
:'''1.1.1 - Current Release''' - (''Oct. 17th, 2011'')
* Support for blink notification setting.  
+
:* Made google docs import/export use https which should fix the login problems
* Added more screen turn off times.
+
<br />
* Fix for the startup procedure so its not that annoying when MS is restarted on low memory.
+
:'''1.1.0''' - Public Release - (''May. 9th, 2010'')
* WiFi trigger (simple SSID based activation).
+
:* No code changes just changed title and added flag that prevents install on WebOS 2.x
* Fix for screen turn off / always on setting not working on certain situations.
+
<br />
 +
:'''1.0.9''' - Public Release - (''Nov. 10th, 2010'')
 +
:* Small change to display trigger
 +
:* Removed experimental code
 +
:* Fixed no match calendar trigger functionality
 
</blockquote>
 
</blockquote>
 +
}}

Latest revision as of 17:28, 12 December 2011

Modeswitcher 2x.png

Overview

Icon Mode-Switcher.png

Mode Switcher is a webOS application that brings profile support to your device in the form of "modes". These "modes" can nearly control every available setting in webOS and can be triggered (manually or automatically) by a number of different methods or "triggers" that in turn change settings on your device based on the configuration of the modes you created. Mode Switcher is very powerful and feature rich. You can make its use as simple or complex as you would need.


Mode Switcher 2.x

Controllable Settings

  • Airplane
  • Calendar (blink and reminder)
    • Advanced Systems Prefs - Calendar Prefs patch or Uber Calendar patch (Required)
  • Connections (radios: phone, data, wi-fi, bluetooth, gps)
  • Contacts (blocked and unknown)
    • Advanced Systems Prefs - Framework patch (Required)
  • Email (blink, alert, sync frequency)
    • Advanced Systems Prefs - Email Prefs patch (Required)
  • Messaging (blink, alert, instant messaging account status)
    • Advanced Systems Prefs - Messaging Prefs patch (Required)
  • Network (network type, data roaming, voice roaming (forced/automatic))
  • Phone (on call reject and blink)
    • Advanced Systems Prefs - Phone Prefs patch (Required)
  • Ringer (switch on, switch off, ringtone)
  • Screen (brightness, turn off after, blink notify, locked notify, wallpaper)
  • Security (unsecure, simple pin, password)
  • Sounds (ringer, system, media)
  • Applications (opening, closing, special functions via app launch parameters where supported (e.g. Govnah))


Available Triggers

  • Application
  • Battery Level
    • Advanced Systems Prefs - Framework (Required)
  • Bluetooth Connection (by profile or device name)
  • Calendar Event
  • Charger Event (touchstone w/orientation, USB or wall charger. Can be set separately)
    • Advanced Systems Prefs - Framework (Required)
  • Display State
  • GPS Location
  • Headset
  • Mode Change
  • Silent Switch
  • Time Interval
  • Time of Day
  • Wi-Fi Network
Mode Switcher 1.x

Controllable Settings

  • Airplane
  • Connections (radios: phone, data, wi-fi, bluetooth, gps)
  • Network (network type, data roaming, voice roaming (forced/automatic))
  • Ringer (switch on, switch off, ringtone)
  • Screen (brightness, turn off after, blink notify, locked notify, wallpaper)
  • Security (unsecure, simple pin, password)
  • Sounds (ringer, system, media)
  • Applications (opening, closing, special functions via app launch parameters where supported (e.g. Govnah))


Available Triggers

  • Application
  • Battery Level
  • Bluetooth Connection (by profile or device name)
  • Calendar Event
  • Charger Event (touchstone w/orientation, USB or wall charger. Can be set separately)
  • Display State
  • GPS Location
  • Headset
  • Mode Change
  • Silent Switch
  • Time Interval
  • Time of Day
  • Wi-Fi Network


Versions

There are two versions of Mode Switcher available. What version you use is dependent on what version of webOS is running on your device. Mode Switcher 1.x is available for webOS 1.4.x and Mode Switcher 2.x for webOS 2.x.

Mode Switcher 2 was completely rewritten into a Javascript service instead of being an application that runs in the background. It supports controlling even more system settings than MS 1.x with the help of the Advanced System Prefs patches for webOS 2.1. Mode Switcher 2 is faster, better and all around more awesome than before!

Differences in the version's features, settings and capabilities will be noted throughout the rest of the wiki.


Installation

The following information will help you install Mode Switcher.


Overview

Stable Releases
The stable releases of Mode Switcher can be found in the WebOS-Internals feed and are recommended for general public use.

Testing Releases
The testing releases of Mode Switcher can be found in the WebOS-Internals Alpha or Beta feeds WebOS-Internals Testing Feed.

Corresponding/Related Patches
There are a number of patches that extend Mode Switcher's functionality. While they are not required for Mode Switcher to function; they are recommended as they add much more functionality to your device and controlling of the functions with Mode Switcher. These patches can be found in the WebOS-Internals Patch Feed. Please follow the links for installation and other general information. It is recommended that you install all of the patches in the patch set and not just those mentioned here. The patches mentioned here are those that matter for Mode Switcher usage.

Mode Switcher 2.x

In Particular:

  • Advanced System Menus - Framework (Required by all the system menus patches).
  • Advanced System Menus - Mode Menu (For easy manual control of modes through a system menu).

In Particular:

  • Advanced System Prefs - Framework (For using the charger/battery triggers and contacts settings).
  • Advanced System Prefs - Email (For controlling emaiö settings).
  • Advanced System Prefs - Messaging (For controlling phone settings).
  • Advanced System Prefs - Phone (For controlling phone settings).
  • Advanced System Prefs - System (For using extra screen settings).
  • Advanced System Prefs - Calendar Prefs OR Uber Calendar patch (For controlling calendar settings).



Mode Switcher 1.x


Method

The following method can be used to install Mode Switcher.


Preware
  1. Open Preware
  2. Start typing “Mode Switcher” (no quotes)
  3. Tap the Mode Switcher from the list
  4. Tap the Install button
  5. Tap the Ok button to restart Luna

Or

  1. Open Preware
  2. Tap Available Packages
  3. Tap Application > System Utilities > Mode Switcher
  4. Tap the Install button
  5. Tap the Ok button to restart Luna


Updating

webOS OTA Updates

Since Mode Switcher is an app, it is OTA (over-the-air) update safe. However, the patches that correspond/extend Mode Switchers functionality like the Advanced System Prefs patches and the Mode Menu patches are not OTA (over-the-air) update safe. When there is an OTA update to a newer version of webOS from your carrier, you must remove these patches before updating. If you do not remove them prior to running the OTA update, you most likely will need to run the Emergency Patch Recovery tool from Preware.


Application and Patch Updates

Updated versions of Mode Switcher and the related patches can be applied via Preware.


Configuration

Mode Switcher 2.x

A new usage section is being created for Mode Switcher 2.x.
Sections will be added as they are completed.


Mode Switcher 1.x


Tips & Usage Hints

Mode Switcher 2.x

Blocking Modes
Block options is gone in MS 2.x since it can be now done in a better way. If you want to make sure that mode A can not activate when mode B is active then add mode change trigger into mode A with setting: Mode B, Not Active. This way mode A can not trigger when mode B is active.


Troubleshooting/FAQs

Mode Switcher 1.x & 2.x

Q: There are times when the radios (Phone/Data (3G)/Bluetooth/Wi-Fi) don't change state (on/off) when opening, closing or switching modes. What is wrong?
A: There is a bug in webOS (version independent) where depending on the device/installation you may have varying success with the radios changing state. The frequency in which what radio settings get "stuck" or which radio settings don't get applied varies. A temporary solution is to do a full restart of the device which usually clears the "stuck" radio settings.

Note: This issue affects devices running the stock and modified kernels. It appears to affect any device running any current webOS versions (1.4.x/2.x)


Mode Switcher 2.x

Q: I can't seem to find the settings for controlling the calendar, email and/or messaging nor the charger and/or battery triggers?
A: One of two things are not setup correctly.

  1. As mentioned in the Installation > Overview > Corresponding/Related Patches section, certain patches are needed to extend Mode Switcher functionality. Please see the links to the related wiki pages for help with installing those patches.
  2. If you have those patches installed, make sure you have the Advanced Features toggle enabled. (It can be found by going to the app menu and selecting Extensions.)


Q: When opening MS after installation, I get the Unknown Service Error notification. How do I fix this?
A: That message means that you most likely have a bad or incorrect installation of MS. First try re-installing and rebooting your device (twice to be sure). If you still get the same error then you need to complete the installation manually (this is a webOS bug/error in your webOS installation that can cause the installation of service to always fail). You can complete the installation by entering the following three commands in a terminal (either over ssh/novaterm connection or in terminal application in the phone).

cp -f /media/cryptofs/apps/usr/palm/services/org.webosinternals.modeswitcher.srv/org.webosinternals.modeswitcher.srv.json /var/palm/ls2/roles/pub/

cp -f /media/cryptofs/apps/usr/palm/services/org.webosinternals.modeswitcher.srv/org.webosinternals.modeswitcher.srv.service /var/palm/ls2/services/pub/

ls-control scan-services



Q: When changing modes, I get the notification, "Error: Mode change was aborted". What does that mean?
A: That message means that there is a loop within the MS app configurations and the mode changing was aborted.

Q: Where did the trigger blocking go?
A: The trigger blocking was removed in MS 2.0.9 in favor of using the Mode Change Trigger. You can achieve the same results and more by using the Mode Change Triggers.


Mode Switcher 1.x

Q: I’m getting this error when I try to install Mode Switcher: “1 of 1 hunk failed -- saving rejects to file etc/palm/luna.conf.rej"
A: The patch “Launch Brightness Unlinked on Luna Boot” conflicts with the "Launch Mode Switcher on Luna Boot" patch and must be removed.

Q: I installed Mode Switcher, but when I tap the launcher icon nothing happens.
A: You must perform a Luna Restart after installing/updating Mode Switcher.

Q: Can I close / get rid of the Mode Switcher dashboard icon?
A: If you are on a Pixi/Pixi+, then no, the dashboard scene needs to be active for Mode Switcher to function. For the Pre/Pre+, install the Launch Mode Switcher on Luna Boot patch to get rid of the dashboard.

Q: Can I manually or use Save/Restore to import my Mode Switcher 1.x modes into Mode Switcher 2.x?
A: Unfortunately, no. The differences between version 1.x and 2.x are to great to make this possible.

Sending Problem Report

When you are sure that the problem you are experiencing is not a configuration error and you have preferably first asked about the problem in the thread then you can send a problem report. To do so you need to have lumberjack installed. The preferred method of sending the problem report is first to reboot your phone then make the "problem" happen and right after it has happened open the Mode Switcher app and send the problem report via App Menu - Help - App Menu - Send Problem Report.


Resources

Supporting Development

Btn donateCC LG.gif

Official Developer Project Page
Official Forum

Mode Switcher 2.x


Mode Switcher 1.x

Modes Sharing
Here you can delete your shared modes or view/comment modes posted by others.
Official Twitter Account
Bug Reporting
Registration on the site is required to submit bug reports.
Feature Requests
Registration on the site is required to submit feature requests.


Status

Mode Switcher 2.x


Changelog
3.0.0 - Features Road Map - (?? ??th, 2011)
  • Add enyo user interface for tablets/phones, i.e. UI rewrite
  • Add way to see the current situation as seen by Modeswitcher
  • Introduce separate settings profile configuration
  • Add a basic/advanced configuration modes for the UI
  • Remove modifier/normal mode separation
  • Add random wallpaper feature for wallpaper configuration
  • Screen state control (hopefully for both, on charger and when removed, at the moment I am thinking screen action extension)
  • System services extension for connecting/disconnecting bluetooth etc.
  • Extension configuration for trigger delays
  • Add delay configuration for starting of applications (was in MS 1.x)
  • Add mode configuration viewer for import
  • Add event list (see what triggered and what etc. in a simple event history list), might leave this until the UI rewrite...
  • Change interval trigger also work as a limit for how long mode can be active.
  • Fix the memory leak in calendar trigger


2.5.3 - Current Public Release - (Oct. 3rd, 2011)
  • Fixed modes export/import so that it works again


2.5.2 - Public Release - (Sep. 27th, 2011)
  • Fixed modes importing so that it works on all webOS versions


2.5.0 - Skipped Release - (Sep. 27th, 2011)
  • Small fix for the wifi trigger
  • Made the export modes work on Pre3 as well


2.4.6 - Beta Release - (Sep. 23th, 2011)
  • Made the service queue request so that MS can catch every single trigger and process them properly


2.4.2 - Public Release - (Sep. 6th, 2011)
  • Fixed a typo that caused problems


2.4.1 - Public Release - (Sep. 5th, 2011)
  • Fixed wifi trigger and UI problem with webOS 2.2 (Pre3)


2.4.0 - Public Release - (Aug. 30th, 2011)
  • Fixed problems with webOS 2.2, should now work with Pre3


2.3.9 - Public Release - (July 7th, 2011)
  • Fixed mode changing bug when normal modes were closed / started by the same trigger


2.3.8 - Public Release - (June 22th, 2011)
  • Should work on veer now


2.3.7 - Public Release - (June 5th, 2011)
  • Fixed small typo that caused an non critical error on MS shutdown


2.3.6 - Public Release - (June 5th, 2011)
  • Fixed restart device action being reverted to luna restart on systoolsmgr settings
  • Fixed current unknown contacts setting retrieval bug
  • Fixed calendar trigger not working at all bug
  • Fine tuned the MS extension handling


2.3.5 - Public Release - (June 3th, 2011)
  • Once again new try on the bluetooth trigger


2.3.4 - Public Release - (June 3th, 2011)
  • Fixed typo that prevented email settings from working
  • Fixed phone connection setting not being set at all
  • Small change for bluetooth trigger to make it again bit better
  • First public 2.3.x release so those upgrading from 2.2.x re-export your modes after upgrade


2.3.3 - Testing Release - (June 1th, 2011)
  • Attempt to make the bluetooth trigger better and work for everyone
  • Fixed some settings not changing bug (connection, media volume etc.)
  • Made the service error messages bit more clear


2.3.2 - Testing Release - (May 30th, 2011)
  • Fixed timeofday trigger problem which caused also unknown service error popup to show up
  • Added dialog notifying about "mode references" if mode is in trigger or ms app config of another mode when deleting
  • When mode is renamed it is now also renamed on mode triggers of other modes if exists
  • Fixed bug in configuration upgrade that caused need for MS disable/enable after update
  • From now on MS gets disabled on updates, so you need to enable it after the reboot


2.3.1 - Testing Release - (May 27th, 2011)
  • Fixed security mode unsecure not taking effect


2.3.0 - Testing Release - (May 26th, 2011)
  • Now email/messaging account existence is checked before setting its settings
  • Easy sharing of modes for other MS users from export and easy importing of public modes from import
  • Added storing / autofill of google docs username into mode export/import
  • On export only first email accounts settings are exported, and when importing those settings are used for all accounts
  • On export only sms and first im accounts settings are exported, and when importing the im settings are used for all im accounts
  • Fixed bug in application side that caused the app to crash when backswiped twice (fast swipes when viewing settings e.g.)
  • Added help system for the export/import scene as well to guide through sharing modes
  • Polished MS app configuration by disallowing some configuration and having different options depending on mode type
  • Fixed bug in mode change in certain situations with popup not resulting to correct modes being started
  • Couple small bug fixes for MS app usage, also made it now impossible to control previous mode from modifier modes
  • On export the screen lock pin/password is now cleared and it needs to be set again after importing
  • Made trigger groups non optional, and the required (any trigger/all unique) option to be per group
  • Made number of groups to be dynamic and empty groups are "removed" automatically on the app side
  • Fixed the secondary button actions for clearing configuration with option+tap
  • Added version for the exported configuration so that in the future older configuration can be imported as well
  • This version can not import modes from older versions! So export your modes again after updating!


2.2.5 - Public Release - (May 18th, 2011)
  • Fixed messaging and email settings not working
  • Fixed interval trigger not working bug


2.2.4 - Private Release - (May 18th, 2011)
  • Fixed MS app action loop banner notification bug (no notification was shown and mode change was aborted)
  • Fixed close all modifier modes action causing trouble in certain situations


2.2.3 - Public Release - (May 14th, 2011)
  • Fixed bug that caused initial configuration to fail on new installs


2.2.2 - Public Release - (May 14th, 2011)
  • Fixed default mode started on startup even last active set (for some users)
  • Fixed popup sound playing twice when configured to play
  • Fixed reading of current unknown numbers setting
  • Fixed bug with some extensions disappearing (for some users)


2.2.1 - Testing Release - (May 12th, 2011)
  • Fixed the extensions name collision bug


2.2.0 - Testing Release - (May 12th, 2011)
  • Changed the way how mode popup works and now its also enabled for modifier modes
  • Configuration for setting extensions (for setting forced applying to override manual changes)
  • Mode status functionality (possible to see what the current trigger status is for the modes)
  • New contacts settings extension (support for unknown contacts settings handling)
  • New phone settings extension (support for auto reply mode/text, blink notification)


2.1.3 - Public Release - (May 12th, 2011)
  • Fixed the mode change popup still playing sound even when set not to


2.1.2 - Public Release - (May 10th, 2011)
  • Fixed mode list empty / wrong choices bug in MS app configuration
  • Fixed the address locating in the GPS trigger configuration


2.1.1 - Public Release - (May 9th, 2011)
  • Removed unneeded and bit dangerous options from mode trigger


2.1.0 - Public Release - (May 9th, 2011)
  • Bug fixes & final touches


2.0.9 - Testing Release - (May 7th, 2011)
  • Added any normal/modifier mode options into mode trigger
  • Removed trigger blocking setting, since it can be achieved with mode change trigger now
  • Combined the notify and alert setting for simplicity
  • Fixed phone/browser extensions (re-add phone/browser apps into the modes, now they should start)


2.0.8 - Testing Release - (May 6th, 2011)
  • Automatic updating of configuration when mode is renamed (MS app configs in other modes)
  • Other final touches on the app side
  • Added configurable sound for the popup into MS preferences (the mode notify sound configuration is used now)
  • Added notification for mode loops (wrongly configured MS app usage)
  • Changed the grouped trigger behavior, now all triggers need to be valid in one of the groups
  • Removed unneeded preferences / app menu entries
  • Renamed preferences into extensions in the app menu since the prefs are for extensions only


2.0.7 - Testing Release - (May 3th, 2011)
  • Fixed bug that caused modifier modes to close when closing normal mode


2.0.6 - Testing Release - (May 1st, 2011)
  • One more fix for bluetooth trigger
  • Small fix for closing applications


2.0.5 - Testing Release - (April 29th, 2011)
  • Changed application closing to close all apps with the requested appid
  • Removed impostah extension and added systools extension that allow luna/phone restart
  • Fixes for bluetooth trigger...again
  • Fixed displaying of security settings when fetched and other than unsecure set
  • Fixed close all apps option
  • Fixed the previous mode handling


2.0.4 - Testing Release - (April 15th, 2011)
  • Fixes for some settings not taking effect for everyone such as screen lock timeout


2.0.3 - Testing Release - (April 15th, 2011)
  • Fixes for bluetooth trigger
  • Added help system


2.0.2 - Testing Release - (April 14th, 2011)
  • Fixed severe typo that caused service not to start


2.0.1 - Testing Release - (April 14th, 2011)
  • Fixed interval trigger UI
  • Fixes to charger trigger logic not to trigger mode when not needed
  • Fixed package installing (WebOS bug)
  • Fixed a small bug in location trigger
  • Small fix for bluetooth trigger
  • Couple fixes for the MS app


2.0.0 - Testing Release - (April 13th, 2011)
  • Initial Testing Feed Release
Mode Switcher 1.x


Changelog
1.1.1 - Current Release - (Oct. 17th, 2011)
  • Made google docs import/export use https which should fix the login problems


1.1.0 - Public Release - (May. 9th, 2010)
  • No code changes just changed title and added flag that prevents install on WebOS 2.x


1.0.9 - Public Release - (Nov. 10th, 2010)
  • Small change to display trigger
  • Removed experimental code
  • Fixed no match calendar trigger functionality