[Q] How do I upgrade my CM10? - Samsung Galaxy Nexus

Total newb question but on the CM10 thread they say:
Instructions:
First time flashing CyanogenMod 10 your device, or coming from another ROM?
Root the device and install ClockworkMod Recovery. Instructions are available here.
Perform a NANDroid backup of your current ROM.
Format the system, data & cache partitions of your device.
Perform a factory reset.
Flash CyanogenMod.
Optional: Install the Google Apps addon package.
Click to expand...
Click to collapse
.... they don't say how to flash if you are upgrading.
Some in the thread say that they just "dirty flash" it.
What exactly is a "dirty flash"?

oshax said:
Total newb question but on the CM10 thread they say:
Instructions:
First time flashing CyanogenMod 10 your device, or coming from another ROM?
Root the device and install ClockworkMod Recovery. Instructions are available here.
Perform a NANDroid backup of your current ROM.
Format the system, data & cache partitions of your device.
Perform a factory reset.
Flash CyanogenMod.
Optional: Install the Google Apps addon package.
.... they don't say how to flash if you are upgrading.
Some in the thread say that they just "dirty flash" it.
What exactly is a "dirty flash"?
Click to expand...
Click to collapse
dirty flash means you didnt wipe data/cache.
most of the time, you can dirty flash newer versions of the same rom over the older version of the rom you have.
HOWEVER, if you have problems, you need to wipe data/cache and reflash the rom completely

Zepius said:
dirty flash means you didnt wipe data/cache.
most of the time, you can dirty flash newer versions of the same rom over the older version of the rom you have.
HOWEVER, if you have problems, you need to wipe data/cache and reflash the rom completely
Click to expand...
Click to collapse
Guess I might as well wipe the cache and dalvik even on a dirty flash?
Thanks

I upgraded from CM10 M1 to M2 with only a wipe of Dalvik cache. Works fine.

I finished installing M2 after wiping both the cache and dalvik cache (figured I would do the cache just in case).
Worked great!
Thanks all

oshax said:
Total newb question but on the CM10 thread they say:
Instructions:
.... they don't say how to flash if you are upgrading.
Some in the thread say that they just "dirty flash" it.
What exactly is a "dirty flash"?
Click to expand...
Click to collapse
***what Nexus version do you have?*** i've used the below instructions with GSM GNex***
If you're coming from an AOSP CM9 rom, Do the following :
Download Maguro (or your models ROM+Gappsl).
- boot into recovery.
- Preform NANDroid Backup.
- Wipe Dalvik cache.
- Wipe Factory reset.
- Wipe Cache.
- install zip from SDcard>choose zip from SDcard>ROM.zip (your ROM)
- Flash Gapps.zip
- Flash kernel.zip (if you have one)
- go to Advanced> Fix Permissions
- Reboot system now !
- Enjoy.
***I've used this method for a trillion flashes !***

No need to wipe anything when updating nightlies. Like it was said before, wipe data and reflash when you face problems.
Sent from my i9250

bk201doesntexist said:
No need to wipe anything when updating nightlies. Like it was said before, wipe data and reflash when you face problems.
Sent from my i9250
Click to expand...
Click to collapse
+1

Related

[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] HELP!!!

i have a unlocked & rooted galaxy nexus....i flash the rom open kang build 22 & flash the gapps 4.0.4 after i rebooted. i stocked in bootanimation & hang up & appear the google logo, always like that...cannot start.....HELP please....
Wipe and reflash the ROM then Gapps, then boot.
Did you do a full wipe. Wipe factory/data, cache partition and in the advanced menu wipe dalvik cache. Then flash rom and gapps
After you flash the rom, wipe data,cache,dalvik and flash gapps. You cant just flash rom than the 4.0.4 gapps you will get the bootloop.
i already do full wipe & still the same problem?
1. Wipe data
2. Wipe cache
3. Wipe dalvik cache
4. Flash ROM
5. Flash Gapps
6. Reboot
krisjuls said:
i already do full wipe & still the same problem?
Click to expand...
Click to collapse
In addition to doing what Eddy says, re-download the rom and Gapps.
Thanks for reply but still the same problem
charlieb620 said:
After you flash the rom, wipe data,cache,dalvik and flash gapps. You cant just flash rom than the 4.0.4 gapps you will get the bootloop.
Click to expand...
Click to collapse
I always flash like that never have a problem. Never reflash after flash. Try to flash another ROM OP to see if it was the ROM or not.
Sent from my Galaxy Nexus using Tapatalk
i install other rom foxhound ang still the same problem
i choose the show log it says rm: can't remove '/data/dalvik-cache':no such file or directory....rm:can't remove '/cache/dalvik-cache:no such file or directory.....rm: can't remove '/sd-ext/dalvik-cache': no such file or deirectory
Thanks guys for all ur reply & time.......i already done all...its ok now, i use the wugfresh to flash stock & unroot and unlock & unroot again.Again Many Thanks

[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.

[Q] Updating [ROM] AOKP JellyBean "Nightly"

Right now I am running jb build 5, and I want to update it to jb milestone 1.
My question is simple, can you dirty flash it? I know that people who ask about dirty flash should be "killed", but I'm new to this Android and flashing ROM.
h7779 said:
Right now I am running jb build 5, and I want to update it to jb milestone 1.
My question is simple, can you dirty flash it? I know that people who ask about dirty flash should be "killed", but I'm new to this Android and flashing ROM.
Click to expand...
Click to collapse
U can dirty flash it. But if it bricks your phone don't get mad. If I was you I would wipe wipe and wipe some more ...
But like you said, your new to android. Do what you think is right for your phone.
Good luck
Sent from my SGH-T959 using Tapatalk 2
People who ask about dirty flash should be killed.
If it bricks your phone, don't get mad?
Click to expand...
Click to collapse
Seriously?
Dirty flash it. People who clean flash every nightly like wasting their time. I've outlined my feelings on this issue more than once. Wipe Dalvik and be done with it.
I have always dirty flashed AOKP between builds on my previous phone with only wiping cache/dalvik cache. Only time I full wipe is when there are significant changes or Android version jump. Never had any problems. Here's my recommendation for dirty flashing:
If you have Google Wallet installed on /system partition, reset it first.
1. Boot into recovery
2. Wipe cache and dalvik cache
3. Run a nandroid backup. Always do this.
4. Copy the nandroid backup to your PC or somewhere safe
5. Flash the new build
6. Flash gapps
7. Flash custom kernel (optional)
8. Reboot and profit
Dirty flash or full wipe flash, there always are possibilities for problems. Sometimes you could have a bad flash, just reflash or restore the nandroid and reflash.
S-Beamed from my GS3 via xda premium
[email protected] said:
I have always dirty flashed AOKP between builds on my previous phone with only wiping cache/dalvik cache. Only time I full wipe is when there are significant changes or Android version jump. Never had any problems. Here's my recommendation for dirty flashing:
If you have Google Wallet installed on /system partition, reset it first.
1. Boot into recovery
2. Wipe cache and dalvik cache
3. Run a nandroid backup. Always do this.
4. Copy the nandroid backup to your PC or somewhere safe
5. Flash the new build
6. Flash gapps
7. Flash custom kernel (optional)
8. Reboot and profit
Dirty flash or full wipe flash, there always are possibilities for problems. Sometimes you could have a bad flash, just reflash or restore the nandroid and reflash.
S-Beamed from my GS3 via xda premium
Click to expand...
Click to collapse
Thanks for all of the responses, I'll just dirty flash it. Also I have brick my phone twice now and was able to unbrick it, so I'm not really worry about bricking it again.

TWRP question

Hey,I just flashed twrp's last recovery and now i want to flash a 4.2.1 rom,what should I wipe? Cuz i never used twrp before and I don't wanna dk smth wrong :-/ should I wipe everything except Internal/external memory?
calinoii said:
Hey,I just flashed twrp's last recovery and now i want to flash a 4.2.1 rom,what should I wipe? Cuz i never used twrp before and I don't wanna dk smth wrong :-/ should I wipe everything except Internal/external memory?
Click to expand...
Click to collapse
Factory reset, format /system
Flash rom
Edit: this is how I flash roms and I NEVER had an extra issue by doing so.
Sent from my i9250
calinoii said:
Hey,I just flashed twrp's last recovery and now i want to flash a 4.2.1 rom,what should I wipe? Cuz i never used twrp before and I don't wanna dk smth wrong :-/ should I wipe everything except Internal/external memory?
Click to expand...
Click to collapse
this how i flash ANY rom and have never had issues..
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. reboot
k786 said:
this how i flash ANY rom and have never had issues..
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. reboot
Click to expand...
Click to collapse
+1 :good:
Note to OP: Don't flash Gapps if it is included already in the ROM you installed.
after flash i wipe the cache/dalvik. I think it is the option after you flash in twrp.
Thanks for your answers

Categories

Resources