Commit Graph

510 Commits

Author SHA1 Message Date
LuK1337 7fa07d07b1 msm8976-common: Fix a typo in proprietary-files.txt
Change-Id: Iff187099d5015f47bce638587c835592c98448c4
2017-02-17 18:59:00 +01:00
LuK1337 64fd514d2c msm8976-common: Allow rmt_storage to use dac_override, net_raw capabilities
Change-Id: Ie5e567c96278711ca5c84258ecb4602aa2fafcc3
2017-02-15 21:06:05 +01:00
Dan Pasanen b5007f2fee msm8976-common: sepolicy: rfs_access needs net_raw
* This is no longer in device/qcom/sepolicy

Change-Id: I18509dfe367e0328fd6372d0ad80114e3e4ed42d
2017-02-15 19:16:19 +01:00
Jesse Chan 1f9474ebc5 msm8976-common: Compile fingerprint components
Change-Id: Ic62e32cb3610e18070692d5ff6f5667858b50aa5
2017-02-09 17:33:01 +00:00
LuK1337 412a9081ea msm8976-common: Remove fingerprint wrapper HAL
Change-Id: I5d3f4604d9e50b09bb18c65af0c3f8f0ee387a6a
2017-02-09 17:32:22 +00:00
LuK1337 c2d9166d30 msm8976-common: Use /fota for uncrypt partition
* Should have done that earlier.

Change-Id: Ib74f059066c65eb1d3905a9bbd29b553dae34b3e
2017-02-08 17:23:47 +01:00
LuK1337 6bb95407f5 msm8976-common: Move power profile overlay out of common tree
Change-Id: I5b520d54f6fbbf927e129d95c26558c5a99cd41d
2017-02-06 00:37:44 +01:00
LuK1337 685ca72a3d msm8976-common: Move config_animateScreenLights overlay out of common tree
Change-Id: Icf66e0b4e76e7e1655e228212c38fc7d6f11437f
2017-02-06 00:20:31 +01:00
LuK1337 070cd34492 msm8976-common: Remove useless debugging writes
* We don't set those:
[    6.369929]  [3:           init:    1] init: write: cannot expand '${persist.sys.ssr.enable_debug}'
[    6.370081]  [3:           init:    1] init: write: cannot expand '${persist.sys.mba_boot_timeout}'
[    6.370234]  [3:           init:    1] init: write: cannot expand '${persist.sys.modem_auth_timeout}'
[    6.370381]  [3:           init:    1] init: write: cannot expand '${persist.sys.modem_dbg_cfg}'
[    6.370535]  [3:           init:    1] init: write: cannot expand '${persist.sys.pil_proxy_timeout}'
[    6.370688]  [3:           init:    1] init: write: cannot expand '${persist.sys.external}'

Change-Id: I64bfe89618744dd33a8173eaab1a4613208fc74b
2017-02-05 21:13:05 +01:00
LuK1337 a92512c87c msm8976-common: Remove BOARD_CUSTOM_BOOTIMG from boardconfig
Change-Id: Id749cb0d405ebcef9fad0dd679fba8499b3a3f87
2017-02-05 01:12:20 +01:00
LuK1337 6fdbb587ef msm8976-common: Remove packages/resources/devicesettings from dependencies
Change-Id: I64495cd036c82eb90e3c4f8edf406ab6d4e51424
2017-02-05 00:57:15 +01:00
Kevin F. Haggerty e075010c73 msm8976-common: Quiet "KERNEL IS NOT SEANDROID ENFORCING" boot message
Change-Id: Ic26c2d15f9e4b95c2cf006b222a0e0018a20258a
2017-02-04 20:00:17 +01:00
Arne Coucheron 7863596495 msm8976-common: Allow init to write in debugfs
avc: denied { write } for name="tracing_on" dev="debugfs" ino=3203 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

Change-Id: Ic4150d4a932e33124d760fce360c1ac042ed1387
2017-02-03 18:12:26 +01:00
LuK1337 d08ada9a36 msm8976-common: Clean up IIO permissions
* Remove stuff that is being denied by SELinux
* Get rid of weird Samsung's intendation

Change-Id: I23c868db3d7a1d53323acb2b6780e12f8bbc2e70
2017-02-03 18:08:09 +01:00
LuK1337 dc7fe24c4c msm8976-common: Allow system_server to `search` /efs
* Allows acceleration sensor to look for calibration
  file even if it's not there :^)

Change-Id: I891a610b31e4450278da22d29ff69dff8e07372d
2017-02-03 15:41:56 +01:00
Luca Stefani 8b0db50e14 msm8976-common: Create ramdisk symlinks & folders at build-time
* Create dsp, efs, persist and modem folders
* Symlink bt_firmware and tombstones

Change-Id: I6b67e15e9cbde875f564bcb72f024ce9ce5e0ccf
2017-01-31 14:54:48 +00:00
LuK1337 4c9e5136be msm8976-common: Move mixer paths to device
Change-Id: Icfad0e3b5f6716cdbecc72950cb8d50b441c3451
2017-01-31 14:52:34 +00:00
LuK1337 0766e3c885 msm8976-common: Use VoIP paths for microphone
Change-Id: Id39320e498926f75eca41c43425dc47b654456b5
2017-01-30 23:56:00 +01:00
LuK1337 8e602084bd msm8976-common: Remove SND_DEVICE_IN_VOICE_REC_HEADSET_MIC alias
* 01-30 23:35:06.525   390   390 E platform_info: process_device_name: Device SND_DEVICE_IN_VOICE_REC_HEADSET_MIC in platform info xml not found, no alias set!

Change-Id: I65dd50b0f0722ec3cbf0d40a950299780ad47e94
2017-01-30 23:39:04 +01:00
LuK1337 8b89356ad6 msm8976-common: Add VoIP translation mixer paths
Change-Id: I8a0eb6541682afc04ee713e57594b2253bc012f9
2017-01-30 23:26:13 +01:00
LuK1337 bddbfffe92 msm8976-common: Enable AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY
Change-Id: I3aafaf54a00fa3d495f6e9aa30b40c113b0f3e7f
2017-01-30 19:32:14 +01:00
Rudolf Tammekivi 8388cd11a3 msm8976-common: Fix Wi-Fi Direct/P2P
Change-Id: I8837bbf5693ac520446993eb6474f53f2d58b98f
2017-01-29 18:39:19 +01:00
LuK1337 36d2777c8c Revert "msm8976-common: Don't build AdvancedDisplay"
This reverts commit 4953025f08.

Change-Id: Ie7a2842db29a91f3a4e1dd5bc071894e47bef7de
2017-01-28 18:29:54 +01:00
LuK1337 e915126ec6 msm8976-common: Build camera wrapper
Change-Id: Ifbefd245990b8b671b71657368217854264eb969
2017-01-28 11:37:28 +01:00
Matt Filetto dc737a4a0e msm8976-common: Add PowerHAL extension for touch screen & keys
* Add extension to disable touchkeys and touchscreen
  when display blank is triggered

Change-Id: I83060caa6b894fc3b80e5907acc3c483fc6176cb
2017-01-28 00:28:39 +01:00
LuK1337 78f9ea72da msm8976-common: Use stock ACDB IDs
Change-Id: I097c677541e186522db3b5da21d8f1cd25d96501
2017-01-27 22:49:51 +01:00
Jesse Chan 9a442ba434 msm8976-common: limit the number of fingerprints to 4
* FP trustlet limits the number to 4.
* framework-level limitation is also needed
  or FP trustlet would perform incorrectly after enroll more than 4 fingerprints.

Change-Id: I6bfe835e113adc001c4eb3d98a2a937019e1927a
2017-01-27 18:23:13 +01:00
Luca Stefani a39c7a7973 msm8976-common: overlay: Disable doze
* The display started in doze mode can't change the brightness 
  afterwards

Change-Id: I6caa50ff6a01e57c91b92bdf1417ecfc631d06ae
2017-01-27 15:23:54 +00:00
LuK1337 1dfa316616 msm8976-common: Reenable fingerprint
Change-Id: Ic65f7c6cab4a89edaaf34454abadf7f43a2d9a33
2017-01-27 12:34:26 +01:00
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