Android: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Reverted edits by SvenAERTS (Talk) to last revision by Quozl)
Line 14: Line 14:
=== Installing ===
=== Installing ===


* ensure the XO-4 has an 8GB [[eMMC]], see [[Firmware/Storage#How to find the size]] of the [[eMMC]],
* ensure the XO-4 has an 8GB eMMC, see [[Firmware/Storage#How to find the size]] of the eMMC,
* make a [[backup]] of anything you want to keep on the XO-4, because it will be erased by this test,
* make a [[backup]] of anything you want to keep on the XO-4, because it will be erased by this test,
* ensure the firmware is [[Upgrading firmware|upgraded]] to [[OLPC_Firmware_q7b37|Q7B37]],
* ensure the firmware is [[Upgrading firmware|upgraded]] to [[OLPC_Firmware_q7b37|Q7B37]],
Line 23: Line 23:
boot
boot
* at the prompt "Linux or Android", press shift-L, and allow the system to boot first into Linux, for partition resizing,
* at the prompt "Linux or Android", press shift-L, and allow the system to boot first into Linux, for partition resizing,
* shutdown [[Linux]] and reboot, and press shift-A at the prompt to boot into [[Android]].
* shutdown Linux and reboot, and press shift-A at the prompt to boot into Android.


=== Known problems ===
=== Known problems ===

Revision as of 21:55, 14 March 2014

Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers.

Android 4.3.1 (Jelly Bean) for XO-4

OLPC is preparing for a customer an Android, Sugar and Gnome dual-boot system for the XO-4 Touch. This will allow children to switch between the operating systems by rebooting, so that educational content can be delivered in either format.

The final stable build is not yet available, but is planned within a few weeks. --Quozl 01:48, 12 March 2014 (UTC)

Our next development release of a dual boot build is available.

The build is based on our arm-3.5 kernel, with changes which can be found in the arm-3.5-android branch of our olpc-kernel repository.

Installing

fs-update u:\32013a4.zd
  • when the installation completes, type this:
boot
  • at the prompt "Linux or Android", press shift-L, and allow the system to boot first into Linux, for partition resizing,
  • shutdown Linux and reboot, and press shift-A at the prompt to boot into Android.

Known problems

  • cannot turn on wifi on sku292, with the Marvell 8686 Wireless LAN module,
  • the boot choice menu is only a minimal design,
  • power button does not always cause sleep,
  • cannot install on 4 GB eMMC model of XO-4, uses block 60608, which is at the 7.9GB mark, caused by incorrect S_DEVICE value in mkzd.sh,
  • not implemented; camera, hardware video codecs, touchpad, ambient light sensor,
  • the microphone jack may not be operational, has not been tested,
  • if playing music, closing lid stops music playing, waking up and pressing play does show playback, but no audio is heard until repeated stop and play,
  • might not coexist with olpc-update,
  • does not coexist with deployment security, the Android kernel and ramdisk are not signed.

Do not rely on this build for any critical data, in particular do not associate your regular Google account with this build if your Google account is critical to you.

Test cases

  • boot,
  • use power button for sleep and wake,
  • use of e-book switch (close lid) for sleep,
  • use of headphones to play music from USB drive in MP3 format,
  • use of bluetooth to pair a headset,

Boot menu

We have an improved boot menu. Using the existing cheat codes the rocker down key is for selecting alternate operating systems on an XO laptop.

Please test:

  • copy the boot script olpc.fth to the /bootpart/boot/ directory,
  • copy the icon file android.565 to the /bootpart/ directory,
  • copy the icon file xo.565 to the /bootpart/ directory,
  • reboot

The chosen operating system remains selected until the rocker down key is used at boot to change it.

The first time the menu appears, there is no chosen operating system, so the highlight is not on either operating system. To restore this state, clear byte 84 of the RTC CMOS:

ok 0 84 cmos!

See Also