Commit Graph

235 Commits

Author SHA1 Message Date
Luca Stefani 9fe4b83c29 msm8976-common: Add libcamera_client shim
Change-Id: I4cc4eb52bc41e5174342e5571f096edb0e5a5c75
2018-01-19 00:15:57 +01:00
Luca Stefani 313cbb8738 msm8916-common: gps: Add get_process_name shim
Change-Id: I10ce654b14866d41610c7e4098df9691b983d515
2018-01-19 00:15:57 +01:00
Kevin Tang 1614ac4d55 msm8976-common: gps: LOC logging macro changes
The current logging macro always uses LOGE, which is
confusing to external developer looking at our logs.
Also changed LOC_LOGx definition to follow the same
syntax as that of LOC_LOGX.

Bug: 29499503
CRs-Fixed: 1113702

Test: marlin

Change-Id: I803233a9d0b241bf9aeb2ee0d4bd2e7cc52ed75b
Merged-In: I803233a9d0b241bf9aeb2ee0d4bd2e7cc52ed75b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2018-01-19 00:15:57 +01:00
Dimitry Ivanov c04ca9cbbc msm8976-common: gps: Add missing liblog dependency
Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Icd2f1ae735e263296a5c6705c7b528b00aa1a94a
(cherry picked from commit 532f3378c214c3134afcb5bcc7c19ce047ec02ac)
2018-01-19 00:15:57 +01:00
LuK1337 6b136126b2 msm8976-common: Kill FRP support
* For some reason Samsung thought that it'd be fun
  if FRP lock blocked custom binaries lol.

Change-Id: Id43cf9657cb468fe8feea93ec4c012630fb2c8e6
2018-01-19 00:14:23 +01:00
LuK1337 565a0e40b5 msm8976-common: Change default WiFi country code to '00'
* Germany wasn't cool enough due to lack of higher
  5GHz band ;_;

Change-Id: Icf68fac5240854abecc2533f38042e32beec58a4
2017-12-19 01:19:24 +01:00
LuK1337 e07934c165 msm8976-common: Set default WiFi country code to Germany
* WiFi only devices are unable to automatically
  figure out the country code thus setting Germany
  as default should allow us to get upper range of
  5GHz without having to manually select WiFi
  region in Settings. Also Samsung doesn't store
  the country code anywhere and I'm not willing to
  parse bootloader versions as that's just silly.

Change-Id: I2dca161dd24389a6377802c757fe4ebe48c66e9a
2017-11-22 03:11:05 +01:00
LuK1337 2e81a29097 msm8976-common: Get rid of stagefright hacks
* No longer necessary since we have 7.0 blobs.

Change-Id: I5e687b7d99c7a9eea31101ec9ec4c345f5c8dbed
2017-09-06 14:53:37 +02:00
LuK1337 d267827d8e msm8976-common: Use monotonic time for video source
* Apparently 7.0 blobs are new enough to use
  monotonice time.

Change-Id: I2f6ed9dedd1a6fe71b2ccdd326df07bb52a7d859
2017-08-17 20:57:33 +02:00
Bruno Martins 6d58bd23b5 msm8976-common: Grant rmt_storage proper unix perms
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.

avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0

Add wakelock group to access:
/sys/power/wake_lock
-rw-rw----  1 radio  wakelock 4096 2017-06-28 00:37 wake_unlock

Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
2017-07-04 18:40:56 +02:00
Bruno Martins 8919aa301b msm8976-common: Kill Gello
Change-Id: I9da0945473d7173ee1242a8510e4ee3d262d6b2b
2017-05-14 18:17:11 +00:00
LuK1337 21b3f183be msm8976-common: Move sensors HAL out of common tree
* gts210vewifi isn't exactly compatible with gts28vewifi.

Change-Id: Id8bf8e0b3bb22c4ff36bcd910446dcf55a15d863
2017-05-11 18:50:10 +00:00
LuK1337 022b32e4bf msm8976-common: Bump opengles version to 3.2
Change-Id: I9571e990d31611a0f134a3760a786cf7993110c5
2017-04-26 14:26:39 +02:00
LuK1337 b2f7745ad4 msm8976-common: Update blobs from T813XXU2BQD1
Change-Id: I3e3938773fddd721129a85552caec00f3ab8b17c
2017-04-23 22:44:42 +02:00
Luca Stefani 783dc8e1bb msm8976-common: Notify client when fp cancelling succeeded
Change-Id: I49bb7ef9c46134562da55ac2a1c53363704ed7d6
2017-04-17 19:08:07 +02:00
LuK1337 389a1668d0 msm8976-common: Remove 48kHz support from surround_sound mixer
* It doesn't work.

Change-Id: I53c3329353f19ffcdd13673c0b9bd614d254015c
2017-03-26 22:51:06 +02:00
LuK1337 864759e373 msm8976-common: Add bootloader assert
* Updated blobs require new firmware.

Change-Id: I73588865646da3a962fd98309ff5710cbdee085c
2017-03-25 11:08:18 +00:00
LuK1337 031dd6668e msm8976-common: Use rec-main-mic for camcorder mic
Change-Id: Idb819fbeebd1353cf0ff4c52086acc778a16e0d9
2017-03-25 11:41:43 +01:00
LuK1337 d51753474b msm8976-common: Remove dirac audio effect property
* We don't have it.

Change-Id: I830c0e680a832cfb9cd02af0a7b01bf8a422568f
2017-03-24 21:25:51 +01:00
LuK1337 2a0e5c2b13 msm8976-common: One slash is enough
Change-Id: I2ab1a81eb2e98a968fcc525348ad14820573d3fa
2017-03-07 11:21:09 +01:00
LuK1337 65c386d2b7 msm8976-common: Add fingerprint_error_vendor overlay
* For some reason samsung sends 1001 fingerprint error id
  and that makes stuff crash cause of missing / null error message.
  Adding dummy message fixes that, althought I am still unsure what
  1001 is supposed to mean.

Change-Id: Ib6e70fb73ec7bc018454347b1ab6b72768927c9b
2017-03-05 13:55:19 +01:00
LuK1337 ebf3a97e75 msm8976-common: Remove power HAL extension
Change-Id: Iccbd6c8ba9e9939ab038985527784fc1e723f325
2017-02-27 14:24:18 +01:00
LuK1337 8b57914e03 msm8976-common: Remove duplicated config_wifiDisplaySupportsProtectedBuffers
Change-Id: I6ca75bdbf53a81033bb0101039144930a6ae6e0e
2017-02-25 17:57:29 +01:00
LuK1337 9dad50bef5 msm8976-common: Enable WiFi Display
Change-Id: I80a4371f35ff9bff947bf48929013e9d8018a1a7
2017-02-25 17:41:55 +01:00
LuK1337 f3b7cf6f64 msm8976-common: Update liblights header
Change-Id: I35a8b12693812ab81dfda086ae12ddac5ca07f3b
2017-02-24 15:43:07 +01:00
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