Android/Lollipop(5.0): Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Source code ==

Google released Lollipop source code on 4th November 2014.
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.
Android 5.0 for XO-4 is in active development status. Any contribution would be much appreciated.


Currently the graphics are almost working. Developers welcome to peek/compile the repositories.
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.
* use Repo to download the Android source from github repositories.
Line 12: Line 14:
* Note: only engineer build is usable, user build can't be booted since [https://source.android.com/devices/tech/security/se-linux.html SELinux] feature hasn't been adapted.
* Note: only engineer build is usable, user build can't be booted since [https://source.android.com/devices/tech/security/se-linux.html SELinux] feature hasn't been adapted.


== Test build==
A test build can be downloaded here, [http://dev.laptop.org/~ben/lollipop_20150203.zd testbuild_20150203]

===Archives===
*[http://dev.laptop.org/~ben/lollipop_20141203.zd testbuild_20141203]

==Check List==

{| border="1" cellpadding="6"
| Graphics
|-
| [https://source.android.com/devices/low-ram.html#kernel Kernel tuning]
|-
| WIFI
|-
| BT
|-
| Accelerometer sensor tuning
|-
| Camera
|-
| Codec
|-
| SELinux
|-
| Power Manager
|-
|}

==Status update (03/02/2015)==

*Graphics
HWC works fine.
OpenGL 3D has problem with gpu driver.
System alert dialog has color mismatching.

*Kernel tuning
Opened KSM in kernel. [https://github.com/suyouxin/android_vendor_olpc_xo4/commit/b7ba070237f84e1bf434d183d2235c3d7fff40eb configuare] [http://dev.laptop.org/git/olpc-kernel/commit/?h=arm-3.5-android&id=a838345bdeaad101134a7e6623013e6cf11f9650 kernel patch]
Backported zram in kernel [https://github.com/suyouxin/android_vendor_olpc_xo4/commit/e0857cefd4443404c08d5ec35a41cdb8cdf6946f configuare] [http://dev.laptop.org/git/olpc-kernel/commit/?h=arm-3.5-android&id=b45208e4759acbf5dc601caa0efbcba7ba7b87d1 kernel patch]
Need more testing, some time at first boot, kernel panic since out of memory.

*WIFI
Merged patches from 4.3.1, works, ported Wifi changes using broadcom WifiHAL source code. Waiting for Marvell release these new HAL code.

*BT
Merged patches from 4.3.1, works. [https://github.com/suyouxin/android_external_bluetooth_bluedroid/commit/75606302b35286f8b83abf442c0f95107ad8a5ca patch]

* Accelerometer sensor tuning
Android 5.0 added a few more parameters for Accelerometer HAL, needs verification. [https://github.com/suyouxin/android_vendor_olpc_xo4/blob/android-5.0.0-xo4/libsensors/libsensor_lsm3dh.cpp code]

* SELinux
User build boot failed, since can't mount selinux file system.

* Power Manager
System can't go to sleep.

* Camera
Haven't started to port.

* Codec
Haven't started to port. Reversed to use software codec to play music.


* Gapps
TODO List;
Haven't started to port.


* Some known problems
[https://source.android.com/devices/low-ram.html#kernel Kernel tuning]
**W/libprocessgroup( 385): failed to open /acct/uid_10005/pid_896/cgroup.procs: No such file or directory
WIFI
BT
Accelerometer sensor tuning
Camera
Codec
SELinux

Latest revision as of 20:05, 3 February 2015

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 downloaded here, testbuild_20150203

Archives

Check List

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

Status update (03/02/2015)

  • Graphics
 HWC works fine.
 OpenGL 3D has problem with gpu driver.
 System alert dialog has color mismatching.
  • Kernel tuning
 Opened KSM in kernel. configuare  kernel patch
 Backported zram in kernel configuare  kernel patch
 Need more testing, some time at first boot, kernel panic since out of memory.
  • WIFI
 Merged patches from 4.3.1, works, ported Wifi changes using broadcom WifiHAL source code. Waiting for Marvell release these new HAL code.
  • BT
 Merged patches from 4.3.1, works.  patch
  • Accelerometer sensor tuning
 Android 5.0 added a few more parameters for Accelerometer HAL, needs verification. code
  • SELinux
 User build boot failed, since can't mount selinux file system.
  • Power Manager
 System can't go to sleep.
  • Camera
 Haven't started to port.
  • Codec
 Haven't started to port. Reversed to use software codec to play music.
  • Gapps
 Haven't started to port.
  • Some known problems
    • W/libprocessgroup( 385): failed to open /acct/uid_10005/pid_896/cgroup.procs: No such file or directory