Atusb here you go
[Login to see the link]
and here are the commands
adb shell appops set com.android.cts.virresh.kcomouse SYSTEM_ALERT_WINDOW allow
adb shell settings put secure accessibility_enabled 1
adb shell settings put secure enabled_accessibility_services com.android.cts.virresh.kcomouse/com.android.cts.virresh.kcomouse.services.MouseEventService
adb shell am startservice com.android.cts.virresh.kcomouse/com.android.cts.virresh.kcomouse.services.MouseEventService