3
0
Commit Graph

50 Commits

Author SHA1 Message Date
Caio Schnepper
1c708f0110 sepolicy: Address SELinux denials
Change-Id: Ice8f2890fbade59d063097ac3ee3647f24e8d3ad
2015-09-02 16:40:38 -07:00
Caio Schnepper
376b96446e selinux: allow kernel to write on block_device
The kernel writes to dev/block/vold, fix UMS mode

Change-Id: I4b8fd54f86ae45f37bae68f31dbdc56f5bfd2ef0
2015-07-14 12:37:19 -07:00
Caio Schnepper
b0d7d4fa6f releasetools: resize system partition after flashing
resize2fs.static is placed in install/bin, possible to run without /system mounted.
running it will resize /system to the actual system partition size,
supporting custom pits with block-based OTAs

Change-Id: Id2c82add1f697ae3d7e5a1031f6a6d51a4ee53e0
2015-07-05 19:06:21 -03:00
Caio Schnepper
ecc3d13410 galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
2015-05-28 18:29:17 -03:00
Dorian Snyder
9d5e065be4 galaxys2-common: this family of devices do not have a separate recovery partition
Change-Id: I3fd55b82e0f0655f50d821579f7c412ed24d3928
2014-05-29 23:24:59 -07:00
coudu
3beddf93cf galaxys2: enable swipe controls in recovery
Change-Id: I3f8dac89d7d4b477ee412ad923f2798e674a7e4a
2014-03-04 03:07:10 +00:00
Daniel Hillenbrand
a342fe2496 Merge "Make SELinux policies more 4.4 compatible" into cm-11.0 2013-12-03 08:21:11 +00:00
Pavel Kirpichyov
b67b732a0c Make SELinux policies more 4.4 compatible
Change-Id: I8494f924f1d979fe88eae60ffc118cf34a90184c
2013-11-18 19:08:10 +02:00
David Ferguson
92673a8d71 [libhealthd] Proper battery paths
* 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660/d2/jf/s2 kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf/s2
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I4579c92bba5596eef4dac67b8c0687be50a1d2f5
2013-11-17 19:17:26 +04:00
Pavel Kirpichyov
8ba972883d Fix graphical issues
Change-Id: Iafeb4349fa504b5a5f7d72afd3274581de5b2ddc
2013-11-15 17:57:15 +04:00
Ricardo Cerqueira
5ad50bc3af selinux: Don't reset inherited system-wide configs
Change-Id: Ia23596bc4ad8a1fe7673188434b7327528e07c06
2013-11-02 00:05:52 +00:00
Ricardo Cerqueira
6295bc69ca Treat all screenshots as going to a CPU consumer
Change-Id: Iee55fa03d9602f31a3b7f4f188778c58e8ca0131
2013-10-27 00:14:09 +01:00
Ricardo Cerqueira
e31957ea60 Get rid of the gfx buffer workarounds
Concurrent buffers are now working, we don't need this crap anymore

Change-Id: I80c35bb67c41e9c61faeb6f3cd80d3e9033f9641
2013-10-27 00:13:12 +01:00
Daniel Hillenbrand
176325f6f5 galaxys2: recovery.rc cleanup, fstab cleanup
Change-Id: I38666e98f2536bdaf0721d1da6fccda3f9dd96ee
2013-08-24 16:55:25 +02:00
Daniel Hillenbrand
2798599884 galaxys2: add selinux policies
Change-Id: I52a914da94f5c331b4928cb2e79d8fa5a0c0c41c
2013-08-11 16:28:40 +02:00
codeworkx
8fe2f3a21b galaxys2-common: hardware tunables: vibrator support
Change-Id: I429d8ea2edddaf353c3f24cbc26d58df0cb30e69
2013-08-10 17:16:39 +02:00
XpLoDWilD
6a71b5c1b0 BoardCommonConfig: Add LEGACY_EGL flag
Change-Id: Ifa96a6f3846a9ad85dc7eb3a81605b64272f900f
2013-08-06 21:39:41 +02:00
codeworkx
024854b51d galaxys2: recovery: use unified fstab
Change-Id: I82fbfa87a4e0c0dc4d1a6bbe94b99f91bb5e8fa3
2013-08-04 16:47:13 +02:00
codeworkx
3b8230bbf2 galaxys2: remove GL_EXT_discard_framebuffer
Change-Id: If1204d3b57ce106490d88d61dece1dcd1d0adf4a
2013-07-28 16:09:47 +02:00
codeworkx
f8fa0efdee galaxys2: fix whitespace error
Change-Id: I566e1f9146d26d7ae860cacf46c4b51244d3fd9d
2013-07-28 00:51:40 +02:00
codeworkx
2bc3ab6fb8 galaxys2: define GL_EXT_discard_framebuffer
Change-Id: I7843e8770b9bde5cef0144ac11fd27dbe02623ff
2013-07-28 00:38:12 +02:00
codeworkx
cbb55f4d26 galaxys2: set TARGET_CPU_VARIANT
Change-Id: I363c67ab0a4768e3a38b5523961a5fe802a58dda
2013-07-28 00:36:50 +02:00
Daniel Hillenbrand
2d4c52900e galaxys2: move libril, use SamsungExynos4RIL class
Change-Id: Idec0820fa46fabd0d4703fedef3e6b168b96e800
2013-07-07 10:14:32 +02:00
ghepeu
3251033a84 galaxys2: reenable fimg
Change-Id: I87d90d655fd82f2169f08afeda9d51de607fcab5
2013-07-01 13:04:05 +02:00
Daniel Hillenbrand
f462edcc44 Revert "galaxys2: use fimg"
This reverts commit 5cce906553

Change-Id: I25178feaf07b8785e89e233a5151213f4e322066
2013-06-24 07:47:34 -07:00
Daniel Hillenbrand
5cce906553 galaxys2: use fimg
Change-Id: I450a2016c8f2c668e3a96e8ae09a36c76e542009
2013-06-14 23:20:17 +02:00
Daniel Hillenbrand
770ea9ca3d galaxys2: libril: remove handling of uusInfo and reenable
Change-Id: I7897a5d36bb5fa51e29f5244ebfbfc81f225f6cf
2013-05-26 00:47:40 +02:00
Daniel Hillenbrand
a6256201b5 galaxys2: back to blob libril
opensource libril is causing memory problems

Change-Id: I3afc5430bcb52c4e31e2e79b1b2faf4bf53b4e3e
2013-05-25 21:55:29 +02:00
Daniel Hillenbrand
8829d2cfbc galaxys2: add opensource libril, remove ril class
- remove blob rild
- remove blob libril.so

Change-Id: I9f6d99bbd0ecf7c591c64a53e738339f0eaa3905
2013-05-24 12:31:07 +02:00
sakindia123
a5c2f1d71b BoardConfig: Add Cortex-A9 & Neon optimization
Change-Id: I141a4883da272ce7057fe2b78d3d590624f219ef
2013-03-05 17:04:57 +00:00
codeworkx
8007493654 galaxys2: remove legacy egl hack
Change-Id: I697bc350835a1b8ceac0d98216820f451b817439
2013-02-23 01:41:50 +00:00
codeworkx
2806d8bfe0 galaxys2: update for new kernel, cleanup, replicant camera hal
Camera HAL from: http://gitorious.org/replicant/device_samsung_galaxys2

Change-Id: I4191110be5b3368c608333d724f4217894dab4ac
2013-02-17 20:28:22 +00:00
Andrew Dodd
452ed911a8 Disable fimgapi
This isn't doing anything at the moment - and it
messes up the attempt to enable FIMGAPI for 4412

Change-Id: I54d07366f723d6c01ab450050292638f682a88f7
2012-12-31 17:37:58 -05:00
Andrew Dodd
b2b2efbeda EGL: Set BOARD_EGL_NEEDS_LEGACY_FB
Fixes EGL stalling

Change-Id: If08b64e6f2b22dc96d2720087320224edde39f39
2012-12-10 18:10:57 -05:00
codeworkx
ae51a7717f galaxys2: add vendor bt conf, add bt-pan iface
Change-Id: Ida11505eaf2b4457a64a3d5c0ed6172f4e821378
2012-12-10 20:43:51 +01:00
codeworkx
4ccae23384 galaxys2: camera have iso
Change-Id: I103e58d0f115bc4560c152e9747847ea5ed4ac01
2012-12-02 16:34:14 +01:00
codeworkx
ddf7e489b9 galaxys2: enable vsync sysfs
Change-Id: Ibfeed182c1728096200457e94016432fc129cae7
2012-12-02 15:47:40 +01:00
Andrew Dodd
cdc1a96ac0 mc1n2: Opensource audio HAL from Replicant
Thanks to Paul Kocialkowski of the Replicant project for this work.

Original sources:
https://gitorious.org/replicant/hardware_tinyalsa-audio

http://git.paulk.fr/gitweb/?p=yamaha-mc1n2-audio.git;a=summary

Change-Id: Ia3d89c67d64decb56e3d6518c5f382d38e5a1fa9
2012-12-02 15:33:50 +01:00
codeworkx
571365b9e8 BoardConfig cleanup
Change-Id: I95c3994c6aa941a49cf5ac064baadc8a33387d73
2012-11-25 11:57:03 +01:00
codeworkx
a8d6a4a767 common: set TARGET_ARCH
Change-Id: Icb6120b5c522d2d13ebc121b0ea87a33256f464e
2012-11-24 07:54:39 +01:00
Daniel Hillenbrand
7b18a619be Revert "Update board config for new audio blobs"
This reverts commit 56156d359a
2012-10-24 13:17:36 -07:00
Andrew Dodd
9d73e8a5d1 BoardConfig: Build all kernels with GCC 4.4.3
4.6 may be the cause of RIL crashes

Change-Id: Iabc66bae5828bb574c60121effd024e4e58f2b37
2012-10-24 07:39:06 -07:00
Espen Fjellvær Olsen
56156d359a Update board config for new audio blobs
Change-Id: I82d2a6856d76c1a758c502fd99ad0931ef7f2eed
2012-10-24 14:44:07 +02:00
Espen Fjellvær Olsen
647c319a6e Update for JB/Mali r3p0
Change-Id: I911c4679f9c8d0aed62516514a3eb48521d86f66
2012-10-02 09:39:07 +02:00
codeworkx
0bff09e867 workaround for samsungs volume bug 2012-08-21 15:59:18 +02:00
Daniel Hillenbrand
fc3df4919a legacy sta events 2012-08-14 15:53:20 +02:00
Daniel Hillenbrand
55d42adf79 Revert "added global cflag GLES2_NO_DISCARD_FRAMEBUFFER"
This reverts commit 5964b7b93f.
2012-07-29 21:10:59 +02:00
Daniel Hillenbrand
5964b7b93f added global cflag GLES2_NO_DISCARD_FRAMEBUFFER 2012-07-29 19:15:06 +02:00
Espen Fjellvær Olsen
30400580b2 Disable hwid check for wrappers
Change-Id: I7700e12930575d8707891542632aa30d590a340b
2012-07-27 12:12:46 +02:00
Daniel Hillenbrand
51841ab0c5 initial commit 2012-07-25 04:32:16 +02:00