Create a Persistent Wi‑Fi Direct Group for Android File Sharing

13 min read Step‑by‑step guide to set up a lasting Wi‑Fi Direct group on Android devices, share files without internet, and troubleshoot common issues. October 10, 2026 13:00 How to Create a Persistent Wi‑Fi Direct Group for File Sharing on Android (No Root)

When you need to move large files between Android phones but have no Wi‑Fi network or mobile data, Wi‑Fi Direct (also called Wi‑Fi P2P) is the built‑in solution. The challenge is that Android’s default UI creates a temporary group that disappears as soon as the initiating app is closed, forcing you to repeat the setup for each transfer. This tutorial shows how to create a persistent Wi‑Fi Direct group that stays active across app launches, letting you share files quickly and repeatedly without root access.

Before you start

  • Battery: Keep devices charged above 50 % – Wi‑Fi Direct can drain power quickly.
  • Android version: The steps work on Android 9 (Pie) and newer. Manufacturer skins may rename menus slightly (e.g., Connections instead of Wi‑Fi).
  • Permissions: You will need to grant the file‑manager app permission to access storage and to use Wi‑Fi Direct. The tutorial uses the built‑in Files app, but any file manager that can browse the Wi‑Fi Direct folder works.
  • Device compatibility: Both devices must support Wi‑Fi Direct (virtually all modern Android phones do). Some low‑cost tablets may lack the feature.

Overview of the process

  1. Enable developer options and the hidden Wi‑Fi Direct Persistent Group setting.
  2. Create the group once using the system UI.
  3. Leave the group running in the background so it survives app closures.
  4. Connect other devices to the persistent group.
  5. Transfer files via the Wi‑Fi Direct shared folder.
  6. Troubleshoot common pitfalls.

Step 1 – Turn on Developer Options (if not already enabled)

  1. Open Settings → About phone.
  2. Find Build number and tap it 7 times. You’ll see a toast confirming "You are now a developer!".
  3. Return to the main Settings screen; a new entry Developer options appears.

Why this matters: The hidden persistent‑group toggle lives inside Developer options, which are hidden by default to prevent accidental misuse.

Step 2 – Enable the Persistent Group flag

  1. Open Settings → Developer options.
  2. Scroll down to the Networking section.
  3. Find Enable Wi‑Fi Direct persistent group (the exact wording may vary, e.g., "Wi‑Fi Direct keep group alive").
    • If the option is missing, your device’s firmware does not expose the flag. In that case you can still use the temporary‑group method described at the end of this guide.
  4. Toggle it ON.
    Enabling this flag does not affect normal Wi‑Fi connections; it only changes the lifecycle of Wi‑Fi Direct groups.

Step 3 – Create the first Wi‑Fi Direct group

  1. Open the built‑in Files app (or any file manager that can access "Wi‑Fi Direct").
  2. Tap the three‑dot menu → Connect to device → Wi‑Fi Direct. The UI may be labeled "P2P" on some skins.
  3. Tap Start group. The device becomes the group owner (GO) and a temporary SSID like DIRECT-XY-DeviceName appears.
  4. Leave the Files app open for a few seconds, then press the Home button. The group remains active because the persistent flag is on.

What you should see: In the notification shade a persistent notification reads "Wi‑Fi Direct group active – DIRECT-XY-DeviceName". This indicates the group is alive and can accept connections.

Step 4 – Connect additional devices to the persistent group

On each secondary device (the ones that will receive or send files):

  1. Open Settings → Wi‑Fi → Wi‑Fi Direct. On some OEMs it is under Connections → Wi‑Fi Direct.
  2. The group owner’s SSID (DIRECT-XY-DeviceName) should appear in the list. Tap it.
  3. Confirm the connection request on the group‑owner device when prompted (a pop‑up will ask "Accept connection from DeviceB?").
  4. After a few seconds the status changes to "Connected" on both ends.

Why you keep the group owner app in the background: The persistent flag tells Android to keep the GO alive even if the initiating app is not foreground. You can safely switch to other apps or lock the screen without breaking the group.

Step 5 – Transfer files

Now that the devices are linked, you can use the shared folder that Android creates automatically.

  1. On the group‑owner device, open Files → Wi‑Fi Direct folder. It shows up as a regular directory.
  2. Copy or move the files you want to share into this folder. For large media files, use the Share → Save to Wi‑Fi Direct option if available.
  3. On the client device, open Files → Wi‑Fi Direct. The transferred files appear almost instantly (they are transferred over the direct Wi‑Fi link, not via the internet).
  4. To pull files from the client to the owner, simply copy them into the same folder from the client side; the owner will see them in its view.

Expected result: No progress bar from Google Play Services, because the transfer happens locally. Transfer speeds typically range from 30 Mbps to 150 Mbps depending on device hardware.

Step 6 – Keep the group alive across reboots

Android does not automatically restart a Wi‑Fi Direct group after a reboot, but you can automate the start using a simple shortcut.

  1. Install the free Tasker or MacroDroid app (both have free tiers).
  2. Create a new macro:
    • Trigger: Device Boot.
    • Action: Launch App → Files (or your preferred file manager).
    • Optional: Add a Wait 5 seconds then UI Click → Start group using the AutoInput plugin (Tasker) or built‑in UI actions (MacroDroid).
  3. Save the macro and grant the required accessibility permissions.

After a reboot, the macro will open the Files app and automatically trigger the "Start group" button, recreating the persistent group without manual interaction.

Troubleshooting

Group disappears after closing the app

  • Confirm the persistent flag is still enabled (Developer options can be reset after a system update).
  • Some OEM skins (e.g., Samsung One UI) reset the flag on a full factory reset. Re‑enable it if needed.
  • If the flag is missing entirely, fall back to the temporary‑group method: keep the Files app open while transferring.

Devices cannot see each other

  • Make sure Wi‑Fi (not just Wi‑Fi Direct) is turned on on both devices. Wi‑Fi Direct uses the Wi‑Fi radio and may fail if Wi‑Fi is disabled.
  • Disable any VPN or battery‑saving app that blocks background network access.
  • Restart the Wi‑Fi Direct service: Settings → Wi‑Fi → Wi‑Fi Direct → Refresh (or toggle Wi‑Fi off/on).

Transfer speed is unusually low

  • Check that both devices are using the 5 GHz band. Some older phones only support 2.4 GHz, which caps speed.
  • Remove obstacles: keep devices within 3 meters and avoid heavy Wi‑Fi traffic on the same channel.
  • Ensure no other apps are using Wi‑Fi Direct simultaneously (e.g., screen‑mirroring apps).

Permission denied when accessing the Wi‑Fi Direct folder

  • Android 11+ introduced scoped storage. Grant the file manager "All files access" permission (Settings → Apps → your manager → Permissions → "All files access").
  • Alternatively, use a file manager that supports the SAF (Storage Access Framework) picker for the Wi‑Fi Direct folder.

Alternative method – Using a dedicated Wi‑Fi Direct file‑transfer app

If you find the built‑in Files app cumbersome, apps like SHAREit, Xender, or the open‑source Feem create their own persistent groups internally. The steps above still apply: enable the persistent flag, then let the app manage the group. The advantage is a nicer UI and automatic reconnection, but the downside is additional permissions and potential ads.

Safety and privacy notes

  • Wi‑Fi Direct creates a local network that is not encrypted by default. Treat it like an open Wi‑Fi hotspot – avoid transferring sensitive data unless you trust the other device.
  • After you finish sharing, you can manually disconnect from Settings → Wi‑Fi → Wi‑Fi Direct → Disconnect. This removes the group and prevents stray devices from joining later.
  • Never enable the persistent flag on a device that you share with unknown parties; a persistent group can be discovered by any device scanning for Wi‑Fi Direct networks.

Wrapping up

By enabling the hidden persistent‑group option, creating the group once, and optionally automating its start after a reboot, you turn Android’s ad‑hoc Wi‑Fi Direct feature into a reliable, reusable file‑sharing bridge. The workflow works across most manufacturers, requires no root, and avoids third‑party cloud services. Should any step fail, refer to the troubleshooting sections above, and remember that the core limitation is the device firmware – if the flag is unavailable, the temporary‑group approach remains a functional fallback.

User Comments (0)

Add Comment
We'll never share your email with anyone else.