From 72448afd471167cbcec16e1129e00f9ad07f37ce Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 23 Sep 2017 23:31:32 +0200 Subject: [PATCH] New PRDs. A few optimisations in tclcheck.py. --- prds.txt | 5 +++++ tclcheck.py | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/prds.txt b/prds.txt index 0b97581..fd224d6 100644 --- a/prds.txt +++ b/prds.txt @@ -13,6 +13,8 @@ PRD-63116-024 AAO472 BBB100-1 PRD-63116-027 AAN057 BBB100-1 PRD-63116-033 AAO472 BBB100-1 PRD-63116-036 AAN596 AT&T BBB100-1 +PRD-63116-041 AAO472 Black KEYone +PRD-63116-042 AAO472 Black KEYone PRD-63117-003 AAO472 BBB100-2 (UK) PRD-63117-011 AAO472 QWERTZ BBB100-2 (Germany) PRD-63117-015 AAO472 BBB100-2 (NL, Belgium) @@ -23,8 +25,11 @@ PRD-63117-027 AAN358 QWERTY BBB100-2 (UAE) https://forums.crackberry.com/showthr PRD-63117-028 AAN358 BBB100-2 PRD-63117-029 AAO472 BBB100-2 PRD-63117-034 AAO472 BBB100-2 +PRD-63117-035 AAO472 BBB100-2 PRD-63117-036 AAO472 BBB100-2 PRD-63117-037 AAN358 BBB100-2 +PRD-63117-039 AAO472 BBB100-2 +PRD-63117-040 AAN358 BBB100-2 PRD-63117-041 AAN358 BBB100-2 PRD-63117-042 AAN358 BBB100-2 PRD-63117-703 AAK199 Prerelease BBB100-2? diff --git a/tclcheck.py b/tclcheck.py index 115d950..3621783 100644 --- a/tclcheck.py +++ b/tclcheck.py @@ -8,22 +8,23 @@ import random import sys fc = tcllib.FotaCheck() +fc.cltp = 10 +fc.serid = "3531510" +#fc.osvs = "7.1.1" + if len(sys.argv) == 3: # python tclcheck.py $PRD $FV = OTA delta for $PRD from $FV fc.curef = sys.argv[1] fc.fv = sys.argv[2] fc.mode = fc.MODE_OTA elif len(sys.argv) == 2: # python tclcheck.py $PRD = FULL for $PRD fc.curef = sys.argv[1] - fc.fv = "AAM481" + fc.fv = "AAA000" fc.mode = fc.MODE_FULL + fc.cltp = 2010 else: # python tclcheck.py = OTA for default PRD, FV fc.curef = "PRD-63117-011" fc.fv = "AAM481" fc.mode = fc.MODE_OTA -fc.serid = "3531510" -#fc.osvs = "7.1.1" -fc.cltp = 10 -#fc.cltp = 2010 check_xml = fc.do_check() print(fc.pretty_xml(check_xml))