• HKCARD ELECTRONICS CO.,LIMITED supplies white-brand 4G LTE SIM cards and a coding kit for private LTE. Learn ADM verification, Ki/OPc personalization, Open5GS and Milenage setup, and CPE + eNodeB + EPC testing.
  • URL slug: /white-brand-4g-lte-sim-card-coding-kit-open5gs

White-Brand SIM Cards for 4G LTE: Coding Kit, Open5GS and First eNodeB Testing

Quick Answer

HKCARD ELECTRONICS CO.,LIMITED provides white-brand SIM cards for 4G LTE, along with a coder (coding kit) and software. You can use them to build SIMs for a private LTE network on Open5GS and Milenage. The process in short:

  1. Get blank or programmable 4G LTE SIM cards.
  2. Verify the ADM key.
  3. Write the IMSI, Ki and OP/OPc to each card.
  4. Add the same subscriber data to the EPC.
  5. Deploy the first eNodeB.
  6. Test the full chain: CPE + eNodeB + EPC.

The sections below cover each step, and the tables can be used as checklists.


What You Need for a Private LTE SIM Project

A SIM card on its own is not enough. A working setup needs the SIM card, the coding tool and the core network to agree on the same subscriber data.

ComponentRoleNotes
White-brand 4G LTE SIM cardStores the subscriber identity and keysProgrammable USIM, no carrier branding
Coder (coding kit)Reads and writes the cardIncludes a card reader/writer
SoftwareHandles ADM verification and personalizationCan run on macOS/Linux, or use Osmocom pySim
EPC / HSSStores subscriber records and authenticates usersOpen5GS or another open EPC
eNodeBProvides the LTE radio cellPLMN and TAC must match the core plan
CPEThe user device that holds the SIMFor example, a Ruijie CPE with LTE support

HKCARD can supply the SIM cards, coding kit and software together, so the tools match the card profile.


SIM CARD WHITE BRAND for 4G LTE

What it is. A white-brand SIM is a programmable card that carries no operator logo or fixed network identity. The network owner decides the IMSI, keys and authentication parameters.

Who uses it.

  • Factories, ports, mines and campuses running private LTE
  • Wireless ISPs and fixed wireless access projects
  • Labs testing small cells, eNodeBs and open-source cores
  • Integrators building CPE and router solutions
  • Developers working with Open5GS, srsRAN or similar stacks

Why it matters. With a public carrier SIM, the carrier controls authentication. With a white-brand SIM, you control the subscriber database, the PLMN plan and the test process.


Coder Kit to Configure and Burn the 4G LTE White-Brand SIM

The coder kit is the tool for configuring and burning the SIM cards. In practice, it is used for three jobs:

  • Reading the existing card data, such as ICCID and IMSI
  • Verifying administrator access with the ADM key
  • Writing the network-specific values, including the IMSI, Ki and OP/OPc

Programming Workflow

StepActionCheck
1Connect the reader to your computerThe reader shows up in the operating system
2Insert one SIM cardContacts are clean and the card is seated
3Read the cardICCID is displayed and recorded
4Verify the ADM keyWrite access is accepted
5Write IMSI, Ki and OP/OPcValues match your subscriber sheet
6Read the card backIMSI and other public fields are correct
7Add the subscriber to the EPCSame IMSI, Ki and OP/OPc type

Always program and test one card first. Once that card attaches successfully, program the rest of the batch.


ADM Verification and Ki/OPc Personalization

ADM Verification

The ADM key is the administrator code that authorizes changes to protected card files. Without it, most programmable cards will not accept new IMSI or key values.

Practical rules:

  • Get the correct ADM value for your card batch from HKCARD.
  • Do not guess ADM codes. Some cards lock after several wrong attempts.
  • Keep ADM values out of shared documents and chat groups.
  • Verify ADM access on a single card before starting a batch.

Ki/OPc Personalization

Milenage authentication relies on secret values that exist on both the SIM and in the EPC.

ValueMeaningHandling
Ki128-bit subscriber keyUnique per SIM is the safest practice
OPOperator variant configuration valueMay be shared across a network
OPcValue derived from OP and KiStored per subscriber; used by most core software

Write these values in hexadecimal, with the correct length and no extra spaces or characters.

The Authentication Field Expects OP or OPc

This is one of the most common causes of failed attach attempts. Programming tools and core-network interfaces use different labels for this field. Some ask for OP and calculate OPc internally. Others ask for OPc directly.

  • Check what the coding software expects.
  • Check what the Open5GS subscriber field expects.
  • Use the same credential type on both sides.
  • If authentication fails and the IMSI is right, check OP versus OPc first.

macOS/Linux and Osmocom pySim Support

The coding workflow works on macOS and Linux, and it can also be done with Osmocom pySim when the card type and reader are supported.

What to Prepare for pySim

  • A PC/SC-compatible card reader
  • Python and the pySim tools installed
  • The ADM key for the card
  • A subscriber list with IMSI, ICCID, Ki and OP/OPc

Example Command Pattern

Options vary between pySim versions and card types, so check the help output of your version first. This pattern is for reference only:

text
python3 pySim-prog.py -p 0 -t <card-type> \
  -x <MCC> -y <MNC> \
  -i <IMSI> -s <ICCID> \
  -k <Ki> -o <OP> \
  -a <ADM>

If your workflow takes OPc directly, use the OPc option instead of OP. Replace every placeholder with your own values and never publish real keys.


Network Parameters: MCC, MNC (2 Digits) and Milenage

The network in this example uses MCC, a 2-digit MNC and Milenage. These values must be identical across the SIM, eNodeB and EPC.

ParameterFormatWhere It Must Match
MCC3 digitsIMSI, eNodeB PLMN, EPC PLMN
MNC2 digitsIMSI, eNodeB PLMN, EPC PLMN
IMSIUsually 15 digitsSIM and EPC subscriber record
Ki32 hex charactersSIM and EPC
OP/OPc32 hex charactersSIM and EPC, with the same type
AuthenticationMilenageCard profile and EPC
APNTextCPE and EPC
TACNumbereNodeB and EPC

IMSI structure with a 2-digit MNC:

PartDigitsExample Position
MCC3First 3 digits
MNC2Digits 4 and 5
MSIN10Remaining digits

A 2-digit MNC and a 3-digit MNC are not interchangeable. If the card uses 2 digits and the core is set to 3, the network will not recognize the subscriber. For private test networks, use PLMN values from your own plan or the standard test values.


Open5GS and Milenage: SIMs for a Private LTE Network

Open5GS stores subscriber records in its database. Each record needs the following to match the SIM:

  • IMSI
  • Ki
  • OPc (or OP, depending on the interface)
  • AMF value, if your setup requires a specific one
  • APN/DNN and session settings

Common setup order:

  1. Install Open5GS and confirm the MME, HSS, SGW and PGW components are running.
  2. Set the PLMN (MCC and 2-digit MNC) in the MME configuration.
  3. Add the subscriber record through the WebUI or database tool.
  4. Program the SIM with the same values.
  5. Connect the eNodeB and test.

Deploy the First eNodeB

The first eNodeB is where a lot of small configuration errors show up. Keep the first setup simple: one cell, one SIM and one CPE.

eNodeB Checklist

ItemWhat to Set
PLMNSame MCC and 2-digit MNC as the SIM and EPC
TACSame value as in the core configuration
MME / S1 addressIP address of the EPC
LTE band and EARFCNA band supported by your CPE and allowed in your location
Transmit powerLow power for lab testing
Timing/syncRequired for TDD bands
IP routingeNodeB must reach the EPC, and the EPC must route user traffic

Make sure the eNodeB has established its S1 connection to the EPC before you insert a SIM into the CPE.


Test with the CPE + eNodeB + EPC

Testing the whole chain in a fixed order saves time.

StageWhat to VerifyWhere to Look
1. SIM detectedCPE reads the cardCPE status page
2. Cell foundCPE sees the PLMNCPE signal page
3. Attach requestRequest reaches the EPCMME log
4. AuthenticationMilenage passesMME/HSS log
5. Session setupDefault bearer is createdSGW/PGW log
6. IP assignmentCPE gets an IP addressCPE and PGW
7. Data trafficPing and DNS workClient device

Change only one setting at a time. Keep the core logs open during each test.


SIM Cards and Coding Kit in a Ruijie CPE with Open EPC Software

The SIM cards and coding kit can be used with a Ruijie CPE and an open EPC. Check these points first:

  • The CPE supports the LTE band your eNodeB transmits on.
  • The CPE accepts the SIM/USIM profile.
  • The APN matches your EPC configuration.
  • The PLMN is not blocked by the CPE’s network selection settings.
  • The firmware allows manual APN entry if needed.

If the CPE fails to attach, check the EPC logs before changing the radio settings. If the logs show no attach request, look at band, PLMN and TAC. If they show an authentication failure, look at the SIM data.


Troubleshooting Table

SymptomPossible CauseWhat to Check
Card not readContact or reader problemReseat the card and try another reader
Cannot write to cardADM not verifiedConfirm the ADM key for this batch
Authentication failureKi, OP/OPc or IMSI mismatchCompare SIM data against the Open5GS record
Authentication still failsOP and OPc mixed upConfirm what the authentication field expects
CPE does not find the networkBand, PLMN or CPE lockCheck band support and PLMN settings
CPE finds cell but does not attachMNC length or TAC mismatchVerify 2-digit MNC and TAC
Attached but no internetAPN, NAT or DNSCheck APN, routing and PGW configuration
eNodeB does not connect to EPCS1 or IP problemTest connectivity and check MME address

Why Choose HKCARD

HKCARD ELECTRONICS CO.,LIMITED works with customers who need SIM cards that fit their network, not just a box of blank cards.

  • White-brand SIM cards for 4G LTE projects
  • Coding kit and software for configuration and burning
  • Support for macOS/Linux and Osmocom pySim workflows
  • Help with ADM verification and Ki/OPc personalization
  • Practical guidance for Open5GS, Milenage and open EPC setups
  • Compatibility checks for CPEs, including Ruijie devices, and first eNodeB deployments

When you contact HKCARD, send these details so the quote and setup advice are accurate:

  • Quantity of SIM cards
  • EPC software and version
  • CPE model
  • eNodeB model
  • MCC and MNC (2 digits or 3 digits)
  • Whether you need OP or OPc programming

FAQ

What is a white-brand SIM card for 4G LTE?

It is a programmable SIM/USIM with no carrier branding. The network owner writes its own IMSI, Ki and OP/OPc, then adds the same data to the EPC.

What does the coder kit do?

It reads, verifies and writes SIM card data. It is used to configure and burn the cards with the subscriber details needed for your private LTE network.

Can I use these SIMs with Open5GS?

Yes. The SIM data must match the Open5GS subscriber record: IMSI, Ki, OP or OPc, and the PLMN settings.

Does it work on macOS or Linux?

Yes. The workflow supports macOS/Linux, and Osmocom pySim can be used when your card type and reader support it.

Do I enter OP or OPc?

Enter whichever the specific field expects. The authentication field expects OP or OPc depending on the software. Check both the coding tool and the EPC before writing the batch.

Why does the MNC length matter?

The MNC is part of the IMSI and the PLMN. A 2-digit MNC on the SIM must also be a 2-digit MNC on the eNodeB and EPC.

What should I test first?

Test one SIM, one CPE, one eNodeB and one EPC. After a successful attach and data session, program the rest of the batch.


Contact HKCARD ELECTRONICS CO.,LIMITED

For white-brand 4G LTE SIM cards, coding kits, Open5GS and Milenage support, or help with your first eNodeB test, contact HKCARD.

HKCARD ELECTRONICS CO.,LIMITED
📧 Email: byronhan@cardmfg.com
🌐 Website: https://www.cardmfg.com/
📱 WhatsApp / WeChat: +86 158 1737 2512



#WhiteBrandSIM #PrivateLTE #Open5GS #SIMCodingKit #4GLTESIM

HKCARD Electronics: Custom 5G NR SIM Cards for Open-Source Networks
Bulk white label MVNO blank SIM cards (128k/256k/512k) from HKCARD ELECTRONICS
Free SIM Personalize Tools Download