blob: 64be57381f7b99dfef7140b527e336367abd0314 [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
Harald Welte77d510b2022-07-08 20:46:16 +020020ust_service_deactivate 126
Harald Weltec89a1a92022-02-17 12:42:14 +010021ust_service_deactivate 127
22ust_service_deactivate 129
23ust_service_deactivate 130
24ust_service_deactivate 132
25ust_service_deactivate 133
26ust_service_deactivate 134
27ust_service_deactivate 135
28
29# deactivate all files in EF.5GS
30select ADF.USIM
31select DF.5GS
32
33select EF.5GAUTHKEYS
34deactivate_file
35
36select EF.5GS3GPPLOCI
37deactivate_file
38
39select EF.5GSN3GPPNSC
40deactivate_file
41
42select EF.5GSN3GPPLOCI
43deactivate_file
44
45select EF.5GS3GPPNSC
46deactivate_file
47
48# only exists on sysmoISIM-SJA2v2
49select EF.OPL5G
50deactivate_file
51
52select EF.Routing_Indicator
53deactivate_file
54
55select EF.SUCI_Calc_Info
56deactivate_file
57
58select EF.SUPI_NAI
59deactivate_file
60
61# only exists on sysmoISIM-SJA2v2
62select EF.TN3GPPSNN
63deactivate_file
64
65select EF.UAC_AIC
66deactivate_file
67
68# only exists on sysmoISIM-SJA2v2
69select EF.URSP
70deactivate_file