- 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
Table of Contents
ToggleWhite-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:
- Get blank or programmable 4G LTE SIM cards.
- Verify the ADM key.
- Write the IMSI, Ki and OP/OPc to each card.
- Add the same subscriber data to the EPC.
- Deploy the first eNodeB.
- 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.
| Component | Role | Notes |
|---|---|---|
| White-brand 4G LTE SIM card | Stores the subscriber identity and keys | Programmable USIM, no carrier branding |
| Coder (coding kit) | Reads and writes the card | Includes a card reader/writer |
| Software | Handles ADM verification and personalization | Can run on macOS/Linux, or use Osmocom pySim |
| EPC / HSS | Stores subscriber records and authenticates users | Open5GS or another open EPC |
| eNodeB | Provides the LTE radio cell | PLMN and TAC must match the core plan |
| CPE | The user device that holds the SIM | For 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
| Step | Action | Check |
|---|---|---|
| 1 | Connect the reader to your computer | The reader shows up in the operating system |
| 2 | Insert one SIM card | Contacts are clean and the card is seated |
| 3 | Read the card | ICCID is displayed and recorded |
| 4 | Verify the ADM key | Write access is accepted |
| 5 | Write IMSI, Ki and OP/OPc | Values match your subscriber sheet |
| 6 | Read the card back | IMSI and other public fields are correct |
| 7 | Add the subscriber to the EPC | Same 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.
| Value | Meaning | Handling |
|---|---|---|
| Ki | 128-bit subscriber key | Unique per SIM is the safest practice |
| OP | Operator variant configuration value | May be shared across a network |
| OPc | Value derived from OP and Ki | Stored 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:
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.
| Parameter | Format | Where It Must Match |
|---|---|---|
| MCC | 3 digits | IMSI, eNodeB PLMN, EPC PLMN |
| MNC | 2 digits | IMSI, eNodeB PLMN, EPC PLMN |
| IMSI | Usually 15 digits | SIM and EPC subscriber record |
| Ki | 32 hex characters | SIM and EPC |
| OP/OPc | 32 hex characters | SIM and EPC, with the same type |
| Authentication | Milenage | Card profile and EPC |
| APN | Text | CPE and EPC |
| TAC | Number | eNodeB and EPC |
IMSI structure with a 2-digit MNC:
| Part | Digits | Example Position |
|---|---|---|
| MCC | 3 | First 3 digits |
| MNC | 2 | Digits 4 and 5 |
| MSIN | 10 | Remaining 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:
- Install Open5GS and confirm the MME, HSS, SGW and PGW components are running.
- Set the PLMN (MCC and 2-digit MNC) in the MME configuration.
- Add the subscriber record through the WebUI or database tool.
- Program the SIM with the same values.
- 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
| Item | What to Set |
|---|---|
| PLMN | Same MCC and 2-digit MNC as the SIM and EPC |
| TAC | Same value as in the core configuration |
| MME / S1 address | IP address of the EPC |
| LTE band and EARFCN | A band supported by your CPE and allowed in your location |
| Transmit power | Low power for lab testing |
| Timing/sync | Required for TDD bands |
| IP routing | eNodeB 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.
| Stage | What to Verify | Where to Look |
|---|---|---|
| 1. SIM detected | CPE reads the card | CPE status page |
| 2. Cell found | CPE sees the PLMN | CPE signal page |
| 3. Attach request | Request reaches the EPC | MME log |
| 4. Authentication | Milenage passes | MME/HSS log |
| 5. Session setup | Default bearer is created | SGW/PGW log |
| 6. IP assignment | CPE gets an IP address | CPE and PGW |
| 7. Data traffic | Ping and DNS work | Client 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
| Symptom | Possible Cause | What to Check |
|---|---|---|
| Card not read | Contact or reader problem | Reseat the card and try another reader |
| Cannot write to card | ADM not verified | Confirm the ADM key for this batch |
| Authentication failure | Ki, OP/OPc or IMSI mismatch | Compare SIM data against the Open5GS record |
| Authentication still fails | OP and OPc mixed up | Confirm what the authentication field expects |
| CPE does not find the network | Band, PLMN or CPE lock | Check band support and PLMN settings |
| CPE finds cell but does not attach | MNC length or TAC mismatch | Verify 2-digit MNC and TAC |
| Attached but no internet | APN, NAT or DNS | Check APN, routing and PGW configuration |
| eNodeB does not connect to EPC | S1 or IP problem | Test 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




Leave A Comment