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
Chandu Dyavanapelli
d7383e5556
sm7250-common: prop: Update props from LA.UM.9.12.r1-13300-SMxx50.QSSI12.0
...
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com >
2023-01-05 22:30:13 +05:30
dev-harsh1998
e421d0844d
sm7250-common: Enable HWUI_COMPILE_FOR_PERF
...
* activates few optimizing compiler flags for HWUI
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:30:04 +05:30
TheCrazyLex
dc78aae9b5
sm8250-common: wifi: Improve 5GHz AP selection preference
...
* Implement a smarter system on whether to connect to the
provided 2Ghz or 5Ghz network.
Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com >
Signed-off-by: drkphnx <dark.phnx12@gmail.com >
2023-01-05 22:29:45 +05:30
aswin7469
6cb8811cbd
sm8250-common: Enable haptic feedback on text selection/insertion
...
Signed-off-by: drkphnx <dark.phnx12@gmail.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:29:18 +05:30
mukesh22584
7e9632b5e6
sm7250-common: overlay: Exempt cne from location indicators
...
- CNE isn't suspicious, So hide privacy indicators for this app.
Signed-off-by: drkphnx <dark.phnx12@gmail.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:29:10 +05:30
Sandeep-FED
b8ea694219
sm7250-common:overlay: Allow more cached apps in the background
...
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:29:03 +05:30
Chiawei Wang
1f0ced70f0
sm7250-common: Add the customized max cached processes number
...
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: Iad6ea04fe2cc7223168d2753e53949394056540a
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:28:50 +05:30
Santiago Seifert
87e5d81407
sm7250-common: Unpin updatable-media from memory
...
Bug: 214499288
Change-Id: If523b95d295feba8f0de0ae85a1b3c2985dbbfbc
Test: Presubmit
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:28:42 +05:30
aswin7469
8f94637235
sm7250-common: cleanup aosp Codec2 modules
...
* we switched to QTI Codec2 HAL
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:28:23 +05:30
aswin7469
b8df5084a8
sm7250-common: remove GCamGO
...
This reverts commit b5ab9eb2478b1586866f4cb6a5c045f6f117a439.
2023-01-05 22:28:14 +05:30
jjpprrrr
88153d8d8c
sm7250-common: build libdisplayconfig.system.qti for QCOM WFD
...
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com >
2023-01-05 22:25:45 +05:30
Keertesh
ff1a2d137b
sm7250-common: Build libqdMetaData.system
...
*needed by libwfdmmsrc_system.so
*F linker : CANNOT LINK EXECUTABLE "/system_ext/bin/wfdservice": library "libqdMetaData.system.so" not found: needed by /system_ext/lib/libwfdmmsrc_system.so in namespace (default)
2023-01-05 22:25:35 +05:30
Juhyung Park
cdc530b446
sm7250-common: sepolicy: label /proc/sys/vm/rswappiness
...
My kernel uses rswappiness
Change-Id: I3894163a83da0981c7ca4c214375bee4bc4912fd
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:25:28 +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
alk3pInjection
67c70612ba
sm7250-common: Sync props for Gcam
...
Extracted from https://f.celsoazevedo.com/file/cfiles/gcm1/Aux_Mod_V2.1-signed.zip
Change-Id: I1e5a670b26079e9ab20d57d1287a26085f9fa6b2
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:25:15 +05:30
aswin7469
b01c825b8f
sm7250-common: allow hal_sensors_default to access QCOM diag port
...
* denied { read write } for name="diag" dev="tmpfs" ino=26705 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:vendor_diag_device:s0 tclass=chr_file permissive=0
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:25:01 +05:30
Kevin F. Haggerty
b5646bb2a9
sm7250-common: Sepolicy: Allow system_app to read /proc/pagetypeinfo
...
avc: denied { read } for name="pagetypeinfo" dev="proc" ino=4026543033
scontext=u:r:system_app:s0 tcontext=u:object_r:proc_pagetypeinfo:s0
tclass=file permissive=0
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:24:47 +05:30
Ivan Vecera
bc4bd12a9d
sm7250-common: sepolicy allow system_app to access zram sysfs nodes
...
04-22 09:15:37.459 19569 19569 I auditd : type=1400 audit(0.0:570): avc: denied { search } for comm="pool-2-thread-1" name="zram0" dev="sysfs" ino=48559 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir permissive=0
04-22 09:15:37.459 19569 19569 I auditd : type=1400 audit(0.0:571): avc: denied { search } for comm="pool-2-thread-1" name="zram0" dev="sysfs" ino=48559 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir permissive=0
Change-Id: Ide9b1a9488b26fa69e7a2c8e73a8e657c8b28beb
Signed-off-by: Ivan Vecera <ivan@cera.cz >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:23:40 +05:30
Jaegeuk Kim
c194818165
sm7250-common: sepolicy: Allow ioctl to zram_swap for performance
...
This fixes permission denied when setting F2FS_PIN_FILE.
[ 46.726131] init: [libfs_mgr]Failed to set pin_file for f2fs: /data/per_boot/zram_swap: Permission denied
[ 46.726151] init: [libfs_mgr]Failure of zram backing device file for '/dev/block/zram0'
[ 46.726341] type=1400 audit(1601025878.312:17): avc: denied { ioctl } for comm="init" path="/data/per_boot/zram_swap" dev="dm-9" ino=4868 ioctlcmd=0xf50d scontext=u:r:init:s0 tcontext=u:object_r:per_boot_file:s0 tclass=file permissive=0
Bug: 169311165
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com >
Change-Id: I982f70556284ac55d659bae6aff93b84d71e67f0
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:21:46 +05:30
Mimi Wu
fa6ee90f23
sm7250-common: sepolicy: Modify sepolicy for toolbox to rm -rf /data/per_boot
...
type=1400 audit(1581489923.612:571): avc: denied { getattr } for comm="rm" path="/data/per_boot" dev="dm-9" ino=4577 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
type=1400 audit(1581489923.612:572): avc: denied { read } for comm="rm" name="per_boot" dev="dm-9" ino=4577 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
type=1400 audit(1581489923.612:573): avc: denied { open } for comm="rm" path="/data/per_boot" dev="dm-9" ino=4577 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
type=1400 audit(1581489923.616:574): avc: denied { getattr } for comm="rm" path="/data/per_boot/ft09,GYyRLUL4NXv4BjupD" dev="dm-9" ino=4578 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=file permissive=1
type=1400 audit(1581489923.616:575): avc: denied { write } for comm="rm" name="per_boot" dev="dm-9" ino=4577 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
type=1400 audit(1581489923.616:576): avc: denied { remove_name } for comm="rm" name="ft09,GYyRLUL4NXv4BjupD" dev="dm-9" ino=4578 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
type=1400 audit(1581489923.619:577): avc: denied { unlink } for comm="rm" name="ft09,GYyRLUL4NXv4BjupD" dev="dm-9" ino=4578 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=file permissive=1
type=1400 audit(1581489923.656:578): avc: denied { rmdir } for comm="rm" name="per_boot" dev="dm-9" ino=4577 scontext=u:r:toolbox:s0 tcontext=u:object_r:per_boot_file:s0 tclass=dir permissive=1
Bug: 147469156
Test: flash full build and find avc errors gone
Change-Id: I22706c63fb13ea2aae0cd9fe8b92edc578fd459e
Signed-off-by: Mimi Wu <mimiwu@google.com >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:19:07 +05:30
Mimi Wu
e8c93af4e7
sm7250-common: sepolicy: Add sepolicy for kernel to access /data/per_boot/zram_swap
...
type=1400 audit(1581485243.256:88): avc: denied { read } for comm="loop29" path="/data/per_boot/zram_swap" dev="dm-9" ino=9820 scontext=u:r:kernel:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
Bug: 147469156
Test: flash full build and find avc errors gone
Change-Id: I48d7684ce3b4ca1ada81011b1cab21007c758ba5
Signed-off-by: Mimi Wu <mimiwu@google.com >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:18:57 +05:30
Wei Wang
71f489e89a
sm7250-common: Remove zram cold page writeback file
...
Bug: 140879284
Test: boot
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:17:48 +05:30
Minchan Kim
7233137d2c
sm7250-common: Enable zram writeback
...
This is a squash of:
Author: Minchan Kim <minchan@google.com >
Date: Mon Oct 14 14:22:45 2019 -0700
Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com >
Author: Minchan Kim <minchan@google.com >
Date: Tue Nov 26 06:48:48 2019 -0800
fstab: correct zram parameter names
There was a report about warning during boot.
[libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
[libfs_mgr]Warning: unknown flag: zram_loopback_size=512M
We don't use zram_loopback_path any longer so remove it.
We also changed zram_loopback_size with zram_backingdev_size so correct it.
Bug: 145116439
Test: confirmed there is no warning and zram backing device was configured
Change-Id: Iafb355999cd4995f34bf67259a8a39993ae8326a
Signed-off-by: Minchan Kim <minchan@google.com >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:17:42 +05:30
Wei Wang
84cab334a0
sm7250-common: rootdir: tune zram performance
...
-Set zram disksize so it can successfully initialize
-Set max_comp_streams to num of cores since upstream also moves this to percpu.
-Switch to LZ4 for better overall performance
-Set page-cluster to 0 as the incremental cost of reading 1 page at a time is negligible for zram
Bug: 38249616
Test: boot and run zram-perf showing better performance
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:17:35 +05:30
Alexander Koskovich
06271a9453
sm7250-common: prop: Enable Qualcomm TrueWireless™ Stereo
...
Signed-off-by: drkphnx <dark.phnx12@gmail.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:17:26 +05:30
Sandeep-FED
a5ad9ba746
sm7250-common: overlay: Set config_screen_off_delay to 0
...
* Fixed screen flicker when turn off screen with aod on.
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:17:01 +05:30
Sandeep-FED
d48200c6b3
sm7250-common: Disable gms components for better WiFi speeds
...
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:15:59 +05:30
Sandeep-FED
851c6c07c0
sm7250-common:Reduce screenshot delay to 0
...
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:12:54 +05:30
revolwoc
850517a1cd
sm7250-common:address some denials
...
Signed-off-by: revolwoc <imsakshisharma04@gmail.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:11:07 +05:30
aswin7469
c7d4e3aca5
sm7250-common: cleanup common.mk
...
* remove disabled oneplus-fwk (no longer needed as we using bsp blobs)
* add back boot-jars for wfdcommon and telephony (needed Soong fix has been added in rom side)
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:10:57 +05:30
aswin7469
5041396400
sm7250-common: update sepolicy for oneplus cam
...
* follow up to dc211612076fc67fc9ec4b90672ed3df9246d997
* update to account for rom side change
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:10:40 +05:30
Sandeep-FED
db5bc9f371
sm7250-common: add blur
...
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
Signed-off-by: Sandeep P S <sandymankara11@gmail.com >
2023-01-05 22:06:47 +05:30
XtremeOrnob
1fdeaa22bd
sm7250-common: Enable USB Debugging at boot
...
* Because we get bootloops often, so we really need this ._.
* ADB is insecure as well
Signed-off-by: XtremeOrnob <xtreme.ornob@gmail.com >
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:05:51 +05:30
aswin7469
85af0ed4f9
sm7250-common: suppress ims logspam
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:05:44 +05:30
Sean Callanan
0fab25f460
sm7250-common: BoardConfig: Enable Gralloc ion sync
...
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked. Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.
Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:05:35 +05:30
Panchajanya1999
8b796843a4
sm7250-common: wifi: Disable WLAN Firmware loggings
...
firmware loggings are not at all necessary for general development.
Change-Id: I111943a641670ea052f68148103e377771297d77
Signed-off-by: Sherif Rahim <sherifrahim2001@gmail.com >
2023-01-05 22:05:25 +05:30
kerneltoast
7a6d81a214
sm7250-common: wifi: Relax WiFi re-association RSSI thresholds
...
Change-Id: I073f08eed69b2454e1fd2350c8f7e8bb8983641b
2023-01-05 22:03:27 +05:30
aswin7469
32b187fe0a
sm7250-common: increase max visible notification icons
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:03:11 +05:30
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
Hikari-no-Tenshi
c8c777a3b8
sm7250-common: prop: Add OnePlus device specific props
...
* Some proprietary blobs may check them
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev >
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com >
Signed-off-by: firebird11 <hbgassel@gmail.com >
Change-Id: Ia5fab66dc63d2be92a3c56fff2765884ee2fa9e6
Signed-off-by: firebird11 <hbgassel@gmail.com >
2023-01-05 22:02:50 +05:30
firebird11
6a4d745e08
sm7250-common: Force OPCam into MultiResolution
...
Change-Id: I0dab3866240489e047fea1bb8822935fb456b951
Signed-off-by: firebird11 <hbgassel@gmail.com >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:02:42 +05:30
chandu078
db9de2f501
sm7250-common: rro_overlays: Add RRO for OnePlusCamera & OnePlusGallery
...
Signed-off-by: firebird11 <hbgassel@gmail.com >
Change-Id: If69bfa3d417207b36bf08a0e87f8ab97916f0fbe
Signed-off-by: c79 <vexed@riseup.net >
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:02:30 +05:30
LuK1337
46aec432c2
sm7250-common: sepolicy: Allow camera to access vendor_xdsp_device
...
Change-Id: I59ee2b5a5f37690c2d55f8ee3acb0cdfb127e678
Signed-off-by: c79 <vexed@riseup.net >
2023-01-05 22:02:12 +05:30
c79
7a7402c347
sm7250-common: apply oneplus edits to media_profiles
...
* fixes slow mo in oneplus camera
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 22:01:56 +05:30
Sultan Alsawaf
85325d4286
sm7250-common: Force triple frame buffers
...
* This yields significantly reduced jitter and doesn't have any measurable impact on latency.
Signed-off-by: DarkAngelGR <asavvo01@gmail.com >
2023-01-05 22:01:43 +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
Kyle Harrison
1d85ec5fc3
sm7250-common: props: Don't write binary XML files
...
- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml
- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.
Signed-off-by: aswin7469 <aswinas@pixysos.com >
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com >
2023-01-05 22:01:08 +05:30
Diab Neiroukh
ae9d6537b9
sm7250-common: wifi: Enable channel bonding for Wi-Fi 4.
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 21:59:49 +05:30
Alastair Donaldson
a96406d9f8
sm7250-common: Add Vulkan dEQP feature flags
...
Change-Id: I55c39601687ab66745c17598ec08e3eee12bf84c
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2023-01-05 21:59:35 +05:30