summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-05shinano-common: fix several selinux denialsDerfElot
when it is set to enforced (from logcat and dmesg): 04-01 22:29:40.566 W/macaddrsetup(362): type=1400 audit(0.0:302): avc: denied { dac_override } for capability=1 scontext=u:r:addrsetup:s0 tcontext=u:r:addrsetup:s0 tclass=capability permissive=0 04-01 22:31:46.119 W/credmgrd(333): type=1400 audit(0.0:380): avc: denied { search } for name="suntory" dev="tmpfs" ino=6960 scontext=u:r:credmgrd:s0 tcontext=u:object_r:suntrold_sock_socket:s0 tclass=dir permissive=0 04-01 22:31:46.123 W/credmgrd(333): type=1400 audit(0.0:381): avc: denied { search } for name="/" dev="tmpfs" ino=7367 scontext=u:r:credmgrd:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir permissive=0 04-01 22:31:41.186 W/iddd (12977): type=1400 audit(0.0:378): avc: denied { search } for name="/" dev="tmpfs" ino=7367 scontext=u:r:iddd:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir permissive=0 04-01 22:31:46.249 W/scd (13064): type=1400 audit(0.0:382): avc: denied { getattr } for path="/dev/socket/scd/scd.sock" dev="tmpfs" ino=9384 scontext=u:r:scd:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0 04-02 01:54:06.328 W/scd (7200): type=1400 audit(0.0:47): avc: denied { remove_name } for name="scd.sock" dev="tmpfs" ino=8437 scontext=u:r:scd:s0 tcontext=u:object_r:socket_device:s0 tclass=dir permissive=0 04-02 02:36:47.050 W/scd (6544): type=1400 audit(0.0:53): avc: denied { unlink } for name="scd.sock" dev="tmpfs" ino=8369 scontext=u:r:scd:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0 04-02 03:09:36.677 W/scd (7902): type=1400 audit(0.0:72): avc: denied { search } for name="scd" dev="mmcblk0p25" ino=382769 scontext=u:r:scd:s0 tcontext=u:object_r:scd_data:s0 tclass=dir permissive=0 04-02 03:42:10.207 W/excal:HalCtrl(6497): type=1400 audit(0.0:16): avc: denied { write } for name="current1" dev="sysfs" ino=19887 scontext=u:r:mediaserver:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 [ 29.029135] type=1400 audit(7343886.976:11): avc: denied { search } for pid=365 comm="mm-qcamera-daem" name="etc" dev="mmcblk0p25" ino=716673 scontext=u:r:mm-qcamerad:s0 tcontext=u:object_r:ta_data_file:s0 tclass=dir permissive=0 [ 27.905847] type=1400 audit(7343885.850:6): avc: denied { search } for pid=254 comm="wvkbd" name="suntory" dev="tmpfs" ino=7537 scontext=u:r:wv:s0 tcontext=u:object_r:suntrold_sock_socket:s0 tclass=dir permissive=0 04-02 13:20:48.566 W/excal:ExposureC(7212): type=1400 audit(0.0:18): avc: denied { search } for name="battery" dev="sysfs" ino=18957 scontext=u:r:mediaserver:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=dir permissive=0 04-02 14:03:30.945 W/excal:ExposureC(6244): type=1400 audit(0.0:14): avc: denied { read } for name="voltage_now" dev="sysfs" ino=18973 scontext=u:r:mediaserver:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=file permissive=0 04-02 14:35:55.034 W/excal:ExposureC(6197): type=1400 audit(0.0:17): avc: denied { open } for name="voltage_now" dev="sysfs" ino=18870 scontext=u:r:mediaserver:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=file permissive=0 04-02 15:05:29.858 W/excal:ExposureC(5947): type=1400 audit(0.0:15): avc: denied { getattr } for path="/sys/devices/qpnp-charger-14/power_supply/battery/technology" dev="sysfs" ino=18969 scontext=u:r:mediaserver:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=file permissive=0 04-02 17:38:33.610 W/Binder:5021_3(5299): type=1400 audit(0.0:11): avc: denied { read } for name="/" dev="tmpfs" ino=6614 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0 04-02 18:27:24.996 W/Binder:5251_1(5266): type=1400 audit(0.0:13): avc: denied { open } for name="/" dev="tmpfs" ino=7203 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0 Change-Id: Ifbc5ef57cadea4d3f35d52dce23c1b56966bd981
2017-04-04shinano-common: init: Stability improvements to credmgr initstay steadfast
* Device wasn't encryptable because of bad return code. Initial commit message: > some enhancements you may like ;) > > make if loop more bullet proof > now every command gives an error result back and according to it the script fails or not immediately > logging to dmesg device to be sure that we can write log messages (just do a "dmesg|grep CREDINIT" to get your log output) > overall be more verbose Change-Id: Ife5288522a20a9f962a01630d7a6c52d85ad6db8
2017-04-03shinano-common: add semc propertiestunturn
Change-Id: I3b0381ac48b1615f73c11cbb9a76e0aee0aeb9ee
2017-03-31shinano-common: use dee buffer for media streamingtunturn
* Applications that use AudioTrack java interface for audio rendering defaults to primary output as flags indicated as FLAG_NONE. If the primary output is low latency output, it results higher power consumption than deep-buffer path if used. Description from https://android.googlesource.com/platform/frameworks/av/+/439e4ed Change-Id: I8294ab9cb81a36c9f97a51f6041918299be7cf87
2017-03-30shinano-common: Add github contribute templatenailyk-fr
Change-Id: I077ea42e4dfa42010d78ce34b2b0888a4f1a316b
2017-03-30shinano-common: vendor: Change wait4tad pathnailyk-fr
* The binary is located into root ramdisk with the new vendor repo. Change-Id: I7cccab1de1507575e9e63573924a74ad2aefa630
2017-03-27shinano-common: ril: Add /etc/data into device treenailyk-fr
Change-Id: I6832b287ae28e634b68abdcc31970e4520203291
2017-03-27shinano-common: sepolicies: Solve camera related denialsnailyk-fr
Change-Id: I542625f5be637dbad4a40498eca69bfec0fe8ab1
2017-03-27shinano-common: prop: Add missing propsnailyk-fr
Change-Id: I97eb5c4f6e430646737c4ac917c5839c614731cb
2017-03-27shinano-common: init: Cosmetic changesnailyk-fr
Change-Id: If8a4ced15808aabbbae91f924cd3144a62354491
2017-03-27shinano-common: sepolicies: Remove obsoletes filesnailyk-fr
Change-Id: If833437e19f05e24a448caec9c7e569d34ba6c82
2017-03-27shinano-common: init: Add updateTA entrynailyk-fr
Change-Id: I9146571a4f9d952e1299d523811149f5c81a6b89
2017-03-27Enable fluence voicecomm propMax Weffers
2017-03-27shinano-common: vendor: Camera initnailyk-fr
Change-Id: I0b85560bb56beee0d21751fe55587c2de4b8ff00
2017-03-27Add Low-power-mode and MSM PM for better batterylifeMax Weffers
2017-03-27Fix rqbalance permissionMax Weffers
2017-03-27Add cpuquiet config in prop and initMax Weffers
2017-03-27Use Cpu governor settings from sodp for interactiveMax Weffers
2017-03-27Change permission for tad_staticMax Weffers
Fixes tad socket problems
2017-03-27Delete unneeded file context for secdMax Weffers
2017-03-27sepolicy: avoid macaddrsetup denialsMax Weffers
Change-Id: I0e726ca654ac6758569b6c754461872dcc9e60c0
2017-03-27shinano-common: fstab: Use tmpfs for apps_lognailyk-fr
* Recovery need a raw partition to work in N, give it apps_log for this purpose and use /idd on tmpfs. Change-Id: I241d317ac472f414ffa9afe5d7568aac86a21b7f
2017-03-27Remove uneeded sepolicy linesMax Weffers
2017-03-27Build and use macaddrsetupChirayu Desai
Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c This fixes random mac adress at boot
2017-03-14sepolicy: changes for bluetooth denialstunturn
Change-Id: I2ca85cd2c555b74f8de63c05e1e6dd2cc292dac9
2017-03-14Add Shinano Product_PlatformMax Weffers
2017-03-14shinano-common: Update readme for LineageOSnailyk-fr
Change-Id: Id40cc1bb3805f29f7305e056efe81804b37754a2
2017-03-14shinano-common: cleanup rootdir ramdisk scriptstunturn
* also clean bluetooth stuff Change-Id: Ib76be395aa584553c758c23063e233b54e41a856
2017-03-14shinano-common: build: Correct typonailyk-fr
* Correct typo in lineage.dependencies Change-Id: I2f663574c65699be98acf370fcef4bc9e50c0c20
2017-03-14shinano-common: set ROW as iosched at bootcompletetunturn
Change-Id: I993e632eb158af22240878c1363100e5701ad5fe
2017-03-14shinano-common: set BFQ as iosched after bootcompletetunturn
Change-Id: Ib1b7c45e13cc23006a40ac56f2790deb38adbde3
2017-03-14shinano-common: move rmt_storage service back to init.qcom.rctunturn
Change-Id: I6fbc6fd3d89ab797e4e781af98baba3dc889d8ed
2017-03-14Use GID "wakelock" to control access to kernel wakelockPavlin Radoslavov
Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
2017-03-14shinano-common: update GPS propertiestunturn
Change-Id: I7de068db839d1b8f8fd5091bd942f5fcd25ecd15
2017-03-14shinano-common: add loc_launcher service for GPStunturn
Change-Id: I5d8008f0fcb4455c77fb1df4b21e56abb7819ce7
2017-03-14shinano-common: update gps configs from stock .291tunturn
Change-Id: Ib4384d45fdb317dceb551cd60acaa7f0b08b01b0
2017-03-14shinano-common: don't build local GPStunturn
Change-Id: I6b49d98264935f3ba39faab6550125ed406b54ad
2017-03-14sepolicy: update contextstunturn
Change-Id: Ie6504c205fa9fbe54803331f5f40c765ace1a1e8
2017-03-14shinano-common: return sensors.qcom class to coretunturn
Change-Id: I00c14251e0417776d84bc3ad96ac0c397277f26c
2017-03-14shinano-common: remove deprecated vnd_shinano.txttunturn
Change-Id: Icd77fda744324178b0803a62a51e11dcab2b2330
2017-03-14uim: rename UartPort to UimUartPort for prevent conflict with libbtQuarx2k
Change-Id: I8acb88d0485f77e6e48d7c57c24cffd1135fd36f
2017-03-14BCM FM: Add BtDrvDev to bt_vendorNickolay Semendyaev
Change-Id: Ia2afab2b011bee842cf1794cc2fa2e42e526abf3
2017-03-14shinano-commit: update bt_vendor.conf with stock .291tunturn
Change-Id: I469fcdffaadcda84afb01188623ad8fdc0ee94ac
2017-03-14shinano-common: changes to bringup broadcom FM Radio/Bluetoothtunturn
Change-Id: I633357fa8a04cf178fdee3e4471d20d5432eb230
2017-03-14Fix bluetooth SE denialsNickolay Semendyaev
Change-Id: Ife9e06092421bffc0b77ef38b68df3196938f788
2017-03-14shinano-common: rootdir: enable adaptive LMKtunturn
Change-Id: I837aec3285c70fabf4538611f887de6c48b3b6a8
2017-03-14shinano-common: re-enable blurKevin F. Haggerty
Change-Id: Ic4fda0b7d4bcebd13ace493ce25f3d7b71de97e5
2017-03-14overlay: add double tap to wake supporttunturn
Change-Id: I3a304183d94c7e6b3e43efc02645629caa83253d
2017-03-14cmhw: update VibratorHWtunturn
Change-Id: Ib4c5d818439f1df7e01e4dc11dbdfd6b19ecf5cc
2017-03-14shinano-common: enable ZRAMtunturn
Change-Id: I178efeca573134df78e1227f3db89cfb8ce2779d
2017-03-14shinano-common: rootdir: start mpdecision after bootcompletetunturn
Change-Id: I73aaadae219f9eee682e5cdb9bb64c237c80fd55
2017-03-14shinano-common: copy init.qcom-sensor.shtunturn
Needed for sensor init Change-Id: I61a323a6c9b08946b5be243ce660e1dc12882266
2017-03-14init.qcom.rc: add init-qcom-sensors.sh servicetunturn
2017-03-14shinano-common: init: Fix path to devfreqSteven Lay
* This is the path used on stock .291 kernel. Change-Id: I2240fbcd37c21259a1aa748d72f8500540bf1c42
2017-03-09shinano-common: build: Our kernel is missing CLOCK_BOOTTIME_ALARM (alarmtimer)tunturn
* Kanged from https://github.com/LineageOS/android_device_htc_m8/commit/35a3ea67af2e6d4bbaccba6d483da228f4e5ccce Change-Id: I363f71d69d17dc8447c3f845a0673a6a410071b0
2017-03-09shinano-common: init: Change perms for RGB ledSteven Lay
Change-Id: I89d99a4c8226c5ffc5194b2123404ed381b6cbb4
2017-03-09shinano-common: Add ril stuffsnailyk-fr
Change-Id: Idc6306fc79c34969fbb84dab87c42d4305169037
2017-03-09shinano-common: init: Remove duplicate rildaemonnailyk-fr
Change-Id: I9cfe1b3b80359ca5f423a51152bfcd3a4d03846a
2017-03-09shinano-common: Allow caf ril buildnailyk-fr
* telephony/ril.h override hardware/ril-caf one. Change-Id: I90fa02bdd63b0d06742c341ed49b45d6034bc683
2017-02-25Go back to legacy mode for 4k, hdr, isoQuarx2k
Change-Id: I4c0b0ab3e16350b80dd0fbbc5d77b3e0501b942f
2017-02-25Disable legacy camera 1 modeNickolay Semendyaev
Change-Id: I6887a72390d2d7a2f49b1412388beeeac3f0c5ae
2017-02-25Snap: Disable zsl by defaultNickolay Semendyaev
Change-Id: Id2e946267169e187e5c7fc8ebe38e7bd90f16e66
2017-02-25Add iso support to SnapNickolay Semendyaev
2017-02-25cam: use camera_open_legacyGiulio Cervera
also restart preview after taking picture
2017-02-25ivy: Use Snap cameraOlivier Karasangabo
Change-Id: I090283431cef7fb7f1a863735bcde551f9338931
2017-02-22Revert "shinano-common: vendor: Inherit AOSP BCM4339 Firmware"tunturn
Not working. This reverts commit f9f42b49b63d2ca376fb7b7f3d55519459edb661.
2017-02-22BoardConfigCommon: move other camera flags to msm8974-commontunturn
2017-02-22Move "HAL1 camera hacks" to msm8974-commontunturn
This reverts commit b2ecfd2db4a5a752ea70085db34d885d6561d8ed.
2017-02-21shinano-common: shim: Export bsd_signals to suntroldnailyk-fr
2017-02-21shinano-common: vendor: Inherit AOSP BCM4339 FirmwareSteven Lay
Following: https://github.com/sonyxperiadev/device-sony-castor_windy/commit/3902de53cccaec64cb73dc6442aba7ef5b8bbd88
2017-02-21shinano-common: build: Update BCMDHD config for new wifi implementationSteven Lay
2017-02-21shinano-common: build: Move memory inherits to devicenailyk-fr
2017-02-21shinano-common: init: Export bsd_signals to suntroldnailyk-fr
2017-02-21shinano-common: sepolicies: Add camera related entriesnailyk-fr
Change-Id: Icfc6a998c6c5615351ed59111284858b9f27893c shinano-common: Rework credmgrd sepolicies Change-Id: Id922021b05ed0313b5cd7e506641632277a82105 shinano-common: Fix last camera denials Change-Id: Ibf96ebf0a136ffa40be85369896f57645c24157c
2017-02-21shinano-common: shim: Add getdtablesize for idddnailyk-fr
* iddd is missing getdtablesize. This function return 1024 Change-Id: I402c8671366a250d4b6982c27e681bbce552b4f6
2017-02-21shinano-common: shim: bsd_signalnailyk-fr
Change-Id: I4110bf8953024f7777e11880849184cbd9b526fb shinano-common: Shim bsd_signal: build as shared Change-Id: Iba94a11082aa47890b3835bcd63b98f41fd3599d
2017-02-21shinano-common: build: Enable HAL1 camera hackstomascus
Change-Id: I5a831ff94bcd4db79098ad9a2d05d053acc95f52
2017-02-21shinano-common: init: Separate camera servicesnailyk-fr
* Use a separated file for camera and camera dependencies Change-Id: Id8cb2242b1dffacf427dffe2dbe63628a5d2462f shinano-common: Correct typo in "Split init.qcom.rc" Change-Id: I4f2ab062af09a49c6091942ff6157838040f65d8
2017-02-21shinano-common: vendor: Update sec_confignailyk-fr
2017-02-21shinano-common: build: Build sensor halnailyk-fr
* Build sensor HAL Change-Id: I21797845b55111b752eecc35bc88ef567d13857d
2017-02-21shinano-common: power: update cpufreq tunings from stock ROMsSteven Lay
* Took from stock sony ROMs
2017-02-21shinano-common: shim: Add MediaBufferGroupnailyk-fr
* Add shim for MediaBufferGroup workaround * Blobs have probably be built before this commit: https://github.com/LineageOS/android_frameworks_av/commit/e9a5b96e7927fd4e38623e17ac73e8e4e25877ee which cause libwvm.so not starting due to missing symbol ZN7android16MediaBufferGroupC1Ev Change-Id: I490a2d599c01cd7d8db937d3a9d6eceffaf6a7e6
2017-02-21shinano-common: Solve camera denialsnailyk-fr
Change-Id: I62e1e9b87e48b0f5d436ef44bb816eedf5328347 shinano-common: Solve camera services denials Change-Id: I36479598ada099da4949d999f7485b69ccd59c19
2017-02-21shinano-common: Adjust idd permsnailyk-fr
Change-Id: If920b5e5265aca89020bd000904d586cd879cc85
2017-02-21shinano-common: vendor: Move tad_static to vendor/nailyk-fr
* Remove intree binary Change-Id: I24bc5f552d57c4634b7d74af956f87baccb8c8ab
2017-02-21 shinano-common: tfa: Fix logic mistake in ioctl for eq functionnailyk-fr
A fixed-length array of unsigned char can never be NULL! Fix the logic by initializing the array correctly and assigning to the param struct if we copied anything with memcpy into it instead of doing an useless null check. https://github.com/sonyxperiadev/device-sony-shinano/commit/12d9e45b473fc4354d8acbef2bd8ba05111ed9a1 Change-Id: I31b648ce4c6a2b2752020172d0aa2e4b75b7852a
2017-02-21shinano-common: tfa: Add missing headernailyk-fr
avoid warning as: device/sony/shinano/libaudioamp/tfa9890.c: In function 'tfa9890_prepare_for_ioctl': device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tfa9890_param_data.data); ^ device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: incompatible implicit declaration of built-in function 'free' https://github.com/sonyxperiadev/device-sony-shinano/commit/2aed9e2f4a51bdca13f4403457d6f4483e09b8e5 Change-Id: I6dda71087618b6f9925ae8b3203f675f298d81f6
2017-02-21shinano-common: init: Use new bootloader parsingnailyk-fr
* This commit is required to fix build on N branches. * Mostyl took from bacon (OPO). Change-Id: I344fbe6fcea3df9af75beb3b43f7b039f27e18a8
2017-02-21shinano-common: CMHW: Use new *.File includesnailyk-fr
Change-Id: Ia34c8c89bedcf74c5ccefeaf9333ea00abebc5d2
2017-02-21shinano-common: Change to LineageOS supportnailyk-fr
Change-Id: I1c7e617b90e3548bc7bae3da23a8cb97a1908bc9
2017-02-21shinano-common: init: change permissionsnailyk-fr
Change-Id: I6735847f5f47126605f2dca135fba94263469796
2017-02-21shinano-common: init: Rework for new vendor binariesnailyk-fr
2017-02-21shinano-common: sepolicies: Rework for new vendorsnailyk-fr
Change-Id: Id559336a2e89951c1c17f7e9bce5b0c23ce162b9
2017-02-21shinano-common: init: Add missing vendor socketsnailyk-fr
Change-Id: Iae03adb6cb3b7f185701f1eba66108c647fe9b2d
2017-02-21shinano-common: init: Change mount pathsnailyk-fr
* Add bootdevice symlink for compatibility * Clean idd mounting * Remove uneeded /rca symlink Change-Id: I4e00fb1c5d5e5d084b4c74ad72e8b2bc4a1900b2
2017-02-21shinano-common: init: Remove tad_static duplicatenailyk-fr
Change-Id: I1fcb1f6bdcc6e4de32dadcf9eb693cd947be81df
2017-02-21shinano-common: sepolicies: Add idd policy contextnailyk-fr
Change-Id: I38050b1701c4bf3ee3929c17a1e8dad849b9e815
2017-02-21shinano-common: vendor: Change idd mount pointnailyk-fr
* /mnt/idd symlink isn't created at mount time. Workaround this by mounting partition on /idd instead. Change-Id: I8fdd30c877b565a2e2e0a920d24ceba070183bff
2017-02-21shinano-common: CMHW: Disable dynamic vtg_levelnailyk-fr
* 3.4 (stock and concept) doesn't provide vtg_level for now. Disable it. Change-Id: I70b7c93fafe192b1e3913c700c511f177b322ecf
2017-02-02add sony users and use themGiulio Cervera
Change-Id: Ieb761d8717a1008742bf412a5fdedf38786d3e97