Windows Subsystem for Android (WSA) คืออะไร?
Windows Subsystem for Android (WSA) เป็น Component ของ Windows 11 ที่รัน Android Apps บน Windows Device ใน Hyper-V Virtual Environment
โปรแกรมออกแบบเป็น Virtualized Android OS based on Android Open-Source Project (AOSP) ติดตั้งแล้ว เข้าถึงได้จาก "Apps & Features" ใน Windows 11 และ Uninstall ได้จากนั้น
ผ่าน Microsoft Store WSA ผสานกับ Amazon Appstore Partner 官方ที่นำ Android Experience มาสู่ Windows Devices ปัจจุบัน WSA และ Amazon Appstore เปิดให้ US-based Windows Insiders ใน Beta Channel เท่านั้น หากเป็น Insider ตามส่วนสุดท้ายของคู่มือนี้
Microsoft อาจใช้เวลา Run WSA Beta ปรับปรุง UX ของ Android Apps ใน Windows 11 ขณะนั้น สามารถข้ามกระบวนการ Insider เพื่อรัน Google Play Services เต็มรูปแบบบน Windows Device
วิธีติดตั้ง Google Play ใน Windows 11
ปัจจุบันมี 2 Package Alterations บน WSA หาได้ที่ GitHub ใช้ Open Source Application ใดก็ได้ติดตั้ง WSA และ Google Play Store
- PowerShell Windows Toolbox
- MagiskOnWSA
ทั้งสองวิธีไม่ทำงานบน Windows 10 ต้อง Windows 11 เพื่อใช้ WSA
ติดตั้ง Google Play ใน Windows 11 ด้วย PowerShell Windows Toolbox
PowerShell Toolbox ง่ายๆ เปิดเผยบน GitHub ด้วย One-click Installation ชัดเจนว่าเร็วกว่า ไม่ต้องติดตั้ง Software เพิ่ม
- ไป Section "How to Use" บน GitHub Page Copy Code ใดก็ได้ใต้ "Easy Start command" ไป Clipboard
- ไป Windows 11 Start Menu Search เปิด PowerShell แบบ Administrator หาไม่เจอ Admin Settings Refresh Search
- Paste Code จาก GitHub ใน PowerShell Window กด Enter Process อาจดูค้าง รอ بضعวินาที
- Windows Toolbox จะ Initialize เปิด Toolbox Window แยก PowerShell ค้างเปิด
- Windows Toolbox ทำได้หลายอย่าง: Reinstall Microsoft Store, Remove OneDrive, Clean Start Menu Tiles ตอนนี้ต้องการแค่คลิก "Install Google Play Store for Windows 11"
- Play Store รันบน Components ที่ใช้ Virtual Machine Platform ต้อง Enable หาก Disable บน System พิมพ์ "yes" ยืนยัน
- หากมี WSA เก่าอยู่ จะ Uninstall และแทนที่ด้วย Package ใหม่ กด P ดำเนินต่อ
- Package จะขอ Download WSA Zip File จาก Tiny URL Link ที่ Generate
- ไป Download Page บน Browser รอ Zip Download เสร็จ
- Save File ไป Location ที่ชัดเจน เช่น Desktop Copy-Paste Full Path ใส่ Location
- WSA เวอร์ชันเก่าจะถูกลบ WSA Files Extract และ Install บน Device
- กลับไป App List ตรวจสอบ WSA และ Google Play ติดตั้งแล้วหรือยัง
- หากติดตั้ง Google Play ด้วย PowerShell ไม่สำเร็จ ข้ามไปวิธีถัดไป
ติดตั้ง Google Play ใน Windows 11 ด้วย MagiskOnWSA
วิธีนี้ใช้ Root Access Tool เช่น Magisk Developer ปรับ Package WSA 官方ของ Microsoft ให้ Installer รวม Magisk กับ Open Google Apps ที่ Integrated ใน Android Devices ส่วนใหญ่ Download Link ปลอดภัยผ่าน GitHub Repository เข้ากับ Windows 11 Environment ได้ดี
- Sign in GitHub Account เข้า Repository Link ติดตั้ง Custom WSA
- Click "Fork" บันทึก Repository ไป Profile
- ควรเห็น Menu "forked from" เปลี่ยนใน GitHub Repo คลิก "Actions"
- หาก GitHub Repo ไม่ Support Workflows ต้อง Enable: Click "I understand my workflows, go ahead and enable them"
- คลิก "Run workflow" เตรียม Download Files
- Status: "Workflow run was successfully requested" เลือก Android Apps Package: "pico" (Minimum) หรือ "full" (Stock AOSP Apps)
- Workflow เริ่ม Status "in progress" รอ بضعนาที
- Download Files พร้อม Status: "xx jobs complete" คลิก "Show all jobs" Review Tasks
- จะเห็น WSA Software พร้อม Magisk และ Android Apps Software คลิก Download Link ที่เหมาะกับ Computer Version (ARM4 หรือ x4)
- Download เริ่ม Repository Zip File Download ไป PC Location
สิ่งที่ต้องทำก่อนติดตั้ง Google Play Store ด้วย MagiskOnWSA
1. Enable Developer Mode
- Windows 11 Search/Start Menu หา "Developer Settings"
- เปิด "Developer mode" เพื่อติดตั้ง Apps จาก Source ใดๆ รวมถึง Loose Files
2. ตั้งค่า VM รัน Android Apps
WSA เป็น Hyper-V Based Environment ต้องตั้งค่า Virtualization บน Windows 11
- พิมพ์ "Windows security" ไป "Device security" ใน Search
- ใต้ "Core Isolation" เปิด "Memory Integrity" กำหนดค่า
- Restart Device Apply Changes ควรเห็น Status: "Updates are underway. Please keep your computer on."
- Restart เสร็จ Search "Turn Windows features on or off"
- Enable "Virtual machine platform" และ "Windows Hypervisor platform"
- รอ بضعนาที Virtualization Changes Apply
- PC Restart ให้ Changes มีผล
- เห็น Status: "Customizing features for you. You're 100% there. Please keep your computer on."
3. เปลี่ยน Region Settings เป็น US
ปัจจุบัน WSA และ Google Play Settings รองรับ US เท่านั้น แม้ไม่ได้อยู่ที่นั่น ต้องไป "Region Settings" จาก Search เปลี่ยน Country/Region เป็น U.S. และ Language แนะนำเป็น U.S. English
ติดตั้ง WSA และ Google Play ด้วย MagiskOnWSA
- Copy Downloaded WSA Zip File ไป Accessible Location เช่น Desktop
- ใช้ 7-ZIP, WinRAR หรือ Archive Software Extract ทั้งหมดไป Folder เดียวกัน Location
- เข้า Folder ที่ Unzip แล้ว หา File "Install" ซึ่งเป็น PowerShell Script คลิกขวา Open in PowerShell
- PowerShell Window เปิด Execute Script อาจขอ Permissions ใส่ "a" ยืนยัน All Operations
- รอไม่กี่วินาที Deployment Operation Complete Successfully
- PowerShell Script Exit อัตโนมัติ Search "Windows Subsystem for Android" บน Windows 11 ติดตั้งแล้วพร้อม Google Play (Internal Component ของ Package)
Final Check: สิ่งต้องทำหลังติดตั้ง Google Play Store บน Windows 11
ไม่ว่าจะใช้ Method ไหน (PowerShell Toolbox หรือ MagiskOnWSA) หลังติดตั้งสำเร็จ ต้องทำเพิ่มเพื่อ Initialize WSA
- ไป WSA Settings จาก Start Menu Search ตรวจสอบ "Developer mode" Enabled
- Configure "Optional diagnostic data" สำหรับ WSA On/Off ก็ได้
- รอ WSA Apps Initialize ต้องการ RAM อย่างน้อย 8 GB
- กลับ Search Menu เปิด Google Play Store
- Sign in Google Play Services Account รอ Updates เสร็จ
- ตรวจสอบ Google Play Store ติดตั้งถูกต้อง และ Apps ดาวน์โหลดได้ง่าย
คำถามที่พบบ่อย
1. ทำไม Google Play ไม่ให้ Sign in บน Windows 11?
บางครั้งจาก Unknown Settings บน PC Downloaded MagiskOnWSA File อาจไม่เข้ากันกับ Google Account บน Play Store Settings หากเจอ Sign-in Problem หลังติดตั้ง ลอง Remedial Steps:
- เช็ค Wi-Fi/Internet Connection On และทำงานปกติ
- Download และ Install Software นี้ มี .exe File Extract และ Install
- กลับ WSA Settings เปิด "Developer Mode" ตามปกติ
- เปิด ADB File ใน Windows Terminal รัน Command:
.\adb.exe connect 127.0.0.1:58526 - กลับ Play Store คลิก "Sign in" Login Google Account ใหม่
2. ปิด Windows Subsystem for Android ยังไง?
WSA กิน CPU และ Resources มาก หาก Android Apps เปิดเยอะ ปิดได้ที่ WSA Settings จาก Search ปิด WSA ทุก Apps จะปิดทันที WSA Restart ตอนเปิด App ติดตั้งครั้งต่อไป
3. มี Performance Issues ไหมตอน Run WSA?
WSA 官方ยัง WIP Microsoft ทดสอบบน Windows Insiders คาดหวัง Performance Delays, Lags, Visual Problems
Performance Issues รวม:
- Letter และ Pillar Boxing: Aspect Ratio ของ App Window ไม่ Align กับ PC Resolution อาจกว้างเกินความสูง หรือแคบเกินความยาว
- Mouse Input Problems: Apps ออกแบบสำหรับ Mobile Interface Mouse Inputs บางอย่างไม่ทำงาน: Right-click, Hover Effects, Drag-and-drop