yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] mohamedalafifi:
I unrooted my phone but after that battery drain fast

and i checked battery usage and found that display and Android os media server stay wake and high battery drain please i need solution without rooting again i need official firmware
[Android Q&A, Help & Troubleshooting] 259151andrew:
this is not official firmware, but it does work. i recommend you get the latest cyanogenmod out for your device. it's built with extra tweaks to maximize performance and save battery. or you could flash battery saving mods. either way you'll need custom recovery

Your other option would be to root and use xposed framework and get modules to save battery. and for rooting you will generally need a custom recovery, or you could use apps like kingroot, i think kingoroot works better than kingroot for samsung devices.

also turn your brightness down.
[Samsung Galaxy J5 Questions & Answers] pyrmd:
I tried to install xposed framework. It never booted. I flashed uninstaller. Then it booted up. Can I have xposed on stock ROM?
[Samsung Galaxy J5 Questions & Answers] NeoZX58:
yes you can, but you need the framework modified by wanam: http://xdaforums.com/xposed/unofficial-xposed-samsung-lollipop-t3180960
[Galaxy Note 4 General] Trex888:
I know lot of users facing this issue after marshmallow update so i decide to made this thread.

I have n910t and i have multiple batteries but phone everytime shutdowns at 15% or 20% after. Updated to marshmallow i did everything i downloaded battery calibration app from playstore but didn't work.

So i figured out how to fix and clear current wrong battery calibration status without root and my phone doesn't shut down at 15 or 20% anymore.

1,open dialer and dial *#0228#

2,after dialing *#0228# the battery status menu will popup.

3,hit ( quick start ) at bottom of the screen in red color

4,hit ( yes ) and go to settings/battery and disable fast charging for 1 charge only.

5,power off the phone and charge to 100%.

6,turn on the phone and if it shows 97,98,99 plug in charger again and charge to 100%.

7,once it charge to 100% unplug charger and this will create new battery calibration status automatically.now you can enable fast charge again.

8, Next go to play store and download wakelock power app and install it. Open the app and hit (PARTIAL WAKE LOCK) as in screenshot below.

This app will help prevent the device from random rebooting and freezing this app does not require root access.

Download wakelock power app link below.

https://play.google.com/store/apps/details?id=eu.thedarken.wl

THIS METOHOD WORKS ONLY WITH STOCK OFFICIAL FIRMWARE IF YOU ARE RUNNING AOSP ROMS/CYANOGENMOD ROMS/NOTE7 ROMS/S7EDGE ROMS/ OR OTHER PORTED ROMS DIALING *#0228# MAY NOT WORK.

AND IF YOU HAVE VERIZON NOTE 4 THE HIDDEN CODES ARE DISABLED BY CARRIER SO DIALING *#0228# CODE WILL NOT WORK.

HIT THANKS IF THIS WORKS FOR YOU:good:
[Galaxy Note 4 General] ctrlaltdeln:
I am running a debloated rom, do you happen to know what system apps need to be in place to do this?

Some examples I see are,....bluetoothtest.apk, factorycameraFB.apk.
[Galaxy Note 4 General] Trex888:
No idea .

for this method you dont need to mess with anything even no need to be rooted just follow instructions i mentioned in op.

Be aware if you have xposed installed or running cyanogenmod/s7/note7/ based rom it will not work.

You must be on stock otherwise dialing *#0228# won't work.
[Galaxy Note 4 General] mfc719:
30%, no reboot.... 20%, no reboot.... 15%, low battery warnig, no reboot.... 10%, no reboot.... Yeah!!!! THANK YOU!!!!!
[Galaxy Note 4 General] DarkGuyver:
Does this work fix the problem when you switch batteries on the N910C too?
[Galaxy Note 4 General] Trex888:
It should work just follow instructions in op and use 1 battery for couple of days until your device battery status will be perfect.
[Galaxy Note 4 General] DarkGuyver:
Excellent, so I should be able to switch batteries back and forth and charged them on my N910C fully without any problems by doing this?
[Galaxy Note 4 General] Trex888:
Yep hopefully but make sure after recalibrate battery status use 1 battery only for few days
[Galaxy Note 4 General] yomiguy:
Thanks! My girlfriend is waiting for a new free battery due to warranty cover, but in case she keeps having this problem I'll tell her to follow your instructions ;)

Enviado desde mi Galaxy Tab 2 mediante Tapatalk
[Galaxy Note 4 General] jel7:
I'm running a note 7 port and the dialer codes don't work. Does anyone know the correct code for the N7? TIA

I booted into safe mode and tried again, but still get the "connection problem or invalid MMI code" error
[Galaxy Note 4 General] Trex888:
​

Must be on stock to dial this code .

Read op all answers are there.
[Galaxy Note 4 General] phrotac:
I'm posting this for FYI purposes and to thank Trex888:

I was having this problem on TEKHD's Lollipop Rom also, so it isn't just MM Roms that are affected. I bought an 8000 mAh battery with back cover on ebay and it doesn't happen when using it. I can go all the way to 1% without a problem. Any time I use my OEM battery that came with the phone, my phone shuts down at about 24% charge and keeps power cycling. I can't even shut the phone off with the power button because it just turns itself back on and continuously power cycles. If I remove the battery and then put it back in, the phone will stay off. I thought my battery was bad and bought the 8000 mAh battery, which doesn't behave that way. Now, after seeing this thread, I am relieved to know someone found a "fix."

Needless to say, thank you very much for posting a working fix for this issue. I'm going to hit thanks in a few of your posts since I can only thank you once in the OP :)

Thanks again Trex888!
[Galaxy Note 4 General] Simonetti2011:
Following! thanks for the info.
[Galaxy Note 4 General] SEVENEDGE:
Thanks. I tried this on my wife's ATT Note 4. I bought a used one that had MM, then i started noticing it not charging pass the upper 80s. I switched the battery that was in my back up Note 4 Verizon Variant, did what you suggested, and it has charged to 100 twice now. Hopefully this keeps up.
[Galaxy Note 4 General] blaze0513:
Hi

Im using a n7port right now.. and the battery usually torn off at 29÷.. if i install a stock and then do the instructions.. can i go back to n7 port? Or then the problem comes back?
[Galaxy Note 4 General] Trex888:
After do this instructions use stock for atleast 4 days to make battery status perfect.

After that you can flash whatever rom you want but flashing roms again might mess up battery calibration.

Make sure after flashing any new rom turn off fast charging and the phone and charge to 100% te recalibrate battery with new rom.
[Galaxy Note 4 General] jacomail95:
I hope i don't go too OT here, i don't own a Note 4, but my friend asked me to do that for him. These are screens from his Note 4 Snapdragon, he says he uses Nameless ROM with AEL kernel and after tweaking a little, after calibration and some kernel settings, he has obtained this pretty awesome battery life
[Galaxy Note 4 General] CODENEX:
My Note 4 is running on DN7 ROM by Team-Electron. The dialer code for battery status worked and it popped up the status and I went on clicking the red quick start button, it showed a warning window whether the fuelgauge will be recalibrated causing battery issues.

Should I proceed with further steps as mentioned, or are there any reported issues when operated from any Note 7 Port ROM's ??

Thanks.
[Galaxy Note 4 General] Trex888:
Yep you can go ahead and hit yes

But i suggest you try this method on stock non rooted firmware and use for few days.

Once your battery status are perfectly calibrated you can flash any rom you wish.
[Galaxy Note 4 General] CODENEX:
Do you recommend making a NANDROID backup and rrevwet back if any issues found ?
[Galaxy Note 4 General] Trex888:
Having a nandroid backup is always a good thing although this method does not effect nandroid in any way. By doing this method You are just wiping old battery calibration status only and creating new 1 .

Follow instructions and all will be good nothing to worry.
[Galaxy Note 4 General] Trex888:
MAN! 9+hours of Screen on time?:confused: that is redicolous i barely got 5 hours in my entire life with note 4 what exactly tweaking you did I'll be appreciated if you share with us .
[Galaxy Note 4 General] yoyopfk:
Must be extended battery not original capacity
[Galaxy Note 4 General] Trex888:
You mean extended battery like zerolemon 10000 mah ?
[Galaxy Note 4 General] yoyopfk:
For sure. You can't get above 5h-6h SOT with original battery
[Galaxy Note 4 General] jacomail95:
Guys the battery is the original one, believe it or not. This is a friend of mine but he isn't registered on XDA so i talk for him. He said to me the average battery life of his Note 4, even confirmed by almost daily screenshots is 7+ hours. The best of SOT screenshots i posted before, all his work. Nameless ROM, AEL kernel, all log binaries deleted by a little zip created by me so no logs. After that, he applied some kernel settings. But i assure you, the Note 4 is capable of doing that. I own a Nexus 5 with stock 2300 mAh battery and i got 8 h 55 min SOT and you can check that. We try to get the most from our stock battery. You can begin underclocking the device, S800+ series has far too much power we don't need, so it's useful to reduce the max CPU/GPU frequency and raise slightly the minimum CPU one, to avoid immediate raising of power and so the battery drain. We use some little tweaks for daily use, no scripts, no apps to boost battery or such trash, simply our brain :cool:
[Galaxy Note 4 General] yoyopfk:
If you got it on original battery then huge respect to you ! :)

Can you share a bit of your tips and tricks , including "little zip" and cpu/gpu tweaks, please?
[Galaxy Note 4 General] jacomail95:
Well, the little zip i made is simple, it removes from system/bin and xbin all the binaries which contain the "log" letters, so it removes from the system the capability of taking also logcats i suppose, but you can gain a little more battery. Then, if you need logcats you have to reflash the full system of yours. I am not responsible if you do damage. Here it is. I can share only what i've done to my Nexus 5 already posted on XDA, so i don't have to remake the same posts again. Anyway, basicly, try a baseband/radio modem which is more battery friendly than your latest, if it is possible, underclock your device CPU to <1 Ghz (my friend did so also) and use some good governor (you Samsung owner have a bunch of them soooo damn good at battery, i use for my Nexus 5 the blu_active one, but try others like nightmare and such). Well, have a look and see if you can improve also your battery

My settings

http://xdaforums.com/google-nexus-5/orig-development/kernel-t2697951/post69960533

http://xdaforums.com/google-nexus-5/orig-development/kernel-t2697951/post69960942
[Galaxy Note 4 General] Amar.B:
I agree with you.. i remember the first week when i bought my note i was getting 5.30 to 6hrs sot never archived 7+ hrs sot or even 6.30hrs ? after 8 month of use i am getting 4hrs *sometimes less* as a maximum screen on time with full day of use.. i don't play games only phone calls, music "spotify", Facebook using chrome and taptalk.

I am not on a custom rom or even rooted but i do believe that after lots of tweaking you won't archive more than 6:30 hrs sot who ever claims that he could do that please do share your settings tweaks rom extra.. don't you share pictures and make me wonder how did you do that!

Cheers
[Galaxy Note 4 General] jacomail95:
Check the links above your post, this is how i configure my Nexus 5, but i guess also my friend did some things like that on his Note 4. Well, anyway don't expect that battery life if you're using always 4G network or when you're gaming heavy, but 4+ hours max SOT (it happens to me when i play for an hour or more on online multiplayers or 3D games ;) ) His 9+ hours SOT and my nearly 9 hours one (but with a 2300 mAh battery mind you) were achieved by using 2G-Wifi networks. I don't need often a strong connection when browsing for example, since i use Opera Mini as one of the main browsers, and you know it consumes very little bandwidth also with larger websites most of the time. I guess we put it down this way: with the right applications or tricks, smartphones can last longer, no matter the battery (unless this is very very old or broken) :)
[Galaxy Note 4 General] Amar.B:
Believe it or not i never play games nor heavy user. And i am always on wifi network.. i will check your tweaks and see if there any major improvements in battery life.. ☺ cheers
[Galaxy Note 4 General] mha93:
I see that partial wakelock 'keeps the CPU awake'. Will this affect deep sleep?

Edit.

Well this app prevents deep sleep for sure and leaves the phone at it's lowest frequency. Checking to see the impact on battery life.
[Galaxy Note 4 General] Trex888:
Yes it will consume little battery cuz it runs always in background to keep cpu awake at lowest frequency.

But at the end of the day it will save battery and not let the phone to over heating.
[Galaxy Note 4 General] havensea:
In settings you can turn off fast charge.

I was just wondering if I turned off fast charge in Settings {Battery} and followed your steps after that would that work? No need to dial anything. Just curious. I have a T mobile Note 4 with this same problem.
[Galaxy Note 4 General] Trex888:
Only disable fast charging won't help

Because problem is in battery calibration status in your device system.

I tried every single thing and finally i figured out with this method and it did worked you can read all pages many users successful with this.

Follow instructions exactly as in op and use your phone as normal.

After finish these steps you can enable fast charge again.

Make sure use 1 genuine battery only for atleast a week without swapping different batteries after doing this method.
[Galaxy Note 4 General] havensea:
I'll try it. Thank you for the fast response.

Thank you.
[Galaxy Note 4 General] Lal Ayer:
Not working bro

---------- Post added at 05:46 AM ---------- Previous post was at 05:46 AM ----------

Can i replace battery
[Galaxy Note 4 General] livio8749:
Hi guys, first of all I'd like to thank you for your work.

My battery a few weeks ago started to fail to reach the 100% of charge, and the telephone itself started to shut down between 25% and 15%.

Yesterday for the first time I tried this fix, and the phablet charged for the first time in weeks to 100%... but still at 15% shutted down. Is there something else that can I do? Thank you in advance.
[Galaxy Note 4 General] Trex888:
Definitely bad battery .

Replace battery and all will be good.
[Galaxy Note 4 General] Trex888:
Try another battery.
[Galaxy Note 4 General] postulio:
So did this method work to fix your old OEM battery or are you jumping the gun? Did you follow directions exactly? Is the wakelock app really necessary? Did you use the OEM battery for a few days to test this out?
[Galaxy Note 4 General] phrotac:
Yes it did and no I didn't.

No I didn't.

No it isn't.

No I didn't. I switch back and forth depending on my daily needs.

To clarify... In my experience thus far, only the *#0228# was needed to recalibrate battery. The rest seems to me to be a placebo. The only thing I did was *#0228# and then charge the battery, run it down, and charge. I did this three times. That's all I did.
[Galaxy Note 4 General] didier13:
No calibration error with new original Samsung battery, I have just experienced
[Galaxy Note 4 General] phrotac:
I suggest that people also state which custom rom they are using if they're not using a completely stock rom. I was using TEKXodus v7.4 5.1.1 when I tried this fix and it worked for me. No 2 roms, phones, or batteries are the same. Electronic components have "tolerances." Electronics is not an "exact science" due to tolerances.
[Galaxy Note 4 General] DBOCK187:
6,turn on the phone and if it shows 97,98,99 plug in charger again and charge to 100%.

7,once it charge to 100% unplug charger and this will create new battery calibration status automatically.now you can enable fast charge again.

In step 6.....if the phone does show 97,98 or 99..... are we to switch it off and charge again up to 100% or can we just charge it to 100% at that very same moment while the phone is on????

And for comparisions sake what usage time are yous having on your note 4's.

Mine on full charge (100%)

My estimated usasge time remaining says: 11hour 40minutes.

I have an Note 4 910C

Android Version 6.0.1
[Galaxy Note 4 General] Trex888:
After dialing this code you must disable fast charging ang turn off phone and charge atleast 3hours

If it It it shows 100% after reboot then no need to plug in charger again.
[Galaxy Note 4 General] jopancy:
It does work on Note 7 rom/ports too.
[Galaxy Note 4 General] H4TERADE:
ugg

Really wish the code worked on my stock SM-910V, tried EVERYTHING but this.
[Galaxy Note 4 General] phrotac:
Verified. Works on Note4UXedge_v10 ported Note 7 rom.
[Galaxy Note 4 General] nit3hawk:
At step 5, my phone charge up to 65% and stopped. It will not increase no matter how long it is plugged in. Do I power on and charge the phone again?
[Galaxy Note 4 General] Trex888:
Try completly empty your battery then do from beginning.

Make sure you are using original charger and cable.
[Galaxy Note 4 General] phrotac:
This pic is for POC (proof of concept) that this does work (screens hot taken at 9% battery):

This pic is to show that a ported Note 7 TW Marshmellow rom is installed:

NOTE: The model number is being misreported because I hadn't fixed it yet (simple build.prop edit).

The only thing I did was dial *#0228# in the dialer and charge the battery while turned on. I did not turn off the phone at all through 3 charge cycles. I probably just got lucky.
[Galaxy Note 4 General] c.senor:
If the code does not work install Phone Info * Samsung * from play store, and then you find 0228 in the secret codes menu.

It works on ported samsung roms.
[Galaxy Note 4 General] Trex888:
:good:
[Galaxy Note 4 General] a602820922:
I'm having this same problem, any solution for this
[Galaxy Note 4 General] Monostone:
Didn't work with me. I followed all the steps but my phone died at 23%. Plz help
[Galaxy Note 4 General] Trex888:
Definitely a bad battery.
[Galaxy Note 4 General] a602820922:
note 4 common issue, you can keep trying buying new batteries but you newer know and you want find itout .
[Galaxy Note 4 General] mroshan33:
i dont see quick start button below

any solution?
[Galaxy Note 4 General] leeyog:
SO WHAT ELSE,CAN WE DO,plz help me out cauz im running cynogenmod wat way i can do same as *#0228#..its not working
[Galaxy Note 4 General] a602820922:
Buy a new battery that's the only way.

I have bought 6 of them and finally problem is solved. Phone goes down to 1%
[Galaxy Note 4 General] Trex888:
download "phone info samsung" app from playstore from this app you can access secret codes such as *#0228# for battery status but i am not sure it will work on cyanagenmod roms you can try it or just flash the stock rom.
[Galaxy Note 4 General] mirandarose:
i dont have service on my phone so how do i dial that number?
[Galaxy Note 4 General] Trex888:
You don't need service or simcard just open dialer then dial the code and follow the instructions from the first page.
[Galaxy Note 4 General] mirandarose:
Ok but when I type this in nothing happens. I've never rooted my phone or anything
[Galaxy Note 4 General] Soyunamortz:
Did trick brought my note 4 back to life ... Thank you so much .
[Galaxy Note 4 General] Trex888:
If you have verizon note 4 dialing code will not work.
[Galaxy Note 4 General] mirandarose:
I have a US Cellular note 4
[Galaxy Note 4 General] Trex888:
The hidden codes are disabled by your carrier you can download phoneinfo samsung app from playstore from this you can access hidden codes.

Open app and search for battery status. In the codes list.
[Galaxy Note 4 General] a602820922:
https://rover.ebay.com/rover/0/0/0?mpre=https://www.ebay.co.uk/ulk/itm/262408305344

I have bought this battery and after 4 weeks goes down to 0 %

So far so good
[Galaxy Note 4 General] mickey30:
Is there a solution/ procedure for this fix to work for Verizon users of the Note 4? I've tried the "samsung phone info" app to access the secret codes but that doesn't appear to work on stock Verizon Note 4's. Are the secret codes absolutely necessary for the fix? I can disable fast charging without them I believe.
[Galaxy Note 4 General] Trex888:
Only disable fast charging will not help you need to dial that code to clear the wrong battery status and recalibrate the battery with fast charge disabled.

I believe on verizon devices if you have root you can turn on all hidden codes by root explorer because all the hidden codes are disabled by verizon carrier.
[Galaxy Note 4 General] d0ug:
Just buy a new battery for your note4. These reboots/crashes are caused from an aged battery that cant provide the current draw the note requires when it's capacity is low. The phone tries to draw the current it needs, the battery can't provide it and the voltage rails sag causing a crash or reboot.

It is the exact same issue that apple got all that flack for in throttling it's older phones.
[Galaxy Note 4 General] a602820922:
New battery
[Galaxy Note 4 General] brettuss:
What about when new batteries are doing it? I've confirmed it as both myself and the wife have note 4's and I've swapped her "new" battery to see if it does it and it does shut down also. It also seems to empty quickly from 50% to down to 20% but that isn't definite.

Does anyone know where to buy oem or quality replacement batteries without being raped on price?

Our phones are international versions (Australia). Both phones are unlocked for any service provider also. No root yet just stock....
[Galaxy Note 4 General] fanion:
Work great

Can I delete this application after fix ?
[Galaxy Note 4 General] K-See:
I'm trying this on a stock Samsung Note 4.

When I type in the OPs code I get the screen with the battery stats and option to click "Quick start". When I click quick start I get a warning that I'm about to reset the fuelguage and battery stats will become inaccurate, do I wish to continue.

I click yes.

After that my screen goes black for a few seconds and then brings me immediately back to the initial screen with the same battery stats and quick start option. I never get an option to disable fast charge etc.

What am I doing wrong? Any help very gratefully appreciated.
[Galaxy Note 4 General] raul6:
Disable fast charging setting yourself, you will not be prompted if that is what you are expecting
[Galaxy Note 4 General] Trex888:
You have to do all steps manually you won't get any prompt for disable fast charging.

Read op carefully all answers are there.
[Galaxy Note 4 General] lakisha01:
my 915fy was power down every time when battery is below 30%.

After this remedy its good as new.

Thanks a lot. :victory: :highfive: :good:
[Galaxy Note 4 General] padre629:
Few months ago I've tried the solution given by OP, without success.

Past two weeks I've tried again and my phone is still turning off itself when battery level is between 20% and 30%. Battery is brand new.

Definitely I give up and continue using this phone, until it dies. Is a great phone but is driving me crazy sometimes.

Thanks ;)
[Galaxy Note 4 General] nicorb:
Before the fix phone was shutting down at 15%-20% .After fix shutting down at 6% . Also wakelock app is causing fast battery drain .

I' ll try re-calibrating , see if i can get any more improvement and post back. Hope it works eventually.

Battery is new/non rooted att note 4.