Commit Graph

381 Commits

Author SHA1 Message Date
Jesse Chan af3ec2c192 msm8976-common: fingerprint: convert % completed to remaining
Change-Id: I93c48b6ede1baaa1d645b6f1f16549cce5290847
2017-01-27 12:34:12 +01:00
Christopher R. Palmer 070b2ac16f msm8976-common: Add a dummy fingerprint wrapper HAL
All this does is delegate all the requests to the real HAL.

Change-Id: Ie45ae24448fb989c45bba10f12128d20b71e1d34
2017-01-27 11:33:42 +00:00
LuK1337 3299edeaa1 msm8976-common: camera: Always set KEY_PREVIEW_FPS_RANGE to 7500,30000
* Camera2 sets it to 30000,30000 and that makes the images really dark.

Change-Id: Icc0eeccdfd16c21ac97d095066b7b14f9bb1a916
2017-01-27 12:24:49 +01:00
Gabriele M fa96152a8c msm8976-common: Increase camera open retries
Cameras can be opened only after the camera server has configured
them. Since Android N the framework usually tries to access the
cameras to determine whether they have a flashlight too early,
causing the flashlight tile not to work. Try to open the camera
a few times before giving up to prevent this.

Note that mm-qcamera-daemon already tries to open the camera twice
with 20ms of delay, so the total number of attempts is two times
the one defined here.

Change-Id: I664fdfdafe0829719fcd0a6a31057d761e4f07d9
2017-01-27 12:24:49 +01:00
Luca Stefani ffe2d49318 msm8976-common: Add and build camera wrapper
Change-Id: I8fe4654da53306e981dc6a2884194f6f4d38c144
2017-01-27 12:24:49 +01:00
LuK1337 c6e3c46f2d msm8976-common: Add gts28vewifi to build guard
Change-Id: I03c54d0237a29d493b3d52aad8e309224d79b1dd
2017-01-26 23:35:59 +00:00
LuK1337 cf1eeb237b msm8976-common: Set proper fingerprint sensor location
Change-Id: Iee8d9753f62754c1a96c98d07ffba6debd1d2d73
2017-01-27 00:28:05 +01:00
LuK1337 6f9f705ab5 msm8976-common: Set proper fingerprintd policies
Change-Id: I981bf82c93fd33e439d6ea6e305860ba841a5f91
2017-01-26 22:18:44 +00:00
Luca Stefani e601781cca msm8976-common: Cleanup bt
* We don't need hci_qcomm_init and init.qcom.bt.sh
* Remove hci_filter_root
* Update sysfs permissions from bullhead

Change-Id: Id0b80f188cc3dd6d3595f5216bb3b927179afced
2017-01-26 22:36:58 +01:00
LuK1337 f91fd4cfea msm8976-common: Move ro.sf.hwrotation to the device
Change-Id: Idff742c072f582ae8900b340a19a5923cfef2454
2017-01-26 21:02:16 +01:00
Luca Stefani ac88e7e1c9 msm8976-common: Enable audio track offload by default
Change-Id: I9c72e08ce888bc3d33bb6396c7cb1a9e2d6de18a
2017-01-26 19:08:58 +01:00
Luca Stefani 26ee1b72a7 msm8976-common: Enable 16/24bit PCM offload
Change-Id: Ia548409cb56eaf694d6eff9f2a3cc00da73d35f0
2017-01-26 18:06:30 +00:00
Luca Stefani 44df3ee7f5 msm8976-common: overlay: Cleanup
* These are the default values

Change-Id: I8283f5d98cfaaa0d6fee05ef7559acddf6966730
2017-01-26 17:59:27 +00:00
Luca Stefani 983cf16b10 msm8976-common: overlay: Increase maximum users
Change-Id: I44d4a149c1dae37da6eb901ea84e9e47bdd30a45
2017-01-26 17:59:27 +00:00
Luca Stefani 9bbb9de6c0 msm8976-common: Remove low_latency permission
* The latency is about 80ms *sigh*

Change-Id: I89d16d24d465c951ad8a747bcd7a5671c529eec9
2017-01-26 16:14:27 +00:00
LuK1337 8d6b8e7ad7 msm8976-common: Build libc_shim from source
Change-Id: I040c3023f81322140d153cb14be9578457777ac2
2017-01-26 08:35:43 +00:00
LuK1337 b47a1280b6 msm8976-common: Let netd access wifi_efs_file
* Needed for setting proper MAC Address.

Change-Id: I2f7e5f0a69fe8995a4257fb915e488f96bff9888
2017-01-25 21:02:53 +01:00
Ethan Chen 34a3a44989 msm8976-common: Update audio_platform_info for extended format
* XML for everyone!!

Change-Id: Ibf32c987d3360adfd5658befa91a1c5c166b43d4
2017-01-25 19:22:56 +01:00
Luca Stefani 3f8b1d2bbd msm8976-common: Remove unsupported audio devices
Change-Id: Iec5e9cf9dd201888269a3b9d75cc9816cc406f29
2017-01-25 17:50:24 +00:00
LuK1337 dac915b953 msm8976-common: Add speaker-mic mixer path
Change-Id: Id2adea5d0cdddf16fc9c8a4f2547c9082b371d6e
2017-01-25 16:32:59 +01:00
LuK1337 9e4f0712e7 msm8976-common: Use pad partition for /misc
Change-Id: Id7e10528f157e36004b75dd1e491560e991b4099
2017-01-25 15:13:23 +01:00
Luca Stefani 039887cb7c msm8976-common: Remove btnvtool
* We don't read bt address from NV

Change-Id: I4f2eeeed70ae830937c4d4c86fe5665dac0f8c99
2017-01-25 11:23:35 +01:00
Luca Stefani 8b2ee5853b msm8976-common: Add common bluetooth props
Change-Id: I9c35cb2435ef73a28c2954bbefc61446a8ea53f1
2017-01-25 11:16:47 +01:00
Michael Bestas c77c730833 msm8976-common: Cleanup init.qcom.bt.sh
* Remove bluez support
* Bring closer to AOSP devices' script

Change-Id: I6eeb69487b02070a84bc2958fb8a939a684ab915
2017-01-25 11:11:55 +01:00
Luca Stefani af675f8719 msm8976-common: Remove QMI data configs
* dsi_config belongs to libdsi_netctrl.so
  -> We don't ship libdsi_netctrl.so
* qmi_config.xml belongs to qmuxd
  -> We don't ship qmuxd
* netmgr_config.xml belongs to netmgrd
  -> We don't ship netmgrd

Change-Id: Ia275aaff8f5f0d9f4bbeec6605e3d781a37b8e23
2017-01-24 17:49:55 +01:00
Luca Stefani 32d36b8d3b msm8976-common: Remove unused wifi firmware blobs 2017-01-24 16:19:39 +01:00
Luca Stefani 21581fccbd msm8976-common: sepolicy: Allow mediacodec to open venus firmware 2017-01-24 15:43:01 +01:00
Luca Stefani b3ba0dc076 msm8976-common: media: Include ffmpeg 2017-01-24 15:40:50 +01:00
Luca Stefani a6620cf68a msm8976-common: audio: Add voice-rec mic path 2017-01-24 15:30:52 +01:00
Luca Stefani d5ca132842 msm8976-common: Fix WCNSS config paths 2017-01-24 12:48:56 +01:00
LuK1337 4023be8cc7 Revert "Revert "msm8976-common: Disable fingerprint for now""
This reverts commit 3491bc986a.
2017-01-24 11:58:15 +01:00
LuK1337 832fb18aa3 msm8976-common: Set modem subsystem restart_level to RELATED 2017-01-24 11:53:12 +01:00
Luca Stefani 07fbd607a0 msm8976-common: Allow fpd to save biometrics data 2017-01-24 11:33:26 +01:00
Luca Stefani e54be9f2df msm8976-common: Allow fpd to read the fp firmware 2017-01-24 11:21:25 +01:00
Luca Stefani 34fdaad90f msm8976-common: gps: etc: Remove net_raw group 2017-01-24 11:18:27 +01:00
Luca Stefani ca6d34be97 msm8976-common: Allow fpd to search fp firmware 2017-01-24 11:18:27 +01:00
Luca Stefani f6599a6485 msm8976-common: Add FP selinux rules 2017-01-24 11:18:26 +01:00
Luca Stefani 891c848ea6 msm8976-common: Allow timekeep to search time_data_file dir 2017-01-24 11:03:35 +01:00
Christopher N. Hesse db35502548 msm8976-common: Enable freeform windows
Change-Id: I039afd04d17f87f2b3070d915c8243210f075df4
2017-01-24 10:33:01 +01:00
LuK1337 d7f40aef88 msm8976-common: Add voice-rec-dmic-ef mixer path 2017-01-24 01:09:00 +01:00
LuK1337 4953025f08 msm8976-common: Don't build AdvancedDisplay 2017-01-24 00:58:35 +01:00
LuK1337 d6e5b98985 msm8976-common: Set persist.audio.fluence.voicerec to false 2017-01-24 00:14:38 +01:00
LuK1337 64fa6b1420 msm8976-common: Disable fluence
* We only have a single microphone.
2017-01-24 00:09:12 +01:00
LuK1337 ffd034cd40 msm8976-common: Remove net_admin, net_raw groups from loc_launcher and pm-service 2017-01-23 22:42:57 +01:00
Luca Stefani a560f4d542 msm8976-common: Add FP perms 2017-01-23 22:32:33 +01:00
Luca Stefani 3491bc986a Revert "msm8976-common: Disable fingerprint for now"
This reverts commit bf60f71066.
2017-01-23 22:13:46 +01:00
LuK1337 f175f6bc68 msm8976-common: Make it enforcing :3 2017-01-23 17:34:56 +01:00
LuK1337 06e899f6c8 msm8976-common: Add ueventd rule for FRP partition 2017-01-23 14:08:14 +01:00
LuK1337 1a1aee683d msm8976-common: Switch to TimeKeep 2017-01-23 13:40:35 +01:00
LuK1337 4b809e4a3e msm8976-common: Fix init.qcom.rc intendation 2017-01-23 12:59:02 +01:00