/RealAndroidBot

Primary LanguagePowerShellMIT LicenseMIT

RealAndroidBot

RAB Video Demo

Changelog

Manual install users, please run pip install --upgrade sourcedefender to update your sourcedefender.

RAB 1.2.3

  • Pokemon Management: RAB will now scroll Pokemon inventory page
  • PGSharp: Detect shiny from overlay
  • Fixed: HAL has no PvP information
  • PGSharp enhanced mode extended to Monday, 31 May 2021 23:59:59 GMT
  • Fix: v1.2.0 to v1.2.2 auto close. Please update to this version.

Knownbugs

  • The following features will not work or will have weird behavior with Samsung Phones
  1. Enchanced PGSharp Mode
  2. PGSharp 100IV Shiny Hunting Mode

Changelog History

Discord

Join our Discord Channel

Features

  • Auto Catch
  • Auto Keep or Transfer base on IV (100 or PvP)
  • Auto Select Berries
  • Auto Select Balls
  • Auto Clear Quests
  • Auto Hatch
  • Auto Item management
  • Auto Pokemon Bag management
  • Auto reconnect vitural Go-plus (HAL & PGSharp Paid)
  • Auto Team Rocket Battle (HAL & Polygon# Only)
  • Auto Slot Gym (Polygon# Enhancer Paid)
  • Discord Notifications (Polygon Farmer Supported)
  • Non rooted support with PGSharp Free or Paid version (NO NOT USE IT ON MAIN ACCOUNT)

Enhanced Features (Donors Features)

Requires telegram account and donor status

  • Integration with Telegram feed to allow PvP/100IV Snipe (PvP Feed not available yet)
  • Integration with Telegram feed to allow Shiny Checking
  • (PGSharp Free/Paid) Hunt pokemon with Nearby feed (RAB PGSharp Enhance Mode)
  • (PGSharp Free/Paid) 100IV Shiny Pokemon tapping with Sniper feed

Phone Requirements

  1. Rooted (Optional)
  2. Your phone must be able to run Pokemon Go if it's rooted
  3. USB Debugging Enabled (Under Developer Options)
  4. Phone with Screen Resolution 720 x 1280 and above
  5. Recommended 2GB RAM and above
  6. Recommended Snapdragon 625 and above
  7. Additional settings needed for Samsung and Xiaomi phones (Explained in app)

System Requirements

64 bit system is required to run RAB (Windows 10 - 64bit)

Release Download

  • Window users can download RAB from here
  • Please read the sections below on how to setup your phone to run RAB
  • There are no release version for Mac and Linux version yet. Please read on for the instructions on how to setup RAB on your system.

Setting up USB Debugging mode option

  1. Launch the Settings application on your phone.
  2. Tap the About Phone option generally near the bottom of the list.
  3. Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
  4. Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
  5. Go in there and enable the USB Debugging mode option.

Additional Setup required by phone brand

  1. Xiaomi phone: Also Enable USB Debugging (Security settings).
  2. Realme: Enable "Disable permission monitoring".
  3. Samsung: Settings -> Display -> Navigation bar -> select 'Full screen gesture' and turn-off 'gesture hints'
  4. Check your phone's color display. Make sure it's Natural instead of Vivid. For Samsung users, this setting can be found at Settings > Display > Screen Mode. Other brand and models you have to find this option yourself.

Additional Apps needed and their settings

  1. (Optional) Install Pokemod or HAL or Polygon# or PGSharp Please ensure their enabled/disabled Modules matches with the client settings of RAB
  2. (Pokemod, HAL and Polygon# Only) GPS Joystick, unlock version. Download from their official website You can also use GPS Joystick without any of those 3rd party apps.
  • (Pokemod, HAL, Polygon# Only) Create/download a GPX Route and run it in background. Make sure joystick are hidden from view. GPX Routes in public domain
  • (PGSharp Paid Only) Create/download a GPX Route and run it. Do not hide PGSharp. Move joystick away from location that will block text.
  • (Pokemod, HAL, Polygon# Only) Recommended Speed 7km per hour or less
  1. (Optional, if phone is rooted) Go to playstore and download Easy DPI Changer (or https://www.apkmirror.com/apk/chornerman_studio/easy-dpi-changer-root/). You can use this if your phone resized and you need to reset it immediately. Non-rooted users, you can use the tools tab in RAB to help you reset your phone resolution.
  2. Your Pokemon Go Game MUST BE in English.
  3. When running the scripts at your computer, the following app/services must be running on your phone
  • GPS Joystick (Not needed for PGSharp)
  • (optional) MAD Enhancer, Pokemod Espresso, Pokemod HAL, Polygon# or PGSharp
  • Pokemon Go

Pokemod/HAL Support

Settings

  • (Pokemod) IV Display format --> Toast | (HAL) Enable Toasts
  • (Pokemod) IV Display Information --> verbose | (HAL) Toast verbosity --> Informative
  • Toast Location/Position --> Top

Enable Modules

  • Enable Prefect Throw
  • Enable Skip Encounter Intro
  • Enable Show Encounter IV (Enable Toasts in Settings)
  • Replace Names with IVs in Encounters

Disable Modules

  • Disable Block Non-Shiny Encounters
  • Disable Mass Transfer any Pokémon (To prevent accident transfer of your fav lengenary Pokemon)

Optional Modules

  • Team Rocket Blastoff (HAL Only)
  • Instant Spin
  • Instant Catch and Transfer on Catch (HAL Only) (When Transfer on Catch is enabled, the bot will not be able to prevent PvP eligible Pokemon from being transfered)

Enable or disable the settings in RAB's GUI accordingly

Polygon# Enhancer Support

Settings for Free version

  • Set a route in GPS Joystick and loop it

Advanced

  • Encounter nameplates format {default} LVL{lvl}\nIV{prc0}% {ivs}
  • Pokemon panel nameplate format {default}

Settings for Paid version

  • Note that RAB will attempt to gather a few information from Polygon# Paid version first before starting to catch Pokemon. As such you might see RAB attempt to spin pokestops continously for a few mintues before catching. It is normal.

Advanced

  • Enable Send data to custom backend
  • Set backend IP Address to the IP of the machine that you are running RAB
  • How to find your machine's IP Guide Windows | Mac
  • Enter a port number that you set in config. Default 5120. If you are using more than one device, each device must have their own config and with their own port number set.
  • Encounter nameplates format {default} LVL{lvl}\nIV{prc0}% {ivs}
  • Pokemon panel nameplate format {default}

Enable or disable the settings in RAB's GUI accordingly

MAD Enhancer Support

Overlay Settings

  • Overlay Enabled
  • Show IV Overlay Enabled

App Settings

  • Disable notifications Enabled (Notification will interrupt RAB detection)

Location Settings

  • Disable MAD Enchancer Spoof Location. Please Use GPS Joystick instead

Additional Settings

  • Enhance Throws, set to your preferred
  • Speedup animations having hit a mon, set to either Speedup or Quick. If using Speedup, Disable RAB's Quick Catch. If using Quick, Enable RAB's Quick Catch
  • Stun Mon, you are encouraged to use Immobilized

Inventory Management Settings

  • Set your own Inventory management here. Disable RAB's Inventory management

Encounter Name Settings

  • Do not enable anything here

Enable or disable the settings in RAB's GUI accordingly

PGSharp Support

Settings for Free Version

  • Spoofing Enabled
  • Hide PGSharp Disabled, move joystick to somewhere that wont block the screen
  • Enhanced Throw on Excellent and Curved
  • Tap to Walk Enabled.
  • Set your walking speed to less than 7km/hr
  • Set a location with the Map or enter coordinates

Settings for Paid Version

  • Spoofing Enabled
  • Hide PGSharp Disabled, move joystick to somewhere that wont block the screen
  • Enhanced Throw on Excellent and Curved throw is preferred for faster catching
  • Tap to Walk or Teleport Disabled.
  • Inventory IV Enabled
  • Encounter IV Enabled
  • Quick Catch Optional. Set transfer on catch to true in RAB config if you set this option to true.
  • The rest of options are optional
  • Then click on PGSharp's icon and choose either auto walk or GPX route (this option is in map)

RAB PGSharp Enhance Mode (Donor features)

  • If using nearby feed to move around, enable Nearby feed only. place it at extereme left hand side. Move the PGSharp icon to exterme right. Joystick move to bottom left or right until the joystick can't be seen (Only left with 2 lines).
  • If using 100IV Shiny tap, enable Sniper feed only, enable 100IV Shiny Hunt in RAB Configuration tab. place it at extereme left hand side. Move the PGSharp icon to exterme right.
  • Tap to Walk or Teleport Enabled for Paid version of PGSharp if using Enhance Mode.

Enable or disable the settings in RAB's GUI accordingly

PC/MAC/LINUX Requirements

Windows users who downloaded the release version, you just need to configure RAB, configure your phone and plug in to your PC and run RAB.exe will do. You do not need to follow the steps below. Remember to ctrl+c when you want to exit from RAB.

Windows users who downloaded the release version, you do not need to read any further!

Install Tesseract

Mac User

  1. Install via Homebrew (https://brew.sh/)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  1. Install Tesseract
brew install tesseract (install homebrew if you have not)
  1. Install ADB
brew cask install android-platform-tools
  1. Connect your device to your mac and run the following to see if it can detect your device
adb devices

Linux

  1. Install tesseract via apt by using the command
sudo apt-get install tesseract-ocr
  1. Install adb via apt by using the command
sudo apt-get install adb

Installing all dependencies via choclatey (Windows User Only)

  • Windows user are encouraged to use the release version. If you are using the release version, you do not need to follow the steps below anymore.
  • For those who don't know what choclatey is, it's just like apt-get in ubuntu/Debian if u know what it is. If u want to know more about it before you use it please visit this link

Installing Choclatey

  1. Open the PowerShell as administrator
  2. You must ensure Get-ExecutionPolicy is not Restricted, for that you can use the following command in the powershell Set-ExecutionPolicy Unrestricted
  3. Now run the command
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) 

Installing Git with choclatey and downloading RAB

  1. Open PowerShell as administrator
  2. Use the command choco install git -y to install git. (Type "y" and enter if it prompts to).
  3. Restart your PowerShell or use the command refreshenv(Restarting is recommended).
  4. Enter the C drive directory by using cd C:\
  5. Clone this repo by using the command git clone --recursive https://github.com/MerlionRock/RealAndroidBot.git You will find the RealAndroidBot folder present in the C drive directory after executing this command

Setting up the project

  1. (Windows Only) ==> Open the RealAndroidBot folder (Which is present in the C drive) in FileExplorer.
    • 1.1 (Ubuntu/Linux) Open terminal and type: cd ~/
  2. (Windows Only) ==> Right click on the Install.ps1 and select 'Run with PowerShell'
  3. (Windows Only) ==> The installation will take a little time and it will prompt press any key to continue (press any key) and then u will be directed to the PS C:\Windows\system32> directory.
  4. (Mac and Linux) Install Python 3.7 or later (https://www.python.org/downloads/)
  5. (Windows Only) ==> Now use cd C:\ and Follow by using python3 -m venv RealAndroidBot Note: If your screen return python after this command, please type in this instead python -m venv RealAndroidBot (Mac and Linux) Follow the same step but skip the cd .. part
  6. Follow by (Mac and Linux) source RealAndroidBot/bin/activate (Windows) RealAndroidBot\Scripts\activate
  7. Follow by cd RealAndroidBot
  8. Copy config.example.yaml to rab/config.yaml and configure it by using notepad++. Do not use notepad to edit.!
  9. Back to Terminal or PowerShell, type pip install -r requirements.txt
  10. Follow by cd rab
  11. Setup your phone according to app requirements as instructed above and run all required apps on phone
  12. Make sure your Pokemon Go is at map page and zoomed out to the max.
  13. Make sure your device are connected to your machine, run this command in Terminal or PowerShell python -m uiautomator2 init. Check your phone and allow installation of automator on your Phone
  14. Please ensure you have copied config.example.yaml to rab/config.yaml and configure it, then run python run.py in your terminal or powershell
  15. To run multiple devices, first run adb devices to get all your device ID connected to your computer
  16. Then run each command on their own terminal/shell console python run.py --device-id YOUR_DEVICE_ID
  17. To use a different config file (good for multiple devices setup) run python run.py --device-id YOUR_DEVICE_ID --config-filename YOUR_CONFIG_FILE_NAME
  18. Ctrl + C to terminate the program (you might have to do it more than once)
  19. Whenever you want to run the scripts again, remember to run Step 7 first follow by (mac/linux) cd RealAndroidBot/rab or (Windows) cd RealAndroidBot\rab
  20. To update your files from github repo, type git pull

Troubleshooting

RAB Mess up my screen resolution and my navigation bar went missing!!

(Linux & Mac Users) Open your terminal, type in the following command. (press enter before entering the other) adb shell wm size reset adb shell wm density reset adb shell wm overscan 0,0,0,0

(Windows) Use RAB.exe Under Tool tab, you can reset your phone resolution. Make sure your phone is plugged in.

To prevent it from happening again, always use ctrl+c to close RAB

After entering python run.py, nothing happens or it ask me to install requirements.text when all requirements are already installed

Please ensure that you have installed the required software. Tesseract and adb needs to be installed.

If you are sure you have installed adb, follow this guide to add adb to your system path

If all required are install and you still did not see anything, make sure you have done step 9 correctly.

Additional Steps to if it still doesn't help:

  1. Update your pip by using: python -m pip install --upgrade pip
  2. Reinstall your requirements, cd c:\RealAndroidBot follow by pip install -r requirements.txt

RAB only works with 64bit system. You can't run RAB if you run a 32bit system.

Lastly, for Windows users, when all options failed, just use the .exe version found here

Disclaimer

©2016 Niantic, Inc. ©2016 Pokémon. ©1995–2016 Nintendo / Creatures Inc. / GAME FREAK inc. © 2016 Pokémon/Nintendo Pokémon and Pokémon character names are trademarks of Nintendo. Other trademarks are the property of their respective owners. Privacy Policy

RealAndroidBot is intended for academic purposes and should not be used to play the game PokemonGo as it is unfair to the community. Use the bot at your own risk.