How to Wipe cache, Wipe Dalvik and Fix Permissions? - T-Mobile Samsung Galaxy S II SGH-T989

Sorry for the Noob question guys, but I am a noob and still haven't flashed my first ROM yet. I am rooted so that's a start, and thanks to this forum the steps to root your device were simple and easy to follow.
I have been researching the different ROM's available for the T989 and the instructions on all of the ROM's say the same thing:
1. Download ROM and place it on your sdcard
2. Boot into clockwork recovery
3. Wipe data then wipe cache
4. Flash ROM
5. Wipe Dalvik then fix permissions
How do you wipe the cache, wipe dalvik and fix permissions? Thanks.

Under the main menu of recovery;
Option 3 should be wipe data
Option 4 should be wipe cache partition
To wipe the dalvik and fix permissions;
this is found under the advanced option in the main menu.
click that and the dalvik is option 2 and permissions is option 8.
Hope that helps.

MRpeabodyia said:
Under the main menu of recovery;
Option 3 should be wipe data
Option 4 should be wipe cache partition
To wipe the dalvik and fix permissions;
this is found under the advanced option in the main menu.
click that and the dalvik is option 2 and permissions is option 8.
Hope that helps.
Click to expand...
Click to collapse
That helps a lot actually. Thank you.
Typically are all ROMs installed in the same manner/order? Meaning wipe data, wipe cache, wipe dalvik, fix permissions and then flash ROM? Or does it depend on what ROM you are installing as to the order in which you perform these tasks?

To be honest I don't flash a lot of roms, but mostly read a lot. That is how I have done it in the past. I would never say anything is exactly the same for all roms. It would depend on whether or not you are flashing a new version of a rom, ie Eaglesblood 1.5 to eaglesblood 1.6, or putting an entirely new rom on, ie eaglesblood 1.5 to Juggernaut.
My advice is to read everything for the rom you are going to try twice, maybe even three times. You should do exactly what the dev says and you should be good to go.
Don't rush into flashing a new rom weekly until you've read quite a bit.

MRpeabodyia said:
To be honest I don't flash a lot of roms, but mostly read a lot. That is how I have done it in the past. I would never say anything is exactly the same for all roms. It would depend on whether or not you are flashing a new version of a rom, ie Eaglesblood 1.5 to eaglesblood 1.6, or putting an entirely new rom on, ie eaglesblood 1.5 to Juggernaut.
My advice is to read everything for the rom you are going to try twice, maybe even three times. You should do exactly what the dev says and you should be good to go.
Don't rush into flashing a new rom weekly until you've read quite a bit.
Click to expand...
Click to collapse
Thanks, I think I will research the ROM's currently available and choose the one that best suits my needs and stick with that for the time being. If something new or more interesting comes up I will upgrade.
Thank you again for your informative responses. It has been a big help.

Related

Proper way to flash rom and kernel

What is the proper sop to flash a new rom and kernel what should I be wiping? Thanks
Sent from my Galaxy Nexus using Tapatalk
For best results always do a full wipe in recovery (wipe data, cache and dalvik cache) then flash the ROM or kernel. This is really important if you are changing from one ROM to another. Updating one ROM to a new version of the same ROM does not require any wiping but sometimes the ROM developer recommends a full wipe.
Dalvik cache wipes are also optional but important if going one kerenl to a completely different one.
samizad said:
For best results always do a full wipe in recovery (wipe data, cache and dalvik cache) then flash the ROM or kernel. This is really important if you are changing from one ROM to another. Updating one ROM to a new version of the same ROM does not require any wiping but sometimes the ROM developer recommends a full wipe.
Dalvik cache wipes are also optional but important if going one kerenl to a completely different one.
Click to expand...
Click to collapse
If I may, the marked text above is misleading; no need whatsoever to be wiping data before flashing a kernel.
Vangelis13 said:
If I may, the marked text above is misleading; no need whatsoever to be wiping data before flashing a kernel.
Click to expand...
Click to collapse
actually, to avoid funny weird things and numerous user inflicted problems..
I would almost enforce wipe so ppl can post proper bug reports..
s2d4 said:
actually, to avoid funny weird things and numerous user inflicted problems..
I would almost enforce wipe so ppl can post proper bug reports..
Click to expand...
Click to collapse
Factory reset for a kernel? Nah, come on. If you're flashing a totally different kernel than the one you have, yes, wipe cache & dalvik. But at most that.
Vangelis13 said:
Factory reset for a kernel? Nah, come on. If you're flashing a totally different kernel than the one you have, yes, wipe cache & dalvik. But at most that.
Click to expand...
Click to collapse
o, i was just following what he way saying with sentiments..
yes, kernel isn't required but depending on the kernel dev, some do leave boot up scripts behind though and not just init.d scripts from past experiences.

[Q] N00b updating Custom ROM

I have installed MildWild CM-2.7 on my Desire but there is now MildWild CM-2.8 and I can't find a guide how to install/update my Desire.
I have got S-OFF and recovery by Revolutionary The guide I followed to S-OFF and ROOT
This is the ROM I using. MildWild CM ROM
Just flash it via recovery like you did with the previous version
Will flashing the new version cause me to loose everything on my current version I.e apps and data etc??
Thanks for the reply though
do back up first, wipe davik+cache and flash it... it should work if not do full wipe and restore back up
just post any result we will move from there
What should I use to hackup TIbackup? Or is there a better one that you reccomend?
Wh000sher
Titanium and recovery. All basic stuff. Have a,read of my rooting faq in my signature. Tells you everything you need to know
Sent from my HTC Desire using Tapatalk
rootSU said:
Titanium and recovery. All basic stuff. Have a,read of my rooting faq in my signature. Tells you everything you need to know
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Do I only restore the Titanium I am guessing, as restoring recovery would revert back to my current ROM? and I have thanks
Yes indeed. With titanium, only restore "missing apps with data".
Theres a guide Angusc wrote here:
http://forum.xda-developers.com/showthread.php?t=1480343
ROM Manager can make updating so much easier - well worth the investment.
JohnHarrisNZ said:
ROM Manager can make updating so much easier - well worth the investment.
Click to expand...
Click to collapse
I can't speak for other devices but for Desire, nope it's not worth the time and money.
kotag82 said:
do back up first, wipe davik+cache and flash it.
Click to expand...
Click to collapse
So I'm only wiping the davik cahce correct?
Not anything else or have I missed something?
Wh000sher said:
So I'm only wiping the davik cahce correct?
Not anything else or have I missed something?
Click to expand...
Click to collapse
Things I've learned with all this flashing that may be helpful for you.
1. Before flashing, always backup your current system up. nandbackup via recovery, titanium for your apps, sd card if really needed for that you need to do.
2. If flashing an updated version of same rom, wipe cache and dalvik only on your recovery (unless explicitly specified by dev to make a full wipe.)
3. If you are having weird issues after upgrading the same rom, do a full wipe and start fresh. If issue is not resolved, report the issue to the Dev's thread.
4. Do a Full Wipe on recovery (System/factory, cache, dalvik if coming from a different rom).
stankyou said:
Things I've learned with all this flashing that may be helpful for you.
1. Before flashing, always backup your current system up. nandbackup via recovery, titanium for your apps, sd card if really needed for that you need to do.
2. If flashing an updated version of same rom, wipe cache and dalvik only on your recovery (unless explicitly specified by dev to make a full wipe.)
3. If you are having weird issues after upgrading the same rom, do a full wipe and start fresh. If issue is not resolved, report the issue to the Dev's thread.
4. Do a Full Wipe on recovery (System/factory, cache, dalvik if coming from a different rom).
Click to expand...
Click to collapse
Thanks for the reply.
In response to 2. I am using ClockworkMod as my Recovery and I am guessing you mean I have to wipe 'cache partition' and 'wike dalvik cache' under advanced?
I am creating a guide to help fellow N00bs how to update a rom and change between ROM's
Wh000sher
Wh000sher said:
Thanks for the reply.
In response to 2. I am using ClockworkMod as my Recovery and I am guessing you mean I have to wipe 'cache partition' and 'wike dalvik cache' under advanced?
I am creating a guide to help fellow N00bs how to update a rom and change between ROM's
Wh000sher
Click to expand...
Click to collapse
Yes if I remember correctly there are the first three lines on that recovery is wipe system, cache partition (like you stated), and wipe dalvik. So if upgrading just wipe cache partition and dalvik cache.
System partition is where the "Android OS" resides. Wiping it is like formatting your computer. Most of the time, incremental updates of the same rom requires you to wipe just the cache partition and dalvik, otherwise if the rom update has a lot of changes, the dev might require you to wipe all three options on the recovery.
Having wiped my cache and dalvik cache. I am now wanting to install the new version. On the main screen I have 2 options which are tempting to click.
One is 'Apply update from SD card' and the other is 'Install zip from SD card'
I am unsure of which to choose but my gut instinct is to go with 'Install zip from SD card', is this correct or am i going to make a terrible mistake?
wh000sher
Install zip from SD

[Q] Problems with installing ICS rom

I've tried installing 2 different ICS roms and it just goes into a continous re-boot after install, I've done the factory reset and wipe cache's, any other ideas?
pimpsuprazx said:
I've tried installing 2 different ICS roms and it just goes into a continous re-boot after install, I've done the factory reset and wipe cache's, any other ideas?
Click to expand...
Click to collapse
Darkside Super Wipe. You can find it in the dev section.
Rod3 said:
Darkside Super Wipe. You can find it in the dev section.
Click to expand...
Click to collapse
This is going to sound stupid I'm sure, but what does that wipe do that the other's don't?
Thanks
mods,
you can completely delete this thread if you're not busy, I ended up sticking with the juggernaut rom and phone works great
thanks
pimpsuprazx said:
I've tried installing 2 different ICS roms and it just goes into a continous re-boot after install, I've done the factory reset and wipe cache's, any other ideas?
Click to expand...
Click to collapse
Reboot to CWM.
You'll need to full wipe by going to storage & mount
format the following- data, system, and cache.
next go back to the main cwm screen.
wipe factory/data that is on the main CWM screen and wipe cache partition.
afterwards go to advance then wipe delvik cache.
done!
or search for Darkside Super Wipe tool which can be found in the dev section.(pretty much the same thing but in one button)

[Q] updating a ROM - flash what? wipe what?

I want to update my Unofficial CM10 +3.x Kernel to the latest update from Hashcode.
UNOFFICIAL CM10 + 3.x Kernel for Kindle Fire [09/16 CHARGING+]
When you do an update like this, do you wipe everything like I did when I first flashed the ROM? I mean, when I installed, I wiped system, factory reset, cache and dalvik cache. Then I flashed the ROM and then I flashed gapps.
So now I just want to update the OS, what do I need to wipe? And will I need to flash gapps again?
CAn't ask this in the development thread 'cause my n00b hat it still too shiney.
Thanks!
A question like this doesn't belong in the development thread because it isn't development related.
If you're going from one ROM to a different one, you need to wipe System and Factory Reset (data and cache).
If the ROM is simply an update of an existing ROM, generally all you need to wipe is data and cache. There are always exceptions to this so it's always a good idea to make a backup in case things turn sour.
After installation of the ROM you have the option to wipe cache and dalvik. It isn't required but not wiping them has been known to cause some bugginess.
soupmagnet said:
A question like this doesn't belong in the development thread because it isn't development related.
If you're going from one ROM to a different one, you need to wipe System and Factory Reset (data and cache).
If the ROM is simply an update of an existing ROM, generally all you need to wipe is data and cache. There are always exceptions to this so it's always a good idea to make a backup in case things turn sour.
After installation of the ROM you have the option to wipe cache and dalvik. It isn't required but not wiping them has been known to cause some bugginess.
Click to expand...
Click to collapse
Thank you once again, soupmagnet. Yeah this is just an update to my current ROM. So .... I won't need to flash gapps again?
I'm slowly figuring this stuff out. hehehe... When I was 30 I picked this stuff up quick. Turning 60 on Thursday and stuff tends to need a little more pondering lately. hahaha
Anywho.... thanks
Oh, yeah. You need to flash Gapps if you wipe system.
soupmagnet said:
Oh, yeah. You need to flash Gapps if you wipe system.
Click to expand...
Click to collapse
OK, see, now you're messin' with the old man here... hehehe
On one hand I'm hearing if I am only updating my current ROM, I just wipe data and cache.
Then you tell me I have to flash gapps if I wipe System.
But prior you said I only need to wipe system if I'm going from one ROM to a different ROM.
So.... I'm just updating my current ROM. I wipe data and cache, flash the updated ROM, wipe dalvik.... done...
no flash gapps, right?
I need to look at TWRP again to see exactly how it presents the choices. Don't be hatin' on the old guy for bein' dumb now.
OK, booted to TWRP. When I select Wipe my choices are : Cache, Dalvik Cache, Factory Reset, System and then External Storage. So... in your first answer to me when you said to go to a different ROM I should wipe "System and Factory Reset (data and cache)" it appears you are telling me that "System and Factory Reset" is another way of referring to "data and cache". Is that correct?
Gapps go in the /system/app folder so if you wipe the system partition, Gapps will go along with it.
soupmagnet said:
Gapps go in the /system/app folder so if you wipe the system partition, Gapps will go along with it.
Click to expand...
Click to collapse
GAaaahhh..... I just wiped System and watched as it processed /system
and then I wiped Factory Reset and watched as it processed /data and /cache
So I guess that answers my confusion.

Failed FLASHING S4

Hi guys, don't know if this is going on the right forum or whatever but I have a problem!
So last week I rooted and flashed my phone to 4.4.2 Google Play Edition (I'm a noob to all of this) may I add that I have a GT-i9505 model with an unlocked bootloader etc (as I have an international s4)
Phone was working fine except for a few bugs such as camera application would stop working.
So I decided to have to have a look around at another ROM to change and flash it and I found the 4.4.2 Liquidsmooth ROM (which looks pretty good and seems to be everything I need) so I started to reflash it all again (as I did before) however I have 35% battery and my flash failed with the error
'file_getprop: failed to stat "/system/build.pro" error executing updater binary in zip.
So what is it I'm doing wrong? Is it coz I'm flashing on top of another ROM? I have no idea, can someone point me in the right direction? I'm not using an ext SD card for this either!
If you can a noob version would be awesome! Thank you so much for reading this!
BilalMH said:
Hi guys, don't know if this is going on the right forum or whatever but I have a problem!
So last week I rooted and flashed my phone to 4.4.2 Google Play Edition (I'm a noob to all of this) may I add that I have a GT-i9505 model with an unlocked bootloader etc (as I have an international s4)
Phone was working fine except for a few bugs such as camera application would stop working.
So I decided to have to have a look around at another ROM to change and flash it and I found the 4.4.2 Liquidsmooth ROM (which looks pretty good and seems to be everything I need) so I started to reflash it all again (as I did before) however I have 35% battery and my flash failed with the error
'file_getprop: failed to stat "/system/build.pro" error executing updater binary in zip.
So what is it I'm doing wrong? Is it coz I'm flashing on top of another ROM? I have no idea, can someone point me in the right direction? I'm not using an ext SD card for this either!
If you can a noob version would be awesome! Thank you so much for reading this!
Click to expand...
Click to collapse
Ok you must wipe your old rom first but MAKE A BACK UP, firstly go into recovery (cwm or twrp) and go to "back up" and make a back up. second go to wipe and wipe cache then wipe dalvic cache (if your using cmw you will have to go to advanced on the home screen to wipe dalvic cache)
third go back to wipe and wipe system, after that wipe the cache and dalvic cache just like before
And for the final stage go to install, find the rom you want (will be a zip file) and then flash it, when done wipe cache and dalvic cache one more time then reboot
And bam you should have you new custom rom (you dont have to keep wiping the cache and dalvic cache but its recomended)
bobs158 said:
Ok you must wipe your old rom first but MAKE A BACK UP, firstly go into recovery (cwm or twrp) and go to "back up" and make a back up. second go to wipe and wipe cache then wipe dalvic cache (if your using cmw you will have to go to advanced on the home screen to wipe dalvic cache)
third go back to wipe and wipe system, after that wipe the cache and dalvic cache just like before
And for the final stage go to install, find the rom you want (will be a zip file) and then flash it, when done wipe cache and dalvic cache one more time then reboot
And bam you should have you new custom rom (you dont have to keep wiping the cache and dalvic cache but its recomended)
Click to expand...
Click to collapse
Thank you, this did the trick!
BilalMH said:
Thank you, this did the trick!
Click to expand...
Click to collapse
Glad i could help :laugh:
the most important thing is read, read and read the instruction before applying any flash.
I always do that and never fail

Categories

Resources