• Apps
  • Mouse for SONIM XP3

matteovisco I was able to install F-droid from the browser when i initially bought the phone I think it was blocked after the update I got yesterday. I've only had the phone for 3 days but that was the first thing I downloaded before I discovered this site but I this community is so small that there apps go months or years without updates.

oh and shortcuts on the home screen dont work anymore either

    darren051

    Techgen

    virresh

    Has anyone been able to install the Mouse pointer successful meaning able to select options on side-loaded apps specifically on the XP3 PLUS?
    It seems me only one other person are having the issue I have used ADB on Linux and WEBADB and factory reset at least 5times. Is making this work possible who do i need to DONATE to get it working?

    I don't think anyone has been able to get the mouse to work on the XP3plus, no. The “virresh” mouse installs but does not “click” successfully.

    And yes, you used to be able to install apps easily, but then they pushed a system update, and now you have to use ADB to sideload apps. Luckily that still works just fine, with the very minor caveat that USB debug has to be turned back on every time you restart the phone.

    Falconer is that select for the mouse or were you responding to someone other than myself?

    Just providing that info for the developer, in case he ever checks in here again.

    • TechgenLevel 6 - Platinum Elite Member

    • Edited

    Falconer Oh, so that's prob the issue {like I suspected it's different than the xp3.} EDIT: My mistake, after verifying, the keycode on the xp3 is also 66, in which case I'm not sure what the issue is - see my later post.
    Tag [Login to see the link] to let him know, or contact him through his github page to see if he has a chance to add it in the next version.

      2 months later

      [Login to see the link] If anyone else is using the Sonim xp5s, it's select key is also 66 according to the event viewer app. Or I presume that is what:

      KeyUP
      action=1
      code=66
      repeat=0

      means. So if virresh creates a version that functions on the xp3 plus, it should also function on the xp5s.

      I wonder, is there a possibility of creating a select button override option, just as there is an activation button override? Then people could use the key event app and adjust the mouse for their phone if the select button code has changed. But I'm talking about things far above my head.

      4 days later

      Techgen what is the key code for the xp3? I have virresh's source code open in Android studio but I don't know anything about Java. I was hoping I could simply find the references to the other key code and change them to 66.

        OK, after reading some in the forums, I got the matvt 1.0.3 app working on my Sonim xp5s. If the select key is the same on the xp3plus, I think it might work. I do not have an xp3plus, so if any of you do, could you follow the steps I list and confirm whether this works or not? I first uninstalled the apps4flip mouse.

        Then, I installed [Login to see the link] using adb.

        Next I ran the following adb commands:

        adb shell pm uninstall -k --user 0 com.lge.voicecommand
        adb shell appops set com.android.cts.io.github.virresh.matvt SYSTEM_ALERT_WINDOW allow
        adb shell settings put secure accessibility_enabled 1
        adb shell settings put secure enabled_accessibility_services com.android.cts.io.github.virresh.matvt/com.android.cts.io.github.virresh.matvt.services.MouseEventService
        adb shell am startservice com.android.cts.io.github.virresh.matvt/com.android.cts.io.github.virresh.matvt.services.MouseEventService

        I got the standard "Error: Requires permission not exported from uid 10104" message from the last command, and ignored it.

        I restarted my phone.

        I opened the matvt app in my applications list.

        I selected Override Activation Key

        In the box underneath that, I typed 18 (for the # key), then selected SAVE.

        Now, when I long press (for about 1 second) the # key, a mouse appears on my screen. It moves with the D-Pad, and the center D-Pad button does select things.

          • TechgenLevel 6 - Platinum Elite Member

          • Edited

          drfreemlizard
          I just rechecked, and the keycode is 66 on the xp3 [sorry about the post where I said the xp3 is different, I hadnt checked it in a while, and 66 just didnt sound familiar]. So I'm not sure whats the issue people seem to be having. It could be they just didnt set it up right like you suggest in this post:
          drfreemlizard

            Techgen It could be they just didnt set it up right

            I figured that might be the case. That’s why I wrote the step-by-step, so they have a link to the modified apk, along with the modified adb commands. It’s nothing original with me, but a compilation of information I got from a few different threads on the board.

            Just another tidbit: Someone (I forget who) mentioned above that their home screen shortcuts didn’t work anymore. The home screen shortcuts on my Sonim xp5s do still work, but I have to double tap the buttons.