[8.1][Magisk Module] Multi-Touch Fix for 8.1 Devices

Search This thread

TCUofficial

Senior Member
Jul 17, 2017
92
25
i just installed this DU rom. google framework keeps closing so i cant get into the phone. did you have this problem with it?
I did at first, what you need to do is do is wipe flash stock with Google's April Factory images first, then boot into TWRP and wipe System, Data, and Dalvik.

After that just install the ROM normally
If you get an Authfail error or anything similar in the bootloader when wipe flashing stock, try Deuces bootloop recovery script and if that in turn fails, set your active slot to A in fastboot.
Actually, might be a good idea to set the active slot to a just in case. Good Luck!

EDIT: Use Deuce or fastboot, then retry Wipe flashing stock
 
  • Like
Reactions: jasonsamms666

jasonsamms666

Senior Member
Mar 22, 2011
257
99
Whitby
I did at first, what you need to do is do is wipe flash stock with Google's April Factory images first, then boot into TWRP and wipe System, Data, and Dalvik.

After that just install the ROM normally
If you get an Authfail error or anything similar in the bootloader when wipe flashing stock, try Deuces bootloop recovery script and if that in turn fails, set your active slot to A in fastboot.
Actually, might be a good idea to set the active slot to a just in case. Good Luck!

EDIT: Use Deuce or fastboot, then retry Wipe flashing stock
I just flashed stock first. All is good now. Thanks :)
 

nguyenlucky

Senior Member
Jan 30, 2013
138
63
danang
I encounter a serious bug when instaling this mod. My Oneplus 5T (on OB6) freezes completely for a few seconds when launching some apps (chrome, viber, steam....). Also these apps force close after freezing my device.
Here is the log when I open Chrome
 

Attachments

  • 2018-04-12-21-13-33.txt
    281 KB · Views: 10

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,850
15,464
I encounter a serious bug when instaling this mod. My Oneplus 5T (on OB6) freezes completely for a few seconds when launching some apps (chrome, viber, steam....). Also these apps force close after freezing my device.
Here is the log when I open Chrome
Reason is probably that essential and OP stock roms aren’t working correctly because they seem to be not close enough to AOSP.
I asked nathanchance for a bit of testing. He actually faced a bootloop on stock OP rom.

There is nothing I can do at the moment sorry.

When may security update drops I’ll compile the required libs again. Maybe that will work but I fear not.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Hello guys and girls,

    As some of you already know Android 8.1 suffers from a severe Multi-Touch Issue. This issues makes the smartphone randomly jumping between the two touching points on the screen when touching with two or more fingers.

    The issue is known to google since the preview of 8.1. It isn´t only affecting pixel but most probably all devices running 8.1. The issue is also present on P.
    An issue got created here: https://issuetracker.google.com/issues/70344455

    There is a fix since mid march in review on google gerrit. But that didn´t make it into the april release, obviously.

    To visualize the issue refer to the following videos:

    https://youtu.be/wgYN5GwIgIc

    https://youtu.be/2Vv584tvVyg

    https://www.youtube.com/watch?v=4dnIk_5qdK8&feature=youtu.be

    This is especially bad for gamers. With the recent release of PUBG this issues seems dramatic to some, less to others.
    I´m no gamer but I noticed the issue on the google foto app.

    This issue has nothing to do with the corners badly reacting to touches, or touch sensitivity etc.


    So but now to the fix. It seems the issues is only related to resampling but not to touching specific points of the screen ( not related to crossing x and y axis).
    That also explains why the issue wasn´t happening when using the touch tracking tool in dev settings but on various multi touch test apps.

    The fix is on google gerrit currently under review here:
    https://android-review.googlesource.com/c/platform/frameworks/native/+/640605
    https://android-review.googlesource.com/c/platform/frameworks/native/+/640606

    Last week I compiled myself a DU build with the changes included and I couldn´t trigger the issue at all. I found no other side effects caused by the two patches.

    For now I decided to provide a Magisk Module which replaces the changed libs that fixes the issue.

    I compiled the libs while doing my april build of DU. The magisk module can be found on the link a little bit down.

    The download is here:
    https://www.androidfilehost.com/?fid=890129502657595755


    A few disclaimers here.

    1. That fix should in theory work for most 8.1 devices, including the likes of pixel 1st gen, pixel 2nd gen, one plus, xiaomi which suffer from this severe issue.

    2. I didn´t fix this, I just compiled the libs with the fix found on google gerrit.

    3. Rom devs you are very welcome to include this fix. I found no ill consequences as of yet but I can understand google taking it slow and reviewing it longer. Maybe they will find a better fix, but as of now this is the best thing we have.


    Donations:
    Donations are not mandatory but very welcome.
    If you like my work: http://paypal.me/freak07
    2
    Do you know what roms are available and where? I just had a dig around LOS website, DU's G+ and Carbon's Website but can't find anything mentioning the pixel 2 :(

    Thanks

    Beans

    Try this

    http://dwnld.aicp-rom.com/?device=walleye
    1
    I get an error when trying to install this via Magisk Manager, do i need to flash this via TWRP ?

    Flashing

    - Copying zip to temp directory
    - Installing Multi_Touch_Fix_8.1_P.zip

    ****************************************
    Please install Magisk v15.0+ !
    ****************************************
    Failed !
    ! Installation failed


    Magisk v16.0 is properly installed and i'm rooted.


    Edit: nvm, seems to be an issue with Magisk in general since i can't install any modules.

    Update Magisk to version 16.3 and then try again yo install any modules
    1
    Seems to be working well! Legit, thanks! ? Stock April rom
    1
    Thank you, this is excellent!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone