HeadlinesBriefing favicon HeadlinesBriefing.com

GrapheneOS: Fix Slow Apps by Disabling Hardened Allocator

Hacker News •
×

I’ve been using Graphene OS for about a year now and overall, I am very happy with the security and privacy features. There is one app, however, that runs noticeably slower on my Pixel 8 with Graphene OS than on other Android devices: Openstreet Map for Android (Osmand). The good side of this is that it has made me look for other map applications on Android, and I’ve found Co Maps that meets almost all of my needs. But still, I’d like use Osmand every now and then as well.

The reason behind it is the hardened memory allocator, which seems to create a significant overhead for Osmand. That might be because scrolling a map requires constant loading and discarding of data. The good news: The hardening can be deactivated on a per-app basis! And once switched it off, Osmand runs as fast again as ever!

This comes with a security drawback, however, but since Osmand is not loading anything from the Internet apart from the occasional maps update, the security vs. speed equation works for me. To disable the hardened memory allocated, long-tap on the program icon, select ‘info’ and then scroll down to ‘Exploit protection’. Leave the protection on in general, just disable the ‘hardened memory allocator’. And that’s it! After restarting Osmand, it is much faster again!