=========================
INSTALLING AND REMOVING THE "MagicAAP" DRIVER (Community Version V1)
=========================

--- AUTOMATIC INSTALLATION ---
1. Turn off Windows Defender:
   - Open "Windows Security"
   - Go to "Virus & threat protection"
   - Click "Manage settings"
   - Turn off "Real-time protection"
2. Open PowerShell:
   - Press Win, type "PowerShell", and open it.
3. Run a command:
irm "https://magicpods.app/utils/magicaap-community.ps1" | iex
4. When the "Command Prompt" window opens:
   - Type 1 and press Enter.
5. Wait — the driver will install automatically.
6. Done. Type 3 and press Enter to exit and close "PowerShell".

--- MANUAL INSTALLATION ---
1. Turn off Windows Defender:
   - Open "Windows Security"
   - Go to "Virus & threat protection"
   - Click "Manage settings"
   - Turn off "Real-time protection"
2. Close the "MagicPods" application if it is running.
3. Find the file named AddCert.reg.
4. Double click on it. The certificate JemmyLoveJenny EV Root CA will be imported.
5. Find the file named MagicAAP.inf.
7. Right-click on it.
7. Choose "Install" from the context menu.
8. Confirm the installation if prompted.
9. Open C:\Windows\System32\DriverStore\FileRepository
10. Find a folder starting with "magicaap"
11. Add this folder to the Defender exclusions list.
12. Turn Windows Defender back on.

=========================

--- AUTOMATIC REMOVAL ---
1. Open PowerShell:
   - Press Win, type "PowerShell", and open it.
2. Run a command:
irm "https://magicpods.app/utils/magicaap-community.ps1" | iex
3. When the "Command Prompt" window opens:
   - Type 2 and press Enter.
4. The driver will be removed automatically.
5. Done. Type 3 and press Enter to exit and close "PowerShell".

--- MANUAL REMOVAL ---
1. Close the "MagicPods" application if it is running.
2. Open PowerShell as Administrator:
   - Click the Start button.
   - Type PowerShell.
   - Right-click on the result.
   - Select "Run as administrator".
3. Enter the following command and press Enter:
   pnputil /enum-drivers
4. Look for a block similar to this:
   Published Name:     oem4.inf
   Original Name:      magicaap.inf
   Provider Name:      IP Maslov Alexander Yuryevich
   Class Name:         Bluetooth
   Class GUID:         {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}
   Driver Version:     06/06/2024 0.0.0.1
   Signer Name:        Hubei Dadi Network Technology Co., Ltd.
   Attributes:         Legacy
5. Remember the name from "Published Name" (e.g., oem4.inf).
   !!! PAY CLOSE ATTENTION — IF YOU CHOOSE THE WRONG "PUBLISHED NAME", YOU MIGHT DELETE ANOTHER DRIVER !!!
6. Enter the command below and press Enter to delete the driver:
   pnputil /delete-driver oem4.inf /uninstall
   (Replace oem4.inf with the actual name you found.)
7. Find the file named RemoveCert.reg.
8. Double click on it. The certificate JemmyLoveJenny EV Root CA will be deleted.
9. Remove the "magicaap" folder from Defender exclusions.

=========================

DONE. The driver is now installed or removed.