3
0
Commit Graph

79 Commits

Author SHA1 Message Date
ghepeu
bcbeb5ebef galaxys2-common: fix EXIF data generated by the camera
* ensure that all IFDs are 12 bytes long; previously when the data field contained less than 4 bytes of data the IFDs were truncated too soon
 * change all data types and number of components according to the EXIF standard
 * get the actual status of the flash from the camera; previosly the camera flash settings (which are not valid EXIF values) were copied in
 * fix calculations of GPS coordinates

With these changes the EXIF generated by the camera are valid and readable. There are still issues with some tags but most data is correct now.

Thanks to dafnis, who identified the problematic fields, and tryptophane, who helped testing.

Patch Set 2: fix whitespaces.

Change-Id: I513ea89f69ff26646e6a4a439b1cd5b835cba8d6
2013-05-05 14:49:05 +02:00
athurh
8f1e7b0333 camera: manage picture width and height separately
required for 3264x2448 <-> 3264x1968

Change-Id: I729402e208dccee8cf1d1368c1d2d0dcd1f08a3d
2013-03-19 03:23:12 +01:00
codeworkx
93861e1fda galaxys2: camera: add missing picture size
Change-Id: I2b7d06f42a6020bc8bbe6718bedbd74ebe706636
2013-03-17 10:28:44 +00:00
codeworkx
f7f79fa90e galaxys2: volume rocker wake
Change-Id: I8ebb0c76e0a96caa0b9f8d959cc2718c7bfd833c
2013-03-17 10:13:40 +00:00
athurh
a0c67d8fdb mount preload partition at the end
preload is a useless partition and can be fotmatted as swap or other filesystem
different from ext4. In this case 'mount_all' will fail, leaving data unmounted

Change-Id: I37b81680f0e37590e6cd5142fa1950cd5ba90960
2013-03-11 23:56:05 +01:00
codeworkx
a9cb487a2a galaxys2: add mms overlay
Change-Id: I1b70072053c6e4c883b1013d82c72577f2cc6ce0
2013-03-11 17:34:13 +00:00
Daniel Hillenbrand
289e09440c Merge "fixed i9100 low headphones sound issue" into cm-10.1 2013-03-06 07:52:27 -08:00
sakindia123
a5c2f1d71b BoardConfig: Add Cortex-A9 & Neon optimization
Change-Id: I141a4883da272ce7057fe2b78d3d590624f219ef
2013-03-05 17:04:57 +00:00
iKillCypher
dffb024fd5 fixed i9100 low headphones sound issue
Change-Id: I9755f3d482717310617df91f2d7bcfa0f06c525f
2013-03-03 13:55:40 +08:00
athurh
7a865c0f21 galaxys2: camera: enable useProfileVideoSize
fix video preview aspect ratio

Change-Id: Ie3777670b0a368c367615a4f2a11ea35beb07dd1
2013-02-25 19:43:43 +01:00
Espen Fjellvær Olsen
aa46ea0b54 Update focus behaviour to match Samsungs
Thanks to angelsl

Change-Id: I9d2a12a818fce1ca88e635c03fb4fdeaab45bad4
2013-02-24 13:51:12 +01:00
Espen Fjellvær Olsen
c063919328 galaxys2: camera: code cleanup, higher min buffer count
Change-Id: I6abec7c91b15d4c9cd9916c878230403a4e1f89f
2013-02-24 13:47:00 +01:00
angelsl
2ce8745485 galaxys2-common: Use open source libsecion.
Change-Id: Ia26e3d30e80058a58d720034755ae4c666ca8db6
Signed-off-by: angelsl <hidingfromhidden@gmail.com>
2013-02-24 14:47:56 +08:00
Espen Fjellvær Olsen
91ffef4747 Add another success header
Change-Id: I3b293dedd14bd8a95d5f57b62b8e7330ea697304
2013-02-23 11:09:22 -08:00
codeworkx
a821e10253 galaxys2: camera hal updates from paulk
Change-Id: I7ca6daa5ae8f72bb908b4c735193933f5524fdac
Source: git://git.paulk.fr/exynos_camera.git
2013-02-23 14:41:55 +00:00
codeworkx
8007493654 galaxys2: remove legacy egl hack
Change-Id: I697bc350835a1b8ceac0d98216820f451b817439
2013-02-23 01:41:50 +00:00
Daniel Hillenbrand
9add8a0ed3 Merge "Remove *hdmi* as well..." into cm-10.1 2013-02-20 12:41:44 -08:00
Espen Fjellvær Olsen
eeea154611 Remove *hdmi* as well...
Change-Id: I6cf02e167941e7722030c157004e77c8636369d4
2013-02-20 21:38:31 +01:00
Espen Fjellvær Olsen
dc0eca9b58 Remove vendor-camera and libTVOut.so
Change-Id: I0833d46a3d1a5c75932d281e337710d4fc13f608
2013-02-20 21:32:05 +01: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
codeworkx
2bd22a00bd galaxys2: create mountpoints on init trigger
Change-Id: I2e14c8106349a9fdcb26e430dad844b81148843f
2013-01-23 16:56:38 +00:00
Espen Fjellvær Olsen
3051a266c0 Fix newline derp
Change-Id: I21a3faca37406dd60550cba6383b1e85f80ab0f1
2013-01-15 16:27:12 +01:00
Espen Fjellvær Olsen
a5a8d877a1 Use common files/script for blobs
Change-Id: Ic6ab95eedf26834f441d59442660ebfc364f2b4e
2013-01-13 21:16:10 +01: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
Daniel Hillenbrand
88aecdbe59 Merge "permissions: Remove some nasty 777s" into cm-10.1 2012-12-20 08:57:14 -08:00
Andrew Dodd
1d34188cb1 permissions: Remove some nasty 777s
Anyone could view framebuffer memory...  not good

Probably some of the other 666s in ueventd need additional work,
but changing them all to 660 causes epicfail.

Change-Id: Ia8d148fac425a72d15e40f8d393cd16078974fd0
2012-12-19 18:58:16 -05:00
codeworkx
5395db561b galaxys2: don't hide focus modes
Change-Id: I085337febda57ff69e415e864cffcba14effcc8b
2012-12-19 18:04:38 +01:00
codeworkx
7b75ae1d8f galaxys2: fix permissions on exynos-mem
Change-Id: Ic951afdd302eea7953e31f2d15de8d31ba3e0043
2012-12-16 16:05:11 +01:00
Andrew Dodd
bf5f14f303 bluetooth: Update config
These match the original SCO config passed to brcm_patchram_plus

Change-Id: Ia4305c6caf070c4edaf27e5190187a43e8300f82
2012-12-12 00:47:27 -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
a636f884ed galaxys2: reenable samsung stk
Change-Id: Ia8cad7749e91226691a6a9ebae7b8666f4f81557
2012-12-09 16:00:44 +01:00
Espen Fjellvær Olsen
80fe7526ed Add stubs to make libtvoutinterface.so and camera to play nice
Change-Id: I37f542e81a1e32bcc2441e4ef7e7c675f7f29a72
2012-12-06 20:41:33 +01:00
Daniel Hillenbrand
556a53598e Merge "galaxys2-common: fix group on video nodes" into mr1-staging 2012-12-03 21:04:03 -08:00
codeworkx
973931f953 overlay: remove/disable non-existing overlays
Change-Id: I2ff9d74f65188d44cb661782b841866f9537388a
2012-12-02 16:36:44 +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
codeworkx
605c54b82e audio: update for mr1
Change-Id: I92348574296ab03c0f57b0dfa81bcded7ddb89cb
2012-12-02 15:39:09 +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
fd9472ca4b galaxys2: build gralloc, hwcomposer and libnetcmdiface
Change-Id: Id9e85f131726600ec904f523a8792c4ed67607ed
2012-12-02 15:29:17 +01:00
codeworkx
d1803021a7 galaxys2-common: fix group on video nodes
Change-Id: I221b2847e8591523472b863544d1a3c77762b4cf
2012-11-27 01:05:14 +01:00
codeworkx
571365b9e8 BoardConfig cleanup
Change-Id: I95c3994c6aa941a49cf5ac064baadc8a33387d73
2012-11-25 11:57:03 +01:00
codeworkx
21391f1eb5 common: update releasetools for mr1
Change-Id: I448b1b9c4a1333d7d8b38ab688259e1cdd2840e7
2012-11-24 07:59:18 +01:00
codeworkx
44d3f4db75 common: use SamsungExynos4RIL class
Change-Id: Ieae687ee5ed3f36d5d87509ed3d2b5672e7bc26d
2012-11-24 07:57:10 +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
codeworkx
315c2fcb57 change network location provider package
Change-Id: I97336264842a68edec8a36cefb487cd138feee18
2012-10-13 15:11:27 +02:00
Andrew Dodd
1579100c87 power_profile: Add cpu.awake parameter
One of the remaining issues with the new profile is lack
of a cpu.awake parameter - without this, wakelock holders
won't be penalized in battery stats.

Make a wild-ass guesstimate of 15 mA, based on:
Best-case consumption is around 0.5%/hour with radio on, assume
8.25 mA consumption of non-CPU stuff in deep sleep.
Best case consumption when wakelocked is usually around 1.25-1.5%/hour,
assume then, about 25 mA total when wakelocked.
Subtract the baseline and it's 15-16 mA.  Let's just round to a
multiple of 5 here, since it IS a WAG.

Also, consumption when the CPU is running at 200 MHz (for example,
governor set to ignore nice load, and a program is endlessly looping
but niced to avoid bumping the gov) is usually around 4-5%/hour,
which is semi-consistent with a number of 55 mA for 200 MHz op.

Change-Id: I6aa08842dd2acfced0c70a95d973aa0b415799cc
2012-10-04 03:54:45 -07:00