Apex Manager 4.0 Released in Play store

Wait now I’m a little confused you still have to have the Ring Conversion or Apex 2 for this right not the regular Apex?

correct

or Apex 2 Ring Conversion.. so far there have not been any Apex 2 products “in the wild” but that will likely change once we are in production.

4 Likes

Does it work with the cybernetic ring? And if so, do I have to remove my current installed apps and reinstall via the Apex Manager app?

Very sad to see all the same issues as before.

  • How much space will it use to install XYZ app? How much space is each app currently using?
  • When telling it to install an app when not enough space is available, It attempts to install it, and then gives some JSON error for like 1s (better be quick on the screenshot!), instead of just checking whether enough space is available before even starting.
  • Why is the ‘free space’ app even needed? You know what chip it is (so you know total memory) and you know what apps are currently installed, just do the math? Or am I missing something here?

actually changed my mind, uninstalling. there’s no “how are you going to survive if ear breach’s aut” message in the rotation when you click the bunny. literally unusable. /s

7 Likes

Hmm maybe not? They are different applet IDs through Fidesmo. Need to test.

1 Like

If the OTP app has 100 entries, how much memory does it use? Does it have 10 entries or 50? Who’s to say?

Some crude logic could be used to estimate if an install will fail, but it’s not a cut and dry problem.

1 Like

Let’s start here, because it informs the other two issues. Java card is not designed for doing what we’re doing - field managing applets. It’s designed for loading one, maybe two applications onto a predefined and spec’d in chip, then locked and shipped out to the customer(s), never to be touched again.

Simple things like asking the Javacard OS how much space is left just isn’t included in the feature set. Without the application to actually interrogate the flash / eeprom and ram there just isn’t a way to get this information.

The error is non-descriptive anyway, it’s a major failing of the Fidesmo platform and again, Java card itself. Remember how it’s not designed for this willy nilly free form installation of applications? Yeah dog shit error messages are part of it.

This is one area we are working on. Of course installing applications can’t be straightforward either.. the actual byte count of what an application takes up on chip depends on where exactly the data falls across memory sectors, just like hard drives. A million 1 byte files on a hard drive will take up way more space than just 1 million bytes. So, even the order you deploy the applications does actually matter. Removing applications and reinstalling in various orders also results in orphaned bytes, fragmentation, etc. The only real way to tell if something will fit is to try to deploy it.

That said, we can approximate and we do have some preliminary numbers for each application.. it’s just not been finalized.

4 Likes

I actually tried looking at the free space reported before and after deleting some OTP entries, and it didn’t change. Is it supposed to?

It .. might. Depends on garbage collection and memory sector fragmentation which we have little to no visibility on.

So let’s say each otp key takes up approximately 300 bytes and you delete one, then two, and nothing changes .. then 5 and suddenly you get approximately 1500 bytes back.. or could be 1350 bytes or 1602 or some other seemingly random (but not random) amount of space back.

1 Like