Android: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Reverted edits by SvenAERTS (Talk) to last revision by Quozl)
No edit summary
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,
* 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_q7b38|Q7B38]],
* download the .zd file, from [http://build.laptop.org/android/2014-02-26/ our build directory],
* download the .zd file, from [http://build.laptop.org/android/2014-03-19/ our build directory],
* at the [[ok]] prompt, type this:
* at the [[ok]] prompt, type this:
[[Firmware/Storage#fs-update|fs-update]] u:\32013a4.zd
[[Firmware/Storage#fs-update|fs-update]] u:\32013a4.zd
* when the installation completes, type this:
* when the installation completes, type this:
boot
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 ===
=== Known problems ===


* not implemented; camera, hardware video codecs, and ambient light sensor,
* 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,
* might not coexist with olpc-update,
* does not coexist with deployment security, the Android kernel and ramdisk are not signed.
* 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.
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.
Line 46: Line 37:
* use of headphones to play music from USB drive in MP3 format,
* use of headphones to play music from USB drive in MP3 format,
* use of bluetooth to pair a headset,
* 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 [http://build.laptop.org/android/2014-02-26/mkzd.git/olpc.fth olpc.fth] to the /bootpart/boot/ directory,
* copy the icon file [http://build.laptop.org/android/2014-02-26/mkzd.git/iconography/android.565 android.565] to the /bootpart/ directory,
* copy the icon file [http://build.laptop.org/android/2014-02-26/mkzd.git/iconography/xo.565 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 ==
== See Also ==

Revision as of 04:46, 19 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

  • 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 upgraded to Q7B38,
  • download the .zd file, from our build directory,
  • at the ok prompt, type this:
fs-update u:\32013a4.zd
  • when the installation completes, type this:
boot

Known problems

  • not implemented; camera, hardware video codecs, and ambient light sensor,
  • 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,

See Also