Age | Commit message (Collapse) | Author |
|
- Address echo in speaker voice call
- Fix string value for Internal BTSCO SampleRate
- Adress unable to find path 'low-latency-record'
Change-Id: I7eaf40ec67fd8d848e96eba8e9884b88a3bf9df2
|
|
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
|
|
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
|
|
* 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
|
|
* Fixes voice calls in car
Change-Id: I61e8ecab7342b32404871db8b45ba0a0a36b92c8
|
|
* Not sure if this worked anyway
Change-Id: Ie2910210229c7ba2c2d7d28cb5c1dcba7ad0cff5
|
|
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
|
|
- 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
|
|
Change-Id: If8251cbaf88e82c63352aa0a44cf93718342417d
|
|
Not needed by platform.
Change-Id: I29bd0e831712ac92a8d890a9a54029bf7b38ea25
|
|
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
|
|
Change-Id: Ie95c5aada831d0cde896ea9e9505bee444bb4e14
|
|
Rename it to reflect that the init is platform specific (i.e: shinano,
rhine, etc).
Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
|
|
Change-Id: I4b4efddf28c00eaa3c46cf7a1cd75fbf2d015a73
|
|
These are common to all sony msm8974 devices
Change-Id: Ia5450d6997c2e71646ad0787e095b17195aa10e4
|
|
These are already defined by init.rc
Change-Id: I31d57f8b1e2a028fd25c4190d57dc6ccad7f643f
|
|
Devices from this platform use the same audio configurations, by making
them common we can simplify maintenance.
Change-Id: I22c99e0afd8d3bdc944b54c8ada58c9b1f4dfdc0
|
|
- Values taken from stock .291 kernel
Change-Id: Ia51d9ea493518b7a917e39992720ae9df18cefaa
|
|
Seems obsolete now, time syncing works fine without it.
Change-Id: I76b4e44d05c66b059497a17e1776e2255bb00549
|
|
This is used for measuring overall power consumption and it's needed
to avoid overcalculations.
Change-Id: I8694bde53699eeaa5677d1af1f7670bd0b0c47e2
|
|
Change-Id: I89f1d1e6c3eab501b74c273d1d7ebdca3188c063
|
|
Change-Id: I90345c3235a3feaf64148ff05f67648515ca9f34
|
|
Change-Id: I53f0ca1e1afc86bf8adc9de89d8a17fc4ebadb5b
|
|
Needed for new bcmdhd driver changes in kernel
Redundant config line can also be removed
Change-Id: I64636fe90dde2efb1b24867ee6ca790e161a8a66
|
|
Change-Id: I6e93799b92a66b514da186b249155795408b2e08
|
|
Change-Id: I04a4d171ef95dc43c6fc59f6ee2075b827ec6c4d
|
|
- Based on msm8974 dts kernel config
- This replaces the need for the entry in thermanager.xml
Change-Id: I6973d2c21212dc1b7816b5a0174812159f6e41d9
|
|
Change-Id: I6fccaea15e0bc59a5b386805b5e75457b1a83fb2
|
|
- Reference from .291 kernel
Change-Id: Icaed3621992238c5815bdb8ca9ca0861104aa5f2
|
|
- 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
|
|
- Add common init.device.rc for shinano devices.
Change-Id: I9793279a529551106cf31dc1c39844fa9274bb5b
|
|
- 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
|
|
- We don't use chargemon anymore (now it's healthd)
remove unused/deprecated entries.
- Remove debug_mask (doesn't exists here)
Change-Id: Ic61ec552504691a725e5a3ac89bbbf730a703474
|
|
Medium charged battery led is yellow on stock rom instead of greenish
Change-Id: Iff0dfbd2d9486db2882420c94b9dc54e706a0057
|
|
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
|
|
Change-Id: I4d6263e6f475c79c68d6d5c7c7903d28822e37f0
|
|
Change-Id: I5c0a524da2c3149025f3a931e953350ea723eeb3
|
|
- 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
|
|
We're using stock sensors.msm8974.so, so prop values for sensors are the
same as in stock .291
Change-Id: I0628bf0049d75023d20b752f5bd63ef50bcbf3b5
|
|
- Removed props that are shared with msm8974-common
- Removed deprecated/unused props
- Added qcom cne prop for broadcom wifi board
Change-Id: I8c338833456604e59d66f4a1ead6600fe5139f35
|
|
Change-Id: I66ec2c421a0e9ca4bbadc4681a2bc4814b6688ef
|
|
Change-Id: I1dbbaf3f0f4da8c7bff31210d43b27fb6f138b39
|
|
It feels more right to place it together with CPU freq settings
Also, it's like this on almost every other device
Change-Id: I2b70392acd43a30f776b17fee3b20153ff268d6a
|
|
Enable Ambient Display option (this is enabled on Nexus 5 too) for
users so they can decide what's better for them same as in LOS
hammerhead.
Change-Id: I2e8f4bc1688f8e43a3e505c9651d63624bf7f281
|
|
- Import stock rules
Change-Id: I801cf8fbf4b2c356bce5dae86077d3f2633aba89
|
|
* Parsing vnd_shinano.txt at built time cause an error because
of missing newline.
Change-Id: Ia737877f6a2bcc9fea61deac2f55399d202afc94
|
|
as it was removed from common
Change-Id: I7aa29ebde5b188df170b51b3a48b00eddbdd6dcf
|
|
- Remove BTA timer delay and IOCTL false flag
- Hardcode vnd_shinano.txt path
Change-Id: Ife81025c3ce0ac535bdf0883ecd225422e7ea80c
|
|
Change-Id: I498ba8ad9ec5f2f0d7ce5fd887217f88be2013b8
|
|
Revert "copy android_filesystem_capability locally"
This reverts commit 11a4704f7e55c67a2ca81121036e82a7154f25d6.
Change-Id: I36402fb6d89a04ae025f83bab4363a2d9e499281
|
|
Change-Id: Ic4ffe8860256c2297d2fde87bc46fbebb26ac0c2
|
|
The new RQBalance-PowerHAL deprecates configuration through
Android properties.
Now the configuration is parsed from an XML, located at
/system/etc/rqbalance_config.xml.
Change-Id: Iebc85a4f420e9b471139063a03a3831f95be5e28
|
|
- Used snd_soc_msm_Taiko (from Honami WCD9320) config file for old audio
HAL as reference for ACDB IDs
- Fixed some ACDB IDs for speaker outputs, everything that Honami uses
as 14 for us it's 15.
- Updated some alias from our mixer_paths.xml
- Reverted back to original bt-sco acdbid.
- Deleted Speaker-Safe, for us, it's Speaker-protected- ID's are good.
Change-Id: Id6fb72cc32ba9a3afcc5a54914844a86efe21156
|
|
* usb otg storage path was uncorrect for N.
Change-Id: Ie191cb07aeab43ea27fdc9eedec1fb65bd39e164
|
|
* Enable fluence: Fixes Stereo audio recording and in-call low mic
sensitivity
* Add HFP and BLE declarations for Bluetooth Audio.
* Removed Voicecomm since it's not used by CAF8974 audio hal.
Change-Id: Ic1f02216da27ec87c739a9cd3b54cc46f63c02b7
|
|
At the moment only Volume + worked but it lowers down the volume.
This fix restores complete functionality of the in-line headset buttons
(+ volume, - volume, play/pause button)
Change-Id: I0cfdd38dcb1028b64efaff0cc53dec8da830c6b3
|
|
Change-Id: Ib447fe82f308dd8a2ff73237ec3725b69aad235c
|
|
- Used snd_soc_msm_Taiko (from Honami WCD9320) config file for old audio
HAL as reference for ACDB IDs
Change-Id: If6c937dff12765bd7d8b8a9bd88c43e9bb87339b
|
|
Change-Id: I25428cd0900493823e7afa9328886cb0ce6caa05
|
|
* Use one line per shim to make maintenance easiest.
Conflicts:
rootdir/init.camera.rc
Change-Id: I1e25ecbddcd676c263c6a3b9307406e5097be7f2
|
|
* The auto backup at 3.AM fail because of missing permissions.
Change-Id: I8db1471e7a7dd1426ebbf3a5269b35d30d215e75
|
|
* Hardware keystore rely on qseecomd,
wait for it before using keystore.
Change-Id: I23705050a7a9ea9efa58bbf6c3e9aea9b15c6c44
|
|
-Fixes audio playback and volume with bluetooth headsets
-Sound is not flat in playback anymore
-"Beat" like sound is gone now
Change-Id: I3eb5a3e97cd376d1955f94a8eb63c1406b6b430c
|
|
We measure this item in true/false
Change-Id: Ie306ee3ff19ea64e176c2b29e9a4102430c29cc3
|
|
* Credmgrdinit script had some mistakes. Adjust
policies according to the new changes.
Change-Id: I6e865f756225a1d8decdbc1833123dced27e75de
|
|
Log improvements:
* new: added logfile (/cache/credmgr.log) instead of logwrapper
for better debugging
* new: more verbose logging
* fix: replaced toybox cmds with generic ones (so either ramdisk
or system can provide them)
Known issue:
* Can cause a black screen issue
Change-Id: I19710e8b6e45d4fa9397575f4f9f31b7727e4468
|
|
* Some services where start with incorrect rights.
* Create tee /data folder
* Keystore and qseecomd are needed for encryption/decryption
and shouldnot be restarted at framework changes.
Change-Id: If1c7c0ba3602dccb8cb65dbe9193221438785c0a
|
|
Change-Id: I078576ec339adcf935b47034f6c5faed429339f5
|
|
-Remove unused Tag Viewer app.
-Declare that shinano platform nfc supports Mifare Classic tags
Change-Id: I2b357321b3fe0c4da0ea89461182fb81dcea07ea
|
|
Change-Id: Ifcdb96e84d3ae8d00870e08d3da107a2f1b2ce4e
|
|
* No policies added or removed, only moved between
files to improve se linux management.
Change-Id: Ifa7cb9ce84f75c99f2d96dd0a71ced26f2580ba9
|
|
|
|
|
|
* Some services where started too early and caused unexpected
behaviors. Encrypt the device broke ril, sometimes initcredmgrd
start after other criticals services.
Moves those services to late_start class.
* Remove uneeded class on disabled services.
Change-Id: I5a0b7175ee3c73b62ed79adf0c35d0ea8c4f0844
|
|
* Service class is useless when service is disabled.
Change-Id: Ifde5e4d6f40fa73c2489f846675ceaf40142b7e4
|
|
|
|
Change-Id: I55ee6c9fccaab9d098c2fe63cea44d1cdac96596
|
|
* Resolves issues with bluetooth audio in calls.
* Taken from sonyxperiadev; see:
https://github.com/sonyxperiadev/device-sony-kitakami/blob/6033244701b60757df33f22b8b6b83815a11ea54/bluetooth/vnd_generic.txt
Change-Id: I8f4f186f2d257bab7242961d542e5724761472a3
|
|
Change-Id: Ie787ea3176946be817135beaad4572d38eb47d4a
|
|
Our camera doesn't appear to support this with logcat showing a warning
Change-Id: If64d8adec1908a2d00cff9e5b1a836cf3c09af76
|
|
Change-Id: I541e952928cb591eaf1996f3f97ea78ba8b2a156
|
|
Change-Id: I551aa98fdd5a7dd9ebe93701e89f82dd6064e6f1
|
|
Change-Id: I1bdee42245e2cbf22ff030e0879064880ba90c0c
|
|
|
|
Change-Id: I22ea6053be8b056804685ce83ccce43a7a2b6918
|
|
Bug: 28108983
Change-Id: Iab933217810fa92687e79992acdf023acdb6ad88
|
|
Bug: 27192644
Change-Id: I3a682a96bb14977678159c5bd6ee361b92763905
|
|
Change-Id: Ic61014b8154bcdf6a9ffd29e7cffc76d9f0efa5e
|
|
Change-Id: I18e303a17c42657c522229889a8ac541e1eddc05
|
|
Change-Id: Ide69b8924d76154e6a7bfeb7c4b86d58568f2b5b
|
|
* Boot hang for 20 sec. The tmpfs idd wait arg cause this.
Remove it.
Change-Id: I1be8efcb2c3d5b21ccd2e2ef10d25ce108587a08
|
|
Change-Id: Ib1dd6500f4b275faff6bdddb5bee67a36614bb89
|
|
from logcat:
04-03 22:02:59.074 W/Thread-8(4352): type=1400 audit(0.0:7): avc: denied { unlink } for name="log" dev="mmcblk0p24" ino=6403 scontext=u:r:system_server:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
04-03 22:02:59.074 W/Thread-8(4352): type=1400 audit(0.0:8): avc: denied { unlink } for name=".version" dev="mmcblk0p24" ino=6404 scontext=u:r:system_server:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
04-03 22:02:59.074 W/Thread-8(4352): type=1400 audit(0.0:9): avc: denied { unlink } for name="recovery.fstab" dev="mmcblk0p24" ino=6405 scontext=u:r:system_server:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
04-03 22:02:59.074 W/Thread-8(4352): type=1400 audit(0.0:10): avc: denied { unlink } for name="storage.fstab" dev="mmcblk0p24" ino=6406 scontext=u:r:system_server:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
04-03 22:02:59.074 W/Thread-8(4352): type=1400 audit(0.0:11): avc: denied { unlink } for name="intent" dev="mmcblk0p24" ino=6408 scontext=u:r:system_server:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
04-03 21:05:50.971 E/SELinux (317): avc: denied { find } for service=account pid=7644 uid=0 scontext=u:r:sudaemon:s0 tcontext=u:object_r:account_service:s0 tclass=service_manager permissive=1
04-03 21:05:50.973 E/SELinux (317): avc: denied { find } for service=user pid=7644 uid=0 scontext=u:r:sudaemon:s0 tcontext=u:object_r:user_service:s0 tclass=service_manager permissive=1
04-03 21:05:50.973 E/SELinux (317): avc: denied { find } for service=package pid=7644 uid=0 scontext=u:r:sudaemon:s0 tcontext=u:object_r:package_service:s0 tclass=service_manager permissive=1
Change-Id: If600b150dd004a5f7fb5336b1ab6b76e2a6ec5b3
|
|
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
|
|
* 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
|
|
Change-Id: I3b0381ac48b1615f73c11cbb9a76e0aee0aeb9ee
|
|
* 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
|
|
Change-Id: I077ea42e4dfa42010d78ce34b2b0888a4f1a316b
|
|
* The binary is located into root ramdisk with the new vendor repo.
Change-Id: I7cccab1de1507575e9e63573924a74ad2aefa630
|
|
Change-Id: I6832b287ae28e634b68abdcc31970e4520203291
|