Flutter Connect Wirelessly 📶📱
Luxury Wireless ADB, Dual-Screen Hub & Zero-Lag Screen Mirroring for Flutter
A state-of-the-art developer dashboard extension for VS Code, Cursor, and Antigravity IDE designed with a premium Burgundy & Obsidian Jet-Black theme. Connect, debug, run, hot reload, mirror screens with zero latency, test multiple apps simultaneously on virtual displays, and stream live device diagnostics with zero cables and zero terminal clutter.
[!IMPORTANT]
Network Requirements (3 Supported Modes):
- 🌐 Standard Wi-Fi Router: Both Phone and PC connected to the same home or office router.
- 📱 Mobile Hotspot from Phone: Turn on Portable Hotspot on your phone and connect your PC / Mac to it.
- 💻 Mobile Hotspot from PC: Turn on Mobile Hotspot on your Windows / Mac and connect your phone to it.
All three connection modes work seamlessly!
🚀 What's New in v1.3.5 (Background Run Anti-Kill & Auto App Protection)
- 🛡️ Zero-Drop Background Flutter Run Protection:
- Automatically shields your Flutter app from Android's aggressive background task killers, Low Memory Killer (LMK), and OEM app-freezers (Realme/Oppo Quick Freeze, Xiaomi MIUI Battery Saver, Samsung App Sleep).
- You can now safely minimize the app, reply to WhatsApp/Telegram messages, receive calls, or check notifications without losing your VS Code Flutter run session or hot reload connection!
- Hooks directly into VS Code debug lifecycle (
onDidStartDebugSession) and auto-detects applicationId / package name from your project workspace.
- Automatically executes persistent kernel unfreeze (
cmd activity unfreeze --sticky), sets restriction level to unrestricted, whitelists from battery optimization (dumpsys deviceidle whitelist), and locks standby bucket to active.
🚀 What's New in v1.3.4 (Dual-Screen Hub & Single USB Mirror Milestone)
- 🎛️ Multi-App Dual-Screen Workspace (Max 2 Screens):
- Run and test 2 independent Flutter apps side-by-side (e.g. Driver app + Rider app, Buyer + Seller chat) on your single physical phone!
- Strictly limited to 2 screens for guaranteed stability, zero GPU strain, zero overheating, and zero ANR.
- Automatically tiles windows side-by-side horizontally with zero manual window resizing.
- 🔌 1-Screen USB Ultra HD Mirror:
- Mirror a single screen via USB cable with uncompressed native resolution, maximum clarity, and ultra-high bandwidth.
- ⚠️ Smart Cable Detection & Protection:
- Dynamic pulsing warning banner and automatic button protection if USB is disconnected to guarantee silky-smooth multi-display bandwidth.
- 🧹 Clean & Unfreeze Phone Tool:
- 1-click developer button to instantly flush all background mirror processes, release phone RAM, and keep your device completely responsive.
- 📌 Persistent Saved IP Auto-Reconnect:
- Automatically remembers your phone's Wi-Fi IP address across VS Code sessions.
- If you walk away with your phone and return, 1-click Reconnect to Saved IP flushes stale ADB sockets and restores connection in < 1 second.
- ⚡ Ultra-Fast Zero-Lag Wireless Mirroring:
- Upgraded video pipeline with baseline profile (
profile=1), zero buffering (--video-buffer=0), and disabled audio overhead for true 60 FPS realtime touch response.
- 💎 Clean 3-Tab Architecture:
📱 Devices: Quick status, battery level, live controls, unfreeze tool, and one-click mirrors.
🎛️ Multi-App: Side-by-side 2-screen dual workspace and 1-screen USB Ultra HD mirror.
📶 Wireless Setup: 1-click pairing, manual IP connector, and step-by-step setup roadmap.
📖 Step-by-Step Setup Guide (First Time Only)
You only need to plug in a USB cable once for 10 seconds to authorize your computer. After that, you never need the cable again!
Step 1: Enable Developer Options & USB Debugging on your Phone
- Open your phone's Settings.
- Go to About Phone (or About Device).
- Find Build Number and tap it 7 times continuously until you see the message: "You are now a developer!".
- Go back to Settings > System (or Additional Settings) > Developer Options.
- Scroll down and turn ON the toggle for USB Debugging.
Step 2: Ensure Same Wi-Fi Network or Hotspot
- Connect your computer and your phone to the same Wi-Fi router or Mobile Hotspot.
Step 3: Plug USB Cable & Authorize Computer
- Connect your phone to your computer using a USB cable.
- An authorization popup will appear on your phone screen:
"Allow USB debugging from this computer?"
- ✅ Check the box: "Always allow from this computer" and tap Allow / OK.
Step 4: Click Connect & Unplug!
- In the sidebar Burgundy Dashboard or status bar, click
⚡ 1-Click Wireless Connect.
- The extension automatically detects your phone, fetches its IP, and configures port 5555.
- 🎉 Unplug the USB cable! You are now 100% wireless!
🌟 Detailed Feature Breakdown
1. ⚡ 1-Click Wireless ADB Connection
- Automatically discovers your connected phone.
- Configures ADB TCP/IP on port 5555 automatically.
- Remembers your phone's IP address for instant 1-click reconnects in future sessions without ever touching a USB cable.
2. 🎛️ Multi-App Dual-Screen Workspace (Side-by-Side Displays)
- Launch 2 independent screens simultaneously on a single phone (Primary screen + Secondary virtual display).
- Test multi-user Flutter interactions (e.g. food delivery driver and customer, chat rooms, live auctions) in real time side-by-side.
- Tiled automatically horizontally on your desktop with zero manual window resizing.
3. 🔌 1-Screen USB Ultra HD Mirror
- Pure uncompressed USB video stream at native phone resolution and 60 FPS for maximum clarity and zero artifacting.
4. ⚡ Mirror Screen (Fast Mode / Zero-Lag) — Recommended
- Streams your phone screen directly on top of your IDE at 60 FPS with < 25ms ultra-low latency.
- Instant mouse clicking, swiping, typing, and direct touch emulation with zero perceptible lag over Wi-Fi.
5. 🔋 Mirror & Turn Off Phone Display (Battery Saver)
- Streams the screen to your PC while powering off the physical phone screen.
- Eliminates battery drain and prevents phone overheating while you code.
- Keeps Flutter Run & Debugger 100% alive in the background without dropping connection!
- 💡 Keyboard Shortcut: Press
Alt + O inside the mirror window at any time to toggle the physical phone display ON or OFF!
6. 🛡️ Smart Anti-Sleep & Always-Alive Engine
- Automatically disables Android Doze Mode and Light Idle Mode upon connection.
- 🛡️ Anti-App-Freeze Shield: Automatically disables Android's Cached App Process Freezer, Phantom Process Killer, and Standby Buckets so Flutter Run & Dart VM Debugger stay 100% alive even when you minimize the app, switch to other apps, or return to the home screen!
- Forces Wi-Fi sleep policy to
Never Sleep, preventing Android from cutting off the TCP connection when the phone screen turns off.
- Background watchdog reconnects within 500ms if any Wi-Fi hiccup occurs.
🧹 Clean & Unfreeze: Flushes all background mirror instances and unfreezes phone memory with 1 click.
📸 Screenshot: Instant screenshot capture saved directly to your workspace.
💡 Wake Screen: Turn on physical screen with a single click.
📶 Fix Wi-Fi: Auto-reboot and re-heal device wireless interface.
🇪🇬 الدليل الشامل باللغة العربية (Arabic Documentation)
إضافة متطورة وشاملة لبرامج VS Code و Cursor و Antigravity IDE بواجهة عصرية فائقة الفخامة بلون البرجاندي والأسود الملكي (Burgundy & Obsidian Theme). تتيح لك ربط الموبايل الحقيقي بالكمبيوتر لاسلكياً (Wireless ADB)، وتشغيل الرن وعمل Hot Reload، مع عرض شاشة الموبايل والتحكم فيها بالماوس بدون لاج، وتشغيل تطبيقين فلاتر جنباً إلى جنب على شاشتين افتراضيتين مستقلتين!
[!IMPORTANT]
خيارات الشبكة المدعومة (3 طرق للاتصال):
- 🌐 راوتر واي فاي عادي: الموبايل والكمبيوتر متصلين بنفس شبكة الراوتر المنزلي أو المكتبي.
- 📱 هوت سبوت من الموبايل للكمبيوتر: افتح نقطة اتصال الهوت سبوت (Mobile Hotspot) من الموبايل ووصّل اللاب توب بيها.
- 💻 هوت سبوت من الكمبيوتر للموبايل: افتح Hotspot من اللاب توب ووصّل الموبايل بيه.
جميع الطرق الثلاثة مدعومة وتعمل 100% بكفاءة عالية وبدون انقطاع!
🚀 الجديد في الإصدار 1.3.4 (شاشتين كحد أقصى وبث شاشة واحدة بالوصلة)
- 🎛️ محطة الشاشات المزدوجة (Dual-Screen Hub ✨ - حد أقصى شاشتين):
- تشغيل واختبار تطبيقين فلاتر مستقلين في نفس الوقت (مثل تطبيق العميل والسائق، أو الشات بين البائع والمشتري) جنباً إلى جنب على نفس موبايلك الحقيقي!
- تحديد ذكي بـ شاشتين كحد أقصى: يمنع أي ضغط زائد على كارت شاشة الموبايل (GPU) ويضمن بقاء الهاتف بارداً وسريعاً واستقراراً تاماً 100% بدون أي تهنيج أو رسائل "Close App".
- ترتيب النوافذ تلقائياً جنباً إلى جنب على سطح المكتب.
- 🔌 بث شاشة واحدة بالوصلة (1 Screen USB Ultra HD):
- خيار تشغيل شاشة واحدة فقط بالوصلة بأعلى نقاء ودقة أصلية وسرعة استجابة فائقة لمراجعة تصاميم الـ UI.
- ⚠️ فحص كابل الـ USB الذكي:
- بانر تحذيري متوهج وأزرار ذكية تقفل تلقائياً في حالة عدم توصيل الوصلة لضمان أقصى سرعة نقل للشاشات بدون أي تقطيع.
- 🧹 أداة إلغاء التهنيج وتنظيف الرام (Clean & Unfreeze):
- زرار جديد في لوحة التحكم ينظف أي عمليات بث قديمة في الموبايل والكمبيوتر بضغطة واحدة ويحرر الذاكرة فوراً.
- 📌 حفظ الـ IP وإعادة الاتصال فائق السرعة:
- حفظ تلقائي لعنوان الآي بي الخاص بهاتفك.
- إذا ابتعدت بالموبايل ورجعت لمكتبك، ضغطة واحدة على
⚡ Reconnect to Saved IP هتنظف الاتصالات القديمة وتعيد الربط اللاسلكي في أقل من ثانية.
- ⚡ بث الشاشة الفائق بدون لاج (Pure Zero-Lag Mirror):
- خط أنابيب فيديو مطور يعمل بـ 60 FPS حقيقي واستجابة لمسية لحظية مع تقليل استهلاك الموارد.
- 💎 بنية الـ 3 تابات الأنيقة:
📱 Devices: تفاصيل الجهاز الحية ونسبة البطارية وأدوات المطور والبث المباشر.
🎛️ Multi-App: محطة الشاشات المزدوجة وبث شاشة الـ USB الواحدة.
📶 Wireless Setup: الإعداد بنقرة واحدة، الاتصال اليدوي، وخريطة الإعداد خطوة بخطوة.
📖 خطوات التسطيب والتشغيل لأول مرة (لمرة واحدة فقط)
تحتاج لتوصيل كابل الـ USB لمرة واحدة فقط لمدة 10 ثوانٍ لتعريف الموبايل على الكمبيوتر، وبعدها لن تحتاج للكابل نهائياً!
الخطوة 1: تفعيل وضع المطور وتصحيح USB (USB Debugging)
- افتح الإعدادات (Settings) في موبايلك.
- انزل إلى حول الهاتف (About Phone) أو معلومات الجهاز.
- ابحث عن رقم الإصدار (Build Number) واضغط عليه 7 مرات متتالية حتى تظهر رسالة: "أنت الآن مطور برامج!".
- ارجع خطوة للخلف وادخل على النظام (System) أو الإعدادات الإضافية (Additional Settings) > ثم خيارات المطور (Developer Options).
- فعّل خيار تصحيح أخطاء USB (USB Debugging).
الخطوة 2: التأكد من الاتصال بنفس شبكة الواي فاي أو الهوت سبوت
- تأكد من توصيل الكمبيوتر والموبايل بنفس شبكة الواي فاي أو شبكة الهوت سبوت.
الخطوة 3: توصيل الكابل والموافقة على الصلاحية
- وصّل الموبايل بالكمبيوتر باستخدام كابل الـ USB.
- ستظهر نافذة تنبيه على شاشة الموبايل:
"هل تريد السماح بتصحيح أخطاء USB من هذا الكمبيوتر؟"
- ✅ ضع علامة صح في المربع: "السماح دائماً من هذا الكمبيوتر (Always allow from this computer)" ثم اضغط سماح (Allow).
الخطوة 4: اضغط اتصال وافصل الكابل!
- في لوحة التحكم الجانبية أو في شريط الحالة السفلي، اضغط على زر
⚡ 1-Click Wireless Connect.
- ستقوم الإضافة بقراءة عنوان الآي بي الخاص بهاتفك تلقائياً وتفعيل المنفذ 5555.
- 🎉 افصل كابل الـ USB الآن! جهازك أصبح متصلاً وايرلس 100%!
🌟 شرح تفصيلي لجميع مميزات الإضافة
1. ⚡ الاتصال الوايرلس بضغطة زر (Connect Wireless)
- تكتشف الهاتف تلقائياً وتفعل بروتوكول ADB اللاسلكي.
- تحفظ عنوان الآي بي (IP) الخاص بهاتفك للاتصال الفوري في المرات القادمة بدون كابلات.
2. 🎛️ تشغيل شاشتين جنباً إلى جنب (Dual-App Workspace)
- تشغيل شاشتين في وقت واحد على هاتف واحد (الشاشة الرئيسية + شاشة افتراضية ثانوية).
- اختبار تفاعل تطبيقات فلاتر متعددة المستخدمين في الوقت الفعلي جنباً إلى جنب.
- ترتيب النوافذ أوتوماتيكياً على الشاشة بدون ضبط يدوي.
3. 🔌 بث شاشة واحدة بالوصلة (1 Screen USB Ultra HD)
- بث شاشة واحدة بكامل دقتها الأصلية وسرعة 60 FPS بدون ضغط للفحص الدقيق للواجهات.
4. ⚡ عرض الشاشة السريع بدون لاج (Mirror Screen - Fast Mode) — موصى به
- تعرض شاشة هاتفك فوق كود المشروع مباشرة بسرعة 60 إطار في الثانية (60 FPS) وزمن استجابة أقل من 25ms.
- تحكم كامل وفوري بالماوس (كليك، سحب، كتابة بالكيبورد) بدون أي تقطيع أو بطء عبر الواي فاي.
5. 🔋 عرض الشاشة مع إطفاء شاشة الموبايل (Mirror & Turn Off Phone Display)
- تعرض شاشة الهاتف وتتيح التحكم الكامل بها من الكمبيوتر، بينما شاشة الموبايل الفيزيائية تكون مطفأة تماماً (شاشة سوداء) لتوفير البطارية ومنع السخونة.
- تحافظ على جلسة Flutter Run والـ Debugger شغالة 100% في الخلفية بدون ما تفصل أبداً.
- 💡 اختصار الكيبورد: اضغط
Alt + O وأنت داخل شاشة الميرور في أي وقت لإشعال شاشة الموبايل أو إطفائها فوراً!
6. 🛡️ نظام الحماية من النوم التلقائي وإعادة الاتصال الذكي (Zero-Drop Engine)
- يقوم تلقائياً بتعطيل وضع الخمول والـ Deep Sleep في الأندرويد، ويضع الـ ADB في قائمة الـ Whitelist.
- 🛡️ درع منع تجميد التطبيقات (Anti-App-Freeze Shield): يعطل تلقائياً ميزة تجميد التطبيقات في الخلفية، ويحافظ على جلسة فلاتر والـ Dart VM Debugger شغالة 100% حتى لو خرجت من التطبيق للشاشة الرئيسية أو فتحت تطبيقات تانية ورجعت له تاني بدون ما يفصل الرن أبداً!
- حارس ذكي يراقب الاتصال كل 3.5 ثانية، ويعيد الاتصال في أقل من 500ms عند أي تذبذب في الواي فاي.
🧹 Clean & Unfreeze: فك أي تهنيج وتنظيف كل عمليات البث القديمة بضغطة زر.
📸 سكرين شوت فوري: يلتقط شاشة الموبايل ويحفظها مباشرة في مجلد المشروع.
💡 تنوير الشاشة: إشعال شاشة الموبايل بضغطة واحدة من الكمبيوتر.
📶 إصلاح الواي فاي: إعادة تهيئة كارت شبكة الموبايل تلقائياً عند أي بطء.
👨💻 Author
Created with ❤️ by Ahmed Saad — Senior Mobile & Flutter Engineer.
| |