summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-06-14shinano-common: sensors: Add correct sensor propsxkeita
We're using stock sensors.msm8974.so, so prop values for sensors are the same as in stock .291 Change-Id: I0628bf0049d75023d20b752f5bd63ef50bcbf3b5
2017-06-14shinano-common: prop: Update shinano-common propsxkeita
- Removed props that are shared with msm8974-common - Removed deprecated/unused props - Added qcom cne prop for broadcom wifi board Change-Id: I8c338833456604e59d66f4a1ead6600fe5139f35
2017-06-14shinano-common: Add missing TARGET_USES_MEDIA_EXTENSIONS flagxkeita
Change-Id: I66ec2c421a0e9ca4bbadc4681a2bc4814b6688ef
2017-06-14shinano-common: use bfq iosched after boot completetomascus
Change-Id: I1dbbaf3f0f4da8c7bff31210d43b27fb6f138b39
2017-06-14shinano-common: move iosched setting to init.qcom.powertomascus
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
2017-06-13shinano-common: Enable Ambient Displayxkeita
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
2017-06-11shinano-common: audio: Change Audio HAL rulesnailyk-fr
- Import stock rules Change-Id: I801cf8fbf4b2c356bce5dae86077d3f2633aba89
2017-06-11shinano-common: BT: vnd.txt solve newline problemnailyk-fr
* Parsing vnd_shinano.txt at built time cause an error because of missing newline. Change-Id: Ia737877f6a2bcc9fea61deac2f55399d202afc94
2017-06-10shinano-common: media: move codecs configurationOndrej Hlavac
as it was removed from common Change-Id: I7aa29ebde5b188df170b51b3a48b00eddbdd6dcf
2017-06-06shinano-common: Fix Bluetooth Voice Callsxkeita
- Remove BTA timer delay and IOCTL false flag - Hardcode vnd_shinano.txt path Change-Id: Ife81025c3ce0ac535bdf0883ecd225422e7ea80c
2017-06-06shinano-common: move Snap overlay to msm8974-commontomascus
Change-Id: I498ba8ad9ec5f2f0d7ce5fd887217f88be2013b8
2017-06-05shinano-common: move android_filesystem_capability to msm8974-commontomascus
Revert "copy android_filesystem_capability locally" This reverts commit 11a4704f7e55c67a2ca81121036e82a7154f25d6. Change-Id: I36402fb6d89a04ae025f83bab4363a2d9e499281
2017-06-01shinano-common: move common props to msm8974-commontomascus
Change-Id: Ic4ffe8860256c2297d2fde87bc46fbebb26ac0c2
2017-05-31Migrate to new RQBalance-PowerHAL's XML configurationAngelo G. Del Regno
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
2017-05-28shinano-common: audio: audio_platform_config importsxkeita
- 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
2017-05-20shinano-common: fstab: Correct USB sticks pathnailyk-fr
* usb otg storage path was uncorrect for N. Change-Id: Ie191cb07aeab43ea27fdc9eedec1fb65bd39e164
2017-05-20shinano-common: prop: Change audio settingsnailyk-fr
* 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
2017-05-20shinano: buttons: Fix headset buttons layoutxkeita
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
2017-05-20shinano-common: remove deprecated device_perms.hSteven Lay
Change-Id: Ib447fe82f308dd8a2ff73237ec3725b69aad235c
2017-05-20[WIP] shinano-common: audio: audio_platform_config importsxkeita
- Used snd_soc_msm_Taiko (from Honami WCD9320) config file for old audio HAL as reference for ACDB IDs Change-Id: If6c937dff12765bd7d8b8a9bd88c43e9bb87339b
2017-05-15shinano-common: remove old unused gps.confSteven Lay
Change-Id: I25428cd0900493823e7afa9328886cb0ce6caa05
2017-05-10shinano-common: init: Make export SHIM multilinesnailyk-fr
* Use one line per shim to make maintenance easiest. Conflicts: rootdir/init.camera.rc Change-Id: I1e25ecbddcd676c263c6a3b9307406e5097be7f2
2017-05-10shinano-common: spolicy: Add priv_app rightsnailyk-fr
* The auto backup at 3.AM fail because of missing permissions. Change-Id: I8db1471e7a7dd1426ebbf3a5269b35d30d215e75
2017-05-10shinano-common: build: Wait SEE for keystorenailyk-fr
* Hardware keystore rely on qseecomd, wait for it before using keystore. Change-Id: I23705050a7a9ea9efa58bbf6c3e9aea9b15c6c44
2017-05-10shinano: audio: Update acdb values for BT-SCO and BT-SCO-WB devicesxkeita
-Fixes audio playback and volume with bluetooth headsets -Sound is not flat in playback anymore -"Beat" like sound is gone now Change-Id: I3eb5a3e97cd376d1955f94a8eb63c1406b6b430c
2017-05-10shinano: audio: Fix audio.deep_buffer.media typoxkeita
We measure this item in true/false Change-Id: Ie306ee3ff19ea64e176c2b29e9a4102430c29cc3
2017-05-10shinano-common: sepolicy: Rework credmgr initnailyk-fr
* Credmgrdinit script had some mistakes. Adjust policies according to the new changes. Change-Id: I6e865f756225a1d8decdbc1833123dced27e75de
2017-05-10shinano-common: init: Correct credmgrd boot scriptnailyk-fr
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
2017-05-10shinano-common: init: Rework permissionsnailyk-fr
* 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
2017-05-10shinano-common: sepolicy: Solve encryptionnailyk-fr
Change-Id: I078576ec339adcf935b47034f6c5faed429339f5
2017-05-10shinano-common: build: Update NFC dependenciesnailyk-fr
-Remove unused Tag Viewer app. -Declare that shinano platform nfc supports Mifare Classic tags Change-Id: I2b357321b3fe0c4da0ea89461182fb81dcea07ea
2017-05-10shinano: Enable HD Voice codecMax Weffers
Change-Id: Ifcdb96e84d3ae8d00870e08d3da107a2f1b2ce4e
2017-05-01shinano-common: sepolicy: Reorganise policiesnailyk-fr
* No policies added or removed, only moved between files to improve se linux management. Change-Id: Ifa7cb9ce84f75c99f2d96dd0a71ced26f2580ba9
2017-05-01Merge "shinano-common: Snap: don't use OpenLegacy" into cm-14.1Steven Lay
2017-04-27Merge "shinano-common: contribute: Change gerrit URL" into cm-14.1Max Weffers
2017-04-27shinano-common: init: Reorder services startupnailyk-fr
* 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
2017-04-27shinano-common: init: Remove credmgrd classnailyk-fr
* Service class is useless when service is disabled. Change-Id: Ifde5e4d6f40fa73c2489f846675ceaf40142b7e4
2017-04-27Merge "shinano-common: Remove audio_platform_info unused devices." into cm-14.1Max Weffers
2017-04-27shinano: prop: Enable HDMI OutputMax Weffers
Change-Id: I55ee6c9fccaab9d098c2fe63cea44d1cdac96596
2017-04-27shinano-common: Add BT vendor configPekhterev Evgeny
* 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
2017-04-27shinano-common: bluetooth: Enable WBSPekhterev Evgeny
Change-Id: Ie787ea3176946be817135beaad4572d38eb47d4a
2017-04-25shinano-common: Snap: don't use OpenLegacytomascus
Our camera doesn't appear to support this with logcat showing a warning Change-Id: If64d8adec1908a2d00cff9e5b1a836cf3c09af76
2017-04-21shinano-common: init: Remove duplicate bugreportnailyk-fr
Change-Id: I541e952928cb591eaf1996f3f97ea78ba8b2a156
2017-04-21shinano-common: enable sdcardfstunturn
Change-Id: I551aa98fdd5a7dd9ebe93701e89f82dd6064e6f1
2017-04-21sepolicy: fix more scd denialstunturn
Change-Id: I1bdee42245e2cbf22ff030e0879064880ba90c0c
2017-04-21Merge "shinano-common: init: Remove unused mpdecision" into cm-14.1Max Weffers
2017-04-17shinano-common: contribute: Change gerrit URLnailyk-fr
Change-Id: I22ea6053be8b056804685ce83ccce43a7a2b6918
2017-04-17Delete /mnt/sdcard symlinkNick Kralevich
Bug: 28108983 Change-Id: Iab933217810fa92687e79992acdf023acdb6ad88
2017-04-17Delete dhcpcd init entries, since dhcpcd is no more.Lorenzo Colitti
Bug: 27192644 Change-Id: I3a682a96bb14977678159c5bd6ee361b92763905
2017-04-17shinano-common: Remove audio_platform_info unused devices.xkeitamon
Change-Id: Ic61014b8154bcdf6a9ffd29e7cffc76d9f0efa5e
2017-04-14shinano-common: init: Remove unused mpdecisionnailyk-fr
Change-Id: I18e303a17c42657c522229889a8ac541e1eddc05
2017-04-12shinano-common: clean up init scriptstunturn
Change-Id: Ide69b8924d76154e6a7bfeb7c4b86d58568f2b5b
2017-04-12shinano-common: fstab: Remove tmpfs waitnailyk-fr
* Boot hang for 20 sec. The tmpfs idd wait arg cause this. Remove it. Change-Id: I1be8efcb2c3d5b21ccd2e2ef10d25ce108587a08