Skip to content

spiralgang/VARIABOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

VARIABOT - Advanced AI & Android Rooting Framework

A comprehensive multi-purpose framework combining AI chatbot capabilities with production-grade Android rooting tools and live bot integration.

Table of Contents

VARIABOT - Advanced AI & Android Rooting Framework

VARIABOT - Agentic AI & Android Rooting Matrix

A comprehensive, self-evolving framework combining a multi-agent AI rooting system with a versatile chatbot interface.

Table of Contents

🚀 Features

📱 Android Rooting Framework

Production-grade Android 13 ARM64 tablet rooting system with:

  • Root Detection & Completion: Multi-method detection and Magisk integration
  • Live Bot Framework: Real-time error handling and adaptive recovery
  • GitHub Integration: Live code updates and collaborative development
  • Comprehensive Logging: Full audit trail with compliance features
  • Termux Compatibility: Native support for Android 10+ environments

🤖 AI Chatbot Mastery

Small custom AI assistants with Gradio_client and Streamlit:

  • Multiple AI model interfaces (Qwen, Phi-3, OpenELM)
  • Terminal and web-based chat interfaces
  • Real-time streaming responses
  • Conversation history management

📋 Quick Start

Android Rooting (New!)

# Install and run in Termux
curl -sSL https://raw.githubusercontent.com/spiralgang/VARIABOT/main/android_rooting/scripts/termux_setup.sh | bash
# Clone the repository
git clone https://github.com/spiralgang/VARIABOT.git
cd VARIABOT

# Check root status
root-status

# Complete rooting process
android-root

AI Chatbots

Create a virtual environment and activate it:

pip install -r requirements.txt

Terminal interface:

python Qwen110BChat.py

Web interface:

streamlit run st-Qwen1.5-110B-Chat.py

🏗️ Project Structure

VARIABOT/
├── android_rooting/           # 🆕 Android rooting framework
│   ├── core/                  # Root detection and Magisk management
│   ├── bots/                  # Live bot framework
│   ├── utils/                 # Utility modules
│   ├── scripts/               # Executable scripts
│   └── docs/                  # Comprehensive documentation
├── Qwen110BChat.py           # Terminal AI interface
├── st-*.py                   # Streamlit web interfaces
├── requirements.txt          # Python dependencies
└── README.md                 # This file

🔧 Android Rooting Features

Core Capabilities

  • Multi-method Root Detection: Binary, package, property, SELinux analysis
  • Magisk Integration: Complete management and installation support
  • System Repair: Automated partial root completion
  • Error Recovery: Intelligent bot-driven error handling

Bot Framework

  • Real-time Monitoring: System health and process monitoring
  • Error Adaptation: Live variable adaptation during root process
  • GitHub Integration: Live code building and updates
  • Audit Trail: Comprehensive logging and compliance

Security & Compliance

  • Minimal Permissions: Only necessary access requests
  • Secure Communications: HTTPS for all network operations
  • Audit Logging: Complete operational trail
  • Code Integrity: SHA verification for updates

🤖 AI Chatbot Interfaces

Chat interface with only terminal

Chat interface with Streamlit

Available Models

  • Qwen 1.5-110B-Chat: Large language model interface
  • Qwen 1.5-MoE-A2.7B-Chat: Mixture of experts model
  • Phi-3-Mini-128k: Microsoft's compact model
  • OpenELM-3B: Apple's efficient language model

More options

📚 Documentation

Project Organization

Android Rooting

AI Chatbots

  • Medium Article: Original chatbot tutorial
  • Model Documentation: Individual model configuration guides

🛠️ Installation

Prerequisites

  • For Android Rooting: Termux on Android 10+, ARM64 device
  • For AI Chatbots: Python 3.7+, pip, internet connection

Android Rooting Setup

# Automated setup (recommended)
curl -sSL https://raw.githubusercontent.com/spiralgang/VARIABOT/main/android_rooting/scripts/termux_setup.sh | bash

# Manual setup
git clone https://github.com/spiralgang/VARIABOT.git
cd VARIABOT/android_rooting
./scripts/termux_setup.sh

AI Chatbot Setup

# Clone repository
git clone https://github.com/spiralgang/VARIABOT.git
cd VARIABOT

# Install dependencies
pip install -r requirements.txt

# Configure HuggingFace tokens in the Python files
# Edit st-Qwen1.5-110B-Chat.py and update yourHFtoken

🚨 Usage Examples

Android Rooting

# Check current root status
root-detect --json

# Start error monitoring bot
error-bot --daemon

# Complete rooting process
android-root --enable-bot

# Manage Magisk modules
magisk-manage modules list

AI Chatbots

# Terminal chat
python Qwen110BChat.py

# Web interface
streamlit run st-Qwen1.5-110B-Chat.py

# Different models
streamlit run st-Phi3Mini-128k-Chat.py
streamlit run st-Openelm-3B.py

🔒 Security & Legal

Android Rooting

⚠️ Important Disclaimers:

  • Rooting may void device warranty
  • Could expose security vulnerabilities
  • May violate terms of service
  • Use only on devices you own
  • For educational/authorized testing only
  • For detailed exploit payloads and rooting procedures, see the Linux, Kali, and Android Standards document in the reference vault.

AI Chatbots

  • Requires HuggingFace API tokens
  • Conversations may be logged
  • Follow platform usage policies
  • Respect rate limits

🤝 Contributing

Development

# Fork the repository
git clone https://github.com/your-fork/VARIABOT.git

# Create feature branch
git checkout -b feature/new-feature

# Make changes and test
pytest android_rooting/tests/  # For rooting framework
python test_chatbots.py        # For AI interfaces

# Submit pull request

Guidelines

  • Follow existing code style
  • Add tests for new features
  • Update documentation
  • Security review for rooting features
  • Ensure Android 10+ compatibility

📊 Project Stats

Component Status Tests Coverage
Android Rooting ✅ Production 85%
AI Chatbots ✅ Stable ⚠️ Partial 60%
Documentation ✅ Complete N/A N/A
Bot Framework ✅ Active 80%

🙏 Acknowledgments

Android Rooting Framework

AI Chatbot Components

  • HuggingFace: Model hosting and API
  • Gradio: Client library for model interaction
  • Streamlit: Web interface framework
  • Original Tutorial: Medium article implementation

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Multi-Purpose Framework | Production Ready | Android 10+ Compatible | AI-Powered

References

About

Your Chatbot Mastery: build a super small custom AI assistant with Gradio_client Python and Streamlit - Chapter 1

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5