Commit Graph

681 Commits

Author SHA1 Message Date
Arijit78
edc6da9909 stone: vendorsetup: Clone hardware/xiaomi from lineage org 2024-08-21 04:50:53 +00:00
Jake Weinstein
83ba86b56d stone: overlay: Shamelessly kang Nothing phone(1)'s carrierconfig
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:39:52 +00:00
kamikaonashi
cc2d7fea6d stone: update vendor patch
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:39:35 +00:00
kamikaonashi
a8461456cd stone: sepolicy: drop ims, iqtiradio
this caused splash loop

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:37:22 +00:00
AdarshGrewal
03f7a73702 stone: overlay: force 60hz on keyguard
* so this isnt being done for the intended reason this is being done to
 make sure a rr switch happens when we unlock, sometimes when the device
 wakes up its stuck at 30fps and isnt fixed till a rr change happens
 this is basically a way to force it to happen

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:37:07 +00:00
danielml
ec269b69d3 stone: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:36:51 +00:00
Yumi Yukimura
a7908c4cf5 stone: Switch to QTI Memtrack AIDL HAL
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:36:25 +00:00
kamikaonashi
8123fc9095 stone: libinit: update moon and sun fingerprints
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:36:07 +00:00
kamikaonashi
b0adec0b02 stone: update build fingerprint to 1.0.7.0 global
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-21 04:35:43 +00:00
kamikaonashi
1d5220a5c0 stone: rootdir: label IRQs correctly
209 = kgsl_3d0_irq
218 = msm_drm
2024-08-13 07:21:29 +00:00
Arijit78
a76b2e038f Revert "stone: Drop v4a"
This reverts commit b8c47516b5.
2024-08-07 09:34:46 +00:00
Arijit78
0d1c599597 Revert "stone: Don't track v4a"
This reverts commit dc5503034b.
2024-08-07 09:34:32 +00:00
Arijit78
cbfae0d1d9 Revert "stone: Add JamesDSP"
This reverts commit 0b05c09a19.
2024-08-07 09:34:18 +00:00
kamikaonashi
a139ac1674 stone: vintf: drop leftover perf and memory entries
not needed anymore

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:51:17 +00:00
EmanuelCN
feee889d61 stone: rootdir: Move KGSL and MSM_DRM to cores 6 and 7
By putting them on the bigger cores, they can be processed quicker,
resulting in improved responsiveness.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:51:00 +00:00
Arijit78
0b05c09a19 stone: Add JamesDSP
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:46:18 +00:00
Arijit78
dc5503034b stone: Don't track v4a 2024-08-06 18:38:04 +00:00
Arijit78
b8c47516b5 stone: Drop v4a
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:35:51 +00:00
kamikaonashi
e4cd053939 stone: configs: drop UclampTAMin and UclampFgMin
log spam goes brrrt

W libperfmgr: Failed to write to node: /dev/cpuctl/foreground/cpu.uclamp.min with value: 159, fd: 8
W libperfmgr: Failed to write to node: /dev/cpuctl/top-app/cpu.uclamp.min with value: 692, fd: 9

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:46:24 +00:00
Jake Weinstein
3eec417e9c stone: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:46:12 +00:00
kamikaonashi
802f4be700 stone: configs: move msm_irqbalance to device tree
move from vendor to device tree

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:59 +00:00
kamikaonashi
369705035a stone: configs: drop double_tap node from powerhint
we dont have this node

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:44 +00:00
Vivekachooz
ea09de0902 stone: configs: optimize powerhint for efficiency
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:27 +00:00
Rafiester
9795d8d0ca stone: dont build qcom power hal
Add TARGET_PROVIDES_POWERHAL := true
to avoid conflict with caf powerhal

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:13 +00:00
kamikaonashi
ba527c1d05 stone: drop perf blobs
we use libperfmgr now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:04 +00:00
Randall Huang
eb86b461c9 stone: rootdir: etc: fstab: data=journal,commit=1 for /metadata
Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:41 +00:00
kamikaonashi
0f19893ac5 stone: sepolicy: fix Powerhal
allow powerhal to write, open and read

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:16 +00:00
kamikaonashi
8ca0e209f0 stone: rootdir: fix PowerHAL nodes
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_prefer_spread with value: 0, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_busy_hyst_ns with value: 3000000, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_busy_hysteresis_enable_cpus with value: 15, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_min_task_util_for_boost with value: 51, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_min_task_util_for_colocation with value: 35, fd: -1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:04 +00:00
kamikaonashi
5058b2b9b1 stone: properties: silence more battery logspam
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:43 +00:00
Sugakesshaa
9cdad36cf4 stone: added sepolicy for powerhal
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:16 +00:00
Sugakesshaa
e26e3d453e stone: Enable powerhint parsing after boot completion
Signed-off-by: Nomishaw21 <nomishaw9@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:00 +00:00
Sugakesshaa
28ccfda792 stone: switch with oos libperfmgr
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:45 +00:00
bgcngm
689e6af2a2 stone: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:31 +00:00
bgcngm
9c4da389cf stone: move to new RFS install_symlink targets
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:16 +00:00
kamikaonashi
eb91f75941 stone: audio: add back FM Tuner
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:57 +00:00
kamikaonashi
674ae59c00 stone: build FM again
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:46 +00:00
kamikaonashi
1b9178dd71 stone: fix qcom bluetooth soc
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:34 +00:00
kamikaonashi
2554ee8c93 stone: overlay: drop adaptive color profile
causes lags on our device

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:23 +00:00
Arijit78
eb0941240b Revert "stone: Steal SurfaceFlinger offsets from taro"
This reverts commit 8a0e5d3e0f.
2024-08-03 02:39:46 +00:00
Arijit78
1cba9c54ad Revert "stone: Convert packages disallowed to use aux cameras to prop"
This reverts commit 3a6d93676f.
2024-07-16 17:59:25 +00:00
Arijit78
04976e30ab stone: Remove duplicate entries from genfs_contexts
- Also update kernel link from crdroid in vendorsetup.sh

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 17:55:43 +00:00
Arijit78
2421d6ce33 stone: Official EvolutionX BringUp 2024-07-16 11:30:10 +00:00
Adithya R
e4e86ef966 stone: properties: Set SF idle timeout to 1100ms
When a clock with seconds tick is on the display, it switches back and
forth between high and low refresh rate if the timer is <=1000ms (1s).
Set it to 1.1s which is just slightly higher to avoid this issue.
This also matches stock value.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:27 +00:00
Vishalcj17
8a0e5d3e0f stone: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:17 +00:00
Alex Sarraf
c5563ee4a2 stone: properties: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

* Also set debug.sf.latch_unsignaled to 1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:55 +00:00
helliscloser
75cfaf5a58 stone: properties: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here sm6150-davinci/device_xiaomi_sm6150-common@d6233e0 doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:42 +00:00
kamikaonashi
a4445c3822 stone: overlay: Disable pickup gesture
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:53:01 +00:00
zeelog
393763ed7d stone: parts: Shrink resources
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:36 +00:00
kamikaonashi
973111e140 stone: libinit: set memory tweaks only for 4GB Users
6 and 8 GB Users are fine. atleast for now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:18 +00:00
Jyotiraditya
2c6d485c69 stone: libinit: Enable config_avoidGfxAccel for 4GB variants
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 17:18:49 +00:00