Magisk keeps asking me to install it - Magisk

Hi. I rooted my S6 with magisk, but there is an issue where root randomly disappears. It happens within 2 minutes of the phone booting or whenever I launch and close the app. What could be the issue?

Possible culprits:
Aggressive battery optimisation.
MagiskHide fails to remount files after hiding.
Something completely different.

Didgeridoohan said:
Possible culprits:
Aggressive battery optimisation.
MagiskHide fails to remount files after hiding.
Something completely different.
Click to expand...
Click to collapse
Check response below. Don't know how to delete.

Flashed custom kernel, thought it helped. Wrote a long reply. It showed that it's uninstalled 10/10. Trying to disable the samsung useless battery manager. Where can I find the logs for MagiskHide?

TheHurtmaster said:
Flashed custom kernel, thought it helped. Wrote a long reply. It showed that it's uninstalled 10/10. Trying to disable the samsung useless battery manager. Where can I find the logs for MagiskHide?
Click to expand...
Click to collapse
The logs that might show something would be Magisk log, but preferably the magisk_debug.log, and possibly a logcat.

Didgeridoohan said:
The logs that might show something would be Magisk log, but preferably the magisk_debug.log, and possibly a logcat.
Click to expand...
Click to collapse
In your signature I saw that there's a troubleshooting guide. One of the solutions is to see if there's a faulty module. It seems that Pixel Experience doesn't like my phone that much. I left the phone alone for 4 hours so far and Magisk is still there. I found the culprit!

I'm just going to stop saying that it worked because I keep jinxing it. Here's the log. From what I see, it could be a battery optimization problem.
Edit: Debug log added too.

Disabled Samsung's battery optimization and android battery optimization that google implemented. Didn't help.

Did you ever figure this out? Keeps happening to me. Would the EX Kernel Manager's powersave cause this? Switching between performance and powersave is when I typically notice this... Will be pretty bummed if that feature won't work.
Running Pixel Dust on Pixel XL

Related

[Q] Xposed FC w/ over 7 modules on VZW S5

I have been having a persisting force close issue that I initially thought was linked to Greenify. "Unfortunately, Context Service has stopped" after every call I made or received, and upon booting the phone. Trial and error have caused me to find the only thing that allows me to run Xposed without any issue is having 7 or less modules enabled. I can switch between modules. For instance, I had Xposed Torch enabled and things were fine with 7 modules. I installed Xtoast, rebooted, and instant error/FC. Repeats no matter how many times I reboot. I uninstall Xposed Torch, which was just working perfectly fine, and leave XToast installed. Reboot and no error. Rebooted over and over to ensure, no error. Switched a few modules around to ensure, and it seems to not matter what modules I have installed. I have no issues whatsoever running Xposed as long as I only have seven modules installed, but if I go to install an 8th, no matter what it is, I immediately get Context Service force closes. I have not found anything on here about a definitive amount of modules you can install, so I can only hope someone has a clue what could be going on. Normally I'd look to the Logcat, but it doesn't seem to be a specific module causing this. I'd really appreciate any help any of you might have. Xposed has a lot more to offer for me than you can cram in seven modules.
Logcat? The Xposed log may not show you anything but an unfiltered logcat will.
GermainZ said:
Logcat? The Xposed log may not show you anything but an unfiltered logcat will.
Click to expand...
Click to collapse
You mean the full logcat I create through adb? If so, do i need to produce the issue while the phone is one and then take the logcat? Phone has been rebooted since the last time i got the FC, just don't want to waste time learning to upload and uploading a logcat now while phone is working if I need to re-create the problem first in order for it to be useful. Definitely will take the time to upload a logcat because I would really like to fix this issue, I just wanna make sure I do it correctly.
wrongway213 said:
You mean the full logcat I create through adb? If so, do i need to produce the issue while the phone is one and then take the logcat? Phone has been rebooted since the last time i got the FC, just don't want to waste time learning to upload and uploading a logcat now while phone is working if I need to re-create the problem first in order for it to be useful. Definitely will take the time to upload a logcat because I would really like to fix this issue, I just wanna make sure I do it correctly.
Click to expand...
Click to collapse
Enable 7+ modules so that the issue will be reproduced on next boot.
Reboot and start the logcat while the device is booting.
Wait till you see the FC and stop the logcat.
Upload the logcat.
Thanks for your reply. I just figured out the problem, thankfully.. I was preparing to do what you said, and I for some reason thought to reinstall Busybox before installing an eighth module and rebooting. My Busybox install must have been faulty. After reinstalling it said I had just reinstalled the same version as previously installed, but now I am back to nine modules and no problems.
scratch that, problem keeps getting weirder. Installed Wanam Xposed again and the issue came right back, uninstalled and the issue came back until I went back down to 7 modules and now no issue. I'm so confused..
wrongway213 said:
scratch that, problem keeps getting weirder. Installed Wanam Xposed again and the issue came right back, uninstalled and the issue came back until I went back down to 7 modules and now no issue. I'm so confused..
Click to expand...
Click to collapse
Honestly can't say anything without a logcat, please grab one.
You should also be able to use an app to do it (e.g. CatLog) since your device is booting. Just start the app as soon as your device boots.
GermainZ said:
Honestly can't say anything without a logcat, please grab one.
You should also be able to use an app to do it (e.g. CatLog) since your device is booting. Just start the app as soon as your device boots.
Click to expand...
Click to collapse
FC is not currently happening, but I just downloaded Catlog and I am still getting a lot of errors in my logcat.. makes me curious as to whether my issue can be pinpointed without messing things up yet again. I attached my logcat filtered for "error", if you are able to discern anything from it, please do let me know what you find. If not I'll be sure to load Catlog at boot and grab one if the error does occur again. Thank you for recommending Catlog, by the way, SO much easier for a new guy like me than terminal emulator/ADB.
Edit: I see you mentioned an unfiltered logcat earlier, but honestly I do not know what I am doing with logcats at all, and as the error is not occuring right now I thought it might be a little unnecessary to look through a million lines of text.. I figure this is short enough that if something sticks out I can fix it, if not I can run Catlog again if the problem persists.
F/C All devices
All of my androids device using Xpose are force closing, well apps that are associated with it. Only fix I could find is older download..it seems the update had issues..
wrongway213 said:
FC is not currently happening, but I just downloaded Catlog and I am still getting a lot of errors in my logcat.. makes me curious as to whether my issue can be pinpointed without messing things up yet again. I attached my logcat filtered for "error", if you are able to discern anything from it, please do let me know what you find. If not I'll be sure to load Catlog at boot and grab one if the error does occur again. Thank you for recommending Catlog, by the way, SO much easier for a new guy like me than terminal emulator/ADB.
Edit: I see you mentioned an unfiltered logcat earlier, but honestly I do not know what I am doing with logcats at all, and as the error is not occuring right now I thought it might be a little unnecessary to look through a million lines of text.. I figure this is short enough that if something sticks out I can fix it, if not I can run Catlog again if the problem persists.
Click to expand...
Click to collapse
I'm asking for an unfiltered logcat because not all useful lines will contain "error". Filtering for " AndroidRuntime" is usually enough, but it's safer to just upload the whole thing.
Anyway, please upload one when you can reproduce the issue. I see some errors related to secure storage in your log but I don't think that's related to anything.
jon3640 said:
All of my androids device using Xpose are force closing, well apps that are associated with it. Only fix I could find is older download..it seems the update had issues..
Click to expand...
Click to collapse
Well, if it is a problem with the framework, it won't be fixed unless you help out by posting a logcat.
GermainZ said:
I'm asking for an unfiltered logcat because not all useful lines will contain "error". Filtering for " AndroidRuntime" is usually enough, but it's safer to just upload the whole thing.
Anyway, please upload one when you can reproduce the issue. I see some errors related to secure storage in your log but I don't think that's related to anything.
Well, if it is a problem with the framework, it won't be fixed unless you help out by posting a logcat.
Click to expand...
Click to collapse
problem came back again for no reason, only 6 mods enabled and all have been stable for days... restart phone because i was getting a crazy mms wakelock in bbs. here's the logcat with the "unfortunately, context service has stopped" both from just automatically happening and i triggered it by having my girlfriend call me. i then disabled xposed, restarted and no problems, so i took a logcat of that to show how my phone runs normally in case you need it. let me know if you do and i will upload that as well.. if you can find anything in here i will greatly appreciate it. i can't even use xposed at this point, i'm worried i'm either damaging my phone or possibly missing calls/texts/notifications. thanks for your time in advance.
It's an ANR (Application Not Responding) error, so I'm guessing your phone kinda hangs for a bit before showing you the dialog?
It doesn't seem to be related to Xposed at all, though. It's Samsung's "Context service" (com.samsung.android.providers.context), so I'd personally try checking for a system update before anything else. You're likely to get more help in the S5 section (since the problem isn't related to Xposed), through it looks like no one else has this problem.
It hangs for a second, but those errors don't stop things I can see, just errors. I have to admit, I don't quite understand, if it's not related to Xposed, why would it only happen with certain modules enabled? That's why I assumed it was xpoaed related to begin with. Do I need to Odin back to stock? I don't want to damage my phone but I don't know anything about that error or if it could he damaging.. Sorry for the text wall. Thanks for being so helpful.
Sent from my SM-G900V using XDA Free mobile app
wrongway213 said:
It hangs for a second, but those errors don't stop things I can see, just errors. I have to admit, I don't quite understand, if it's not related to Xposed, why would it only happen with certain modules enabled?
Click to expand...
Click to collapse
Coincidence, I'd say. You'd probably get the same thing without Xposed, but as you've noticed it seems to happen semi-randomly, so chances are you weren't "lucky" enough.
wrongway213 said:
Do I need to Odin back to stock?
Click to expand...
Click to collapse
If you're using a custom ROM, you could also report this problem to the ROM dev with the logcat and ask him if his base is up to date or if there's anything he can do about it.
wrongway213 said:
I don't want to damage my phone but I don't know anything about that error or if it could he damaging..
Click to expand...
Click to collapse
It's mostly just annoying, there should be no permanent damage of any kind.
GermainZ said:
Coincidence, I'd say. You'd probably get the same thing without Xposed, but as you've noticed it seems to happen semi-randomly, so chances are you weren't "lucky" enough.
If you're using a custom ROM, you could also report this problem to the ROM dev with the logcat and ask him if his base is up to date or if there's anything he can do about it.
It's mostly just annoying, there should be no permanent damage of any kind.
Click to expand...
Click to collapse
could it be related to s health? i know this isn't the s5 forum, but i see under app info on s health there is a "com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY".. i have heard people talk about having issues with s health and xposed. could that permission be the context service error i am getting, based on what you have seen in my logcat?
wrongway213 said:
could it be related to s health? i know this isn't the s5 forum, but i see under app info on s health there is a "com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY".. i have heard people talk about having issues with s health and xposed. could that permission be the context service error i am getting, based on what you have seen in my logcat?
Click to expand...
Click to collapse
I didn't see anything related to S Health, but it might've related to the secure storage (though I'm not sure if that's a stock Samsung thing or if it's activated by the user).

Rooted Xperia SP 12.1.A.1.205. What next?

Hi,
Let me apologise first for posting this message but I really need help from this forum. I rooted my Xperia SP 12.1.A.1.205 using Towelroot & then installed SuperSU & gained complete root access.
I'm completely clueless regarding all this. I want to know what should I do next? I want to improve my phone's battery life and work on other features. How do I do it? This is the first time I rooted my phone. I have zero knowledge regarding this.
Please help me in improving my battery's life and let me know what should be my next step. Would be highly grateful if someone guides me.
Thanks!
rajsampad said:
Hi,
Let me apologise first for posting this message but I really need help from this forum. I rooted my Xperia SP 12.1.A.1.205 using Towelroot & then installed SuperSU & gained complete root access.
I'm completely clueless regarding all this. I want to know what should I do next? I want to improve my phone's battery life and work on other features. How do I do it? This is the first time I rooted my phone. I have zero knowledge regarding this.
Please help me in improving my battery's life and let me know what should be my next step. Would be highly grateful if someone guides me.
Thanks!
Click to expand...
Click to collapse
You will have a glorious day experiencing new stuff if you search through Google. But no worries I will give you some head start suggestions.
I recommend Xposed Framework to be installed on your phone. Learn about it here. With it you can now modify your ROM to be as best as possible as per to your need. Some module recommendations, you can use GravityBox to modify some nice visual appearances on your ROM. You might also use GEM Xperia Xposed to advancedly modify your Xperia home screen. You will also find YourTube interesting as it allows you to change how the YouTube app behaves.
Battery saving is a lot better with Xposed installed. By using Greenify you can hibernate RAM hogging plus battery killing app. Also with Amplify you can drastically reduce battery draining caused by Google services.
Last but not least, you may also experience the bigger picture, by installing recovery and flash a new ROM on your phone (but this is a practise that requires accuracy when doing it). Think about KitKat, you can have it on your phone by selecting one of many wonderful ROMs built by wonderful Xperia SP developers.
I hope you can get some pictures with this post.
ROM = Firmware = Operating System
Flash = Push files into the higher level file system
Hi!
Thanks a lot for taking out time and replying to my query. So you're saying that I should first install Xposed Framework? I don't want any fancy looking theme or design for my SP. I just want a simple layout. My only concern is to improve my battery's life. Nothing else
So should I only install Xposed Framework and then install Amplify? Will this much do?
Thanks a lot once again!
Hi again,
I installed Xpose Framework successfully and Amplify. I even bought Amplify pro version. I don't think my battery life has improved. I guess the battery is discharging faster than it used to. Can you please guide me in helping this problem? Without WiFi, I love 1% charge in 5 minutes that too in flight mode. If I go through the menu for some time, I lose battery.
I successfully rooted, installed Xpose and Amplify. Please help me!
Thanks!
rajsampad said:
Hi again,
I installed Xpose Framework successfully and Amplify. I even bought Amplify pro version. I don't think my battery life has improved. I guess the battery is discharging faster than it used to. Can you please guide me in helping this problem? Without WiFi, I love 1% charge in 5 minutes that too in flight mode. If I go through the menu for some time, I lose battery.
I successfully rooted, installed Xpose and Amplify. Please help me!
Thanks!
Click to expand...
Click to collapse
Installing it only without customising won't help! Take your time to learn the app. Additionally, Amplify doesnt drain more battery on my device. Perhaps something else is? Amplify does not do anything if you haven't modify anything, plus, even if it runs, it uses the system process, which extremely cut-down battery sucking that normally happen with solo processes.
Hey,
Thanks a lot for replying! How do I know which services/alarm to stop in Amplify?
I read few queries in some forums regarding the battery problem and most of the people suggested to upgrade the kernel or something of that sort. Can you please let me know if I should tune my kernel to improve my battery's life and if yes, how should I go about it?
Thanks!
rajsampad said:
Hey,
Thanks a lot for replying! How do I know which services/alarm to stop in Amplify?
Click to expand...
Click to collapse
You don't "stop" them but you "limit" them. The two terms are very different. I am using a different ROM so I cannot suggest a common things for my ROM, but these are standard among devices as they are included with play services:
Wakelocks
NlpWakeLock
SyncLoopWakeLock
NlpCollectorWakeLock
Alarms
com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR
com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION
Services
This feature is new, and there's currently no known safe services to be limited with Amplify
rajsampad said:
I read few queries in some forums regarding the battery problem and most of the people suggested to upgrade the kernel or something of that sort. Can you please let me know if I should tune my kernel to improve my battery's life and if yes, how should I go about it?
Thanks!
Click to expand...
Click to collapse
Sorry since you're using stock ROM, kernel modifications are way too limited.
Hello again,
Thank you so much once again for replying. Ok, I get it.
So if I change my stock ROM to some other ROM, will I be able to modify the kernel then? Can you tell me if I should change my ROM..if yes, then can you suggest me how I do it?
You're awesome! God bless you
Ok, this is really annoying. My battery is creating problem for me. I fully charged my phone, and it's been almost 5 hours and I have lost 5% charge that too in flight mode with almost all the services turned off. The display was turned on for 10 minutes only. That's it. Can you please help me in solving this problem?
I have read almost everywhere where people keep their phones in flight mode and they don't even lose 1% after 8-10 hours.
What should I do?
Thanks a lot!
rajsampad said:
Hello again,
Thank you so much once again for replying. Ok, I get it.
So if I change my stock ROM to some other ROM, will I be able to modify the kernel then? Can you tell me if I should change my ROM..if yes, then can you suggest me how I do it?
You're awesome! God bless you
Click to expand...
Click to collapse
Thanks However, this is not an easy process. You should know too that risk of your phone being damaged is quite moderate when performing these tasks. I can't tell you if you should, as it should be completely based on your requirements only. Decide for yourself and try the ROMs for yourself. I may guide you, but this will give you plenty of new questions. And since you are new to android, there are many things that are unknown to you. But these things are well documented / answered if you use the search feature of the forum and Google. Only ask for something that is unique enough.
rajsampad said:
Ok, this is really annoying. My battery is creating problem for me. I fully charged my phone, and it's been almost 5 hours and I have lost 5% charge that too in flight mode with almost all the services turned off. The display was turned on for 10 minutes only. That's it. Can you please help me in solving this problem?
I have read almost everywhere where people keep their phones in flight mode and they don't even lose 1% after 8-10 hours.
What should I do?
Thanks a lot!
Click to expand...
Click to collapse
Sorry, I can't help about this bug in stock ROM. Another person faces this problem as well but unfortunately there are no fix. Alternatively, you can save your battery by changing network mode to GSM only.
Hi,
Thank you so much for replying. I am willing to take the risk. Can you tell me how I should begin upgrading my ROM? I will use the forum in case I face any problem. I just need some one to guide me.
My cell stays in flight mode and I don't even use it. I lose 1% every hour even if my phone enters into deep sleep with only 1% awake time. What is wrong?
I might take my phone to the Sony service centre for a check up. Can you please tell me how do I unroot my phone? I used Towelroot to root my phone and then installed Xposed Framework. How do I make it go back to the original state?
Thanks!
rajsampad said:
I might take my phone to the Sony service centre for a check up. Can you please tell me how do I unroot my phone? I used Towelroot to root my phone and then installed Xposed Framework. How do I make it go back to the original state?
Thanks!
Click to expand...
Click to collapse
To uninstall Xposed, open the Xposed Installer, select "Framework" and then hit the "Uninstall" button. What root application did you installed? Is it SuperSU? If so, you can easily unroot it by searching through its settings.. I am sorry I can't pinpoint to the exact location.
Battery Drain...
The battery drain your getting is probably due to alarm service/google play services/android os. I have the same issue, stock .205 clean and rooted, whenever the alarm is on I get horrible battery drain what makes it worse is that the android os uses excess mobile data which causes the battery drain. I think the alarm has something to do with google play services. There is no problem when the alarm is off, but I need it so cannot turn it off.
It is a very annoying issue that I haven't been able to fix, these running services prevent the device from going into deep sleep hence the battery drain, I typically lose between 23%-30% over night at a rate of ~3% per hour. :crying:
This probably doesn't help your situation but at least your not the only one.
Thanks a lot for replying. Thank you Shin; but my Xperia SP enters into deep sleep mode 99%.
I'm extremely irritated now! I changed my phone and got a new one but still there is battery drain. I rooted it, installed Xposed Framework, installed Greenify (Donation), disabled almost all the useless services yet I lose almost 2% charge every hour that too in flight mode without even touching my phone!
What is wrong with Xperia SP? Can anyone please help me in solving this problem? Please?
rajsampad said:
I'm extremely irritated now! I changed my phone and got a new one but still there is battery drain. I rooted it, installed Xposed Framework, installed Greenify (Donation), disabled almost all the useless services yet I lose almost 2% charge every hour that too in flight mode without even touching my phone!
What is wrong with Xperia SP? Can anyone please help me in solving this problem? Please?
Click to expand...
Click to collapse
Bro, there is nothing wrong with the phone, as I said above it is to do with the software, from my experience the stock based eXistenZ ROM does not have battery drain but still has **** RAM, you might want to give it a try.
Hi,
Thanks for replying! Can you please tell me how do I install it? I have no idea how to do it. What about the RAM problem? Will it slow down my phone?
Thanks!
rajsampad said:
Hi,
Thanks for replying! Can you please tell me how do I install it? I have no idea how to do it. What about the RAM problem? Will it slow down my phone?
Thanks!
Click to expand...
Click to collapse
Here is the thread. Installing is easy, use the locked bootloader version, instructions are provided. In the instructions it says you should be on the 4.1.2 firmware but being on the latest 4.3 firmware is ok. To put it simply all you need to do is download the ROM, root your device (towel root), install superuser (apk), install cwm recovery via windows, flash ROM. If you need more help get back to me.
As for the RAM, it is still a problem even on eXistenZ, I believe it affects all stock ROM/kernel variants. From my experience the device still runs smoothly it is just that there is less free RAM available so the home launcher commonly closes when heavy apps/several apps are opened but it then reopens when returned to.
Here are some links...
Root
Recovery
ROM (link above)

Is this normal?

Hello!
I recently purchased a note 5, and I lose about 15% overnight, if my Wi-Fi/3G is switched on, and around 10% if all data is switched off. Please check the attached picture and tell me if there's anything abnormal. Thanks!
Nope it is not normal. I have the same exact issue after the AOJ5 update and it is driving me crazy. On N920c if i leave the phone overnight I'll wake up to a dead device. I have posted about it on samsung developers too which got ignored. Flashed another kernel and checked the wakelocks and it seems like its an issue with the wifi. Something has to do with wlan_rx_wake. I really don't know what else to do.
Have you tried a factory reset and building your apps up slowly to see if there's an issue with one of them. Also, Better Battery Stats is very good at identifying what is keeping your device awake. My recollection is that that wakelock comes from a data request.
Also, perhaps worth trying to see whether you get the same behaviour with wifi off?
Sent from my iPhone using Tapatalk
apd said:
Have you tried a factory reset and building your apps up slowly to see if there's an issue with one of them. Also, Better Battery Stats is very good at identifying what is keeping your device awake. My recollection is that that wakelock comes from a data request.
Also, perhaps worth trying to see whether you get the same behaviour with wifi off?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
I was thinking of a factory reset. Will it erase my internal sd, as well?
Octa_core said:
Nope it is not normal. I have the same exact issue after the AOJ5 update and it is driving me crazy. On N920c if i leave the phone overnight I'll wake up to a dead device. I have posted about it on samsung developers too which got ignored. Flashed another kernel and checked the wakelocks and it seems like its an issue with the wifi. Something has to do with wlan_rx_wake. I really don't know what else to do.
Click to expand...
Click to collapse
What about flashing a new kernel?
Vivek_Vivek said:
I was thinking of a factory reset. Will it erase my internal sd, as well?
Click to expand...
Click to collapse
I have done factory resets maybe already 10 times. Nothing changes. I have even tested out with no 3rd party apps installed everything stock. The drain is still there.
Vivek_Vivek said:
What about flashing a new kernel?
Click to expand...
Click to collapse
Right now I have the arter97 kernel and it doesn't help the drain at all. The same issue continues. But I noticed that on some wifi networks the drain is worse than on others. A temporary solution is to keep the wifi off during sleep and turn off the phone at nights. I'll try to get some screenshots of the wakelock detector and better battery stats later.
Octa_core said:
I have done factory resets maybe already 10 times. Nothing changes. I have even tested out with no 3rd party apps installed everything stock. The drain is still there.
Right now I have the arter97 kernel and it doesn't help the drain at all. The same issue continues. But I noticed that on some wifi networks the drain is worse than on others. A temporary solution is to keep the wifi off during sleep and turn off the phone at nights. I'll try to get some screenshots of the wakelock detector and better battery stats later.
Click to expand...
Click to collapse
I can confirm that putting the phone on airplane mode solves the drain issue.
@Octa_core did you try installing the debloated stock Rom?
you could refer to this thread:
http://forum.xda-developers.com/note5/help/android-os-battery-drain-stay-awake-idle-t3236660
Vivek_Vivek said:
@Octa_core did you try installing the debloated stock Rom?
Click to expand...
Click to collapse
Well, my rom is pretty much debloated. Just clean stock samsung rom without any carrier bloat. I did purchase the package disabler pro at some point and disabled all the unnecessary stuff. Still no luck. I wrote samsung a feedback on their website. Try also leaving a feedback about the issue if you can. On the samsung support website on top right corner look for "feedback". Then select technical issue and describe the problem. I guess only samsung can fix what they have broken.
Octa_core said:
Well, my rom is pretty much debloated. Just clean stock samsung rom without any carrier bloat. I did purchase the package disabler pro at some point and disabled all the unnecessary stuff. Still no luck. I wrote samsung a feedback on their website. Try also leaving a feedback about the issue if you can. On the samsung support website on top right corner look for "feedback". Then select technical issue and describe the problem. I guess only samsung can fix what they have broken.
Click to expand...
Click to collapse
So.. As of now, there is no fix for this issue, is it?
Octa_core said:
Well, my rom is pretty much debloated. Just clean stock samsung rom without any carrier bloat. I did purchase the package disabler pro at some point and disabled all the unnecessary stuff. Still no luck. I wrote samsung a feedback on their website. Try also leaving a feedback about the issue if you can. On the samsung support website on top right corner look for "feedback". Then select technical issue and describe the problem. I guess only samsung can fix what they have broken.
Click to expand...
Click to collapse
As you're rooted why not try a custom ROM - at least then you have a controlled environment. I am on Dr Ketan's L5 with his modified stock N920C kernel and it's great. If you still have the drain with no apps and no bloat installed on that ROM you have a fault.
Sent from my iPhone using Tapatalk

[Guide]Android System/OS Battery Drain FIX

After Installing Custom Mods and rooting on Oxygen OS I was experiencing a Android System battery Drain .
Also in custom Roms based On OOS I also had the same problem.
I was draining 35-40 percentage of my battery in a charge cycle.
I searched alot past 2-3 days on my phone to see which process is causing this Drain problem.
I found many but stoping them didn't fix it .
Finally today when I found that after SuperSU was installed
It was causing the Drain so I found a fix for this
Fix for all Roms having this problem
-Go to SuperSU app
-Settings menu
-Enable trust system User
-and enable grant permission during boot
-Then put the phone on flight mode and wait for it to cool down.
If this doesn't work
-Try setting default access to grant
-Enable MultiUser access
Hit the thanks button if this helps
Also tell me if this helps in the comments
Remember to follow all steps
Original Post here
https://forum.xda-developers.com/showpost.php?p=71082541&postcount=72
Testing ... I post the result at the end of the cycle.
Doesn't work still battery drain and phone always warm
Sent from my ONEPLUS A3003 using Tapatalk
@Nishidh
Thanks for sharing but both solutions are security risk. Maybe Magisk is solution till SuperSu is fixed (hoping that it IS the culprit).
DrunkenDragon said:
Doesn't work still battery drain and phone always warm
Click to expand...
Click to collapse
Try to delete all of the mkv files. That helps for me. No battery drain at all
i would say "kindda" help. cause still android system drains. but, a bit less then before. i would like to see some more days.
I switched to Magisk and drain is still there so reason is something else seemingly. It has something to do with FW/Modem. We all need to deluge OnePlus with requests to fix this mess.
Helps me
My current battery cycle
For me clearing the Google Play Services database solved the battery drain.
Apps,
Google play services
Storage
Manage Space
Clear all data
I then remained on that screen and restarted the phone into recovery without returning to the launcher.
In recovery clear cache only.
Reboot
Since then I have had no problems at all (though I am running complete stock no root)
No data is lost but you will have to add cards to android pay and set a couple of other items when prompted (like default backup account etc).
Sent from my ONEPLUS A3003 using Tapatalk
I mean no disrespect to the OP when posting this..
Isn't setting default root access to "grant" a crazy big security risk? Potentially malicious apps could reboot recovery in the middle of the night, flash some REAL spyware and feed back all your passwords without you knowing and could compromise your online accounts, still have to be installed first or some exploit would have to be found, but it just seems the risks outweigh the benefits.
Are you sure it's not another app you've consistently installed? F2fs? Clean installs + factory resets? Checked your signal strength lately? Wi-Fi + Bluetooth scanning? Facebook/whatsapp/etc installed? Google location history? Different versions of twrp? Titanium backups? Uncheck the the option in android settings to Backup and restore android apps? Installed several versions of older supersu?[ R4, r3, r2, r1, r2d2?]Franco kernel? [HIGHLY RECOMMEND. All the other kernels I've tried leave my device pretty warm, but franco keeps it cool), or Anoint your phone with luxurious oils, passionately bathe it and whisper sweet things into its microphone? [References here->
]
I just wanted to make my thoughts known, some newer users to root might come by, try and follow these steps hoping for SOT gains, and needlessly compromise their phone in the process.
If you persist in believing cf supersu is the root cause (that's a knee slapper!!) I think trying another supersu might be a better way to go than ticking all those options. Say like, phh's or CWM.
Again, I mean no disrespect to the OP. Just my thoughts.
Forget about SuperSU, You guys have no idea what causes the andriod OS drain after flashing.... So stop blaming kernel, SuperSU, gplay services etc.. The answer is out there in forums.. Feel free to browse and search for it...
sarus_b said:
Forget about SuperSU, You guys have no idea what causes the andriod OS drain after flashing.... So stop blaming kernel, SuperSU, gplay services etc.. The answer is out there in forums.. Feel free to browse and search for it...
Click to expand...
Click to collapse
I saw you also sprayed ppl with their own bs on Blu spark thread. All i can say is I roam those forums a lot myself but haven't come across a clear stating about these issues (apart from the SELinux shenanigans). So what about you flood us with your great wisdom instead big boy?
FlyingMachete said:
I saw you also sprayed ppl with their own bs on Blu spark thread. All i can say is I roam those forums a lot myself but haven't come across a clear stating about these issues (apart from the SELinux shenanigans). So what about you flood us with your great wisdom instead big boy?
Click to expand...
Click to collapse
Here you go:
Apparently you claim that you roam this forums and yet you didn't find the answer. Interesting claims.
Anyways here is your answer since even you didmt even fi d answer after roaming..
https://forum.xda-developers.com/showthread.php?t=3034811&page=5
Read it carefully though.. Explains why andriod OS drain battery more in first days (Not cycles) after flashing rom.. More apps, more the drain..
Tl;Dr for lazy people out there... Andriod os drain is present because Google itself has changed how andriod works..
On side note, I don't spread bs.. I just put my observations. It is upto people to fix it and accept the truth or get emo over it..
sarus_b said:
Here you go:
Apparently you claim that you roam this forums and yet you didn't find the answer. Interesting claims.
Anyways here is your answer since even you didmt even fi d answer after roaming..
https://forum.xda-developers.com/showthread.php?t=3034811&page=5
Read it carefully though.. Explains why andriod OS drain battery more in first days (Not cycles) after flashing rom.. More apps, more the drain..
Tl;Dr for lazy people out there... Andriod os drain is present because Google itself has changed how andriod works..
On side note, I don't spread bs.. I just put my observations. It is upto people to fix it and accept the truth or get emo over it..
Click to expand...
Click to collapse
I read this post from Rovo long ago, and I of course was taking about abnormal drains they were occurring long after reinstalls or new ROM flashes. It's well known, the rebuilding of caches etc.. Anyone complaining before this incompressible period should be treated like you do. Also, still thanx for minding sharing something at least and on a SECOND side note, read again, I never said you spread bs, pretty much the other way around, i was just suggesting you enlighten us instead of "spraying people with their own bs" like for example, on the Blu spark thread where I know you were putting whiners back in place. Cheers.
I am using magisk, so what about me?

"Battery usage data isn't available" /data/system/batterystats.bin -daily.xml etc

"Battery usage data isn't available" /data/system/batterystats.bin -daily.xml etc
Got a "new" left over stock Nexus 6 through Ebay, installed lineageos 15.1 nightly, MindTheGApps, root, radio, bootloader. Everything seems to be working nicely, except the Nexus 6 runs pretty warm rather quickly after using it, and I find that the battery is draining pretty quickly. In standby mode it doesn't drain quickly.
But I get no access to battery stats in the settings, because under Battery, it says "Battery usage data isn't available".
There has been talk about this before, but it's all pretty wishy washy. Some people apparently had success by using recovery to clear the cache. Others deleted the /data/system/batterystats.bin file using the battery calibration app from the play store (I know I know, there is no such thing as "calibrating" a battery, but it's just used a tool to delete that file in this case), the one that happens to mention batterystats.bin in its description. Others simply waited a while, and others ended up reflashing. Short of reflashing, nothing has worked. I've tried to manually delete that bin file using Termux and then rebooting. I can see that the file gets regenerated upon boot. What is the reason why the Settings/Battery feature can not show any of its details?
Aside from batterystats.bin, I also see batterystats-checkin.bin and batterystats-daily.xml. Does anyone know anything about those files, and could I perhaps delete them all (or rather, move them into a backup folder so I can place them them if needed), without bricking my phone?
Try using acubattery for some days and see what condition the battery is in. Even if the device is new, left over stock, the battery might really be damaged.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I'm installing that now, thanks.
I just found this: (I'm not yet allowed to post links), youtube: v=dZL2LDAg5cs
So, in developer mode, Android can produce a bug report zip file that you can upload to a special website, that is able to pluck detailed battery usage data from. I wonder if there is an app that can do that instead. I suppose that app would not be able to directly show this kind of detailed information, but would have to be pointed to a zip file that the built-in bug report developer feature stored, eg, in the Downloads directory.
All this is only needed to troubleshoot what the cause of the battery drain is. But yeah, it may well be that the battery is old and stale or whatnot, even though it has not been used for like what, 4 years since it was manufactured. Interesting to find a "new" unopened sealed Nexus 6 on Ebay in 2018 though...
In your first post, you indicated you installed bootloader amongst other things. Did you mean boot? As in a third party kernel? If you really meant bootloader, would you go into more detail on that.
When you first turned on the device, what version of Android was it?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
In your first post, you indicated you installed bootloader amongst other things. Did you mean boot? As in a third party kernel? If you really meant bootloader, would you go into more detail on that.
When you first turned on the device, what version of Android was it?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
I followed the official instructions on how to install LineageOS 15.1. Part of that was flashing the bootloader using fastboot.
I just checked my phone again. It still says "Battery usage data isn't available.".
Accubattery was showing many details on how different apps were using power, but now it's only showing 2 entries. One for settings, and the other "Trebuchet" which I think is the camera app that comes with LOS. Oh, AccuBattery itself spontaneously joined in the list.
Anyway, I don't expect Android to work all perfect, because it's clearly one big pile of make shift goo. Nothing ever works right on it. You have to literally babysit the damn thing fighting problem after problem after problem.
andromoid911 said:
I followed the official instructions on how to install LineageOS 15.1. Part of that was flashing the bootloader using fastboot.
I just checked my phone again. It still says "Battery usage data isn't available.".
Accubattery was showing many details on how different apps were using power, but now it's only showing 2 entries. One for settings, and the other "Trebuchet" which I think is the camera app that comes with LOS. Oh, AccuBattery itself spontaneously joined in the list.
Anyway, I don't expect Android to work all perfect, because it's clearly one big pile of make shift goo. Nothing ever works right on it. You have to literally babysit the damn thing fighting problem after problem after problem.
Click to expand...
Click to collapse
Trebuchet is the LineageOS stock launcher.
i have this same problem with my Alldocube x, it drains pretty quickly and heats up enough I had the urgency to shove it into the freezer, sometimes I stick a block of ice cube on the back metal to counter the heat, I am only using youtube.
Along with this annoying heating problem is the battery drain and no battery usage problem.
I also tried resetting, reformatting, clearing cache etc.
im loving the Tab S4 screen on this and I cant go back to petty LCD tablets.

Categories

Resources