Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix WiFi on CM12.1 for Moto X: Step-by-Step

· 6 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Moto X (2013 or 2014) running CyanogenMod 12.1 has WiFi that won't turn on, keeps dropping, or shows "Saved, secured" but won't connect, this guide walks you through the most reliable fixes. The problem usually stems from a mismatched WiFi driver, corrupted system cache, or a bad flash. You'll need your Moto X, a computer (for some steps), and a USB cable. Most fixes are done right on the phone.

What You'll Need

  • Moto X with CM12.1 installed
  • USB cable and a computer (for reflashing, if needed)
  • Backup of your important data (optional but recommended)
  • Patience – some steps take a few minutes

Step-by-Step

  1. Restart the phone and toggle WiFi. This sounds basic, but it clears temporary glitches. Press and hold the power button, tap Restart. After it boots, swipe down from the top, tap the WiFi icon to turn it off, wait 10 seconds, then tap it on again.
  2. Forget and reconnect to the network. Go to Settings > WiFi, long-press your network name, tap Forget network. Then tap the network again, enter the password, and connect. This fixes most "authentication" errors.
  3. Check if WiFi works in Safe Mode. If WiFi works in safe mode, a third-party app is interfering. To enter safe mode: press and hold the power button, then long-press Power off on the screen until you see "Reboot to safe mode" – tap OK. In safe mode, test WiFi. If it works, reboot normally and uninstall recently installed apps (especially battery savers, VPNs, or WiFi managers).
  4. Clear the system cache (no data loss). Turn off the phone. Press and hold Volume Down and Power simultaneously for about 5 seconds until the bootloader menu appears. Use Volume keys to navigate to Recovery, press Power to select. When you see the Android robot with a red exclamation, hold Power and tap Volume Up once. In the recovery menu, use Volume keys to highlight Wipe cache partition, press Power. Confirm with Yes. After it finishes, select Reboot system now. This does not delete your apps or data.
  5. Reset network settings (only if the above fails). Go to Settings > Backup & reset > Network settings reset. This clears all saved WiFi networks, Bluetooth pairings, and mobile data settings. It does not erase your personal files. You'll need to re-enter WiFi passwords.
  6. Re-flash the CM12.1 ROM (fixes driver issues). If WiFi still doesn't work, the ROM's WiFi driver may be corrupted. You'll need to reinstall the ROM without wiping data (dirty flash). Steps:
    1. Download the same CM12.1 ROM zip file you originally used (or the latest nightly) and place it on your phone's internal storage.
    2. Boot into recovery (same method as step 4).
    3. Select Install (or Apply update), navigate to the ROM zip, and confirm the flash.
    4. After flashing, Wipe cache/dalvik (optional but recommended).
    5. Reboot. Your apps and data remain.
  7. If still broken, do a full clean flash. This wipes all data, so back up first. In recovery, select Wipe data/factory reset, then Wipe cache, then Advanced > Wipe dalvik cache. Then flash the ROM zip and Google Apps (if you use them). Reboot. This is the last resort before switching ROMs.

Common Mistakes

  • Not clearing cache after flashing. Leftover cache from a previous ROM can cause WiFi to fail. Always wipe cache and dalvik after any flash.
  • Restoring WiFi settings from a backup. If you restore system data (like WiFi passwords) with Titanium Backup or similar, it can overwrite the new ROM's WiFi config. Only restore user apps, not system data.
  • Using an outdated or mismatched Google Apps package. Some GApps versions can interfere with WiFi. Use the GApps package recommended for CM12.1 (e.g., from the official Open GApps site).
  • Jumping straight to a full wipe. Try the simple steps first – you might save yourself a lot of reconfiguration.

Tips

  • Keep your ROM updated. CM12.1 nightlies had frequent WiFi fixes. Check the official CyanogenMod downloads page for your Moto X model (ghost for 2013, victara for 2014) and flash the latest nightly.
  • Use the correct bootloader and modem. If you previously updated to stock Lollipop, ensure your bootloader and modem firmware are compatible with CM12.1. If not, WiFi may not work – flash the stock firmware first, then CM12.1.
  • Try a different WiFi band. In Settings > WiFi > Advanced, change WiFi frequency band from Automatic to 2.4 GHz only. Some routers have issues with 5 GHz on custom ROMs.
  • Set a static IP (if connecting but no internet). In WiFi settings, long-press your network, tap Modify network, check Show advanced options, set IP settings to Static, and enter a valid IP (e.g., 192.168.1.50), gateway (usually 192.168.1.1), and DNS (8.8.8.8).

Troubleshooting

If WiFi still won't turn on after all steps:

  • Check if the WiFi switch is grayed out. This often means the driver isn't loading. Re-flash the ROM as in step 6, or try a different CM12.1 build (e.g., an older snapshot instead of a nightly).
  • Try a different kernel. Some custom kernels break WiFi. Flash the stock kernel that came with the ROM (or re-flash the ROM to restore it).
  • Verify your phone model. The Moto X 2014 (victara) and 2013 (ghost) have different ROMs. Flashing the wrong one can cause WiFi failure – check under Settings > About phone.
  • If nothing works, consider switching to a more stable ROM like LineageOS (the successor to CyanogenMod) or stock firmware. WiFi issues on CM12.1 are often due to its age.

If you get stuck in a boot loop after flashing:

  • Boot into recovery, wipe cache and dalvik, then reboot. If still stuck, do a full wipe and reinstall the ROM.

Frequently Asked Questions

Will these steps delete my apps or photos?

Only the "Reset network settings" step clears saved WiFi passwords and Bluetooth pairings – it does not delete apps or media. The "Full clean flash" step wipes everything, so back up first.

Why does WiFi work on stock but not on CM12.1?

CM12.1 uses a different WiFi driver and configuration than stock Motorola firmware. Sometimes the driver doesn't match your phone's hardware revision, causing issues. Re-flashing the ROM or updating to a newer build often fixes it.

Can I fix WiFi by just clearing the cache?

Yes, clearing the cache partition (step 4) is a common fix because it removes corrupted system cache that can interfere with WiFi. It's safe and doesn't delete personal data.

What if I don't have a computer to re-flash the ROM?

You can still do steps 1-5 without a computer. For re-flashing, you need to download the ROM zip on your phone's browser (if you have mobile data) or transfer it via USB from a friend's computer. You can also use an OTG cable with a USB drive.

Is it safe to dirty flash the same ROM?

Dirty flashing (flashing over your current install without wiping data) is generally safe for minor updates, but it can occasionally cause issues. If you dirty flash and WiFi still fails, do a full clean flash.

My WiFi connects but shows "No internet" – what now?

Try forgetting the network and reconnecting. If that fails, set a static IP as described in the Tips section. Also check if other devices can use the internet – it might be a router issue.