Android/Lollipop(5.0): Difference between revisions

From OLPC
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 15: Line 15:


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


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

==Check List==


{| border="1" cellpadding="6"
{| border="1" cellpadding="6"
Line 40: Line 43:
|}
|}


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


==Status update (04/12/2014)==


*Graphics
*Graphics
HWC works fine.
OpenGL and HWC works fine, but Bufferqueue has problem when application try to dequeue buffer sometimes, here is a ugly fix of [https://github.com/suyouxin/android_frameworks_native/commit/e3af52ad5027c3c224da785c9bc0f25a79741454 this problem]
OpenGL 3D has problem with gpu driver.
System alert dialog has color mismatching.


*Kernel tuning
*Kernel tuning
Opened KSM in kernel. [https://github.com/suyouxin/android_vendor_olpc_xo4/commit/b7ba070237f84e1bf434d183d2235c3d7fff40eb configuare]
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]
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 out of memory.
Need more testing, some time at first boot, kernel panic since out of memory.


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


*BT
*BT
Merged patches from 4.3.1, works. [https://github.com/suyouxin/android_external_bluetooth_bluedroid/commit/75606302b35286f8b83abf442c0f95107ad8a5ca patch]
Merged patches from 4.3.1, doesn't work, needs diagnosis.


* Accelerometer sensor tuning
* Accelerometer sensor tuning
Android 5.0 added a few more parameters for Accelerometer HAL, needs verification.
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
* SELinux
Line 68: Line 71:


* Camera
* Camera
Haven't start to port.
Haven't started to port.


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


* Gapps
* Gapps
Haven't start to port.
Haven't started to port.


* Some known problems
* Some known problems
**W/libprocessgroup( 385): failed to open /acct/uid_10005/pid_896/cgroup.procs: No such file or directory
**W/libprocessgroup( 385): failed to open /acct/uid_10005/pid_896/cgroup.procs: No such file or directory
**System alert colour miss match.

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