Users of Android smartphones sometimes encounter a situation where the standard mobile network settings do not work correctly. In such cases, hidden engineering menus and special ones come to the rescue, which allow you to control the modem at a low level. The phrase “3gpp at command” is often found in search queries, which is usually a reference to a group of standards AT commands, which allow you to control the modem at a low level. The phrase "3gpp at command" is often found in search queries, which is usually a reference to a group of standards 3GPP (3rd Generation Partnership Project) that regulate the operation of cellular networks.
Understanding how these commands work gives you the opportunity to manually register an access point APN, change the network type or reset the modem settings when the automatic configuration from the operator fails. These are not just “magic codes”, but real instructions that the communication processor of your smartphone sends directly to the radio module.
In this article we will analyze in detail what is hidden behind the 3GPP abbreviation in the context of AT commands, how to safely use the engineering menu and what parameters can be changed to improve the quality of communication. You will learn how commands differ for 4G and 5G networks, and why some settings may be blocked by the operator.
What is the 3GPP standard and its role in AT commands
Organization 3GPP develops technical specifications for mobile telecommunications. When you see the mention of "3GPP AT commands", we are talking about a set of instructions standardized by this group for controlling equipment in GSM, UMTS, LTE and NR networks. These commands are the universal language of communication between the phone software (for example, Android RIL) and the modem hardware.
Commands begin with a prefix AT (Attention), followed by a specific code. For example, the command AT+CGDCONT is used to determine the packet data context (PDP Context), which is essentially the configuration of an Internet access point. Without the correct transfer of these parameters, the smartphone will not be able to obtain an IP address from the operator.
It is important to understand that not all commands work the same on different devices. Chipset manufacturers such as Qualcomm, MediaTek or Exynoscan add their own extensions to the base 3GPP standard. Therefore, the same command on Samsung may produce a different result than on Xiaomi.
⚠️ Attention: Entering incorrect parameters into the context settings commands can lead to a complete loss of mobile data. Before changing any values, write down the current settings or take a screenshot of the screen.
The 3GPP standard is constantly updated. If you are using an old phone on a 5G network, some new commands may simply be ignored by the modem, since it does not physically support the new data transfer protocols described in the latest specification releases.
Before experimenting with AT commands, be sure to know the model of your processor (SoC). Commands for MediaTek often differ from commands for Qualcomm.
How to get to the engineering menu on Android devices
To enter AT commands, an ordinary user most often needs access to the engineering menu. This is a hidden section of the system intended for testing equipment by developers and service engineers. There are several ways to get there, depending on the version Android and the manufacturer’s shell.
The most common method is to use special USSD codes in the Phone application. These codes activate hidden system activities. However, in modern versions of Android (from 9.0 and above), many of these codes have been blocked for security purposes to prevent inexperienced users from accidentally breaking the device.
If standard codes do not work, you can use third-party applications from the store Google Playsuch as MTK Engineering Mode or Force LTE Only. These utilities create shortcuts to launch hidden menus, bypassing some launcher limitations.
- 📱 Try entering the code
##4636##—this is a universal code for the Android testing menu. - 🔧 For devices on MediaTek the combination
##3646633##. - 📡 On smartphones Samsung a code may work
*#2263#to select frequency ranges. - 🌐 If the codes do not work, install the application
QuickShortcutMakerto search for engineering menu activity.
After successful When you log in, you will see many tabs with technical data. We are interested in the section related to setting up the network or entering commands. Some menus have a direct field for entering AT commands, while in others the settings are changed through drop-down lists that generate these commands in the background.
Basic AT commands for setting up the Internet and APN
The central place in setting up the mobile data is occupied by the team AT+CGDCONT. It is responsible for creating the PDP (Packet Data Protocol) context. When you enter the access point settings manually in the Android menu, the system in the background generates and sends this command to the modem.
The command syntax is as follows: AT+CGDCONT=. Parameter APN (Access Point Name) is critical - this is the address of the operator gateway through which your traffic passes. Errors in the spelling of the APN (for example, extra spaces) lead to a connection error.
In addition to setting up the access point, there are commands for managing the network type. The AT+CNACT command (often found in modules Quectel and some smartphones) is used to activate the context in LTE networks. To switch between 2G, 3G and 4G, the command AT+CNMP or AT+CMNB.
AT+CGDCONT=1,"IP","internet.mts.ru"
OK
is often used. In the example given, we set the first context (cid=1), IP protocol type and access point address mts.ru. Response OK means that the modem accepted the command. However, this does not guarantee a connection - activate the context.
What is PDP Type?
PDP Type defines the data transfer protocol. The most commonly used is "IP" (IPv4) or "IPV4V6" (dual stack). Legacy networks may use "PPP", but this is almost unheard of on modern 4G/5G.
If you are using a USB modem connected to a PC, you can send these commands directly through terminal apps such as Putty or HyperTerminal. On the smartphone itself, direct input through the terminal is only possible if you have root access and a terminal emulator installed.
Use code ##4636## to manage the network
Menu that opens code ##4636##, is the safest way to influence network parameters for an ordinary user. There is no direct input of AT commands, but there is a graphical interface that controls them. The “Phone Information” section contains key settings.
In this menu you can find the “Set Preferred Network Type” item. Changing this setting causes the system to send the appropriate AT commands to the modem to block or allow certain types of radio communications. For example, selecting "LTE Only" forces the device to switch to 4G mode.
Also available here is the “Run Ping Test” button, which sends packets to the Google server. This is a useful diagnostic tool: if the ping does not work, the problem may not be in the APN settings, but in the absence of a radio signal or blocking by the operator.
| Parameter in the menu | Corresponding function | Impact on the network |
|---|---|---|
| Preferred Network Type | Mode selection (LTE/WCDMA/GSM) | Determines which towers the phone will search for |
| Turn off radio | AT+CFUN=0 (complete shutdown) | Completely turns off the radio module |
| Ping Test | Connection diagnostics | Checks the availability of the Internet gateway |
| SMSC Refresh | Updating the message center | Necessary for sending SMS correctly |
Be careful when switching modes. If you select a mode that is not supported by your carrier in your area (for example, only 2G in a 4G coverage area), you may lose connection until you return to default settings or move to an area of the old network.
⚠️ Warning: The "Turn off radio" feature in this menu may not automatically restore connection once turned on. If the Internet is lost after the experiment, try rebooting the device or turning on the "In Flight" mode for 10 seconds.
Connection problems and their solution through the terminal
Sometimes the standard Android settings menu freezes or does not apply changes. In such cases, advanced users turn to direct communication with the modem via ADB (Android Debug Bridge). This requires connecting the smartphone to the computer and having USB debugging.
To work, you will need a command adb shell, after which you can try to send an AT command through a special device node, for example /dev/ttyUSB2 or through the RIL service. However, in modern Android, access to these ports is closed to applications without root access.
If you have Root access, you can use applications like Terminal Emulator. The command to send data may look complicated, but the essence remains the same - sending a string to the modem. A common problem is the lack of response from the modem, which may indicate a freeze in the radio stack.
☑️ Diagnosing network problems
One of the effective commands for “reanimating” the modem is to reset the radio part to factory settings. In some menus this is the "Radio Reset" button. In the terminal, this may correspond to a sequence of commands that turns the modem power off and on programmatically.
Remember that telecom operators may block changes to certain parameters at the network level (HLR/HSS). Even if you enter the command correctly on your phone, the network may reject the registration request if the device type or requested APN is not allowed in your tariff plan.
Differences in settings for 4G LTE and 5G NR
With the advent of fifth generation networks (5G NR), a set of AT commands expanded. 3GPP Release 15 and 16 new options for managing Network Slicing and more complex authentication schemes. Commands for 4G are often no longer suitable for fine-tuning 5G.
In 5G networks, the DNN (Data Network Name) parameter becomes critical, which has replaced the classic APN in some use scenarios. Commands like AT+CGDCont can now accept additional parameters to specify the typeSlice (eMBB, URLLC, mMTC).
Most civilian smartphones hide these settings from the user, since incorrect configuration of the network slice can lead to the inability to register in 5G. Operators prefer to manage these parameters remotely through OTA (Over-The-Air) profiles.
For 99% of users, manually changing AT commands for 5G is not necessary and can cause harm. Use the standard "Access Point" settings in the Android menu.
If you own specialized equipment (for example, industrial gateways based on Quectel RM500Q), then knowledge of the 3GPP Release 16 specifications becomes mandatory. There commands AT+C5GQOS allow you to manage the quality of service for critical applications.
Frequently asked questions (FAQ)
Is it possible to increase Internet speed using AT commands?
Directly - no. AT commands only configure connection parameters. The speed depends on the signal, tower load and tariff. However, forcing a switch to LTE (if the phone is on 3G) can improve the speed.
Is it safe to enter commands in the engineering menu?
Viewing information is safe. Changing the network settings (radio module type) is reversible, but may temporarily deprive you of communication. Changing antenna or IMEI calibrations is strongly discouraged and may be illegal.
Why does the AT+CGDCONT command return an ERROR error?
This may mean that the command syntax is incorrect, the SIM card is not inserted, the modem is busy with another process, or the operator is blocking manual creation of contexts. Try executing the reset command first ATZ.
Where can I find the exact list of AT commands for my modem?
The documentation is called "AT Command Manual". You need to look for it on the website of the chipset manufacturer (Qualcomm, MediaTek) or module manufacturer (Huawei, Fibocom), and not on the website of the smartphone brand.
Are AT command settings reset after a reboot?
Regular profile settings (CGDCONT) are saved in the modem memory and are not reset. However, the temporary parameters of the communication session are lost when the power is turned off or the device is rebooted.