For those with CM 6.1 battery drain... - G2 and Desire Z General

A quick backup, wipe, reflash, restore apps worked for me...just saying.
battery is at 50% now, after 12 hours of moderate use. Whereas before it would be beyond dead.
Wonder what could have caused this? I've flashed RC2-4 with the same battery drain problem (no wipe). Any insight?

Just have to make sure you wipe cache and dalvik before upgrading to new cm. Its the proper way to upgrade as far as the kernel goes. That should be your steps as far as flashing any kernels. Battery life on stable version seems a lot better to me. I can go well over 24 hours of use with good usuage.
[G2/HTC Vision]

luis86dr said:
Just have to make sure you wipe cache and dalvik before upgrading to new cm. Its the proper way to upgrade as far as the kernel goes. That should be your steps as far as flashing any kernels. Battery life on stable version seems a lot better to me. I can go well over 24 hours of use with good usuage.
[G2/HTC Vision]
Click to expand...
Click to collapse
u using cm kernel or pershoot?

luis86dr said:
Just have to make sure you wipe cache and dalvik before upgrading to new cm. Its the proper way to upgrade as far as the kernel goes. That should be your steps as far as flashing any kernels. Battery life on stable version seems a lot better to me. I can go well over 24 hours of use with good usuage.
[G2/HTC Vision]
Click to expand...
Click to collapse
ah, yes. :facepalm: forgot to include that
wipe dalvik, cache, and battery stats.

I'm using cyanogens kernel. With all my profiles set to the ondemand governor. You'll see a big difference in battery life. Pershoots kernel is amazing as well. I've used both. I get great battery life with either.
[G2/HTC Vision]

bdong said:
A quick backup, wipe, reflash, restore apps worked for me...just saying.
battery is at 50% now, after 12 hours of moderate use. Whereas before it would be beyond dead.
Wonder what could have caused this? I've flashed RC2-4 with the same battery drain problem (no wipe). Any insight?
Click to expand...
Click to collapse
Backup from Within Rom Manager or in the Recovery?

There's 1 thing that confuses me. In recovery, it has the Wipe data/factory reset, wipe cache partition and in the advanced menu, it has the wipe davlik cache. Do i wipe the data AND cache partition with the davlik cache? Just keep seeing people mention 2 wipes, but there's option of 3 from recovery to choose from.

ok11 said:
There's 1 thing that confuses me. In recovery, it has the Wipe data/factory reset, wipe cache partition and in the advanced menu, it has the wipe davlik cache. Do i wipe the data AND cache partition with the davlik cache? Just keep seeing people mention 2 wipes, but there's option of 3 from recovery to choose from.
Click to expand...
Click to collapse
If your upgrading to a new version of CM OR flashing a new kernel you ONLY wipe cache (NOT DATA/CACHE aka Factory Wipe) and you wipe Dalvik cache under advanced menu.

luis86dr said:
If your upgrading to a new version of CM OR flashing a new kernel you ONLY wipe cache (NOT DATA/CACHE aka Factory Wipe) and you wipe Dalvik cache under advanced menu.
Click to expand...
Click to collapse
Thanks for clarifying that for me.

Related

Need info about cyanogen mod installation

Hey guys
I had started to use nightly builds. My question is should I have to wipe factory n Cache?
Sent from my Nexus S using XDA Premium App
Nope, if you continue to use the nightlies, just wipe dalvik cache,
If you come from different rom, just wipe data and cache and dalvik cache.
Once you are on the nightlies you never wipe anything. Don't listen to any nonsense about caches and dalviks just go to recovery, flash nightly, reboot!
Sent from my Nexus S using XDA App
Thank you.. do I have to wipe if I'm switching to different rom of same version?
Sent from my Nexus S using XDA Premium App
You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.
rentaric said:
You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.
Click to expand...
Click to collapse
Because it doesn't "save you from trouble." But I'm not going to argue about it. The OP asked if he had to wipe when upgrading nightlies and the answer is No.
Sent from my Nexus S using XDA App
Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App
ancilary said:
Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Yes for different roms you must factory reset.
Sent from my Nexus S using XDA App
rentaric said:
You're losing no data wiping cache and dalvik, why not do it then, it saves you from trouble.
Click to expand...
Click to collapse
Correct.
matt2053 said:
Because it doesn't "save you from trouble." But I'm not going to argue about it. The OP asked if he had to wipe when upgrading nightlies and the answer is No.
Click to expand...
Click to collapse
You are so wrong. Of course he needs to wipe Dalvik and Cache even if he installs another nightly. Its because the new nighlties bring new apps versions, or new kernel changes. Deleting Dalvik and cache forces the Android to reload the Dalvik cache for all the apps. Also, it saves you from trouble of incompatibility or FC's.
ancilary said:
Plz tel about this... Toll then do I have to wipe if I'm flashing different rom of same android version!?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Different ROM same Android - wipe Data, Dalvik, Cache.
Same ROM same Android - wipe Dalvik, Cache.
brainmaster said:
Correct.
You are so wrong. Of course he needs to wipe Dalvik and Cache even if he installs another nightly. Its because the new nighlties bring new apps versions, or new kernel changes. Deleting Dalvik and cache forces the Android to reload the Dalvik cache for all the apps. Also, it saves you from trouble of incompatibility or FC's.
Different ROM same Android - wipe Data, Dalvik, Cache.
Same ROM same Android - wipe Dalvik, Cache.
Click to expand...
Click to collapse
Well you can have your superstitions but there is no rational reason to manually wipe your cache or your dalvik cache when upgrading CM nightlies, and that comes straight from the developers of the ROM who are more knowledgeable than I am. None of the CM devs have EVER suggested it, and when asked, have said that it is not something that should be done. I will take their word over yours.
EDIT: This is the closest I think we will find to a definitive answer: http://review.cyanogenmod.com/#change,4933
So, CM development team does not suggest a wipe of dalvik or cache when upgrading. The nightly installation instructions do not mention wiping dalvik or cache. I personally have flashed several hundred nightlies over the last year and have never wiped cache or dalvik when upgrading. Many many other users have flashed hundreds of nightlies each and have not wiped cache or dalvik and have not had problems. There is no reason to do this action, it is completely pointless. It is like saying "you must have your phone pointing to the east when you boot." Sure maybe it does not hurt anything but we don't really need to keep spreading this superstition.
EDIT: In re-reading this I feel like my posts come across as disrespectful and/or antagonistic. I simply disagree with what was said and I feel I have good reason to. But the OP can read about both points of view and then try for himself and choose what works best for him.
CWM recovery was developed from CM7 devs. So why do you think that they've integrated or made a option to wipe dalvik if that is not needed?
Especially if installing another kernel, wiping Dalvik is a must.
But you are right, the OP can choose himself either he will do that or not.
I don't think that your post is disrespectful and/or antagonistic, you have just expressed your opinion. If we don't discus issues with each other we are not gonna make any progress on learning.
brainmaster said:
CWM recovery was developed from CM7 devs. So why do you think that they've integrated or made a option to wipe dalvik if that is not needed?
Click to expand...
Click to collapse
There are lots of options in CWM recovery that are not needed when flashing
Like I said, in the link it is expressed very clearly that the developers of the ROM feel it is "completely pointless" (exact words) to wipe cache and dalvik when updating to newer CM build.
There are times when a user or developer might want to wipe cache or dalvik and so those options do exist. There are other partitions that a user or developer might want to format from time to time for various reasons as well. And the option to do those things is there in CWM recovery. But that does not mean they should be done every time, just because they are there.
In the link I posted, a submission was made to CM code to make it easier for users to wipe dalvik and cache and install a zip all in one command. The submission was rejected because the reviewers agreed that it was "completely pointless."
Why after so much time do you think "Wipe Dalvik Cache" is still obscurely placed in the "Advanced" menu of CWM Recovery? It would be very easy and simple to wipe cache and dalvik automatically when installing a ROM through CWM Recovery or at least put the option on the main page. Do you think that Koush just likes to give users a hard time? Do you think he wants it to be difficult for them to update their ROMs? I don't think so. I think he understand that it is an advanced function that can be useful in some circumstances but is not typically needed in 99% of cases.
The developers also note that the cache is invalidated via hashes automatically. So its basically auto wiped.
The only reason that I wipe is when the nightly contains a new kernel, dalvik should be wiped to eliminate possible problems.
Sent from my Nexus S 4G using Tapatalk

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

Upgrading a CM10 build to a newer version of the same

I have a noob question.
When I opted for CM over stock and also when I switched from CM9 to CM10, I executed a full data wipe.
The question is, if I'm upgrading to the same ROM, but a later version, like CM10(20th July build) to CM10(22nd July build), do I still need to do a data wipe, or do I just install it over the previous one?
Thanks for reading.
do not wipe data, just wipe cache and dalvik and you are good to go.
rishi2100 said:
do not wipe data, just wipe cache and dalvik and you are good to go.
Click to expand...
Click to collapse
Great! Thanks for clearing that up, man

Do flashing kernels and wiping cache wipe data?

Hi, I own a Nexus 4, just a quick nooby question..
Will flashing a custom kernel (thinking of Faux or Franco) and wiping cache and dalvik wipe data? The main reason I want to flash a custom kernel is to underclock to save battery life, and do these have profiles so I can leave it on low clock over night and normal clock during the day?
isnip said:
Hi, I own a Nexus 4, just a quick nooby question..
Will flashing a custom kernel (thinking of Faux or Franco) and wiping cache and dalvik wipe data? The main reason I want to flash a custom kernel is to underclock to save battery life, and do these have profiles so I can leave it on low clock over night and normal clock during the day?
Click to expand...
Click to collapse
Just flash the kernel dont wipe anything.. kernel never need flashing unless stated in op.
Rohit02 said:
Just flash the kernel dont wipe anything.. kernel never need flashing unless stated in op.
Click to expand...
Click to collapse
Thanks for clarifying but in the OP it says to wipe the cache partition and dalvik cache, and I meant from recovery not flashing, sorry haha. a little more clarification ;(
isnip said:
Thanks for clarifying but in the OP it says to wipe the cache partition and dalvik cache, and I meant from recovery not flashing, sorry haha. a little more clarification ;(
Click to expand...
Click to collapse
Same answer, you don't need to wipe anything in recovery if you're flashing a kernel. And wiping cache and dalvik will not wipe your data
Sent from my Nexus 5 using XDA Free mobile app
you never ever have to wipe anything when flashing kernels. never. wiping dalvik/cache before flashing a kernel is the same as wiping your butt to fill your car up with gas. its just not needed. and for all those that write it in their op, they just dont know better.

CM12 - black screen after enter my PIN :(

I have a weird issue with my N9005 (hlte). I just got it new and am still a little inexperienced with flashing it. Preblem occurs when flashing ANY CM12 based rom. Flashing works well with TWRP 2.8.5.0 but once Android booted just after enetring my PIN the display turns off and I can't do anything and have to hard reboot my phone. CM11 runs without any issues
I'd relly like to go for CM12 so any help will be appreciated.
LS.xD said:
I have a weird issue with my N9005 (hlte). I just got it new and am still a little inexperienced with flashing it. Preblem occurs when flashing ANY CM12 based rom. Flashing works well with TWRP 2.8.5.0 but once Android booted just after enetring my PIN the display turns off and I can't do anything and have to hard reboot my phone. CM11 runs without any issues
I'd relly like to go for CM12 so any help will be appreciated.
Click to expand...
Click to collapse
Did you wipe data and cache? After installation
kenny1991 said:
Did you wipe data and cache? After installation
Click to expand...
Click to collapse
I performed a full wipe before flashing. Any advantages wiping again, once flashed?
LS.xD said:
I performed a full wipe before flashing. Any advantages wiping again, once flashed?
Click to expand...
Click to collapse
If you read installation instructions from temasek it says clear dalvik and cache. For good measure. No full wipe after flash. Only cache and dalvik
If i full wipe my phone after flashing ... i got no System at all ...
It looks like -> this <-
e1n3r said:
If i full wipe my phone after flashing ... i got no System at all ...
It looks like -> this <-
Click to expand...
Click to collapse
Lol
Haha I did correct myself and told you to not full wipe after flash. Only do that before flashing. Wipe dalvik cache and cache after flashing.
Do a clean install and try again. Full system, data wipe and caches in recovery. Use twrp doing that. Then flash and wipe cache and dalvik. Reboot. Use the latest build 8.7
kenny1991 said:
Lol
Haha I did correct myself and told you to not full wipe after flash. Only do that before flashing. Wipe dalvik cache and cache after flashing.
Do a clean install and try again. Full system, data wipe and caches in recovery. Use twrp doing that. Then flash and wipe cache and dalvik. Reboot. Use the latest build 8.7
Click to expand...
Click to collapse
Yes Sir thats the way i do any time look my Video there is no full wipe after Install only Cache, Dalvik (Factory reset)
greets

Categories

Resources