"Optimizing Android applications" - Sprint HTC EVO 4G LTE

So Is this normal whenever new Rom installed or cache/dalvik is wiped? Takes quite awhile to do 313 everytime.
Sent from my EVO using xda premium

Yes. Don't wipe dalvik without a good reason for it.

Its a new thing in ICS that helps your phone adjust to changes
Sent from my GT-I9300 using XDA

ipclark1 said:
So Is this normal whenever new Rom installed or cache/dalvik is wiped? Takes quite awhile to do 313 everytime.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
yerp..seems that it'll happen everytime cache/dalvik is wiped. Since I'm assuming you're not new to this wiping process, you'll probly remember that boot always take a little longer after you wipe the dalvik..it's still the same, just now it provides a visual indication of its progress.
I like it since now you know your phone has actually booted as opposed to the OG Evo where you're left wondering whether it's stuck or not

KERKEDAGAIN said:
yerp..seems that it'll happen everytime cache/dalvik is wiped. Since I'm assuming you're not new to this wiping process, you'll probly remember that boot always take a little longer after you wipe the dalvik..it's still the same, just now it provides a visual indication of its progress.
I like it since now you know your phone has actually booted as opposed to the OG Evo where you're left wondering whether it's stuck or not
Click to expand...
Click to collapse
Outstanding, that makes sense. thanks for the helpful responses.
Sent from my EVO using xda premium

I see. I learn something from you guys! Thank you!

Also happens whenever you change something in the /system folder.

Related

Lost data after flashing between two roms.

I was rocking the latest perfect storm rom saw that a new lighting rom released. Downloaded, wipe data cache flashed. Loaded up fine except no data, tried toggling airplane mode...nada. booted in recovery wiped davlik and battery stats, restored ...same thing. Restored back to perfect storm...no data. Any advice to why this happened. Phone was perfect before I crakflashed
Sent from my Droid using XDA App
Have you made sure that the mobile internet is activated?
also, might be a good idea to post the topic in development section. but i havent had any problems switching between the two ROMs
dx1881 said:
I was rocking the latest perfect storm rom saw that a new lighting rom released. Downloaded, wipe data cache flashed. Loaded up fine except no data, tried toggling airplane mode...nada. booted in recovery wiped davlik and battery stats, restored ...same thing. Restored back to perfect storm...no data. Any advice to why this happened. Phone was perfect before I crakflashed
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Bump this I am having the same exact issue today on my HeroC going between ROMs. Did you get this fixed? None of my nandroids even have data =(
Nothing worked, pretty sure one of the beta kernals broke the radio between flashes. Final result had my phone replaced
Sent from my ADR6400L using XDA App
dx1881 said:
Nothing worked, pretty sure one of the beta kernals broke the radio between flashes. Final result had my phone replaced
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Dude, people on this site are not going to release kernels that will f up your phone. Next time you should probably do a little more research before you trade in your phone for a new one.
Patience is a virtue for most, but when its your primary line and data is f'd up I'm not going to wait. Research at the time was non existent for this matter. I had a new phone in 10hrs when I requested replacement. A dev suggested reflashing the stock radio and re rooting the device to restore data, this didn't take. Its flasher beware, something everybody knows. Devs even post this in the beginning of all threads. Everybody's phone reacts differently to each rom, kernal, radio, theme what have you. I'm just now sitting back and waiting for UD to be released
Sent from my ADR6400L using XDA App
dx1881 said:
Patience is a virtue for most, but when its your primary line and data is f'd up I'm not going to wait. Research at the time was non existent for this matter. I had a new phone in 10hrs when I requested replacement. A dev suggested reflashing the stock radio and re rooting the device to restore data, this didn't take. Its flasher beware, something everybody knows. Devs even post this in the beginning of all threads. Everybody's phone reacts differently to each rom, kernal, radio, theme what have you. I'm just now sitting back and waiting for UD to be released
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
UD... LMAO

Benefits of Excess Wiping

Just a quick comment, FWIW...
There was a time, when I was more of a noob than I am now, that I used to smirk at people who said they always wiped cache and data 2 or 3 times between loading different ROMs. I thought they were being a little anal - after all, a wipe's a wipe.
I've since learned differently. Recently I had a nasty FC problem that just wouldn't go away until I wiped data three times and then reflashed my ROM. Don't know why, but it works sometimes when nothing else will.
I thought it was anal too haha
I wipe 2 times before a flash.
Its weird how things work
Sent from my DROID X2 using XDA App
Robin M said:
Just a quick comment, FWIW...
There was a time, when I was more of a noob than I am now, that I used to smirk at people who said they always wiped cache and data 2 or 3 times between loading different ROMs. I thought they were being a little anal - after all, a wipe's a wipe.
I've since learned differently. Recently I had a nasty FC problem that just wouldn't go away until I wiped data three times and then reflashed my ROM. Don't know why, but it works sometimes when nothing else will.
Click to expand...
Click to collapse
Cvpcs wrote a great blog on wiping. I too have had nasty fc issues w/ our current recovery. You would think if it's not wiping correctly then 50 wipes would still produce the same bad wipe. I mean, the code doesn't change w/ each wipe we perform
Never had an issue with other recoveries on older phones. Properly written cwmr shouldn't need to wipe more than once b/c the code will only do what it's written to do. Improper coding leads to improper wiping. Just my $.02
Sent from my DROID X2 using xda premium
X0dus said:
Cvpcs wrote a great blog on wiping. I too have had nasty fc issues w/ our current recovery. You would think if it's not wiping correctly then 50 wipes would still produce the same bad wipe. I mean, the code doesn't change w/ each wipe we perform
Never had an issue with other recoveries on older phones. Properly written cwmr shouldn't need to wipe more than once b/c the code will only do what it's written to do. Improper coding leads to improper wiping. Just my $.02
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Well its a hacked version of CWM so its not as developed and refined.
Sent from my DROID X2 using XDA App
IDMA.DROID.X2 said:
Well its a hacked version of CWM so its not as developed and refined.
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Right, but if one wipe fails to wipe correctly do you suppose the second will clean up what it missed? I don't think code has become self aware of mistakes.
Sent from my DROID X2 using xda premium
All I know is I always wipe data 3 times andncache/dalvik twice each.
And have never had 99% of the.problems I see others having after flashes such as FCs and all...unless it was a known bug everyone was experience.
ashclepdia said:
All I know is I always wipe data 3 times andncache/dalvik twice each.
And have never had 99% of the.problems I see others having after flashes such as FCs and all...unless it was a known bug everyone was experience.
Click to expand...
Click to collapse
Too many don't wipe anything and clutter threads. :/
Sent from my DROID X2 using xda premium
True story xodus
X0dus said:
Right, but if one wipe fails to wipe correctly do you suppose the second will clean up what it missed? I don't think code has become self aware of mistakes.
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Maybe not, but there is less chance of irritation (pun intended).
Sent from my DROID X2 using xda premium
Here is more irritation : I ran 234update.zip from stock 233 recovery FOUR TIMES w/o leaving recovery. 1st: got a status (0) and stopped. 2nd correct status err and went faster. 3rd went fastest. 4th no more speedup.
garywojdan81 said:
Maybe not, but there is less chance of irritation (pun intended).
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Glad I'm not the only one laughing at this entire thread of puns of whiping, being anal about doing it over and over and wiping again!
You guys are right though, everytime a wipe is done, seems the later ones are much faster.
Apparently the more you wipe, the cleaner you get, it get's easier it is to wipe again.
grnsl2 said:
Apparently the more you wipe, the cleaner you get, and the easier it is to wipe again.
Click to expand...
Click to collapse
Yeah, that was my point. It's definetly a progressive action. Very strange. I wudda thought like XOdus, that the code would do exactly the same thing each time.
The puns are fun.
They get faster b/c there's nothing else to wipe from the directory. My final post here.
Sent from my DROID X2 using xda premium
X0dus said:
The puns are fun.
They get faster b/c there's nothing else to wipe from the directory. My final post here.
Click to expand...
Click to collapse
Of course. But all punning aside, the point he was making is that they get progressively faster, indicating that not all is cleared with earlier wipes. There's no denying that multiple wipes can clear up sticky problems. Even if the reason is "bad code", that's still strange.
CVPCS Blog entry:
http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
I only wipe once with our recovery and only once have I had an issue. I simply reflashed the ROM and it went away.
I bet he wiped the second time though. So he wiped twice
Sent from my DROID X2 using XDA App
X0dus said:
CVPCS Blog entry:
http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
I only wipe once with our recovery and only once have I had an issue. I simply reflashed the ROM and it went away.
Click to expand...
Click to collapse
I hear ya. The blog article makes perfect sense. Hard to argue with the logic expressed there. And yet... experience tells me otherwise. As I said in the OP, I resenctly had a persistent FC problem with a system file - may have been ProgramMenuSystem.apk, can't remember for sure. Re-loaded my nandroid (that was fine before). While anyone would fully expect that to reslove the problem, the problem continued. Wiped again and re-flashed same version of my ROM. Problem still there. Wiped three times and re-flashed ROM again. Problem gone and never re-appeared.
I cannot explain why wiping data three times eliminated the problem that persisted even after wiping and re-flashing. Yet it did. Go figure.
Robin M said:
I cannot explain why wiping data three times eliminated the problem that persisted even after wiping and re-flashing. Yet it did. Go figure.
Click to expand...
Click to collapse
Technology can be the best and it's the worst crap ever at times, isn't it? Haha Ya think you have something figured out and logical then blam!
Sent from my DROID X2 using XDA App
dingleberries.... they'll get ya every time!
garywojdan81 said:
Maybe not, but there is less chance of irritation (pun intended).
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
I think the direction of said wipe also needs to be mentioned. Front to back or back to front?

[Q] Energyrom Sense sluggish, FC problems

I just flashed over to Energyrom for HTC Evo 4g. I love the look but man this thing sure is giving me a headache with all the FC's and how sluggish it is. And what I mean by "all" the fc's is that everything there is known to man on this phone, has been having some sort of fc but nothing closes. It just pops up and does nothing when I click fc. Not sure what is up with it or if I did something wrong for that matter, but I would like to know if there is anything I can do to fix it. I am on Gingerbread if that helps out at all. I'm a noob but I understand computers and technology. Please help. \m/
I also have it rooted with stock everything.
Sent from my PC36100 using XDA App
PointBlankChaos said:
I just flashed over to Energyrom for HTC Evo 4g. I love the look but man this thing sure is giving me a headache with all the FC's and how sluggish it is. And what I mean by "all" the fc's is that everything there is known to man on this phone, has been having some sort of fc but nothing closes. It just pops up and does nothing when I click fc. Not sure what is up with it or if I did something wrong for that matter, but I would like to know if there is anything I can do to fix it. I am on Gingerbread if that helps out at all. I'm a noob but I understand computers and technology. Please help. \m/
Click to expand...
Click to collapse
Do a full wipe of data/cache partition/dalvik cache, then reflash the rom.
Ok, I will give that a shot and see what happens. Thanks.
Sent from my PC36100 using XDA App
Ok, so I did all of that and now the screen stays at the white screen that says htc evo 4g and does nothing.
Sent from my PC36100 using XDA App
PointBlankChaos said:
Ok, so I did all of that and now the screen stays at the white screen that says htc evo 4g and does nothing.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Did you wipe the dalvik cache after you flashed the rom?
Theonew said:
Did you wipe the dalvik cache after you flashed the rom?
Click to expand...
Click to collapse
Yea , I got it figured it out . Just gotta be more patient and thorough lol.
Sent from my PC36100 using XDA App
Always wipe when coming from a different rom. Normally u only need to wipe cache and fact data reset.
sent from my Nexus S
vabeachfc3s said:
Always wipe when coming from a different rom. Normally u only need to wipe cache and fact data reset.
sent from my Nexus S
Click to expand...
Click to collapse
I'll remember that for all the phones that I will be working on. Thanks for the advice. I think I found my new niche.
Sent from my PC36100 using XDA App
Its fun stuff man.
sent from my Nexus S
Oh and also whenever u root a phone for the first time and flash clockworkmod to ALWAYS MAKE A STOCK BACKUP!!!!! if u remember that i guarentee i just saved u money and frustration.
sent from my Nexus S
vabeachfc3s said:
Its fun stuff man.
sent from my Nexus S
Click to expand...
Click to collapse
Definitely figuring this out quickly. I'm sure as time goes on, I'll be able to help others out without doubt
Sent from my PC36100 using XDA App

CM10 Nightly 9/10 App Switcher inop.

I went from the 9/8 build to the 9/10 build, and the Recent Apps hardware key does absolutely nothing, no matter what function i assign it in system settings (very annoying not having a Menu button!). Tried flashing multiple times, re-downloading multiple times, flash boot.img, fix permissions, wipe cache/dalvik, etc. Nothing fixes it. Flashed back to the 9/8 build and everything works like a charm. Anyone else having this issue?
Sent from my EVO using xda app-developers app
Came here to investigate the same thing, except I went from 9/7 to 9/10, looks like we're having the same problem tho. Initially neither the app-switch button or long pressing home worked. Ran fix permissions from twrp and got the long press home working again. You think reverting to an earlier build would fix it?
Sent from my LTEVO
Do a clean flash mine still works on 0910 nightly
Sent from my Cm10 powered Evo Lte!!
As always......
If you dirty flash and have issues.... do a full wipe. Making bug reports on a dirty flash doesn't help anyone. If the problem persists after a clean wipe then I'd like to know about it
My apologies, i guess i just learned the hard way what the definitions of clean and dirty flashing are. Sorry to waste your time, and thank you for the learning experience! (And for not tearing me a new(b) one!!!)
Sent from my EVO using xda app-developers app
Mockingbird946 said:
My apologies, i guess i just learned the hard way what the definitions of clean and dirty flashing are. Sorry to waste your time, and thank you for the learning experience! (And for not tearing me a new(b) one!!!)
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
This is still useful for others that have dirty flashed and will experience issues.
But now you know to do a clean wipe if you run into issues after dirty flashing :highfive:
Not a problem I actually dirty flashed up. Always do then if I have a issue. I clean install to make sure it's not my end. Usually fixes things.
Sent from my Cm10 powered Evo Lte!!
Since these are nightlies you should do a clean install or factory reset after flashing
Rxpert said:
This is still useful for others that have dirty flashed and will experience issues.
But now you know to do a clean wipe if you run into issues after dirty flashing :highfive:
Click to expand...
Click to collapse
Thanks again! Your guidance is greatly appreciated. Looking forward to clean flash when i get home!
Sent from my EVO using xda app-developers app
kaos420 said:
Not a problem I actually dirty flashed up. Always do then if I have a issue. I clean install to make sure it's not my end. Usually fixes things.
Sent from my Cm10 powered Evo Lte!!
Click to expand...
Click to collapse
Alright, so I rebooted into TWRP 2.2.2.0 and did wipe cache, wipe dalvik, factory reset, and wipe system, in that order. I then flashed from my SD card CM10 nightly 9/10 and gapps jb. Cleared cache/dalvik. Booted up, ran fix permissions. Still no luck; recent apps hard key still doesn't do anything (yes, I went in to system settings and set the key functions,) but it does vibrate when touched. Did I miss a step somewhere?
Sent from my EVO using xda app-developers app
Mockingbird946 said:
Alright, so I rebooted into TWRP 2.2.2.0 and did wipe cache, wipe dalvik, factory reset, and wipe system, in that order. I then flashed from my SD card CM10 nightly 9/10 and gapps jb. Cleared cache/dalvik. Booted up, ran fix permissions. Still no luck; recent apps hard key still doesn't do anything (yes, I went in to system settings and set the key functions,) but it does vibrate when touched. Did I miss a step somewhere?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Idk basically what I've done. Mine all works. Flash the 0911 build in irc then
Sent from my Cm10 powered Evo Lte!!
I suppose you could try a wipe script as they are written to erase all possible data that could cause unintended side effects with a new flash
Had the same problem going from 9/8 to 9/10 but I just went into the settings and changed the hard key functions. Then everything was all goodie goodie again
Sent from my EVO using xda app-developers app
Ok. Did a superwipe 3 times, clean install 9/10 build, changed system settings hard key function, still doesnt work. I'm downloading the 9/12 build so hopefully i get better results with that one.
Sent from my EVO using xda app-developers app
Are any of you guys getting an issue where the mic won't pick up your voice for voice commands but work fine during calls?
Sent from my EVO
I hope the newer build is a lot better then the 9/6 build so many glitches on the one I flashed :/
Sent from my EVO using xda app-developers app

Why do you wipe multiple times?

I'm a bit curious as to why I have read more times than I can count, someone stating they did a factory reset/wipe data "multiple times in a row" or "wiped two times, then wiped cache, then wiped data again, then davlik, then... omg I just went cross-eyed".
I seriously have to be missing something. There has to be some hidden easter egg that after the 2nd or 3rd or 4th time you wipe data or cache or some other combo that will trick the phone into really wiping it that particular time. Right? Just has to be!
Spill the goods yo!
As far as I can tell, its to make sure no files are left behind during the first factory reset/wipe. I personally have experienced this on my Droid X, I wiped in CWM then flashed a rom and couldn't get out of a boot loop, but i was able to wipe and flash again and everything worked.
To cut down on skid marks...duh
Its just so remnants of the previous rom do not interfere with the new rom
Sent from my SCH-I545 using xda premium
To make sure no files are left??? Doesn't that defeat the purpose of a 'wipe'? I'm being sarcastic obviously when I posted this but if this is a serious answer then I have to second guess the whole idea what is supposed to work, really doesn't.
I'm not being totally ignorant to weird occurances, however... I doubt it happens as frequent as it looks like it is. I see it all over the forums and if its that bad... I'd assume the devs who support the app and or recovery will get it working as close to 100% And my belief is that it is. I just think people have this OCD about doing things multiple times only because some other schmuck did it and now it becomes viral. A factory reset/wipe data is what it is... Stamping it four times shouldn't make any difference. Just my OCD kicking in... Lol
Sent from my SCH-I545 using xda premium
edif30 said:
To make sure no files are left??? Doesn't that defeat the purpose of a 'wipe'? I'm being sarcastic obviously when I posted this but if this is a serious answer then I have to second guess the whole idea what is supposed to work, really doesn't.
I'm not being totally ignorant to weird occurances, however... I doubt it happens as frequent as it looks like it is. I see it all over the forums and if its that bad... I'd assume the devs who support the app and or recovery will get it working as close to 100% And my belief is that it is. I just think people have this OCD about doing things multiple times only because some other schmuck did it and now it becomes viral. A factory reset/wipe data is what it is... Stamping it four times shouldn't make any difference. Just my OCD kicking in... Lol
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
It's stupid. If the wipe script does not work it needs to be fixed. I never do it.
Sent from my SCH-I545 using xda premium
brizey said:
It's stupid. If the wipe script does not work it needs to be fixed. I never do it.
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Agreed. In the words of Al Pachino in Heat "Don't waste my mothereffing time!!"
Sent from my SCH-I545 using xda premium
Because clean. :good:
edif30 said:
I'm a bit curious as to why I have read more times than I can count, someone stating they did a factory reset/wipe data "multiple times in a row" or "wiped two times, then wiped cache, then wiped data again, then davlik, then... omg I just went cross-eyed".
I seriously have to be missing something. There has to be some hidden easter egg that after the 2nd or 3rd or 4th time you wipe data or cache or some other combo that will trick the phone into really wiping it that particular time. Right? Just has to be!
Spill the goods yo!
Click to expand...
Click to collapse
When you try everything else to fix an issue that wasnt solved by doing it once... Sometimes you freak out and go nutty and do it 50 times. I'm not saying that it increases your chance of success but I personally have had success after freaking out and doing things like an ocd nut
sent from my blu vzw gs4
Dubbsy said:
When you try everything else to fix an issue that wasnt solved by doing it once... Sometimes you freak out and go nutty and do it 50 times. I'm not saying that it increases your chance of success but I personally have had success after freaking out and doing things like an ocd nut
sent from my blu vzw gs4
Click to expand...
Click to collapse
Dubs... You have full right to OCD yourself into your own happiness! You own that right for putting out the GE ROM! Lol. But I hear ya too.
Sent from my SCH-I545 using xda premium
It's definitely pointless. The wipe wipes it all first time. I'd be more inclined to think if there is general wackiness after installing a new rom it was a bad install rather than leftover files from a wipe.
When you wipe it's not like it deletes anything. It overwrites it with 1's and 0's to the sectors.. look up file recovery and learn binary. Thats why people use programs like dban. You're not fully deleting something with a sime wipe it's just being overwritten with blank sectors essentially. More you wipe more thorough the actual deletion it is.
Sent from my SCH-I545 using Tapatalk 2
I think it is more of a carry over from older versions of recoveries. Cwm used to have locations to wipe all over the place and if you are going into multiple menus doing various wipes it becomes - "did I wipe dalvik? Oh well do it again, what could it hurt".
Actually it just wears out your flash memory quicker.
Sent from my Nexus 7 using Tapatalk 2
Because superstitions refuse to die.
Sent from my Nexus 7 using Tapatalk HD
najaboy said:
Because superstitions refuse to die.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
This...but it's a superstition somewhat rooted in reality. A few years ago there were a few recoveries for a few devices that had a bug that resulted in them appearing to perform a wipe but not actually doing a wipe in some circumstances. It's been fixed a long time but the "wipe 3 times" mentality has stuck for a lot of people.
Never even heard of this until reading this thread. Definitely seems like an OCD thing, wiping more than once. Nothing wrong with people who like to do it but it does seem like a waste of time to me. Kind of like the calibrate battery myth, people were saying clear the battery file then charge the phone all the way up and let it die and all this nonsense. Google Engineer said it is a waste of time and doesn't calibrate the battery.
Please read forum rules before posting
Questions and Help issues go in Q&A and Help section
Thread moved
Thank your for your cooperation
Friendly Neighborhood Moderator
notstevek said:
When you wipe it's not like it deletes anything. It overwrites it with 1's and 0's to the sectors.. look up file recovery and learn binary. Thats why people use programs like dban. You're not fully deleting something with a sime wipe it's just being overwritten with blank sectors essentially. More you wipe more thorough the actual deletion it is.
Sent from my SCH-I545 using Tapatalk 2
Click to expand...
Click to collapse
over writing is actually deleting it. overwriting multiple times does a better job. the wiping doesn't necessarily delete, it just makes the block available to be written over. if wiping were overwriting then the wipe would take a bit longer than it does - possibly doubling the the rom install.

Categories

Resources