[ROM][S9+/S9][OFFICIAL][NIGHTLIES] LineageOS 17.1

Tom1369

Member
Nov 13, 2019
9
1
3
Munich
i used to be on lineage os before all these changes but then had to switch to a stock-derived rom exactly because of these little bugs, in particular the inability to set the vibration strenght for notifications (even if the settings is present it's not working). So my question is: is it worth to try again with the latest build or all these chanes are just "under the hood" and the bugs are still the same?
I cannot give any recommendations on LO 17.1 yet, since I installed it just 2 months ago. However, I just checked the possibility to adjust the vibration strength. There are 4 levels offered (high, medium, low, off). They have a corresponding effect on the haptic feedback (y). However, as ringing or notifications are concerned, they only seem to support on/ off functionality. I did not feel any difference in the strength of the vibration when high, medium or low was selected :(.
 

HansiPwer

Member
Mar 9, 2020
18
1
3
I made a update OTA with the "Updater" but after that my Root/Magisk disappeared after that, The Magisk Manager App was still there, but with no options/don't worked.

Do I have to manually install the Magisk Zip in TWRP after each update every time or is there a workaround?
 

Tom1369

Member
Nov 13, 2019
9
1
3
Munich
I was curious to see, why it is necessary to re-install Magisk after any LineageOS update. So, I downloaded the most recent nightly revision of LineageOS for my Galaxy S9 and had a look inside.

Code:
Archive:  lineage-17.1-20201130-nightly-starlte-signed.zip
signed by SignApk
  Length      Date    Time    Name
---------  ---------- -----   ----
      322  2009-01-01 00:00   META-INF/com/android/metadata
544843564  2009-01-01 00:00   system.new.dat.br
        0  2009-01-01 00:00   system.patch.dat
  2097304  2009-01-01 00:00   META-INF/com/google/android/update-binary
     2205  2009-01-01 00:00   META-INF/com/google/android/updater-script
 32337936  2009-01-01 00:00   boot.img
     1028  2009-01-01 00:00   install/bin/backuptool.functions
     2233  2009-01-01 00:00   install/bin/backuptool.sh
     7364  2009-01-01 00:00   system.transfer.list
     1342  2009-01-01 00:00   META-INF/com/android/otacert
---------                     -------
579293298                     10 files
I think, the boot.img included with the zip package explains, why it is necessary to re-install Magisk. Since Magisk tweaks the boot.img it has to be (re)-installed after the installation of a new LineageOS update.
 

HansiPwer

Member
Mar 9, 2020
18
1
3
I was curious to see, why it is necessary to re-install Magisk after any LineageOS update. So, I downloaded the most recent nightly revision of LineageOS for my Galaxy S9 and had a look inside.

Code:
Archive:  lineage-17.1-20201130-nightly-starlte-signed.zip
signed by SignApk
  Length      Date    Time    Name
---------  ---------- -----   ----
      322  2009-01-01 00:00   META-INF/com/android/metadata
544843564  2009-01-01 00:00   system.new.dat.br
        0  2009-01-01 00:00   system.patch.dat
  2097304  2009-01-01 00:00   META-INF/com/google/android/update-binary
     2205  2009-01-01 00:00   META-INF/com/google/android/updater-script
32337936  2009-01-01 00:00   boot.img
     1028  2009-01-01 00:00   install/bin/backuptool.functions
     2233  2009-01-01 00:00   install/bin/backuptool.sh
     7364  2009-01-01 00:00   system.transfer.list
     1342  2009-01-01 00:00   META-INF/com/android/otacert
---------                     -------
579293298                     10 files
I think, the boot.img included with the zip package explains, why it is necessary to re-install Magisk. Since Magisk tweaks the boot.img it has to be (re)-installed after the installation of a new LineageOS update.
Ok, thanks a lot

So when there is no workaround i do it so and flash the zip after a update
 

midazz

New member
Mar 25, 2020
1
0
1
Hello. I,'m sorry I am unexperienced. Please someone write all the steps for me how to install Los official.
Now my phone is rooted with magisk & DM
Now I have DTC5
Model is G960F/DSM
Do i have to start installing the latest stock rom or can I stay on this dtc5?
 
Last edited:

Syntax_Error_

Member
Feb 21, 2020
23
3
13
Hi !
i'm using an old vendor image without forced encryption on my S9 (G960FXXU8DTC5) because of using all TWRP features. Is there a newer one available or need i use this old one further ?

Thanks :)
 

oky82

Member
Aug 4, 2017
14
8
3
www.oky-photography.de
Is there a way to disable the "always on" feature? It is not because of the battery drain more about the annoying situation sleeping beside an always glowing phone. I can search for the menu entry, but I can not select it. Maybe someone has a sollution for this problem.
 

effry

Senior Member
Mar 14, 2011
470
121
78
Milan
Is there a way to disable the "always on" feature? It is not because of the battery drain more about the annoying situation sleeping beside an always glowing phone. I can search for the menu entry, but I can not select it. Maybe someone has a sollution for this problem.
A couple Page back you would have found the solution : there Is a Quick toggle called AOD. its not added by default , so add It and then use that
 
  • Like
Reactions: oky82

kevin#34

Member
Sep 23, 2017
12
3
3
Rome
I saw that with the 7th December update finally the screen touch sensitivity ("glove" function) has been implemented(y), now I can use the phone even with the glass screen protector! many thanks to developers!
let's hope they will add the slow/fast charge possibility too:giggle:
 

HansiPwer

Member
Mar 9, 2020
18
1
3
let's hope they will add the slow/fast charge possibility too:giggle:
+1, there is no option for fast charging and showing a notification for charging. (stock rom shows fast charging, slow charging, defect charging etc.)

And i have tried to disable/change (A)ssisted GPS/-SUPL.
I want to change it to localhost, or to supl.vodafone.com but i don't have the gps.conf file. Normally it is at /etc/system/gps.conf or /vendor/etc/gps.conf
i only have gps.debug there, i can't find that file (rooted with Magisk, LOS 17.1, S9+)

the following is needed to edit that:

SUPL_HOST=supl.host.com or IP
SUPL_PORT=7275 (variable)
 

LiNe1771

Senior Member
Dec 18, 2014
461
118
63
+1, there is no option for fast charging and showing a notification for charging. (stock rom shows fast charging, slow charging, defect charging etc.)

And i have tried to disable/change (A)ssisted GPS/-SUPL.
I want to change it to localhost, or to supl.vodafone.com but i don't have the gps.conf file. Normally it is at /etc/system/gps.conf or /vendor/etc/gps.conf
i only have gps.debug there, i can't find that file (rooted with Magisk, LOS 17.1, S9+)

the following is needed to edit that:

SUPL_HOST=supl.host.com or IP
SUPL_PORT=7275 (variable)
You can change to normal charge or fast charge on system files/terminal.
But, u need to change it every time u reboot it.

echo 1 > /sys/class/sec/switch/afc_disable

Echo 1 enables normal charge. Echo 0 enables fast charging.

Paste that on some terminal, grant root before of course and u will change the charging method.
U can also go to the file on sys/class/sec/switch/afc_disable and manually change the value.
 

effry

Senior Member
Mar 14, 2011
470
121
78
Milan
+1, there is no option for fast charging and showing a notification for charging. (stock rom shows fast charging, slow charging, defect charging etc.)

And i have tried to disable/change (A)ssisted GPS/-SUPL.
I want to change it to localhost, or to supl.vodafone.com but i don't have the gps.conf file. Normally it is at /etc/system/gps.conf or /vendor/etc/gps.conf
i only have gps.debug there, i can't find that file (rooted with Magisk, LOS 17.1, S9+)

the following is needed to edit that:

SUPL_HOST=supl.host.com or IP
SUPL_PORT=7275 (variable)
i'm on stock rom and only found gps_debug.conf in /system/etc , i can share it with you if may be of some help. Let me know
 

HansiPwer

Member
Mar 9, 2020
18
1
3
i'm on stock rom and only found gps_debug.conf in /system/etc , i can share it with you if may be of some help. Let me know
Hey, thanks, but i´m have the gps_debug.conf too.
I need gps.conf, so i think this is normal on the S9+? ^^
My current solution is to redirect the whole thing via Adaway from Google SUPL (supl.google.com) to localhost (127.0.0.1)
 

kevin#34

Member
Sep 23, 2017
12
3
3
Rome
by default, is fast charging set, right?

You can change to normal charge or fast charge on system files/terminal.
But, u need to change it every time u reboot it.

echo 1 > /sys/class/sec/switch/afc_disable

Echo 1 enables normal charge. Echo 0 enables fast charging.

Paste that on some terminal, grant root before of course and u will change the charging method.
U can also go to the file on sys/class/sec/switch/afc_disable and manually change the value.