Skip to content

Instantly share code, notes, and snippets.

@Nokius
Created March 18, 2015 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nokius/bbb94d1c865dc8db3233 to your computer and use it in GitHub Desktop.
Save Nokius/bbb94d1c865dc8db3233 to your computer and use it in GitHub Desktop.
Author: Simonas Leleiva <simonas.leleiva@meramo.co.uk>
Date: Sun Mar 8 11:57:34 2015 +0100
Revert "hack: make N5 sensors work"
Otherwise a make hybris-hal from scratch will break the build
(updater script won't boot, and .zip installation fail)
So cherry-pick that 40eb3772 hack only when you have built hybris-hal,
and afterwards rebuild only libc_common and libc (via make), to make
sensors work, or simply, fix the hack altogether ;P
This reverts commit 40eb3772fecf40bf89d70b30f57fb0e074301d3a.
commit 1acfda4b2352d01062b46d8a981db37c63a5c328
Merge: 51a49ad 40eb377
Author: Simonas Leleiva <simonas.leleiva@meramo.co.uk>
Date: Thu Feb 26 23:52:09 2015 +0000
Merge pull request #3 from sledges/sensors-hack
hack: make N5 sensors work
commit 40eb3772fecf40bf89d70b30f57fb0e074301d3a
Author: Mohammed Hassan <mohammed.hassan@jolla.com>
Date: Thu Feb 26 23:35:05 2015 +0000
hack: make N5 sensors work
this is the place where sensors crash due to __system_property_area__
being null. Then cast it to a struct and access one of its members
The rest of the system with this hack is still functioning.
Change-Id: I3372fe025bd36d195b63e60bcad3e98cbd586386
:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment