How to Fix No WiFi, Calls, Network after Root or Custom ROM

In this guide, we will show you the steps to fix the no WiFi signal issues, inability to make calls, or no network issues after rooting your device or flashing a custom ROM. Android ecosystem beholds a plethora of tweaks and customizations, all thanks to its open-source ecosystem. There is just one gate that you need to unlock before stepping into the custom domain- unlocking the bootloader. Once you do so, there are literally no ends to the modifications that you could try out.

For example, you could replace the device’s stock recovery with a custom one such as TWRP. Likewise, you could also install customized Android OS ROMs (aka Custom ROMs). Along the same lines, there is also a possibility of gaining access to the system partition and attaining administrative level privileges. This could be done by rooting your device via Magisk, with or without TWRP. Once rooted, you could then flash Magisk Module, Substratum Themes, Xposed Framework, etc.

However, this is just one side of the story. On the flip side, these tweaks might bring in a few risks as well. If you don’t perform these tweaks correctly, then your device might go into a boot loop, soft brick, or even hard brick. Fortunately, most of these issues could easily be rectified via the device’s specific tool (MSM DownloadTool, Mi Flash Tool, etc). Then there is another pretty common issue- no WiFi, Calls, or Network after root or flashing Custom ROM, and this guide shall help you fix that as well. So without further ado, let’s get started.

The Reason for Missing Network and WiFi after Root or Installing Custom ROM

Fix No WiFi Calls Network after Root or installing Custom ROM android

Simply unlocking the device’s bootloader doesn’t usually lead to the loss of network signals. However, the task that you perform after that is a cause of concern. In this regard, flashing an incorrect or older build of a custom ROM is a pretty common culprit. Likewise, nowadays many users have reported this issue after rooting their device. But how? Well, the thing is there are two different methods to root your device.

The first one is rather simple- just flash the Magisk Installer ZIP via TWRP. However, it is the second method of patching the stock boot.img via Magisk and then flashing it via Fastboot that seems to be giving this issue. What really happens is users tend to extract the stock boot.img from the firmware whose software version is different from the one that is currently installed on their device.

As a result, when they patch and then flash this boot.img, it leads to a conflicting scenario and leads to a few issues. Apart from the root and installing a custom ROM, there could be quite a few other reasons as well. Fortunately, no matter what the reason is, the fix is one and the same. On that note, let’s check out the steps to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM.



How to Fix No WiFi, Calls, Network after Root or Custom ROM

The issue is with the partition of your device that handles all kinds of this stuff, aka the tasks related to Network, Radio, WiFi, Calls among others. This partition is named Modem and is the same across all Android devices. What isn’t the same is the name of their modem file, while some like to call it modem.bin itself others have it named as NON-HLOS.bin (where BIN is the file format). I got my hands on a couple of devices and here the names of their modem files:

non-hlos.bin stock modem file fix call network wifi issue root

  • Mi A3 [Android One]- NON-HLOS.bin
  • OnePlus 6: modem.bin
  • Redmi Note 8 [MIUI]: NON-HLOS.bin
  • Motorola One Vision: modem.bin

As already mentioned before, the name of this file doesn’t matter, what really matters is that your device should have the modem partition. So keeping this in mind, let’s get on with the guide to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM.

STEP 1: Download Stock Firmware for your device

First and foremost, you need to download the stock firmware for your Android device. Most of the OEMs upload the firmware for their devices on their official websites themselves, except for Samsung which requires tools like Frija. So head over to their site and grab the firmware file corresponding to your device and region. With that said, make sure that you are downloading the firmware that has the same version number as that your device is currently having. You could check the same from your device’s About Phone section.



STEP 2: Extract the Stock Firmware

oneplus 8 8t pro extracted payload fastboot files

Once you have downloaded the firmware, extract it to a convenient location on your PC. If your firmware is in a ZIP format, then you could easily extract it via WinZIP/WinRAR, etc. However not every OEMs follow this tradition. For example, OnePlus have their partition files packed inside the payload.bin file whereas Oppo and Realme have it inside the OZIP. So if your device belongs to any one of these companies, then refer to the below guides.

STEP 3: Get the Stock Modem File

modem.bin stock modem file fix network wifi calls root

The next step in this guide to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM requires you to get the stock modem file. Since you have extracted the stock firmware, look for the modem.bin or the NON-HLOS.bin file. Now copy this file and keep it ready.

STEP 4: Install Android SDK

It’s time to install the Android SDK Platform Tools on your PC. This is the official tool provided by Google that has the required ADB and Fastboot binaries. So download this tool and extract it. You should then get the platform-tools folder, paste the modem file inside this folder. Once that is done, move to the next step to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM.

STEP 5: Boot to Fastboot Mode

You will now have to boot your device to Fastboot Mode. This is because we now have to flash the modem file inside the modem partition, and flashing is only possible when your device is booted to Fastboot Mode. With that said, you may either use the device-specific hardware key combinations to boot to Fastboot or follow the below universal method:

oneplus-fastboot-mode
Fastboot Mode in OnePlus
  1. To begin with, enable USB Debugging on your device and connect it to the PC via USB cable.
  2. Then head over to the platform-tools folder, type in CMD in its address bar, and hit Enter. This will launch the Command Prompt.
    command prompt
  3. Finally, execute the below command in the CMD window to boot your device to Fastboot Mode:
    adb reboot bootloader
  4. Your device is now in a position to have the files to be flashed to its partition. Follow along for the instructions for the same.

STEP 6: Check if the Device is A/B or A Partition

check-current-active-slot

Your next and extremely important task is to check whether your device is A/B dual partition or an A-only single partition. For that, please refer to our guide on How to Check and Change Current Active Slot on Android [Direct Link to the Instructions: Does My Device Have A/B Partitions?]. Once you have verified the same, move over to the final set of instructions to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM.



STEP 7: Fix Network WiFi Calls Issue by Flashing Modem File

Let’s start off with the steps to fix the network and call issue by flashing the stock modem file. Make sure that you have transferred the modem file (modem.bin or the NON-HLOS.bin file) to the platform-tools folder. Furthermore, you should also have the CMD window opened inside the platform-tools folder and the device should be connected to the PC in Fastboot Mode. If that’s all well and good, and you have checked the partition style of your device, proceed with the below instructions:

For A/B Device

  1. If your device has dual A/B Partition and the name of the modem file is modem.bin, then execute the below two commands in the CMD window. The first command will flash the modem file to Partition A whereas the second one will flash it to Partition B
    fastboot flash modem_a modem.bin
    fastboot flash modem_b modem.bin
  2. On the other hand, if your A/B partition device comes with the NON-HLOS.bin as the modem file, then execute the following two commands in the CMD window. As before, the first command flashes the file to Partition A whereas the second one flashes it to Partition B
    fastboot flash modem_a NON-HLOS.bin
    fastboot flash modem_b NON-HLOS.bin
  3. Once you have executed the above command, you may reboot your device to PC via the below command
    fastboot reboot
  4. With this, you have fixed the no WiFi, Calls, or Network issues after root or flashing custom ROM on your A/B device.

For A-only Device

  1. If your device is A-only (single partition) and has the modem file named modem.bin, then use the below fastboot command to flash this file onto your device:
    fastboot flash modem modem.bin
  2. However, if your single slot device (A-only) has NON-HLOS.bin as the modem file, then you should use the below command:
    fastboot flash modem NON-HLOS.bin
  3. Once the file has been flashed, use the below command to boot your device to the OS:
    fastboot reboot

On that note, we conclude the guide on how to fix the no WiFi, Calls, or Network issues after root or flashing custom ROM. If you have any queries concerning the aforementioned steps, let us know in the comments section. We will get back to you with a solution at the earliest.


Share: