Cheat codes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


A number of special actions are available by holding down game key combinations at the same time as powering on the [[Hardware_specification#Laptop_Hardware|XO laptop]]. Other [[keyboard shortcuts]] are available after boot.
A number of special actions are available by holding down game key combinations at the same time as powering on the [[Hardware_specification#Laptop_Hardware|XO laptop]]. Other [[keyboard shortcuts]] are available after boot.

== XO-1.75 and XO-4 ==

In addition to the other keys, the rotate key prevents normal boot. It is used for repair and servicing with a [[Serial_adapter]].

== XO-1.5 Firmware (q3a59 or later) ==

In addition to the other keys (see next section):

{| border="1" cellspacing="0" cellpadding="2" width="100%" class="wikitable"
! key
! what it does
|-
| rocker down
| on dual boot laptops, provides operating system choice menu.
|}

== XO-1 and XO-1.5 Firmware (q2d04 and later) ==


{| border="1" cellspacing="0" cellpadding="2" width="100%" class="wikitable"
{| border="1" cellspacing="0" cellpadding="2" width="100%" class="wikitable"
! key
! key
! what it does
! what it does
! models
|-
|-
| '×' game pad
| '×' game pad
| force secure boot when in non-secure mode.
| force secure boot when in non-secure mode.
| all
|-
|-
| '✓' (check) game pad
| '✓' (check) game pad
| force a more detailed display while booting; see [[Startup Diagnosis]].
| force detailed display while booting; see [[Startup Diagnosis]].
| all
|-
|-
| 'O' game pad
| 'O' game pad
| alternate between boot images. Laptops are shipped without an alternate image; they won't have an alternate image until after first [[olpc-update]] is done. The alternate image will then be the previous image that you were running.
| alternate between boot images. Laptops are shipped without an alternate image; they won't have an alternate image until after first [[olpc-update]] is done. The alternate image will then be the previous image that you were running.
| all, but on XO-4 with Android dual boot, forces boot into Android
|-
|-
| '◻' (square) game pad
| '◻' (square) game pad
| not used directly by the firmware, but is remembered and may be handled by an external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory). On [[OLPC_Firmware_q2e37|q2e37]] & later: pressing '◻' skips booting from Windows on SD and boots Sugar from the NAND.
| no action; was not used directly by the firmware, but was remembered and may be handled by an external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory). On [[OLPC_Firmware_q2e37|q2e37]] & later: pressing '◻' skips booting from Windows on SD and boots Sugar from the NAND; although this configuration never entered production.
| XO-1
|-
|-
| ''all four game keys at once''
| ''all four game keys at once''
| destroy all data and install to the internal storage from either USB, SD, or network. Requires a signed fs.zip file and an image file; see [[Secure Upgrade]].
| destroy all data and install to the internal storage from either USB, SD, or network. Requires a signed fs.zip file and an image file; see [[Secure Upgrade]].
| all
|-
|-
| rocker left
| rocker left
| hardware diagnostics. You can pause between individual tests by holding down the "rotate" button - the one below the rocker pad.
| hardware diagnostics, see [[XO_Self_Test]]. You can pause between individual tests by holding down the "rotate" button - the one below the rocker pad.
| all
|-
|-
| rocker right
| rocker right
| try it and see! (hint: it is harmless and pretty).
| try it and see! (hint: it is harmless and pretty).
| XO-1 only (immediate power off on XO-4)
|-
|-
| rocker up
| rocker up
| XO-1 only, shows a graphical table of full, free, and defective blocks in internal flash. See [[Scan NAND]].
| shows a graphical table of full, free, and defective blocks in internal flash. See [[Scan NAND]].
| XO-1 only
|-
| rocker down
| on dual boot laptops, provides operating system choice menu.
| XO-4 Q7C05 or later with Android dual boot build, or XO-1.5 Q3A59 or later with Windows dual boot build (never entered production)
|-
|-
| ''all four rocker keys at once''
| ''all four rocker keys at once''
| starts a [http://en.wikipedia.org/wiki/Pong Pong] game!
| starts a [http://en.wikipedia.org/wiki/Pong Pong] game!
| XO-1 and XO-1.5 only (immediate power off on XO-4)
|-
| rotate key
| does not boot, enters firmware prompt for repair and servicing with a [[Serial_adapter]] after partial [[Disassembly]].
| XO-1.75 and XO-4
|}
|}



Revision as of 00:00, 20 August 2015

  This page is monitored by the OLPC team.
  For the general public
  english | español HowTo [ID# 297662]  +/-  
Power & Game buttons for XO-1 B2 and older XOs. XO-1 B3 and newer have "O" at the top and "✓" (check) at the right.

A number of special actions are available by holding down game key combinations at the same time as powering on the XO laptop. Other keyboard shortcuts are available after boot.

key what it does models
'×' game pad force secure boot when in non-secure mode. all
'✓' (check) game pad force detailed display while booting; see Startup Diagnosis. all
'O' game pad alternate between boot images. Laptops are shipped without an alternate image; they won't have an alternate image until after first olpc-update is done. The alternate image will then be the previous image that you were running. all, but on XO-4 with Android dual boot, forces boot into Android
'◻' (square) game pad no action; was not used directly by the firmware, but was remembered and may be handled by an external autoupdater script to wipe out user directory and do a factory-fresh install. (appropriate for upgrading machines straight from the factory). On q2e37 & later: pressing '◻' skips booting from Windows on SD and boots Sugar from the NAND; although this configuration never entered production. XO-1
all four game keys at once destroy all data and install to the internal storage from either USB, SD, or network. Requires a signed fs.zip file and an image file; see Secure Upgrade. all
rocker left hardware diagnostics, see XO_Self_Test. You can pause between individual tests by holding down the "rotate" button - the one below the rocker pad. all
rocker right try it and see! (hint: it is harmless and pretty). XO-1 only (immediate power off on XO-4)
rocker up shows a graphical table of full, free, and defective blocks in internal flash. See Scan NAND. XO-1 only
rocker down on dual boot laptops, provides operating system choice menu. XO-4 Q7C05 or later with Android dual boot build, or XO-1.5 Q3A59 or later with Windows dual boot build (never entered production)
all four rocker keys at once starts a Pong game! XO-1 and XO-1.5 only (immediate power off on XO-4)
rotate key does not boot, enters firmware prompt for repair and servicing with a Serial_adapter after partial Disassembly. XO-1.75 and XO-4

The "Rocker" is the large round button to the left of the screen, which can be rocked or tilted in any of four directions (up, down, left, or right).

If your laptop has a Developer Key or has security disabled, the Open Firmware 'ok' prompt will be available as your laptop powers on. See Ok for how to get this to work.

For prototype laptops used by software developers before December 2007, see /Obsolete.