Hi everyone,
I have successfully set up a running TeddyCloud. I followed the manual to extract the firmware, and both reading and writing work fine. The certificate exchange was also successful.
However, I have the feeling that the patch is not working because my Toniebox is still connecting to the official Toniecloud. The LED remains green, which indicates a normal connection to the original servers.
Below are few logs and configs.
Any ideas on what might be wrong?
TeddyCloud logs
=================================================================
==8==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 523 byte(s) in 20 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580f1aa70 in mqtt_init src/mqtt.c:953
#3 0x5580d99b7c in main src/main.c:609
#4 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#5 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#6 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 443 byte(s) in 20 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f12f00 in mqtt_topic_str src/mqtt.c:87
#2 0x5580f1aabc in mqtt_init src/mqtt.c:955
#3 0x5580d99b7c in main src/main.c:609
#4 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#5 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#6 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 423 byte(s) in 20 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f12f00 in mqtt_topic_str src/mqtt.c:87
#2 0x5580f1aa98 in mqtt_init src/mqtt.c:954
#3 0x5580d99b7c in main src/main.c:609
#4 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#5 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#6 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 223 byte(s) in 20 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f12d38 in mqtt_settingname_clean src/mqtt.c:59
#2 0x5580f1aa0c in mqtt_init src/mqtt.c:951
#3 0x5580d99b7c in main src/main.c:609
#4 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#5 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#6 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 105 byte(s) in 3 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580ebdc84 in file_save_start src/handler_api.c:942
#3 0x5580f2fec4 in multipart_handle src/server_helpers.c:452
#4 0x5580ec9bb8 in handleApiUploadCert src/handler_api.c:1073
#5 0x5580f2379c in httpServerRequestCallback src/server.c:483
#6 0x5581077a1c in httpConnectionTask src/cyclone/cyclone_tcp/http/http_server.c:541
#7 0x7f9d125978 (/lib/aarch64-linux-gnu/libc.so.6+0x85978)
#8 0x7f9d18b7d8 (/lib/aarch64-linux-gnu/libc.so.6+0xeb7d8)
Direct leak of 70 byte(s) in 2 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580edaf50 in handleApiTonieboxJson src/handler_api.c:2371
#3 0x5580f2379c in httpServerRequestCallback src/server.c:483
#4 0x5581077a1c in httpConnectionTask src/cyclone/cyclone_tcp/http/http_server.c:541
#5 0x7f9d125978 (/lib/aarch64-linux-gnu/libc.so.6+0x85978)
#6 0x7f9d18b7d8 (/lib/aarch64-linux-gnu/libc.so.6+0xeb7d8)
Direct leak of 63 byte(s) in 63 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580f44598 in settings_save_ovl src/settings.c:814
#3 0x5580f47218 in settings_save src/settings.c:733
#4 0x5580ec3148 in handleApiTrigger src/handler_api.c:409
#5 0x5580f2379c in httpServerRequestCallback src/server.c:483
#6 0x5581077a1c in httpConnectionTask src/cyclone/cyclone_tcp/http/http_server.c:541
#7 0x7f9d125978 (/lib/aarch64-linux-gnu/libc.so.6+0x85978)
#8 0x7f9d18b7d8 (/lib/aarch64-linux-gnu/libc.so.6+0xeb7d8)
Direct leak of 38 byte(s) in 1 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580f6ac68 in tonies_init src/toniesJson.c:54
#3 0x5580f2bf88 in server_init src/server.c:881
#4 0x5580d99ba8 in main src/main.c:610
#5 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#6 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#7 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 35 byte(s) in 1 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580f6ac84 in tonies_init src/toniesJson.c:55
#3 0x5580f2bf88 in server_init src/server.c:881
#4 0x5580d99ba8 in main src/main.c:610
#5 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#6 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#7 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
Direct leak of 33 byte(s) in 1 object(s) allocated from:
#0 0x5580e21ee4 in __interceptor_malloc (/usr/local/bin/teddycloud+0x681ee4)
#1 0x5580f2dabc in custom_asprintf src/server_helpers.c:40
#2 0x5580f6ac48 in tonies_init src/toniesJson.c:53
#3 0x5580f2bf88 in server_init src/server.c:881
#4 0x5580d99ba8 in main src/main.c:610
#5 0x7f9d0c84c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0)
#6 0x7f9d0c8594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594)
#7 0x5580d9f16c in _start (/usr/local/bin/teddycloud+0x5ff16c)
SUMMARY: AddressSanitizer: 1956 byte(s) leaked in 151 allocation(s).
TeddyCloud v0.6.3 (39b2f89) - 2025-01-06 08:31:53 +0000 ubuntu linux-aarch64(64)
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.ini
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/ca-root.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/ca.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/client.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/client/private.der' detected as DER style RSA PRIVATE KEY
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
INFO |tls_adapter.c:0390:tls_adapter_init| Loading certificates...
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/ca-root.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/ca.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/client.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/client/private.der' detected as DER style RSA PRIVATE KEY
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5152416
INFO |toniesJson.c:0100:tonies_update| Updating tonies.json from api.revvox.de...
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443...
INFO |cloud_request.c:0252:web_request| trying IP: 157.90.183.226
INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonies.json
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443...
INFO |cloud_request.c:0252:web_request| trying IP: 185.199.111.133
INFO |toniesJson.c:0124:tonies_update| ... success updating tonies.json from api.revvox.de, reloading
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5152416
INFO |toniesJson.c:0211:tonieboxes_update| Updating tonies.json from api.revvox.de...
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443...
INFO |cloud_request.c:0252:web_request| trying IP: 157.90.183.226
INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonieboxes.json
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443...
INFO |cloud_request.c:0252:web_request| trying IP: 185.199.111.133
INFO |toniesJson.c:0238:tonieboxes_update| ... success updating tonieboxes.json from api.revvox.de, reloading
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5152416
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740821590'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740821592'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740821647'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740821648'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821707'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821708'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821748'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821749'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821751'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740821752'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Access denied [271]
ERROR|handler_reverse.c:0029:handleReverse| cloud_request_get() failed
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740822166'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
INFO |cloud_request.c:0479:web_request| Response: '1740822167'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740824658'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740824659'
INFO |handler_api.c:0501:handleApiSettingsSet| Setting: 'core.host_url' to 'http://teddy.local'
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
INFO |handler_api.c:0407:handleApiTrigger| Triggered WriteConfig
INFO |settings.c:0747:settings_save_ovl| Save settings to /teddycloud/config/config.ini
INFO |settings.c:0747:settings_save_ovl| Save settings to /teddycloud/config/config.overlay.ini
INFO |settings.c:1513:settings_loop| Settings file changed. Reloading.
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.ini
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/ca-root.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/ca.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0197:read_certificate| File '/teddycloud/certs/client/client.der' detected as DER style CERTIFICATE
INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/client/private.der' detected as DER style RSA PRIVATE KEY
INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740825446'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
INFO |cloud_request.c:0479:web_request| Response: '1740825447'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.74.99.150
INFO |cloud_request.c:0479:web_request| Response: '1740826600'
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443...
INFO |cloud_request.c:0252:web_request| trying IP: 3.74.99.150
INFO |cloud_request.c:0479:web_request| Response: '1740826601'
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
config ngCfg.json
{
"general": {
"activeImg": "ofw2",
"_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.custom.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"
]
}
}
example the commands I used
cc3200tool -p COM5 --reset dtr read_all_files ExtractedFromBox/
cc3200tool -p COM5 --reset dtr read_flash backup.bin
cc3200tool -p COM5 --reset dtr write_file ExtractedFromBox/sys/mcuimg.bin /sys/pre-img.bin
cc3200tool -p COM5 --reset dtr write_file flash/sys/mcuimg.bin /sys/mcuimg.bin
cc3200tool -p COM5 --reset dtr write_file server/ca.der /cert/c2.der
custom url
{
"general": {
"_desc": "Changes Boxine URLs to custom ones.",
"_memPos": "",
"_fwVer": "3.0.5+"
},
"searchAndReplace": [{
"_desc": "prod.de.tbs.toys to teddy.local",
"search": ["70", "72", "6f", "64", "2e", "64", "65", "2e", "74", "62", "73", "2e", "74", "6f", "79", "73", "00"],
"replace": ["74", "65", "64", "64", "79", "2e", "6c", "6f", "63", "61", "6c", "00", "??", "??", "??", "??", "??"]
}, {
"_desc": "rtnl.bxcl.de to teddy.local",
"search": ["72", "74", "6e", "6c", "2e", "62", "78", "63", "6c", "2e", "64", "65", "00"],
"replace": ["74", "65", "64", "64", "79", "2e", "6c", "6f", "63", "61", "6c", "00", "??"]
}]
}
I’m able to ping the teddy.local in the network segment.
Thank you for your help.
I’m feeling lost right now.
Sonic