Commit graph

9 commits

Author SHA1 Message Date
egaunnac
903a12aa67 dre: Setup sim restart shell script
sm8450 and above have a very annoying SMS receiving bug where for some
carriers it won't work after a device restart if QTI telephony injection
isn't available, but one of the workarounds is to either use airplane
mode toggle or eject the sim card and reinsert it

Instead of doing that? Let's try and automate disabling and enabling the
sim card

EDIT: Some holi/blair devices have this problem too.

Co-authored-by: Marc Bourgoin <themard85@gmail.com>
Change-Id: I76732c2a668ff179e32050aee4abe315de3d9357
2024-08-20 11:17:48 -05:00
Jake Weinstein
57906249ee dre: 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.

And also affine them.

Change-Id: If49ecb8757d133a7fad0d7946837b35403e57c2a
2024-04-30 11:27:50 -05:00
Alexander Koskovich
f4b1c659d9 dre: init: Update display panel firmware if newer
[TP0]touchpanel: tp_fw_update_work: fw_name = tp/19825/FW_S6SY792_SAMSUNG.bin
[TP0]touchpanel: fw_name_fae is tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
sec-s6sy792 2-0048: Direct firmware load for tp/19825/FW_S6SY792_SAMSUNG_FAE.bin failed with error -2
sec-s6sy792 2-0048: Falling back to sysfs fallback for: tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
[TP0]touchpanel: retry times 0
[TP]sec-s6sy792: sec_fw_update is called, force update:0
[TP]sec-s6sy792: img version in bin is 0x28240117, img version in ic is 0x28240117
[TP]sec-s6sy792: config version in bin is 0x28240108, config version in ic is 0x28240108
[TP]touch_interface: read block_1, free once.
[TP]touch_interface: read block_1, kzalloc success(len:1152, buf_size:1152).
[TP]sec-s6sy792: update firmware state: no need update!
[TP0]touchpanel: release all touch point and key, clear tp touch down flag
[TP]touch_interface: read block_2, kzalloc success(len:1, buf_size:256).
[TP]sec-s6sy792: sec_change_to_np_mode: change to np_mode time: 0 success!
[TP]sec-s6sy792: sec_enable_fingerprint_mode: touchhold_enable: 0 success!
[TP]sec-s6sy792: sec_enable_black_gesture, enable = 0
[TP]sec-s6sy792: sec_enable_black_gesture: 0 times change black gesture success
[TP]sec-s6sy792: limit_switch is 1
[TP]sec-s6sy792: sec_enable_charge_mode: state: 0 success!
[TP]sec-s6sy792: sec_enable_headset_mode: state: 0 success!
[TP0]touchpanel: add qos request in touch driver.
[TP0]touchpanel: fw update finished

Change-Id: Iba517b59fe2856ed6f991c07e0362b1be203af45
2022-11-06 17:11:02 -06:00
LuK1337
6cf14d3057 dre: init: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-10-11 08:31:24 -05:00
Alexander Koskovich
ae5da56035 dre: Copy PFM licenses to persist
* This is read by the feature enabler client. OOS already
   does this but we want to make sure we're doing this for
   users upgrading from Lineage 18.1.

Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
76847dfb0f dre: init: Set 'ro.separate.soft' to project name
Change-Id: I4ae6281c323a68e0f21af5b0c4e2a578fe80794a
2022-10-11 08:31:23 -05:00
Alexander Koskovich
273c9562ff dre: init: Use the same PID/VIDs from OOS
Change-Id: Ieaa52f748c75272b80fa6f3e7018cdb71e3a2f7f
2022-10-11 08:31:23 -05:00
Alexander Koskovich
6d5dddd02a dre: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
2022-10-11 08:31:23 -05:00
Alexander Koskovich
3deb110867 dre: init: Chown used display nodes
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
2022-10-11 08:31:23 -05:00