Using LineageOS on the FP2

Hi @_Chris, tnx!

I must admit that I didn’t read the thread very well :blush:. Still, I can’t change the DNS server. I think I did it right this time, but I couldn’t SAVE the new DNS servers. The possibility to SAVE is changed automatically made impossible when I change the IP tables to ‘Static’.

So, it could be that I did something wrong or it’s something else. I tried to find out what could be the problem. On https://github.com/ukanth/afwall/wiki/DNS I found this:

DNS problems
Since Android 6.1.x you only can change the DNS for tether device and nothing else, everything else get ignored, no matter what you set or which app you’re use”

If I understand this well, it’s just impossible to change the DNS on android 7 (exept for tether). That could be an explanation why I couldn’t change the DNS server?

If that’s the case, the only way to use another DNS server is to set the IP-tables in this way (same github thread):

"Or via AFWall+ custom script:

$IPTABLES -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 208.67.222.222:53 || true
$IPTABLES -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 208.67.222.222:53"?

Or is the solution to install another app to change the default DNS?

tnx again!

btw my proxy setting in Wifi Settings is: “None” and my Binaries Preferences Setting/DNS proxy in AfWall+ is: “Disable DNS via netd”.

Did you enter an IP address and Gateway? These DNS settings work only for static IP, so you need to enter your IP address.

On the other hand, the default is to use DHCP instead of static IP, and in this case you cannot set a DNS server address. But as far as I remember (someone may correct me if I am wrong) the DNS server configured on your router is used when DHCP is enabled.

1 Like

One more issue I face: Every now and then, I have no internet connection- Both Wi-Fi and mobile internet. It shows that it is connected , but upon opening a browser or any other program, the internet connection fails. A restart solves the problem. It happens every now and then.
I did reset the Network settings. It did not help.

1 Like

I have this problem aswell. I think it maybe, when I have wifi on, then it disconnects (for whatever reason) and then it does not connect over mobile internet (maybe because I said prefer wifi). So it tries wifi and ignores mobile internet eventhough there is no wifi connection. But this is just a theory.
What I do: either try and get wifi back or restart. Turning wifi off sometimes helps.

1 Like

Xposed not being officially supported is the only reason why I switched back to FP Open OS.
I do need “This App will run without Google” but it looks as it is not supported (yet) …

Coming back to battery usage… I did some experiments.
After reboot, and after an uptime of 4 days, I recorded actual cpu frequency every 10 seconds, while doing basically the same thin (reading text with an elaborated rss reader, which basically is scrolling, text display and internet, with all my background processes untouched).
The script is this:

while :
do
  s=$(date +%s)
  for i in $(echo /sys/devices/system/cpu/cpu?/cpufreq/cpuinfo_cur_freq)
    do
       echo -n "$s;"
       cat $i
    done
    sleep 10
done

Which gives up to 4 values per query. Reformatted with a small perl programm I create a csv (available on request, 24lines), which I then import into oocalc for a diagram (phew, quite some complicated massaging… ;-)) Here I can see that

  • cpu generally runs faster
  • more cores are active
    after some days.

After the reboot:

After 4 days of uptime

Additionally, after reboot the charging current varies between 500 and 700 mA, after 4 days I only get a maximum of 400mA…

Klaus

5 Likes

Was this added? Im still experiencing low microphone volume in some apps (whatsapp and the native recorder for example)

Hey!

I finally installed lineage OS yesterday. Everything went pretty without problems with the explanation here in the forum. I went by the FP open os way to have twrp! I’m definitely not an expert but this was pretty easy!

After one day using lineage it was definitely a good change! Any problem so far with anything!!

Just that I need g-sevices only because of GPS and signal app is annoying. Last time that I had FP open I tried unified and microg but I didn’t achieve to make it working. So opengapps was the easier option for the moment.

I have one question regarding the battery demand. For me its going down more or less fast… And as before I noticed that somehow WiFi seems to be active all the time (or my suspision is that just the colours are reversed, as it was on for the time its shown white down, and switched off for the green area…)

Any ideas??

Please have a look at this thread.

It seems that using the handsfree works much better. Hopefully it will be fix in the next version.

So I went back to LineageOS.

Somehow network reception in my Fairphone Open OS did manage to regress to the LineageOS level lately, and Fairphone Open OS 17.08.1(.1) introduced random reboots to my phone, which I could fix by flashing 17.06.4 modem files … but anyway.

As a trade-off (I guess) my compass in LineageOS did manage to regress to the Fairphone Open OS level, so I have to calibrate often again.

At least everything is more logical this way.
Now trying 17.08.1 modem files with LineageOS, so let’s see about these random reboots …

Can’t help you with GPS, but you definitely don’t need Google Services for Signal. (I have run Signal w/o Google (or surrogates) for several months now.)

Right, to use Signal on a phone without Google services, just d/l it from here: https://signal.org/android/apk.

And your GPS works how??

And if i habe solved this, how do i geht rid of the oppengapps?

Does somebody using Lineage know if Camera API 2 is supported on Lineage?

Edit: When running Lineage on the Fairphone.

Google knows:

Whether a device uses the new or old camera HAL depends on the device-specific camera blobs. Some might also support both but have severe bugs that prevent using the newer HAL.

Thanks for the link, but that now i still don’t know if the Camera2 Api is exposed when running Lineage on the FP2.

That means: No. The blobs have to support it, but they don’t (We had this discussion here, maybe a search helps? :wink: ).

Does anyone know if there’s a way to use the checkup or proximity sensor calibration tool on LOS? Especially the second one, as with the new camera modules it’s said to be necessary to calibrate the sensor… Or does this not apply for LOS?

Hi, I’m getting a red rectangle popping up in my display covering the sides of it. Sometimes it seems to pop by itself and it pops op when tapping on a wide variaty of tapping options (such a opening a app or just tapping on whatever tap you can make in settings for example).

Did anyone encounter this bug? I flashed the latest modem and LOS OTA-zip file.