phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.38k stars 658 forks source link

Touch screen doesn't response On Galaxy A02 #2405

Open fovvsandrew opened 2 years ago

fovvsandrew commented 2 years ago

Current Behavior:

Touch screen doesn't response after screen all goes black

Describe the bug

After screen turn off(completely goes black) and turn on again touch screen doesn't response,even If i get a call and, proximity sensor turn off the screen.If I accidentally turn off the screen,I have to force restart my device by holding power button and volume down button.Then it's start to work again until screen goes black again

To reproduce

1.Just install the gsi to Galaxy A02 running android 11(U3)I don't know about android 10(U1or U2) 2.Bugs also appears when you turn off the screen while setting up.it's happening all the time if u turn off your screen.To work again need a restart

Expected behavior

I just need to fix that bug.I mean touch needs to be work even after screen turned on again

Photos

### Smartphone (please complete the following information): - Device:Galaxy A02 - Build Flavor: a64 bgS aosp - Version:Noticed on V412(a12)but After flashing a11 gsi got same issue ### Additional context
phhusson commented 2 years ago

This is a known bug, with no idea how to fix it cleanly. That being said, we do have a workaround, see https://github.com/phhusson/treble_experimentations/issues/2205#issuecomment-1094895522 Fixing it requires editing the DTBO partition whici isn't too easy

Le ven. 5 août 2022 à 03:01, fovvsandrew @.***> a écrit :

Current Behavior:

Touch screen doesn't response after screen all goes black Describe the bug

After screen turn off(completely goes black) and turn on again touch screen doesn't response,even If i get a call and, proximity sensor turn off the screen.If I accidentally turn off the screen,I have to force restart my device by holding power button and volume down button.Then it's start to work again until screen goes black again Expected behavior

I just need to fix that bug.I mean touch needs to be work even after screen turned on again Photos Smartphone (please complete the following information):

  • Device:Galaxy A02
  • Build Flavor: a64 bgS aosp
  • Version:Noticed on V412(a12)but After flashing a11 gsi got same issue

Additional context

— Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/2405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OT7B5QF6BCYWZ3AGNTVXRRXLANCNFSM55UMOZNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mcrazymanu commented 2 years ago

Device:Galaxy A13 Build Flavor: a64 bgS aosp adding touch support on suspend mode any hope ?

Facni commented 1 year ago

Does the problem persist in new versions?

phhusson commented 1 year ago

Yes.

However, I've got new information and I'm working on a fix for the same issue on Galaxy F23. To confirm this is indeed the same, please give me the result of lshal (no matter whether on stock or gsi)

phhusson commented 1 year ago

fwiw here is a test image that fixed the issue on galaxy f23: https://phh.freeboxos.fr:49026/share/TClqUmzQBR8K4fa9/s-sammy-sysinput3.img.zstd

It would be best if I could confirm with the lshal that you are in the same case, rather than testing blindly: we should see a vendor.samsung.hardware.sysinput entry in lshal if that's the same issue

m23user commented 1 year ago

fwiw here is a test image that fixed the issue on galaxy f23: https://phh.freeboxos.fr:49026/share/TClqUmzQBR8K4fa9/s-sammy-sysinput3.img.zstd

It would be best if I could confirm with the lshal that you are in the same case, rather than testing blindly: we should see a vendor.samsung.hardware.sysinput entry in lshal if that's the same issue

I've tried that rom you've provided for galaxy f23 (I have f23 and it's my daily driver as well). It works flawlessly! Great job, thank you so much! But I've tried to use that fixed rom as a daily driver and faced a few crucial bugs, such as:

Maybe I did something wrong but could you help me? Or do you have any plans to put this solution into an mainstream rom update soon?

GDPlayer commented 8 months ago

hello? how did you install it?

Ahmed240618 commented 4 months ago

Same but with A14 4G sm-A145F when using GSI [Android 14]...flashed using twrp.

But other sensors seems to work properly Does anyone have a solution?

severtheskyline commented 1 month ago

@phhusson Friendly ping, not sure if you still respond to this repo or if it would be ideal to remake the issue on the new one, but this problem is still a thing in the galaxy A02 (and for what it seems other samsung devices), it is reproducible on the latest build of td and derivatives, I wanted to know if this has any way to be fixed or if it will be fixed at all, I can help debug in any case.