• Mouse on the schok? (USB debugging enabled?)

cjr the sonIm xp3 had that issue until I got virresh to insert the keycode for the xp3s select button into the code, you can try that version and see if the schok has the same keycode as the xp3, if not it may need to be added by someone who knows how to code for

    cjr Whats wrong with the built-in Schok mouse?

    Techgen I was able to put the sonim xp3's version onto my phone, but do not know how to allow permissions for it. Do u have the adb commands for the permissions?

      cjr Try the commands on the apps4flip site, just switch every time it says com.android.cts.appsflipcursor change to com.android.cts.io.github.virresh.matvt

      • cjr replied to this.

        when that happens you just have to press the ENTER button for a little time (15 sec) and the it will turn back on

        Techgen
        Thanks, it allowed permissions, but I still cannot activate the mouse by pressing * 3x

          cjr Go into the Matvt app. Check the option to override activation key. You can then add any keycode that you like.
          You can find the keycode for physical buttons on your phone using the keycode finder app thats posted here Jumptoheaven
          Press save when done. Long press your chosen key to activate the mouse, then short press to switch between cursor and scroll modes. Long press to exit.

            [Login to see the link] [Login to see the link] Thanks so much, I got it working on the schok. However a couple minor problems A) Every time the phone is turned on, you have to manually grant overlay permissions before using. B) This problem isn't exclusive the the schok, however it would be great if theres a way to disable the phone from going into the phone menu(call menu...) when you long press a key in order to activate the mouse. A little annoying, not a big deal...

            a year later

            I have the Schok Flip and I managed to install the Apps4Flip cursor. However I am also having the problem of it not clicking. I attempted using another version, replacing 'com.android.cts.appsflipcursor' in the command with 'com.android.cts.io.github.virresh.matvt' but it also didn't work. The Schok Flip claims it has a built in cursor, but it doesn't. I've been trying to do this all day.

            • yrjr replied to this.

              anonymousflipphone

              okok you dont need to install the cursor, phone has built in. long press camera button to turn on, and long press same button to shut off. if that doesn't work go to settings> than phone settings> then navigation> then scroll to multi function long press and gives you multiple choices, than chose cursor/mouse.

                yrjr I'm experiencing the exact same issue with the Schok Flip I just received yesterday from T-Mobile. Manual says hold the OK button for 2 seconds to enable/disable the virtual mouse, but that does absolutely nothing. I tried manually setting the camera button to start the virtual mouse on short click, but that doesn't do anything either.

                Interesting stack trace though when I do click the camera button though:

                06-22 22:45:08.700  1376  1501 I ActivityTaskManager: START u0 {flg=0x10208000 cmp=com.schok.virtualmouse/.MainActivity} from uid 1000
                06-22 22:45:08.700  1376  1501 E InputManager-JNI: An exception was thrown by callback 'interceptKeyBeforeDispatching'.
                06-22 22:45:08.701  1582  1952 D TelephonyIcons: signalStrengthArray.length=10
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: java.lang.NullPointerException: Can't toast on a thread that has not called Looper.prepare()
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:157)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at android.widget.Toast.getLooper(Toast.java:179)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at android.widget.Toast.<init>(Toast.java:164)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at android.widget.Toast.makeText(Toast.java:492)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at android.widget.Toast.makeText(Toast.java:480)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.server.policy.PhoneWindowManager.startActivitySafely(PhoneWindowManager.java:3491)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.server.policy.PhoneWindowManager.handleCameraShortKeyAction(PhoneWindowManager.java:3454)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.server.policy.PhoneWindowManager.interceptKeyBeforeDispatching(PhoneWindowManager.java:2903)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.server.wm.InputManagerCallback.interceptKeyBeforeDispatching(InputManagerCallback.java:336)
                06-22 22:45:08.701  1376  1501 E InputManager-JNI: 	at com.android.server.input.InputManagerService.interceptKeyBeforeDispatching(InputManagerService.java:1993)

                Looks like a bug right out of the box. Exact same issue right after factory resetting the phone. Clearly some great software QA on Schok's end... especially for a core feature.

                Already emailed their support in hopes that they can get this sorted out ASAP.

                • yrjr replied to this.

                  Also found the reason why matvt and apps4flip mouse don't work on the Schok Flip: this phone runs Android 11 Go and Android 11 broke some of the APIs necessary for those apps to work. Apparently they are fixed in Android 12, but I'm guessing there is nearly a non-existent chance that will be ported to this phone.