Home

Awesome

Header

<div id='section-id-2'/>

What is its purpose?

🛠 Control Android & iOS devices: Capture screen, manage apps, simulate input, examine system logs etc.<br>

⚡️ Speed++ Are you an app developer or a tester? Boost your effectivity, discover new tools!

<div id='section-id-8'/>

All features

📲 Control Android and iOS devices or Emulators/Simulators using terminal commands<br>

🛠 Take screeshots, change device settings, gather app & device information<br>

⚙️ Manage mobile applications - install, restart, wipe data and much more<br>

📋 Handle multiple devices effortlessly - select from list or target all connected devices<br>

Save your precious time - stop doing repetitive tasks manually<br>

🔄 Automatic update - get new features and fixes ASAP<br>

Table of contents

🔩 Maybe you just want to skip to Installation?<br> <br> <bold>🤖 Android Commands</bold>

<strong>🍎 iOS Commands</strong><br>

💭 Do you want to share Feedback or Contribute?

<div id='section-id-22'/>

💻 Installation

<details> <summary>Click here to reveal step by step guide ↓</summary>

Note: This tool targets macOS for compatibility, but most interactions should work on any Unix system. <br>

  1. Open terminal
  2. Clone this repository git clone https://github.com/IntergalacticPenguin/mobile-toolkit.git
  3. Setup Android tools
    • Download and install Android Studio and Android command line tools (using Android Studio SDK manager)
    • Edit .zshrc (or .bash_profile if you have bash shell) open -e ~/.zshrc
      • Insert this line at the end PATH=$PATH:/Users/dummyuser/Library/Android/sdk/platform-tools export PATH
      • Don't forget to replace "dummyuser" with your account username
      • Use full path to the "platform-tools" directory
    • Allow USB debugging on your device, connect it and authorize your computer (click OK on the device screen)
  4. Setup iOS tools
    • Install latest Xcode and iOS command line tools using App Store
    • Install Homebrew package manager
    • Run Xcode, connect iOS device to USB and authorize your computer (click "Trust" on the device screen)
    • Run any script i.e. iscreenshot, installation of all required tools will be initiated automatically (jq and go-ios)
  5. Add Mobile Toolkit to $PATH, it is mandatory for iOS scripts and it will let you run scripts in any directory
    • Edit .zshrc (or .bash_profile if you have bash shell) open -e ~/.zshrc
      • Insert the following lines at the end <br> PATH=$PATH:/Users/dummyuser/mobile-toolkit/android <br> PATH=$PATH:/Users/dummyuser/mobile-toolkit/ios
      • Don't forget to replace "dummyuser" with your account username
      • Use full path to the "mobile-toolkit" directory (where you cloned this repository)
      • Add export PATH to the end of the file
</details> <div id='section-id-52'/>

🤖 Android Commands

<div id='section-id-54'/>

Capture screen

<div id='section-id-56'/>

📸 ascreenshot

<div id='section-id-60'/>

🎥 arecord

  1. arecord Record screen
  2. End recording using ctrl + c
  3. Save screen video footage to ~/Desktop
  4. Records audio by default on devices running Android 12 and up (when using Scrcpy version 2.0.0 or higher)
<div id='section-id-66'/>

Control device

<div id='section-id-68'/>

✏️ apaste

apaste "john.doe@fakemail.com" password1 "5005 1002 3332 1112" "2/19" 5004

<div id='section-id-78'/>

🌐 aurl

<div id='section-id-82'/>

🏴 adarkmode

<div id='section-id-85'/>

🔊 atalkback

<div id='section-id-88'/>

📐 abounds

<div id='section-id-92'/>

🚗 aanimationspeed

<div id='section-id-96'/>

🔠 afontscale

<div id='section-id-100'/>

🎹 acontrol

<div id='section-id-104'/>

📷 acamera

<div id='section-id-107'/>

⚡️ awireless

<div id='section-id-111'/>

Manage packages

<div id='section-id-113'/>

🚀 alaunch

<div id='section-id-118'/>

🕵️ aappinfo

<div id='section-id-128'/>

🔪 akill

<div id='section-id-132'/>

🧽 aerase

<div id='section-id-136'/>

🚚 ainstall

<div id='section-id-140'/>

🗑 auninstall

<div id='section-id-146'/>

🔥 awipe

<div id='section-id-149'/>

🐁 apermissionreset

<div id='section-id-153'/>

🛍 agoogleplay

<div id='section-id-157'/>

🏭 abuildproject

<div id='section-id-161'/>

Manage device

<div id='section-id-163'/>

⚙️ aoptions

<div id='section-id-176'/>

📜 alog

<div id='section-id-180'/>

📋 acheckdevice

<div id='section-id-192'/>

😎 aservices

<div id='section-id-196'/>

♻ areboot

<div id='section-id-199'/>

📱 aemulator

Required: Make terminal use Android Studio Java

<div id='section-id-215'/>

🐒 atestmonkey

<div id='section-id-233'/>

🍎 iOS Commands

<div id='section-id-235'/>

Capture screen

<div id='section-id-237'/>

📸 iscreenshot

<div id='section-id-241'/>

🎥 irecord

Required: Install videosnap -> download and install videosnap-0.0.8.pkg<br> Required: Install ffmpeg brew install ffmpeg

  1. irecord Record screen
  2. End recording using ctrl + c
  3. Video footage is saved to ~/Desktop
  4. File is compressed using ffmpeg
<div id='section-id-250'/>

📹 iquicktime

<div id='section-id-255'/>

Manage applications

<div id='section-id-256'/>

🚚 iinstall

<div id='section-id-260'/>

🗑 iuninstall

<div id='section-id-266'/>

🚀 ilaunch

<div id='section-id-271'/>

🔪 ikill

<div id='section-id-276'/>

Manage device

<div id='section-id-278'/>

⚙️ ioptions

<div id='section-id-281'/>

💬 ilang

<div id='section-id-285'/>

📜 ilog

<div id='section-id-288'/>

📋 icheckdevice

<div id='section-id-292'/>

♻ ireboot

<div id='section-id-295'/>

📱 isimulator

<div id='section-id-309'/>

🖥 iconsole

<div id='section-id-312'/>

<strong>Feedback & Contribution</strong><br>

<sup>⁉️ Submit an issue to report any bugs, request a feature or ask questions.</sup><br> <sup>🤝 Pull requests are highly appreciated, see the issue board.</sup><br> <sup>💬 Also <strong>visit my NoMo</strong> project and leave a star.</sup><br> <sup>🔗 Find me on LinkedIn or Twitter.</sup><br>