brouter icon indicating copy to clipboard operation
brouter copied to clipboard

The profile mappings get reset on device restart

Open RURon opened this issue 3 years ago • 1 comments

I just did a fresh install of LineageOS (Android 11) as I hoped this would improve my situation (before was on Android 7) on my XPeria Z5 Compact because I experience profile mapping resets (which happen quite often as my phone crashes in the cold outside quite often, mounted on handle bars of a bicycle).

Additionally all the default profiles get populated into the profile directory again (I dont need all those profiles and I already learned that when I edit a profile I have to use a different name or else it will be overwritten as well to it's default setup) everytime this happens.

I have root access and maybe there is a quick fix?

The profile folder is /storage/emulated/0/Android/media/btools.routingapp/brouter/profiles2/ and I am on BRouter 1.6.3

RURon avatar Jan 23 '22 17:01 RURon

I finally managed to build BRouter on my Windows machine (which was not easy, given the fact that I'm no Java nor Android developer). The main issue being that I needed an older Java JDK than the current V17 (I used V14 now).

Now I can simply circumvent this bug/behaviour on my device by editing the serviceconfig.dat and the profiles2.zip in the assets.

RURon avatar Jan 24 '22 10:01 RURon