Android/Lollipop(5.0)

From OLPC
Jump to navigation Jump to search

Source code

Google released Lollipop source code on 4th November 2014.

Android 5.0 for XO-4 is in active development status. Any contribution would be much appreciated.

Currently the graphics are almost working. Developers are welcomed to peek/compile the repositories. 04/12/2014.

  • use Repo to download the Android source from github repositories.
$ repo init -u git://github.com/suyouxin/android_manifest.git -b android-5.0.0-xo4
$ repo sync
  • Note: only engineer build is usable, user build can't be booted since SELinux feature hasn't been adapted.

Test build

 A test build can be download here, testbuild

TODO List

Graphics
Kernel tuning
WIFI
BT
Accelerometer sensor tuning
Camera
Codec
SELinux
Power Manager


Status update (04/12/2014)

  • Graphics
  OpenGL and HWC works fine, but Bufferqueue has problem when application try to dequeue buffer sometimes, here is a ugly fix of this problem
  • Kernel tuning
 Opened KSM in kernel. configuare
 Backported zram in kernel configuare
 Need more testing, some time at first boot, kernel panic out of memory.
  • WIFI
 Merged patches from 4.3.1, doesn't work, needs diagnosis.
  • BT
 Merged patches from 4.3.1, doesn't work, needs diagnosis.
  • Accelerometer sensor tuning
 Android 5.0 added a few more parameters for Accelerometer HAL, needs verification.
  • SELinux
 User build boot failed, since can't mount selinux file system.
  • Power Manager
 System can't go to sleep.
  • Camera
 Haven't start to port.
  • Codec
 Haven't start to port.
  • Gapps
 Haven't start to port.
  • Some known problems
 **W/libprocessgroup(  385): failed to open /acct/uid_10005/pid_896/cgroup.procs: No such file or directory
 **System alert colour miss match.