tl;dr: I followed the rooting guide from the official docs, installed a dev build and “rooted” it by enabling root debugging in the developer settings, but this is not enough to give root access to the apps that need it, since both
busybox
andsu
are missing, AFAICS.Where do I go from here? Is there an easy way to gain root access for apps that will survive OTA system updates?
Hi folks,
I recently bought a Fairphone 5 with /e/OS preinstalled directly from Murena and I’m still in the process of transferring data from my old phone and setting everything up the way I want it.
My plan was to use NeoBackup to help with this – and to generally keep backups and prevent data loss. I have used it for a few years now and want to continue using it. I have a few apps that keep data locally and don’t do automatic backups in the background, so I need a proper backup app for that.
Like every backup app on Android, NeoBackup needs root access to circumvent Android’s (otherwise great) app isolation features. I would also like to continue using AdAway and try out AFWall+, so I definitely need root. Here’s where my troubles begin…
I quickly found the following rooting guide in the official /e/OS docs:
https://doc.e.foundation/fr/support-topics/root-e-os
I was surprised to learn that there’s no easy way to gain root access on the preinstalled stable /e/OS build and somewhat annoyed to read that I’d have to install a dev build to do so, esp. since this meant having all my hitherto transferred data erased. But at least it would allow me to re-lock the bootloader after and I didn’t need to fiddle about with patching images and such as per the Magisk route. So I did it, unlocked the bootloader, ran the installation script, relocked the bootloader, booted into the successfully installed dev build, checked that it is indeed a dev build, unlocked Developer Settings and enabled “Root Debugging” therein.
I was led to believe by the official rooting guide that this would be enough to let NeoBackup, or any app, gain root access. To my annoyance, that is not the case, since the critical su
binary (as well as busybox
and probably other stuff) is missing from the image.
On my old FP3, I used LineageOS and went through the whole rigamarole of rooting with Magisk by patching the image and all that jazz. I found it a fairly involved process and – crucially – it meant that I lost root on every OTA system update, which made me not want to install those and led to my procrastinating on such updates until I’d have the time to install them and do all the patching stuff afterwards so my backups don’t break.
In addition, I had to run around with a phone with an unlocked bootloader in my pocket for years
I would have hoped to avoid this with /e/OS, especially since the rooting guide suggests that installing a dev build and enabling Root Debugging is all that is needed and I’ve done all that now and got nothing out of it.
Is there an easy way to gain root access from this point forward? Can I just install su
and busybox
somehow or sideload some package with adb
?
Or will I have to go through all of the stuff with Magisk and patching the image again… and forever after every OTA system update… just to get proper backups working?