[ROM][OFFICIAL][guacamole][11] LineageOS 18.1

Search This thread
What is your--
LineageOS version: 18.1-20210704
LineageOS Download url: (ota)
Gapps version:

Did you--
wipe: yes, fresh from yesterday
restore with titanium backup: no
reboot after having the issue: yes

Are you using--
a task killer: no
a non-stock kernel: no (whatever lineage installed as-is)
other modifications: magisk

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

WiFi system mac is random on every reboot, even when no wifi is associated (wifi on, no networks defined nor connected) so individual connection mac preferences have no bearing.

When Wifi is associated, "use device" mac uses the random system mac, and "random" uses a completely different random mac.

The system mac only changes the last 3 segments, e.g.
xx.xx.xx.45.a8.8b
xx.xx.xx.93.ec.09
 

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
WiFi system mac is random on every reboot, even when no wifi is associated (wifi on, no networks defined nor connected) so individual connection mac preferences have no bearing.

When Wifi is associated, "use device" mac uses the random system mac, and "random" uses a completely different random mac.

The system mac only changes the last 3 segments, e.g.
xx.xx.xx.45.a8.8b
xx.xx.xx.93.ec.09
Wish I'd be able to reproduce that...
 

YUZZYDOO

Member
Apr 25, 2019
19
4
What can I do to help?
It also happens in safemode, and reflects rendomly in About Phone as well. It's a bit obnoxious having a new IP every reboot, even if I could just run a boot script with root but ifconfig hwaddr also doesn't affect it
Hi Ekriirkem, Hi Luk1337,

I've the same behavior.
Also try to change MAC with "ifconfig" or "ip", but it doesn't work.

I'm "glad" to see some others has the same behavoir.

Model: GM1913

What is your--
LineageOS version: 18.1-20210627
LineageOS Download url: https://download.lineageos.org/guacamole
Update: OTA
Gapps version: --

Did you--
wipe: yes
restore with titanium backup: no
reboot after having the issue: yes, multiple times

Are you using--
a task killer: no
a non-stock kernel: no (whatever lineage installed as-is)
other modifications: magisk, but behavoir is there with or without root

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
It works with latest OOS.
Never worked with LOS 18.1 Images
Also installed/flashed latest vendor firmware (https://wiki.lineageos.org/devices/guacamole/fw_update)

After reboot, the file /mnt/vendor/persist/wlan_mac.bin contains new MACs. The MAC from the first line will be used for the wireless device wlan0. Changing the wlan_mac.bin file has no effect

Would be nice to set wlan0 adapter to the real HW-address at home and to a random HW-address on Hotspots
 
Last edited:
  • Like
Reactions: EkriirkE

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
I'm not EkriirkE but here is my output

OnePlus7Pro:/ # ls -laZ /data/vendor/oemnvitems
total 16
drwxrwx--x 2 radio radio u:eek:bject_r:vendor_data_file:s0 4096 1971-09-06 00:22 .
drwxrwx--x 43 root root u:eek:bject_r:vendor_data_file:s0 4096 1971-09-06 00:22 ..
Then your RIL is not generating these files for some reason, post boot log + dmesg.
 

YUZZYDOO

Member
Apr 25, 2019
19
4
hope it will help.
If not, I have to check how to get the whole dmesg or how to create a boot log.

Code:
OnePlus7Pro:/ # dmesg | grep -i ril
[    0.998108] spcom: spcom_init: spcom driver version 2.1 23-April-2018.
[    1.171465] [    1.171463]@7 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    3.249758] [    3.249757]@5 init: Parsing file /vendor/etc/init/init-qcril-data.rc...
[    3.251657] [    3.251655]@5 init: Parsing file /vendor/etc/init/qcrild.rc...
[    7.029025] [    7.029022]@7 init: Command 'copy /vendor/radio/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:396) took 0ms and failed: Could not read input file '/vendor/radio/qcril_database/qcrilNr.db': open() failed: No such file or directory
[ 7.029109] [ 7.029108]@7 init: Command 'copy /vendor/etc/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:397) took 0ms and failed: Could not read input file '/vendor/etc/qcril_database/qcrilNr.db': open() failed: No such file or directory
[    9.005531] [    9.005525]@0 init: Unable to set property 'ctl.stop' from uid:0 gid:0 pid:1230: Invalid permissions to perform 'stop' on 'ril-daemon'
[    9.029602] [    9.029594]@0 type=1107 audit(1625471804.790:93): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$ril-daemon pid=1230 uid=0 gid=0 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service permissive=0'
[    9.148908] [    9.148906]@7 init: Control message: Could not find 'vendor.ril-daemon' for ctl.stop from pid: 1237 (stop vendor.ril-daemon)
[    9.171364] [    9.171362]@6 init: starting service 'vendor.qcrild'...
[    9.186508] [    9.186506]@4 init: Control message: Processed ctl.start for 'vendor.qcrild' from pid: 1353 (start vendor.qcrild)
[    9.223366] [    9.223364]@7 init: starting service 'vendor.qcrild2'...
[    9.226031] [    9.226029]@7 init: Control message: Processed ctl.start for 'vendor.qcrild2' from pid: 1372 (start vendor.qcrild2)
[    9.410942] [    9.410939]@7 init: processing action (ro.vendor.ril.mbn_copy_completed=1) from (/vendor/etc/init/hw/init.qcom.rc:782)
[   12.257865] [   12.257862]@5 type=1400 audit(1625471808.040:94): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257916] [   12.257915]@5 type=1400 audit(1625471808.040:95): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257943] [   12.257942]@5 type=1400 audit(1625471808.040:96): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257967] [   12.257965]@5 type=1400 audit(1625471808.040:97): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   14.545890] [   14.545888]@7 init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:1360: Read-only property was already set
[ 14.546464] [ 14.546462]@6 init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:1360: Read-only property was already set

Code:
    OnePlus7Pro:/ # ls -la /vendor/radio/qcril_database/qcrilNr.db
    ls: /vendor/radio/qcril_database/qcrilNr.db: No such file or directory

Code:
1|OnePlus7Pro:/ # ls -la /vendor/radio/qcril_database                                                                                                                                                                                                             
total 136
drwxr-xr-x 3 root shell   4096 2009-01-01 01:00 .
drwxr-xr-x 3 root shell   4096 2009-01-01 01:00 ..
-rw-r--r-- 1 root root  126976 2009-01-01 01:00 qcril.db
drwxr-xr-x 2 root shell 4096 2009-01-01 01:00 upgrade

Code:
logcat ...

11-07 23:10:37.902     0     0 I @5 init : Command 'copy /vendor/radio/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:396) took 0ms and failed: Could not read input file '/vendor/radio/qcril_database/qcrilNr.db': open() failed: No such file or directory
11-07 23:10:37.902     0     0 I @5 init : Command 'copy /vendor/etc/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:397) took 0ms and failed: Could not read input file '/vendor/etc/qcril_database/qcrilNr.db': open() failed: No such file or directory
07-05 10:12:37.869     0     0 E @2 init : Unable to set property 'ctl.stop' from uid:0 gid:0 pid:1276: Invalid permissions to perform 'stop' on 'ril-daemon'
07-05 10:12:37.952     0     0 E @4 init : Control message: Could not find 'vendor.ril-daemon' for ctl.stop from pid: 1315 (stop vendor.ril-daemon)
07-05 10:12:37.974     0     0 I @4 init : starting service 'vendor.qcrild'...
07-05 10:12:37.979     0     0 I @4 init : Control message: Processed ctl.start for 'vendor.qcrild' from pid: 1341 (start vendor.qcrild)
07-05 10:12:38.022     0     0 I @5 init : starting service 'vendor.qcrild2'...
07-05 10:12:38.027     0     0 I @5 init : Control message: Processed ctl.start for 'vendor.qcrild2' from pid: 1369 (start vendor.qcrild2)
07-05 10:12:38.276     0     0 I init    : processing action (ro.vendor.ril.mbn_copy_completed=1) from (/vendor/etc/init/hw/init.qcom.rc:782)
07-05 10:12:40.750  1098  1549 I SystemServerTimingAsync: InitThreadPoolExec:Update app-ops uidState in case package com.qualcomm.qcrilmsgtunnel changed
07-05 10:12:41.087  1098  1098 V StorageManagerService: Package com.qualcomm.qcrilmsgtunnel does not have legacy storage
07-05 10:12:43.349     0     0 E @7 init : Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:1350: Read-only property was already set
07-05 10:12:43.350     0     0 E @4 init : Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:1350: Read-only property was already set
07-05 10:12:49.873  1098  1363 I ActivityManager: Start proc 3507:com.qualcomm.qcrilmsgtunnel/1001 for broadcast {com.qualcomm.qcrilmsgtunnel/com.qualcomm.qcrilmsgtunnel.QcrilMsgTunnelAutoboot}
07-05 10:12:49.874  3507  3507 I chatty  : uid=1001(radio) com.qualcomm.qcrilmsgtunnel expire 34 lines
 

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
hope it will help.
If not, I have to check how to get the whole dmesg or how to create a boot log.

Code:
OnePlus7Pro:/ # dmesg | grep -i ril
[    0.998108] spcom: spcom_init: spcom driver version 2.1 23-April-2018.
[    1.171465] [    1.171463]@7 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    3.249758] [    3.249757]@5 init: Parsing file /vendor/etc/init/init-qcril-data.rc...
[    3.251657] [    3.251655]@5 init: Parsing file /vendor/etc/init/qcrild.rc...
[    7.029025] [    7.029022]@7 init: Command 'copy /vendor/radio/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:396) took 0ms and failed: Could not read input file '/vendor/radio/qcril_database/qcrilNr.db': open() failed: No such file or directory
[ 7.029109] [ 7.029108]@7 init: Command 'copy /vendor/etc/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:397) took 0ms and failed: Could not read input file '/vendor/etc/qcril_database/qcrilNr.db': open() failed: No such file or directory
[    9.005531] [    9.005525]@0 init: Unable to set property 'ctl.stop' from uid:0 gid:0 pid:1230: Invalid permissions to perform 'stop' on 'ril-daemon'
[    9.029602] [    9.029594]@0 type=1107 audit(1625471804.790:93): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$ril-daemon pid=1230 uid=0 gid=0 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service permissive=0'
[    9.148908] [    9.148906]@7 init: Control message: Could not find 'vendor.ril-daemon' for ctl.stop from pid: 1237 (stop vendor.ril-daemon)
[    9.171364] [    9.171362]@6 init: starting service 'vendor.qcrild'...
[    9.186508] [    9.186506]@4 init: Control message: Processed ctl.start for 'vendor.qcrild' from pid: 1353 (start vendor.qcrild)
[    9.223366] [    9.223364]@7 init: starting service 'vendor.qcrild2'...
[    9.226031] [    9.226029]@7 init: Control message: Processed ctl.start for 'vendor.qcrild2' from pid: 1372 (start vendor.qcrild2)
[    9.410942] [    9.410939]@7 init: processing action (ro.vendor.ril.mbn_copy_completed=1) from (/vendor/etc/init/hw/init.qcom.rc:782)
[   12.257865] [   12.257862]@5 type=1400 audit(1625471808.040:94): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257916] [   12.257915]@5 type=1400 audit(1625471808.040:95): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257943] [   12.257942]@5 type=1400 audit(1625471808.040:96): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   12.257967] [   12.257965]@5 type=1400 audit(1625471808.040:97): avc: denied { read } for comm="rild" name="u:object_r:default_prop:s0" dev="tmpfs" ino=24041 scontext=u:r:rild:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
[   14.545890] [   14.545888]@7 init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:1360: Read-only property was already set
[ 14.546464] [ 14.546462]@6 init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:1360: Read-only property was already set

Code:
    OnePlus7Pro:/ # ls -la /vendor/radio/qcril_database/qcrilNr.db
    ls: /vendor/radio/qcril_database/qcrilNr.db: No such file or directory

Code:
1|OnePlus7Pro:/ # ls -la /vendor/radio/qcril_database                                                                                                                                                                                                            
total 136
drwxr-xr-x 3 root shell   4096 2009-01-01 01:00 .
drwxr-xr-x 3 root shell   4096 2009-01-01 01:00 ..
-rw-r--r-- 1 root root  126976 2009-01-01 01:00 qcril.db
drwxr-xr-x 2 root shell 4096 2009-01-01 01:00 upgrade

Code:
logcat ...

11-07 23:10:37.902     0     0 I @5 init : Command 'copy /vendor/radio/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:396) took 0ms and failed: Could not read input file '/vendor/radio/qcril_database/qcrilNr.db': open() failed: No such file or directory
11-07 23:10:37.902     0     0 I @5 init : Command 'copy /vendor/etc/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:397) took 0ms and failed: Could not read input file '/vendor/etc/qcril_database/qcrilNr.db': open() failed: No such file or directory
07-05 10:12:37.869     0     0 E @2 init : Unable to set property 'ctl.stop' from uid:0 gid:0 pid:1276: Invalid permissions to perform 'stop' on 'ril-daemon'
07-05 10:12:37.952     0     0 E @4 init : Control message: Could not find 'vendor.ril-daemon' for ctl.stop from pid: 1315 (stop vendor.ril-daemon)
07-05 10:12:37.974     0     0 I @4 init : starting service 'vendor.qcrild'...
07-05 10:12:37.979     0     0 I @4 init : Control message: Processed ctl.start for 'vendor.qcrild' from pid: 1341 (start vendor.qcrild)
07-05 10:12:38.022     0     0 I @5 init : starting service 'vendor.qcrild2'...
07-05 10:12:38.027     0     0 I @5 init : Control message: Processed ctl.start for 'vendor.qcrild2' from pid: 1369 (start vendor.qcrild2)
07-05 10:12:38.276     0     0 I init    : processing action (ro.vendor.ril.mbn_copy_completed=1) from (/vendor/etc/init/hw/init.qcom.rc:782)
07-05 10:12:40.750  1098  1549 I SystemServerTimingAsync: InitThreadPoolExec:Update app-ops uidState in case package com.qualcomm.qcrilmsgtunnel changed
07-05 10:12:41.087  1098  1098 V StorageManagerService: Package com.qualcomm.qcrilmsgtunnel does not have legacy storage
07-05 10:12:43.349     0     0 E @7 init : Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:1350: Read-only property was already set
07-05 10:12:43.350     0     0 E @4 init : Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:1350: Read-only property was already set
07-05 10:12:49.873  1098  1363 I ActivityManager: Start proc 3507:com.qualcomm.qcrilmsgtunnel/1001 for broadcast {com.qualcomm.qcrilmsgtunnel/com.qualcomm.qcrilmsgtunnel.QcrilMsgTunnelAutoboot}
07-05 10:12:49.874  3507  3507 I chatty  : uid=1001(radio) com.qualcomm.qcrilmsgtunnel expire 34 lines
Sorry but I'm not interested in partial logs. If you don't want to upload full logs then fix it yourself.
 
Then your RIL is not generating these files for some reason, post boot log + dmesg.
Same output for me; an empty folder. I'm also on the EU model GM1913
I also just noticed all my sensors are "broken" (mainly because adaptive brightness didn't work, verified with an app that there is no accel/gyro/magnet etc)

Here are dmesg and logcat from a safemode boot, the random mac that was assigned in About Phone is c0:ee:fb:5f:54:43
 

Attachments

  • logs.zip
    217.1 KB · Views: 5

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
Same output for me; an empty folder. I'm also on the EU model GM1913
I also just noticed all my sensors are "broken" (mainly because adaptive brightness didn't work, verified with an app that there is no accel/gyro/magnet etc)

Here are dmesg and logcat from a safemode boot, the random mac that was assigned in About Phone is c0:ee:fb:5f:54:43
Run restorecon -RF /mnt/vendor/persist as root (in android), that should fix sensors.
 
  • Love
Reactions: EkriirkE

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
Oh **** that worked, thanks!
The logs weren't attaching previously I zipped and attached them to that post


Also, my wifi mac just changed all digits instead of the last 3. I'm going to fiddle and see if it persists between boots and connections
Redo your logs now that you have proper persist labels.
( if your WLAN MAC is still not correct )
 
Redo your logs now that you have proper persist labels.
( if your WLAN MAC is still not correct )
ls -laZ /data/vendor/oemnvitems still returns an empty folder, however the MAC persists between reboots and toggling private/device.
The MAC is not my original mac but I'm fine with this as long as it persists. Vendor lookup shows its still OnePlus (98:09:cf:xx:xx:xx) vs my old one (c0:ee:fb:xx:xx:xx).
ifconfig hw ether also works temporarily where it didnt before


New logs here
 

Attachments

  • logs2.zip
    159.8 KB · Views: 2

LuK1337

Recognized Developer
Jan 18, 2013
8,941
18,139
Samsung Galaxy S III I9300
Moto G 2014
ls -laZ /data/vendor/oemnvitems still returns an empty folder, however the MAC persists between reboots and toggling private/device.
The MAC is not my original mac but I'm fine with this as long as it persists. Vendor lookup shows its still OnePlus (98:09:cf:xx:xx:xx) vs my old one (c0:ee:fb:xx:xx:xx).
ifconfig hw ether also works temporarily where it didnt before


New logs here
This is just dmesg... Where's the logcat?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions :
    Downloads :
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
    16
    FYI, next week you'll get the first official 18.1 build.
    Follow official installation instructions on https://wiki.lineageos.org for upgrade/install and https://gist.github.com/luk1337/6c18b1910fa38292f2d5fbd3df47fd91 for firmware update as OOS 11 FW is needed.
    8
    Hello LuK
    First of all thanks for your work, I appreciate it. I was just wondering when will you start working on Android 12 and when can we expect initial build ✌️
    Keep wondering.
    7
    As someone who doesn't have that much experience in flashing, it' not a rhetorical question for me. Do I understand it correctly that the FW update is not necessary when updating from 17.1 to 18.1, since there is no information about it in the corresponding instructions in the wiki?
    It is a rhetorical question. I clearly said that OOS 11 firmware is needed; you wouldn't be running OOS 11 firmware on Lineage 17.1, would you? Also I'll update wiki warning when first build is out.