wifi constant suspend and resume, leading to erratic connection, and battery drain

Do you have wifi issues discussed in this thread?

  • Yes

    Votes: 71 65.7%
  • No

    Votes: 37 34.3%

  • Total voters
    108

devsk

Senior Member
Dec 14, 2008
1,854
695
133
Update: Sept 28, 2016 - I have uploaded my kernel ZIP for 1.91 US Unlocked variant. This is a stock kernel patched by me to reduce the wifi drain. The patch and the kernel config changes are also attached. Note that these changes are with respect to the stock kernel. So, use stock kernel to build this change. Many kernels floating around here use different kernel config than stock e.g. HZ=100 is standard in HTC stock kernel but its different in many kernels here.

-------------------------------
For the poll, to confirm you have this issue: Best is to be stock ROM without root and run the commands in post #4 at http://forum.xda-developers.com/showpost.php?p=67184793&postcount=4 using 'adb shell'. Also if possible follow the diagnostics in post #135 at http://forum.xda-developers.com/showpost.php?p=67429554&postcount=135.

If you vote NO, please do provide information (like the output of commands). Please do not attach battery stats or battery usage screenshots.

Update: Jul 23, '16

Attached the Ex 0.10 modified to optimize wlan wakeups. I have restored the DHD OOB wakes to avoid missing some of the async updates over wifi.

Edit: Jul 17, '16

I am attaching the test kernel ZIP (its based on flar2's 0.09 kernel for HTC 10) and the script which you need to run to collect some stats before and after applying the fixed kernel. You can refer to post http://forum.xda-developers.com/showpost.php?p=67594118&postcount=267 for details on the ZIP and http://forum.xda-developers.com/showpost.php?p=67595029&postcount=271 for details on the script.

--------------------------- Original Post Follows ------------------------------
The wifi drains the battery much faster than the LTE, although I have a better signal for the wifi. I see these messages repeated every 1-2 seconds from stock kernel:
Code:
[  8348.647538013/      0xbc09507e74] DBG1:msm_pcie_pm_control: PCIe: RC0: pm_opt:1;busnr:1;options:0
[  8348.647667232/      0xbc09508816] DBG1:msm_pcie_pm_control: User of RC0 requests to resume the link
[  8348.647689940/      0xbc095089cb] ERR:msm_pcie_pm_resume: RC0: entry
[  8348.647893169/      0xbc09509908] ERR:msm_pcie_enable: RC0: entry
[  8348.647937857/      0xbc09509c63] INFO:msm_pcie_enable: PCIe: Assert the reset of endpoint of RC0.
[  8348.649170513/      0xbc0950f8df] DBG1:msm_pcie_vreg_init: RC0: entry
[  8348.649604107/      0xbc0951195b] DBG1:msm_pcie_vreg_init: RC0: exit
[  8348.649655773/      0xbc09511d3a] DBG1:msm_pcie_clk_init: RC0: entry
[  8348.649809628/      0xbc095128c4] DBG1:msm_pcie_clk_init: PCIe: requesting bus vote for RC0
[  8348.651178846/      0xbc09518f76] DBG1:msm_pcie_clk_init: RC0: exit
[  8348.651267284/      0xbc09519617] DBG1:pcie_phy_init: RC0: Initializing 14nm QMP phy - 19.2MHz with Common Mode Clock (SSC ON)
[  8348.652631815/      0xbc0951fc78] DBG1:msm_pcie_pipe_clk_init: RC0: entry
[  8348.653214732/      0xbc09522827] DBG1:msm_pcie_pipe_clk_init: RC0: exit
[  8348.653241294/      0xbc09522a24] DBG1:msm_pcie_enable: RC0: waiting for phy ready...
[  8348.653266971/      0xbc09522c11] DBG1:msm_pcie_enable: RC0: number of PHY retries:0.
[  8348.653293221/      0xbc09522e09] INFO:msm_pcie_enable: PCIe RC0 PHY is ready!
[  8348.653364680/      0xbc09523366] DBG1:pcie_pcs_port_phy_init: RC0: Initializing PCIe PHY Port
[  8348.663910044/      0xbc09554a58] INFO:msm_pcie_enable: PCIe: Release the reset of endpoint of RC0.
[  8348.665250617/      0xbc0955aeda] DBG1:msm_pcie_enable: check if link is up
[  8348.692539940/      0xbc095dad94] DBG1:msm_pcie_confirm_linkup: PCIe: device ID and vender ID of RC 0 are 0x10417cb.
[  8348.692615253/      0xbc095db330] DBG1:msm_pcie_confirm_linkup: PCIe: device ID and vender ID of RC 0 are 0x10417cb.
[  8348.692638169/      0xbc095db4e9] DBG1:msm_pcie_enable: Link is up after 4 checkings
[  8348.692657701/      0xbc095db65f] INFO:msm_pcie_enable: PCIe RC0 link initialized
[  8348.692748221/      0xbc095dbd2a] DBG1:msm_pcie_config_controller: RC0
[  8348.692959628/      0xbc095dcd04] DBG1:msm_pcie_config_controller: RC's PCIE20_CAP_DEVCTRLSTATUS:0x10581f
[  8348.693029159/      0xbc095dd23b] DBG1:msm_pcie_config_link_state: RC0: ep_link_cap_offset: 0xb8
[  8348.693419055/      0xbc095def7a] DBG1:msm_pcie_enable: RC0: exit
[  8348.693434367/      0xbc095df09f] DBG1:msm_pcie_pm_resume: dev->bus->number = 0 dev->bus->primary = 0
[  8348.693457128/      0xbc095df254] DBG1:msm_pcie_pm_resume: RC0: entry of PCI framework restore state
[  8348.694266399/      0xbc095e2f07] DBG1:msm_pcie_pm_resume: RC0: exit of PCI framework restore state
[  8348.694286190/      0xbc095e3083] DBG1:msm_pcie_pm_resume: RC0: exit
[  8348.694301190/      0xbc095e31a2] DBG1:msm_pcie_pm_control: PCIe: RC0: user succeeded to resume the link.
[  8349.720218902/      0xbc0a8ac178] DBG1:msm_pcie_pm_control: PCIe: RC0: pm_opt:0;busnr:1;options:0
[  8349.720304995/      0xbc0a8ac7ec] DBG1:msm_pcie_pm_control: User of RC0 requests to suspend the link
There are quite a few problems with the frequent repetition seen above:

1. The connection is unstable. The device is suspending, resuming inside the kernel repeatedly.
2. Its eats up CPU cycles in the kernel
3. It does IO to the disk in terms of /devlog/kernel.log. The log files are rotated inside the 25MB partition (mounted at /devlog) but it results in a very frequent IO to the internal storage, which not only wears out the eMMC but burns through the battery.

If I disable wifi and use LTE only, my standby battery drain is reduced to almost 1/3rd to 1/5th. Something is seriously wrong with the driver for bcm4359 chip on this device.

This issue reported earlier lay credence to this analysis (apart from the main battery drain thread):

http://forum.xda-developers.com/verizon-htc-10/help/wifi-weirdness-cause-battery-drain-t3373425

I have tried few things:
1. Legacy DHCP client in developer options - affects only obtaining of the IP. Does not have any effect on the above issue.
2. Locked to 2.4Ghz.
3. Disable power management for wifi.
4. Power off wifi during sleep (instead of "Wifi always on during sleep" setting)
5. Try different routers.
6. Disable IPv6

None of this helps.

The question is why does the kernel driver think that the userspace is waking and suspending the wifi chip repeatedly every second? This is seen in the following:

Code:
...
[  9037.210455166/      0xbf1d4fe906] DBG1:msm_pcie_pm_control: User of RC0 requests to resume the link
[  9038.280108450/      0xbf1e894906] DBG1:msm_pcie_pm_control: User of RC0 requests to suspend the link
[  9038.889849337/      0xbf1f3beb97] DBG1:msm_pcie_pm_control: User of RC0 requests to resume the link
[  9039.960290382/      0xbf207586ab] DBG1:msm_pcie_pm_control: User of RC0 requests to suspend the link
[  9040.250087623/      0xbf20ca6d76] DBG1:msm_pcie_pm_control: User of RC0 requests to resume the link
[  9041.329882470/      0xbf2206c613] DBG1:msm_pcie_pm_control: User of RC0 requests to suspend the link
[  9045.729661962/      0xbf270fc585] DBG1:msm_pcie_pm_control: User of RC0 requests to resume the link
[  9046.830260351/      0xbf28523669] DBG1:msm_pcie_pm_control: User of RC0 requests to suspend the link
...
 

Attachments

Last edited:

devsk

Senior Member
Dec 14, 2008
1,854
695
133
I was hoping to have a kernel dev take a look and help resolve this issue. Wifi is a real issue for many folks on HTC 10. And many don't even realize that they have a problem because it mostly works, and battery drain can be attributed to other things and won't show in any of the wakelocks.

If any of you is feeling like you have the perfect wifi, post the output of the following from your adb shell, after turning wifi off, on and letting it sit for 30 seconds, and we shall see...:)

Code:
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc
Make sure you run 'adb shell' and then 'su' and then type the commands. And include the output of all commands.

Its a challenge!!
 
Last edited:
  • Like
Reactions: Aaren11

Allesa

Senior Member
Mar 9, 2012
359
148
63
I was hoping to have a kernel dev take a look and help resolve this issue. Wifi is a real issue for many folks on HTC 10. And many don't even realize that they have a problem because it mostly works, and battery drain can be attributed to other things and won't show in any of the wakelocks.

If any of you is feeling like you have the perfect wifi, post the output of the following from your adb shell, after turning wifi off, on and letting it sit for 10 seconds, and we shall see...:)

Code:
 dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc
Its a challenge!!
Definitely having worse idle drain on WiFi than LTE.. Any help would be appreciated
 
  • Like
Reactions: SiAmaze

devsk

Senior Member
Dec 14, 2008
1,854
695
133
On all other phones I have, its the other way: I get better battery with wifi on than LTE on. LTE usage eats battery worse than a stable wifi connection. So, we have a lot of scope on improving battery life on this device. Only if people cooperate. I need that debug to see how many people who think they have perfect wifi and great battery life actually have issues or no issues in the kernel driver.

C'mon, cutting pasting those 3 commands is not going to take a whole of time!! Give me the data. Once I find few people who don't have the kernel level issue, I am going to need their help in resolving this kernel issue for the rest of us.
 

devsk

Senior Member
Dec 14, 2008
1,854
695
133
Definitely having worse idle drain on WiFi than LTE.. Any help would be appreciated
The drain is not just idle. It eating battery even when the phone is being used because of constant repeated activity of suspending and resuming the wifi device. Sometimes the suspend-resume action is fast enough that you won't even notice that you did not have a connection (the status bar will never show this action that's going on in the kernel driver). Sometimes you will, but you will attribute it to other random factors (router incompatibility is most often heard) and move on.
 

wineds

Senior Member
Jun 11, 2009
347
46
0
Melbourne
I was hoping to have a kernel dev take a look and help resolve this issue. Wifi is a real issue for many folks on HTC 10. And many don't even realize that they have a problem because it mostly works, and battery drain can be attributed to other things and won't show in any of the wakelocks.

If any of you is feeling like you have the perfect wifi, post the output of the following from your adb shell, after turning wifi off, on and letting it sit for 10 seconds, and we shall see...:)

Code:
 dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc
Its a challenge!!
So we just start an adb shell? then logcat?
 

devsk

Senior Member
Dec 14, 2008
1,854
695
133
So we just start an adb shell? then logcat?
You start an adb shell, su and then run the commands above (copy paste them), and post the output. 'su' is needed to be run because it looks like 'dmesg' is only allowed for root users.
 

wineds

Senior Member
Jun 11, 2009
347
46
0
Melbourne
You start an adb shell, su and then run the commands above (copy paste them), and post the output. 'su' is needed to be run because it looks like 'dmesg' is only allowed for root users.
OK I did that this morning but I get no output. I am suspicious though about the wifi as the battery drain overnight seems higher than it should be. Maybe the issue is router dependent? I may try again at home tonight...
 
Last edited:
  • Like
Reactions: Johnny424

devsk

Senior Member
Dec 14, 2008
1,854
695
133
OK I did that this morning but I get no output. I am suspicious though about the wifi as the battery drain overnight seems higher than it should be. Maybe the issue is router dependent? I may try again at home tonight...
did you run the commands "after turning wifi off, on and letting it sit for 10 seconds"...may be wait a little longer than 10 seconds.

But the absence of that kernel print with wifi on is a sign that your phone may not be affected by the issue, which is good (for you for sure...;)) for us because we can find what differences do you have with respect to my system.
 
  • Like
Reactions: Johnny424

Haldi4803

Senior Member
Oct 14, 2010
3,838
1,563
113
If any of you is feeling like you have the perfect wifi, post the output of the following from your adb shell, after turning wifi off, on and letting it sit for 10 seconds, and we shall see...:)

Code:
 dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc
Its a challenge!!
Okay...
So this is a WiFi off (scanning for Location WiFi on)

Code:
# /system/bin/sh
[email protected]_pmeuhl:/storage/emulated/0 # su
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[75350.355991] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75350.982712] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75352.002864] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75352.518298] c0   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75360.752206] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75362.172492] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75363.532963] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75366.504809] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75369.602537] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75372.803075] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[75463.544043] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75472.583618] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75475.623316] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75477.582817] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75485.823576] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75487.772923] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75492.333768] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75493.893509] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75499.911546] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75523.222939] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc   <
And that's WiFi on connected but watching an offline movie.

Code:
# /system/bin/sh
[email protected]_pmeuhl:/storage/emulated/0 # su
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[76384.892314] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76387.961749] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76391.283434] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76392.812157] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76394.075350] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76397.122901] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76400.213614] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76403.283153] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76406.382677] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76409.485018] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[76666.974614] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76670.383413] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76673.133758] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76677.362763] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76679.232126] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76682.292714] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76686.412305] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76689.144119] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76691.521813] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76694.464682] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc   <
On 1.55.709.5 Rom
Stock Kernel.
 
  • Like
Reactions: devsk

devsk

Senior Member
Dec 14, 2008
1,854
695
133
Okay...
So this is a WiFi off (scanning for Location WiFi on)

Code:
# /system/bin/sh
[email protected]_pmeuhl:/storage/emulated/0 # su
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[75350.355991] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75350.982712] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75352.002864] c1   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75352.518298] c0   2066 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75360.752206] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75362.172492] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75363.532963] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75366.504809] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75369.602537] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75372.803075] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[75463.544043] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75472.583618] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75475.623316] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75477.582817] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75485.823576] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75487.772923] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75492.333768] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75493.893509] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75499.911546] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[75523.222939] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc   <
And that's WiFi on connected but watching an offline movie.

Code:
# /system/bin/sh
[email protected]_pmeuhl:/storage/emulated/0 # su
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[76384.892314] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76387.961749] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76391.283434] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76392.812157] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76394.075350] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76397.122901] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76400.213614] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76403.283153] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76406.382677] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76409.485018] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[76666.974614] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76670.383413] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76673.133758] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76677.362763] c3    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76679.232126] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76682.292714] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76686.412305] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76689.144119] c2    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76691.521813] c1    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[76694.464682] c0    457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc   <
On 1.55.709.5 Rom
Stock Kernel.
Although, you forgot to press enter or forgot to cut&paste the output of last 'wc' command, its OK. I get the gist of your output. You are suffering from poor battery on wifi. If you can afford to switch wifi off and use only mobile data, your battery life will improve. May be try that for couple of days. I have been on data with wifi off with 1 hr SOT in 21 hours off the charger and have lost only 16% of battery so far. I will likely end up with 2-3 days off the charger with 3-4 hour of SOT with this kind of usage (this is my typical usage when I am busy with work and not have much time to play games etc.).

I need volunteers who have a good wifi without this issue to get hold of the problem and fix it. Folks: contribute.
 

wineds

Senior Member
Jun 11, 2009
347
46
0
Melbourne
Looks like I also have it on 155.709.5? Could it possibly be because we all used sunshine 3.38 with the kernel bug? viz :

C:\adb>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]_pmeuhl:/ $ su
|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[109738.341809] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109744.891913] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109752.621963] c3 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109753.731904] c2 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109756.112093] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109759.671772] c3 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109763.211889] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109765.361958] c2 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109767.471854] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109769.831952] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[109935.272358] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109938.352208] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109941.292396] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109944.162030] c2 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109949.761189] c2 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109953.001345] c3 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109955.642066] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109961.882361] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109964.191861] c3 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[109967.191132] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc <
76 608 5852
 

StilsonCanyon

Senior Member
Apr 13, 2015
193
102
0
Okay, I'm a noob. I haven't used adb before, so if I can get some more help on the steps to run the commands, I'll do my best.

Here's what I've done so far: install Android SDK tools, enabled Developer Options + USB debugging on my phone, run "adb devices" and I see my phone listed as a "device".

My next thought was to connect to it using "adb connect <deviceid>" and I get: "unable to connect to HT64MBN01322:5555: cannot resolve host 'HT64MBN01322' and port 5555: No such host is known."

My 10 is an unlocked US model.

Help?
 

Genetic517

Senior Member
Nov 2, 2011
1,064
274
0
@devsk See my attached pic. i suppose i could have just pasted it but here you go. if its showing anything that means i have the wifi bug as well? ive been getting pretty great battery life and i always keep wifi on.... running 1.53 firmware, on viper 1.3.
 

Attachments

Last edited:

Haldi4803

Senior Member
Oct 14, 2010
3,838
1,563
113
Although, you forgot to press enter or forgot to cut&paste the output of last 'wc' command, its OK. I get the gist of your output.
Used Script Manager included Shell and not Android terminal.
That thing sometimes seems to have problems with multiple lines and copy paste.

The Problem is, if I turn off WiFi I also need to turn off Location search via WiFi. Which makes finding myself on the map take years.
And im now in Manila, 4g coverage is horrible and the 3g net is sooooooo slow ~.~



Looks like I also have it on 155.709.5? Could it possibly be because we all used sunshine 3.38 with the kernel bug?
Never used Sunshine. Still on S-On.
 
  • Like
Reactions: wineds

reihead

Member
Feb 22, 2015
12
0
0
WIFI OFF

[69385.550657] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[69400.289648] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[69422.250698] c2 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[69442.250462] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[69445.780901] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[69462.260685] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received


WIFI ON


[70324.740258] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70334.611773] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70341.771470] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70347.310141] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70351.733274] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70358.881960] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70368.853790] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70376.020336] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70380.761847] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70385.984401] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70764.921877] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70771.100311] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70783.971123] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70790.130462] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70803.003465] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70809.171981] c1 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70822.053654] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70828.211792] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70841.100315] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[70847.250514] c0 458 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received


On 1.53.771.6
Stock Kernel.