summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | selinux: allow to write the firmware files from the recoveryreplicant-6.0-alpha-0004replicant-6.0-alpha-0003Wolfgang Wiedmeyer2016-02-162-0/+8
| | | | | | | | | | | | also add gitignore Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | selinux: allow rild access to sysfs_radio and let system_server open the ↵Wolfgang Wiedmeyer2016-02-166-28/+6
| | | | | | | | | | | | | | | | | | wifi firmware This makes RIL and wifi work with SELinux in enforcing mode also remove rules for the proprietary cbd Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | i9300: allow system_server access to mdnie sysfsSimon Shields2016-02-161-0/+3
| | | | | | | | | | | | needed for any mdnie stuff that ends up in cmhw Change-Id: I6efe58e295cae59f074abc4a1fd64258fb5d8188
* | i9300: move macloader and tinyplay sepolicy up to -common [2/2]Simon Shields2016-02-164-19/+0
| | | | | | | | Change-Id: I874a9f2f6590755e5815e18bcdc5d1e0cdac4523
* | remove more hacks for proprietary RILreplicant-6.0-alpha-0002Wolfgang Wiedmeyer2016-02-052-8/+2
| | | | | | | | | | | | | | libsamsung_symbols and ril-wrapper aren't present anymore, anyway The LD_SHIM_LIBS export of libsamsung-ril is not needed. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | i9300: downclock more aggressivelySimon Shields2016-02-031-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | previously, pegasusq would keep 3 or 4 cores active with static content on the screen tweak the governor's values so that sometimes we get down to 1 core active with screen on, both by increasing the on/off clock speeds/rq sizes of secondary cores, bumping up_threshold and encouraging faster downclocking. Change-Id: I698bec823312cac7b859ed8d5ac303873fddc7bc Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | init.target.rc: remove non-existend libsamsung_symbols.so from LD_SHIM_LIBS, ↵replicant-6.0-alpha-0001Wolfgang Wiedmeyer2016-01-011-10/+2
| | | | | | | | | | | | remove cbd service init Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | i9300: update proprietary filesSimon Shields2015-12-261-2/+3
| | | | | | | | Change-Id: I2386805d1fe134109b983c389ffa4208222c6f5a
* | SetMute functionWolfgang Wiedmeyer2015-12-222-2/+24
| | | | | | | | | | | | allows to mute the mic via the audio-ril-interface Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | remove duplicate brightness settings and silence.wav is now in smdk4412-commonWolfgang Wiedmeyer2015-12-223-118/+0
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | remove everything that is related to the proprietary RILWolfgang Wiedmeyer2015-12-227-665/+1
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Revert "remove WCDMA from radio access family"Wolfgang Wiedmeyer2015-12-221-1/+1
| | | | | | | | | | | | This reverts commit 38df16c4d4b65e607296d944b459e83d572595b1. Paul told me that we actually support WCDMA, so no need to remove it
* | remove WCDMA from radio access familyWolfgang Wiedmeyer2015-12-211-1/+1
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | don't start gps daemon as we don't have a working gpsWolfgang Wiedmeyer2015-12-211-6/+6
| | | | | | | | | | | | only spams the dmesg Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Merge remote-tracking branch 'cyanogen/cm-13.0' into replicant-6.0Wolfgang Wiedmeyer2015-12-215-8/+13
|\ \ | |/
| * i9300: fix bluetooth denialsSimon Shields2015-12-211-0/+1
| | | | | | | | Change-Id: I198c0eafcd6b554c826b3c0814be6955301835e4
| * i9300: libsensors: fix possible overflow while setting delayChristian Balster2015-12-182-7/+7
| | | | | | | | | | | | | | | | Even though we changed the signature of the set_delay() methods, we can still get an overflow while actually writing the values to sysfs. Let's adapt sysfs_value_read() and sysfs_value_write() too. Change-Id: If8eda7204831f0edabec890d4e3127be520fa3bf
| * i9300: enable dlmallocSimon Shields2015-12-181-0/+3
| | | | | | | | Change-Id: I492e1974e0e1a1c0e70467e30190908909b60451
| * i9300: moar selinuxSimon Shields2015-12-181-1/+2
| | | | | | | | Change-Id: I6e059f68f4d1c7ef82762443af14a1230b12b2f6
* | Merge remote-tracking branch 'replicant/replicant-4.2' into replicant-6.0Wolfgang Wiedmeyer2015-12-1727-5408/+2896
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | ril and vibrator do not work Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: cm.mk i9300.mk include/telephony/ril.h init.smdk4x12.rc overlay/frameworks/base/core/res/res/values/config.xml system.prop
| * Audio-RIL-Interface: Keep up with libsrs-clientreplicant-4.2-0004replicant-4.2-0003Paul Kocialkowski2014-08-071-15/+17
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * SMDK4x12 Sensorsreplicant-4.2-0002replicant-4.2-0001Paul Kocialkowski2014-01-0644-0/+7155
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * Audio-RIL-InterfacePaul Kocialkowski2014-01-044-1/+246
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * Samsung-RILPaul Kocialkowski2014-01-045-4074/+7
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * Charger with good-looking graphicsPaul Kocialkowski2014-01-0411-0/+2423
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * Input devices configsPaul Kocialkowski2014-01-046-0/+95
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * Initial Replicant 4.2 commitPaul Kocialkowski2014-01-042-6/+5
| | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
| * i9300: audio: play silence on bootcm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3Daniel Hillenbrand2013-07-253-2/+11
| | | | | | | | | | | | workaround for dead incall audio if no sound got played after boot Change-Id: I1ee26e438cf980afdb618539aa0377453b730abe
* | i9300: remove storage_listSimon Shields2015-12-141-52/+0
| | | | | | | | Change-Id: I75ddc2b53e7bcf9e9cc904d549fb72aa8438a238
* | i9300: set mQANelements through propertySimon Shields2015-12-142-1/+1
| | | | | | | | Change-Id: Iff77015e69e68c87b058d97b04449a508087f33b
* | i9300: clean up radio access familiesSimon Shields2015-12-131-1/+1
| | | | | | | | Change-Id: I7218ef0bf6ff0630bce24f42b95cf3a9e85c20cf
* | i9300: ril-wrapper: fake GET_RADIO_CAPABILITY responseSimon Shields2015-12-131-0/+13
| | | | | | | | | | | | Samsung's RIL doesn't support this, but doesn't error on it either. Change-Id: I5a470c55fecf85183e9c7b4b37aef3b3cbffaf90
* | i9300: bring SamsungExynos4RIL inline with frameworksSimon Shields2015-12-131-2/+28
| | | | | | | | Change-Id: Id4fb54e855c817ce9460e2583168776c6a9ea612
* | 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