Need help flashing ROM - Desire Q&A, Help & Troubleshooting

So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area

numb92 said:
So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area
Click to expand...
Click to collapse
Wiping everything is the recommended procedure for most roms. Wiping only data, for example, leaves data on the sd-ext partition which might result in problems. Basically wipe all in an option which spares you the time to do manually all the wipes necessary to install a ROM.

numb92 said:
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
Click to expand...
Click to collapse
If I were you I'd use fastboot to erase boot, system, userdata and cache.. yes the, boot & system files are technically overwritten when you install a new ROM, and everything else is "deleted" (if you choose to delete it from recovery), however it's a more "cleaner" install that way (as in use fastboot to erase boot & system), and most of the time ROMs appear to work better.
You can use several tools with fastboot.. you can use cmd, however commands are specific and it takes a while to learn them (there are a lot of guides, but it takes practise), and there are some software platforms. Personally, I prefer to use fastboot commander as it gives me the most features, it however requires java JDK and android SDK (possible you already have this so check before installing.. if you are going to install it in the first place)

Gotta love the helpful people in this community
Sent from my CM7.1 Desire using XDA Premium App

Related

[Q] Wiping Cache from Recovery? *PLEASE HELP*

Upon booting up via Vol. Down + Power, there are four options (fastboot, recovery, wipe cache, and simunlock). What happens when you wipe cache?
I just installed a new ROM (well updated), couldnt get it to boot as I was stuck on the custom boot screen, but after wipe cache it loads up?
Does this effect the functionality at all? Please help. Thanks
I believe this is a factory wipe, but is a dumbed down version, that does not wipe /sd-ext partitions etc. Just removes /data programs and user info, but won't touch any /system applications.
It is used to reset the phone without actually booting up the OS
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
trenwei said:
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
Click to expand...
Click to collapse
Soms roms will require you to wipe dalvik cache in order for the new rom to boot (conflicts can be caused), and wiping this cache would do it, however you can just wipe dalvik cache from recovery not this hboot menu.
For future reference when changing roms, especially when changing to someone elses rom (and especially especially when its a different base) you should be doing a full wipe
A full wipe is:
-Data (factory reset)
-Dalvik Cache
-Ext partition (although sometimes you can get away with skipping this one)
You should be able to wipe those three from both Amon-RA and Clockwork Mod recoveries.
NOTE: I am sleep deprived, so this will proberly not make alot of sense
I'm not that technical with the Android system (have worked with linux abit though)
Deleting the cache would remove any saved data from the system. These saved items may contain anything from images to which default program is loaded, to which widgets are loaded on the homscreen.
This is why after a new install the phone takes a little longer booting up, creating all the new files. If you need me to go into cache, use Google.
Another theory would be:
After an upgrade, some files and apps think that the system has changed owners, so their permissions change from read/write to read/only etc.
With this, some system files will become inaccessible, will be unable to be edited and so forth.
A way around this would be to "fix" the permissions of the data, changing the owner of the files allowing read/write permissions
Rom Manager has a nice little feature that allows you to fix permissions, and has come very helpful for me, with my switching to and from OD/Pinky, and restoring LauncherPro, which likes to FC at every restore -.-.

[Q] Wiping Dalvik

When reboot my phone and go into Clockwork Recovery to install a new ROM, i do a 2x Wipe of data and then 1x Cache Wipe and 1x Dalvik, but the Dalvik does not do anything, i hit the power button and try to run it and nothing happens, no words scroll saying wipe complete or anything...
Please Help
Im running Ava v6
Thanks
I'll be polite: This has been discussed a number of times. Search first, ask questions later.
SilverZero said:
I'll be polite: This has been discussed a number of times. Search first, ask questions later.
Click to expand...
Click to collapse
Thank you for not tearing me a new one, I forgot to do a search
Thanks
I found this in a thread, It was a post from you.
Thanks
Originally Posted by antiphon
ClockworkMod DOES indeed wipe the dalvik cache. I think the reason why many people are confused is that it only takes a second or two for the dalvik cache to wipe on CWM, whereas it takes longer on RA. However, the reasoning behind this is simple- most people wipe the cache partition before wiping the dalvik cache. When you wipe the cache partition, you are wiping everything on that partition, including the dalvik cache. So in essence, when people go to the Advanced menu in CWM to directly wipe the dalvik cache, they are essentially wiping a blank folder.
If you don't believe me, try this:
1. Reboot into recovery
2. Go to the CWM partitions menu and mount the cache partition
3. adb shell
4. cd /cache/dalvik-cache
5. Type "ls-a" and note all the files.
6. Exit adb shell
7. Wipe the cache partition in CWM
8. adb shell
9. cd /cache
10. Type "ls-a". This time there should be no dalvik-cache directory.
I posted this exact test and result a couple of weeks ago, with the same reasoning. People don't care, they believe what they want to believe.
It would be at least compelling if somebody from the other camp would post proof that CWM does NOT wipe their dalvik cache.
Actually, just the response at the bottom was mine, but yeah, now you know. The answer is still somewhat unclear. I would assume it's working (since you are wiping /data anyway . . . twice, because you're OCD or something ) unless you have problems. Some say it works fine, some say it doesn't, but I haven't seen anything beyond the "there are reports that it doesn't" thing - it's always a friend of a friend.
"It's the Kentucky Fried Mouse." (Name that movie!)

[Q] *wipe*

Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
diassuncao said:
Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
Click to expand...
Click to collapse
Full wipe: Format data, cache, dalvik cache. It does not touch your SDcard data.
Edit: Usually people also Wipe Battery Stats. I found it unnecessary so I forgot to include. It may also involve formatting your SDcard if you have funky stuffs in there. (apps2SD for example)
If you use ClockwordMod, for example, you would have to choose Format data/factory, then Advanced => Wipe Dalvik Cache and Wipe Battery Stats
Super wipe:
Fallen Spartan said:
Basically it does the following:
1) Call erase_image on CACHE, SYSTEM, USERDATA, and BOOT partitions
2) Mount /sd-ext (if it exists) and delete all files from it
3) Delete all files in the /sdcard/.android_secure directory which is where all the froyo apps2sd files live
4) Run e2fsck (file system repair) on the your ext partition
5) Log all output to the /tmp/wipe.log file (if you care)
You will need to power off and reboot back into recovery after running this to install a new rom....as you won't have one on device
If you forget and try to boot normally you will get stuck at splash screen, then you will have to pull battery to power off.
Click to expand...
Click to collapse
To super wipe you often need a zip file and flash it in recovery. Example:
http://forum.cyanogenmod.com/topic/19959-superwipe-for-g2-w-gps-fix/
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
blimey...
out of interest should i be wiping anything when i restore from a backup?
Yes
Especially if there was data coruption
Sent from my HTC Vision using xda premium
Thanks
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
I Agree!
That's why i want to know about wipes.
Thanks a lot!

Full cleaning method ...

Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
reynierpm said:
Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
Click to expand...
Click to collapse
The steps to a clean flash are:
-wipe cache
-wipe dalvik
-make backup (just in case)
-wipe data/factory reset
-format system (under mounts/storage)
-flash ROM
-flash gapps
-reboot
-ENJOY
Hope that helps.
Sent from my Galaxy Nexus using xda app-developers app
I can't find where "wipe dalvik" is
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
Under advanced.
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
it's under advanced in CWM
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
z06mike said:
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
Click to expand...
Click to collapse
What you wrote is misleading.
"Rooting" does not wipe anything.
Unlocking the bootloader will wipe data, but that's it. It will not erase /system, /boot, or /cache.
Sent from my Galaxy Nexus using Tapatalk 2
Just curious. Have you un-checked Settings -> Backup & reset -> Automatic restore?
Lol.. if you want a functional wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
withbloodskies said:
Lol.. if you want a full wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Don't think boot is an option in CWM "dunno why" lol, I suppose if you wanted to go through those steps
CWM should add a few more options such as those.
Sent from my Galaxy Nexus using Tapatalk 2

[Q] ViperX venom tweaks won´t stick - flash problems

When installing the new uppdate ViperX 3.3.0 - can I do a full wipe and install that or do I need the former versions first (3.2-3.2.4)?
I´ve had problems flashing numerous times but finally got it on the phone and then made the 2 other uppdates ota to 3.3.2 but when I´m in the venom tweaks and change the max cpu to 1300 and changes back to 1500 after a while and sometimes after reboots.
I checked the ticker "aply settings on boot". Sometimes the min cpu freq also changes by itselfes to 1300....
The "mount system r/w" ticker also never stays checked....
I´ve had problems flashing, it only worked when I didn´t do a full whipe on the 3.3.0 version.
Sometimes the flash crashed after 10-15% and sometimes when the flash was ok and finished I ended up on the white htc logo.
I did this:
1: Move the zip file to htc in my download folder.
2. using winrar, get the boot.img file - moved that to my Boot_Flash_Script folder.
3. Go to Bootloader
4. Connect htc one x to the pc - fastboot usb
5. In the Boot_Flash_Script folder - dubbelclick on the flash-boot-windows file.
The boot.img flashes ok and also the cache is cleared.
6. unplugg the htc and go into recovery.
7. Using Aroma Installer I wipe cache, wipe dalwik cache and (maybe this is wrong) wipe System.
8. Then I click Install - find the zip file and excecute that.
9. Choose the stock kernel.
10. Full wipe.
11. flashes.
Then it sometimes crashed at 10-15% or flashes ok and when i hit "Reboot" it hangs itself on the white htc logo.....
This also happened when I tried to flash Icecoldjelly…
What am I doing wrong?
Noooob-thanks,
Nothing really, but download the latest full rom and check the MD5 number, flash the boot.img again and do a full wipe in recovery....
Wipe cache partition
Wipe data/factory reset
Advanced - wipe dalvik cache
Mounts & storage - format cache, data, system
Just to be sure and then install the Rom.zip. choose in the aroma for a full wipe again and continue....the question about the kernel you answered correct with NO.
the mhz option probably doesn't stick because there is only a stock kernel available, we don't have custom kernels yet ....
When wipeing and factory reset, does it erase anything on my sd-card?
It shouldn, right, since its on sdcard0...?
Even with a factory reset it shouldn't erase nothing?
Nope
Great.
Thanks!
So after flashing the boot.img, go into recovery and basicly wipe everything except external storage?!
Under "Mount" there are 4 tickers : Mount System, Mount Data, Unmount Cache, Unmount SD Card.
Unmount Cache & Unmount SD Card are checked....
What to do there?
And then just flash the Rom, Full wipe in Aroma, chose stock kernel and that should do it?!
I will quote myself ! Do NOT touch the mount stuff only touch the FORMAT stuff
And ofcourse you do NOT format sdcard !!!
Mr Hofs said:
Nothing really, but download the latest full rom and check the MD5 number, flash the boot.img again and do a full wipe in recovery....
Wipe cache partition
Wipe data/factory reset
Advanced - wipe dalvik cache
Mounts & storage - format cache, data, system
Just to be sure and then install the Rom.zip. choose in the aroma for a full wipe again and continue....the question about the kernel you answered correct with NO.
the mhz option probably doesn't stick because there is only a stock kernel available, we don't have custom kernels yet ....
Click to expand...
Click to collapse
Flashed the boot.img.
Wiped everything and did a factory reset then flashed the Rom and it worked.
Think the factory reset did the trick - the only thing I didn´t do before.
Thanks!!!!!!!!
Finally !!!

Categories

Resources