summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-07Shinano-common: init: Rework credmgr init scriptnailyk-fr
* Next to the AIDs remove credmgrd init script need some reworks. Root perm at startup is needed for chmod/chown. Change-Id: I9373820c8d0d2fc68e25d671ffbf638fead75316
2019-10-07shinano-common: init: Get rid of oem usersnailyk-fr
* Camera can work without sony specific users. Remove them. Change-Id: Idb359fa33532c1fa2b8f042362bb027f76ec31e4
2019-10-07shinano-common: init: Rework users for mediaservernailyk-fr
Change-Id: Ie2ed042cfc5e97a71e0485fc048580b9f04cf694
2019-10-07shinano: use libsensor shims for cameraMax Weffers
Change-Id: Iee2115a8143b501f0cf265a650351c291e8006f2
2019-10-07shianno-common: usb: rootdir: Enable FunctionFSLuK1337
Change-Id: I12ff6e794e6993940284e6dfb48b718c40fdd3b1
2019-10-07shinano: Add Timekeep.Alexander Diewald
Adds the init lines required to launch timekeep. They will be moved to msm8974-common in future along with other qcom/msm8974-specific init statements. Change-Id: If21402553dbeaf77e40885dae58e9f376fe85798 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano: Import changes for oreo driver and new fm repoMax Weffers
Change-Id: Ib587c34352d86550253e3f9f49c7a3ed7c25ff78
2019-10-07shinano: Add shims for camera startMax Weffers
Change-Id: I1fee8c6ff28e2011d85cc6fa18c01560af12c8dc
2019-10-07SEPolicy: Add ioctl whitelist for UIM.Alexander Diewald
Adds a list of ioctls, which are emitted by the UIM service. This service setups the broadcom BT/FM driver. Change-Id: Ib37674796a5e2d677a4bb3f596110f906f290b74 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07Fix mm-qcam missing symbolnailyk-fr
Change-Id: I2d8304da9ca128e59df8e324330842ad46638e04
2019-10-07shinano-common: init: Change idd pathnailyk-fr
Change-Id: Ifa282ce22563f513cbd632084346e6f6bd2af059
2019-10-07shinano: Import hci attach.teMax Weffers
Change-Id: Ie6d0fdba3a2c06e5d2852a41c0c84ca1f65f7b07
2019-10-07shinano-common: init: Use obscur oreo UID/GID 2/2nailyk-fr
* Correct some sed mistakes. Change-Id: I9f08615c0e622740fdc7ab80b25855dc03c87a74
2019-10-07shinano-common: sepolicy: Remove ioctl refsnailyk-fr
* A new way exist for ioctl management. Remove all old refs. Change-Id: I52f9c0e8f115ea26e22a93566c24cbd8a7b3a58f
2019-10-07shinano-common: init: Replace on post-fsklemmm
* Init class on post-fs has been deprecated. Use on post-fs-data instead. * Don't create /cache/credmgr.log (it prevented initcredmgr from starting) Change-Id: Icf275a51de665cfeb28e9f860a64a38bf4226b6a
2019-10-07shinano-common: init: Use obscur oreo UID/GIDnailyk-fr
* With oreo all the AIDs process change. According to https://source.android.com/devices/tech/config/filesystem#using-an-oem-specific-aid user firendly names cannot be used anymore. Use oem_<uid> name instead. See msm8974-common related change for reference. Change-Id: I18294c5ba716a6c2ba038b9f624f5ae65f799e1f
2019-10-07shinano-common: force to load nfc_nci.pn54x.default instead of nfc_nci.defaultMax Weffers
Change-Id: I55ac94b9b9c0319cfa5dceeab8580472aee2534e
2019-10-07shinano-common: Add missing BT permissionMax Weffers
Change-Id: I01cd402147cf099344761217ddc51957c78a1e06
2019-10-07shinano-common: fix missing Bluetooth-Labels in ueventdMax Weffers
Change-Id: I4c1d6b7201a09561240f193daab23e4ba8d39e8a
2019-10-07shinano-common: Set ro.rfkilldisabled = 1 for bluetoothMax Weffers
Change-Id: I5ac186378f9009fde1be1b9db6f2d4e35a0a2798
2019-10-07shinano: rootdir: init: set wifi user for bcmdhd firmware pathMax Weffers
Change-Id: I4382b2e151cfa98a75a4be60c71d19a01145dc79
2019-10-07Revert "shinano-common: build: Our kernel is missing CLOCK_BOOTTIME_ALARM ↵Arian
(alarmtimer)" This reverts commit d9806a58d08ec872d814e451d7f87db14c252ee2.
2019-10-07shinano-common: init: Add system group to netmgrd processAbhinav Kannan
To allow netmgrd to acquire wakelocks correctly we need to ensure that it belongs to system group Bug: 24546055 Change-Id: I6231c7d1eb57a12da9be4f081e085e6f1d43b797
2019-10-07shinano: sepolicy: remove vibration dev typeMax Weffers
Change-Id: I413e7dc177b0f47742c9ac4ab032cc61a490d573
2019-10-07shinano-common: Replace QCOM group identifiers with oem_XXXXintervigilium
* config.fs doesn't give the ability to add AIDs to Android init such that they can can actually be used in init scripts. * Replace instances of qcom_diag, rfs, rfs_shared with the appropriate IDs (2950, 3012, 3013) Change-Id: Ided896c4ee051a9bc19fd61ae6e03624f2d54cf3
2019-10-07shinano-common: rootdir: replace net_bt_admin and net_bt_stack group with ↵Arian
bluetooth group
2019-10-07shinano: init: rename charger service pathMax Weffers
Change-Id: Ie7c0ecaf48622c8d0bd47591d819e608c7d40fb8
2019-10-07shinano: bluetooth: add the libbt-vendor packageMax Weffers
Change-Id: I7360723cd0b47b4bebf380f8e668141442e41c0f
2019-10-07shinano: init: Add libbase as LOCAL_STATIC_LIBRARIEMax Weffers
Change-Id: Iff005484769df6cf8d5618c2149396c409ca53e9
2019-10-07shinano: codec: disable media_codecs_ffmpegMax Weffers
Change-Id: If346e75fcfeb857c06c1756fdaf610383d6c85dc
2019-10-07shinano: move wpa supplicant paths to vendor/bin/hwtomascus
Change-Id: Iab1ab0ba085d3eb59f50d97079531ab77bf58ad2
2019-10-07shinano: disable ANT+ for nowtomascus
Change-Id: I20806ab335a62b5b76c74d5dd0e9abb5d025fb47
2019-10-07sony-common: update debugfs mount as AOSPDavid
https://android.googlesource.com/platform/system/core/+/android-6.0.1_r68/rootdir/init.rc#21 why this .... Debugfs exists as a simple way for kernel developers to make information available to user space also it is not enabled in android-6.0.1_r66 tag and not more in N but for development purposes it is needed here ..... Change-Id: Ic332aeb073edd09b38de756e89b2d98582bc5c79 Signed-off-by: David Viteri <davidteri91@gmail.com> Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: move common sepolicy to msm8974-commonNikhil Punathil
Change-Id: I270a673ac8c13dd192799e2513ec377919653458 Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: move some more common shims to msm8974-commonNikhil Punathil
Change-Id: I7fc609323254b5e164440444293fa4f23aad929b Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: Move common shims to msm8974-commonNikhil Punathil
Change-Id: Id79c5db191011fbb93a5ad6c4a9b58653bf79ba2 Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07shinano-common: Import media_profiles.xml from commonOndrej Hlavac
Change-Id: Icb72a78ce2f8b39d39ffad1ee5409247d997636b Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2019-10-07Revert "shinano-common: add fork of ril.h header"tomascus
This reverts commit f68fc0243cd00c1152ee34f64bb23eef0d8250cf.
2019-10-07Revert "Use RIL_SignalStrength_v10 matching to Sony's Kitakami RIL"Arian
This reverts commit a631e3d6c6eb59bb7ad299f1562fcbb06e62153b.
2019-10-07shinano-common: sepolicy: Allow credmgrd to create files in cacheArian
2019-10-07shinano-common: Drop sudaemon sepolicyArian
2019-10-07Revert "shinano-common: re-enable blur"Arian
This reverts commit 5da2957004f70e8a9625037ceef4f95def6b79fa.
2019-10-07shinano-common: audio: update policy configuration to fix vts failureDhananjay Kumar
Update default audio_policy_configuration.xml to remove configurations that are not compatible with aosp system image and are causing vts failures. Original Change-Id: Iae1f4c72090ef5a0c6472083dce8b0065beb6851 Change-Id: If1b6274a815dbd9b5a9a7dfdbf3fd8043df91446
2019-10-07shinano-common: Enable custom audio policyDan Pasanen
Change-Id: I4689b6ae2b2e297e1baa11c6f824cffb4a321ce4
2019-10-07shinano-common: Use XML audio policy configuration fileBruno Martins
* Switch to audio_policy_configuration.xml instead of using the legacy audio_policy.conf. Change-Id: Ia93e30428ff9e27ae409e685a84fa5a8e406bca0
2019-08-20shinano-common: Move audio configs to vendorMax Weffers
Change-Id: I8bd31d203972d50eb72a550be85000a23cca41a0
2019-08-20shinano-common: audio: Enable more compress offload sampling ratesMax Weffers
Change-Id: I083a418219c7d461d42b451c1f6a6503e0f5ccc4
2019-08-20shinano-common: Commonize audio policy againArian
2017-09-27Squashed revert of audio commonization commits.Chirayu Desai
Audio is not common across devices. While Some commits here may have merit, they can be applied individually to devices as needed. Revert "shinano: Address audio issues with mixer_paths" This reverts commit 43bf32dfe9300bd31ffd85a9a9627db195c4e9c1. Revert "shinano: Change mixer_paths BT rate strings" This reverts commit 67a8e4fbfaf0f4b5407b3d1e18fb59b6cfb0c109. Revert "shinano: Add back 44100Hz sampling rate output" This reverts commit 67b31a38b3da1eac29a75b111713626bb8888874. Revert "shinano: Fix audio config imports" This reverts commit cea382b9724df46622c4d6a79171c9ae325e3902. Revert "shinano: Make audio configurations shinano common" This reverts commit 80d01abbc98a2e4ab0376146ccca4763029b0030. Change-Id: I018e74d5130fca99962fd3aa20b037e2f3bb1fbb
2017-09-27shinano-common: props: Disable fluence for speakernailyk-fr
* Disable fluence for speaker calls. This produce echo on other side. * Thanks to Mr.Tom_Tom Change-Id: I62dfcef5bfddfcc3eeb75d1c04b21275d0875efd
2017-09-27Grant netmgrd proper unix permsJeff Vander Stoep
Do not grant DAC override permission which would allow this daemon unix permissions to everything. avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability Adding wifi group to access /data/misc/net/rt_tables -rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables wakelock group to access: /sys/power/wake_lock -rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock radio/inet groups to access /dev/socket/netmgr/netmgr_connect_socket srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
2017-08-23shinano-common: remove libwvm shimSteven Lay
* With the introduction of kipper widevine blobs, a shim for libwvm is no longer necessary Change-Id: I82c44e74dcdbb88e50536ca23c64fe2927b5f1eb
2017-08-23shinano-common: readd tad_statictomascus
* Moved from vendor repos * Also remove the associated product_packages copying Change-Id: I28a906e0bd0c08bba20d22d25122f99bd84669a8
2017-08-18shinano: Update fstab parametersKeita Espinoza
Remove "data=ordered" as this is the default value. Remove "errors=panic" Removed msm_sdcc.3 mount Change-Id: Id1496dd8f69667a806eddab9b33bcfbe12590bc8
2017-08-06Use RIL_SignalStrength_v10 matching to Sony's Kitakami RILbalika011
Change-Id: Ida247eebd2e7f84f36f3f1bf956ece1ad0c6c0e8
2017-08-06shinano-common: add fork of ril.h headertomascus
Change-Id: Ic301499be511f66eb3e5a97be01dcca404ba7703
2017-08-05shinano-common: init: Use late_start for rild2nailyk-fr
* When encrypted the rild2 daemon is started at early stage and data are not yet decrypted. Change class to late_start to ensure data avaiablity before starting rild2 Change-Id: Ia1d5cd26032e19c1cb66f05c0a6897a363132184
2017-08-04shinano: Rework In Device Diagnostics sepolicyKeita Espinoza
- Fix symlinking and reading denials for iddd and credmgrd Change-Id: I786301f2cb4f2aaa76e8f5b96a036ada0563463b
2017-07-30shinano-common: remove config_wifi_batched_scan_supported flagSteven Lay
This is already defined in msm8974-common https://github.com/LineageOS/android_device_sony_msm8974-common/blob/cm-14.1/overlay/frameworks/base/core/res/res/values/config.xml#L79 Change-Id: I0fa323ecb2217c17b59870239c6c0d1cf10d1cd6
2017-07-30shinano: Rework qcom.power initKeita Espinoza
- Boot phone in interactive mode instead of performance - Add TWRP config Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
2017-07-29Revert "shinano-common: Stock led color pattern for battery charging"Chirayu Desai
* No, this has always been the same across all LineageOS devices everywhere, forever, there's no need to change it here right now to match stock. * Users who wish to do so may do it from the Settings. This reverts commit 892d6f188708691dcf9a7335e8d9516810a33ddc. Change-Id: If17f9036677c27575ee1bda2d3cc3d52b29193ad
2017-07-26shinano-common: remove extract util scriptsSteven Lay
Device extract util scripts will link to msm8974-common instead to do all the work. Change-Id: Ib0d6ad0d5b2c9b1f1a22e3b6111271cb1a819c58
2017-07-24shinano: Address audio issues with mixer_pathsKeita Espinoza
- Address echo in speaker voice call - Fix string value for Internal BTSCO SampleRate - Adress unable to find path 'low-latency-record' Change-Id: I7eaf40ec67fd8d848e96eba8e9884b88a3bf9df2
2017-07-24shinano: Address rild denial from .291 blobsKeita Espinoza
avc denied {read} for name="u:object_r:ta_prop:s0" dev="tmpfs" ino=7216 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 avc denied {open} for name="u:object_r:ta_prop:s0" dev="tmpfs" ino=7212 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 avc: denied {getattr} for pid=403 comm="rild" path="/dev/__properties__/ u:object_r:ta_prop:s0" dev="tmpfs" ino=9225 scontext=u:r:rild:s0 tcontext=u:object_r:ta_prop:s0 tclass=file permissive=0 Change-Id: I4fa966bfe7fdb97fe3123e0915f74f7843534979
2017-07-21shinano-common: fix selinux denial in credmgrdSteven Lay
Fixes the denial: avc: denied { append } for pid=327 comm="credmgrfirstboo" name= "credmgr.log" dev="mmcblk0p24" ino=12 scontext=u:r:credmgrd:s0 tcontext=u:object_r:cache_file:s0 tclass=file permissive=0 Also fixes issue with camera not working on first boot on aries. Change-Id: I726ff6a30745929f01f62d8504e0e0621e414ad7
2017-07-20shinano-common: use WBS for bluetooth callsSteven Lay
* Fix BT calls on some BT headsets by using WBS * Partially kanged from: https://github.com/LineageOS/android_device_samsung_klte-common/commit/25f75c05d4a4edc16d2ffd107d80939302b01619 Change-Id: I1474aa6c4a5b48fbb51c723e25beb098edfe6bcb
2017-07-20shinano-common: Force SCO WBS samplerate to 8kHzPatrick Lower
* Fixes voice calls in car Change-Id: I61e8ecab7342b32404871db8b45ba0a0a36b92c8
2017-07-19shinano-common: remove IMS based servicesSteven Lay
* Not sure if this worked anyway Change-Id: Ie2910210229c7ba2c2d7d28cb5c1dcba7ad0cff5
2017-07-19shinano: Move idd to proprietary sony rcKeita Espinoza
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
2017-07-19shinano: Change mixer_paths BT rate stringsKeita Espinoza
- Keep audio_route happy: unknown enum value string XXXXXX for ctl AUX PCM SampleRate unknown enum value string XXXXXX for ctl Internal BTSCO SampleRate Change-Id: I4e9f993e185cd3dc0087394731f75e429a55e50e
2017-07-19shinano: Add back 44100Hz sampling rate outputKeita Espinoza
Change-Id: If8251cbaf88e82c63352aa0a44cf93718342417d
2017-07-18shinano: Remove ext HFP featurexkeita
Not needed by platform. Change-Id: I29bd0e831712ac92a8d890a9a54029bf7b38ea25
2017-07-07shinano-common: revert CPUQuiet infrastructureSteven Lay
As we are returning to MPDecision. * Restore MPDecision service * Remove CPUQuiet related ueventd rules * Remove RQBalance configuration file * Interactive CPUFreq settings based on Bacon Change-Id: If6cf04841083be2f3ded50c4f20d600f0c74d339
2017-07-01shinano: Fix audio config importsKeita Espinoza
Change-Id: Ie95c5aada831d0cde896ea9e9505bee444bb4e14
2017-07-01shinano: Rename init.device-commonxkeita
Rename it to reflect that the init is platform specific (i.e: shinano, rhine, etc). Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
2017-07-01shinano: Set correct owner to PM8941-flashxkeita
Change-Id: I4b4efddf28c00eaa3c46cf7a1cd75fbf2d015a73
2017-07-01shinano: Remove duplicated PM8941 entriesxkeita
These are common to all sony msm8974 devices Change-Id: Ia5450d6997c2e71646ad0787e095b17195aa10e4
2017-07-01shinano: init: Remove duplicated entriesxkeita
These are already defined by init.rc Change-Id: I31d57f8b1e2a028fd25c4190d57dc6ccad7f643f
2017-07-01shinano: Make audio configurations shinano commonxkeita
Devices from this platform use the same audio configurations, by making them common we can simplify maintenance. Change-Id: I22c99e0afd8d3bdc944b54c8ada58c9b1f4dfdc0
2017-06-30shinano-common: Add Hexagon DSP servicexkeita
- Values taken from stock .291 kernel Change-Id: Ia51d9ea493518b7a917e39992720ae9df18cefaa
2017-06-29shinano-common: remove scdnotifier_nitz serviceSteven Lay
Seems obsolete now, time syncing works fine without it. Change-Id: I76b4e44d05c66b059497a17e1776e2255bb00549
2017-06-28shinano-common: Add wifi/bt operating voltage for BCM4339 chipxkeita
This is used for measuring overall power consumption and it's needed to avoid overcalculations. Change-Id: I8694bde53699eeaa5677d1af1f7670bd0b0c47e2
2017-06-28shinano: Make TFA9890 service shinano specificxkeita
Change-Id: I89f1d1e6c3eab501b74c273d1d7ebdca3188c063
2017-06-28shinano: Add wlan0 interface propxkeita
Change-Id: I90345c3235a3feaf64148ff05f67648515ca9f34
2017-06-28shinano-common: prop: Enable Assertive Displayxkeita
Change-Id: I53f0ca1e1afc86bf8adc9de89d8a17fc4ebadb5b
2017-06-28shinano-common: inherit bcmdhd firmwareSteven Lay
Needed for new bcmdhd driver changes in kernel Redundant config line can also be removed Change-Id: I64636fe90dde2efb1b24867ee6ca790e161a8a66
2017-06-28shinano: Address TFA amp sepolicy denialxkeita
Change-Id: I6e93799b92a66b514da186b249155795408b2e08
2017-06-25shinano: init: Fix init.device-common importxkeita
Change-Id: I04a4d171ef95dc43c6fc59f6ee2075b827ec6c4d
2017-06-25shinano-common: Set max mA for chargingxkeita
- Based on msm8974 dts kernel config - This replaces the need for the entry in thermanager.xml Change-Id: I6973d2c21212dc1b7816b5a0174812159f6e41d9
2017-06-25shinano-common: Remove QC Locationxkeita
Change-Id: I6fccaea15e0bc59a5b386805b5e75457b1a83fb2
2017-06-25shinano: init: Set correct time-daemon groupxkeita
- Reference from .291 kernel Change-Id: Icaed3621992238c5815bdb8ca9ca0861104aa5f2
2017-06-25shinano: init: Remove msm-adreno-tz flagxkeita
- msm-adreno-tz is set by default, this line should only be used if we wanted to set a different governor under different powermodes. Change-Id: I0357e2d4e77191470c2af6121cf4273e0fd67f7a
2017-06-25shinano: init: Commonize init.device.rcxkeita
- Add common init.device.rc for shinano devices. Change-Id: I9793279a529551106cf31dc1c39844fa9274bb5b
2017-06-25shinano: init: Update bluetooth initxkeita
- Based on stock .291 kernel - Removed proto entries (they aren't used with IOCTL wake controller) - bluetooth timeout ms is no longer used by libbt Change-Id: Iddafa7217ea84238cdbe218c24ecf2f85cac615c
2017-06-24shinano: init: Remove deprecated init entriesxkeita
- We don't use chargemon anymore (now it's healthd) remove unused/deprecated entries. - Remove debug_mask (doesn't exists here) Change-Id: Ic61ec552504691a725e5a3ac89bbbf730a703474
2017-06-24shinano-common: Stock led color pattern for battery chargingxkeita
Medium charged battery led is yellow on stock rom instead of greenish Change-Id: Iff0dfbd2d9486db2882420c94b9dc54e706a0057
2017-06-24shinano-common: camera: Enable sonycamera proprietary capabilitiesxkeita
Sony camera blobs are encrypted, so they need com.sonyericsson.permission.CAMERA_EXTENDED permission from original camera to be present in apk to enable Sony custom options (4k video, iso settings, etc) camera.qcom.so checks if this permission is available in current camera app but it can be bypassed when "ro.build.type=eng" thus enabling Sony camera options. The point of this shim is to make camera.qcom.so believe that we're currently on an engineering android rom so it bypasses the permission check allowing camera apps to have full capabilities. ----------------------------------------------------------------------- Credits to Balázs Triszka from sony-kitakami Change-Id: I14ef800608c7ed7a95921dd71a56702ed2d68b18 ----------------------------------------------------------------------- Change-Id: I2052aa30fbd30a730ea7b9c60b98f35f99314a51
2017-06-23shinano-common: Add ril-daemon2 service for dsds modelsxkeita
Change-Id: I4d6263e6f475c79c68d6d5c7c7903d28822e37f0
2017-06-17shinano: Remove CNE propsxkeita
Change-Id: I5c0a524da2c3149025f3a931e953350ea723eeb3
2017-06-14shinano-common: audio: Import ACDB-IDs and fluence configxkeita
- Imported original ACDB values from original .291 stock rom for dual mic (endfire array) and BT - Updated audio device names for headset and bt mic - Enable dual-mic config Change-Id: I49605dca37d526bb79e56c765e6f0db957c39f5d