Jump to content

LineageOS, Current status : 16.0 Test Builds


Recommended Posts

7 hours ago, Wheeljack said:

I see a lot of disconnects/reconnects with my WiFi as well. It's even happening while watching a YouTube video. Could this also be aggressive switching between 2.4 and 5GHz?

Edit: I'm also getting a message to please disable airplane mode on my first call attempt after waking my phone.

So, interesting test, can you make your wpa_supplicant_overlay.conf match this? https://github.com/LineageOS/android_device_motorola_nash/blob/lineage-17.1/wifi/wpa_supplicant_overlay.conf

 

See if that helps anything.

Link to post
Share on other sites
  • Replies 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Alright it's officially official. Now we wait for the first build. I don't know what day that will be, but it will be within 7 days.   https://github.com/LineageOS/hudson/commit/0233cb5e039e

I am pleased to announce test builds for LineageOS 16.0.   Please note this thread is for test builds.  These builds are not necessarily stable or suitable for daily use.   You can

Hey all, it's been a while since I've been here so I wanted to pop in and give an update.   I live in Seattle, which has been under stay-at-home orders for over two weeks and will continue u

Posted Images

8 hours ago, EskeRahn said:

Despite the more aggressive power management, to my surprise the Test21 is substantially MORE power-hungry than Test20?!? see below from 3C All-in-one toolbox. (It looks similar on the rooted) - note also the x on the WiFi, Mobile data,  the screen dump is taken shortly after unlocking with fingerprint.
Roughly at ratio 7:4 or a factor 175%

And no, there aren't additional stuff running. I checked with Greenify and Android Assistant and only a few user and system apps I explicitly have white-listed are running

LieneageTest20vs21.png

This screenshot makes me think you have a persistent VPN (blockada or similar?) can you try without that? Recent QCACLD merge may be the issue - I've heard of issues with persistent VPN's after that.

Link to post
Share on other sites
1 minute ago, npjohnson said:

This screenshot makes me think you have a persistent VPN (blockada or similar?) can you try without that? Recent QCACLD merge may be the issue - I've heard of issues with persistent VPN's after that.

Well I have NetGuard active all the time, It will be a show stopper for Lineage for me if that no longer works.

Link to post
Share on other sites
4 minutes ago, npjohnson said:

This screenshot makes me think you have a persistent VPN (blockada or similar?) can you try without that? Recent QCACLD merge may be the issue - I've heard of issues with persistent VPN's after that.

Please take a look at the kernel history on my github.  There was no rebase between test20 and test21 so the kernel history is linear and both tags appear in a simple log.  The qcacld merge was complete for test20.

 

  • Thanks 1
Link to post
Share on other sites
2 minutes ago, EskeRahn said:

Well I have NetGuard active all the time, It will be a show stopper for Lineage for me if that no longer works.

I understand - I want to get it working - I'm asking purely for testing purposes.

 

If you can't I likely can try some stuff today.

Edited by npjohnson
Link to post
Share on other sites
13 minutes ago, npjohnson said:

I understand - I want to get it working - I'm asking purely for testing purposes.

 

If you can't I likely can try some stuff today.

Well to give you some valid data I would have to flash a phone with Test20, without the VPN, wait a day or so, and then flash Test21, wait a day or so...

So it will clearly be faster to see if someone else without VPN have a battery monitor installed, and see the same difference switching from Test20 to Test21.

Link to post
Share on other sites
31 minutes ago, EskeRahn said:

Well to give you some valid data I would have to flash a phone with Test20, without the VPN, wait a day or so, and then flash Test21, wait a day or so...

So it will clearly be faster to see if someone else without VPN have a battery monitor installed, and see the same difference switching from Test20 to Test21.

Additionally, can we get your greenify stats?

Link to post
Share on other sites
2 hours ago, tdm said:

I'm going to go over Ethan's changes today. My first thought is to remove all the power related changes and just take the cleanup changes until we test more thoroughly. I'll post later after I discuss with him.

Actually, scratch that.  I've got other stuff I need to do today and Nolen just received his Pro1 an hour ago.  So I'll let him have a go at this for a while.  He's already got several things fixed, including fixing the display density, enabling the camera button by default, and fixing the fingerprint location image in the setup wizard.  He should be able to track down the WiFi and power issues also.

 

  • Thanks 2
Link to post
Share on other sites
4 minutes ago, EskeRahn said:

Sure, how do I pull those?

I suppose whatever compilation of data between the app you screenshotted and greenify that provides:

- percentage drain over time

- Suspend time

- Wake-locks

- And anything else you think might be of pertitnence

Link to post
Share on other sites
Just now, npjohnson said:

I suppose whatever compilation of data between the app you screenshotted and greenify that provides:

- percentage drain over time

- Suspend time

- Wake-locks

- And anything else you think might be of pertitnence

I have no idea how to pull that info. At best I can give you what GSAM can tell...

Screenshot_20200715-185531_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185550_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185558_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185611_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185621_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185628_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185501_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185445_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185450_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185509_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185516_GSam_Battery_Monitor_Pro.png

Screenshot_20200715-185524_GSam_Battery_Monitor_Pro.png

Link to post
Share on other sites
2 hours ago, npjohnson said:

So, interesting test, can you make your wpa_supplicant_overlay.conf match this? https://github.com/LineageOS/android_device_motorola_nash/blob/lineage-17.1/wifi/wpa_supplicant_overlay.conf

 

See if that helps anything.

Could you point me to the directory where this file is supposed to be on my phone please? 😅

Edit: okay... found it in /vendor/etc/wifi

Okay... added 6 lines since the first 3 were already there. Rebooted and checked, if the modification was still there. Will keep an eye on WiFi behavior.

Edit 2: So WiFi is now indeed way more stable for me. I have yet to see the WiFi symbol with an X and mobile data activating LTE. There were still a few hiccups with youtube though briefly showing offline/reconnected during playback.

Edited by Wheeljack
Link to post
Share on other sites

Nobody said anything about test20 having any issues, but it also had the qcacld merge (the WiFi driver update in the kernel).  I'm wondering if someone could download and flash the test19 and test20 boot images and see how they work with the test21 build.

 

Link to post
Share on other sites
56 minutes ago, tdm said:

Nobody said anything about test20 having any issues, but it also had the qcacld merge (the WiFi driver update in the kernel).  I'm wondering if someone could download and flash the test19 and test20 boot images and see how they work with the test21 build.

I saw no substantial differences going from 19 to 20, but did from 20 to 21.

  • Like 1
Link to post
Share on other sites
26 minutes ago, EskeRahn said:

I saw no substantial differences going from 19 to 20, but did from 20 to 21.

Good to know, thank you.  That implies that the qcacld updates are fine and it is Ethan's power stuff that is causing problems.  On the other hand, @npjohnson is seeing the WiFi stabilize when he takes test21 and backs out the qcacld updates.  So the culprit is still not entirely clear.  Unless perhaps both are causing issues...?

 

Edited by tdm
Link to post
Share on other sites

FYI ... for better/quicker battery drain info, look at this file:

 

/sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-02/800f000.qcom,spmi:qcom,pmi8998@2:qpnp,fg/power_supply/bms/charge_now_raw

 

I'm not sure what the units are, but I'm charging my battery to 100% now to get an idea.  It's roughly one million at 52% charge.

 

You can check that value, do something to test (like leave the phone to sleep) for about 10 to 30 minutes, then check the value again.  Divide by the seconds elapsed and you have a drain rate.  You could even script it.

 

Edit: the value maxes out at 2499526 on my device. So that's roughly 793 per mAh. Yours may or may not be different.

 

 

Edited by tdm
  • Like 2
Link to post
Share on other sites

As for GitHub issues, we probably should have a single keyboard issues metabug. I've noticed several issues with the current state of the hw kbd support, some of them are scattered across several issues, some not reported yet

  • no way to turn off autocapitalization
  • fn isn't sticky (but probably should)
  • double shift acts as caps lock (but shouldn't, because we have a hw caps lock key)
  • custom keymaps are broken under LineageOS: fn & alt are not respected. For instance, if the kcm maps alt+e/fn+e to ę, the sign ´ will be emitted anyway
  • alt opens an emoji drawer (it's wrong, the keyboard label is fn+alt)
  • currently alt acts as compose, but this probably should be configurable (for instance: alt for diacritic signs, super for compose)

I'm willing to help if you guide me where to start hacking 🙂

Edited by marmistrz
Link to post
Share on other sites
21 minutes ago, marmistrz said:

 

  • shift is sticky (but shouldn't, because we have a hw caps lock key)

For me it is sticky for one character after pressing shift. I think this is perfect for reaching the character you want and it should stay like that. That's also how it has been with LineageOS on the Droid4

  • Like 2
Link to post
Share on other sites
39 minutes ago, dicer said:

For me it is sticky for one character after pressing shift. I think this is perfect for reaching the character you want and it should stay like that. That's also how it has been with LineageOS on the Droid4

Oh, I meant double shift as caps lock. I'll edit my post.

  • Thanks 1
Link to post
Share on other sites

Sorry for the big delay between my updates:

after taking the phone off the charger last night, it was not connected to WiFi and mobile again and it took on the same behaviour as before the changes to wpa_supplicant_overlay.conf.

After turning on the phone this morning, WiFi was still spotty, so I tried flashing the the test19.img bootloader as suggested. Phone wouldn't start at all. Went back to test21.img and I'm relieved nothing is broken 😅

Now waiting for test22.

Link to post
Share on other sites

Test21: Something weird is definetly going on with the WLAN connectivity. I don't have a SIM card in my Pro1 yet, so I'm only connected via WLAN. I setup the phone on test20, then did some tests (all fine) including having the phone in standby for ~4 hours and waking it up again. All good. Now on test21, after having the phone in standby for 4 hours and waking it up again it was connected to an open WLAN that has a worse signal strength than my own and I have never been connected to that network.

Once I opened WLAN settings I had to disconnect from that open WLAN and connect to my own. Once that was done, I pressed the home button, the settings screen disappeared and the WLAN symbol disappeared as well. Upon opening WLAN settings again, I saw that I was disconnected. After connecting again, I switched over to Firefox and began browsing through news.google.com, clicked an article and right at that moment my WLAN was disconnected again.

 

As for power usage, I used the app "AccuBattery". It splits into several categories (screen on, screen off, deep sleep and discharge speed in %/hour for screen on and screen off).

Power usage with screen off is definetly lower in Test 21 with 0.3%/hour, while Test 20 had 0.5%/hour - this may be due to Wifi shenangians, by which I mean that being connected to a WLAN that has no internet access probably results in less power drawn and the phone may also have been disconnected entirely for some time while it was in deep sleep.

Power usage with screen on is nearly twice as high though for Test21 with 21.8%/hour while Test20 had 12.4%/hour

 

These values were obtained over a 5 hour time window in both cases with similiar uses (if anything I used test20 more because I may have fallen victim to the ol' reddit trap for a few minutes): Youtube in Firefox for ~1:30 minute, browsing the internet (just things like reddit, news.google.com, imgur...) for ~5 minutes, letting the phone sleep for 4 hours and then repeating the previous steps.

Edited by SteffenWi
  • Thanks 2
Link to post
Share on other sites

For what it's worth, I am just not seeing any problems with wifi connectivity and, although I am speaking anecdotally as I don't do much real battery monitoring, I am not noticing any unusual power drain.  I am using Test21. I am in the US with a Qwerty model on the off chance that might make a difference.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Terms