topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
46.93k stars 11.85k forks source link

Unable to read sensors #2

Closed danielcr12 closed 7 years ago

danielcr12 commented 7 years ago

after flashing magisk on my moto x (2013) the moto doze app is not able to read/change/update the status of the sensors of the device. therefore light sensor, gyro, touchscreen, motion sensor, nothing works, the good part is that magisk itself seems to work. (i was able to test this by using vysor to remote controll my phone. here i add some logs, hope this helps to norrow the issue.

i first installed supersu in systemless mode then installed the magisk manager app and proceed to install magisk rebooted.

Device: Moto X 2013 Android Version: CM13 (Marmsmallow 6.0.1) Kernel: CM built in kernel

im adding all logs and info i could get.

Stcock_cm_boot.img.gz magisk.txt liveboot.txt moto_boot_stockt magisk_log.txt screenshot_20161003-205727 screenshot_20161003-205203

topjohnwu commented 7 years ago

I assume the sensors are linked to dtb image. Thanks for providing the info!

rafifos commented 7 years ago

I'm having similar issue too.. after flashing magisk (v7), the sensors don't respond.. and i'm unable to touch the screen

topjohnwu commented 7 years ago

Finally fixed in 1f3b81338cdcc010facb479a1e05534f355b4368 I'm just too lazy to check the code... sorry for the delay

die-microsoft commented 4 years ago

Screen rotate, gyro, magnetic, and other sensors not working on LineageOS 17.1 on a LG G5 H850.

channel0 commented 3 years ago

Is there a way other than initialization in this case? Or do I have to wait for the next version install?