R&D mode

m
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
{{midgard_article}}
+
You can enable R&D mode by passing the <code>--enable-rd-mode</code> flag to the [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5|flasher]].
-
You can enable the R&D mode by passing the "--enable-rd-mode" flag to [[flasher|flasher-3.0]].
+
Note: This flag does not need to be passed to the EMMC image if you are flashing that as well.
-
You must use a Linux or a Mac OS X computer to enable R&D Mode - the Windows update wizard will not allow you to enable/disable R&D Mode.  
+
You must use a Linux or a Mac OS X computer to enable R&D Mode, as the Windows update wizard will not allow you to enable/disable R&D Mode. Although, the Windows flasher will disable R&D Mode if you use it to reflash a device that has R&D Mode already enabled.
-
Although, the Windows flasher will disable R&D Mode if you use it to reflash a device that has R&D Mode already on.
+
-
=== What R&D Mode does ===
+
To switch back to production mode, use <code>--disable-rd-mode</code>.
-
*"sudo gainroot" in the console can be used, without installing anything extra, to gain a root shell.
+
== What R&D mode does ==
-
*The power button turns on the tablet with one press, as opposed to the usual behavior where you have to hold the power button for the tablet to power up.
+
*<code>sudo gainroot</code> in the console can be used, without installing anything [[root access|extra]], to gain a root shell.
-
=== R&D Mode flags ===
+
*The power button turns on the tablet with a shortpress press as opposed to the longpress normally required.
-
You can enable some R&D mode flags (flasher-3.0 --set-rd-flags=<flag>) for various features:
+
*[[Nokia N900|N900]]: The keyboard backlight behind the left and right side of the keyboard flickers in response to system activity.
-
*"no-lifeguard-reset" - disables the lifeguard process (lifeguard reboots the device when an important system process crashes)
+
== R&D mode flags ==
-
*"serial-console" - enables the serial console (the serial port pins are next to the battery) and causes a shorter battery life.
+
You can enable some R&D mode flags (<code>flasher-3.5 --set-rd-flags=''<flag>''</code>) for various features:
-
*"no-omap-wd" - disables the watchdog on the OMAP processor.
+
*<code>no-omap-wd</code> - Disables the watchdog on the OMAP processor.
-
*"no-retu-wd" - disables the watchdog on retu.  
+
*<code>no-retu-wd</code> - Disables the watchdog on retu.
 +
*<code>no-lifeguard-reset</code> - Disables the lifeguard process (lifeguard reboots the device when an important system process crashes).
 +
*<code>serial-console</code> - Enables the serial console (the serial port pins are next to the battery) and causes a shorter battery life.
 +
*<code>no-usb-timeout</code> - Unknown
 +
*<code>sti-console</code> - Unknown
 +
*<code>no-charging</code> - Disables charging via the USB port. bme will still be running in the background.
 +
*<code>force-power-key</code> - Omap bootreason will be always pwr_key. Maemo system will not see any reboots or watchdog resets. Instead Maemo will think that device was started by power key.
-
*"no-usb-timeout" ???
+
running the command without parameters gives a list of available modes:
 +
<code>flasher-3.5 --set-rd-flags</code>
 +
<pre>
 +
maemo_flasher-3.5_2.4.5.3_beta/flasher-3.5 --set-rd-flag
 +
flasher v2.4.5 (Jun 25 2009)
-
[[Category:Users]]
+
Possible R&D flags:
 +
  no-omap-wd
 +
  no-ext-wd
 +
  no-lifeguard-reset
 +
  serial-console
 +
  no-usb-timeout
 +
  sti-console
 +
  no-charging
 +
  force-power-key
 +
</pre>
 +
 
 +
It seems enabling of R&D mode is causing device ([[N900]]) to power up on battery insert and USB-connect.
 +
 
 +
 
 +
[[Category:Power users]]

Latest revision as of 08:38, 12 November 2014

You can enable R&D mode by passing the --enable-rd-mode flag to the flasher.

Note: This flag does not need to be passed to the EMMC image if you are flashing that as well.

You must use a Linux or a Mac OS X computer to enable R&D Mode, as the Windows update wizard will not allow you to enable/disable R&D Mode. Although, the Windows flasher will disable R&D Mode if you use it to reflash a device that has R&D Mode already enabled.

To switch back to production mode, use --disable-rd-mode.

[edit] What R&D mode does

  • sudo gainroot in the console can be used, without installing anything extra, to gain a root shell.
  • The power button turns on the tablet with a shortpress press as opposed to the longpress normally required.
  • N900: The keyboard backlight behind the left and right side of the keyboard flickers in response to system activity.

[edit] R&D mode flags

You can enable some R&D mode flags (flasher-3.5 --set-rd-flags=<flag>) for various features:

  • no-omap-wd - Disables the watchdog on the OMAP processor.
  • no-retu-wd - Disables the watchdog on retu.
  • no-lifeguard-reset - Disables the lifeguard process (lifeguard reboots the device when an important system process crashes).
  • serial-console - Enables the serial console (the serial port pins are next to the battery) and causes a shorter battery life.
  • no-usb-timeout - Unknown
  • sti-console - Unknown
  • no-charging - Disables charging via the USB port. bme will still be running in the background.
  • force-power-key - Omap bootreason will be always pwr_key. Maemo system will not see any reboots or watchdog resets. Instead Maemo will think that device was started by power key.

running the command without parameters gives a list of available modes: flasher-3.5 --set-rd-flags

maemo_flasher-3.5_2.4.5.3_beta/flasher-3.5 --set-rd-flag
flasher v2.4.5 (Jun 25 2009)

Possible R&D flags:
  no-omap-wd
  no-ext-wd
  no-lifeguard-reset
  serial-console
  no-usb-timeout
  sti-console
  no-charging
  force-power-key

It seems enabling of R&D mode is causing device (N900) to power up on battery insert and USB-connect.