Bruno Martins
410e7ff323
sm8350-common: Initial common device tree conversion
...
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
Hikari-no-Tenshi
756ac6b751
sm8250-common: fod: Remove no longer needed chown/chmod and sepolicy
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Id7d6c7e1196db020673ea92f691d93ca3511dcf4
2021-05-18 16:52:03 +02:00
LuK1337
1dc5f1546b
sm8250-common: sepolicy: Label op_charger
...
Health HAL wants to access it.
Change-Id: I07a8c11324c0a8b9bae6e7c027aa69df7ee5b7d1
2021-05-04 19:40:51 +02:00
LuK1337
de5498efab
sm8250-common: livedisplay: Rip out IDisplayModes
...
We are now using AOSP-ish display modes implementation.
Change-Id: Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
2021-04-27 09:35:23 +02:00
LuK1337
7432867822
sm8250-common: livedisplay: Implement IAntiFlicker interface
...
Change-Id: I1dbc6d8989a80fe7b06d4356aeb717417997a793
2021-04-09 12:09:28 +02:00
LuK1337
335e820c4c
sm8250-common: livedisplay: Uprev to 2.1
...
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2021-04-09 12:09:28 +02:00
LuK1337
5ae4426e8f
sm8250-common: sepolicy: Allow vendor_sensors to read project info
...
This is necessary so that SSC sensors HAL can
expose hw_id/project to sensor configs.
Change-Id: I9130ac5985c0924b01937ece15740d08e04d0bbf
2021-03-25 19:09:32 +01:00
LuK1337
c943073afe
sm8250-common: sepolicy: Remove init.te
...
How did that end up here???
Change-Id: I4ec4382f84e2e5f66a6779b5f5920511e09d8d84
2021-03-21 15:49:17 +01:00
LuK1337
dfc13143a3
sm8250-common: sepolicy: Label OEM /data top-level directories
...
Fixes boot up after booting once in permissive mode,
alternatively that could be fixed by removing mkdir
instructions in *.rc but I'd rather add couple SELinux
lines than diverge from stock scripts.
Change-Id: I32e4461745c6738a6c7579e5e93481d4186972f2
2021-03-12 00:15:28 +01:00
LuK1337
b710ebaaf3
sm8250-common: sepolicy: Remove commented out rules
...
Change-Id: I026d7f6f0185773d5aa8a5e0f53b70323551f5cf
2021-02-19 15:57:10 +01:00
LuK1337
d1d109c825
sm8250-common: Bring in TOF sensor HAL
...
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00
Hikari-no-Tenshi
19525f89df
sm8250-common: tri-state-key: Add hall sensor calibration support
...
Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb743e
2021-02-08 15:06:53 +01:00
LuK1337
2412a59d46
sm8250-common: tri-state-key: Relocate to /vendor
...
Change-Id: Ic70173b82ded0151e98fcfa4023b8a081cd67874
2021-02-08 14:59:28 +01:00
LuK1337
75c37b543c
sm8250-common: sepolicy: Label ro.gfx.driver.1
...
Change-Id: I56ea28752ab8a1ef489adc7ab6547e86dfc220ca
2021-01-23 20:38:10 +01:00
LuK1337
9e70d87ab6
sm8250-common: Add PowerOffAlarm app
...
* Blob has been modified to add back MS_IN_ONE_MIN offset.
Change-Id: Ib69b4e00794c5d094a5e95e84281f7db205d423f
2021-01-08 14:31:39 +01:00
LuK1337
f9c9767e3b
sm8250-common: sepolicy: Initial vendor sepolicy
...
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00
LuK1337
da018dd3c6
sm8250-common: Re:Start sepolicy
...
* Drop all old rules, but keep tri-state-key.
* Also introduce dashd/wlchgd domain as they are needed for seclabels.
Change-Id: I0a7121f51d106d927866aead746a49b3dea6a149
2021-01-06 18:47:30 +01:00
LuK1337
7e11aa53ca
sm8250-common: sepolicy: Label /dev/smcinvoke
...
* Fixes crashing vendor_feature_enabler...
Change-Id: Ib22fdcc399ec0d9b064c9817ebd2c7a76487538e
2020-11-28 01:40:10 +01:00
LuK1337
1e2926ee70
sm8250-common: sepolicy: Address vendor_qmipriod denials
...
* Since OnePlus is not releasing userdebug builds these rules
are not present in the vendor image.
Change-Id: Ib74bf928796cb75e3b17f0eaf872fa2126107c1d
2020-11-27 12:35:42 +01:00
LuK1337
be40ae3083
sm8250-common: Import and build QTI vibrator HAL
...
* The one in vendor requires some special OnePlus FWK bits.
Change-Id: I5d3be54b2aa3ab35d5a6f88b831ea6abbe8279c7
2020-11-23 15:10:40 +01:00
LuK1337
5d377ba4d6
sm8250-common: Update blobs from OOS11
2020-11-23 15:10:40 +01:00
LuK1337
0eacfc8f9e
sm8250-common: power: Rebase on LA.UM.9.12.r1-09000-SMxx50.0
2020-11-23 15:10:40 +01:00
LuK1337
a0d9c9cb9d
sm8250-common: Disable /odm overlays
...
* We don't want OnePlus overlays, instead we'll just
modify required modules manually.
2020-11-23 15:10:40 +01:00
LuK1337
b512e01c6d
sm8250-common: RIP custom lights HAL
...
* No longer needed, yay.
2020-11-23 15:10:40 +01:00
LuK1337
fe8c668a14
sm8250-common: sepolicy: hal_display_color -> vendor_hal_display_color
2020-11-23 15:10:40 +01:00
LuK1337
e38c6050a0
sm8250-common: sepolicy: Switch away from hal_attribute() macro
...
Change-Id: I0cf3c3e9ce42254915b142c10b846db6c7a52e63
2020-11-20 14:27:15 +01:00
Erfan Abdi
bda8e3ce5f
sm8250-common: Fix hbm node path for livedisplay
2020-08-27 15:11:49 +02:00
LuK1337
28e667380b
sm8250-common: Implement vendor.lineage.powershare@1.0 HAL
2020-07-07 13:16:33 +02:00
quark2323
59b31cc8a7
sm8250-common: Address backlight/scsi/thermal related denials in recovery
...
Change-Id: Iecfac8b7bd618a2dca32775709c608610c564835
2020-06-29 14:26:44 +02:00
quark2323
f7dab66f68
sm8250-common: Pull device/qcom/sepolicy rules for bootctrl/update_engine
...
Change-Id: Ia47d46e8e83562d905aeb51ce8318bee5d538701
2020-06-29 14:26:44 +02:00
LuK1337
6e2bca5af7
sm8250-common: livedisplay: Say hello to IDisplayModes ^.^
2020-06-27 00:17:27 +02:00
LuK1337
f03b5d364a
sm8250-common: livedisplay: Say hello to PictureAdjustment ^.^
2020-06-27 00:17:27 +02:00
LuK1337
6d9f90eb8a
sm8250-common: Drop /op_odm
2020-06-27 00:17:13 +02:00
LuK1337
e032e7cc78
sm8250-common: power: Rebase on LA.UM.8.12.r1-11900-sm8250.0
2020-06-27 00:17:13 +02:00
LuK1337
54b02a5e52
sm8250-common: sepolicy: Update genfscon paths
2020-06-27 00:17:13 +02:00
LuK1337
cdff2c5447
sm8250-common: Nuke pocketmode app
2020-06-27 00:17:13 +02:00
LuK1337
8e89dbf92a
sm8250-common: Move /dev/dri/card0 labeling to sepolicy/vendor
2020-06-27 00:17:13 +02:00
LuK1337
564f71535b
sm8250-common: Setup fastbootd
2020-06-27 00:17:13 +02:00
LuK1337
98a0defd38
sdm845-common -> sm8250-common
2020-06-27 00:17:12 +02:00
LuK1337
408d16c462
sdm845-common: sepolicy: Label /dev/dri/card0
...
* Since we aren't including device/qcom/sepolicy/.../vendor,
/dev/dri/card0 is labeled as u:object_r:device:s0 thus
recovery running in -user mode has no access to it.
Change-Id: Ie0b4b9ba04f85de9250e50d070940f0ea84335e8
2020-05-30 23:15:17 +02:00
LuK1337
c31ea05d44
sdm845-common: sepolicy: Allow init to setattr sysfs_fod
...
Change-Id: I7780438d8c98fa0fb48acd4b66e3519586a7f6e7
2020-05-28 22:29:29 +02:00
LuK1337
98fbd09d7d
sdm845-common: Relocate dashd to /system/bin
...
Change-Id: Ief585959ebef9461bd62b26039997ae3c438c1d5
2020-04-03 00:38:29 +02:00
LuK1337
bfb45b2176
sdm845-common: Label ssr related sysfs paths
...
Change-Id: I1e44f177cfae300eee275234234d3cf05a9f1963
2020-02-20 22:24:55 +01:00
LuK1337
263ce16c5f
sdm845-common: Disable OnePlus shape icon overlays
...
Change-Id: I1d6cbeeb728a40952673f18198e05295bd7cc1de
2020-02-07 13:57:31 +01:00
LuK1337
b8e72b1ff6
sdm845-common: sepolicy: Address init denials
...
Change-Id: Ib68ab9934cc3668eae004812c56692e2a5a010d2
2020-01-21 13:09:13 +01:00
LuK1337
ef511b13c1
sdm845-common: Update rootfs folders
...
Change-Id: Ib40fed6e74126090985ed7a755646851a97b7144
2019-12-20 17:47:47 +01:00
LuK1337
9fe3919db4
Revert "sdm845-common: sepolicy: Copy over public_vendor_default_prop rules from qcom sepolicy"
...
* No longer needed.
This reverts commit 8936a7fda0
.
Change-Id: I64783f95497f1e6ff181113b7b751bd51867bfc8
2019-12-20 17:47:47 +01:00
LuK1337
c18bdcef2d
sdm845-common: Drop qcacld bind mounts
...
* WiFi driver is now built-in.
Change-Id: If8d0489e851064838249f26e68f4bf5c58b1a97e
2019-12-20 17:47:47 +01:00
Danny Baumann
2a60f4b011
sdm845-common: Adapt to Lineage sepolicy changes
...
device/lineage/sepolicy now also covers the system variant of the trust
HAL, so we must remove the respective definitions to not create
duplicate labels.
Change-Id: I4e8642072bde3c17f91688cfd8c91ac9db9dcaf7
2019-11-19 12:34:40 +01:00
LuK1337
60d417a52f
sdm845-common: Start using vendor_overlay
...
* This lets us override files in /vendor without
relying on bind mounts ^.^
Change-Id: Ib0b173682a48836aeac97e2c3691176a44f13aab
2019-09-29 14:29:37 +02:00
LuK1337
b7127606f9
sdm845-common: Make SELinux great again!
...
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
2019-09-12 19:11:57 +02:00
LuK1337
b7b20467fa
sdm845-common: sepolicy: Add FOD related rules
...
Change-Id: I8fd985bf4eab1747351f9e717cc33fa6d5ab1517
2019-08-24 10:44:09 +02:00
LuK1337
d50c6c07ab
sdm845-common: sepolicy: Transition pocketmode app to its own domain
...
Change-Id: Id87176c2430e49851a6c65ab3490ad59ea1764a2
2019-06-19 19:24:59 +02:00
LuK1337
31600d1e52
sdm845-common: Write to otg_switch node in our own init script
...
* Not sure why but /vendor/etc/init/hw/init.oem.rc property
listeners aren't getting triggered thus I'm moving it here
as it's not really worth figuring out.
Change-Id: I5b3d17745fbc086fbd560cfc122dada7b4b98272
2019-06-18 03:25:47 +02:00
LuK1337
031d6ba43a
sdm845-common: Switch to common Trust HAL implementation
...
* OnePlus's OTG switch sysfs doesn't act the same as
'deny_new_usb' node breaking OTG entirely in some
situations.
Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
2019-06-18 03:25:14 +02:00
LuK1337
f0e0e8184e
sdm845-common: Move LiveDisplay HAL default profile path to /data/misc/display
...
* /data/display does not exist and we are unable to allow
writing to /data/system since it's a neverallow. Instead
we are creating /data/misc/display which coredomain is
allowed to write to.
Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
2019-06-17 14:23:00 +02:00
LuK1337
4875e13d6a
sdm845-common: sepolicy: Allow LiveDisplay HAL to write to its sysfs tunables
...
Change-Id: If0a80437547ee9e93312d26fbcdd8cbd901978e8
2019-06-17 14:20:51 +02:00
LuK1337
b687e1a04f
sdm845-common: sepolicy: Drop unnecessary HAL rules
...
* coredomain can write to binder device without granting anything.
Change-Id: Ie657d1e79702b557f00376d31f87d33e104eaf3d
2019-06-17 11:09:51 +02:00
LuK1337
b7d970b745
sdm845-common: sepolicy: Label OTG toggle property as public_vendor_default_prop
...
Change-Id: I435fca6127c01f9fe039b07adc3b3cb5a579b852
2019-03-20 20:24:33 +01:00
LuK1337
8936a7fda0
sdm845-common: sepolicy: Copy over public_vendor_default_prop rules from qcom sepolicy
...
* This addresses many denials introduced by enabling
vendor and system property isolation.
Change-Id: I24e04fc24be32698c7fdae4b28e90e9c20161a77
2019-03-03 22:17:12 +01:00
LuK1337
26cf3e0528
sdm845-common: sepolicy: Let vendor_init set vendor.camera.aux.packagelist
...
Change-Id: Iddfe1b10ae0bb1545db6bf6143d1a805d4025388
2019-03-03 22:16:48 +01:00
LuK1337
95e71a6898
sdm845-common: sepolicy: Label dsi-display@21 nodes
...
* These are used on fajita.
Change-Id: Id10c93947468df24a0d57beea47a56aa02ed9d93
2019-02-06 16:49:00 +01:00
Luca Stefani
53fecbf169
sdm845-common: Add and build trust HAL
...
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
2019-02-04 20:47:31 +01:00
Danny Baumann
e3ee15e8af
sdm845-common: Replace lineagehw implementation by HIDL services
...
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.
Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
2019-02-04 15:15:19 +01:00
Luca Stefani
eaa9bbce92
sdm845-common: Fix neverallows
...
Change-Id: I9a73f72b9c5c01afbaf6c2f960c7e25ca923d90c
2019-02-04 15:10:35 +01:00
Luca Stefani
922b46d9f1
sdm845-common: Build only 64bit power hal
...
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
2018-12-23 20:20:00 +01:00
Danny Baumann
b7f7fa2a3f
sdm845-common: Properly label display control files
...
Additionally, allow system_server access to them.
Change-Id: I12ceb3970460282d10b240e8a12207e2fd3ca882
2018-12-23 20:18:42 +01:00
Luca Stefani
790fc7c7d9
sdm845-common: Add missing power_supply genfscon rules
...
Change-Id: I8d6716ce364891483701f38bcc855d84249154fd
2018-10-14 14:34:09 +02:00
LuK1337
4b1d9b429e
sdm845-common: Allow appdomain to get vendor_camera_prop
...
* Some apps rely on this and won't work properly if they
can't read this property. See ~ Snapchat.
Change-Id: I737e28f038941e6d18b96ff512f29dbe0ad7b7e4
2018-10-14 14:34:09 +02:00
LuK1337
788f9b7522
sdm845-common: Allow hal_usb to read and write to sysfs_oem
...
Change-Id: I29187ad7844b953e63e356c405f4a18e107d902b
2018-10-14 14:34:09 +02:00
LuK1337
1272127b9a
sdm845-common: Bind mount our own audio policy configuration
...
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00
LuK1337
25e29b6576
sdm845-common: Allow system_app to getattr on sysfs_fpc_proximity
...
* Required for pocketmode app.
Change-Id: I085839a449529d12cb3911ebfbab97f8e1ef155f
2018-10-14 14:34:09 +02:00
LuK1337
6e02427beb
sdm845-common: Fix lights HAL denials
...
* OnePlus decided to label these sysfs_oem for some reason.
Change-Id: I4f9012d1583d5d9068751f273b3aa1537c2ce540
2018-10-14 14:28:13 +02:00
LuK1337
1207730aa7
sdm845-common: sepolicy: Allow init to chown/chmod on pseudo files in /sys
...
Change-Id: Idf9cca465b9db3cfc9714ce170c5bf965968f79d
2018-10-14 14:28:13 +02:00
LuK1337
4ed29836d8
sdm845-common: Import pocketmode app and SELinux rules for it
...
* Based off android_device_oneplus_msm8998-common pocketmode
app but without fpc10xx support and using actual OnePlus
pocketmode sensor.
Change-Id: I73eaf7e00afd08cdad71d323b6821eb8a0160cd2
2018-07-27 20:23:44 +02:00
Luca Stefani
9850301224
sdm845-common: Load qcacld from system
...
* This will implicitly add every kernel module to system
Change-Id: I1fb827536a7cd6cb0d46c9dbb78da4f19e80492b
2018-07-26 09:00:33 +02:00
Luca Stefani
924e50ddc2
sdm845-common: Add power hal
...
Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
2018-07-19 22:13:43 +02:00
Luca Stefani
89203b453e
sdm845-common: Add tri-state-key daemon
...
Change-Id: I796f3853ac87df78a0d1a890c663e312a0ee2d1b
2018-07-19 22:13:32 +02:00
LuK1337
118f6920b5
sdm845-common: Build our own lights HAL
...
Change-Id: I0e0d2db5c109778b86ab54101b70f0d3856195cb
2018-07-07 21:22:51 +02:00
LuK1337
02a9fcb3e4
sdm845-common: Initial commit
...
Change-Id: I317c72bd943457c95d2b2c2c80ac0163c9f76a93
2018-07-07 18:44:53 +02:00