Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No touch in stock kernel #10

Open
theintel opened this issue Mar 9, 2022 · 4 comments
Open

No touch in stock kernel #10

theintel opened this issue Mar 9, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@theintel
Copy link
Owner

theintel commented Mar 9, 2022

Kernel in stock recovery disables touch sensor in recovery boot.

@theintel theintel added the bug Something isn't working label Mar 9, 2022
@theintel theintel self-assigned this Mar 9, 2022
@theintel
Copy link
Owner Author

theintel commented Mar 10, 2022

Searching for the text "tpd_i2c" in stock recovery kernel log file /cache/recovery/last_kmsg unveiled that the touch driver was indeed removed during initiation:

<4>[ 1.098785] -(2)[53:kworker/u8:1][] (gt1x_deinit) from [] (tpd_i2c_remove+0x10/0x28) <4>[ 1.098796] -(2)[53:kworker/u8:1] r5:cf72d200 r4:c14a81cc <4>[ 1.098806] -(2)[53:kworker/u8:1][] (tpd_i2c_remove) from [] (i2c_device_remove+0x64/0x9c) <4>[ 1.098816] -(2)[53:kworker/u8:1][] (i2c_device_remove) from []

@theintel
Copy link
Owner Author

This issue has become quite common among newer devices with MTK SoCs. Here is a detailed but complicated tutorial on how to patch the kernel:

https://forum.hovatek.com/thread-27132.html

@theintel
Copy link
Owner Author

Last part of the following tutorial is also helpful for fixing the issue:

https://forum.xda-developers.com/t/doogee-s55-twrp-recovery-how-to-port-mtk-recovery.3836178/

@theintel theintel pinned this issue Mar 10, 2022
@theintel theintel unpinned this issue Mar 10, 2022
@theintel
Copy link
Owner Author

This directory contains all the necessary files related to my R&D on the issue. You can also find my detailed workflow in the readme:

https://github.com/theintel/twrpwaltonprimoh8/tree/main/work/kernelfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant