summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* i9300: disable ksmSimon Shields2016-03-221-1/+1
| | | | | | | | * this seems to exacerbate certain issues with HW video en/decoding * disable it to see if things improve Change-Id: Ibacc7dc99c217832b56a47a738d57882997d8da0
* i9300: more memory tweaksSimon Shields2016-03-192-1/+17
| | | | | | | | | | some users are seeing OOMs. Enable KSM, bump up zram and be more aggressive about swapping. Some of these values are taken from "Android Memory Tuning": https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1 Change-Id: Id950c473a5de29bb0e1e2f0a1d3602ddb982e663
* i9300: libsensors: use CLOCK_BOOTTIME, not CLOCK_MONOTONICSimon Shields2016-03-131-1/+1
| | | | Change-Id: Ib3d5596e694ff553ed843cc7ff3525c73944ef6c
* libsensors: don't floor accelerometer valueSimon Shields2016-03-071-1/+1
| | | | | | | this is a leftover from t0, here it causes broken autorotate and slow response times on the lockscreen Change-Id: I30d682a65447d7f846d277ca4f9b63315b2ca526
* i9300: enable auto power modesSimon Shields2016-03-061-0/+9
| | | | | | | | | | | | * We don't have a significant motion sensor, so device idle detection will be disabled[1] * Enabling this will allow app standby to be enabled, so there's no harm in doing it. [1]: https://github.com/CyanogenMod/android_frameworks_base/blob/cm-13.0/services/core/java/com/android/server/DeviceIdleController.java#L1435 Change-Id: Ia23a577ed0e6ae344da0836232dd2ed21d8a867d
* i9300: libsensors: fix a couple of poll_delay derpsSimon Shields2016-03-062-13/+3
| | | | Change-Id: I6a6e307588e1d9a0c56895d4dc6a1702066b6059
* i9300: update proprietary-files.txtSimon Shields2016-03-051-1/+0
| | | | Change-Id: I0dd459bbce11d4f1f11194adb9702dbebfce0ed9
* i9300: rewrite libsensors in c++Simon Shields2016-03-0562-6621/+2395
| | | | | | | | * based off t0lte sensors * AkmSensor kanged from i9100 (added sensor status support) * has a working compass! Change-Id: Iaed0463c33089ca0b636be4ba3f966f2e25f34f9
* i9300: power: pegasusq boosting supportSimon Shields2016-03-024-11/+101
| | | | | | implement INTERACTION, LAUNCH_BOOST, and CPU_BOOST hints. Change-Id: Iac8c84ecb910a72a6de4c81a470c9d2d800ff631
* i9300: tweak f2fs configSimon Shields2016-03-021-2/+2
| | | | Change-Id: I48e23ddb012769efce1251716763a5b94e51a5d8
* i9300: lmk configSimon Shields2016-03-021-0/+19
| | | | Change-Id: I5be3949709af51bab502efc7b0a24fb125936165
* i9300: SamsungExynos4RIL: Samsung STK supportPawit Pornkitprasan2016-03-011-0/+18
| | | | Change-Id: I1915332e8d6917dea2f4e71cb4e84564e7ad9556
* libsensors: update sensor flagsDheeraj CVR2016-02-271-5/+5
| | | | Change-Id: Ia57026f4e8f5dd270da7619bc25289fc414bce30
* i9300: refactor processUnsolicited closer to frameworksSimon Shields2016-02-251-11/+18
| | | | | | * easier kanging later on Change-Id: I0217a819187f914e261d4e58d53de3e085b97607
* i9300: kill powerhal logspamSimon Shields2016-02-201-1/+1
| | | | Change-Id: Ie6e9b431ee3f73e799238305676eee5e068b9390
* i9300: don't overwrite powerhal governor settings from initSimon Shields2016-02-201-19/+0
| | | | Change-Id: Id704829e1f65b538e7fd05a599a1159ffe37aeb1
* i9300: initial pegasusq powerhalSimon Shields2016-02-205-0/+574
| | | | | | | | | | | | | | * based off flo * powersave (3 core max/1GHz), balanced (current defaults), and performance (back off on downscaling) * support for separate low power profiles (activated on screen off) PS2: low power + min/max cpu freq support PS3: whitespace fixes PS4: apparently POWER_HINT_LOW_POWER means PROFILES[POWER_SAVE]. Change-Id: I786a9e0e35fcc1dba1510baa13493ecf261bdfcc
* i9300: chown pegasusq cpufreq nodes to system:systemSimon Shields2016-02-201-0/+30
| | | | Change-Id: Iadbeeffcf0db58a0a96f99df596cdb0f32dd589f
* i9300: update proprietary-files and extract-filesSimon Shields2016-02-202-9/+19
| | | | | | extract gps HAL to the expected location Change-Id: I3f391310b416889c8d99107dec53eb276823e5f7
* i9300: fix selinux denialSimon Shields2016-02-181-0/+2
| | | | Change-Id: I3e8a8ca2e35cca22bdd248c1bfe9433f2d8285fb
* i9300: enable f2fs supportSimon Shields2016-02-173-0/+9
| | | | Change-Id: I4405cbf6573e277ac7d2dbcb0014131d9cbbcc9d
* i9300: mqanelements should actually be 4Simon Shields2016-02-151-1/+0
| | | | | | fixes manual network selection Change-Id: I516917a816a202020d41b8621d7ea07464c73f1f
* Move Snap to common treerogersb112016-02-141-2/+1
| | | | Change-Id: I0ffe9a68ebadab7a91866857e1b5dfcf398551ea
* i9300: move macloader and tinyplay sepolicy up to -common [2/2]Simon Shields2016-02-134-19/+0
| | | | Change-Id: I874a9f2f6590755e5815e18bcdc5d1e0cdac4523
* i9300: allow system_server access to mdnie sysfsSimon Shields2016-02-111-0/+3
| | | | | | needed for any mdnie stuff that ends up in cmhw Change-Id: I6efe58e295cae59f074abc4a1fd64258fb5d8188
* i9300: downclock more aggressivelySimon Shields2016-02-021-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
* Revert "i9300: add lmk config"Simon Shields2016-02-011-9/+0
| | | | | | | | * this did not seem to work as well as I'd hoped. This reverts commit dc7601b1fcf97f847e0316b8cac3d886aefcae14. Change-Id: I3041187d8b3aaee46bd09eaa2a9082cf56635b7b
* i9300: add lmk configkeepcalm4442016-01-291-0/+9
| | | | Change-Id: I8736cb90544f5dc5b28ac2a166e99f85ad2eaf04
* i9300: join the snap partySimon Shields2016-01-141-1/+2
| | | | Change-Id: Id397b5a07a3239e87f8be41868401c9f5c788e36
* i9300: ensure we don't build opensource sensorsSimon Shields2015-12-232-1/+5
| | | | | | | currently the compass seems to be really broken, so we'll use the proprietary ones for now Change-Id: I195e0765da7789d38940835d9e8c6eff4e09a900
* i9300: update proprietary filesSimon Shields2015-12-231-2/+3
| | | | Change-Id: I2386805d1fe134109b983c389ffa4208222c6f5a
* i9300: use synchronous setsurfaceSimon Shields2015-12-231-0/+3
| | | | Change-Id: I715cbce3f4387bb557a9ddd2ec23deebc1b1d7ec
* 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
* 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