yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] knochnkopf:
Testing

I flashed Lineage 14.1 with similar results, though my phone didn't shut down till about 30% instead of 50%. So while the US Unlocked firmware might be part of the problem I am experiencing, I am trying the latest version of LeeDroid to see if using a non-US based firmware will have any impact. So far all I can say is that it seems more stable, even if it isn't quite as fast in some games but that could be kernel performance settings. I think LeeDroid includes Cleanslate kernel and his default installation setting uses a conservative profile. Will let you know if/when I find out the results of this test. Unfortunately I don't think HTC's Oreo update will be the magic bullet to solve this problem.
[HTC 10 Questions & Answers] thanito:
Nah, mine is European and still hot the same problem. Today I performed a factory reset and thought that it will go away, however a while ago just happened again. Battery percentage calibration is way off too the last few months, goes from 100 to 85 in a few mins but might stick to 65 for half hour..
[HTC 10 Questions & Answers] xunholyx:
I've been saying for a bit here now that it isn't US Unlocked firmware that is the culprit. Thanks for confirming this.

---------- Post added at 04:55 PM ---------- Previous post was at 04:53 PM ----------

My first comment on this topc
[HTC 10 Questions & Answers] Buda76:
I'm US locked on Sprint and get random reboots and it will try to reboot 3 times before staying off unless I plug in the charger. Started happening after an update. Battery life is horrible now. Reboot typically happens in the 20% range but has been almost at 50% on one.
[HTC 10 Questions & Answers] knochnkopf:
Update

I'd be interested to hear your experience replacing the battery on this phone as I've read it's notoriously difficult to repair. Considering this option myself since European vs. US firmware doesn't seem to make a difference and custom ROM is the same. Tells me it's got to be a hardware issue.
[HTC 10 Questions & Answers] fmedrano1977:
Battery replaced, I'm down to 22% and still working fine. Before I couldn't get passed 40% before it will go into a boot loop.
[HTC 10 Questions & Answers] bglf83:
I can go real low without loops but the battery life is terrible lately.
[HTC 10 Questions & Answers] giorgoxxi:
I have an unlocked European version and it has the same issue. I have reboots sometimes when using the camera, and bootloops when it reaches 20-30% (only sometimes). Its like the battery calibration is completely off. And my SOT has gone down from 3.5 to 2-2.5.
[HTC 10 Questions & Answers] thanito:
Pls give us a feedback in one two days about the battery life as well. Seems like all of us who have off calibrated batteries also have ****ty bat life and bootloops, might all be connected.
[HTC 10 Questions & Answers] fmedrano1977:
Battery life improved!

Battery greatly improved and replacing battery. I was lucky if I got 2 hours of battery life before the replacement.
[HTC 10 Questions & Answers] PatrickRiccardo:
Had the same issue. Stock european unlocked. Sent it in for service. Was there for 4 weeks before I got it back today. Let's see how it is now!
[HTC 10 Questions & Answers] thanito:
That looks promising! Did you change it by yourself or did you send it at the service? I don't even want to think how much time it will take for my phone if I send it to my service in Greece , wait for them to send it to Romania (yep, they send it there.even for a battery replacement.. .) and take it back.. Probably not a chance to happen before Christmas.. But the last few days the battery is fked up. It switches off randomly on 50%, 35%, etc and the battery lasts for a few hours even without usage. If used, it loses sth like 10% in 15 minutes. Accubattery reads the current capacity at approx 1500-1600mah...[emoji23]
[HTC 10 Questions & Answers] fmedrano1977:
Nah, took to a shop here in town, they took a little over 2 hours before they called me to pick it up.
[HTC 10 Questions & Answers] worlock666:
Wow! Come across this thread tonight and glad I did! I thought I was going mad :)

Mine started exhibiting the above behaviour in August and put it down to it being unlocked, s-off'ed with CFW (Leedroid). tried some other ROM versions on it and problem persisted.. also experienced the random switch off and reboot when using camera which seemed to be battery level related. Finally got round to reporting it to HTC after reverting to stock ROM and seeing the same issues remaining. Went into HTC for repair and is currently with UPS for delivery back to me... no idea what they have done but will report back here when I get it back with the service sheet.

I'm UK based, bought the phone direct from Amazon and have had it for about 15 months... as per above, I have been running Leedroid on it for the majority of that time, updating via Lee's daily build update tool.
[HTC 10 Questions & Answers] bglf83:
My phone significantly improved by doing a hard reset.
[HTC 10 Questions & Answers] nuts77:
Have had the issue on my HTC10 as well. WWE edition converted to US unlocked, stock ROM.

I have noticed that bootloops occured at reduced battery levels each time, last one occurring at 7%. So I figure in my case it's related to bad battery calibration. Will try a full charge and battery calibration process (as advised per HTC : "Connect your phone to the charger for at least 10 minutes, then press and hold the Power, Volume up and Volume down buttons, all at the same time, for up to 2 minutes. Let the phone power off and on for that interval.").

Will report then.

Cheers mates
[HTC 10 Questions & Answers] 6thEnvy:
Hi, I'm in The UK too, and been having this problem for some time.. I was unlocked but on Stock HTC 2.41+ then rooted and I'm currently on Viper10 5.11.

I read on the HTC website I'm not under warranty as I've modded the phone.. even if I locked the bootloader again.

What did HTC change on your phone and how's it doing?

Also did it cost to send it to HTC or did you go through locking bootloader and under warranty?

Any and all info is great appreciated as I'd love to send it to HTC before my 24 month warranty is up (if I can, like you did)

Thanks
[HTC 10 Questions & Answers] worlock666:
So...

Phone back from htc and absolutely no details of what they have done! Suffice to say they didn't charge me.. Did the 'repair' under warranty.

I used htcdev to unlock the bootloader and then used sunshine to s off. So before I sent back I had to..

Go s on

Install ruu

Use sunshine to go s off 'locked'

Go s on

This took me back to factory stock and ensured htc wouldn't charge me due to the device being 'tampered'

Device seems to be running well so far but probably too early to tell. As I had a sunshine licence I am back to unlocked s off, running magisk leedroid.. Which is great cos I can use android pay now..

Let me know if you need any more advice..
[HTC 10 Questions & Answers] hayame:
Started to have the shutdown and bootloop problem on leedroid (v4.0.0 with 2.51.617.32 firmware), reverted back to stock and I didn't get any random shutdown and or bootloop problems, but the battery did seem to be heavily deteriorated with it's capacity, Accubattery was reporting around 2k mAh from 1% to 100% and it felt like 10% would be gone in 30 minutes.

Finally got around to getting a new battery and replacing it, charge it about 3k mAh on the new battery and I can definitely feel the improvement. Haven't tried to go back on leedroid to see if maybe it could've been the problem for the random shutdowns and bootloops, but it could have easily been the heavily degraded battery.
[HTC 10 Questions & Answers] szymonurai:
Battery Replacement

To anyone who replaced their battery. What brand or 3rd party battery was put into your phone? Apparently HTC does not sell OEM factory batteries. There are to many terrible battery manufacturers out there. Someone please post a link of the battery that worked for them.

My Theory for this issue:

My phone has all of the symptoms. I believe it has to do with the battery being aged. The processor will throttle and pull more juice from the battery for specific things such as launching camera and opening app. A battery needs to provide the constant voltage, whatever it may be. When the battery is aged it is unable to keep that voltage when the phone demands it. Therefore crashes the phone.

Kind of like an amplifier powering a subwoofer on a car battery. Except a car doesn't crash the only lights dim. Then they pick back up when the amplifier doesn't need it for the bass.

Thank You

-Sam
[HTC 10 Questions & Answers] nitramus:
Glad to see I'm not alone and starting to think it's my battery also. But symptoms are not exactly the same.

Tried leedroid and viper10 and still have the same problem. Was going back to stock before I found this thread.

Now on latest .32 us unlocked firmware but also had the same problem on other before but don't remember on which one it started. Maybe the latest .1 version.

Problem is this.

For me it is always starts when the screen is off. I either turn the screen on, no matter how (double tap, swipe up or power button) or even just receiving a txt or a phone call.

Then the phone reboots. The second I get the lockscreen is when I know what to expect. If it continues to load then I'm fine. If not it just turn off the second I see the lockscreen.

The battery always jumps down at least 50%.

Sometimes clear dalvik and cache seams to works. If not I have to plug it in. Last time it jumped from about 85% to 35%. When I plugged it in it said about 50% left.
[HTC 10 Questions & Answers] szymonurai:
I've had various things happen

At 35% and the phone crashes

Phone is on but when charger is plugged in does not charge no LED indicator light

Open from lock screen tap camera phone crashes

Going into phone from lock screen phone crashes

Opening web browser phone crashes

Phone saying 50% crashing then phone saying 1% when it is off

When I've had the phone crash before it would notify me to send error report to HTC. However it doesn't ask that sort of thing on these sort of crashes.

I just wiped cache partition. I'll see if it improves. However, I am really considering having the battery replaced.

The best way to determine what is causing the issue is to run some sort of background diagnostic log tool to see if it is actually software.

Thanks

-Sam
[HTC 10 Questions & Answers] nitramus:
Did you run a log tool and which?

---------- Post added at 02:25 AM ---------- Previous post was at 02:00 AM ----------

Anyone have a suggestion for a logcat or other app that car record on the background what happened when phone crashes?
[HTC 10 Questions & Answers] szymonurai:
I'm a very novice phone guy. I purchased this phone because it was the forgotten treasure of that era. I really have no idea of a diagnostic tool. Maybe there is already something in the developer options built into Android already. There is an option in there for a debugging app. But, from there you would run it and wait for the issue to occur. Look at the log and read the code. Unless it tells me in big bold letters "This is f**ked up" I can't determine anything with it nor fix it. I'm sure some of the developers on this site would know more then I do after all they do their own ROMs and debug them.
[HTC 10 Questions & Answers] hayame:
For the most part I just went off Model: B2PS6100 of the original battery and googled to find a replacement. Wasn't able to find any oem ones like you say but this one seems to work fine (for now..)

Left side is new battery, Right side is OEM/original https://i.imgur.com/wPJEPEo.jpg
[HTC 10 Questions & Answers] nitramus:
Has anyone here with this problem tried the dumpsys batteryproperties command in adb shell?

from here the What's your current Battery Capacity? thread
[HTC 10 Questions & Answers] thanito:
The phone is getting from bad to worse... Keeps shutting off and bootlooping like crazy.. Sometimes it even changes the sound settings after restarting ffs... Today after the restart the phone changed all the notifications sounds set to silent and even put again the lock screen sounds.. [emoji23]
[HTC 10 Questions & Answers] nitramus:
Are you planning on changing the battery?

For me I'm not sure yet.
[HTC 10 Questions & Answers] thanito:
For sure I have to replace it. The phone has become almost unusable with this battery life and I have to have it plugged in all the time. The only thing that keeps me from sending it now is that they need 3 weeks for it to be sent to service and back, so it will fall in xmas period..
[HTC 10 Questions & Answers] nitramus:
If its not under warranty just get a battery and bring it to a local shop.

Personally when the time comes I will change it myself.
[HTC 10 Questions & Answers] thanito:
Bought it June-July 2016, so still under warranty. Just hope they will not go into tricks like battery is a 1 year warranty etc
[HTC 10 Questions & Answers] nitramus:
To all those here that changed the battery, can you please tell me where you got it from and your thoughts, please.
[HTC 10 Questions & Answers] ToffieBoi:
Until I read this thread, I was thinking my problems are software related, but many other people has that too and now I am confused.

Me and my father, both has HTC 10's. I have European version, Unlocked Bootloader on HTC website (white), he has the Turkish version (black). I was perfectly happy and not having problem with Stock ROM, EX Kernel and PnP&Thermals tweak. Because he is using Tasker intensively, we decided to switch the phones so he will have the rooted one. After installing a RUU and rooting again, white phones battery went mad. Started to restart around 50 percent, bootloops, resetting settings and so on. Most of the time, it was stuck around 40-50% of battery for an hour until another bootloop. In the end, since it was unbearable, I got the white one back, reinstalled the phone, tried to recalibrate the battery and all the other things, but no luck.

Few minutes ago, I got a bootloop around 50 percent, plugged in the charger and now phone stuck at 33%...

I guess I have no other chance but giving it back to warranty. I will be in Poland in 2 weeks (where I bought the phone) so I can send it. But I wonder if "fastboot oem lock" command is enough to get the warranty back or I need Sunshine to lock it back? (I am still S-ON)
[HTC 10 Questions & Answers] nitramus:
Do you know if they put a battery like we can find on ebay? Any clue on the battery?
[HTC 10 Questions & Answers] fmedrano1977:
No clue, all I know is I got battery life now.
[HTC 10 Questions & Answers] WalterCool:
I have the same problem, it doesn't matter if I'm with stock or Lineage 14, battery will die between 1-35% very randomly but mostly ~20%

No clue how to fix it, I even updated firmware to latest one, no difference
[HTC 10 Questions & Answers] tokuzumi:
I've had this happen a few times since I've owned it. It's happened twice in the last month. It doesn't boot loop, but it will just power down. I plug it in, assuming the battery was dead. Battery usually shows around 33%. I'm trying to hold on to this phone for another 6-8 months. I've had it for 13-14 months at this point. Hopefully it's nothing serious, as it still performs quite well. Other than battery life not being great (never was), I have no complaints about this phone.
[HTC 10 Questions & Answers] xunholyx:
If you delete the file data/system/batterystats.bin you should get an accurate reading on you battery percentage. It won't fix your battery (it seems some bad ones slipped through quality control from the battery manufacturer) but at least you'll know what the actual level is and it won't power down at 33% anymore.
[HTC 10 Questions & Answers] tokuzumi:
I think I'll try that. Phone rebooted yesterday and it did it again today.
[HTC 10 Questions & Answers] EdHaku:
I'm getting the same problem for a while. Thought it was software issue too (I'm running Viper One Nougat on a Marshmallow base), but it doesn't seem to be the case. Any info where I can get a battery replacement?
[HTC 10 Questions & Answers] ThatOneJoshy:
I too have been having these issues since a month or two ago.

Switch off at an unreasonable percent like 30-40% and go to bootlooping. I could get to download mode (originally, but not anymore), but not bootloader or recovery, unless I did the recalibration trick by holding up and down volume keys with power and releasing the second the bootloader screen popped, then using that to switch it off.

I sent the phone in under warranty, as I have two years on it in the UK. I got the phone back two weeks later with no details as to what HTC did. I powered the phone on and set it up and the second I got to 40% battery, take a wild guess as to what happened... That's right. Bootlooping once again.

I called HTC and asked exactly what they did and they told me they replaced parts on the motherboard and installed a new ROM. They then asked me to send the phone in again, so did that Friday and now I'll be going another 2 weeks+ without my phone.

I included a letter in the box this time for them to read, with in-depth tests and issues I have found, so hopefully it helps them determine the problem, which I personally think is just the battery, and not parts on the motherboard.

I'll update when I get the phone back with what they did and if the phone is now working correctly.
[HTC 10 Questions & Answers] nitramus:
Yesterday I got a battery from ebay will take a few weeks to get it. With all the research I made it looks like all the replacement battery are all the same except maybe those from HTC. Will update once installed and tested.
[HTC 10 Questions & Answers] DeeZZ_NuuZZ:
if someone manages, you can try to let battery completely die and charge it up again, that will recalibrate the battery and the values. sometimes the battery values are getting f+cked up. if you manage to power it on again, let it die but this time it should go down to 0%, let it shut off and then charge it to 100%. it should be good after that. if not, try a factory reset
[HTC 10 Questions & Answers] tokuzumi:
Root access is needed to access this file, right? I'm not rooted. Or can I run an ADB command and delete the file?
[HTC 10 Questions & Answers] Magnum_Enforcer:
If you have TWRP recovery you can delete it with the file manager there.
[HTC 10 Questions & Answers] szymonurai:
I came across this article about CPU throttling on the IPHONE and it shutting off after 30 or 40 percent. We could be experiencing this issue. Except the CPU on the HTC10 isn't being throttled therefore shutting down. Therefore we need new battery or battery is root cause.

https://www.phonearena.com/news/Ben...-the-main-reason-for-slowing-iPhones_id100866
[HTC 10 Questions & Answers] anndrenaline:
Oh no don't tell me its not just the battery, my phone is no longer under warranty.

---------- Post added at 04:17 PM ---------- Previous post was at 04:11 PM ----------

How's it going so far after the battery swap? Where did u get the battery?
[HTC 10 Questions & Answers] fmedrano1977:
Couldn't be happier, I can go all day on a single charge with normal use. I didn't buy the battery myself, I took it to a shop called UbreakiFix here in San Antonio, TX, they ordered it.
[HTC 10 Questions & Answers] :
Mine still boot loops after having the battery and 'other' components replaced by HTC UK :(
[HTC 10 Questions & Answers] caitsith810:
How much did it cost? I'm thinking about doing the same since they've opened a few new locations here in NYC.
[HTC 10 Questions & Answers] fmedrano1977:
$70
[HTC 10 Questions & Answers] kerem97:
i have the same issue on my device. Htc 10, Unrooted, Bootloder locked, android 7, 2.41.401.41
[HTC 10 Questions & Answers] Kwiskas:
Hi,

I also have the issue on my phone, WW edition, S-on, bootloader unlocked, rooted and using last LeeDroid ROM (4.0.0) and 2.41.401.41

I doubt this is a hardware issue, every body who have this issue seems to be under the same version.

Also, a bad battery should create random shutdown, not the same pattern for all : once the shutdown appears either a bootloop is coming (a dead battery does not provide enough energy to reboot a phone, I let mine boot looping during 15-20min and it was still running), either the phone boot with 33% battery (once again, not all battery are used the same way, how can this value be the same for every one?).

I also have the application data wiped : loosing notification ringtone or vibration disable itself, loosing haptic return of the keyboard... Doesn't seems to looks like what a dead battery do.

For me this is definitly a software issue, what do you think?
[HTC 10 Questions & Answers] nitramus:
Since I updated kernel I have not had any reboots at all. Was using cleanslate 242 and now on latest. Saw a post where a version would fix reboot on certain types of roms and that a full reboot could be kernel related but soft reboot is most likely software. So far so good for me.
[HTC 10 Questions & Answers] Kwiskas:
What I have is a full reboot I think : I see the first HTC silver logo, then the animated green HTC boot and here happen the reboot loop.

Which kernel are you using exactly please?
[HTC 10 Questions & Answers] nitramus:
Now on latest cleanslate 2.6.6
[HTC 10 Questions & Answers] Kwiskas:
Hi,

I've been using cleanstate for a couple of day now, and random reboot seems to have stop. I was even able to go down to 1% battery and launch energy consumming task like camera without boot looping.

Battery life is still quite bad, but I'm not quite surprised for a 1 year and a half phone. Accubattery gives me a 2200mah capacity for a 3000 supposed one...

I'll try to recalibrate it to see if the phone handles better energy consumption but I doubt it.

If any other one could change its kernel to confirm, that would be great.
[HTC 10 Questions & Answers] caitsith810:
I'm currently on CleanSlate 2.7.0. Normally, my battery would reboot at 50-60%. So far, I haven't rebooted yet, and the battery drainage has lessened quite a bit. So far, so good.
[HTC 10 Questions & Answers] th3:
I've got the exact same issue... Stock HTC_001 with o2. Bought the phone May 2016 and this issue started in August 2017.

Recently it's also killed my SD card, I've lost 50GB of pics/vids/data randomly.
[HTC 10 Questions & Answers] calvinyip77:
My case is solved by battery replacement! No more reboot now!
[HTC 10 Questions & Answers] :
HTC replaced the battery and some other things but it still bootlooped. It's currently with HTC in Poland being investigated.
[HTC 10 Questions & Answers] Axx0n:
Just wanted to report that I have the same problem.

random reboots when below 50 % with bootloops following

I'm not able to start again without plugging charger in or going through download mode

The battery level is significantly lower after the restart, but I had the case where it lasted like an hour with screen on on 1%.

I was running Viper5.11 Magisk version but reverted to stock, even thought that greenify ight have something to do with it.

After reading all the posts I'm not yet sure whether it's battery or kernel related. :eek:

If it's the battery htc seriously ****ed up that part of the phone, as there are many having the same problem apparently.
[HTC 10 Questions & Answers] Lookso:
Not good. I have also random shutdowns when battery is about 50% or under, but I discovered it always happens when I go from my warm house, to cold outdoor and then to the other warm place like a bus or train. Is it related?
[HTC 10 Questions & Answers] vrsko:
#metoo
[HTC 10 Questions & Answers] mai0f:
[MENTION=1478851]calvinyip77[/MENTION]

Did you replace the battery yourself, or did you have HTC (or a repair shop) do it for you?

If you did it yourself, can you please share link where you got it from?

Thank you