Firmware Update rolls out counter actions for custom tags

During the last days Boxine did an OTA updated of the Toniebox Firmware. That means that all Boxes that went online over Wifi received this update already.
In earlier times Boxine informed their customers with an information web page at their http://www.tonies.de site. But they did not update this page for quite a while.

So what are the changes?

The latest Release has the internal version number 3.0.8 and was compiled at the 14th of Oct. We recognized this update already by the 6th of Nov. to be on at least one of our boxes. But it took until today (9th of Nov. 2020) to see some effects.

Members of the Team RevvoX Telegram Chat Group experienced that their custom tags would stop working. Detailed inspection showed, that the custom files on the internal SD Card of the Toniebox were missing. Further inspection revealed that files only get deleted if the linked custom tag was placed onto the Toniebox. All the other files were still left on the SD card.

What happens exactly?

The following steps will show exactly what happens within the Toniebox if a Tonie figurine or a custom tag will be placed ontop the RFID reader:

  • Toniebox recognizes a RFID Tag (iso15693 standard) is placed ontop the box
  • Toniebox tries to disable the privacy mode either with the Boxine PW or the standard NXP PW
  • if the privacy mode is disabled it will read the UID and the content of the memory
  • as soon as the 40 bytes are received it is enabling the privacy mode again
  • the UID and the memory content is send to the Boxine Cloud Server.
  • the cloud servers answers with an audio ID of the content that is linked to the specific UID (only stored within the Boxine Cloud database)
  • if the content on the SD card has the same audio ID, it starts playing the already existing content. If it is not existing on the SD card, or the content on the SD card has another audio ID the Toniebox will load the audio content from the Boxine Cloud Server.
  • (THIS IS THE NEW PART!) => if the UID is NOT existing within the Boxine Cloud database, it will delete the linked file on the SD card.

What needs to be done?

This process shows that only files will get deleted if the linked custom tag is placed on the Toniebox AND the Toniebox is connected to the Internet.
If the Box is offline or is in Offline Mode, it has no chance to sync to the cloud and has to play the file that is available on the SD card.

This leads to the following rules for working with custom tags:

  • You can only use the custom tags if your Box is not connected to the Internet. This can be archived by putting the Box into Offline Mode (pressing both ears for 5 seconds at the same time until a sound can be heard. Then release the ears and press again one of the two ears for another 3 seconds.)
  • If you want to download audio files from the Tonie Cloud Server by using original Tonie figurines, you can go online and place the figurine onto the Toniebox. Nothing will happen to your custom files as long as you are not placing any custom tags onto the Box.
  • Going back to Offline Mode lets you use the original Tonie figurines and the custom tags.

Resume

With these actions Boxine started the cat and mouse game with the custom tag community. With the mentioned steps you all will still be able to use custom tags AND original Tonies at the same time. But you have to live most of the time within the Offline world.

Is this bad for the custom tag community? Not really. The members of this community are controlling their content on the SD cards already so that there is no need to stay online the whole time.

Out of my point of view this has more of a down side to Boxine than it is to the custom tag community.
Before they forced this community to go into the offline world, Boxine was able to see how many people are using how many custom tags and how often because of their logging feature where everything that happens gets to send home. So they were able to judge how big this community is in comparison to their normal customers.
But now all this will take place while the Boxes are offline. In this state the Box will not send any information home what it usually sends while it is online.

Personally I am curious what the next steps of Boxine will be. To be honest: I am wondering a bit about the first step. Because this community is compared to the regular number of customers such a small group that I did not expect they would react to them. (the size of the community can be measured with the members of the Team RevvoX Telegram Group. And even this number seems to be to big, because not everyone is an active member…)

Let the games begin…

34 Gedanken zu „Firmware Update rolls out counter actions for custom tags“

  1. Hi

    Thanks for this information.
    I cann suggest also another option:
    – make a DHCP reservation on you router for the toniebox, so that it always has the same ip
    – add a firewall rule that blocks all traffic from the toniebos IP to the internet

    so that doesn’t need the offline mode. but it takes 5 seconds until it starts to play (would be the timeout to the tonie cloud).

    another plus is that if you are not in offline mode you’re own tags will not be deleted automatically

    Antworten
    • Hallo,
      Thanks for your post. But your way has two down sides. First, when the Toniebox is connected to the WIFI, but blocked to the Internet, it tries for 5 seconds to reach for the Tonie cloud server. This happens every time you place a tonie on top of the box.
      The second issue is, that if you want to go online because you got a new original Tonie figurine, you have to change settings within you DHCP Server.
      If you just go into offline mode, the box plays immediately to audio and you can easily switch back to online mode to download new content from the cloud.
      And if you are not placing any custom tags ontop of the box while it is online, no files will get deleted.

      Antworten
  2. maybe there is a way in the middle. I’m using a fritzbox and put the toniebox into forbidden mode (for every http request the box get an instant response from the fritzbox that access is not allowed).. Maybe i didn’t get the firmware update but selfmade tonies are starting instantly.

    Antworten
    • There is no need for a mid way solution.
      As long as the box stays in offline mode the box will play all custom files. Even in online mode you can work with the official tonies, but not with the custom tags. As soon as you are back in offline mode, all custom tags will still work.

      It is just a question how to keep the box offline. Out of my point of view the easiest way to just use the build in offline mode of the Tonie box. Everything that needs to be done with the router or fritzbox is by far to complicated. To go into the offline mode or back again to online mode is just some seconds of ear button pressing

      Regards,
      Gambrius

      Antworten
  3. Hello Together

    Do I see it correctly that the offline mode is deactivated every time the box is turned off? I had noticed this because my custom tag was deleted after switching on.

    Am I doing something wrong?

    BR
    Sven

    Antworten
      • OK

        I find the answer! The disabling where OFF after I removed the SD-Card from the box to put new files into. Now with card inside the box and the box goes to sleep, after wake up by pressing one of the ears, the WIFI ist also OFF, I can see the aquamarine blue light on the box.

        Antworten
  4. There also seems to be a problem with the continue function.
    All original figures are correctly continued at the place where they were taken down.
    The custom Tonies always start from the beginning.
    Or am I the only one with this problem? Greetings

    Antworten
    • Hallo Andre,

      the mentioned feature is called “Live” feature. This is usually only enabled for creative Tonies with self recorded content (from the iPhone App), so that the latest recording will always play from the beginning.
      This feature is stored within the file attribute of the tonie file on the SD-card. If the Tonie file has the file attribute “hidden” the live feature is enabled.
      Since the last Firmware Update the Toniebox sets the “hide” attribute for each custom file. You can prevent this by removing the “hidden” attribute of all custom files. Some users report that they set the attribute “write protect” to prevent further setting of the hide attribuet.
      Will take a look into this and think about releasing a Blog post for a detailed review and a guide to circumvent this behavior.

      Regards,
      Gambrius

      Antworten
        • Hallo Udo,

          die Tonie Audio Dateien auf der SD Karte haben bei Dir wahrscheinlich dass Datei Attribute “Versteckt” gesetzt. Dieses markiert eigentlich KreativTonies mit der aktivierten Option “LIVE”, welche bewirkt, dass der Audioinhalt immer wieder von vorne abgespielt wird.
          Wenn Du Deinen Custom Tonie Audio Files das Attribut “Versteckt” entziehst, sollte es wieder mit dem fortsetzen der Wiedergabe funktionieren.
          Einige User haben berichtet, dass sie gleichzeitig auch das Attribut “Schreibgeschützt” auf aktiv gesetzt haben.

          Probier mal aus und berichte, ob es bei Dir funktioniert hat.

          Gruß,
          Gambrius

          Antworten
          • Hallo,

            ja das habe ich auch festgestellt. Wenn ich die SD Karte in der Box hatte, werden die Dateien danach im Windows Explorer nicht mehr angezeigt. Ich muss sie dann über Teddy entfernen und neu auf die SD Karte kopieren. Wenn ich die Datei mit einem Schreibschutz versehe, passiert das trotzdem.
            Hast du noch irgendwelche andere Ideen?

            Grüße,
            Udo

  5. Hallo,

    zum Thema LIVE und Wiedergabe an beliebiger Stelle kann ich nach einigen Versuchen folgendes berichten. Die Box setzt die Datei bei mir immer auf “Versteckt”. Auch, wenn ich sie vorher mit einem Schreibschutz versehen habe. Vielleicht gibt es andere Möglichkeiten, den Schreibschutz zu aktivieren. Mit einem anderen Explorer?
    Ist dass ggfs. ein Windows Problem?

    Grüße,
    Udo

    Antworten
    • Es wurde hier ja schon die Variante mit den Schreibschutz angesprochen für das “hidden” / “Live” Problem. Kann der Schreibschutz auch dazu dienen, dass man sich den Offline Modus sparen könnte? Wenn ich alle Customtags Inhalte mit einen Schreibschutz versetze, kann doch theoretisch nichts geändert werden?! Oder denke ich da zu einfach 🙂

      Antworten
      • Hallo Marcel,

        das Thema mit dem Schreibschutz kam mal als Idee im Chat der Tonie Community von Team RevvoX auf.
        Dieses hat sich jedoch als nicht wirksam gezeigt. Der Schreibschutz ist ja auch nicht wirklich eine Hemmschwelle. Die Dateien können ja trotzdem verändert werden….sowie auch der Schreibschutz ohne weiteres zurück gesetzt werden kann.

        Gruß,
        Gambrius

        Antworten
    • das Problem ist das die Box nachdem die Batterie angesteckt wird NICHT im offline-Modus startet. Sie baut eine Verbindung auf und setzt die “selfmade” Tags auf versteckt. Einzigster Weg der funktioniert ist das man der Toniebox das Internet beim einstecken nimmt. Entweder mit der Kindersicherungsfunktion der Fritzbox oder eben kurz das WLAN ausschalten bis man sie wieder im Offline-Modus hat. Dann funktioniert auch der Wiedergabemodus wie gedacht..

      Gruß
      Andy

      Antworten
      • Hallo Udo,

        das ist korrekt wie Du es beschreibst. Als alternative könnte man noch eine zweite SD Karte haben, mit der man die Box einschaltet, nachdem man den Akku abgezogen hatte, oder mit der man kurz Online geht um einen neuen original Tonie zu laden. Sobald die Box im Offline Modus ist, kann dann die “Haupt SD Karte”, die man mit seinen custom Inhalten gefüllt hat, wieder in die Box gesteckt werden. Ggf. kann man das File das für den neuen Tonie auf die temporäre Karte geladen wurde auf die andere Karte kopieren, so dass dann der neue original Tonie auch im Offline Modus funktioniert.
        Siehe auch den Kommentar von Roman hierzu.

        Gruß,
        Gambrius

        Antworten
  6. Hallo Udo,

    Über Umwege ist es dennoch möglich. Und dies ist kein Windows Problem, sondern wird von der Tonie Box durchgeführt.
    Bei mir ist es so, dass, sobald die Tonie Box zu lange online ist oder etwas runter lädt (neuer Tonie oder nachdem der Akku getrennt war), die selbst erstellten Ordner alle von der Tonie versteckt wurden.
    Deswegen muss ich darauf achten, dass die Tonie Box mit der Costum Mikro SD Karte immer im Offline Modus ist. Das heißt, dass ich beim Ausbau der SD Karte nicht mehr den Akku trenne. Dadurch verhindere ich den Neustart, bei dem die Tonie sich zumindest mit der cloud verbindet (blau blinkt).
    Wenn ich eine neue Original Tonie habe, wechsel ich die Mikro SD Karte, schalte den Online Modus ein und lade den entsprechenden Ordner aus der c
    Cloud auf die sd Karte (Tonie drauf stellen) runter, stelle die Tonie wieder in den Offline Modus und ziehe den neuen Ordner der originalen Tonie Figur dann am Rechner auf meine eigene SD Karte.
    Nur so kann ich sicherstellen, dass die Tonie Box immer offline ist, wenn ich die selbst gebastelte Mirko SD Karte drin. Den ansonsten würde mir die Tonie Box immer wieder alle selbst erstellten Ordner verstecken.

    Ich hoffe, ich habe es ausführlich genug beschrieben und konnte dir damit weiterhelfen 😅

    Viele Grüße,
    Roman

    Antworten
    • Hallo Roman,
      Danke für Deinen Beitrag.
      Finde Deinen beschriebenen Ablauf sehr gut. Damit hast Du zumindest sichergestellt, dass Du Deine zusammen gestellte SD Karte nicht riskierst.

      Gruß,
      Gambrius

      Antworten
      • Hallo, für mich funktionieren die Custom Tags auch super und ich mag es mehr Kontrolle über die Box zu haben.

        Das Problem mit der Wiedergabe von Beginn an nervt mich allerdings auch.

        Ich habe die Box ansich immer im Offline Modus und wenn ich an die SD Karte muss, brauche ich auch nicht den Akku abziehen.
        ABER: Für einen neuen original Tonie gekauft oder aus der Bibliothek geht die Box ja online und läd den Inhalt, danach werden dann wieder die Custom Tags jedes mal von Beginn an abgespielt.

        Der Prozess mit 2 SD Karten, sodass man für nen neuen Tonie immer erst die Karte tauschen, dann laden, dann Karte raus, dann Inhalte kopieren, dann Zweitkarte rein, dann normal weiter… Puh… tendentiell nervig 😉

        Mein Weg jetzt ist: Meine SD Karte raus, in den Rechner, pauschal allen Ordner das Versteckt Attribut entfernen und Karte wieder rein (Da ich keine Live Tonies habe, will ich den Effekt ja nirgends)

        Wenigstens ist das nur einmal Karte raus und wieder rein, aber das ist schon unangenehm genug….

        Wenn jemand also die ultimative Lösung findet, wäre ich dankbar 😉

        Antworten
        • Hallo Krischi,

          schön zu hören, dass Die unsere Arbeit gefällt.

          Bezüglich der Wiedergabe von Beginn an hast Du ja bereits die Ursache erkannt und erläutert.
          Hier könntest Du Dir auch ein Batch File schreiben, welches Du ausführst um allen Dateien das “hide” Attribut zu entziehen.
          Aber ohne dieses (und natürlich die dafür benötigte SD Karten Bewegung) geht es mit der original Firmware Leider nicht.

          Eine Alternative würde unser neuer Bootloader bieten. Wir haben einen Bootloader entwickelt, der den original Bootloader der Box (nicht die original Firmware) austauscht. Mit diesem können unter anderem auch sogenannte Patches in die original Firmware eingespielt werden, die dann z.B. das setzen des hidden flags verhindern. Weiter Patches können dann auch z.B. die Box wieder online lassen, da wir das setzen des hidden flags verhindern. Etliche weiter Funktionen sind vorhanden. Werde dazu noch mal einen Artikel veröffentlichen…
          Jedoch bedeutet dieses schon einen größeren Eingriff in die Box. Hier muss man entsprechende Punkte auf dem PCB kontaktieren um unseren neuen Bootloader einzuspielen.

          Gruß,
          Gambrius

          P.S.: Falls Interesse an dem neuen Bootloader besteht, lasst mich in den Kommentaren bitte wissen, ob und wie detailliert ich dazu berichten sollte.

          Antworten
          • Das Thema mit dem Bootloader und dadurch mehr Komfort würde mich auch interessieren. Ich schätze man muss per Konsole und einer Schnittstelle (JTAG?) auf die PCB zugreifen?

            Grüße

          • Hallo StarMagoo,

            Für den Einsatz von dem von uns (Team RevvoX) entwickelten Bootloader oder der alternativen Firmware wird ein Adapter benötigt mit dem man den Rechner mit dem PXB der Toniebox verbinden kann. Auf diese Weise kann man sowohl den Bootloader, als auch die Firmware Version verändern. Einen Einstieg hierzu findest Du u.a. in meinem Beitrag in dem ich das Dumpen des Toniebox Speichers vorstelle (https://gt-blog.de/toniebox-firmware-dump/).

            Gruß,
            Gambrius

  7. Klasse Seite. Weiter so, dank dir/euch spielt nun auch meine Toniebox PawPatrole Hörbücher. Würde euch gerne unterstützen damit die Spiele beginnen können. (paypal/Bitcoin…) Wird nicht das letzte Update sein denke ich.

    Grüße
    ein Fan

    Antworten
  8. Maybe you should update the actual blog post with the information about the hidden FAT filesystem attribute, so people find that information directly.

    A little self promotion: I wrote a Python script to create Tonie audio files: https://github.com/bailli/opus2tonie
    Beware: This has been tested very little so far!
    This is mostly targeted at Linux users – I have tested this only under Linux, but it will probably also work under Windows, especially if you supply 48 kHz opus files directly.

    Antworten
    • Hallo Bailli,

      thanks for the hint regarding the hidden file status. Thought that I added it already in an updated post, but was’nt sure anymore. Will do that for sure.
      A lot of these information are given within our Telegramm Chat Group. Feel free to join and tell us more about your linux tool opus2tonie. That sounds interesting. Good job.
      Another member of the RevvoX Group Community did something similar and did a first shot on porting our TeddyBench Tool to Linux. You can find his tool here: https://github.com/AlbrechtL/teddy

      Hope to see you on Telegramm. Send me a PM as soon as you are in.

      Regards,
      Gambrius

      Antworten
  9. Hi! Just stumbled over your blog (really nice!), also looked into the RevvoX Github Repos / the Toniebox Wiki.

    So my idea/question would be: As I understand, the firmware ships with the root certificate (in /cert/ca.der) for making calls to its servers. So do you think it would be feasible to exchange this certificate with an own one and set up a reverse proxy in my local network that intercepts (man in the middle) this traffic? With the idea to control, which kind of requests go through?

    Thx for your thoughts!

    Best,
    Fabian

    Antworten
    • Hallo Fabian,
      I definitely think that is working.
      You could even try to reverse engineer the protocol and come up with your own Server structure. We did not go that far yet. But this is definitely a way that should be examined.
      Keep me updated if you are going this route.

      Antworten
    • Hallo Fabian,
      That is absolutely possible. This way you could intercept the traffic, and change some balues / complete contents or the payload.
      You could reverse engineer the communication and build upon this an own Server.

      Antworten
  10. Hallo Gambrius,

    ersteinmal vielen Dank für die Arbeit und die ganzen Informationen.

    Ich bin auf zwei kleine “Probleme” gestoßen.

    1. TeddyBench konvertiert manchmal mehr und manchmal weniger Titel, als auf der TonieSeite für den Tonie angeben wird.

    2. Die Sache mit den Custom Tags – wundervolle Sache! Nun habe ich, ganz zu Beginn, einen Custom Tag aufgelegt, während die Box online war. Gelöscht, wie oben beschrieben und nun weiß ich auch, dass die Box offline sein soll und das ist sie auch.
    ABER: Ich kann den Custom Tag nun zwar mit eigenen Inhalten füttern, aber nicht mehr mit original Inhalten verknüpfen. Woran kann das liegen? Über TeddyBench kann ich die betreffende Originaldatei abspielen. Hab es mehrfach probiert (Codeword OWL – zusätzlich ändert sich die Sprachausgabe auf englisch!): Mit originaldatei Verknüpfen, geht nicht, mit eigenem Inhalt geht, mit original geht nicht.
    Es scheint, als sei dieser eine Tag für Originaldateien gesperrt.

    Beste Grüße,

    Skild

    Antworten
    • Hallo,

      Zu 1.:
      TeddyBench extrahiert die Tracks so, wie diese im TAF (Tonie Audio File) vorhanden sind. Es kann hier zu Abweichungen zum Eintrag des Tonies im Tonie Online Shop kommen, da die Inhalte zum Teil aktualisiert werden. D.h. dass auf neueren Tonies ein abgewandelter, bzw. aktualisierter Inhalt verwendet wird und die Beschreibung auf der Tonie Shop Seite nicht angepasst / aktualisiert wird.

      Zu 2.:
      Es macht den Anschein, dass das original Audiofile nicht korrekt und noch nicht komplett aus der Tonie Cloud geladen wurde, weshalb die Box versucht auch mit der Cloud zu verbinden um die Dazei erneut herunter zu laden. Da dieses im Offline Modus / gesperrte Netz Zugang nicht klappt, gibt es die Fehlermeldung Eule / Owl.
      Ein custom tag kann weiterhin mit original Inhalt verwendet werden. Nur in diesem fall scheint es ein Problem mit Deinem original File zu geben.
      Du kannst dieses ja einfach mit einem anderen original file testen.

      Antworten

Schreibe einen Kommentar zu Udo Antworten abbrechen