Skip to content

Latest commit

ย 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒพ Hay Star: Next-Gen Supercell Hay Day Automation & Native Bot

Ultra-Fast ARM64 C++ Engine โ€ข Rust Standalone Loader โ€ข Anti-Ban Device Profile Spoofing โ€ข Autonomous Supervisor Watchdog

GitHub Stars GitHub Forks License: MIT Rust 2021 C++ ARM64 Platform: Windows & Android Anti-Detection Author


The fastest, most reliable, zero-latency automated farming tool for Hay Day (Supercell).
Engineered natively in Rust and C++ ARM64 to run 24/7 with zero lag, humanized jitter, and built-in anti-crash watchdog supervision.

โšก Quick Start โ€ข ๐ŸŒŸ Key Features โ€ข ๐Ÿค– Autonomous Supervisor โ€ข ๐ŸŽฎ Command Cheat Sheet โ€ข ๐Ÿ›ก๏ธ Stealth & Anti-Ban โ€ข ๐Ÿ‘จโ€๐Ÿ’ป Author


๐Ÿ” Why Hay Star?

Most conventional Hay Day bots rely on clumsy screen scraping, slow image recognition (OpenCV/PyAutoGUI), and laggy mouse clicks that frequently misclick, desynchronize, and trigger Supercell security flags.

Hay Star is completely different. Designed by Ashraf Morningstar, Hay Star interfaces directly with Hay Day's native game memory and internal virtual tables via an in-process ARM64 injection engine:

  • ๐Ÿš€ Zero Latency: Direct internal mailbox triggers planting, harvesting, and selling in milliseconds.
  • ๐Ÿ›ก๏ธ Promon SHIELD & Quago Anti-Cheat Suppression: Intercepts and blocks behavioral analytics and anti-tamper telemetry (api.quago.io).
  • ๐Ÿ“ฑ Hardware Profile Spoofing: Masks emulator signatures as genuine retail Samsung Galaxy S24 Ultra hardware.
  • ๐Ÿ”„ Autonomous Supervisor Engine: Self-healing watchdog monitors game health, auto-restarts crashes, and handles roadside shop sales with automated newspaper advertisements.

๐ŸŒŸ Feature Matrix

Feature Conventional OCR Bots Hay Star (Native)
Core Architecture Python / Screen Clicks Native ARM64 C++ & Rust Standalone
Speed 10โ€“30s per farm cycle < 0.1s Zero-Latency Execution
CPU / RAM Footprint 800MBโ€“2GB RAM (Laggy) < 25MB RAM (Ultra-Lightweight)
Anti-Cheat Evasion None (High Ban Risk) Quago Telemetry Suppressed + HW Spoofed
Roadside Shop Auto-Sell Clumsy UI clicks Direct Mailbox Slot Injection
Newspaper Advertising Slow & Unreliable Automatic 5-min Ad Publisher
Crash Self-Healing Stops working on freeze Autonomous Watchdog Auto-Restart
TCP Remote API None Port 31350 CLI & Socket Control

โšก 1-Minute Quick Start

Prerequisites

  1. Windows 10 / 11 (64-bit).
  2. LDPlayer 9 (Android 9, 64-bit instance) with:
    • Root permission: Enabled in LDPlayer Settings > Basic.
    • ADB debugging: Open local connection in LDPlayer Settings > Other.
  3. Hay Day (com.supercell.hayday) installed and logged in.

1-Click Launch

  1. Download or clone this repository:
    git clone https://github.com/AshrafMorningstar/hay-star.git
    cd hay-star
  2. Double-click start.bat or run:
    python supervisor.py
  3. The supervisor will auto-detect your emulator, verify ADB, inject the native engine, and start 24/7 wheat farming and roadside selling automatically!

๐Ÿค– Autonomous Supervisor & Watchdog

Hay Star comes bundled with supervisor.py and a fully customizable supervisor.config.json designed for 100% unattended farming:

{
  "farming": {
    "enabled": true,
    "crop_id": 400001,
    "crop_name": "Wheat",
    "farm_interval_sec": 125,
    "human_jitter_sec": 5
  },
  "roadside_shop": {
    "auto_sell": true,
    "item_id": 400001,
    "slot_start": 0,
    "slots_to_fill": 10,
    "stack_size": 10,
    "unit_price": 1,
    "enable_newspaper_ad": true
  },
  "watchdog": {
    "auto_restart_on_crash": true,
    "health_check_interval_sec": 10,
    "max_restart_attempts": 20
  }
}

Supported Crop IDs:

  • ๐ŸŒพ Wheat: 400001 (Default โ€” fastest XP, coins & rare upgrade items)
  • ๐ŸŒฝ Corn: 400002
  • ๐Ÿฅ• Carrot: 400003
  • ๐Ÿซ˜ Soybean: 400004
  • ๐ŸŽ‹ Sugarcane: 400005

๐ŸŽฎ Console Commands (mstar>)

Prefer hands-on manual control? Run hay-star.exe directly to enter the interactive REPL console:

Native Farming Engine

mstar> loadnative               # Injects native ARM64 engine (libmstar.so)
mstar> nharvest                 # Instantly harvest all mature crops
mstar> nplant [crop_id]         # Plant all fields (e.g. nplant 400001 for wheat)
mstar> nsell <slot> <cnt> <pr>  # Put items on sale (e.g. nsell 0 10 1 1)
mstar> nfarm [interval] [crop]  # Run built-in continuous farm loop
mstar> nfields                  # Dump dynamic field entity pointers
mstar> nping                    # Ping native engine responsiveness
mstar> ndiag                    # Dump engine ticks and mailbox diagnostics

Stealth, Telemetry & Anti-Cheat

mstar> nquago block on          # Drop all telemetry packets to api.quago.io
mstar> nquago status            # View intercepted telemetry count
mstar> nspoof on                # Emulate retail Samsung Galaxy S24 Ultra
mstar> nstate                   # Read live game state (player level, coins, diamonds)

Memory Reversing & Inspection

mstar> info                     # Inspect libg.so base address and memory maps
mstar> read <addr> <size>       # Hex dump target process memory
mstar> write <addr> <hex>       # Patch game bytes in memory
mstar> vscan <type> <val>       # Scan memory for values (i32, i64, f32, etc.)
mstar> nop <addr> [count]       # Install ARM64 NOP sled (0xD503201F)
mstar> cave <addr> <hex>        # Assemble branch detour cave

๐Ÿ›ก๏ธ Stealth & Anti-Cheat Bypass

Supercell and Promon SHIELD employ aggressive anti-tamper and behavioral detection vectors. Hay Star neutralizes these at root level:

  1. Quago Behavioral Telemetry Neutralization:
    • Intercepts SSL socket writes and HTTP JSON payloads targeting api.quago.io.
    • Filters out anomalous click cadences and touch pressure heuristics.
  2. SELinux & Process Namespace Cloaking:
    • Operates through custom SELinux domain contexts (su / magisk), preventing detection from standard zygote sandboxes.
  3. Samsung S24 Ultra Profile Redirection:
    • Hooks libc open / fopen / __system_property_get to emulate a genuine Snapdragon 8 Gen 3 retail device, masking typical LDPlayer/VBox signatures.

๐Ÿ—๏ธ Architecture & Technology Stack

+-------------------------------------------------------------------------+
|                  HAY STAR SUPERVISOR (supervisor.py)                     |
|         Watchdog Auto-Restart โ€ข Roadside Shop Loop โ€ข Health Monitor      |
+------------------------------------+------------------------------------+
                                     | TCP Socket (Port 31350)
                                     v
+-------------------------------------------------------------------------+
|                   HAY STAR RUST LOADER (hay-star.exe)                    |
|    ADB Bridge โ€ข SELinux Transit โ€ข Frida Gadget Injector โ€ข REPL Engine    |
+------------------------------------+------------------------------------+
                                     | In-Process Shared Memory / Mailbox
                                     v
+-------------------------------------------------------------------------+
|                C++ ARM64 NATIVE ENGINE (libmstar.so)                     |
| Game Tick Hook โ€ข Field Sub-Manager VTable โ€ข Roadside Shop Transaction   |
+-------------------------------------------------------------------------+

๐Ÿ› ๏ธ Building from Source

1. Compile Rust Standalone Loader

cd loader
cargo build --release

The optimized executable will be generated at target/release/hay-star.exe.

2. Compile ARM64 Native Hook Engine

Requires Android NDK (r25c or higher):

cd native
.\build.ps1

Output shared object: native/build/libmstar.so.


๐Ÿ‘จโ€๐Ÿ’ป Author & Creator

Ashraf Morningstar

Software Engineer โ€ข Reverse Engineer โ€ข Systems & Automation Specialist

GitHub Profile Email

โญ If you find Hay Star useful, please give this repository a Star on GitHub! โญ


โš–๏ธ Disclaimer

Hay Star is an educational reverse-engineering and automation research project created by Ashraf Morningstar to study Android process injection, ARM64 assembly detours, and game security mechanisms. All game titles, trademarks, and registered trademarks (Hay Day, Supercell) are the property of their respective owners. Use responsibly.


๐Ÿ“ˆ Keywords & Search Engine Indexing (SEO)

Hay Day Bot โ€ข Hay Day Tools โ€ข Supercell Hay Day Automation โ€ข Hay Day Auto Wheat Bot โ€ข Hay Day Free Bot 2026 โ€ข Hay Day Roadside Shop Auto Seller โ€ข Hay Day LDPlayer Bot โ€ข Hay Day Anti-Ban โ€ข Hay Day Cheat โ€ข Hay Day Hack โ€ข Hay Day Script โ€ข Hay Day Auto Farm โ€ข Ashraf Morningstar Hay Day โ€ข Ashraf Morningstar Bot โ€ข Frida Hay Day Hook โ€ข Hay Day Memory Scanner โ€ข Rust Game Bot โ€ข Supercell Game Automation

About

๐ŸŒพ The Ultimate Native Hay Day Bot & Automation Tool (Supercell Hay Day) by Ashraf Morningstar. Ultra-fast ARM64 C++ Engine, Rust Loader, Anti-Detection & Autonomous Watchdog.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages