Question about battery stats - Nexus One Q&A, Help & Troubleshooting

Hi everyone.
So far I've tried few customized android systems for my nexus one.. and most of them require wipe before installation.
In recovery mode "wipe" menu, there's an item "wipe battery stats". So I wonder what is "battery stats"? what does it do with battery?
Many thanks

I think it erases the battery usage history.

This option deletes power usage logs in /data/system/

Oh many thanks~ now i see

Related

My Hero freezes on Cyanogenmod 7.2 Stable- Possible CPU setting issue?

Hey guys,
I've had CM 7.2 Stable for a couple weeks on my phone. It was
working great until a few days ago when I tried to tweak the CPU
settings a little. Right now i'm using
Governor Smartass V2- Min 352 MHz, Max- 691 MHz
What CPU settings are you all using with CM 7.2???
Since I tweaked it from the default cpu settings I've been
experiencing screen freezes. Sometimes the trackball will work
sometimes it won't. It primarly happens when my phone has been
sitting idle for some time. I'll try to get it out of the lock screen
but it won't respond to my touch. I've tried rebooting, battery pull,
I've also tried lowering and raising the min and max settings. It'll
work periodically and then it will just freeze. Funny thing is I
don't know what the "default cpu settings" were set at. I've been
looking around a lot but couldn't find much.
Thanks!
I have never seen an issue here with 691. My experience though is that smartass 1 or 2 do not work as well as ondemand.
691/352 ondemand
Sent from my HERO200 using Tapatalk 2
kjjjjshab said:
I have never seen an issue here with 691. My experience though is that smartass 1 or 2 do not work as well as ondemand.
691/352 ondemand
Sent from my HERO200 using Tapatalk 2
Click to expand...
Click to collapse
Thanks a lot for the input. I'll try to go back to On Demand. If that doesn't work then maybe I'll just re-flash the ROM.
Tell me do you have any other overclocking apps installed?? Or any kind of app that effects the lock screen??
#Root-Hack_Mod*Always\=LTE
laie1472 said:
Tell me do you have any other overclocking apps installed?? Or any kind of app that effects the lock screen??
#Root-Hack_Mod*Always\=LTE
Click to expand...
Click to collapse
Hi-
I looked at my list of apps to be sure and no extra overclocking app installed. I'm using the default "CyanogenMod Settings" to get to "Performance" and setting the cpu from there. I have not installed any extra lock screen apps or 'lock screen security app' other than what comes preinstalled on CM 7.2. I don't believe I have any app that effects the lock screen. All of the apps I have are fairly simple, mostly developed by google inc. and nothing that tweaks or alters the device (I have Maps, a Speedometer, Navigation.) I try to keep them all closed though with the Task Killer app I downloaded.
I have switched back to OnDemand. So far nothing has changed and it's still stalling up (even though it's only been about an hour.)
Thanks a lot.
Uninstall the task killer. Reboot to recovery. Wipe cache, and davlik cache. See if that helps at all.
#Root-Hack_Mod*Always\=LTE
Update
laie1472 said:
Uninstall the task killer. Reboot to recovery. Wipe cache, and davlik cache. See if that helps at all.
#Root-Hack_Mod*Always\=LTE
Click to expand...
Click to collapse
So I tried raising the minimum CPU And my phone would not respond at all in the lock screen the next morning. So I had to do a manual recovery and wiped the davlik cache and cache like you suggested (thank you Laie1472). Rebooted. Was able to navigate through my phone for about one minute and it froze again.
So I did a full wipe in recovery ( thanks to senior member SleepyEDB)
I re flashed cm 7.2 and so far it's running 'better' it still freezes every now and then in the lock screen and other places when I wake it up, but not as often. We'll see how it works tomorrow. Ive been searching through a couple other forums and one guy with a similar problem took his phone apart and found it was a hardware problem. Maybe I should send it back (BestBuy refurbished).
SleepyEDB said-
Doing a full wipe in recovery
Do the following steps in Recovery to perform a full wipe:
Wipe Data/Factory Reset
Wipe Cache Partition
Mounts and Storage -> Format /system
Mounts and Storage -> Format /boot
Advanced -> Wipe Dalvik Cache
To do a 'dirty wipe', only wipe the Cache Partition and Dalvik Cache, steps 2 and 5.
That worked for ONE day
brentmxt said:
So I tried raising the minimum CPU And my phone would not respond at all in the lock screen the next morning. So I had to do a manual recovery and wiped the davlik cache and cache like you suggested (thank you Laie1472). Rebooted. Was able to navigate through my phone for about one minute and it froze again.
So I did a full wipe in recovery ( thanks to senior member SleepyEDB)
I re flashed cm 7.2 and so far it's running 'better' it still freezes every now and then in the lock screen and other places when I wake it up, but not as often. We'll see how it works tomorrow. Ive been searching through a couple other forums and one guy with a similar problem took his phone apart and found it was a hardware problem. Maybe I should send it back (BestBuy refurbished).
SleepyEDB said-
Doing a full wipe in recovery
Do the following steps in Recovery to perform a full wipe:
Wipe Data/Factory Reset
Wipe Cache Partition
Mounts and Storage -> Format /system
Mounts and Storage -> Format /boot
Advanced -> Wipe Dalvik Cache
To do a 'dirty wipe', only wipe the Cache Partition and Dalvik Cache, steps 2 and 5.
Click to expand...
Click to collapse
So that was short lived. Once I did the Full wipe around noon it worked almost perfectly until for about 12 hours. I think it froze right before I went to bed. I woke up and it was completely frozen at lock screen again. I did another full wipe and reinstalled cm 7.2 and it froze again. So I did a second full wipe and it is now working. I really hope it will accept my nandroid backup if it freezes again because it's A LOT quicker. Than doing a full wipe.
Hope this helps anybody who goes through the same thing.

[Q] Daft CWM / LightJB question

I'm not allowed to ask this in the dev forum as I'm not up to my 10 posts quota, so sorry for posting this here!
In the LightJB instructions instruction 3 is "wipe data, wipe cache, wipe dalvik-cache, wipe system"
I've got CWM installed (LQ4 and CoCore 6.0) and the options in the CWM recovery menu are "wipe data/factory reset" and "wipe cache partition".
Am I right in assuming that I should choose to do both of those two options, and then also in the "advanced" menu do the "wipe dalvik cache" option too? Just checking! Once I've done this once, I'll become a natural at it...
Cheers!
Matt
I guess you're right... But why don't you just flash a CoCore E kernel with TWRP.. Wouldn't that be much easier?
Its way more user friendly than CWM....
And yes, do have a backup of everything as Factory Resetting and wiping data is going to erase all your apps, etc.
BTW- Questions like this belong to Q & A thread.. Not the Development thread
Sent from my phone, because I'm away from my PC right now
Sami Kabir said:
I guess you're right... Why don't you just flash a CoCore E kernel with TWRP.. Wouldn't that be much easier?
Its way more user friendly than CWM....
Sent from my phone, because I'm away from my PC right now
Click to expand...
Click to collapse
I guess I'd just heard more about CWM than TWRP. I might be a noob here, but I'm not put off by command line-type stuff. I can still remember how to join multiple uuencoded text files together to get lovely pictures of Winona Ryder appearing on my screen in 1993, before I'd even heard of a graphical browser.... happy days!
Cheers for the pointer!
Matt
go advanced ...
tapatalked
larkim said:
Am I right in assuming that I should choose to do both of those two options, and then also in the "advanced" menu do the "wipe dalvik cache" option too? Just checking! Once I've done this once, I'll become a natural at it...
Matt
Click to expand...
Click to collapse
Matt,
Read my thread with CWM guide (see my signature) and i think you will be fine.
Do a Nandroid Backup before start to flash a new ROM.
Wipe data/factory reset
Wipe cache partition
Advanced -> Wipe Dalvik cache
1. Download the ROM from the link given in the article featuring that ROM. It should be a zip file.
2. Connect your phone to your computer via USB and mount its storage card.
3. Copy the downloaded ROM to the root of the storage card.
4. Power your phone off and reboot it into recovery. This will involve using a combination of your device’s hardware keys. Once in recovery, you can navigate its menu using the volume up and volume down hardware keys or your phone’s trackball / optical track pad if it comes equipped with one.
5. Use the ‘backup and restore’ feature of recovery to backup your existing ROM installation, software and data. This step is known as performing a nandroid backup. ALWAYS perform a backup before flashing a custom ROM, UNLESS you can afford to lose everything that’s on your phone at the moment.
Note: ALWAYS choose to perform the following steps 6, 7 and 8 UNLESS the ROM you are attempting to flash is an updated version of the same ROM that you are currently using, and is compatible with the current installation’s data. It is usually mentioned with the update whether you can install it over a previous version without wiping its data or not.
6. Get back to the main recovery menu and use the option ‘wipe data/factory reset’. You will be prompted to confirm this action. Select “Yes – Delete all user data”.
7. From the main recovery menu, select ‘wipe cache partition’. You will be prompted to confirm this action. Select ‘Yes – Wipe Cache’.
8. From the main recovery menu, enter the ‘advanced’ menu. From this menu, select ‘Wipe Dalvik Cache’. You will be prompted to confirm this action. Select ‘Yes – Format/System’.
9. From the main recovery menu, enter the ‘Mounts and Storage’ menu. From this menu, select ‘Format/System’. You will be prompted to confirm this action. Select ‘Yes – Wipe Dalvik Cache’.
10. Go back to the main recovery menu by pressing the back button and select the ‘Install zip from SD card’ option.
11. Select ‘choose zip from sdcard’ to get a list of the files and folders on your SD card. Scroll to the ROM’s file that you copied there in step 3, and select it. You will be prompted to confirm this action. Select ‘Yes – Install file_name.zip’ where file_name.zip is the name of the zip file that you are trying to install.
12. Wait patiently while the ROM is flashed to your phone via recovery.
13. Once the installation is complete, head back to the main recovery menu if you aren’t there, and select ‘reboot system now’. Your phone will now boot into the newly installed ROM.
Click to expand...
Click to collapse
R_a_z_v_a_n said:
Matt,
Read my thread with CWM guide (see my signature) and i think you will be fine.
Do a Nandroid Backup before start to flash a new ROM.
Wipe data/factory reset
Wipe cache partition
Advanced -> Wipe Dalvik cache
Click to expand...
Click to collapse
Done, thanks!
My last question - when i've rebooted, I'm prompted to sign into my Google Account and re-install my apps from the google backup. Is this the "best" way to do it, or is it better to use alternative sch as Titanium? I'm not bothered about lost data, the only data I care about is in my gmail account anyway.
Cheers!
Matt
Reinstall your apps with that app you make backups. If you do it with Titanium, then go for it, and restore with Titanium.
R_a_z_v_a_n said:
Reinstall your apps with that app you make backups. If you do it with Titanium, then go for it, and restore with Titanium.
Click to expand...
Click to collapse
Thanks. Its that sort of common sense stuff which I've found missing from many of the guides - they tell you how to root / flash etc, but leave nagging other questions unanswered - perhaps because the answers are so obvious to the authors that they are just second nature.
As it happens, I didn't bother with a Titanium backup as I wanted a clean phone - I've been trying to resolve a strange issue where my wifi goes really slow and stuttery after the phone has been on for a few hours. No-one else seems to have the issue, so I suspect it is down to at least one of my apps causing some chaos. With that in mind, a fresh install with no baggage seemed to be the best way to go.
(I used to suspect the Facebook apps (particularly Pages Manager) but I don't think they are the cause)
Thanks for all the help!
Matt
Sami Kabir said:
I guess you're right... But why don't you just flash a CoCore E kernel with TWRP.. Wouldn't that be much easier?
Its way more user friendly than CWM....
And yes, do have a backup of everything as Factory Resetting and wiping data is going to erase all your apps, etc.
BTW- Questions like this belong to Q & A thread.. Not the Development thread
Sent from my phone, because I'm away from my PC right now
Click to expand...
Click to collapse
For me cwm is more user friendly and more straight forward compared to twrp. I once tried twrp and after I mount system suddenly it said there's no os installed and I can't boot my phone. Luckily I can still enter download mode to flash back fw with odin. I don't understand how twrp works..haha :silly:
larkim said:
Thanks for all the help!
Click to expand...
Click to collapse
It was my pleasure, Matt. :highfive:
Well, for no other reason than that I wanted to tweak a few things before I started to live with LightJB, I chose to restore my phone using the CWM nandroid restore.
Bad move!
It all seemed to work fine, but on restoring I get the message that "Unfortunately, the process com.google.process.gapps has stopped". Mildly worrying, but moving on...
Then I came to try to reply to a sms message from my wife. Pressing in the reply box didn't bring up a keyboard. Odd.
I went into other apps and found I couldn't type there either.
Went into settings, and neither the samsung keyboard nor the swype keyboard appear to have been re-stored via the backup / restore.
Any hints?
Matt

Speed Up / Optimizing P970 - post your tips here

boost tips for p970
for the ones that do not have the same speed like before, i found out the following tips speed up the smartphone:
1. go into recovery and delete "dalvik cache", "cache" and "battery stats" from time to time.
2. use fstrim ( also to find in ->Device Control ->Filesystem ->AutomaticFstrimming)
3. delete cache under ->settings->storage
4. delete all temorary apps -> press and hold home ->than delete all the running apps
5. set animation(s) at 0.5x
now you should feel a speed improvement.

Can anyone help me with Android system battery drain fix?

I installed pixel experience zip file on my OnePlus 3T. Every pixel feature is available now on my device, including the unlimited storage. But my device is heating a lot and the battery is draining so fast. I tried many ways but am not able to succeed. My mobile's boot loader is unlocked, custom recovery present. Removed encryption on my mobile. The device is not rooted...
Please help me fix these problems... .
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://drive.google.com/file/d/0ByINXlfJiJI2N3pjVjk3Y0U4WVU/view?usp=drivesdk
The link for screenshots
Install betterbattery stats, wakelock detector and gsam battery. Post some screenshots from there. It may not be related to the pixel experience zip. Is there any app you have set to track your location? Ie minute to minute weather alerts, google reminders when you reach home, etc. That might be playing a role in it. Which apps do you have installed. Need a lot more info to troubleshoot your issue.
https://drive.google.com/file/d/0ByINXlfJiJI2N3pjVjk3Y0U4WVU/view?usp=drivesdk
https://drive.google.com/file/d/0ByINXlfJiJI2ZGZ6RUR5TzVuLUE/view?usp=drivesdk
These are the all apps I have. I have no options enabled to keep location always on
.. I'll download those apps and will post screenshots.
My device is not rooted
You can stop battery drain or increase battery life.
there are some easy ways you can do it to stop battery drainage of Android system and stop some background threads to increase your battery life
zaeembutt said:
there are some easy ways you can do it to stop battery drainage of Android system and stop some background threads to increase your battery life
Click to expand...
Click to collapse
That wasn't very helpful. If you have nothing specific to offer the OP, then don't post.
To the original OP. This was suggested on the OP forums for users of similar issue:
"I suggest you to perform CLEAN FLASH.
Wipe data and cache (Factory reset) the current build (Any), then download the zip file of OOS 4.0 for Oneplus 3T and install it using ADB sideload, reboot the device, and you done. That should fix the issue. But be careful to backup all your personal data before doing this."
white43 said:
That wasn't very helpful. If you have nothing specific to offer the OP, then don't post.
To the original OP. This was suggested on the OP forums for users of similar issue:
"I suggest you to perform CLEAN FLASH.
Wipe data and cache (Factory reset) the current build (Any), then download the zip file of OOS 4.0 for Oneplus 3T and install it using ADB sideload, reboot the device, and you done. That should fix the issue. But be careful to backup all your personal data before doing this."
Click to expand...
Click to collapse
1. Update apps to reduce Android system battery drain.
Sometimes there are no mysterious ways which are killing the battery life in fact these are the common issues. Since 2009 Android system has been designed in such a way that if the apps are not updated then your Android system kills more battery to run the apps better. Android apps must be updated so that Android System does not need any extra effort to run the app most effortlessly. Not updating the app is also the main cause of Android system battery drain.
2. Clear Apps Cache.
This should be the most common practise of every Android user to clear out the cache. If you do not clear the cache so the RAM of your Android device will do some extra effort to find the related data from cache memory. Cache memory is the part of RAM which is first access by the RAM to find data. If you do not clear it then the cache memory will increase the data in it and RAM will use more power to find the respective data. In order to improve Android system battery drain you should clear cache data frequently. Go to Settings > Apps > select app > Storage > Clear cache; to clear all app caches simultaneously, go to Settings > Storage and USB > Cached data > OK.
3. Clear System Cache.
Like clearing the app cache, clearing the system cache is as important as clearing the app cache. You use different apps on daily basis which is stored in RAM so the processor can read it fast. Same like this the system apps that run the OS also stores their data in RAM so that it can be accessed clearly. In order to reduce Android system battery drain you must clear System Cache.
Steps to Clear System Cache.
First press the Power and Volume Down button together until you see the Fast Boot Menu.
Use the volume buttons to navigate and press Power Button to select.
If you see the robot on its back, hold Power and press Volume Up once to access the recovery menu.
Use volume button to select Wipe Cache Partition.
Press power button to confirm.
Reboot your device after clearing the device.
4. Turn of WiFi and GPS location.
It is the most common mistake we do and we ignore. Many Android users does not know that the WiFi option and Location Services are the part of Android System. We keep on looking for solution or apps which kills the battery but we does not know the solution is quite simple. Android system battery drain is mostly caused by 24/7 enabling the WiFi service and Location Service. WiFi is turned on 24/7 will continuously looks for WiFi around you and Location service enabled will do the same and looks for your location. Disable these services when you do not require them which possibly will improve the battery drain.
5. Factory Reset.
If you are still having the issue of Android system battery drain then the last option is Factory Reset. So if you have decided to do factory reset then first you should back up all your data. Make sure all your important data is safe and you have stored it in safe place. So go to Settings and select Backup and Rest option which will reset you Android device. Factory reset will erase every thing you have on your Android device and it may improve Android system battery drain. Some bugs or errors may hide under some files which you cannot access and they continuously kills the battery so doing reset may improve Android system battery drain.

OTA Updates and Proper Procedures (wipe data/factory reset, wipe cache partition etc)

New Verizon S6 Edge (sitting in the box for 1-2 years) and I used the OEM adaptive fast charger to bring it from zero to 100% and then waited 10-15 minutes.
I used the built-in OTA updater, not Samsung/Verizon's Software Upgrade Assistant, and went through 11 system updates over the course of 2-3 hours. Out of curiosity, would using the SUA have reduced the number of updates to apply? Edit: I am almost certain now SUA updates straight to the current build (based on their wording, link at bottom). Apparently if I wanted to go straight to current system build, I should have used SUA or a tool such as Odin to flash the stock firmware directly.
Here is a list of the software builds I went through:
G925VVRU3BOG5 - This was the build on my phone out of the box.
G925VVRU4BOG7
G925VVRU4BOG9
G925VVRU4BOK7
G925VVRU4CPC2 - This is the first official build of Marshmallow for this phone. After update success, I decided to wait a few minutes and then restart the phone.
G925VVRU4CPD2 - I received error 404 after automatic download failed. Manual download attempt OTA was successful.
G925VVRU4CPF4 - I received error 401 after answering no to the automatic download request because I was trying to prevent the error above. Manual download attempt OTA was successful.
G925VVRU4CPH1
G925VVRS4CPI2
G925VVRU4CPK2
G925VVRS4CPL3 - My battery charge ticked down from 41% to 40% just before I applied this update, 35% upon completion/success message.
G925VVRS4CQA3 - This is the last Marshmallow build available for this phone.
On Verizon's webpage it says to have at least 40% charge or 20% when hooked up to the charger. I am worried because I did not connect my phone back up to the charger for these last two updates. The last one really bothers me because it was 34% when applied and 29% upon completion/success message. Is there a way to verify everything was written correctly? Should I even be worried?
With exception of a few failed downloads, all updates -when applied- said successful first try.
I have the understanding that it is important to wipe (system) cache partition and wipe data/factory reset from the recovery menu after major system updates to avoid all sorts of potential problems. So, here are my questions:
Does wipe data/factory reset from the recovery menu also wipe (system) cache partition? If not, should I wipe cache partition before or after? I have found conflicting information on this. Edit: It is so confusing because when you search around there are tutorials only mentioning the reset, others saying to wipe cache before reset and vice versa! There are also people going as far as doing both of these before -and- after a system update! Edit 2: It appears that wipe data/factory reset formats /data, /cache and /sbfs partitions. So, wipe cache partition is redundant when performing a factory reset from the recovery menu.
Both of these videos demonstrate wipe cache partition followed by wipe data/factory reset. You will see /cache is unnecessarily formatted twice (picard facepalm).
https://youtu.be/-Y-aHwdjAZA?t=175
https://youtu.be/NUsV75KFLzA?t=65
Note: there is no Google account to remove (Factory Reset Protection/FRP, Google Account Lock etc) as this is a new phone.
I am under the impression that I should clear all app cache, app data and maybe reset network settings before I attempt the recovery menu methods above. This is overkill/redundant, right? Edit: All this stuff appears to be stored in somewhere in /data (even an app's cache, within a subfolder of each app).
Aside from backup (in my case does not apply), is there anything I should do before (or after) recovery menu wipe(s)? I want to ensure clean slate. Edit: It seems wiping /data and /cache is all you can do in terms of user-accessible data.
I notice there is a "Factory data reset" option from within the OS under Settings: Backup and Reset. Does this behave any differently from the recovery menu method? Edit: I found via thedroidguy.com that it does not reformat the /data partition as the recovery menu reset does but only clears it. It also has Backup and Restore options. Are there any other differences? Does it clear other partitions than /data?
Also, I notice in Settings: About Phone: Status there is "Factory data reset". For me, it says "Unknown". I assume this value is a counter, log or timestamp of the last known factory data reset(s). Maybe it is only triggered when the reset is performed within the OS, but I have no idea. Anyone know what this really is? Will a recovery menu factory reset trigger it?
Under Settings: Storage there is Cached Data. If I clear this, does it include all application cache -and- all application data or just the app cache? Edit: I am pretty sure now it just clears all applications' cache, so it shouldn't affect anything unless maybe an app is poorly coded and stores things in cache that should be elsewhere. On a related note, when clearing app data from apps individually its app cache will also be cleared. I am not sure if clearing Cached Data from this Storage menu touches the system cache partition.
Any documentation or links would be very much appreciated; I am running out of steam here sifting through search results with different keywords and modifiers.
If anything I said is wrong or not entirely correct please say so!
Links:
https://android.stackexchange.com/q...set-exactly-the-same-as-wiping-data-and-cache
https://android.stackexchange.com/q...-factory-reset-and-clean-the-phone-completely
http://thedroidguy.com/2015/08/sams...-cache-partition-factory-master-reset-1048263
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
http://www.androidcentral.com/android-201-how-and-when-clear-app-cache-or-data
https://www.verizonwireless.com/support/knowledge-base-80200/

Categories

Resources