Related
Hi,
I have an i9505 which is currently running NF1/1854187. CSC is btu and this was a recent clean install (and I've done the same preiviously)
I did run rooted for about a year. titanium backup to shut off a lot of bloatware with fine grained control, the xposed framework to tweak, and of course root access to use tools like better battery stats, and on occasion a custom kernel. The end result was good stability and power usage. Very happy.
However more apps are blocking root, and some manage to even detect root when using various root blockers, temporary unrooting or EVEN permanent unrooting (supersu). In particular the worst is "skygo" which I like to use to catch some content like f1 when out and about. My corporate software also detects root and wipes all enterprise data the instant it's detected.. plus add in a banking app and comms app, and keeping root was getting tricky.
On to my issue. Quite frequently the phone batter drops far too quicly. Today's example?
- In one hour battery drop is 10% (100->90)
- "Android OS is taking 30 mins of CPU, and 30 mins keep awake
- GSAM confirms 90%+ of the power usage is kernel/android os
- pretty much every user-disable-able app is disabled
- android OS contains loads of processes, making it tricky to track cause
- full wakelock data is not avaulable when not rooted
- user wakelocks total is down in terms of a few minutes only
This doesn't always happen.. sometimes the phone will be well behaved. the drop was around 3%/hour, and then I tried battery guru to limit auto-sync, and it did seem to help when well behaved, dropping usage to say 1.8% , but the core issue occurs with/without
I'm aware of many of the hints/tips of saving power, though I've done many of these.
I've previously seen mediaserver go awol and spin cpu, and deleted my spotify cache. Since then that process has seemed ok
Very frustrating that these silly "can't be root" situations (after all I'm "root" on all my linux boxes and admin on my windows boxes!) actually result in a LESS USABLE handset.
Is anyone else currently going through a similar situation?
I've just again checked settings and disabled airview/sensor related stuff. Next step if that doesn't help is to remove all my corporate sw stack and see how thing go - a frustrating process of elimination. As above I've already gone through a full reset with no help
try rerooting the phone then install SuperSU and choose FULL UNROOT. if you need to have a phone that will work with Sky Go etc. I've done this hundreds of times on the phone and it works guaranteed to get SkyGo working, so long as you have STOCK KERNEL. I am yet to find a custom kernel that does NOT autoroot, or mess up SkyGo in some other way. So be sure to be on stock kernel then FULL UNROOT.
As for the battery drain, have you updated to the latest version of SkyGo? Most of the old versions had some SEVERE wakelock issues where the app would be constantly running in the background and draining battery like mad. If you update to the latest version I've had very good results with it. Failing that you can drag the apps icon to the top of the screen where it says "app info" and from there you can "force stop" the app. I bet that this is the app which is killing your battery at present.
try rerooting the phone then install SuperSU and choose FULL UNROOT. if you need to have a phone that will work with Sky Go etc. I've done this hundreds of times on the phone and it works guaranteed to get SkyGo working, so long as you have STOCK KERNEL. I am yet to find a custom kernel that does NOT autoroot, or mess up SkyGo in some other way. So be sure to be on stock kernel then FULL UNROOT.
[/QUOTE[
Many thanks for that very clear, specific information. I had applied a custom kernel, and unrooted that - a classic error, changing two things at once. That did not work, with sky complaining about root - though the other apps were ok (sky are smart....)
With that information it gives me much more confidence I can indeed root/unroot the stock kernel, so I'm going to try that - at least it will let me tweak what packages are enabled - ie disable some of the samsung stuff I don't want/need that isn't user-disable-able. Any other thoughts welcome
Gloris said:
As for the battery drain, have you updated to the latest version of SkyGo? Most of the old versions had some SEVERE wakelock issues where the app would be constantly running in the background and draining battery like mad. If you update to the latest version I've had very good results with it. Failing that you can drag the apps icon to the top of the screen where it says "app info" and from there you can "force stop" the app. I bet that this is the app which is killing your battery at present.
Click to expand...
Click to collapse
Oh yes I'm bang up to date - my issue seemed more with one of the ootb packages rather than skygo. I have had the sky go issue in the past, but only when it's previously been run. I'm very used to wakelocks, and the user app wakelocks were well under control. That being said it's still annoying you can't get the app level breakdown unless rooted.
Anyway thanks again, that info about sky go/stock kernel/rooting was so helpful
Nigel.
Just to confirm root, unroot worked fine...
I disabled more apps with titanium backup. I didn't quite get as far as installing the xposed framework again, this stint was purely to prune down the apps somewhat. If that works/is stable I can tweak further
A little shame it requires hooking up to the pc to root again, but it's better than nothing!
SkyGo is still working, and corporate email threw a wobbly (by design) but is working again after the reroot
you don't need a pc to reroot though......store the towelroot apk on your phones mem card and just reinstall it from the phone (go to file managed, mem card, select the apk and install). then download supersu from play store, update, reboot, update.reboot. done. that's the good thing about using this method to root/unroot, you can do it all from the phone directly, no need to use a pc at all
::EDIT::
1 - root with towelroot
2 - install SuperSU from PlayStore and attempt to open and update binary (it may fail)
3 - reboot and open SuperSU again, if it again asks to update binary it will work this time, reboot once more).
4 - set up your options in SuperSU (e.g. no notification, trust system user etc).
5 - do whatever you need to do with root
6 - to UNROOT just choose "Full Unroot" option within SuperSU app, THEN also uninstall towelroot.
7 - Reboot and you'll be UN rooted and apps like SkyGo etc will work perfectly.
8 - If you need to re-root, repeat the process from step 1.
Thanks again. I'd been using cf auto root for a few years. Hadn't tried towel root. Thanks for the tips. Very helpful
The 5.0 update is being forced onto me like crazy. Right now I am quite upset at whomever is developing Android, I guess google, not very knowledgable about it. Anyway, it's worse than Microsoft in forcing the update down my throat.
It started with the notification, which I could not get rid of no matter what I tried, but I lived with it. Then, android *insert censor word here* me by downloading the entire update in the background while on mobile data. I'm pretty much now at my limit, and I still have 25 days to go in the billing cycle. And now apparently since it's downloaded, it keeps "refreshing" my notification that the update is downloaded and ready to install, which I am afraid that if I ever need to restart my phone (freeze, etc), it will automatically install it, risking my data.
How can I stop the update?
First, can anyone please tell me how can I find the OS update folder to delete the update that was downloaded? I believe in doing so it will not automatically update if I need to restart my phone.
2nd, is there a way to stop the notification? Basically I want to update my OS when I am ready to 5.0.
Currently running Vanilla OS, 4.4.4
Thank you.
Google officially maintains android.... It's the one who has built lollipop... No. It will keep forcing you.. If you have root.. Check in the root folder for the downloaded OS and erase it.. That should help I think
Sent from my Nexus 4 using XDA Free mobile app
Do I have to root my phone in order to have access to the folder where the download was downloaded?
Messerschmitt262 said:
Do I have to root my phone in order to have access to the folder where the download was downloaded?
Click to expand...
Click to collapse
I just ignore the update messages at every new update. I don't dare do any updates at version .0 until at least the next release and when all apps have been updated as well; who needs the headache. Now if indeed the OS would eventually update itself without my knowledge, that would be very, very troubling as I might not have the most recent nandroid and titanium backups, but that has never happened to me in the past.
Without root, you can press the update notification, tap app info, and the untick show notifications. The problem with this is that you will stop all notifications from google play services. If you get root, than you should install xposed and then install the notify clean module, which will hide the update notification and only the update notification, nothing else.
My problem is now that the update has already been downloaded, and I am afraid that if I will ever need to restart the phone, it will automatically start updating at the next boot.
That is what I did until now, I ignored the update messages, but it somehow got pushed into my phone.
Messerschmitt262 said:
My problem is now that the update has already been downloaded, and I am afraid that if I will ever need to restart the phone, it will automatically start updating at the next boot.
That is what I did until now, I ignored the update messages, but it somehow got pushed into my phone.
Click to expand...
Click to collapse
Back up your phone and clean it off. I had 5.0 on my phone for exactly 24 hours before I wiped it and started over. Did not like it at all.
I went from 4.2.2 to 5, no looking back. My Nexus has had a new lease of life. The battery was barely lasting a day and it's now 30% better! No bugs or issues, it's running as smooth as a baby's bottom. Only one of my (free) apps isn't compatible, I can cope with that.
Sent from my Nexus 4 using Tapatalk 2
Sent from my Nexus 4 using Tapatalk 2
I just want to delete the already downloaded update. Could anyone point me in the right direction how I can do that?
Messerschmitt262 said:
I just want to delete the already downloaded update. Could anyone point me in the right direction how I can do that?
Click to expand...
Click to collapse
/cache/
Since that folder is empty, I assume I will have to root my phone?
I've had my Note 4 for a while and after a few Lollipop update incidents I finally after a lot of hesitation decided to root my phone (with the TWRP bootloader) and disable the update notifier. Since then, I've always stuck to the latest stock version of KitKat 4.4.4.
Since I've rooted my phone, I made the following modifications that require root priviliges: I installed XPrivacy mod, YouTube AdAway mod, NoSafeVolumeWarning mod, PlayPermissionsExposed mod, and CrappaLinks mod for the Xposed framework. I also installed Titanium backup to freeze/uninstall the updater and AdAway. After XPosed was installed I had to change a line in /system/build.prop to 'ro.securestorage.support=false' to make 'S Health' work again. I did that with the 'FX' app.
That's it, I had made no more modifications and the phone seemed to work quite well for a month or so.
Two days ago I decided to try out Instagram, I've been quite wary with social apps but figured Instagram shouldn't hurt and everything was fine. Then I installed a bunch of dating apps, I started with Match.com and Tinder. Tinder didn't work because it required FB and Match didn't work because it refused to, probably because of denied permissions with XPrivacy so I gave up on them and uninstalled them.
But I also installed OkCupid and Motesplatsen and enjoyed playing around with these apps. They didn't seem to interfere with XPrivacy and worked rather fine. Motesplatsen was rather intense with sending me notifications of girls who watched my profile and sent me (rather strange) messages whereas OkCupid was rather calm.
Then something strange happened.
Yesterday I started noticing that the battery was draining considerably faster than normal during normal day. It was almost empty whereas it usually is half full after a full day, I also noticed that the phone was unusually warm. I forgot to put it on the charger and woke up today with a dead phone. I put it on charge and after about an hour the battery was full again.
When I tried to turn on the phone it was stuck on boot loop. I first tried disabling XPosed by "touch /data/data/de.robv.android.xposed.installer/conf/disabled" using the 'terminal' tool in the TWRP bootloader. It didn't help. I tried flushing the cache/dalvik cache but it didn't work either. Then I did a total factory reset, but that didn't work. I noticed that during boot, the phone froze so hard that it doesn't even respond to button pushes. I had to take out the battery to reboot (that's one reason why I never will buy S6).
So then I decided to flash the phone with stock KitKat once again using Odin and that finally restored the phone.
Now, here's one of my questions, how can things go so bad with a phone that not even a factory reset will fix it? We're talking stock firmware here, albeit it is rooted.
What boot logs could be worth looking into when such a thing occurs and what is the easiest way to extract them? The terminal tool in the bootloader seems promising, plus I saw a 'copy log to SD' option which I neglected this time.
I'm puzzled, does anyone know what happened? I made no root modifications in the process of installing these apps and they don't advertise themselves as needing root privileges. How can a seemingly inconspicuous app directly from Google play **** a phone up like that?
Since Lollipop 5.1, Android optimize the apps at every reboot (359 apps), it takes around 20 minutes each time. My phone is encrypted and it does that with or without SD card. Did anyone notice a similar behavior?
1) Tried to remove SD
2) Tried to clear Dalvik
No changes.
difto said:
Since Lollipop 5.1, Android optimize the apps at every reboot (359 apps), it takes around 20 minutes each time. My phone is encrypted and it does that with or without SD card. Did anyone notice a similar behavior?
1) Tried to remove SD
2) Tried to clear Dalvik
No changes.
Click to expand...
Click to collapse
On my phone a window shows up on a reboot that Android is optimizing apps, but it takes 3 sec. Your seems like you have just upgraded Android OS and it prepares apps for that. It could be that update didn't really go well. I have never encrypted my phone, so that could be something... If nothing helps, factory reset could work, but make sure that your sd card is decrypted before reset(if you have it encrypted too)
Same here, thought that xposed is the cause but it seems that other have this issue without root.
Sent from my D5833 using XDA Free mobile app
smardu said:
Same here, thought that xposed is the cause but it seems that other have this issue without root.
Sent from my D5833 using XDA Free mobile app
Click to expand...
Click to collapse
I did not have xposed when it began... I have root though
Charkatak said:
On my phone a window shows up on a reboot that Android is optimizing apps, but it takes 3 sec. Your seems like you have just upgraded Android OS and it prepares apps for that. It could be that update didn't really go well. I have never encrypted my phone, so that could be something... If nothing helps, factory reset could work, but make sure that your sd card is decrypted before reset(if you have it encrypted too)
Click to expand...
Click to collapse
The issue with encryption is that the recovery cannot access the data partition and so cannot fix file permissions which could be an explanation for the issue.
Though rarely it only optimize 1 app usually it's all of them...
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
I had root in 5.0.2 then went to 5.1.1 but had to use flashtool as the over the air update kept failing (because I had root? I undid root and still had the same problem).
So when 5.1.1 loaded I had the same issue you are having, and I found I couldn't get root so I flashed it again 5.1.1, still the apps optimising every boot.
So flashed it to 5.0.2 again, took root again. Rebooted and the apps still had to optimise again (far less apps though, like 170 compared to 350 on 5.1.1).
Do I flashed it back to 5.1.1 and now it seems to all work fine.
No idea what the issue was.
BTW I used the UK firmware for both versions.
Pyres said:
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
Click to expand...
Click to collapse
I already have this issue once. I don't reboot often, but I doesn't happen at each reboot...
Pyres said:
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
Click to expand...
Click to collapse
Actually this is the same as me, tries to boot ~2 min then reboot and optimize. I will try to reflash the zip pre-rooted.
I have had the same. I was on 5.0.2 with root. Updated to 5.1.1 with flashtool (as OTA no possible due to root). Had extensive battery drain and flashed back to 5.0.2 and then this boot problem. Only when I did a factory reset everything was fine again. I suppose clearing the cache/dalvik cache is not sufficient. Better to save all apps and data (Titanium backup for example), reset the phone and apply the update. Root with pre-rooted 5.1.1, then apply your backup ...
Brgds
omg
omg1010 said:
I have had the same. I was on 5.0.2 with root. Updated to 5.1.1 with flashtool (as OTA no possible due to root). Had extensive battery drain and flashed back to 5.0.2 and then this boot problem. Only when I did a factory reset everything was fine again. I suppose clearing the cache/dalvik cache is not sufficient. Better to save all apps and data (Titanium backup for example), reset the phone and apply the update. Root with pre-rooted 5.1.1, then apply your backup ...
Brgds
omg
Click to expand...
Click to collapse
That's what I did, solved the problem.
I've had this problem for quite a while. my phone is stock, unrooted. I have encryption enabled (required to get work email through Mobile Iron). I observe that this issue (double boot w/ optimize apps) starts after a software update. the only way I have resolved this is by wiping the phone completely and rebuilding my apps and customizations which is quite time-consuming. is there anyway to resolve this without wiping? And for the 1st time, the issue came up just last week but this time there was no software update that preceeded it. is this really just a fact of life when using Android with encryption enabled or is this just an Xperia-specific issue?
I have the same issue on my work issues Xperia Z3. 20 minutes per reboot. It's brutal. Not a good look for Android.
First of all, I know you just can't update modified stock ROMs with OTA updates, it's just that Huawei Updater keeps downloading the OTA Update and prompts me to install it every other time I awake my phone. Just wanted to know if there's any way to stop it from trying to update the phone, maybe killing a service or something. Also, I believe this constant waking is swallowing my battery, since Android OS is on top.
Potentially dangerous but you can Find the app and freeze it with titanium, or even uninstall it
KillerDam said:
First of all, I know you just can't update modified stock ROMs with OTA updates, it's just that Huawei Updater keeps downloading the OTA Update and prompts me to install it every other time I awake my phone. Just wanted to know if there's any way to stop it from trying to update the phone, maybe killing a service or something. Also, I believe this constant waking is swallowing my battery, since Android OS is on top.
Click to expand...
Click to collapse
Go to settings,updates, in options there you have two things to slide them off. Do it. Then close that notification. Thats all