aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* onyx: Update userdata partition sizeHEADn7.1Ashwin Ramesh2017-11-221-1/+1
| | | | | | | * Add 16kb padding for encryption key. * Encryption now works! Change-Id: I6e3b1a2732383776df96a8461f693df6a179e904
* onyx: Grant rmt_storage proper unix permsBruno Martins2017-11-072-1/+1
| | | | | | | | | | | | | Do not grant DAC override permission which would allow this daemon unix permissions to everything. avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0 Add wakelock group to access: /sys/power/wake_lock -rw-rw---- 1 radio wakelock 4096 2017-06-28 00:37 wake_unlock Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
* onyx: Remove loc_api that depends on QCPATHMichael Bestas2017-11-0719-30375/+7
| | | | | | * Also cleanup the makefiles while we are at it Change-Id: I8799ca9e0f9e0a3952997a21d6d4d1619aad86fa
* onyx: audio: update acdb id of SND_DEVICE_IN_SPEAKER_MICCheckYourScreen2017-11-071-0/+1
| | | | | | | | | * oneplus isnt using default qcom acdb id for in speaker mic in their opensourced audio hal so follow in their footsteps. BUGBASH-731 Change-Id: I0dfa4fc6162f714d540f1c8b8261dfdba2b4314d Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: audio: update backendsCheckYourScreen2017-11-071-2/+3
| | | | | | | | | | | * default backends of IN_HDMI_MIC and IN_HANDSET_MIC by qualcomm are defined for single mic devices which breaks secondary mic for noise cancellation on dual mic devices like onyx while recording audio on apps like whatsapp, telegram etc. * sync backends with what oneplus is trying to use in their audio hal, they are using custom device names with dual mic config backends for recording purpose so switch backends to support their dual mic functionality * fixes mic issues. BUGBASH-731 Change-Id: I365dacf2ab9060a0e87b8fbd6af379f4cf82fb6a Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: overlay: Disable SIM batch operationsGabriele M2017-11-071-0/+2
| | | | | | | | | | This feature appears to be unsupported, so disable it to allow importing SIM contacts. Exporting contacts is not possible at the moment without batch support. BUGBASH-382 Change-Id: I9477597876160dffa2b686d9376c623ddc0a9962
* onyx: Fix bluetooth mac generationAshwin Ramesh2017-11-072-1/+3
| | | | | | | | | * Requires hci_qcomm_init from bacon which was accidentally replaced by onyx's * Also fix a denial for hci_qcomm_init BUGBASH-874 Change-Id: I32c48d755d8dff5ed4692532aa4e0c3f859569a8
* onyx: Add update-sha1sums.shAshwin Ramesh2017-11-071-0/+39
| | | | Change-Id: I3e0e2806770551cde06f53f25f10884c45fa64c5
* onyx: Switch to triple framebuffersAshwin Ramesh2017-07-151-0/+1
| | | | Change-Id: Ibbbdf51ba2ac00e42bd8228142265e9b91769cc7
* onyx: Remove ril-daemon service declarationAshwin Ramesh2017-07-151-10/+3
| | | | | | | * We use OSS rild and the service is declared in /system/etc/init * Bring ril-daemon1 service inline with CAF Change-Id: I12120f0acb6cc60997c6b15cd66f741dab647bc8
* onyx: Add 'misc' entry in fstab.qcompadarshr2017-07-151-0/+1
| | | | | | | | | This change is to add misc partition entry in fstab.qcom. This is used by uncrypt module to write into this partition, which is then read by recovery mode to perform appropriate action. Change-Id: I4d9b681832f00ea835261dc5c0015d1463e7511f
* onyx: QCamera2: Move decleration of Camera ParametersAshwin Ramesh2017-07-153-25/+8
| | | | | | | | * These parameters are required for camera to work in nougat. * Since our camera HAL is OSS this can be moved into the HAL instead of an extra header. * KEY_APP_MASK[] isn't required anymore. Change-Id: I2ff9de7c6cc7b3725c7ee04f63375c2e58fbd28a
* BACKPORT: QCamera2: Adding missed media extenisons changesSuman Mukherjee2017-07-151-19/+8
| | | | | | | | | Adding the missing changes of media extension in the videomemory deallocate call. [ashwin] : Adapt for msm8x74 camera HAL Change-Id: I8f5c4de98898743c2706e68a99eaecba1b147ea5
* onyx: cmhw: Add support for Swipe gesturesAshwin Ramesh2017-07-153-2/+22
| | | | Change-Id: I5cf5887f84d723b24c32b08299ac6733cf249776
* onyx: Remove deprecated BT propsLuca Stefani2017-07-151-7/+0
| | | | Change-Id: I7543cb0272039612d2959333610973c81ab68fa6
* onyx: Cleanup init.qcom.bt.shMichael Bestas2017-07-153-250/+17
| | | | | | | | * Remove bluez support * Set properties in system.prop * Bring closer to AOSP devices' script Change-Id: I6eeb69487b02070a84bc2958fb8a939a684ab915
* onyx: ril: Update Request numbersAshwin Ramesh2017-07-151-46/+66
| | | | | | | | * Update the request numbers to match the internal requests. * Values are taken from OnePlusOSS. * Safely move the new requests so that they do not interfere with the older OnePlus request. Change-Id: I02787fadf7f1da6e6971a4316d42685e28bff116
* onyx: Set INITIAL_COPYRIGHT_YEARAshwin Ramesh2017-07-151-0/+2
| | | | Change-Id: If51159aa2659313a6698f5428dbdcf058857029b
* onyx: vendor: Don't include deprecated makefileAshwin Ramesh2017-07-151-3/+0
| | | | Change-Id: I04d5f4ba42f6c64f0df8429ecbf5fd0855541740
* onyx: Update DRM blob listingAshwin Ramesh2017-07-151-10/+6
| | | | | | * widevine blobs from kipper TOS125B Change-Id: Id45d87ae248fba823fe53a3d2495449589c7e296
* onyx: Abandon TARGET_UNIFIED_DEVICE flagBruno Martins2017-07-152-5/+4
| | | | | | * Override the unified properties using vendor init Change-Id: I41a63728e809f68f5575236b05a726778258fb6a
* onyx: Allow vendor init to override propsMichael Bestas2017-07-151-0/+13
| | | | Change-Id: I788d46edc47c75b015f581ed7a60755d829b942a
* onyx: update offload propertyCheckYourScreen2017-06-201-1/+1
| | | | | | | | * av.offload.enable/audio.offload.video av.offload.enable on L is now called audio.offload.video on M+ Change-Id: Idfc890d00816a9c95cf56747ab6edf599b404ebf Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: gps: use HTTPS for XTRA SERVERsCheckYourScreen2017-06-201-3/+3
| | | | | Change-Id: I8607b25bd6bf3633de224c12964ad11837b09f49 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: Clean up GPS configSultanxda2017-06-201-1/+1
| | | | | | | | | | | | | *If MSA and MSB are enabled, then only MSB will be used *SUPL host and port are supl.google.com and 7275 by default, respectively *Default SUPL mode is MSB, so we don't need to override it here Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com> Conflicts: gps/gps.conf Change-Id: I1410c5a2d2138edd721fa0cdc5eb60ac734bc271
* onyx: disable Fast DormancyCheckYourScreen2017-06-201-0/+3
| | | | | | | * Reduces battery drain. Change-Id: Iff8e2b57279a55b0b7b94e007d5b179f9bb26b53 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: Set SSR restart level to "related" for venusCheckYourScreen2017-06-201-1/+3
| | | | | | | | Don't reset the entire SoC when venus crashes. Also, subsys2 corresponds to wcnss and subsys3 corresponds to venus. Change-Id: I8dfea437e8a44567856d32e9f15c4407e3ebf239 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: inherit custom optimized hwui memory valuesCheckYourScreen2017-06-202-1/+31
| | | | | | | | * opens up way for further planned improvements * increased large cache height to 2048. Change-Id: I1aacbf50b58a2f47e5edac5bc69104f1d4b77134 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: Enable SVELTE to fix Wifi-Mobile Data issueCheckYourScreen2017-06-201-0/+3
| | | | | | | | * fixes Wifi-Mobile Data Toggle issue which appears due to unexpected libc crash by passing an unallocated memory address. * Krait memcpy_base optimizations are responsible for that low memory issue which can either be fixed by enabling SVELTE or by switching to cortex-A15 optimizations instead of Krait, In this case its better to go for SVELTE instead of completely disabling Krait optimizations. Change-Id: Icd28ad9f39bcc79f7e651ee3f8cf6d2cc9869fde Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* Revert "overlay: enable proximity check on wake"Subhrajyoti Sen2017-06-151-5/+0
| | | | | | This reverts commit 30d687c5318c45e9c5ceb540c17d6087b04c569b. Change-Id: I99533a685bb7331bf3efd2b206e87bc2dddf847a
* onyx: kill GelloSubhrajyoti Sen2017-06-141-3/+0
| | | | Change-Id: Id08e6794a6696059782ff3455dc691dbb74b994f
* onyx: inherit device specific custom dalvik heap propsCheckYourScreen2017-06-142-1/+12
| | | | | | | | | | * Some roms are having different values for these props, since tree is inheriting them from rom source it might screw up on those which have inappropriate values. Include the best values suitable for the device within the tree itself to overccome such issue. * Increase the heapminfree size from default 512k to 2m to decrease app launch latencies Change-Id: Iba167fdeda15b4b26082fa0bc0a44bba7ba40f79 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: init: mount debugfsCheckYourScreen2017-06-141-0/+2
| | | | | | | * debugfs is enabled but isnt being mounted by any of the inits leaving it unused and breaking some debug apps like wakelock detector, mount it at early init stage to make the most out of it. Change-Id: I0300eb15531a9cbdcaebe96f58ae60ad50f333a9 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: BC: cleanup unwanted propsCheckYourScreen2017-06-141-6/+1
| | | | | | | * house cleaning... Change-Id: Id5875e21b0c8a84d2cb8452ee8ddcefdb1357e1c Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: use triple framebuffers instead of vsync offsetsCheckYourScreen2017-06-141-2/+1
| | | | | Change-Id: Ic6475807721c6bf389f21d0865edc32d57d32012 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* onyx: symlink wakeup sources path to /d/wakeup_sourcesCheckYourScreen2017-06-141-0/+1
| | | | | Change-Id: I84681ce1c2f61a86a4b9b40955451ff50f58d106 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* overlay: enable proximity check on wakeCheckYourScreen2017-06-141-0/+5
| | | | | Change-Id: I18019b005847a7f2ae5b4cea6a17bafb4638e5a6 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* sepolicy: address more untrusted_app denialsCheckYourScreen2017-06-141-0/+1
| | | | | Change-Id: I406e8b6648d90ed8bbb0a1b48d1f94c0d5129f03 Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* sepolicy: address untrusted_app denialsCheckYourScreen2017-06-141-0/+3
| | | | | Change-Id: Id8af1bef35038e9cd3d64129e876648f629aa24f Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
* BACKPORT: QCamera2: Changes to release video duped FD's.Suman Mukherjee2017-03-153-4/+49
| | | | | | | | | | | | | | Issue: Android camera framework expects camera HAL modules to release video duped FD's. Framework can trigger this event after stopRecording() call. Fix: Change to avoid state machine check to release video FD's. [ashwin] : Adapt for msm8x74 camera HAL CRs-Fixed: 1077211 Change-Id: I6dcc31b335679e4885f56ae1e4e02ee33d193b08
* Revert "onyx: temporarily use qcom binaries fork to fix nightlies"Subhrajyoti Sen2017-03-151-5/+0
| | | | | | This reverts commit 7641cfe5e9af3b66e2bb17321c69181ea65bbbf8. Change-Id: I423bfdcb0ed5538d1c241deedd06beeaab7d41dc
* gps: use getCarrierCapabilities without ContextBaseSubhrajyoti Sen2017-03-091-1/+1
| | | | Change-Id: Icba841f61cf584a1ad2503b93417781e454efb2d
* onyx: temporarily use qcom binaries fork to fix nightliesSubhrajyoti Sen2017-03-081-0/+5
| | | | Change-Id: I92576f557e4ce42e710ae2be7fb402e2202b2434
* Merge "onyx: Add adreno blobs" into n7.1Davor Bertovic2017-03-041-0/+21
|\
| * onyx: Add adreno blobsAshwin Ramesh2017-03-041-0/+21
| | | | | | | | Change-Id: I8bb3d59e9b954497a05882ce89ecea06cf8de9e1
* | Merge changes I34c9c919,I77a51dee,I13c7b0e2 into n7.1Davor Bertovic2017-03-0318-8609/+93
|\| | | | | | | | | | | | | * changes: onyx: Switch to ham perf blobs onyx: ril: Nuke local fork of libril onyx: remove vendor_qcom_binaries deps
| * onyx: Switch to ham perf blobsAshwin Ramesh2017-03-031-3/+3
| | | | | | | | Change-Id: I34c9c919db0195fc6f3b0b3140c067253a3be6ab
| * onyx: ril: Nuke local fork of librilAshwin Ramesh2017-03-0316-8601/+90
| | | | | | | | | | | | | | | | * We can now use ril-caf. * Maintaining a seperate version of libril isn't a very good idea. * Use a header to get stuff loading. Change-Id: I77a51dee422be3ab0e2f30e92a01578605731256
| * onyx: remove vendor_qcom_binaries depsSubhrajyoti Sen2017-03-031-5/+0
| | | | | | | | Change-Id: I13c7b0e2e8474451c8965a5592f808843600c15f
* | Merge "onyx: Address rmt_storage denial" into n7.1Davor Bertovic2017-03-011-0/+1
|\|