Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activation problem on linux #6

Closed
mthnglac opened this issue Oct 28, 2019 · 12 comments
Closed

Activation problem on linux #6

mthnglac opened this issue Oct 28, 2019 · 12 comments

Comments

@mthnglac
Copy link

I can't activate it on linux. Wine is a problem as usual.

@karlbaillie
Copy link

Don't use wine, do it like this:

  • Download the MacOS activator
  • Open a terminal
  • Unzip it: unzip ActivatorMac.zip
  • Install adb: sudo apt install adb
  • Enable USB debugging on your phone
  • Plug it in
  • Run this, it should return 1 if adb can find the device: adb devices|grep "unauthorized"|wc -l
  • Now run this: adb root
    it will return adbd cannot run as root in production builds though exit status should be 0 (echo $?)
  • Now find the inject.sh file on your phone: adb shell find /sdcard/.chaozhuo.gameassistant2/inject.sh
  • Then run it: adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh

The output looked like this:

28
com.panda.gamepad,com.panda.mouse,com.chaozhuo.gameassistant
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouseinject.dex': No such file or directory
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouselibinject.so': No such file or directory

Despite the errors, opening the Panda app it now shows as activated.

@mthnglac
Copy link
Author

mthnglac commented Nov 6, 2019

Don't use wine, do it like this:

* Download the MacOS activator

* Open a terminal

* Unzip it: `unzip ActivatorMac.zip`

* Install `adb`: `sudo apt install adb`

* Enable USB debugging on your phone

* Plug it in

* Run this, it should return `1` if `adb` can find the device: `adb devices|grep "unauthorized"|wc -l`

* Now run this: `adb root`
  _it will return `adbd cannot run as root in production builds` though exit status should be 0 (echo $?)_

* Now find the inject.sh file on your phone: `adb shell find /sdcard/.chaozhuo.gameassistant2/inject.sh`

* Then run it: `adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh`

The output looked like this:

28
com.panda.gamepad,com.panda.mouse,com.chaozhuo.gameassistant
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouseinject.dex': No such file or directory
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouselibinject.so': No such file or directory

Despite the errors, opening the Panda app it now shows as activated.

It worked, thanks.

@mthnglac mthnglac closed this as completed Nov 6, 2019
@dysquard dysquard pinned this issue Nov 8, 2019
@dysquard
Copy link
Owner

dysquard commented Nov 8, 2019

Don't use wine, do it like this:

  • Download the MacOS activator
  • Open a terminal
  • Unzip it: unzip ActivatorMac.zip
  • Install adb: sudo apt install adb
  • Enable USB debugging on your phone
  • Plug it in
  • Run this, it should return 1 if adb can find the device: adb devices|grep "unauthorized"|wc -l
  • Now run this: adb root
    it will return adbd cannot run as root in production builds though exit status should be 0 (echo $?)
  • Now find the inject.sh file on your phone: adb shell find /sdcard/.chaozhuo.gameassistant2/inject.sh
  • Then run it: adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh

The output looked like this:

28
com.panda.gamepad,com.panda.mouse,com.chaozhuo.gameassistant
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouseinject.dex': No such file or directory
cp: bad '/sdcard/.chaozhuo.gameassistant2/com.panda.mouselibinject.so': No such file or directory

Despite the errors, opening the Panda app it now shows as activated.

Little mistake about adb devices|grep "unauthorized"|wc -l. If it's >= 1 then there's device unauthorized, should authorize on phone.
Just use adb devices to check device status, if it's OK its status will be device.
Then just go on adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh.

@marcussacana
Copy link

What the point of this activation?

@hoshi411
Copy link

hoshi411 commented Dec 21, 2020

thank you so much for making this so easy for Linux users.
I was even able to use adb connect over WiFi to activate Panda. That is awesome.

Linux users don't need to download the activation file by the way. Just use the adb commands to run the inject.sh script.

@mhammadjjfde
Copy link

At first it worked, but now it doesn't work. Do you have a solution?

@hoshi411
Copy link

hoshi411 commented Oct 20, 2021

Here are the steps to take

  1. launch panda app
  2. plug in phone
  3. launch terminal on PC and type :
    adb devices
  4. confirm the dialog box that pops up on your phone
  5. in the terminal type
    adb root

adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh

  1. wait for about 20 seconds to see green confirmation in phone panda app

  2. unplug phone from PC and enjoy game.

@thefirefox12537
Copy link

thefirefox12537 commented Mar 15, 2022

I already made this auto script for Linux. And also for PowerShell script
Try this:
Linux - https://github.com/thefirefox12537/pgpa/releases/download/120_linux/GamepadPro_Linux.zip
PowerShell - https://github.com/thefirefox12537/pgpa/releases/download/120_pwsh/Activator_PowerShell.zip

@marcussacana
Copy link

Here are the steps to take

  1. launch panda app
  2. plug in phone
  3. launch terminal on PC and type :
    adb devices
  4. confirm the dialog box that pops up on your phone
  5. in the terminal type
    adb root

adb shell sh /sdcard/.chaozhuo.gameassistant2/inject.sh

  1. wait for about 20 seconds to see green confirmation in phone panda app
  2. unplug phone from PC and enjoy game.

this can be done in termux as well if you have root

@iEscapedVim
Copy link

not working total waste of money and time useless peace of crap

@MarcosHenrique533
Copy link

Bjchj

@MarcosHenrique533
Copy link

Gjbb h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants