patch installation... - General Questions and Answers

Was wondering if I could get some advice on the best way to install a couple patches in zip format for a rom I have...
Do I flash the rom as usual, re-boot and let it simmer a while, then go back into recovery, wipe and install the patches?
Or can I flash the rom, then wipe and install patches without re-booting until after all is done?
Also, If more than one patch, the same question applies as far as a re-boot, that is, do I need to re-boot each time after each patch or can I install the zips all at once, then re-boot?
And finally a related, much discussed issue, and that has to do with wiping the system when flashing...
Is there any harm in wiping the dalvik and cache right after a fresh rom install or rom restore from backup BEFORE re-boot?
The idea would be to have the new installation, regardless of a new system or a restored backup sitting on a clean base, as I understand, the install creates some junk in the cache, that's why it is suggested to wipe the system before you do a backup...
Thanks.

Related

[Q] Loop problem

Hello all. I'm pretty new and I hope this is the right place to open this thread. I did many searches, tried a lot of ways but i can't fix my problem.
Well the problem is that Everytime that i flash a new rom (in the Restoreway (Found on youtube) And in the .zip way) after installing the rom, and rebooting from xRecovery it start an endless loop and i don't really know how to fix it.
I tried many methods. Like wiping cache, factory reset and aaaall the other wipes.
so, ill ask you guys, please help me cause i can't find a way to flash this thing. :\
thank you so much.
hey dude i suggest you flash back your phone to stock rom
That fixes all the problems in the system and after that you just root it again
and install everything you want but be carefull in what you uninstall!
Try this...
I would suggest GSB ROM 3.6. Been using this rom since since version 2.2 and had very little problems. It is important that you follow Sheds instructions to the letter. It is very fast and basically trouble free. You can get it here. http://forum.xda-developers.com/showthread.php?t=944430
install ruu ?
do a factory rest ..else try stockroms
what i'll do is try to wipe cache partition and wipe dalvik cache before i flash a new ROM... if it still fails then i will do wipe cache partition and wipe dalvik cache and factory reset before i flash new ROM...
my last resort will be to flash stock ROM then flash custom ROM again...

[Q] Updating a ROM

This is not a "how to root" post.
I finally said F it and installed clockworkmod and flashed a ROM but I just did a basic one to get my feet wet.
My basic question is how do ROM upgrades get installed. Say I install the latest EaglesBlood ROM and there is an update for it. Do I have to do a complete data/cache clear and re-flash with the newest ROM or is there some sort of updater or is each developer different?
Thanks.
That really depends on what was updated. Most of the time if you are upgrading to a newer version of the same rom, you can get away with just flashing over it, and keeping your data intact. Clearing /cache and the dalvik-cache is recommended. However this is not always the case. Some changes require data wipes to be effective. Usually best to ask in the rom's thread if a wipe is needed.
Also, sometimes you can just do a nandroid backup, install new rom, then reboot into cwm and do an advanced restore just restoring the data partition. Again, it really depends on the rom, and what was upgraded.

Upgrading ROM (CM9 Nighlty)

When upgrading a ROM with only few changes is this the correct procedure? Install the new ROM wipe cache/dalvik without data and you have apps and settings and everything?
Almost.
Wipe Dalvik and Cache FIRST
THEN overlay the new ROM update.
Always make a nandroid backup first just in case anything goes screwy, especially when you are dealing with CM nightlies. Every once in a while one will have an update that breaks a bunch of stuff. You don't want to be stuck with a broken ROM.

Should I wipe cache/dalvik before or after flashing?

When and which of them should I wipe for flashing anything in recovery, except a ROM, since u need to clean everythibg, except the storage data for that one. So I'm aiming at things like kernel, open gapps, recovery update. Something like those, but most importantly, what should I wipe and when, if I install xprivacy through on 6.0.1 through recovery?

Is clean flash really clean?

I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
1. So I first tried to uninstall that app with Rom Toolbox. Didn't help.
2. Then I cleared data and cache from Phone services. Didn't help.
3. Then I booted to recovery and wiped cache. No help.
4. Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
5. So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Yep, wiping everything is clean flash, or wipe everything but internal storage (if still problems, delete . Android folder beforehand).
Sent from my Pixel using XDA-Developers Legacy app
simeoni said:
I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
So I first tried to uninstall that app with Rom Toolbox. Didn't help.
Then I cleared data and cache from Phone services. Didn't help.
Then I booted to recovery and wiped cache. No help.
Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Click to expand...
Click to collapse
for mw to be clean i would flash stock firmware then do the following procedure here
https://forum.xda-developers.com/tmobile-g4/development/turbo-cleaning-proceure-h811-t3417606
simeoni said:
I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
So I first tried to uninstall that app with Rom Toolbox. Didn't help.
Then I cleared data and cache from Phone services. Didn't help.
Then I booted to recovery and wiped cache. No help.
Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Click to expand...
Click to collapse
A factory reset isn't a clean flash. A clean flash is wipe system, data, dalvik/art cache. You have flashed the camera app to your system partition, so you have to wipe /system in twrp too (together with /data and /cache if you want to make a clean flash). But in your case it should be enough to wipe system and then reflash your Rom to get rid of your issue
rob rich said:
A factory reset isn't a clean flash. A clean flash is wipe system, data, dalvik/art cache. You have flashed the camera app to your system partition, so you have to wipe /system in twrp too (together with /data and /cache if you want to make a clean flash). But in your case it should be enough to wipe system and then reflash your Rom to get rid of your issue
Click to expand...
Click to collapse
OK, thanks. Maybe in my step 4 above I thought that factory reset was enough but I didn't notice that it does not wipe system. So I went too far and wiped all my data, too.
But earlier when I have flashed different roms and they always tell that you must do clean flash, I didn't wipe system. So I thought clean flash was just factory reset. Still those different roms were working ok. Next time I try to remember wipe system also.

Categories

Resources