blob: 13206fabffd8382d3f9605cf17ffd0df3d078d0f [file] [log] [blame]
Harald Weltec89a1a92022-02-17 12:42:14 +01001# script to be used with pySim-shell.py which is part of the Osmocom pysim package,
2# found at https://osmocom.org/projects/pysim/wiki
3set echo true
4
5# this script will deactivate all 5G related services and files. This can be used
6# in case you do not wish to use any 5G services, or you do not wish to configure
7# the 5G specific files on the USIM card. The card will then behave like a 3G USIM
8# without any 5G capability, using the default fall-back mechanisms specified by 3GPP.
9
10# TODO: add your card-specific ADM pin at the end of the verify_adm line below
11verify_adm
12
13# deactivate any 5G related services in EF.UST
14select ADF.USIM
15select EF.UST
16ust_service_deactivate 122
17ust_service_deactivate 123
18ust_service_deactivate 124
19ust_service_deactivate 125
20ust_service_deactivate 127
21ust_service_deactivate 129
22ust_service_deactivate 130
23ust_service_deactivate 132
24ust_service_deactivate 133
25ust_service_deactivate 134
26ust_service_deactivate 135
27
28# deactivate all files in EF.5GS
29select ADF.USIM
30select DF.5GS
31
32select EF.5GAUTHKEYS
33deactivate_file
34
35select EF.5GS3GPPLOCI
36deactivate_file
37
38select EF.5GSN3GPPNSC
39deactivate_file
40
41select EF.5GSN3GPPLOCI
42deactivate_file
43
44select EF.5GS3GPPNSC
45deactivate_file
46
47# only exists on sysmoISIM-SJA2v2
48select EF.OPL5G
49deactivate_file
50
51select EF.Routing_Indicator
52deactivate_file
53
54select EF.SUCI_Calc_Info
55deactivate_file
56
57select EF.SUPI_NAI
58deactivate_file
59
60# only exists on sysmoISIM-SJA2v2
61select EF.TN3GPPSNN
62deactivate_file
63
64select EF.UAC_AIC
65deactivate_file
66
67# only exists on sysmoISIM-SJA2v2
68select EF.URSP
69deactivate_file