summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* i9300: more selinux fixesSimon Shields2015-12-135-0/+15
| | | | Change-Id: Ifa1f39c78c8b4fb96ab3024a4f7cdb3cc9d732bd
* i9300: use sh to run gps_daemon and fix config locationSimon Shields2015-12-112-3/+3
| | | | | | one does not simply exec a shell script Change-Id: I538f28b2ccd80b39fd6e84dedcb2554a215c94ea
* i9300: M sepolicy bringupforkbomb2015-12-1125-49/+162
| | | | | | | | | GPS fixes taken from grouper: https://github.com/CyanogenMod/android_device_asus_grouper/commit/9651b24fb481bf0fc1db3b1d700033cf66eb067e and https://github.com/CyanogenMod/android_device_asus_grouper/commit/f5592571d581478622f0fc3f86fbbddf20cf89c7 Change-Id: I7ec658691c65c3b6c087ee41ba69f2cb37ade525
* i9300: remove CameraWrapperSimon Shields2015-12-102-647/+0
| | | | | | | open source camera is better in every possible way. This also doesn't build anymore. Change-Id: If1048b8df45679adc5bdf357dd13f1b3e6365dcb
* i9300: use responseFailCause on REQUEST_LAST_CALL_FAIL_CAUSESimon Shields2015-12-071-1/+1
| | | | | | fixes phone crashes when the call is disconnected from the other end Change-Id: If6211af2d62ce9a6ee6879b67ae473b9fb9083d2
* i9300: disable ashmem tracking in parcelsforkbomb2015-12-061-0/+1
| | | | | | fixes RIL Change-Id: I9d4b83f245976b7cbb68aca315c54878e51f1356
* i9300: set radio access familiesforkbomb2015-11-271-0/+6
| | | | Change-Id: I139186d5b408779c05827e0d66f21b1071f7dd2c
* i9300: Don't build CameraWrapper if we want open sourceforkbomb2015-11-241-0/+4
| | | | Change-Id: I88a7d92b4831ff61e7507c65db66ccd6d71c81fc
* [WIP] i9300: SELinux M bringupforkbomb2015-11-243-3/+3
| | | | | | | | currently you need to cherry-pick this: http://review.cyanogenmod.org/#/c/120540/ to boot. Change-Id: Ibf6f85db7235a5c09010bcedc57642f91f278d29
* i9300 Grouper GPS blobs SElinux updatemcgi5sr22015-11-2511-12/+32
| | | | Change-Id: I3dbb887bd1356a3198a4b4da5aadf95b64920e55
* i9300: Grouper blobs update for initmcgi5sr22015-11-251-3/+15
| | | | | | | Conflicts: rootdir/init.target.rc Change-Id: I97dd09c7ebbfda242d8e8b3e140a2597c14c36f9
* i9300: GPS modifications for use of Groupers PIE blobs [1/2]mcgi5sr22015-11-252-962/+3
| | | | | | | | | | | | gps.xml removal of values that cause segfualt init.rc addition of required data folders and init of gps-daemon (gpsd->glgps) Set preset values gps.h header removed as non-samsung blobs Conflicts: include/hardware/gps.h Change-Id: I9e07d8a507b5669987480a4ecae4f7697685e1f4
* libsensors: switch to portable typedefs to match callbacksDheeraj CVR2015-11-259-29/+30
| | | | | | | | | | | | | Using a strict basetype only coding style is not a good idea especially when we are dealing with callbacks which use portable typedef like int64_t. This kind of coding style would most likely end up in overflows at various places especially when dealing with timestamps and sensor delays which are caused when typecasting datatypes of different size. Switch to portable typedefs and get rid of "long". Change-Id: I75b9cace7602345dba9095f046292e6d4db07df4
* libsensors: fix light sensorJavi Ferrer2015-11-251-3/+37
| | | | Change-Id: I7cad5c048c1a9877889216ca8ca43bb13daeb4b0
* i9300: libsensors: remove unused orientation sensorChristian Balster2015-11-256-480/+0
| | | | | | | | | | | | | The Orientation Sensor is deprecated and no longer required. Additionally this implementation is never even used, since Android automatically replaces it by it's own implementation if the sensor HAL doesn't also provide a Rotation Vector sensor. Furthermore the current implementation only uses the accelerometer and magnetometer for the sensor fusion and doesn't make use of the Gyroscope. So should we at some point decide to implement our own complete sensor fusion this would have to be rewritten anyway. Change-Id: I45d8a9afd2089b49131e6cc69cdf2f3dfee46c92
* i9300: libsensors: Fix compass orientation (for real)Christian Balster2015-11-254-6/+6
| | | | | | | | | | | | | | | | | | | | | | | Actually this fixes several more problems, but the compass orientation is the most noticeable symptom of this: Android expects sensor event timestamps in nanoseconds. Linux timestamps on the other hand are saved in the timeval struct in seconds and micro- seconds. Therefore these need to be converted, which is easy enough and is implemented in input.c of libsensors. Unfortunately, the current implementation uses type long int for the return value and all further calculations. Since the nanosecond values easily exceed 2^32 the buffers overflow and wrap, which results in the reported timestamps moving between -2^16 and 2^16. The consequences of this are noticeable especially with fused sensors integrating the gyroscope readings, which use the difference of two timestamps to calculate the change in orientation by multiplying it by the rotation rate. When the buffer wraps around this results in a huge time difference and thus leads to a momentary orientation change every ~4.3 seconds. This commit fixes this behavior by using long long int. Change-Id: Ib47bdc36ece16371c82f61b125315074ec048e32
* i9300: libsensors: fix magnetometer offset parameters not being savedChristian Balster2015-11-251-10/+19
| | | | | | also fix a typo Change-Id: I69246a96c53d7ec02ca90d73bc85dec4cbc73343
* i9300: libsensors: report at least bogus accuracy for gyroChristian Balster2015-11-251-0/+2
| | | | Change-Id: I81ff71c8ae6bf25c1aabac4a6d8d6fcf64bd2e0b
* i9300: libsensors: fix typo in accelerometer dataChristian Balster2015-11-251-1/+1
| | | | Change-Id: Iee501b65c23bed22bfe769496bafc852f939a8ac
* i9300: libsensors: add real accuracy reporting for magnetometerChristian Balster2015-11-252-5/+26
| | | | Change-Id: I3dd56f4d7fb0de8feca2422c165fe0c3cd92761a
* Revert "i9300: libsensors: fix compass orientation"Christian Balster2015-11-251-1/+1
| | | | | | | | | This reverts commit 9f7182d0542f4c82b6fe4722b8b9389021ad6ae9. Let's not mess with the magnetometer sensitivity adjustments. The magnetometer orientations are correct as is. Change-Id: I218578088c43a27f4ff89d8c9e1671641725817a
* i9300: update libsensors from replicantJavi Ferrer2015-11-2516-631/+652
| | | | | | - Orientation sensor still broken Change-Id: I7d20afbbc1f8b1ca5d046a38c0c3b7ce824c12cd
* i9300: libsensors: L bringup - fix buildDheeraj CVR2015-11-251-7/+14
| | | | Change-Id: I3c5cd29a497d2a84da7742b8fdf54bf4e0869cee
* i9300: CameraWrapper cleanup and updateChristian Balster2015-11-251-189/+180
| | | | | | | Conflicts: camera/CameraWrapper.cpp Change-Id: Ic33d9a91629cf04e99c6e316e4871489f9f45924
* i9300: Use open-source camera againJustArchi2015-11-253-7/+2
| | | | | | | Conflicts: BoardConfig.mk Change-Id: I5794d6c3fb2e2ca542fc0eff65317334be9047b7
* i9300: fix camera includesMarcKe2015-11-251-0/+3
| | | | Change-Id: I554de271021b595b27620135189f4dc61f604170
* i9300: include samsung specific camera parametersChristian Balster2015-11-251-0/+55
| | | | Change-Id: Ie8f657544212a70a2ce0c7fb61d050d87f6247f6
* i9300: enable zram [1/2]forkbomb2015-11-252-0/+7
| | | | Change-Id: I537df0d39ceddfabb5e0a859398d5068f6860faa
* i9300: Fix broken AIF2 logicJustArchi2015-11-251-4/+0
| | | | | | | We have only one analog source and one speaker, do not use right (mute) channel for AIF2 Change-Id: I65780e0d022263976712e79a70bf217bf1b988eb
* i9300: We should boost only earpieceJustArchi2015-11-251-2/+2
| | | | Change-Id: I037aace6fae22c8635332bc5888663ac8c9e3851
* audio: +3dB for speaker, headset, headphoneJavi Ferrer2015-11-251-3/+3
| | | | Change-Id: Iebfe3b797e3f44de1c6527111105122ed871f1c8
* audio: enable noise suppression by defaultDheeraj CVR2015-11-253-39/+19
| | | | | | | | | | | | | | | | Framework was responsible for enabling or disabling the noise suppression using audio parameters. However, this is currently broken in lollipop and most of the newer devices have noise suppression enabled by default. Use noise suppression when using the default input device (main microphone). Conflicts: audio/audio_hw.c overlay/packages/services/Telephony/res/values/config.xml Change-Id: Ie8bdfe1d9860fdad996640d1664e8111df7d3cec
* audio: remove deprecated audio_stream_frame_sizeMarcKe2015-11-251-9/+9
| | | | Change-Id: I8593343012faf5b528df03cc9ed098bf44b66888
* audio: forward call mute to RIL client interfaceDheeraj CVR2015-11-253-2/+21
| | | | Change-Id: Iccb763b48a687b88692c84976a7cddf72031b5be
* i9300: audio: adjust microphone sensitivityDheeraj CVR2015-11-251-4/+4
| | | | | | | | * Lower the main and sub mic gain to prevent distortion. * Increase the headset mic gain * Enable +30db boost for headset mic Change-Id: If5a3605b8742fc125d36d2b11e9c2bb15f089f92
* audio: set noise suppression based on audio parameterDheeraj CVR2015-11-252-9/+20
| | | | Change-Id: Ie28205afda03280d9cc6437a7c98f7b995fd4f50
* audio: make builtin mic and back mic volumes consistentDheeraj CVR2015-11-253-12/+2
| | | | Change-Id: I25cab57acb84a14200006e832a43676ff3c8b9d0
* audio: fix noise supression and update mixer ctlsDheeraj CVR2015-11-254-147/+70
| | | | Change-Id: I5b76be2d7d5d9754974295fce81b26498ccee391
* i9300: Remove density from PRODUCT_AAPT_CONFIGJustArchi2015-11-251-5/+2
| | | | | | | | | | AAPT ignores densities in PRODUCT_AAPT_CONFIG. The use of PRODUCT_AAPT_PREF_CONFIG for density is encouraged, as AAPT is able to determine the fallback density to use if a resource of the specified density does not exist. Change-Id: I38ed9cc72108c290a3f74c4bbc08ae37a56efa4f
* i9300: Overlay bringupJustArchi2015-11-253-43/+93
| | | | Change-Id: Ica5b5c3035c6e5ff2756564fa3d894ba8a6d24bd
* i9300: squash RIL bringupforkbomb2015-11-2510-20/+1684
| | | | | | | | | | | | * ril: update ril header to v11 from https://github.com/ArchiDroid/android_device_samsung_i9300/commit/706bc3c354d2f6d6d905e6a26ccee282357c26ee * ril: LCE support * set BOARD_RIL_CLASS and add SamsungExynos4RIL * add Samsung symbols shim library * use ril-wrapper to stop libsec-ril from crashing (based off dmitry-ril for the Nexus S) Change-Id: I169024341621ea05db5b8d8e82c4bf958b7bc6c0
* i9300: update fstabforkbomb2015-11-211-3/+3
| | | | Change-Id: Ia8b8eeb35ee487c4b3729765e4c7ef79e7894eb2
* i9300: init: cleanupDheeraj CVR2015-11-211-21/+0
| | | | | | | Conflicts: rootdir/init.target.rc Change-Id: I76d330088c9fcf6e6ce20388980293d366af2997
* i9300: remove obsolete mobiledata.interfaces propChristian Balster2015-11-211-1/+0
| | | | | | | This property was used in GB to work around a hardcoded list of interfaces in MobileDataStateTracker and is no longer required. Change-Id: Iaba910f52331079ab19ba05c2d2fc6586f895231
* i9300: squash selinux updates for CM 12.xMarcKe2015-11-2122-39/+89
| | | | | | | | | | i9300: selinux updates for cm12 Change-Id: I724a1acb4724ae34e60881da4708f7fbc98080ad i9300: Selinux updates Change-Id: I4e31d24c2eefcfdffa49cf1ee7468498200bb83c
* I9300: Update RIL header to v9 [2/2]Andrew Jiang2014-10-271-3/+112
| | | | Change-Id: I8891182a084c9b05c3203b8bc8aeb1c066f6a60d
* Audio parameter for setting noise suppressionKetut Putu Kumajaya2014-10-101-1/+1
| | | | Change-Id: I1fb529396f7a039bf9843368f4f1b5036c889e82
* i9300: fix noise suppression overlaysNBruderman2014-09-221-3/+1
| | | | | | | The phone app isn't relevant anymore, the overlays were switched to the Telephony overlays, so this change was needed Change-Id: I469a40f3ba023b8b0f356b289dd3e62b5659ff28
* enable torch high brightness settingMarcKe2014-07-151-0/+3
| | | | | | | the standard value for high brightness changed to false. the i9300 supports that feature. so it should be enabled. Change-Id: Ibf67bbff5f7c3f5e9a0277b42206eece48bc5de4
* i9300: enable eject sdcardUnpublished2014-07-121-0/+3
| | | | | | Change-Id: Ic38fca9b0972e2e54b2972c4800e675203e2f04e JIRA: CYAN-4539 Issue: https://jira.cyanogenmod.org/browse/CYAN-4539