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

Started by anonymousflipphone · May 30, 2021 · Page 1 of 2

Anyone have the mouse on the schok? Does anyone know if usb debugging is currently possible?

@NoTech I see you posted adb commands for the schok phone in a different thread, so its possible to debug the phone?

On the latest update you can turn it on from lock control-
settings>lock control>system lock>developer mode

I was able to put the mouse onto the Schok Classic (you have to click on the build number 5 times after allowing developer mode to enable USB debugging), but whenever it is in mouse mode, it doesn't respond to clicks under the mouse. Does anyone know how to solve that?

Techgen

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

Flippy

cjr Whats wrong with the built-in Schok mouse?

@Flippy its very slow, and sometimes it randomly shuts off and i cant turn it on unless i reset phone.

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?

Techgen

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

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

Jumptoheaven

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.

@cjr whats the keycode for the star key? I tried using the keyfinder app, but it showed up as a file, not an apk, and I can't open it.

@Jumptoheaven @Techgen 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...

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.

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.

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.

appsphoarflip the schok built in cursor, i have it on long press and works every other time

yrjr did you also get yours from T-Mobile? I'm wondering if maybe this is a bug specific to the builds that come on that variant.

Yeah, I tried setting a button to the virtual cursor on the Schok Flip, once I pressed it all it said was something like 'virtual mouse not installed'. I got my Schok Flip recently from Boost Mobile in Walmart for $19.88. I needed Snapchat on my phone and I couldn't set it up without the virtual cursor. What I ended up doing was installing an older version of Snapchat and installing 'visor' on my computer and phone so that I could control the phone with the computer mouse. However, without a cursor I can only use the app for sending messages. The D-Pad navigation doesn't allow me to access all of the buttons. The box claims it has a cursor, but there's no cursor to be found.

okok hmm, I checked more closely through the ADB shell and it does in fact appear that the app it's trying to start (com.schok.virtualmouse) is literally missing from the system. I tried contacting Schok through email, but so far, unfortunately no reply.
I'll give them until the end of the month before I give up and return the device. What a mess...

appsphoarflip amazon, the mouse started working pretty consistent, BH

yrjr I'm guessing you got the "Schok Classic Flip" (the only one Amazon carries), which is actually slightly different from the newer "Schok Flip" (e.g. 8 megapixel camera vs 5 megapixel). Seems like only mobile carriers are currently selling the latter. Pretty sure Schok just messed up on the software they loaded on this one.

BTW MY SCHOK just broke today, any time turn on crazy vibrating. AND WHEN you shut off still vibrates.

UPDATE, I TOOK APART THE PHONE and ripped out the vibrator, and the phone works like normal.

I initiated a return with T-Mobile. The company is a disorganized mess and the broken out of the box virtual mouse is unacceptable. I hope T-Mobile drops them. What a waste of time.

yrjr I think it's time for you to get a new phone 😉 These things are cheap junk.

Just a heads up for anyone wondering why the virtual mouse doesn't work: /d/104-mouse-for-sonim-xp3/96

The original Schok Classic runs Android 8 Go while the "Schok Flip" runs Android 11 Go, which suffers from the bug that breaks click functionality with the virtual mouse. My guess is the Schok "development team" noticed they couldn't just copy-paste their APK over to the Schok Flip from the Schok Classic and have it work late in the production process and decided to just not install the functionality instead in hopes that nobody would notice... even though it's a whole section in their printed manual.

Completely unacceptable, but hey, what do you expect? Their website is a mess of incorrect information and the company headquarters is a tiny office in Texas. Just an amateur operation slapping their brand name on cheap unbranded stuff from China that will likely never be updated.

Well, I got the phone from Walmart from Boost Mobile for $19.88 so I am okay with it. If it was anymore expensive I wouldn't of bought it.

I wonder if you can unofficially update the device.

Biden2020prez

okok To what? Boost has no other Schok Model.

What if you could update it to Android 12?

Biden2020prez

Biden2020prez

okok No, unless you have a rom to update it to. It's possible boost will make an update.

Anybody tried copying apk from a Schok Classic? Anybody here have a Classic that could share the com.schok.cursor apk?

Techgen
Hey, I have a ZTE Cymbal 2, and I am having the same issue with not being able to click on anything. Do you know where I can find the link for the version you mentioned?

Thank you

Biden2020prez

ztenoob i haven't seen a working mouse for the shock. That android 11 one isn't working. If you have a bluetooth mouse it will work good.

Biden2020prez DeskDock works fine on Linux, so can use that to do any set-up, etc., for apps that I can't do with Voice Access. I have messed around a little with trying to get mouse to work, but nothing yet. Wasn't sure if I need an OTG adapter, or if it even has the ability. Bluetooth mouse doesn't show up in bluetooth devices in settings...

Biden2020prez

levone1 my mouse works nicely on shock flip. (Bluetooth). I am also working on root for the phone. If you did not get the newest update yet (don't check as it may trigger it) email me biden2020prez@gmail.com

Biden2020prez I think it came with latest update. I have checked since I got it, and it has never showed any updates available. I did unlock bl, but seems there's no sources available, right, (or a way to extract img)?

Biden2020prez does your bt mouse show up in bt settings, and you just connect that way?

Biden2020prez

levone1 i unlocked bl, but we have no images available to flash. I am hoping to intercept a software update package and take the Boot image.

New update, 1.1.7. Cursor (mouse) works now...

Biden2020prez slow and a bit janky, but working. However, a4f mouse and others still not working, (no click)