I am lost. No idea where is my problem. I will post my settings. If someone can check them would be very nice.
Flash:/cert/c2.der:
I have now tripple checked. Its the same ca cert as in teddycloud/certs/server/ca.der
Content on SD-Card:
(I have also tried mcuimg2.bin (from original image, is EU_V3.1.0_BF2-0) as ng-ofw2.bin)
This are my configs:
ngCfg.json
"general": {
"activeImg": "ofw1",
"_descWaitForPress": "Waits for an earpress on startup",
"waitForPress": false,
"_descWaitForBoot": "Waits for an earpress before firmware boot",
"waitForBoot": false,
"waitTimeoutInS": 60,
"_descMinBatteryLevel": "Divide through 2785 to get voltage",
"minBatteryLevel": 8869,
"ofwFixFlash": "/sys/pre-img.bin",
"_descSerialLog": "Logging only works with the debug build!",
"serialLog": false,
"_descLogLevel": "0:Trace - 5:Fatal",
"logLevel": 0,
"_descLogColor": "Use colors in log output",
"logColor": false
},
"ofw1": {
"checkHash": false,
"hashFile": false,
"watchdog": true,
"bootFlashImg": true,
"flashImg": "/sys/pre-img.bin"
},
"ofw2": {
"checkHash": true,
"hashFile": false,
"watchdog": true,
"ofwFix": true,
"ofwSimBL": true,
"patches": ["altCa.305", "altUrl.305"]
},
"ofw3": {
"checkHash": true,
"hashFile": false,
"watchdog": true,
"ofwFix": true,
"patches": ["altCa.305", "altUrl.tc.fritz.box"]
},
"cfw1": {
"checkHash": false,
"hashFile": false,
"watchdog": true
},
"cfw2": {
"checkHash": false,
"hashFile": false,
"watchdog": true
},
"cfw3": {
"checkHash": false,
"hashFile": false,
"watchdog": true
},
"add1": {
"checkHash": true,
"hashFile": false,
"watchdog": true,
"ofwFix": true,
"ofwSimBL": false,
"patches": ["blockCheck.310", "noCerts.305", "noPass3.310", "noPrivacy.305", "uidCheck.307"]
},
"add2": {
"checkHash": true,
"hashFile": false,
"watchdog": true,
"ofwFix": true,
"ofwSimBL": false,
"patches": ["altCa.305", "altUrl.305"]
},
"add3": {
"checkHash": true,
"hashFile": false,
"watchdog": true,
"ofwFix": true,
"ofwSimBL": false,
"patches": ["altCa.305", "altUrl.305"]
}
}
altCa.305.json
"general": {
"_desc": "Change CA from /cert/ca.der to /cert/c2.der",
"_memPos": "",
"_fwVer": "3.0.5+"
},
"searchAndReplace": [{
"_desc": "ca.der to c2.der",
"search": ["2f", "63", "65", "72", "74", "2f", "63", "61", "2e", "64", "65", "72", "00"],
"replace": ["??", "??", "??", "??", "??", "??", "??", "32", "??", "??", "??", "??", "??"]
}]
}
altUrl.305.json
"general": {
"_desc": "Changes Boxine URLs to custom ones.",
"_memPos": "",
"_fwVer": "3.0.5+"
},
"searchAndReplace": [{
"_desc": "prod.de.tbs.toys to prod.revvox",
"search": ["70", "72", "6f", "64", "2e", "64", "65", "2e", "74", "62", "73", "2e", "74", "6f", "79", "73", "00"],
"replace": ["31", "30", "2e", "30", "2e", "30", "2e", "31", "39", "00", "??", "??", "??", "??", "??", "??", "??"]
}, {
"_desc": "rtnl.bxcl.de to rtnl.revvox",
"search": ["72", "74", "6e", "6c", "2e", "62", "78", "63", "6c", "2e", "64", "65", "00"],
"replace": ["31", "30", "2e", "30", "2e", "30", "2e", "31", "39", "00", "??", "??", "??"]
}]
}
activeImg is set to OFW1. I boot into OFW2 using the Ears on start.
Any idea, what i have missed?