yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] GuestK0087:
Greetings,

Thank you for using XDA Assist.

To best assist you with your issue, I'm going to move this thread to your device's Q&A section. You should receive expert advice there. Good luck!
[Moto G4 Plus Questions & Answers] trsix:
Coming from a Nexus 5.

Happy with the 4g after a week.

Much better battery life.

I unlocked the Moto yesterday.

I have a few questions.

Want to have more control over the phone.

1. If i root the phone and install twrp i won't be able to get 7.0 when they release it for this phone?

Unless i flash a factory image? If thats the case does my phone have to be unlocked and unrooted again?
[Moto G4 Plus Questions & Answers] Mercado_Negro:
You'll need an unmodified system partition, i.e. the root method should be systemless and don't let TWRP modify it, and you'll also need the stock recovery.
[Moto G4 Plus Questions & Answers] gabriwinter:
This is what I do:

I install twrp + magisk + systemless root + systemless xposed

When a new OTA arrives I flash stock boot + stock recovery. Then I take the OTA

Then I reflash twrp , backup boot and reflash magisk + systemless root + systemless xposed

The only 2 partitions modified are recovery and boot all the rest is stock.

Subsequent OTAS -> resotore boot, flash stock recovery, take OTA + reflash twrp, backup boot, reflash magisk + systemless root + systemless xposed
[Moto G4 Plus Questions & Answers] trsix:
one more question

So if i'm not worried about ota's

Can i just flash twrp and supersu

Then flash whatever rom's the dev's come up with using twrp as i did with my nexus 5?

Thanks again
[Moto G4 Plus Questions & Answers] Mercado_Negro:
Yes
[XDA Assist] Tylerlee15:
I tried to replace kingroot with super user. And super user was acting funny so I deleted it and now my tablet is stuck in a boot loop. Is there any ROM available because I never backed my device up please help. My device is soft bricked :crying:
[XDA Assist] GuestK0087:
Greetings,

Thank you for using XDA Assist.

Please consider posting your question here:

http://xdaforums.com/android/help

You will receive expert advice there.

Good luck!
[8525, TyTN, MDA Vario II, JasJam General] dave36data:
I know there this is probally a big problem with most people and i know it is wilth me. I have just bought a O2 xda trion and on my old phone (t-mobile MDA vario 2) i changed in the setting, what to do when you press the X button. But i can't seem to find it now.

Does anyone know what i mean and also have help with my problem.

Thanks
[8525, TyTN, MDA Vario II, JasJam General] ss1271:
is it click X button automatically, i mean out of your control?
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] bjones7134:
So WTF? Is this what we have to deal with from now on. Why can't I go back to Lolipop if it came with it, if I want? Now I am stuck on 1 and only version of an OS with no way back. Is everyone going this direction, or who are the companies to look at, because I think my Note 4 will be my last in a long line of Samsung products. 1:mad:
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] Pinan:
You can. Read the forums. It's been answered many times.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] bigmain2015:
Check your messages
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] bjones7134:
Not in any forum on the web I found has worked since EPG2.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] bigmain2015:
I'm sorry bout that bro, I ment to send that to [MENTION=3825617]Pinan[/MENTION]
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] Pinan:
Simply search using "Downgrade" in the title, in the first two forums, in this (T-Mo Gal. Note 4) forum.

Note. You did not say what phone you have. n910t, n910t3......etc.

Yes. It can be done easily (N910T). I went all the way back to KitKat, from EPG2.

BigMain: I didn't get a message from you.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] bjones7134:
910T3, since upgrading to 6.0.1, the bootloader is locked and no way to install any version that came prior anymore.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] Pinan:
Putting that in your first post would have helped greatly.

N910T, Yes. N910T3, No
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] pvsgh:
You can still install DOK2 on T3, but Wifi, Wifi Calling and NFC will not work
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] cwbcwb:
im on n910t epe3 how do i downgrade to lollipop thanks for any help
[HTC 10 Questions & Answers] Kontal:
Hi, does anyone know what this wakelock is and how can i stop it? As you can see the app does not see it as a big problem because of 16s time bit number of wakeups is worrying - more than 4000..
[HTC 10 Questions & Answers] Haldi4803:
You hardly find anything about that on the internet :(
[HTC 10 Questions & Answers] Kontal:
Yeah, i hardly found anything about it too. But i was hoping somebody was dealing with similiar wakelock. :(
[HTC 10 Questions & Answers] scottspa74:
What is that, German, or Russian, Maybe? This phone has the most phenomenal battery life I've ever experienced. Wish i could help. American version on sprint CDMA network.
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
looks like polish, russian would be with cyrrilic letters and german looks different too ;)

i have about the same amount of battery stats wakelock....i also think it could be the culprit for my not so good battery life
[HTC 10 Questions & Answers] Kontal:
Yes, Polish T-Mobile model :) I really do not know what to do this with this wakelock. Maybe it's because of some app ? (I have BBS installed nonroot with adb) But then again if I uninstall this app then i don't know if I solved the wakelock :( Did you tried factory reset DeeZZ_NuuZZ?
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
yea, when i switched the rom :D

i also don't know...
[HTC 10 Questions & Answers] Kontal:
:D

Before and after switching ROM you have this wakelock? Because i would try factory reset but I don't like it that i have to install all apps, choose all the right setting and in the end it doesn't solve the problem.
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
yea is the same

i might delete data of gsam and bbs and remove them and reboot the phone
[HTC 10 Questions & Answers] Haldi4803:
Probably not.

They are most of the time not responsible for the Wakelocks but the first thing that's happening After awakening.

Also EVERYONE has them! No kidding!

You can have a factory Reset phone without Google account and you won't get rid of them ;)

You can see it here:

http://xdaforums.com/showthread.php?p=68929720
[HTC 10 Questions & Answers] Kontal:
Is it safe to block them in amplify? Or should I leave then untouched?
[HTC 10 Questions & Answers] Haldi4803:
Power Nap [Xposed Module] also blocks them. But it doesn't matter. Because they do not wake the phone, they happen when the phone gets awaken by something else.

Check this out (With Power Nap enabled and What's app excluded)

As you can see, almost no Userspace Wakelocks:

As always Google Services is the only thing you simply cannot shut up, no matter what :(

But yeah, the Problem is on the Kernel Level....

You see a Normal Wake due to an UserSpace Wakelock:

And one that's happening due to Kernel:

So as long as you have these Kernel wakes, the BatteryServiceUpdateStats_3 will activate at the same time. Batterylife itself is not really affected.
[HTC 10 Questions & Answers] jbm76:
I started getting the BatteryServiceUpdateStats_3 wakelock a few days ago, tried different kernels and factory reset and no joy getting rid of it. It is affecting my battery life big time.

My phone stays awake and is draining at 7% per hour with the screen off. Lucky to be getting 7 hours of use out of it in a day with light usage...

So basically you are saying that an app is responsible for this?
[HTC 10 Questions & Answers] pettigrew95:
I have this SAME EXACT wakelock and problem. I have researched it endlessly with 0 luck at all. This has been an issue regardless of running marshmallow or N, a different kernel, a different ROM, etc. This wakelock on top of the 10's horrible WiFi makes my battery life absolutely terrible. If I can't fix this within 2 months (when I reach a year paid off on my payment plan) I am selling this phone and upgrading because the battery life it so intolerable. If someone could shed any light on this wakelock that would be awesome.
[HTC 10 Questions & Answers] AntoRei:
I have the same problem, I couldn't fine solution. Apparently is a problem only for sense rom..
[HTC 10 Questions & Answers] jbm76:
My battery life had been great before this and now it's terrible - Have any of you guys tried a RUU?
[HTC 10 Questions & Answers] jbm76:
I just dumped my battery stats in battery historian...

netlink seems to be the problem at kernel level....

No idea what to do next lol
[HTC 10 Questions & Answers] AntoRei:
I didn't take RUU, but i had a clean flash with Leedroid
[HTC 10 Questions & Answers] pettigrew95:
Keep your WiFi turned off on your 10 and watch how much you standby drain improves lol...It's a faulty WiFi setup in the 10. I don't think it's software related either. I heard it's the physical placement of the WiFi antennae from [MENTION=398245]LeeDroid[/MENTION]
[HTC 10 Questions & Answers] AntoRei:
I never use WiFi, only 3g/4g
[HTC 10 Questions & Answers] jbm76:
Did your wakelock happen out of the blue? As I said earlier my battery was quite OK before the battery stats wakelock happened.

I'm hoping its not the anntena, maybe that makes some sense...But if it is well not much can be done except for getting rid of the phone. I'm going to try a full ruu and start again from scratch. Have you tried that?

Try [MENTION=2967322]buckmarble[/MENTION] test build for the kernel that has helped a little.

https://xdaforums.com/showpost.php?p=71804083&postcount=625

I'm the same, turn WiFi off and it makes little difference to my issue.

You should try the battery historian and see if there is any differences..
[HTC 10 Questions & Answers] jbm76:
Just ran the RUU - and it appears to be doing the same thing on stock.

Seemed ok on 1.80 MM

Then when i went to my carriers latest 1.95.x & MM the UID 1000s BatteryServiceUpdateStats_3 wakelock were back.

I guess I will try some different firmwares next - still waiting on my carriers N firmware so hoping that fixes it. But not looking hopeful - looks like [MENTION=398245]LeeDroid[/MENTION] might be right about the anntena [MENTION=369398]pettigrew95[/MENTION] :(

What firmware are you guys running and rom?
[HTC 10 Questions & Answers] pettigrew95:
I am not sure if the wakelock came out of the blue. All I know is that it has always been present. Back when I was on MM and had Amplify with Xposed I was told NOT TO limit that wakelock. I can't recall why.
[HTC 10 Questions & Answers] jbm76:
God if I had xposed back I will use amplify to block it...

Might have had some luck blocking these at the kernel level - using Elite test build.

I did the wakelock blocks but when I blocked the wlan_ctrl divider & wlan_rx divider with the other wakelocks that [MENTION=2967322]buckmarble[/MENTION] added in. It has seemed to make a huge difference, after I enabled these and all the blocks I didn't lose any battery % for the 35 mins I had my screen off.

Testing my phone for the next hour - will confirm.
[HTC 10 Questions & Answers] pettigrew95:
I'm on elemental x and using the ex kernel manager, there's some wakelock block section in there for WiFi and I'm blocking them but it doesn't seem to make a difference.
[HTC 10 Questions & Answers] jbm76:
Maybe you need to use that test build I'm using and block everything. It might be a coincidence but already I'm seeing less active time in gsam. Before it was active 100% of the time.
[HTC 10 Questions & Answers] pettigrew95:
What kernel and rom are you on?
[HTC 10 Questions & Answers] jbm76:
LeeDroid r77/Elite_PME_N-04_10_2017 kernel (https://www.androidfilehost.com/?fid=457095661767152814)
[HTC 10 Questions & Answers] pettigrew95:
And what kernel app are you using to make the kernel settings?
[HTC 10 Questions & Answers] jbm76:
Exkm
[HTC 10 Questions & Answers] pettigrew95:
If you wouldn't mind could you post a screenahot of your kernel settings within the app?
[HTC 10 Questions & Answers] jbm76:
Yep it has certainly fixed my problem it seems!

Hope it fixes does for you too! - Let us know if it works...
[HTC 10 Questions & Answers] jbm76:
Everything else is stock & default what the kernel uses
[HTC 10 Questions & Answers] pettigrew95:
So what did you tweak? You left the kernel settings totally stock?
[HTC 10 Questions & Answers] jbm76:
Yep for now
[HTC 10 Questions & Answers] pettigrew95:
Any bugs with this kernel? I can't find the thread for this kernel. Thanks again.
[HTC 10 Questions & Answers] jbm76:
Nope - I've been running elite kernels for 3-4 months now and no problems.

https://xdaforums.com/htc-10/development/kernel-elite-kernel-t3391647
[HTC 10 Questions & Answers] pettigrew95:
Alright, I have the kernel you linked installed and I used EX kernel manager to change the:

wlan_ctrl divider from 1 to 8

wlan_rx divider from 1 to 8

and then in block wakelocks I blocked:

enable_wlan_wake

enable_timerfd_ws

enable_netmgr_wl_ws

enable_netlink_ws

enable_ipa_ws

Wish me luck!
[HTC 10 Questions & Answers] jbm76:
Good luck man - should know pretty quick! Let me know... Certainly worked for me..
[HTC 10 Questions & Answers] johnnyman25:
I have same problem with latest 5.9.0 viper rom with elementalX kernel.

Phone needs restart after input these settings?

HTC 10 Matte Black Power
[HTC 10 Questions & Answers] jbm76:
Using Elite kernel with some wakelock mods a few posts back is the link. Once the settings were applied I didn't reboot and they worked straight away.
[HTC 10 Questions & Answers] jbm76:
The first 6 hours today before I applied those changes I had 700,000 BatteryServicesUpdateStats_3 wakelocks - in the last 9 hours I have had only 55 wakelocks! Such a big difference.

I believe that [MENTION=4388232]ZeroInfinity[/MENTION] HelixKernel kernel should be able to block them also as it has had the mods applied too (* 834e64c drivers: wakeup: add options to disable timerfd, netlink and wlan wakelocks)
[HTC 10 Questions & Answers] pettigrew95:
So I let this run overnight with the new kernel and settings. In 7.5 hours my battery went from 100% to 83% just idling :(. Doesn't look like my problems are fixed :(
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
then it's something else. there must be an app which causes bad idle drain. hunt it with gsam battery Monitor or betterbatterystats or wakelock detector.
[HTC 10 Questions & Answers] pettigrew95:
It's the WiFi, I left it on all night. This phone was constructed with a poor WiFi antenna and that's why it idle drains so poorly. This was pointed out by [MENTION=398245]LeeDroid[/MENTION] in his LeeDroid ROM post.
[HTC 10 Questions & Answers] ZeroInfinity:
I reverted those changes because it interfered with other wakelocks such as audio which caused freezing audio every 2 seconds during screen off playback. Turning these wakelocks off can actually do more harm than good unfortunately. I may reconsider adding them back in but only if they stop interfering with other wakelocks because the audio freezing problem thanks to those commits were extremely infuriating for me.
[HTC 10 Questions & Answers] jbm76:
When I was playing audio with the screen off - never experienced those problems yesterday. But now the damn wakelock is back and what I thought worked didn't ?
[HTC 10 Questions & Answers] pettigrew95:
Which changes are you referring to?
[HTC 10 Questions & Answers] jbm76:
The changes to the wakelock mods to his kernel.
[HTC 10 Questions & Answers] ZeroInfinity:
I should mention that I have reverted these changes a looong time ago, you probably didn't try out that version when I released it as I was rushing to get it fixed. I believe it was the first upload of v009.

https://github.com/ZeroInfinityXDA/...mmit/28b1248d7e4823bc17b01306c7e17d42a84cb78d this one most likely. Absolutely kept killing audio wakelocks, my testers and I had huge audio freezing every 2 seconds because the kernel kept killing the wakelocks.

Anyway, believe me it was interfering with every other wakelock there is. Turning more wakelocks off can do more harm than good, even franciscofranco has stated that.
[HTC 10 Questions & Answers] jbm76:
I wish I didn't have to try and block these. Since I've had this wakelock my phone is lucky to last half a day. Doesn't really matter how efficient the kernel is if the phone is always active and won't sleep.
[HTC 10 Questions & Answers] jbm76:
[MENTION=369398]pettigrew95[/MENTION] [MENTION=7521814]AntoRei[/MENTION] is rapid charging still working for you? Since this happened to my phone it's not for me....
[HTC 10 Questions & Answers] ZeroInfinity:
If you're having wakelock problems i doubt the solution would just to force them to be blocked entirely. I mean, it does sound like something is wrong with your phone if it can't last even half a day or the phone is always active - either an app is keeping it awake or the ROM is borked.

I personally do not have any wakelock issues whatsoever on MHD, LeeDroid, or Viper. Never had any issues and could always sleep with WiFi on overnight, maximum drain of 2%/h but usually 1%/h.

Wakelock shouldn't really be blocked, since that's not really a good method of keeping these wakelock controlled. We need to find the source of the problem and it's most likely either an app or the ROM that's not letting it sleep. Everyone has these wakelocks and most people are fine with them without keeping their phones awake all the time.
[HTC 10 Questions & Answers] jbm76:
I initially thought it was an app or the ROM was borked. So I ran wakelock detector and saw this wakelock under the android system. I then ran battery historian to try and get a clearer picture to see if it was an app and again it didn't point to anything except BatteryServiceUpdateStats_3. I've since done a factory reset and reflashed the rom/ ran a full RUU & started from scratch. I was running stock MM with no apps installed except for gsam battery monitor and the wakelock was again still present. So blocking the wakelocks was my only way it seemed I was out of idea's.

I've owned the HTC 10 for 11 months - and 3 days ago my phone was like yours pretty much approx 2%/h drain. and I'd leave it on WIFI on all the time. This is my 3rd HTC device now and I have never seen a wakelock like this and usually never try to block them. On MM experimented with Ampfily to see if I could extended battery life - didn't really make much difference. So I think there is a hardware problem of some kind because my phone won't rapid charge now either. To give you an idea how bad this wakelock is - I charged my phone today to 100%- it's used 20% in 2hrs 21 - idle of drain of 6.84%/h and held awake 100% of the time. With 9 mins SOT, I'm averaging around 8- 9%/h - It's crazy that is 445689 wakelocks in that time- I miss my phone with it's pretty good battery life already. At this stage I am going to run WWE full RUU and see but I don't like my chances and if that doesn't work I am going to attempt to take it back - but I am a little worried I am S-OFF and apart from the phone not rapid charging and massive battery drain it does work, so not sure they will replace it. So I could be stuck with the battery issue for another 13 months. I've tried everything to fix it..
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
Show us screenshots of any wakelock you have, especially the ones with lot wake ups. Held awake is always either by an app or Service or so. wifi shouldnt Keep the phone awake unless there is a Problem with Location and you kept Bluetooth and wifi search on. but well, try first the RUU to see if quick Charge is working again, otherwise it seems like something is damaged and you should send it to HTC to repair it.

also since you're S-OFF there won't be a Problem with sending it back. just use a RUU to go back to full stock and lock bootloader. even if you completely lock it down and they won't Change the Motherboard you can restore s-off with sunshine. if they will replace it you will have to buy the license again or ask the Team if you can get the old "key" with the confirmation that t he device is being repaired by HTC and MoBo was replaced.
[HTC 10 Questions & Answers] jbm76:
Cheers thanks for the info..

https://xdaforums.com/showpost.php?p=71797936&postcount=13 (Wakelock detector)

https://xdaforums.com/showpost.php?p=71801597&postcount=17 (Battery historian)

https://drive.google.com/file/d/0B2N3oKaoWZZoUk1rUGdsQ2o1eFk/view?usp=sharing (Battery stats dump)

Did the RUU - and it only saying charging - not showing it's rapidly charging like it used too
[HTC 10 Questions & Answers] ZeroInfinity:
Could you give me a whole list of installed apps you've downloaded from the play store please? And any other apps you may have installed that wasn't installed directly from the play store. Just wanted to see if there are any strange/rogue apps that could be keeping your phone awake like crazy because I can't think of anything else that could be causing it. I'm pretty sure it wouldn't be a hardware issue because all these problems are software related, also since you've tried going through RUU a number of times, I don't think it's ROM-related either.

The charging issue is very strange however. Now that could be a hardware problem. Maybe the problem is a little bit of both? It does sound quite confusing right now.

EDIT: I just saw that you've mentioned it still happens on MM with no apps installed, it does sound like a hardware issue then although I don't see how it can affect software things like wakelocks.
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
have you tried another usb c cable? or maybe even another adaptor if you know someone who has a quick charge 3.0 charger?
[HTC 10 Questions & Answers] buckmarble:
Just an FYI, I do not include this wakelock commit in my kernel for the same reason Zero mentioned, so you shouldn't experience an audio issues on my kernel if you use it.

---------- Post added at 01:42 PM ---------- Previous post was at 01:39 PM ----------

I have seen funky wakelock issues with chargers, but it's typically 3rd party chargers. [MENTION=3806315]jbm76[/MENTION] i know you mentioned you used the stock one in my thread, but perhaps try a different charger for a few days and see if you get that wakeup to return.
[HTC 10 Questions & Answers] jbm76:
Yes tried a 2nd cable - don't know anyone who has a QC 3.0 charger... Will take it to where I brought it from to test.. Will have to lock my bootloader before I go...
[HTC 10 Questions & Answers] jbm76:
I do use an in car charger sometimes well a lot more now...its a QC 3.0 tronsmart - phone has never rapidly charged with this. Might try and charge my phone using my PC - would a funky charger cause a phone to wakelocks for the entire time after it was off the charger?
[HTC 10 Questions & Answers] buckmarble:
Yes it would. If the os doesn't get a proper disconnect signal, it could keep a wakelock
[HTC 10 Questions & Answers] jbm76:
Hmmm... Interesting... I will try my old charger and see how it goes until I test out another QC charger
[HTC 10 Questions & Answers] Haldi4803:
simply reboot after unpluging, if it solves the issue you can tie it to charging.

As stated before i'm pretty sure the BatteryServiceUpdateStats_3 wakelock is a passive wakelock and not an active wakelock. You should just ignore it and search for other things that wake your phone, BatteryServiceUpdateStats_3 wakelock is simply indicating that it is being awoken by something else.
[HTC 10 Questions & Answers] jbm76:
Ok thanks - even after a RUU with no apps on the phone except for gsam pro I still get the wakelock lol

I used my power bank to charge the phone and for 1 hour I didn't get the wakelock
[HTC 10 Questions & Answers] Haldi4803:
just a random Note... it's not happening on AOSiP :)
[HTC 10 Questions & Answers] jbm76:
Returned the phone due to it not rapid charging.. Once I get it back or a replacement, if it happens on sense I will make the switch. Thanks everyone for your suggestions..
[HTC 10 Questions & Answers] pettigrew95:
Mine seems to still be working.
[HTC 10 Questions & Answers] jbm76:
How's the wake lock going?