Pranav Vashi
38fcb7fc6d
sm7250-common: Use proper device name for USB mount
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Change-Id: Ib555205b589e017fbca3119b11495280e72536a8
Signed-off-by: firebird11 <hbgassel@gmail.com >
2023-01-05 22:03:00 +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
Adithya R
40d78cd290
sm7250-common: rootdir: Disable cnss_diag service
...
* useless for production builds, runs in background and
sometimes spams logcat
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 21:58:04 +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
KakatkarAkshay
f8329112dc
Revert "sm7250-common: Enable color mode & set display calibration on color mode settings"
...
This reverts commit 84e9206b3a .
2022-03-28 23:51:39 +05:30
Daniel Jacob Chittoor
7525d5841a
sm7250-common: disable cnss-diag
2022-03-07 13:13:47 +00:00
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
KakatkarAkshay
c39d21ce33
sm7250-common: Remove op1 and op2 partitions
2022-03-07 13:13:47 +00:00
KakatkarAkshay
4afb835916
sm7250-common: Commonize fstab and encryption props
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
Jake Weinstein
84e9206b3a
sm7250-common: Enable color mode & set display calibration on color mode settings
...
* sRGB on Natural and Boosted
Unmanaged on Saturated
P3 on Automatic
* Set color mode to Natural by default
* Adjust display composition color spaces
Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2021-10-10 15:55:40 +02:00
LuK1337
a8cdb505a2
sm7250-common: Set vendor.boot.rf_version=${ro.boot.rf_version} too
...
liboemnvbk_img_helper uses it, no clue what for but it doesn't hurt.
Change-Id: Ic2869ae3deb81bf35ca873e4ddebb89810e5c9b8
2021-10-10 15:55:40 +02:00
LuK1337
6fa63e1690
sm7250-common: Set vendor props for RF and PRJ version
...
These props are used by cnss-daemon in order to load
proper bdwlan firmware. Apparently these should be
set automatically via some QMI/RIL binary but I don't
really care enough to figure out as to how that works.
Change-Id: I06effa06321e9e00994ce7918c14bbc929d3d1cd
2021-10-10 15:55:40 +02:00
Wang Han
e1f4ee1aed
sm7250-common: rootdir: ueventd: Don't modify permissions of /dev/hw_random
...
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:
W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)
AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.
c78a463e87
Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2021-10-10 15:55:38 +02:00
KakatkarAkshay
fc45f13046
sm7250-common: Load QCACLD module during boot event trigger
...
Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com >
2021-09-26 09:21:30 +02:00
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
LuK1337
a866a168f7
sm8250-common: rootdir: Strip out unnecessary SKU customization
...
I'd rather never wake up to wake_up_samurai.ogg.
Change-Id: Id52e643546b2e3e0a3eab8690188004c7a2386df
2021-06-21 09:25:54 +02:00
Anish Pratheepan
f5b4164b68
sm8250-common: Pull init.oem.rc changes from OOS 11.0.6.6
...
Change-Id: Ib091133baaebc703fc4905255a12b6694304edb2
2021-06-04 21:38:32 +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
Han Wang
bb58c0049f
sdm845-common: Remove LOCAL_MODULE_TAGS := eng usage
...
Change-Id: I6dfb66adf5dcf5ecd650f192935818ff624de2e8
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