yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] CyberSA:
Hey just want to say thanks for a great app. I bought the Razer Kishi for Genshin impact thinking it would work in the game but was surprised it did not. After testing a few different apps, I finally found yours and WOW it is so simple and it works.

Just a side note, using the PC or other phone to activate the app can cause people to think that this would be a bit dodge unless you fully explain why it is needed. So maybe put some more info in the app to as why this needs to be done for the non IT peeps out there.
[Android Apps and Games] AlmaMater:
Thanks!

To activate MantisBuddy without needing another android phone or PC, this is what I do:

1.- Install LADB (Android 11 to use Wireless debugging)

2.- Once setup just run in shell command: "sh /sdcard/Android/data/app.mantispro.gamepad/files/buddyNew.sh"

3.- Enter & Done :)

Great app!
[Android Apps and Games] doganmanis:
Wow it works bro... Thank you
[Android Apps and Games] aerial4ce:
cod mobile crashes once the match starts, is it detected or something else? Using black shark 3, rooted but safety net isn't passing.
[Android Apps and Games] adame09:
Dev should integrate this into app for Android 11+
[Android Apps and Games] frotna:
Thanks.

This works on Nvidia ShieldTV Android9 with Remote ADB app...
[Android Apps and Games] NYShotgun05:
If I've encountered a "Permission Denied" error when running this shell command, I'm guessing I need root?
[Android Apps and Games] frotna:
Main idea of Mantis Gamepad is that one don't need root to use it.

Also, for AlmaMater's activation method root is also not needed...

Try his method with Remote ADB app, it works for me (Nvidia ShieldTV Android9)...
[Android Apps and Games] Isaac268:
@Kung-Foo-Kamel have you tried the Blackshark Gamepads 2.0 with this App? :) (especially the right one with the touchpad)
[Android Apps and Games] Soumy1234:
Has anyone managed to use Mantis on an OP7Pro running OOS10? I got a new controller (Shaks S5B) to test it and I still can't do more than two inputs at a time.
[Android Apps and Games] NYShotgun05:
Sadly I can't even get any script to run internally, not sure why. This is same error I would get when doing AlmaMater's method on Panda Gamepad. I have a Red Magic 6 and I'm getting this error: ls: /sdcard/Android/data/app.mantispro.gamepad/files: Permission denied.

I was successful at activating Mantis on a LG Pad 5 (android to android, RM6 being the host) but it doesn't activate on the Red Magic. There is no Disable Permissions Monitoring like in Xiaomi phones either.

I've emailed this to support with no reply, so I'm just trying to figure out what to do besides use Panda.
[Android Apps and Games] studlolox:
Cant seem to work with Android 12. Touch are disabled when app on active overlay or there is workaround to this?
[Android Apps and Games] Motawa88:
dex support please
[Android Apps and Games] anonxlg:
Seems like the dev isn't on the xda forums anymore, or responding at least, but does anyone know if there's some sort of launch limit to the app?

I can't launch any games with the app anymore and get a buy a pass screen when I try launching a game.
[Android Apps and Games] Ploixbox:
Hey did you get it working or find a solution? I've got the RM6 aswell and having the same issues
[Android Apps and Games] NYShotgun05:
Had to use panda gamepad which only works with a PC for activation, but I still can't get any scripts to run on the RM6. Very strange
[Android Apps and Games] Ploixbox:
I'm having the same issues. Must be RM6 related

Thanks for the reply
[Android Apps and Games] AnkitChowdhury:
Sorry been away for some time from XDA.

Anyway, it seems there's an issue with permissions on your Device. ADB should ideally get full access to Storage directories, which isn't the case with your device.

Anyway, Connect your Device via USB to your PC & copy paste and run the following commands in a Command Prompt Window(without the braces):

"adb shell cp -R /sdcard/android/data/app.mantispro.gamepad/files /data/local/tmp/mantis/"

"adb shell chmod -R 777 /data/local/tmp/mantis/"

And every time to run MantisBuddy, use the following command:

"adb shell sh /data/local/tmp/mantis/buddyNew.sh"

Also make sure the folder you open Command Prompt from, has the adb.exe in it. Or adb location needs to be added to the Environment Variables.

Give it a go. Let me know if it works.
[Android Apps and Games] AnkitChowdhury:
Planned feature. Requires a major overhaul. Will come along with Single Handed Gamepad Support. Please stay tuned.
[Android Apps and Games] AnkitChowdhury:
Yep. We are waiting for Android 11 adoption to increase a bit more. It'll of course be added in due time.
[Android Apps and Games] Ploixbox:
Sorry for the late reply as I've been out of town.

It is still giving an error when I enter the first line:

C:\Users\Admin\Desktop\MantisBuddyForWindowsV2>adb shell cp -R /sdcard/android/data/app.mantispro.gamepad/files /data/local/tmp/mantis/

cp: bad '/sdcard/android/data/app.mantispro.gamepad/files': Permission denied

Obviously if I try to enter the next 2 commands, they don't work and I get the error "No such file or directory"
[Android Apps and Games] Moorderer:
Hello,

I have been playing My Hero Academia quite a bit and since my PC has less performance than my phone, I wanted to get the gamepad working on the phone, hence ending up with this app.

I need to use the swipe function for a key element in the game, and I am having issues setting it up here, unlike on 2 different emulators.

I was forced to buy the app without trial and currently am not happy with how the swipe function works, as I need to spam the keybind for a 20-30% success rate.

Kept trying to move it around to tweak with the start and end zone but I'm uncertain if that's really the cause, as using the developer options to track the movement, it appears to end and start where it should.

Since sometimes it works, I'm also suspecting that it is due to the speed at which the swipe is done, in which case I would request a feature to control the speed of the same.

Anyone else having the same/similar issue?

One simpler solution would be a record and play function, can this be added, please?

Thank you in advance for your reply.
[Android Apps and Games] Darkreaper7:
Hello Ankit, I hope you see this message. I just got a razer kishi and tried you app with Genshin Impact and it works flawlessly. This got me thinking: what if Mantis Buddy can be run without an android/PC?

What I have done before is Nintendo switch hacking/custom firmware loading. This uses a tiny USB-C dongle (Cost me $7USD) that automatically runs a payload with a boot.dat file as the switch always needs this to start in developer mode etc.

This concept is very similar to that of Mantis Buddy, do you think it's possible? I'm an inexperienced engineer with little development experience and zero android experience, but this seems like a fun project I can get behind.

So my question is if this is possible at all? Running an ADB script with a usb payload injector? Do you have any recommended reading I do before I delve further?

Thanks for your understanding.
[Android Apps and Games] HMTheBoy154:
Any plan for keyboard + mouse support ?
[Android Apps and Games] Rey3000:
can I use this to assign some functionality to my Right Stick movements on the Android home menu? Currently the right analog stick has absolutely no use.
[Android Apps and Games] leathan:
Hey thanks man, I was pretty bummed out I couldnt set up ADB with just my phone but now using split screen + LADB or termux or any other app I can connect to the ****ed up google adb method and convert it to the one we love. Then using the code you provided I can also launch mantispro gamepad also with just my phone!

I am trying to use tasker to automate it all, and someone already did this and it works i think but im doing my own version to get it right for me... either way im happy enough with your post, hopefully the developer includes this option or talks about it, i needed it.
[Android Apps and Games] leathan:
This app would go from awesome to over the top amazing if I could use a button hotkey/combo to turn the pad into a make shift mouse/keyboard.

As is, with this app, while gaming, you can just sit back and chill, but then you need to interact with the touchscreen to do simple clicks like "Play", "Restart", "etc.." if I could swap with a key combo to mouse mode and click it would made the overall experience that much better!
[Android Apps and Games] leathan:
Thank you so much! Sorry for the triple post but I just wanted to say LADB was not working for me. So I (I DO NOT HAVE ROOT) copied over an existing adb binary from the magisk package to my phone.

So in termux I ran the code wget https://github.com/Magisk-Modules-Repo/adb-ndk/raw/master/bin/adb.bin

then I moved it into termux's path. $PATH

then I ran termux in split screen (along with wireless adb settings) and connected using port+code, then I ran adb tcpip 5555; adb connect 127.0.0.1:5555, then finally I was able to run adb sh /sdcard/Android/data/app.mantispro.gamepad/files/buddyNew.sh

Thanks to everyone who figured this out and to the developer for making it possible.
[Android Apps and Games] HMTheBoy154:
I'd rather using the app to control games with keyboard and mouse. Like Tincore or Octopus
[Android Apps and Games] leathan:
I don't think I understood what your saying :D

You prefer other apps? I did not try tincore, but Octpus had such bad reviews i didnt even try it, was it good? does it have a mouse feature like I mentioned?
[Android Apps and Games] HMTheBoy154:
It's not that I prefer other apps, it just that I want it to have more feature like them for using Mouse and Keyboard for control. I am trying Mantis on Android-x86 and currently it can't use Mouse and Keyboard for control. Tincore is too complicated and the UI is bad and Octopus is just straight out crap because they can't be activated even with root. But Octopus have another version called "Game Helper" for Phoenix OS which provide a pretty good key mapping with mouse and keyboard and also have a very easy to use UI like Mantis.
[Android Apps and Games] HMTheBoy154:
I hope you understand what I mean, Mantis is really great, it smoothly activate with root app, the UI is very easy to use but now it just need Keyboard and Mouse control.
[Android Apps and Games] leathan:
Crap I understand, we both agree!

I kind of wish I bought one of the other apps if they have that feature, it would make this app much more usable.
[Android Apps and Games] ralfkof119:
What's the fix for this (underlined text in quote)? I have this issue too. Oppo reno 2 with android 11. Also tried the wifi activation, either I'm doing it wrong or it's not working. Not sure. Also tried the android to android device, also didn't work. The other device I used is an oppo f9 (not type c).

PC activation is the only thing that works, but I have to activate whenever I want to use it. I tried turning the allow background process on but still the same. I hope there's a fix for this. I love this app. It's better than the native app of my gamepad (an ipega pad).

Thanks in advance if ever I'm ever given help.
[Android Apps and Games] maximumdrive:
Hi, I just downloaded the app and tried to use my Razer Junglecat with Mantis Gamepad, I activate with android to android, however when I tried to map buttons, it wont recognize my button presses, please enlighten me how to make it work, as I read earlier posts indicating razer junglecat is working with mantis gamepad.

Thanks

Additional info

Device: Galaxy Fold (not 5G)

Controller: Razer Junglecat latest firmware

Game: Genshin Impact

Already reboot and reactivate twice and same issue persists
[Android Apps and Games] alejandroues:
Can you please make an option to disable or not need the floating widget to launch a game (disable draw over other apps), the reason is some games doesn't work when is enabled, they detect it and refuse any touch input.

One of those games is Final Fantasy Crystal Chronicles, I setup the controls using the widget, but the game, stops detecting any input if the Mantis Widget is activated, so, the floating widget it is only needed to setup the button mapping, then I need to revoke the permission to draw over other apps from Mantis, the mapped controls works and the game works normally.
[Android Apps and Games] leathan:
My suggestion is pretty stupid, but I want to add a note that the "Disable draw over other apps" would break the app, it requires that, I believe, due to android backgrounding. Anyway my stupid suggestion is changing the transparency of the widget to 100%? I highly doubt that this will work as the app you are having problems with is detecting it some other way. Definitely send the developers of Final Fantasy Crystal Chronicles a message about this? Maybe they are doing this on purpose to block just this, but they really shouldn't and I would ask them to reconsider.

There probably is also something the developer of this app can do but I don't know, hopefully your issue gets solved by someone though.
[Android Apps and Games] leathan:
[NO ROOT NEEDED] Hey guys If your like me and refuse to use a second device to enable Mantis pro then your in luck!

I found a better solution than using termux app in split screen at the pairing screen. However you do need to have tasker app and the termux tasker addon and (maybe not) autoinput tasker addon.

Just import this profile into tasker and then at the pairing screen hold volume down and it will scrape the screen and get the info needed. Then in ~/.termux/tasker create a file adb.sh with the following code:

printf $2 | adb pair $1
adb tcpip 5555

Then you can just copy buddyNew.sh anywhere on your phone and from termux run it and Mantis pro will load.

If thats too complicated and you rather do it manually, split screen + termux works but cannot be automated on boot and such.
[Android Apps and Games] leathan:
If you need any help with the bellow let me know and ill make sure you get it working

1.) Go to settings (search "Battery Optimization") or navigate there via Settings -> Apps & Navigation -> Advanced -> Special app access -> Battery Optimizations

2.) Make sure that Mantis pro is not optimized, additionally make sure you have no active battery optimization profiles set in your device, however this is probably unneeded?

As for your other issue: [NO ROOT NEEDED]

I always activate on my android after setting adb tcpip 5555, and this is actually MUCH easier prior to android 11. In android 11 copy buddyNew.sh to your phone, install termux app, open termux and install adb pkg install android-tools then navigate to the adb pairing screen, and open termux in split screen and type adb pair <ip>:<port> followed by the code followed by adb tcpip 5555 followed by bash /sdcard/buddyNew.sh

You can also read my above post, which I linked a tasker profile I made to automate the process so I dont need to use split screen. I will update it later to be 100% automatic, right now you do need to manually navigate to the pairing screen and press volume down. (tasker also needs to be unoptimized and you need the termux tasker addon installed and maybe the autoinput addon too).
[Android Apps and Games] AnkitChowdhury:
Are you by any means on Android 12 Beta? Anyway, I'll get the game checked to see what the problem is. Thanks for reporting.
[Android Apps and Games] Menalamba:
Hello AnkitChowdhury

, I have the latest pro version, android 11 miui 12.5.1. I have activated the USB DEBUGGING mode, and USB UNBLOCKING USB (Security Parameter) ACTIVE. Despite this I can not map my keys. I am using a DS4 Controller. Can you give the steps to take, you will correct this in a new update. Mantis Gamepad is it compatible with the gamesir x2 bluetooth controller.
[Android Apps and Games] cadashsekali:
hi help me, im using gamesir x2 usb type c, with mi10t pro andro 11 miui 12.5, already activating usb debug and security debug, device is connected but when i try test calibaration the button still not respon, try to restart and relaunch everything, the button is respon in just second, and not responding again
[Android Apps and Games] AnkitChowdhury:
You may be facing the Android 11 Gamepad Bug which Google hasn't fixed for months now. Issue : https://issuetracker.google.com/issues/163120692?pli=1

As a workaround, you need to disable all Apps in the Accessibility Settings and may also need to turn off One Handed Feature on some devices. Give it a go.
[Android Apps and Games] cadashsekali:
waww thanks you're awesome, after disable my apps in accesibilty, now its work fine
[Android Apps and Games] Menalamba:
Hello, thanks for the solution, I will try it. Besides, everyone seems to suffer from the same problem. Disabling one-handed mode seems to be the solution for XIOMI

Hello, thanks for the solution, I will try it. Besides, everyone seems to suffer from the same problem. Disabling one-handed mode seems to be the solution for XIOMI
[Android Apps and Games] AnkitChowdhury:
Glad it worked for you. Enjoy. And do leave a review for us on Google Play. 😊✌️
[Android Apps and Games] RMXO:
Hi, is there a way to have the mapped keys show on the screen while playing the game?
[Android Apps and Games] Asare9:
Hello there.

I'm really impressed by Mantis Gamepad Pro, I understand why it's required to activate by other device every boot and that's no problem. It works flawlessly, but there's one thing making me uncomfortable - the smoothness of right thumbstick emulation in camera mode. It looks like the refresh rate of every step might be compared to 30FPS, it makes not a bit deal in games like Wild Rift or others which doesn't use right stick to look around (especially fps/tpp games), but in those it really do. Moving camera stick around makes the game look like it's working in 30 frames per second and doesn't give the proper accuracy, since gun sight is stuttering (im playing with 60+ fps). Is there any chance to make it work faster and resolve the problem? Thanks in advance for response
[Android Apps and Games] ralfkof119:
Thanks for this. It took me a while to get back in this forum. I looked around my phone and the settings you mentioned is not there, but I did find a similar sounding setting "optimize battery use". It was under "battery" and "more battery settings". I picked the "don't optimize" for mantis gamepad pro. I'll be checking if this will fix the issue for me.

Thanks again.
[Android Apps and Games] leathan:
Yes sir! That is the correct setting and that should fix it not working properly in the background I hope! Happy that you found the settings and sorry it wasn't in the place i said, android tends to differ like that.

Hopefully that will fix your issue :D rly shud
[Android Apps and Games] NYShotgun05:
I am still using a Red Magic 6 with a permissions denied issue. does anyone have a solution to this? I dont have access to my router in order to try LADB or Termux, so just trying to do it locally.

Thanks
[Android Apps and Games] gorditaxi:
Good evening Ankitchowhury, from Spain, thanks for this wonderful application, I have paid the pass because the application deserves it, but I am very frustrated with the brawn starts game, mantis is incredible the response in the game is incredible, the best, but the problem is that whenever I move both right and left sticks quickly upwards the game comes out and I have to reload that always happens in this game, when this movement coincides while playing the game I get a solution, please. I only configure it with a stick I move it fast up and down and it does not happen to me is when I put the two sticks, mantis is installed in a TV box uggos AM6B plus with root, in other games it does not happen to me but this is my favorite, it helps ,Thank you
[Android Apps and Games] MaestroLiendre:
You can always do with any other smartphone creating a hotspot and connecting there. Actually you can do it with any WiFi network, but I wouldn't do it on a "unknown" network, just for safety.
[Android Apps and Games] ralfkof119:
Well, I tried the settings out. Turned the "optimize battery" off for mantisbuddy. I also used the setting present in the new update of the android app for mantisbuddy. There's also a setting in my phone... "allow background activity" for each app. I also turned this on.

Sad but whenever I "stop" the app in the notification bar and used the app, the activation still resets. :cry:
[Android Apps and Games] xintee:
I have a different device but I was having the same issue before. Solved it by resetting my ladb server. help > reset server.

Not sure if it would help but hopefully you find a working solution.
[Android Apps and Games] jpidma:
I'm having issues recently where if I do more than 2 actions (e.g. actions that simulates more than 2 finger on screen like, moving + aiming + shooting), all the input will halt.

This only happen recently on Sausageman and Genshin impact.

I know that it's still sending all the input method as I tested it by showing all the touch presses (developer options).

Sausageman also detects this and warns of possible punishment and ban.
[Android Apps and Games] hem11freitas:
I would love to use this, but I am unfortunately having a bug with my controller. I'm using a wireless 360 controller. The controller is connected to a wireless receiver, and the receiver is connected to my phone with a USB OTG adapter. The controller shows up in Mantis as "Generic X-Box Pad".

The problem is, the triggers don't get detected during the calibration. I keep pressing LT (or RT) on the controller when the app asks me to, but nothing happens.

If I skip the triggers during the calibration, Mantis detects them as the right thumb stick, and the right thumb stick itself does nothing. (The left trigger is interpreted as the X axis of the right thumb stick, and the right trigger is interpreted as the Y axis).

All the other buttons and the left thumb stick work perfectly though.

I tested this controller setup with another gamepad remapper called "Octopus", and in that app it was able to correctly map all the buttons, including the triggers and thumb sticks. Unfortunately that app is extremely broken and I wasn't able to launch any games through it.

I would be very thankful if you could fix this problem.

Thank you, great work!
[Android Apps and Games] Da_Teach:
Well as a lot of other people here with Xiaomi devices, I'm also getting the permission denied error. After trial and error I was able to copy the files using Windows Explorer (apparently I can't access /sdcard/Android/data with adb shell, but I can with Windows explorer?!?!?!).

So I was able to copy the 3 files (2 sh files and the dex) to another folder and use chmod to allow execution. It then shows 3 / 30 / 4 / 8 and stops. However after that nothing happens. It still says waiting for connection. Note that I'm doing this without a controller attached.

It feels like it's not working :)

(did purchase the pro package, because it's probably worth it :D )
[Android Apps and Games] bacevs:
Cannot get mantis to connect to target device.

Running on Pixel 4 XL on Android 11.

Please see video below of issue:
[Android Apps and Games] Da_Teach:
Recently upgraded to Android 12 (Xiaomi.eu rom) and it solved the permission denied issue and activation issue. Using LADB I can even activate without requiring another device.
[Android Apps and Games] rendmazues:
thanks for this, tried a lot of mapper application and this one is the best.

Works perfectly to play genshin impact on android using DS4 Controller (rooted phone)
[Android Apps and Games] Pan sarissa:
when i go to the game chat the mantis pro closes.It has another problem?It throws me in the original application of the game and the mantis pro is lost.