To really find out the answer, you either have to study the code of routers (OsmAnd’s code is open source), or ask the developers.
[Edit:] I went ahead and contacted the makers of MagicEarth. I keep you posted.