[Q] updating a ROM - flash what? wipe what? - Kindle Fire Q&A, Help & Troubleshooting

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.

Related

[Q] My Gnex won't get past 4.0.2 Canada

Hi I've tried to change my Build. I'm currently using Android Revolution HD. I've got the kernel the program came with - android-build. I have tried changing it over to a whole of builds. AOKP, Gummy
It never successfully launches any of them.
Every time I wipe data, cache and I wipe Dalvik too.
I don't know what to do...
Is there any one who is on Rogers that can do this?
Thanks guys
Biomera said:
Hi I've tried to change my Build. I'm currently using Android Revolution HD. I've got the kernel the program came with - android-build. I have tried changing it over to a whole of builds. AOKP, Gummy
It never successfully launches any of them.
Every time I wipe data, cache and I wipe Dalvik too.
I don't know what to do...
Is there any one who is on Rogers that can do this?
Thanks guys
Click to expand...
Click to collapse
Don't really make sense??? Try to also format system in recovery ( it won't touch ur personal stuff ) then do all the other wipes then try flash another Rom if that don't work I.got nothing, if u can't figure out there's always fastboot stock Google .img
Can you provide a step-by-step instruction on how you tried to update your Galaxy Nexus ? I'm not on Rogers (I'm on TELUS), but still, maybe we can help you and see if you are following the right path !
You're not doing something right if you can't get another ROM installed.
Do this.
Make sure ROM and Gapps package for that ROM is on your SD card
Reboot into recovery
Wipe data
Wipe cache
Go to Advanced, Wipe dalvik
Go to Mounts and Storage, format system, and cache
INSTALL ROM based on 4.03
Install Gapps
Reboot and Enjoy
Samsuck said:
You're not doing something right if you can't get another ROM installed.
Do this.
Make sure ROM and Gapps package for that ROM is on your SD card
Reboot into recovery
Wipe data
Wipe cache
Go to Advanced, Wipe dalvik
Go to Mounts and Storage, format system, and cache
INSTALL ROM based on 4.03
Install Gapps
Reboot and Enjoy
Click to expand...
Click to collapse
I would back your phone up before doing this. Formatting your system deletes the operating system.
theherodrownd said:
I would back your phone up before doing this. Formatting your system deletes the operating system.
Click to expand...
Click to collapse
Correct. Listen to him and PLEASE make a back-up. I forgot to mention that.

Having a huge problem with my phone not wiping.

Okay, I was on AOKP M4 and I wanted to upgrade to M5.
So I backup everything and make a backup of my ROM. I wipe the phone and caches and flash M5 with the GAPPS, with the latest CWM touch recovery. When my phone reboots I notice I have the same wallpaper as before and when I unlock my phone my pin is still requested and all of my apps and settings stayed exactly the same. I was never asked to sign into my Google account and the start up/set up screen never came up. I checked to see if I even updated and yes I was on M5. Now the ROM isn't very fast or smooth and I get a lot of force closes and things not working properly.
I tried the whole process again with the CWM non-touch recovery, and again my phone did not fully wipe and all my apps and setting remained exactly the same.
I tried it again with the TWRP touch recovery, and again my phone did not fully wipe and everything was the same and my phone remains kind of slow and I'm getting a lot of force closes.
Why is my phone not fully wiping? What can I do to fix this?
I would really appreciate some help!
you need to wipe factory / data.
wiping cache and dalvik doesn't wipe "/system/etc etc etc"
1. Wipe Factory
2. Wipe Data
3. Wipe Dalvik
4. Flash ROM
5. Flash Gapps.
6. Flash Kernel
for full wipe.
zephiK said:
you need to wipe factory / data.
wiping cache and dalvik doesn't wipe "/system/etc etc etc"
1. Wipe Factory
2. Wipe Data
3. Wipe Dalvik
4. Flash ROM
5. Flash Gapps.
6. Flash Kernel
for full wipe.
Click to expand...
Click to collapse
Yes, that is what I'm doing. I'm wiping factory/data and I'm still having the same problem
Like with the TWRP recovery, I went to wipe, I hit factory reset, then cache, then dalvik cache and then flashed the ROM and GAPPS and all my apps and settings stayed the same. It was like if I had dirty flashed it. I don't understand what's going on.
zephiK said:
you need to wipe factory / data.
wiping cache and dalvik doesn't wipe "/system/etc etc etc"
1. Wipe Factory
2. Wipe Data
3. Wipe Dalvik
***FORMAT /SYSTEM*** (under mount in CWM I believe)
4. Flash ROM
5. Flash Gapps.
6. Flash Kernel
for full wipe.
Click to expand...
Click to collapse
Try that additional step too. May or may not help
Sent from my Galaxy Nexus using XDA
killyouridols said:
Try that additional step too. May or may not help
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
What does that do exactly? Would I have to worry about my media and sd card being wiped?
SubyWill said:
What does that do exactly? Would I have to worry about my media and sd card being wiped?
Click to expand...
Click to collapse
No, all music, pictures ect will still be in place.
Sent from my Galaxy Nexus using XDA
Okay thank you, I guess this time in TWRP I'll do factory reset, cache, dalvik cache, and system and see if it works out
Okay, so I did factory reset, cache, dalvik cache, and format system.
I flashed M5 and GAPPS, rebooted and everything was still the same. My phone did not fully wipe.
I don't understand what's going. I'm so frustrated right now
SubyWill said:
Okay, so I did factory reset, cache, dalvik cache, and format system.
I flashed M5 and GAPPS, rebooted and everything was still the same. My phone did not fully wipe.
I don't understand what's going. I'm so frustrated right now
Click to expand...
Click to collapse
I would do a factory reset, if that doesn`t help flash a stock rom and root your phone again. BTW don`t you have a nandroid backup to revert to
gee2012 said:
I would do a factory reset, if that doesn`t help flash a stock rom and root your phone again. BTW don`t you have a nandroid backup to revert to
Click to expand...
Click to collapse
I have a nandroid backup, but that doesn't solve the problem of my phone not wiping.
I guess I'll unroot my phone and lock the bootloader and re-do everything to see. I don't understand why my phone isn't wiping correctly.
sometimes cwm just doesnt work with factory wipe. i've used it a few times now and sometimes it works and sometimes it doesnt. i have no idea why. you can try doing a factory wipe from the phone settings>backup and reset. ive only done that twice but it worked both times. if that still doesnt work just go with a fresh flash of google images using fastboot.
SubyWill said:
I have a nandroid backup, but that doesn't solve the problem of my phone not wiping.
I guess I'll unroot my phone and lock the bootloader and re-do everything to see. I don't understand why my phone isn't wiping correctly.
Click to expand...
Click to collapse
Init.d folders can only be wiped with a factory reset afaik, or manualy off course. By locking and unlocking the phone you perform a factory reset anyway, so i would flash a stock rom and start fresh. No chance on left files or scripts. You can do it with GNex Toolkit, option 8. Put the downloaded and not extracted .tgz file here C:\Galaxy Nexus ToolKit\put_google_factory_image_here and flash.
Thanks guys, I'll try that!

[Q] How do I upgrade my CM10?

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

Messaging and Phone apps keep crashing

Hey all,
I've been searching for a while now and decided I should just post my question finally. I have the Galaxy SIII, rooted, and running CM10 stable. For the last 3 months or so, my SMS app, Messaging, has been randomly force closing and crashing. The only way to fix it is by rebooting the phone. I've tried re-flashing the mod 5 times, and even wiped data and done 2 factory resets. Still no luck.
And more recently my "phone" app has been doing it too. It crashes when I open up the dial pad and drops calls randomly and I have to restart my phone for it to work again.
Both of these will happen randomly. Sometimes I can go 4 hours without having to restart my phone, other times I have to restart my phone every 20 minutes. It's really starting to bug me.
Is there an app that's known to cause these crashes? Or is there a possibility that the mod file is corrupt? Thoughts? Questions? Any help is appreciated!!
When you flashed Cm10, did you come from stock or a custom rom? Did you also format /system?
If you made a nandroid while on stock, I would:
Wipe data, cache, dalvik and restore that. Then (assuming you still have Cm10 and gapps zips on your device) I would wipe data and caches again, format /system and flash rom/gapps. Wipe data/cache and reboot.
xBeerdroiDx said:
When you flashed Cm10, did you come from stock or a custom rom? Did you also format /system?
If you made a nandroid while on stock, I would:
Wipe data, cache, dalvik and restore that. Then (assuming you still have Cm10 and gapps zips on your device) I would wipe data and caches again, format /system and flash rom/gapps. Wipe data/cache and reboot.
Click to expand...
Click to collapse
When I flashed, it was from a previous CM10 ROM that worked fine. I reflashed because one of my apps was getting an "unknown" error, and now this crashing is happening. I don't think I have ever done "format /system". How do I go about that?
tango259 said:
When I flashed, it was from a previous CM10 ROM that worked fine. I reflashed because one of my apps was getting an "unknown" error, and now this crashing is happening. I don't think I have ever done "format /system". How do I go about that?
Click to expand...
Click to collapse
To have a completely clean install, you should always:
Wipe data
Wipe cache
Wipe dalvik (under advanced)
Format /system (under mounts and storage)
Flash rom
Flash gapps
Wipe data
Reboot
Be sure to have whatever you feel important backed up as this will wipe your system. Make a nandroid first if you don't already have one
xBeerdroiDx said:
To have a completely clean install, you should always:
Wipe data
Wipe cache
Wipe dalvik (under advanced)
Format /system (under mounts and storage)
Flash rom
Flash gapps
Wipe data
Reboot
Be sure to have whatever you feel important backed up as this will wipe your system. Make a nandroid first if you don't already have one
Click to expand...
Click to collapse
Thanks!! I'll try it tonight and post with the results tomorrow. Last time I flashed it took 2 days until the problems arose again.
tango259 said:
Thanks!! I'll try it tonight and post with the results tomorrow. Last time I flashed it took 2 days until the problems arose again.
Click to expand...
Click to collapse
There shouldn't be any issues if you have flashed correctly. Many users have also noted that a custom rom performs better when returning to stock and then flashing the new rom via the above procedures. Feel free to pm me your results
What the???
xBeerdroiDx said:
There shouldn't be any issues if you have flashed correctly. Many users have also noted that a custom rom performs better when returning to stock and then flashing the new rom via the above procedures. Feel free to pm me your results
Click to expand...
Click to collapse
To have a completely clean install, you should always:
Wipe data
Wipe cache
Wipe dalvik (under advanced)
Format /system (under mounts and storage)
Flash rom
Flash gapps
Wipe data <------------- ????
Reboot
I can't see this is a good thing, but I'm a noob.
You're saying after installing the new ROM and apps (Flash rom Flash gapps), you then go back into CWM and select 'wipe data/factory reset'??
Again, I'm a noob and maybe I'm reading this wrong!
Doing a wipe again right after installing a new ROM sounds so wrong to me.
What would that do?
RoidRulez said:
Wipe data <------------- ????
Click to expand...
Click to collapse
This step (step 7 in your list) isn't necessary.
When in doubt, follow the directions in the OP of the rom you are trying to flash, usually can't go wrong.

[Q] Remnants

Hi there, apologies if this is a silly question. I'm not an expert by any means, just a guy who follows the directions given on helpful sites like this.
I recently flashed the Slimkat ROM onto my n7100 for various reasons. But when I did, I obviously didn't completely wipe everything (which is what I intended).
Because for example, I installed a couple games on there and found that my game-saves were still there, also there were some bits on the obb folder from apps that I had on my phone previously but haven't installed since flashing the new ROM.
Why is this? Did I maybe miss a step when flashing the ROM? I know I did the 'wipe and restore factory settings' part in CWM, but I'm not 100% if I did the part with wiping the dalvik and cache etc.
Would that be the reason?
And If I want to give my phone a completely clean wipe what's the best way to do that now? Would I have to go through the steps as if I were flashing the ROM all over again? Or could I just go into recovery mode and wipe the dalvik, cache, system, data etc and reboot?
P.S. Yes, I know that no one who gives advice is responsible if I brick my phone.
sonofsmallface said:
Hi there, apologies if this is a silly question. I'm not an expert by any means, just a guy who follows the directions given on helpful sites like this.
I recently flashed the Slimkat ROM onto my n7100 for various reasons. But when I did, I obviously didn't completely wipe everything (which is what I intended).
Because for example, I installed a couple games on there and found that my game-saves were still there, also there were some bits on the obb folder from apps that I had on my phone previously but haven't installed since flashing the new ROM.
Why is this? Did I maybe miss a step when flashing the ROM? I know I did the 'wipe and restore factory settings' part in CWM, but I'm not 100% if I did the part with wiping the dalvik and cache etc.
Would that be the reason?
And If I want to give my phone a completely clean wipe what's the best way to do that now? Would I have to go through the steps as if I were flashing the ROM all over again? Or could I just go into recovery mode and wipe the dalvik, cache, system, data etc and reboot?
P.S. Yes, I know that no one who gives advice is responsible if I brick my phone.
Click to expand...
Click to collapse
wipe cache + factory reset and dalvik cache. you should be ok. Also don't wipe system.
Sent from my GT-N7100 using Tapatalk
ceomaverick said:
wipe cache + factory reset and dalvik cache. you should be ok. Also don't wipe system.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Just a follow up - I did a wipe + factory reset, wiped cache partition, wiped davlik cache, and was surprised to find I still had leftovers on my phone. For example I had some episodes of a tv show in my downloads folder and also there was still app leftovers in the obb folder. Meh... I'll just delete stuff manually.
sonofsmallface said:
Just a follow up - I did a wipe + factory reset, wiped cache partition, wiped davlik cache, and was surprised to find I still had leftovers on my phone. For example I had some episodes of a tv show in my downloads folder and also there was still app leftovers in the obb folder. Meh... I'll just delete stuff manually.
Click to expand...
Click to collapse
Well, you will have to flash stock recovery then. after that, wipe data/factory reset and wipe cache. This will erase everything on internal SD card. I assume u have backed up EFS and other important stuff.
press thumbs up if u find this suggestion helpful.
ceomaverick said:
Well, you will have to flash stock recovery then. after that, wipe data/factory reset and wipe cache. This will erase everything on internal SD card. I assume u have backed up EFS and other important stuff.
press thumbs up if u find this suggestion helpful.
Click to expand...
Click to collapse
By the way, I sort of overlooked the obvious - in the end I just did a factory wipe and reset from inside Slimkat i.e. not via recovery mode.
And that did the job fine. Cleaned up several gigs worth of clutter which apps like SD Maid seemed to have skipped over as well.

Categories

Resources