yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
I've been reading 4pda r5+ forum (using chrome automatic translation) and it seems that the only way to get rid of netlink wakelock (and insane idle battery drain caused by it) is to flash the fastboot rom by test point. Fastboot doesn't work and edl mode from fastboot (with the command "fastboot oem edl") doesn't work.

So we have to take off back cover...

They said it starts after several flashings of custom roms.

Maybe some rom, kernel or firmware caused it.

I also don't have a proper tool to open it...
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
I will do that (testpoint) when MIUI10 stable is released or i replace my broken screen.

Had to do it once before because i bricked the device. Is it not hard to acomplish.

thanks!
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
I did test point and it's flashing now 9.6.2.0.

I opened the bottom with an old credit card but when reached the corners the card blends and can't do the sufficient force so I had to open the sides with thin knife.

To do test point I had to disconnect battery too so I hope both problems will be fixed (idle drain and charge below 100%).

Will report later if problems solved or not.

Edit:

Battery drain fixed.

Didn't try charging yet.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
Greeeeat, are you staying in MIUI or flashing a custom rom? Thanks for the info
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
Latest miui global stable for now.

Maybe will flash miui 10 global closed beta if I find a way to use Xposed because when I tried the rom I had bootloop with Xposed.

Performance of miui 10 for me was like on custom Oreo roms, better than miui 9.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Saicoth:
Same thing happened to me when trying to open the cover with a card, where the silver rim is. The knife didn't leave any marks on the sides? Maybe you could tell me more about your technique?

If you say the idle drain is fixed it's wonderful news, but do I have to do the test point as well or only to disconnect battery? Because the phone has the latest global stable right now, and also locked bootloader for around 340 hours, EDL is only possible with test point right? Cause I read that Xiaomi disabled access to EDL from ADB. I really do hope that disconnecting the battery will be enough to fix the drain.

Although lately the phone started sleeping when screen was off, at least the graph is showing that. Without any intervention from me. Check attachment bellow(my mother doesn't stay on the phone all day so the screen was off most of the time)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
As the bootloader is locked maybe your issue is different.

Did you try airplane mode?

For me it happens too in airplane mode.

You can try factory reset and install only the apps that really need.

Anyway about taking off the cover the card doesn't work when reaching the aluminum part so I pull it gently with the knife on the side that has the sim slot and when that side was almost opened I pull with the finger till take off the whole cover. It has some scratches now but they are covered when putting the cover again.

Maybe unplug the battery is sufficient but as I already opened the phone I did test point anyway to be sure and don't have to open it again later. On 4pda they said test point flashing is needed. I select flash all (not relock).
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] :
I've been following this thread for few days. And noticed 2 days back that I've been having the same kind of drain too. I had battery stuck at 97-98% charging issue too. So, I just finished doing test point and hoping it would help.

But damn opening that back panel was real hard. I think a very small part of my back panel is little loose now. Not that it would open but it is noticeable. Gonna use case anyways, so it doesn't matter as long as phone is working.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Saicoth:
I locked the bootloader 2 days ago remember? Wanted to check if drain is still there.

Now phone is stuck on miui and locked for 2 weeks, thing is, the drain started to go away by itself, battery still doesn't charge to 100% unless rebooting couple of times.

I'll wait for few more days to check if idle drain comes again. Then I'll try to pry open the cover.

Thanks anyway for not giving up on this issue. ;)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
Sorry didn't remember it was you.

For me sometimes the battery graphic bugs and didn't show the awake but battery was draining anyway.

Hope yours is working well now and draining doesn't come again.

Maybe charging fixes too after several cycles.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Saicoth:
Hey no problem, I think both issues are related to one another (idle drain and incomplete charge). So maybe you're right, the battery graph could be bugged and drain still present if charge doesn't complete.

I'm happy you managed to fix the issue, at least we know what to do from now on. Good Job.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
Battery charging to 100% working again too.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
Unplugged the battery and the wakelocks are gone!! Try before flashing WITH test point

Edit: around 90% of deepsleep nos!
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
Good to know it. If it happens again we don't have to wipe everything with test point.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Saicoth:
Thanks to you guys the mystery is finally solved. I'll have to disconnect the battery too sooner or later.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ska7:
really??just unplugged the battery? did you flash with test point?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
No, just unplugged the battery connector a few seconds.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Are you sure drain is gone? Can you post battery graph? How much is idle drain over night? Should be <1% for a phone like this.

Can the same be achieved by draining the phone past 0% or is physical disconnect required.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
Yeah, I'm very sure. I know well what is a proper deep sleep and what wakelocks are.

It's around 90% of the time in deep sleep and prior to unplug the battery it was 60% whatever rom I tried.

Do not know if it is enough to drain the battery but I suppose not. Regards
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
I tried several times draining to 0% and then fully charge and didn't work for me until I did test point that implies physically disconnect the battery.

Now it enter deep sleep.

My draining last night was 4% in 7 hours but this depends on how we use the phone and apps installed.

Previously it was draining 25% or more over night.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] oasln:
Hi guys, you can see BetterBatteryStats graph from last night. My phone used 4% battery in ~9 hours. I have greenify installed. Is this mean I have some wakelocks issue?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
4% in 9h for me is normal.

In betterbatterystats graph for me is always like yours but in summary it shows deep sleep almost all the time and rom graph too.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Does it come back again if you flash AOSP?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
I don't know.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
What rom are you using? MIUI?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
Miui 10 global 8.7.12
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Thanks. I fixed it. Getting excellent battery now, dropped 2% in 8 hours at night.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] laststandrighthere:
Which ROM r u using now?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Resurrection Remix - but i was always on this, didn't flash anything since doing hardware fix. Almost no battery drain now.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Xorianator:
May I ask: Is the fix to just unplug, wait a bit, and plug back in the battery? Or do you have to do the testpoint method?

Best regards
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Just unplug and plug it back in worked for me.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Xorianator:
Thanks! So finally I can try out more Custom ROM flashing, I was just worried to do a long procedure :D
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
just unplug the battery a few seconds should be enough. Not testpoint needed for me
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] senseijtitus:
But what do you mean by unplug! Do we need to open the case and disconnect battery from motherboard ?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
I can't think of another way to achieve that:)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] q.sadid:
I am having the same issue. Will I have to be in MIUI before Disconnecting the battery. Or can I keep using the current rom? I'm on havoc OS now.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
As i dais before, JUST disconnect your battery a minute. To achieve that you have to remove back cover
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] q.sadid:
Phewwww. Thanks! I was worried that I would have to go back to using MIUI. ****ing hate MIUI.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] q.sadid:
Hey bro this is screen shot from better battery stats app. Is this normal??
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Xorianator:
The graph doesn't say much, the information page is way more helpful. But looks normal to me. How much battery do you lose over night? Up to 5% should be normal (some lose less, some lose more, depends on the apps you run on).
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
Have a look after flashing Dark ages Segundo Kernel and have unplugged the battery ;)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Fran Montero:
Now with the screenshot
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] syl0n:
Has anyone found a solution without having to remove back cover, yet?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] jes0411:
No. I tried everything and only disconnect the battery worked.
[Android Software Development] ioshomebrew:
QTADB is a program that is cross-platform and written in QT. The purpose of QTAdb is to provide a better way of transferring files for Android phones as well as other tasks like sideloading packages.

Current issues:

- No warnings for failed task

- Only MacOS build is ready

- UI thread pauses when executing tasks

- Window doesn't properly resize

Features coming soon

- Drag and drop

- Progress bar when transferring files

- Selecting multiple files in file manager

- Fastboot interface

XDA:DevDB Information

QtADB, Tool/Utility for all devices (see above for details)

Contributors

ioshomebrew

Source Code: https://github.com/ioshomebrew/QTAdb

Version Information

Status: Testing

Current Beta Version: 1.0

Beta Release Date: 2018-06-10

Created 2018-06-11

Last Updated 2018-06-10
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] przemof:
Samsung Galaxy A3 (SM-A300FU) went for a deep swim. A phone shop asked to fix it broke screen, another 2 shops told me to forget about it. So, I replaced the screen myself :D The screen works, but there is something strange happening.

What works:

- I can get into download mode (*), screen work fine

- I can start the phone (static logo OK, animated logo doesn't show). I can hear sounds, pressing volume works, but the screen stays black.

- I can download photos/videos over usb MTP with linux (phone screen black)

- the phone just beeped, (I guess, for low battery), so the main part of the system seems to be partially OK

What doesn't work"

- screen stays black after normal full start

-(*) download mode a few days ago worked fine, so I downloaded pit file. I also have the original firmware. Now when I try to download pit or flash with heimdall I get:

[..]Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
Protocol initialisation successful.
[..]

or

[..]
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
[..]

I tried 4 different cables + 3 usb ports to make sure it's not hardware.

I can provide full logs, but looks like part of the firmware is fried as the result of the water damage. And than probably I made it worse by multiple blind resets (power + vol down) when getting into download mode and resets when getting out of the download mode.

The firmware on the phone was original, no mods, no recovery, no root, no developer mode allowed, no adb over usb.

Any idea how to recover from it? At this stage I need to get contacts, but I'm ready for factory reset just to get the phone back to working condition. Is it worth to get A3 jig or it only helps to get into the download mode?

P.S. Screen stays black after power cycle with vol up + home. Should it go into recovery mode?

P.S.S. The screen is not yet glued in, so I have easy access to the internals of the phone.
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] przemof:
I managed to flash twrp recovery, downloaded contacts and then I flashed full firmware. But the screen stays black after normal boot.

The screen in TWRP & download works OK. Any ideas what might be wrong?
[Huawei P20 Pro Questions & Answers] gribbler:
I've moved over from using the Google line for the last 5 phones, to the P20Pro - I'm just learning about debranding which it seems is to make your phone seem like it's from a different region, is that correct? Why would I want this and is there a list comparing the regions?

(If it matters, mine is from Rogers in Canada)

edit - i guess its more Debranding than Rebranding.
[Huawei P20 Pro Questions & Answers] ToLive4:
If you using Canada phone in Canada there is no need to debrand/rebrand it except in case if there is some provider logos,or apps or some other limitations (no help with sim lock). Also some region updates are faster than others
[Sony Xperia XZ Premium Questions & Answers] nahsha:
Hi,

I am thinking to get a used xzp or an xz1. I don't care much between their sizes but I do care for camera updates/features (and os updates). Which one would you go with?

Thanks!
[Sony Xperia XZ Premium Questions & Answers] Lazaros_K:
If you care about software, then go for the XZ1. It has Treble, it has display flash and a new Dialer UI. The camera performance is the same as with the XZ P.
[Sony Xperia XZ Premium Questions & Answers] ross23:
The XZP is a bigger phone and has a 4K HDR display. If you care about that then go XZP.
[Sony Xperia XZ Premium Questions & Answers] 耶和华:
I think xz1 is appropriate.Xz1 is born with Oreo(8),but Xzp is born with Nougat(7).According to reliable news,Sony smartphone can update two system version,so xz1 can update to Android 10,but xzp can only update to Android 9, despite they have same CPU.

Forgive my grammar mistakes, after all, I'm a senior middle school student in China.
[Sony Xperia XZ Premium Questions & Answers] saved-j:
I would never look at that. When the official support is over, you root the phone and install custom Firmware.

I have Xperia V, which was released with 4.0 and got updated to 4.3, I own an Xperia ZR that began its path with 4.1 and ended on 5.0, and today both devices happily run 7.1.2.

You're on XDA DEVELOPERS FORUM, what the hell are you talking about, buying a different device instead of the one you want, because it's going to have 6 months less support? :laugh::laugh::laugh:

p.s. never apologize for your English until you're told you're bad at it. Most of the people who speak English are not native to English language anyway. Like myself, and most of the people at this forum.
[Sony Xperia XZ Premium Questions & Answers] MiniDemonic:
I agree, most people on the Sony forums on xda has "poor" English. Mostly because Sony phones are more popular in Asia and EU than they are in the US. So the majority of Sony users are not native English speakers.
[Sony Xperia XZ Premium Questions & Answers] vader20:
Get the XZ Premium. I'm a happy XZP user and i would recommed it to anyone looking to upgrade to a good Oreo phone. It might not get the "P" android update but it is a reliable phone, it does take good picture and 2 days battery( 4g/h+ or wifi always on, 2+ hours of music and video streaming per day, social networking, internet browsing, but no games). Only thing i wish it was louder: speakers volume. I never tried the XZ1 but just like you i had to choose betwwen the two and you know what i picked.
[Sony Xperia XZ Premium Questions & Answers] Pandemic:
Only 4k in the album and video app, the XZ2 premium have a 4k display.
[Sony Xperia XZ Premium Questions & Answers] NightOrchid:
100% agreed here go for XZP.. .... thing is OP Youll find almost all phones nowadays are 2 years OS updates, 3 yrs security, including Google due to the fact that alot of people, at one time, tended to change their phones every year..

However, now-a-days in 2017 and more-so now in 2018... more and more people are holding onto their older devices, due to flagships being far too expensive (iPhone X, Galaxy Note 9, Xperia XZ2Prem..etc) and the so-called "Updates and New Flagships" features are so small and incremental.. that the huge prices dont justify these "little" upgrades...

Ive just come back to SONY after a break, with a Pre-owned, yet BNIB XZP... and while the camera is a little quirky and requires some tinkering to get the best out of it (I found using the hardware camera shutter button on the XZP caused camera shake and focus issues on images.. no matter how steady I held it, but pressing the "Virtual" shutter button on screen produced much better results.. )... Its a fantastic device.. still getting 6 weekly - 2 Monthly updates, great screen, Speakers are excellent and much louder now on Oreo than they were under 7 Nougart.. although could be even louder, 3.5mm Jack.. battery life is good..

And we will "eventually", get Android P...

https://theleaker.com/sony-xperia-android-p-9-0-update/

Worth the cost over an XZ1
[Sony Xperia XZ Premium Questions & Answers] nahsha:
Hi,

I already got the Xperia xz almost new for 250$ CDN.

The main reason is that xz is dowmgradeable to 6 (for drm keys backup)

Android P is okay but based on what I was reading in the past it was only a possibility for the XZP..

Battery wise Android 6 is way better though :) but for now I'm enjoying 8.

Thx
[Sony Xperia XZ Premium Questions & Answers] NightOrchid:
Good to hear you got sorted... The xz is a great device, I know it's still being updated like the premium... i don't really go for downgrading or custom ROMs myself though, and the screen is a little on the small side for me...

Enjoy ?
[OnePlus 6 Questions & Answers] TechOut:
Updated to 5.1.6 yesterday and used my phone pretty heavily today battery life is great screen brightness between 50 and 75% and at 35% left I have had a SOT of 5 hours and 10 minutes!
[OnePlus 6 Questions & Answers] mikex8593:
Testing SOT. Good so far.
[OnePlus 6 Questions & Answers] ali8383:
I've got 5 hours SOT , include playing PUBG 2 hours ?
[OnePlus 6 Questions & Answers] mikex8593:
I'm about to call it a night. Good run so far. Better than 5.1.5.
[OnePlus 6 Questions & Answers] nightfury04:
For me, I am getting around 3 hrs of SOT and that's worse than 5.1.5 :(

By heavy use what exactly do you mean here.. I mean what kind of apps did u use...gaming, browsing???

---------- Post added at 03:05 PM ---------- Previous post was at 02:23 PM ----------

Come on that is impossible, one game of PUBG that is roughly ~ 25 mins on wifi takes away 13% battery...

What settings do you play at...? I play at smooth detail level and extreme framerate setting.

And my battery for one game falls by 13% approx.
[OnePlus 6 Questions & Answers] ali8383:
Im playing at medium settings because thare is no noticeable difference if i put it in high graphics
[OnePlus 6 Questions & Answers] mikex8593:
I don't really play games. I have a live wallpaper running, WiFi Bluetooth and gps always on while maintaining from 15 to 30% brightness throughout the day. I have Google wakelocks disabled and I use Facebook on chrome web browser.
[OnePlus 6 Questions & Answers] memocatcher:
I also have a bad battery life after 5.1.6 update :(
[OnePlus 6 Questions & Answers] randomA:
So did the new OTA fix the battery issues?
[OnePlus 6 Questions & Answers] nurhalim88:
I got better battery hour even after gaming fb wasap 9gag snap some picture & videos. Battery still can hold more than 1day. Applause for OnePlus 6.
[OnePlus 6 Questions & Answers] TechOut:
SOT will also depend on standby time of your using your phone constantly with low standby time then you tend to get more SOT
[OnePlus 6 Questions & Answers] OPO13R:
There have never been any battery life issues, it's an ancient belief that started with the OnePlus ONE.. Battery life is always measured by your last battery cycle. If you barely use your phone for one cycle, you will have a high SOT for the next battery cycle, if you keep playing games all day, the algorithm will estimate a lower SOT. The time when you decide to start charging your phone again will also have in an impact on SOT. It's all about ESTIMATION, not precise and factual stats.
[OnePlus 6 Questions & Answers] Cst79:
It's definitely (a bit) better than 5.1.5. I can get 50h of standby with 6.5h SOT:
[OnePlus 6 Questions & Answers] hallo dare:
Having serious issues since updating
[OnePlus 6 Questions & Answers] LeKeiser:
mmmh... stupid question of course, but have you done a wipe cache? Looks like you really need one.

---------- Post added at 06:08 PM ---------- Previous post was at 05:43 PM ----------

stupid question but have you done a wipe cache? Looks like you need one (Android System)
[OnePlus 6 Questions & Answers] hallo dare:
Yep, sure did. Last night. Absolutely floored me today when I seen this. Not sure what's wrong
[OnePlus 6 Questions & Answers] LeKeiser:
maybe try clearing Google Play service Data?

https://www.themobileindian.com/how-to/how-to-fix-android-os-and-android-system-battery-drain-18698
[OnePlus 6 Questions & Answers] hallo dare:
Yeah i done that after seeing the stats today, so won't see the full results until tomorrow.
[OnePlus 6 Questions & Answers] LeKeiser:
will be waiting for your post to see if it worked :)
[OnePlus 6 Questions & Answers] Gdwheel:
My battery life has been poor since the update. I have tried everything short of a full reset.
[OnePlus 6 Questions & Answers] tharmor:
6% by face unlock...wtf...
[OnePlus 6 Questions & Answers] TechOut:
That's really weird but my guess is the screen is getting woken up a lot causing it to search for a face
[OnePlus 6 Questions & Answers] randomA:
Mine is all wifi consumption. Like 15-25%.

Unbelievable.
[OnePlus 6 Questions & Answers] Muntasir Mahmud Saif:
standby drain hasn't improved... I'm still losing 10% overnight where as i used to lose only 2% totally overnight on my Samsung.. that's a downside for me and I'm gonna change this phone now... will keep it but as a secondary phone.
[OnePlus 6 Questions & Answers] Allesa:
Have u tried turning off wifi location scanning?
[OnePlus 6 Questions & Answers] randomA:
indeed i did
[OnePlus 6 Questions & Answers] hallo dare:
Yep, clearing Google play defo solved the issue
[OnePlus 6 Questions & Answers] LeKeiser:
YEAH!!

Thanx a lot for your feedback :) :)

Let's see if it stays this way, if you can post again at the end of the week?
[OnePlus 6 Questions & Answers] hallo dare:
Yeah no hassle, will do. Thanks for helping!