AK Networks

Android 13: Pokemon Go spoofing setup on Pixel 6/6a

Flash stock image

Setup phone:
a. Click “Get Started”.
b. Click “Skip”.
c. Click “Set up offline”.
d. Click “Continue”.
e. Click “Next”.
f. Untick “Use Location” and Send usage and diagnostic data”
g. Click “Accept”.
h. Click “Skip”.
i. Click “Skip”.
j. Click “Next”.
k. Click “Skip”.

Download stock image (chose latest Android 13 unless it doesn’t work, then try second to latest and so on)
a. Pixel 6a (Android 13)
b. Pixel 6 (Android 13)

Enable Developer Mode.
a. Settings, About phone, tap Build number 7 times.

Enable USB Debugging and OEM unlocking.
a. Plug phone into PC via USB.
b. Settings, System, Developer options, turn on OEM unlocking and USB debugging.
c. Click the checkmark for “Allow USB debugging?” and then click “Allow”.
d. Turn on “Disable adb authorization timeout”.

Install ADB on PC.
a. Extract files to desktop or other location, there is no install.

Verify ADB working.
a. In ADB folder, shift right click, select “Open in Terminal”.
b. ./adb devices
i. You should see something like “99171FFAZ009XC device”
ii. If not working, install USB drivers.

Reboot phone
a. ./adb reboot bootloader

Verify ADB working
a. ./fastboot devices
i. You should see something like “99171FFAZ009XC fastboot”.
ii. If not working, install USB drivers.

Unlock bootloader
a. ./fastboot flashing unlock
b. On the phone, press volume up then the power button.

Extract stock image into the ADB folder. (the files, not the folder).

Flash stock image
a. ./flash-all

Patch Boot Image

  1. Get boot.img from zip file inside stock image. (it’s inside the zip file that is in the ADB folder from last step).
    • Extract to Desktop.
  2. Setup phone:
    • Click “Get Started”.
    • Click “Skip”.
    • Click “Set up offline”.
    • Click “Continue”.
    • Click “Next”.
    • Untick “Use Location” and Send usage and diagnostic data”
    • Click “Accept”.
    • Click “Skip”.
    • Click “Skip”.
    • Click “Next”.
    • Click “Skip”.
  3. Enable Developer Mode:
    • Settings, System, About phone, tap Build number 7 times.
  4. Enable USB Debugging.
    • Plug phone into PC using USB cable.
    • Settings, System, Developer options, turn on ‘Stay Awake”, turn off “Automatic system updates” and turn on “USB debugging”.
    • Check “Always allow from this computer” and then “Allow”.
  5. Enable file transfer on phone.
    • Setting, Connected devices, USB, select File transfer / Android Auto.
  6. Move files to phone
    • Move boot.img to Download folder
    • Move Magisk.apk to Download folder
  7. Install Magisk.
    • Open Files app, Downloads, Magisk, allow install from source, Install, then Open.
  8. Patch boot.img
    • In Magisk, click Install, Select and Patch a File, search for “Boot”.
    • Click “LET’S GO”.
    • After “All Done”, click back arrow.
  9. Move patched boot.img back to computer.
    • Disconnect phone and reconnect.
    • Enable file transfer on phone. Setting, Connected devices, USB, select File transfer / Android Auto.
    • Drag magisk_patched.img to Desktop
  10. Verify ADB working.
    • In ADB folder, shift right click, select “Open in Terminal”.
    • ./adb devices
      • You should see something like “99171FFAZ009XC device”
      • If not working, install USB drivers. Install OEM USB drivers | Android Developers
  11. Reboot phone
    • ./adb reboot bootloader
  12. Verify ADB working
    • ./fastboot devices
      • You should see something like “99171FFAZ009XC fastboot”.
      • If not working, install USB drivers. Install OEM USB drivers | Android Developers
    • Flash boot.img
      ./fastboot flash boot C:\Users\micro\Desktop\magisk_patched-27000_7fvj2.img
      (change path and filename to match yours)
  13. Boot phone
    • Press power button on side of phone to start.

Load Apps

  1. Enable file transfer on phone.
    • Setting, Connected devices, USB, select File transfer / Android Auto.
  2. Turn on 3 button Navigation (easier when controlling via PC)
    • Settings, Accessibility, System Controls, System Navigation, 3-button navigation
  3. Move the following to the phone:
  4. Install Apps.
    • Swipe up, open Files app, click on Downloads, install the following:
      • 3.1 com.joeykrim.rootcheck_6.5.3-197_minAPI19(nodpi)_apkmirror.com.apk
      • 3.2 com.theappninjas.fakegpsjoystick_4.3.2-3014_minAPI19(arm64-v8a)(nodpi)_apkmirror.com.apk.
      • 3.3 com.nianticlabs.pokemongo_0.257.1-2022122101_minAPI24(arm64-v8a)(nodpi)_apkmirror.com.apk. (DON’T OPEN)
      • 3.4 yasnac-v1.1.5.r65.15110ef310-release.apk.
      • 3.5 Package Disabler Pro (All Android)_11.0_apkcombo.com.apk.
      • 3.6 pgtools-3.5.2.apk.
      • 3.7 app-release.apk.
  5. Check for proper root:
    • Open RootCheck.
    • Click “Allow”.
    • Click “AGREE”.
    • Click “GET STARTED”.
    • Click “VERIFY ROOT”.
    • On the superuser popup, click “Grant” and ensure the dropdown is ‘Forever”.
    • Verify message is “Congratulations! Root access is properly installed on this device!”
  6. Configure Magisk:
    • Open Magisk
    • Click “OK” for Requires Additional Setup
    • After reboot, open Magisk
    • Click on Settings Gear
    • Click Enable Zygisk
    • Click Enable Enforce Deny List
    • Configure DenyList
    • Click the three dots.
    • Click Show system apps
    • Click Search icon
    • Search for “google play”
    • Click on Google Play services (not the checkbox box).
    • Tick on:
      • com.google.android.gms
      • com.google.android.gms.unstable
  7. Install PlayIntegrityFix
    • In Magisk, click on Modules
    • Click Install from storage.
    • Search for “integrity”, click “OK”.
    • Reboot.
  8. Install LSPosed Mod
    • In Magisk, click on Modules
    • Click Install from storage.
    • Search for “LSPosed”, click “OK”.
    • Reboot.
  9. Move icons to home screen: (optional, this is how I like my phones)
    • Swipe right to second screen, put the following across the top:
      • Magisk
      • Root Checker
      • YASNAC
    • 2nd Line:
      • Package Disabler Pro
      • Settings
      • Files
    • 3rd Line:
      • PGTools
      • GPS Joystick
      • Pokemon Go
  10. Configure HideMockLocations.
    • Open LSPosed, open phone dialer and dial *#*#5776733#*#*
    • Click on the modules icon in the bottom (second from left).
    • Click on the greyed out “Hide Mock Location”.
    • Tick Enable module.
    • Click the three dots.
    • Click “Hide”.
    • Uncheck “Games”.
    • Scroll down and tick the check boxes for
      • Pokemon Go
      • GPS Joystick
    • Reboot the phone. Swipe down from top of screen (twice) and click power button in the bottom right.
  11. Verify Safety Net attestation.
    • Connect to wifi. (make sure you are connected to wifi or this step won’t work).
    • Open YASNAC.
    • Click Run SafetyNet Attestation.
    • Verify Basic Integrity “Pass”. (CTS profile match may be a fail as of Feb 2023).
  12. Configure Mock Location App.
    • Click on Settings
    • Click on System
    • Click on Developer options
    • Scroll to the very bottom, click on Select Mock Location App
    • Choose GPS Joystick.
  13. Configure Location Services.
    • Click on Settings
    • Click on Location
    • Turn on Use Location.
    • Click Location Services.
    • Disable
      • Earthquake alerts (not always present)
      • Emergency Location Service.
    • Click back, click App access to location, click “Don’t Allow” for
      • Google
      • Chrome
      • Android System Intelligence
      • Android Auto
      • Camera (not all)
    • Click GPS Joystick “Allow only while using the app”.
  14. Turn on airplane mode to save battery.
    • Settings, Network & Internet, toggle on “Airplane mode”, then click on “Internet”, then toggle on “Wi-Fi”.
  15. Turn off find my devices
    • Settings, Security & privacy, Find My Device, toggle off “Use Find My Device”.
  16. Enable AdGuard to remove ads in GPS Joystick.
    • Settings, Network & Internet, Private DNS, click Private DNS provider hostname.
    • Type “dns.adguard.com” in the box and click Save.
  17. Configure Play Store
    • Click three dots, Settings, Network preferences, Auto-update apps, select “Don’t auto-update apps”.
    • Click three dots, Settings, General, Notifications, Remove “Updates Available” and then deselect “Show notifications”.
  18. Configure Package Disabler Pro to block system updates and the nag on the home screen. (Optional)
    • Open Package Disabler Pro
    • Click “Continue” at the bottom right.
    • Click “OK” on the warning about it being made for an older android version.
    • Click the magnifying glass, type “update”.
      • Check “ConfigUpdater”.
      • When prompted to grant root, click “Grant”.
      • Check “Dock Updater” (not all phones).
      • Check “Dynamic System Updates”.
    • Click on the three dots on the top right, click “Disable all Bloatware”. Ignore the warning about a backup and click “OK”.
  19. Open GPS Joystick
    • Click OK on any Unknown Errors.
    • Scroll to bottom, click Set Location, put: 0,0 and put: 0 for Altitude, click “Start”.
    • Draw permissions needed, click “GPS Joystick”, enable “Allow display over other apps”.
    • Click “Start”.
    • Click the Map icon in the top right.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *