2011_xperia_phones

Sensor HAL for Xperia™ phones available as open source

Continuing our open innovation initiative, we are now making the sensor HAL for the 2011 Xperia™ phones available as open source. So if you’re an advanced developer, you will now be able to access and configure the sensors of a 2011 Xperia™ phone on a deeper level. For example, you will be allowed to optimise the way the compass is used in a custom ROM.

In the good feedback we received on our previous open initiatives, we have seen a lot of requests for us to open source these files. And now, we’re happy to provide that opportunity. This is not part of open source archives that we are required to publish, it simply something we want to do for the community.

Read more after the jump!

If you read our blog post called Ice Cream Sandwich – from source code release to software upgrade, you’re probably familiar with the concept HAL (Hardware Abstraction Layer). The sensor HAL we are now releasing as open source contains source code files, and “make” files that describes how the sensors of the Sony Ericsson 2011 phones are configured. Using this, you can enable and disable multiple sets of sensors for each device, and in some cases also second-source sensors, when you are compiling.

The sensor HAL also makes it possible to configure the sensors, so that you can mount the “sensor chip” in different ways without having to change the code. Get started by downloading the sensor HAL for the 2011 Xperia™ phones. Then you can choose to either adapt the sensor HAL to your ROM, or use our sensor HAL more pretty much off-the-shelf. For additional information about the files included in the sensor HAL zip, check out the README.txt file included in the zip.

Working with all of you folks in the open dev community is important to us, and we hope you will find this latest addition of open sourced assets useful. What else is on your open source wish list? Write a comment and let us know.

More information:

Comments 8

Sort by: Newest | Oldest | Most popular

  1. Pingback #1

    […] on our platforms, if you are a custom ROM developer. We also have updated the previously released sensor HAL, by adding aid to configure the magnetometer sensor. Read on for more […]

  2. Pingback #2

    […] on our platforms, if you are a custom ROM developer. We also have updated the previously released sensor HAL, by adding aid to configure the magnetometer sensor. Read on for more […]

  3. Pingback #3

    […] up Descarga | Sensor HAL Xperia 2011, librerías de las cámaras de los Xperia Más información | Sony Mobile Developer World Article source: […]

  4. Pingback #4

    […] información | Sony Mobile Developer World Comparte esta entrada: […]

  5. By Alawi Al-Hashimi

    #5

    WOW this is really great move this is why Sony (Ericsson) is my favorite Brand ! :D hope to see more like Camera HAL so that dev can more Xperia Camera to the limits ;)

  6. Pingback #8

    […] Via Sony Ericsson […]

1-8 of 8 comments.