summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* oneplus2: Drop net_raw permissions from per_mgrHEADq10.0p9.0Bindu Gokul2019-04-131-1/+1
| | | | | | | Peripheral manager hosts a QMI service. It no longer needs net_raw permissions but does require CAP_NET_BIND instead. Change-Id: Ia0d6a893e1c32c1fe7225b7f59d225acfea4cc61
* oneplus2: Bump up the priority of peripheral managerAmeya Thakur2019-04-131-0/+1
| | | | | | | Peripheral manager is used to boot up the subsystems. Bumping up it's priority so that they come up faster. Change-Id: I97c55fd35f0f8311f93b02248bec2814012050db
* oneplus2: Import stock libOpenCLWang Han2019-04-131-1/+3
| | | | | | * Appears to be used by camera libs for eztune feature. Change-Id: I58ff4872a908711ec763eddf2fc34c19effc1360
* oneplus2: sepolicy: Add sepolicy changes for Eztune librarySuman Mukherjee2019-04-131-0/+5
| | | | | | | Eztune library needs permission for socket create/bind. Added the necessary permission to avoid the camera failure. Change-Id: I0458e5408ac7d295efc424eaf43593e7cfe4afbc
* oneplus2: Use default swappiness valueWang Han2019-04-134-4/+0
| | | | | | | * ZRAM comes to full quickly if we use 100. Keep the stock value of 60. Also remove related sepolicy. Change-Id: I845a72ee3a31cd415909d300a1ebd66e1abae046
* oneplus2: Bluetooth: Increase number of SEPs to support SHO/McastUmesh Vats2019-04-131-0/+3
| | | | | | Icreased number of SEPs to support SHO/Mcast Change-Id: I3cfb4e8d4d6969e442406bd095a865d49947151d
* oneplus2: bluetooth: Increase MAX ACL connections to 16Satish kumar sugasi2019-04-131-1/+1
| | | | | | This allows 16 ACL links instead of 7 Change-Id: I7bf04515b5822c51be73ec95cba7975e046bca23
* oneplus2: Remove unused camera firmwareBruno Martins2019-04-131-5/+0
| | | | | | * MSM8994 targets load CPP firmware v1.8.0 Change-Id: I4bd60ce99d30c8ab920d5f00ca8cd6ffd2e43197
* oneplus2: PIN critical apps and system services that get swappedJorim Jaggi2019-04-131-0/+4
| | | | | | | | | | | | | | | | | | | | Pin critical system apps that always need to be responsive, no mattter what: - SystemUI for expanding the notification shade/navigation bar - SF: Doesn't need introduction, but still gets zram'ed in certain cases: Total memory impact: About 5-6 MB (since regularly not all code is loaded) Test: Flash device with CL and make sure actions like expanding notification shade isn't as janky under memory pressure anymore Bug: 111132016 [aviraxp]: Original code pins the pre-odexed file of SytemUI, but we do not dexpreopt priv-apps. So pin the SystemUI apk as well just as what it is for camera pinning. Change-Id: I3bc93204147502bec2e983f7ee37555294db308c
* oneplus2: sepolicy: Don't label persist partitionWang Han2019-04-091-1/+0
| | | | | | * Globally labeled. Change-Id: I8ffbb9ac0a8a71c1229013787ac2fe00d1827d86
* oneplus2: fix dependenciesShubh@m2019-04-061-2/+2
| | | | | Change-Id: I10ec634dfa03f0a258c24a1ade335b0a1c396646 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: fix dependenciesShubh@m2019-03-311-9/+11
| | | | | Change-Id: I551fd075fcb0db2467809f8222775bea5c122621 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: Rewrite sepolicy for PWang Han2019-03-2833-92/+53
| | | | | | | | | | | | * Remove duplicated rules * Use macros where possible * Reorder items * Add some comments * Add some dontaudits * Add missing new line characters Change-Id: I57ab3d38c13951ba743a82af4e626d2c9849e562 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: sepolicy: cleanupShubh@m2019-03-281-3/+1
| | | | | Change-Id: I503c600e92eb8ff89392822c6e7e5bf79e1189e7 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: sepolicy: Remove obsolete graphics nodes labelWang Han2019-03-281-4/+0
| | | | | | * They should stay in sepolicy-legacy and lineage sepolicy. Change-Id: I38abce4c1427eed47844185480346f1a42c9c2c6
* oneplus2: Clean up obsolete sepolicyWang Han2019-03-285-6/+5
| | | | | | | * Avoid conflicts with legacy sepolicy. Change-Id: I31a7e213117d5d08171629519a6137e7f9eebf8a Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* Revert "oneplus2: sepolicy: Allow cas HAL to use vndbinder"Wang Han2019-03-281-2/+0
| | | | | | | | * android_system_sepolicy/vendor/hal_cas_default.te This reverts commit 7ec476d0f33be78c3d1498f87929d7dcda15d2b7. Change-Id: I4ed47bc01d4b136cf0b26928712c2770104e6a1e
* oneplus2: Remove init sepolicyWang Han2019-03-281-9/+0
| | | | | | | * Globally addressed. Change-Id: Ia82da67ddff9ff84a99eddf828dd6f11c2e03d84 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: Enable AODLuca Stefani2019-03-281-0/+17
| | | | | | | * But disable it by default Change-Id: Ie85e49e38503dc531f262138d8bed465632a41c0 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: sepolicy: Remove display_misc_file rulesWang Han2019-03-285-9/+0
| | | | | | * Labeled in common sepolicy now. Change-Id: I4a304c58bd029ecf170cd7bcbd50e45d661c7478
* oneplus2: update dependenciesShubh@m2019-03-251-2/+7
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Iebf384e568d1189918483329acb96fa01dbdc019
* oneplus2: fix screen flickeringShubh@m2019-03-241-0/+2
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Ic6f729602b98ab17c1da81d8065ebf2a5cf2455c
* oneplus2: how can I misspell my own name -_-Shubh@m2019-03-051-1/+1
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Iac08d74ad6df046214c2a9a5a7174f8ffabc9266
* oneplus2: fix double tap to wakeShubh@m2019-03-051-1/+1
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: I7c1c8455f432d87ac2462eacfdeea840a40b092f
* oneplus2: ready for official builds :DShubh@m2019-03-052-1/+8
| | | | | | | | PS2: cleaned whitespace PS3: some more Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Idd5d68d0e966a3a5c7b1670f8b847df539bd20bb
* oneplus2: cleanupShubh@m2019-03-036-31/+5
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Iffd6670863d41d7672873435162b53ea11248f14
* oneplus2: Dependencies: Track TheMuppets vendorShubh@m2019-02-181-1/+6
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: Ie211703802a31c773980045afde53d869c294c97
* oneplus2: fix dependenciesShubh@m2019-02-181-2/+2
| | | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com> Change-Id: I7b155785738c11b9d2dc7db48a2b766f29d09176
* oneplus2: switch to elementanx governorShubh@m2019-02-181-24/+6
| | | | Change-Id: I1558ac61d20bce49887093030e20498da026705e
* oneplus2: Use custom swipe up gestureAlex Cruz2019-02-181-0/+4
| | | | | Change-Id: Ie842ed8b14db6e00f7daa7eb1892c417bfa0b725 Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2 : drop lineagehwShubh@m2019-02-182-151/+0
| | | | Change-Id: I62988f1675b2c898e09d605a612e4edcf1045286
* oneplus2: aicp-fyShubh@m2019-02-183-3/+3
| | | | Signed-off-by: Shubh@m <shubhindia123@gmail.com>
* oneplus2: Build Trust HALJoey2019-02-132-0/+13
| | | | | Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df Signed-off-by: Joey <joey@lineageos.org>
* oneplus2: Wait for MPCTL to start on bootdianlujitao2019-02-131-0/+3
| | | | Change-Id: Ib79b48e1d362872d9d97373d5ca2ad42f7fbc638
* Revert "oneplus2: Start perfd normally"Han Wang2019-02-131-0/+2
| | | | | | | | * Fixed in lineage-sdk. This reverts commit 68584e25869d1875d64be756a2abc89b8390b667. Change-Id: I66a49498d4b1897081c45dc1f02fc34765ddf51f
* oneplus2: Force Android background tasks on A53sRiley Andrews2019-02-132-0/+4
| | | | | | | | | | Set sched_upmigrate_min_nice to 9, instead of the default 15. The "background" priority level in android is nice 10, so this setting will prevent these processes from up-migrating. Bug 21705272 Change-Id: Ifa99f3876c7aa8c2483f0dc3657133911f9ada81
* oneplus2: Disable ANT+ for nowLuK13372019-02-132-10/+0
| | | | | | * Theoretically I may revisit it soon (TM) Change-Id: I9895ef8e10b2e75a4cd4f3a61255eacfb60daa13
* oneplus2: Remove camera.device@3.2-impl from PRODUCT_PACKAGESLuK13372019-02-121-1/+0
| | | | | | | * camera.device@3.2-impl is a dependency of camera provider therefore there's no need to add it to PRODUCT_PACKAGES. Change-Id: I3ae211965a31b5f85af3dd0fa1c7811b802586c3
* oneplus2: IMS: Show SRVCC Toast for some carriersZhao Fan2019-02-111-0/+3
| | | | | Change-Id: I053a7fb9d54b97fc86c138f8a2387b1b05be7eac CRs-Fixed: 2374518
* oneplus2: Restart cameraserver after boot completedWang Han2019-02-101-0/+1
| | | | | | | | | | | | | | | For some reason front camera gets magically broken since mid-November, and this is a workaround. The real problem is in somewhere framework side. E CamDev@1.0-impl: Could not open camera 1: -1 E CamDev@1.0-impl: getHidlStatus: unknown HAL status code -1 E CameraHardwareInterface: initialize: openSession failed! Function not implemented (-38) E CameraFlashlight: connectCameraDevice: initializing camera 1 failed I CameraHardwareInterface: Destroying camera 1 E CameraFlashlight: findFlashUnits: failed to check if camera 1 has a flash unit. Function not implemented (-38) Change-Id: If3ba1dce6e8ee2ee54f23fd5f99393d309692ede
* oneplus2: overlay: Update fingerprint dot locationMichael W2019-02-101-1/+4
| | | | Change-Id: I710c62f33038c449386864453fd16a2f41153b46
* oneplus2: Build livedisplay 2.0 servicePaul Keith2019-02-042-3/+3
| | | | Change-Id: Ia96dfe341d07c9f79b1ab5bd19af0e32bee4b4ed
* oneplus2: Remove display calibration supportWang Han2019-02-042-19/+0
| | | | | | | * Makes mm-pp-daemon crash when using livedisplay@2.0, also the modes are actually ugly. Change-Id: Ide95cf42bc10870b2760c75e95245115c6c79f69
* oneplus2: sepolicy: label display.qservice as vndserviceVladimir Oltean2019-01-293-2/+3
| | | | | | | | | | | | | | | * This works against "fff950dd legacy: Correctly label display.qservice" which labels display.qservice as a system service, and partially reverts "7a87faa3 sepolicy: allow msm8994 hwcomposer to run properly as binderized" which added access rules to display.qservice when it had the default label. * Neither labeling as service or as vndservice is "correct" as it is not a matter of correctness, but of whether the hwcomposer HAL is in passthrough mode (hence display.qservice is a service) or in binderized mode (hence display.qservice is a vndservice). Our device falls in the latter category. Change-Id: Ice02b47aad352c63e197843031900e132de56e45 Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
* oneplus2: sepolicy: Move bw_hwmon policy to genfs_contextsWang Han2019-01-272-1/+1
| | | | | | * Maybe this will get it labeled? Change-Id: Iba4b264bf56ab1fc0626d06295ee99b00006c823
* oneplus2: Add new board-info.txt for assertionWang Han2019-01-242-0/+4
| | | | | | * OOS 3.5, but advertise as 3.6.0 to be sure. Change-Id: I019d92a1b0690c66d0bd82d5b26c1ffb707f661d
* oneplus2: releasetools: Make modem check more user friendlycodeworkx2019-01-241-4/+5
| | | | Change-Id: Ib334abf1d53ba889d1b4f746657336fae2d47db2
* oneplus2: Convert to baseband version assertionWang Han2019-01-242-38/+35
| | | | | | * Based on old code. Change-Id: I85293d01bc560b4541ddfaaddb011c3684c632c1
* oneplus2: Fix build of librecovery_updater_oneplus2LuK13372019-01-242-5/+4
| | | | | | * Remove unnecessary logging Change-Id: I308fca4987b049266ebaae04de8b3e0efbf836ba
* oneplus2: releasetools: Split up getting android-info.txtTim Schumacher2019-01-241-5/+5
| | | | | | | | | | | | input_zip does not exist when generating an incremental OTA, which results in an error when it tries to package one. The correct replacement for that would be target_zip. Split up the process of getting the device-specific information by passing corresponding zip as a parameter to AddModemAssertion() Change-Id: Ib246658f71d9f30a0aa34e902a400ef108a3ed1f