Commit Graph

41 Commits

Author SHA1 Message Date
TheScarastic
8924d1d3b4 rootdir: Disable few debug services
Change-Id: I7de43f5849a97ee2b1894caeec1c7ecbb5df2777
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:47:56 +05:30
Gabriel Biren
413ca1aa8b sm7250-common: roodir: Update init script to use Supplicant AIDL interface.
Bug: 196235436
Bug: 213271543
Test: m
Change-Id: I35ffd5390ba835e3b35e55ea38b27f1ab924b291
2023-01-05 22:45:41 +05:30
Subash Abhinov Kasiviswanathan
ef19130635 sm7250-common: init: Remove unused tcp property change actions
Remove the events triggered on the setting of
ro.data.large_tcp_window_size and sys.sysctl.tcp_adv_win_scale.

These events are no longer used and are also resulting in
unneccessary selinux denials.

CRs-Fixed: 2947333
Change-Id: I92bc474b7168729eebb56cab0868dbd1cbbebf04
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:31:05 +05:30
aswin7469
0bc8972eea sm7250-common: rootdir: cleanup unused oneplus stuffs
* im sorry custom kernels

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:30:20 +05:30
Ziqi Chen
3caf4a5a8b sm7250-common: init: Tuning UFS clkgate and ah8 during boot time
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.

Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:25:22 +05:30
Ethan Chen
3c4a667f46 sm7250-common: rootdir: Remove unnecessary QTI logkit directories
* We do not use logkit
2023-01-05 22:01:18 +05:30
srfarias
241e47a986 sm7250-common: add nodes to hide Magisk in banking apps
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 20:37:55 +05:30
Midas Chien
78fe83ac2b sm7250-common: enable idle timer with kernel support
Enable display kernel driver idle timer, which allows dropping to lower
refresh rate earlier and without additional overhead.

Bug: 160682800
Test: track idle timer through systrace
Test: zone test, scrolling
Change-Id: I6e82b58026d7b31cf0cabc0db7bb6277f6731d12
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:53:09 +00:00
xdevs23
cc422f3fab sm7250-common: rootdir: Hide Magisk Better
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:30:51 +00:00
Jake Weinstein
19b73df61d sm7250-common: Set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

Change-Id: Ida1a64ff2ea99973f2e2a0fa7ca062c75b7c4831
2022-04-01 16:51:29 +05:30
Daniel Jacob Chittoor
4ff4462ed7 sm7250-common: rootdir: Remove unused FTM init scripts
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com>
2022-03-07 13:13:47 +00:00
Alexander Koskovich
21d8a5fa11 sm7250-common: init: Don't mount TraceFS twice.
* AOSP already mounts TraceFS in system init, so mounting it twice
   causes SEPolicy denials. See the comments in this change.

   https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195

Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2022-02-12 13:21:42 +05:30
LuK1337
da0be68686 sm7250-common: Fix host_init_verifier errors
Change-Id: I6d6ca2bd57ef36916e17cc91fea13839d03d02a8
2021-09-26 09:20:40 +02:00
KakatkarAkshay
981ad16ac0 sm7250-common: Update init scripts from OnePlusNordCE OxygenOS 11.0.4.4 2021-09-26 09:20:40 +02:00
Bruno Martins
70e9d3f059 sm7250-common: Remove useless or unused init scripts
Change-Id: I579319d620b14aab0decd49587d58a20262576ae
2021-09-26 09:20:40 +02: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
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
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
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
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
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