Commit graph

46 commits

Author SHA1 Message Date
LuK1337
044ba4df05 sm8350-common: rootdir: Strip out unnecessary SKU customization
I'd rather never wake up to wake_up_samurai.ogg.

Change-Id: Id52e643546b2e3e0a3eab8690188004c7a2386df
2021-06-01 23:23:38 +01:00
LuK1337
fc371392fe sm8350-common: Set sys.usb.controller while in recovery
Change-Id: I019236408bb481cfac51f089aaeccd49b609e8b2
2021-06-01 23:23:38 +01:00
Jack Pham
1cdeaf4f5e sm8350-common: init.recovery.qcom.rc: Force USB to peripheral mode
On some newer platforms USB relies on PMIC to notify it of
cable connection status, but the PMIC driver has relocated
to ADSP FW. Since ADSP is not expected to be loaded in
recovery or fastbootd mode, USB may not get notified and
hence won't start up. Force the USB to start in peripheral
mode since the whole purpose of recovery/fastbootd is to
interact with a USB connection anyhow.

Currently the command assumes that there is a sysfs "mode"
param located at /sys/class/udc/${ro.boot.usbcontroller}/device/..
which is true for dwc3-msm based driver on most QC SoCs.

Change-Id: I5f7a01defdf987dbf4bd48f77bc70344c212a623
2021-06-01 23:23:38 +01:00
Bruno Martins
b2e66f9cc7 sm8350-common: Update init scripts from OOS 11.2.5.5
Change-Id: Ia4e798ae3c5cbdb7246669b833c75e7058efa523
2021-06-01 21:43:16 +01:00
Bruno Martins
7c98da93ba sm8350-common: Remove useless or unused init scripts
Change-Id: I579319d620b14aab0decd49587d58a20262576ae
2021-06-01 17:40:16 +01:00
Bruno Martins
f9ba3937a7 sm8350-common: Import common fstab from OOS
Change-Id: I30d05c1b4f02137a109e30ffd491435acf0b3df3
2021-06-01 11:29:04 +02:00
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
LuK1337
2ed8019dd4 sm8250-common: Import config/script changes from OOS 11.0.4.4
Change-Id: I90d3f654f18d90d25f7b2321dbfebfecc79ee958
2021-02-08 20:12:21 +01:00
Alexander Koskovich
dba70894ea sm8250-common: Set gain of vibrator to 0x55 on boot
* Seems better than the default of 0x80, vibrator is
   a bit too strong by default.

Change-Id: I676b74aac3cbc1900c73b3236879479e8ecfca00
2021-01-22 15:45:53 +01:00
LuK1337
122c9902a1 sm8250-common: Include device specific init recovery rc script
Change-Id: I7750ff22585a7b760d8b4d6f771fd7fe22db1e2e
2021-01-11 18:38:02 +01:00
LuK1337
5df4fcc558 sm8250-common: Set SSR level to RELATED
Change-Id: I15871af43e62936ffde5e86aa1c0630bff909237
2021-01-08 14:31:38 +01:00
LuK1337
08b67c59e8 sm8250-common: Restrict DSDS to intl variants
Change-Id: I8858ca1ce05a3354acea8f322bb34cc2192d81f5
2021-01-08 14:31:38 +01:00
Jimmy Chen
b7b61bb523 sm8250-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-01-08 14:31:38 +01:00
LuK1337
c28ecd7875 sm8250-common: Decommonize fstab
* 8T uses different metadata/userdata encryption algo.

Change-Id: Ie19487d4b4efe17540dd8c018537d7e222f64abd
2021-01-08 14:31:38 +01:00
LuK1337
1cb8d81976 sm8250-common: Import vendor scripts from stock
* And discard our old ones while at it.

Change-Id: Ibe6d792d0c881b984d5ab0cfeb84473726d3303a
2021-01-06 11:18:27 +01:00
LuK1337
5f2520dda6 sm8250-common: Pull fstab from OOS 11
Change-Id: I883ed1451329e5e2254aab19d2499fac04d4a82e
2020-11-27 12:35:42 +01:00
LuK1337
5d377ba4d6 sm8250-common: Update blobs from OOS11 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
5dbfcf2f2b sm8250-common: Update disabled services list 2020-06-27 00:17:13 +02:00
LuK1337
98a0defd38 sdm845-common -> sm8250-common 2020-06-27 00:17:12 +02:00
LuK1337
4d3629f4a2 sdm845-common: Switch to common usb-in-recovery configuration
Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a
2020-05-26 17:52:07 +02:00
LuK1337
98fbd09d7d sdm845-common: Relocate dashd to /system/bin
Change-Id: Ief585959ebef9461bd62b26039997ae3c438c1d5
2020-04-03 00:38:29 +02: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
Marko Man
6ed3939611 sdm845-common: Disable oneplus_brain_service
Change-Id: Ia617de3cfabbfec7e7cf83c502c15eb10053076d
2019-12-20 16:05:35 +01:00
Danny Baumann
f403d143e7 sdm845-common: Disable CVP HAL
This isn't used on SDM845 and spams logs as it continues to try
to start.

Change-Id: I16928663232d5b4e9d005c60dfe080f9cc596d32
2019-12-20 16:05:35 +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
08c38d9b1f sdm845-common: Move bind mounts to post-fs
* Also bind mount regular audio_policy_configuration.xml

Change-Id: I979bb500ab36ec93e20a97cae7ac930c988b9a6d
2019-09-12 19:11:57 +02:00
LuK1337
56b2b205a4 sdm845-common: Let system read and write to FRP block device
* No clue why this is needed but ok.

Change-Id: Ib40ab18e42ced8995f57c9d0a8e1a6decdc7f146
2019-09-12 19:11:57 +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
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
922b46d9f1 sdm845-common: Build only 64bit power hal
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
2018-12-23 20:20:00 +01:00
Luca Stefani
066ab27624 sdm845-common: Switch back to vendor HWComposer
* Starting from Open Beta 6 we can use OP HAL

Change-Id: I11f62cee8bd512c928724f385b4851b0504b753d
2018-12-23 20:17:39 +01:00
Luca Stefani
376b9bba32 sdm845-common: Update custom HWComposer for P
* CAF tag: LA.UM.7.3.r1-05500-sdm845.0
* Remove support for color profiles
  -> https://gist.github.com/d70bc5984b0212bb76da91fc472ecf82

Change-Id: I064a92e870899f4dd7254a13d4ba5c39d3acfda9
2018-10-27 15:25:56 +02:00
LuK1337
1272127b9a sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00
Luca Stefani
7bd8d2a26a sdm845-common: Update extra rootdir folders/symlinks for P
* Also update fstab.qcom to match these changes

Change-Id: I860bdec8a28b210a6bb2f155acce4bae18922e36
2018-10-14 14:26:51 +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
LuK1337
3ee06defb7 sdm845-common: Fix nothing being shown during offmode charging
Disable initial blank, and set a default brightness that can be used by
kernel to be written to panel when it's re-enabled.

Change-Id: I35fbd0bc7e816a8833cbeda145415db4fe521adb
2018-07-26 09:08:30 +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
Danny Baumann
c162e21253 sdm845-common: Add support for display modes and HBM
Change-Id: Ic93612e6ffeb0103778bd05bfd1c2921e433cd9f
2018-07-20 13:37:35 +02:00
Danny Baumann
10c61538af sdm845-common: Add support for custom hwcomposer
The one in the vendor partition has broken color transformation.

Change-Id: I93e989af5573902eb7013656268e3298cba6c232
2018-07-20 12:26:22 +02:00
Luca Stefani
924e50ddc2 sdm845-common: Add power hal
Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
2018-07-19 22:13:43 +02:00
Joey Rizzoli
de7a524f4b sdm845-common: Add touchscreen gestures lineagehw
Change-Id: I40a656e90f0b6f2b4ae6b596d4c28cc383b7c9fa
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2018-07-12 15:25:59 +02:00
Danny Baumann
89be260049 sdm845-common: Disable factory HAL service
This one apparently is present in older versions of the vendor
partition. Stop it as it can't load properly and we don't need it
anyway.

Change-Id: Ie88dbdff34072c128bd815cff4f546a742a71fd0
2018-07-07 21:12:11 +02:00
LuK1337
b251bc22ad sdm845-common: Add dashd
Change-Id: I3afeaf04892ed031dbf3715edd37919d8d398e22
2018-07-07 18:44:54 +02:00
LuK1337
adf9bfbe4e sdm845-common: Add recovery support
Change-Id: Id44d9793e0ea5fd1359f661ec6a9a1784514dbd2
2018-07-07 18:44:54 +02:00
LuK1337
02a9fcb3e4 sdm845-common: Initial commit
Change-Id: I317c72bd943457c95d2b2c2c80ac0163c9f76a93
2018-07-07 18:44:53 +02:00