mahabhu commited on
Commit ·
6360b05
1
Parent(s): 4d9132f
readme
Browse files- 2026-10-15T1621Z_poco-n41-phy/logs/logcat_radio.txt +30 -0
- README.md +156 -0
2026-10-15T1621Z_poco-n41-phy/logs/logcat_radio.txt
CHANGED
|
@@ -32154,3 +32154,33 @@
|
|
| 32154 |
10-15 12:11:29.236 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32155 |
10-15 12:12:29.269 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32156 |
10-15 12:12:29.270 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32154 |
10-15 12:11:29.236 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32155 |
10-15 12:12:29.269 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32156 |
10-15 12:12:29.270 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32157 |
+
10-15 12:15:29.235 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32158 |
+
10-15 12:15:29.236 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32159 |
+
10-15 12:16:28.536 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32160 |
+
10-15 12:16:28.537 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32161 |
+
10-15 12:17:29.220 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32162 |
+
10-15 12:17:29.220 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32163 |
+
10-15 12:18:28.532 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32164 |
+
10-15 12:18:28.533 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32165 |
+
10-15 12:19:29.226 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32166 |
+
10-15 12:19:29.228 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32167 |
+
10-15 12:21:29.229 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32168 |
+
10-15 12:21:29.230 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32169 |
+
10-15 12:21:32.414 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32170 |
+
10-15 12:21:32.415 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32171 |
+
10-15 12:22:28.528 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32172 |
+
10-15 12:22:28.529 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32173 |
+
10-15 12:23:29.222 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32174 |
+
10-15 12:23:29.223 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32175 |
+
10-15 12:23:43.068 4570 4570 D RILJ : [1786]> GET_ACTIVITY_INFO [PHONE0]
|
| 32176 |
+
10-15 12:23:43.104 4570 4878 D RILJ : [1786]< GET_ACTIVITY_INFO ModemActivityInfo{ mTimestamp=7200136 mSleepTimeMs=1396661 mIdleTimeMs=8 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]} [PHONE0]
|
| 32177 |
+
10-15 12:24:23.570 4570 4570 D RILJ : [1787]> GET_ACTIVITY_INFO [PHONE0]
|
| 32178 |
+
10-15 12:24:23.594 4570 4878 D RILJ : [1787]< GET_ACTIVITY_INFO ModemActivityInfo{ mTimestamp=7240626 mSleepTimeMs=40469 mIdleTimeMs=25 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[0, 0, 0, 0, 0],mRxTimeMs=0}]} [PHONE0]
|
| 32179 |
+
10-15 12:24:28.498 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32180 |
+
10-15 12:24:28.498 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32181 |
+
10-15 12:24:29.803 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32182 |
+
10-15 12:24:29.804 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32183 |
+
10-15 12:27:29.229 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32184 |
+
10-15 12:27:29.230 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32185 |
+
10-15 12:28:28.771 4570 4570 I BatteryStateManager: BatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
| 32186 |
+
10-15 12:28:28.773 4570 4570 I MiBatteryStateManager: MiBatteryStateManager onReceive action android.intent.action.BATTERY_CHANGED
|
README.md
CHANGED
|
@@ -1,3 +1,159 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pretty_name: Twin6G — Over-the-Air 5G NR PHY Dataset
|
| 4 |
+
tags:
|
| 5 |
+
- 5g
|
| 6 |
+
- 5g-nr
|
| 7 |
+
- physical-layer
|
| 8 |
+
- rf
|
| 9 |
+
- iq
|
| 10 |
+
- sigmf
|
| 11 |
+
- srsran
|
| 12 |
+
- open5gs
|
| 13 |
+
- ran-telemetry
|
| 14 |
+
- wireless
|
| 15 |
+
- digital-twin
|
| 16 |
+
- fake-base-station
|
| 17 |
+
size_categories:
|
| 18 |
+
- 1K<n<10K
|
| 19 |
+
configs:
|
| 20 |
+
- config_name: gnb_metrics
|
| 21 |
+
data_files: "**/tier2_metrics/gnb_sched_ue.csv"
|
| 22 |
+
- config_name: ue_nr
|
| 23 |
+
data_files: "**/tier2_metrics/ue_nr_adb.csv"
|
| 24 |
---
|
| 25 |
+
|
| 26 |
+
# Twin6G — Over-the-Air 5G NR PHY Dataset
|
| 27 |
+
|
| 28 |
+
Real **over-the-air 5G NR** measurements for the Twin6G project: raw radio-frequency samples and
|
| 29 |
+
physical-layer telemetry of a live standalone 5G cell serving a commercial phone. Unlike simulator traces
|
| 30 |
+
(for example UERANSIM), every recording here is a genuine radio observation, so it carries true
|
| 31 |
+
physical-layer (Layer 1) information.
|
| 32 |
+
|
| 33 |
+
Each run is self-contained in a timestamped directory and provides two paired tiers captured in the **same
|
| 34 |
+
session**:
|
| 35 |
+
|
| 36 |
+
- **Tier 1 — raw IQ**: the rawest possible form, complex baseband samples of the cell sniffed off the air.
|
| 37 |
+
- **Tier 2 — PHY telemetry**: per-UE radio metrics from the base station and radio measurements reported by
|
| 38 |
+
the phone, plus the control-plane and MAC packet captures.
|
| 39 |
+
|
| 40 |
+
## Provenance
|
| 41 |
+
|
| 42 |
+
All data is **measured, over the air**. It is collected on a software-defined radio testbed, not simulated.
|
| 43 |
+
Each run directory carries a `run_info.yaml` and a `timeline.ndjson` with exact timing, hardware serials,
|
| 44 |
+
configuration, and ground-truth events (attach, each IQ burst, teardown). The IQ and the base-station and
|
| 45 |
+
phone metrics are simultaneous observations of the same live cell.
|
| 46 |
+
|
| 47 |
+
## Runs
|
| 48 |
+
|
| 49 |
+
| run_id | duration | band / carrier | UE | label |
|
| 50 |
+
|---|---|---|---|---|
|
| 51 |
+
| `2026-10-15T1621Z_poco-n41-phy` | 20 min (2026-10-15 16:21:52–16:42:00 UTC) | n41 TDD, ARFCN 518670 = 2593.35 MHz, 20 MHz, 30 kHz SCS | Xiaomi Poco (COTS phone) | benign single-cell baseline |
|
| 52 |
+
|
| 53 |
+
### Testbed for this run
|
| 54 |
+
|
| 55 |
+
- **Core**: Open5GS (standalone 5G core), PLMN 99970.
|
| 56 |
+
- **gNB**: srsRAN Project (release 25.10), PCI 1, on a USRP B210.
|
| 57 |
+
- **UE**: a real Xiaomi Poco phone, SIM on PLMN 99970, attached over the air and kept RRC-connected with
|
| 58 |
+
light background traffic.
|
| 59 |
+
- **Sniffer**: a second USRP B210 tuned to the same 2593.35 MHz carrier, recording raw IQ while the cell ran.
|
| 60 |
+
|
| 61 |
+
## Directory layout (per run)
|
| 62 |
+
|
| 63 |
+
```
|
| 64 |
+
<run_id>/
|
| 65 |
+
tier1_iq/ raw IQ bursts (.sc16) + SigMF sidecars (.sigmf-meta)
|
| 66 |
+
tier2_metrics/ gnb_sched_ue.csv, ue_nr_adb.csv, ue_adb.ndjson
|
| 67 |
+
pcap/ gnb_mac.pcap (MAC-NR), gnb_ngap.pcap (NGAP + 5G NAS)
|
| 68 |
+
logs/ srsRAN console + srslog, per-burst sniffer logs, phone radio logcat, keepalive ping
|
| 69 |
+
config/ exact Open5GS core and srsRAN gNB configs used
|
| 70 |
+
meta/ final size report
|
| 71 |
+
run_info.yaml run metadata
|
| 72 |
+
timeline.ndjson ground-truth event timeline (UTC)
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## Tier 1 — raw IQ (`tier1_iq/`)
|
| 76 |
+
|
| 77 |
+
Duty-cycled over-the-air capture of the live cell: a **2-second burst every 20 seconds** across the whole
|
| 78 |
+
run, so samples span the full session at a practical size. For the run above: 46 bursts, ~7.9 GB.
|
| 79 |
+
|
| 80 |
+
- `iq_<utc>_c<freq>_r<rate>.sc16` — interleaved signed 16-bit complex samples (I, Q, I, Q, …),
|
| 81 |
+
little-endian. One 2-second burst = 46,080,000 complex samples = 184.32 MB. Sample rate 23.04 Msps,
|
| 82 |
+
center frequency 2593.35 MHz.
|
| 83 |
+
- `iq_<utc>_c<freq>_r<rate>.sigmf-meta` — a [SigMF](https://github.com/sigmf/SigMF) metadata sidecar
|
| 84 |
+
(`core:datatype: ci16_le`, sample rate, center frequency, hardware serial, UTC datetime, label).
|
| 85 |
+
|
| 86 |
+
Read one burst in Python:
|
| 87 |
+
|
| 88 |
+
```python
|
| 89 |
+
import numpy as np
|
| 90 |
+
x = np.fromfile("iq_….sc16", dtype=np.int16).astype(np.float32).view(np.complex64)
|
| 91 |
+
fs, fc = 23.04e6, 2593.35e6 # sample rate, center frequency
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Typical uses: RF fingerprinting (carrier-frequency offset, IQ imbalance, phase noise), synchronization-signal
|
| 95 |
+
(SSB / PSS-SSS) analysis, spectrograms, and physical-layer inputs to a digital-twin or anomaly model.
|
| 96 |
+
|
| 97 |
+
## Tier 2 — PHY telemetry (`tier2_metrics/`, `pcap/`)
|
| 98 |
+
|
| 99 |
+
**`gnb_sched_ue.csv`** — per-UE physical-layer metrics from the base-station scheduler:
|
| 100 |
+
|
| 101 |
+
| column | meaning |
|
| 102 |
+
|---|---|
|
| 103 |
+
| `pci`, `rnti` | cell identity, UE radio identifier |
|
| 104 |
+
| `dl_cqi`, `dl_ri`, `dl_mcs`, `dl_brate` | downlink channel quality, rank, modulation-and-coding, bitrate |
|
| 105 |
+
| `dl_ok`, `dl_nok`, `dl_bler_pct` | downlink HARQ ACK / NACK and block error rate |
|
| 106 |
+
| `ul_pusch_snr`, `ul_rsrp` | uplink SNR and received power at the base station |
|
| 107 |
+
| `ul_ri`, `ul_mcs`, `ul_brate`, `ul_ok`, `ul_nok`, `ul_bler_pct` | uplink rank, MCS, bitrate, HARQ, BLER |
|
| 108 |
+
| `ul_bsr`, `ul_ta`, `ul_phr` | buffer status, timing advance, power headroom |
|
| 109 |
+
|
| 110 |
+
**`ue_nr_adb.csv`** — the phone's own NR radio measurements, polled every 2 seconds over adb:
|
| 111 |
+
|
| 112 |
+
| column | meaning |
|
| 113 |
+
|---|---|
|
| 114 |
+
| `ts`, `reg` | timestamp, registration state |
|
| 115 |
+
| `ss_rsrp`, `ss_rsrq`, `ss_sinr` | synchronization-signal received power, quality, SINR (the UE's downlink view) |
|
| 116 |
+
| `csi_rsrp`, `csi_rsrq`, `csi_sinr` | CSI-RS equivalents when reported |
|
| 117 |
+
|
| 118 |
+
`ue_adb.ndjson` is the raw per-poll source for that CSV. The `tier2_metrics/*.csv` are derived from the raw
|
| 119 |
+
logs and can be regenerated.
|
| 120 |
+
|
| 121 |
+
**Packet captures** (`pcap/`): `gnb_mac.pcap` is MAC-NR (per-transport-block MCS, grants, HARQ);
|
| 122 |
+
`gnb_ngap.pcap` is NGAP control plane and contains the **5G NAS (5GMM)** signaling, including the full
|
| 123 |
+
registration sequence (Registration Request, Authentication Request/Response, Identity Request/Response,
|
| 124 |
+
Security Mode Command). Read with Wireshark or `tshark -r gnb_ngap.pcap -Y nas-5gs`.
|
| 125 |
+
|
| 126 |
+
## Loading in `datasets`
|
| 127 |
+
|
| 128 |
+
The IQ files are binary and are referenced by their SigMF sidecars; load them with NumPy as shown above. The
|
| 129 |
+
CSV metrics are exposed as dataset-viewer configs:
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
from datasets import load_dataset
|
| 133 |
+
gnb = load_dataset("<your-username>/Twin6G", "gnb_metrics") # per-UE PHY metrics
|
| 134 |
+
ue = load_dataset("<your-username>/Twin6G", "ue_nr") # phone-side NR measurements
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
## Intended uses
|
| 138 |
+
|
| 139 |
+
- Physical-layer feature extraction and RF fingerprinting of 5G base stations.
|
| 140 |
+
- Training and validating digital-twin / anomaly models on real radio telemetry.
|
| 141 |
+
- Fusing physical-layer features with higher-layer (NAS / RRC) detectors, for example to reduce false
|
| 142 |
+
positives in fake-base-station detection.
|
| 143 |
+
|
| 144 |
+
## Limitations and honest notes
|
| 145 |
+
|
| 146 |
+
- **Benign only.** This run is a single legitimate cell. It is **not** a fake-base-station capture; that
|
| 147 |
+
requires a separate two-transmitter benign-versus-fake handover scenario.
|
| 148 |
+
- **IQ is duty-cycled**, 2 seconds every 20 seconds. It spans the full run but totals about 92 seconds of
|
| 149 |
+
samples per 20-minute run, not continuous. This bounds storage and avoids radio contention with the live
|
| 150 |
+
cell.
|
| 151 |
+
- A minority of IQ bursts logged a transient hardware overflow (a few dropped samples at the start of the
|
| 152 |
+
burst). Files are full-size and usable; the per-burst sniffer logs in `logs/` record which bursts.
|
| 153 |
+
- Identifiers are test values on a private PLMN (99970). Subscriber keys are not included; the UE config in
|
| 154 |
+
`config/` has credentials stripped.
|
| 155 |
+
|
| 156 |
+
## Citation
|
| 157 |
+
|
| 158 |
+
Part of the Twin6G project (digital twin for 5G/6G). If you use this dataset, please cite the project and
|
| 159 |
+
link this repository.
|