[Q] Flashing precautions - Galaxy S II Q&A, Help & Troubleshooting

I just came from owning a vibrant (original galaxy s) and i've read multiple rom development threads but was surprised to see that there weren't any precautions listed when flashing a rom. i remember when we flashed roms on the vibrant, we had to:
- flash back to stock between roms
- wait at least 10 minutes after the roms were flashed for the dalvik cache to be rebuilt
- something else im forgetting at the moment (sorry it's almost 4 in the morning here).
do we not have to do this anymore with the sgs 2? is it ok to flash a gingerbread rom over cm7 and start using the phone right away after flashing? Thanks.

I follow my own procedure when I flash new ROMs, most are unnecessary, but I like keeping my phone clean of old stuff.
*IN CUSTOM ROM*
1. Wipe Data
2. Wipe Cache
3. Wipe Dalvik
4. Flash Stock ROM
*STOCK ROM*
5. Install ROM manager from Market
6. Flash CWM Recovery
7. Place .zip of a Custom Rom in internal SD memory
8. Reboot to Recovery
*PROCEDURE*
9. Wipe Data
10. Wipe Cache
11. Wipe Dalvik
12. For CM7.1, flash ROM TWICE, since it uses a new CWM Recovery. For a normal ROM, I install them twice too, just to be sure.

Related

[Q] Some q, about switching roms

Hi,
I'm started to read about roms and Glossary's
Currently now I'm running Trigger 3.2 that based on FROYO.
I.
As far as I understand (and correct me if I wrong) if I want to switch to another ROM (for ex. Project V) (NOT CM7 based rom) all I need to do is:
1. Copy the rom I want to phone (internal \ sd)
2. Ti backup
3. Full backup from CWR
4. wipe data\factory reset
5. wipe cache partition
6. wipe delvik cache
7. Install Zip from SDCard
Is this method cover ALL 2.2 \ 2.2.1 based roms?
II.
Is buying JIG from Ebay (http://cgi.ebay.com/Samsung-Galaxy-...0497761183?pt=Cell_Phones&hash=item20b651b39f) is recommended (Just to be on the "safe" side)
III.
If I want to try 2.3.X based rom...:
A. If I already moved to any of 2.3.X based rom the steps are exactly like in (I.)
B. If I came from 2.3 based:
1. flash with odin to stock (http://forum.xda-developers.com/showthread.php?t=1047087)
2. install GB Bootloader (http://forum.xda-developers.com/showthread.php?t=1117990)
3. boot into CWR and continue like in (I.)
IV.
About CWR - I know that this is a part of Rom Manager, and it have versions too , BUT after\before I flash new rom (2.2-2.3.X) is it recommended to install\upgrade to the lasted version and make "Flash Clockmod Recovery" (all roms came with any version of CWR)
Is those 4 Q\A are correct? (special I\II\IV)
Thanks.
Can someone help and direct me?
Thanks,.
for the 2.2 roms yes u are right, thats a very good step list!
As fo gingerbread i use cm7 so my instructions are different but ill tell u how i install cm7.
Odin to stock
Then root with eclair method of installing update package, recovery will turn from blue to green.
GEt rom manager premium as its the easiest way to do cm7.
Then go into Rom manager premium flash clockwork recovery and choose vibrantMtd and choose 3X NOT 2x. Then go to download roms and choose cm7 nightlies.
For ur very first cm7 nightlie always choose all three wipe data, wipe dalvik and backup rom!
when u update ur cm7 nightlie again u only have to wipe dalvik and backup rom.
Hope that helps
what about flashing from say miui to a jvp based rom? i know they are both gingerbread roms but miui has a cm7 base so im not sure of any extra steps i need to take in order to flash

How do you get to omfgb on ed01

How do you get to omfgb on ed01 I tried flashing cwr it only comes up once then wont come up again. Then im curius, will I lose all my apps and stuffw
It only comes up once because your stock kernel overwrites recovery after a reboot. To get it to stick, you have to flash a different kernel when it boots into cwm that first time. I'd suggest reading a lot more of the stickies, as well. Good luck!
Best bet is to read the related posts but since i am a nice guy!
1)Pop Battery and put into download mode and Odin CWM4 for CM7
cwm4-http://forum.xda-developers.com/show....php?t=1190668
look for the "attached files" at the bottom of the first post
2)when odin is finished put the battery back in and hold down both volume rockers and the power...Dont let go until you see "Samsung"
3)Wipe files\factory restore, wipe cache, and in advanced wipe Dalvik cahce
4) flash the GB rom from SD card
GB- I assume you know which thread to get the rom at!!!
5)When the flash is done reboot phone from the CWM menu.
6) let it boot fully to the rom
If "Gapps" or Google Apps is not included
7) use the shut down menu to reboot into recovery
8) Wipe files\factory restore, wipe cache, and in advanced wipe Dalvik cahce
9)Flash Gapps for GB
Gapps-http://forum.xda-developers.com/show....php?t=1191063
10)When the flash is done reboot phone from the CWM menu
11) Enjoy a GB Fascinate

Try to install MIUI !.

HI .. I TRY TO INSTALL MIUI ..
1) flash by odin xxkk5
2) flash cf root
3) poot to sdcard the miui zip file
4) i do full wipe and install the zip
when my SGS2 turn on he stuck and do reboot , stuck and do reboot ..
Problem !.
Try flashing the rom a second time.
Sent from my GT-I9100 using Tapatalk
Have you done this prior to installation?
Wipe Data
Wipe Cache
Wipe System
Wipe Dalvik Cache
then install ROM...twice if first failed.
If there's still a problem, redownload the ROM.
Flashing stock Samsung ROM is still flashing a different ROM, you're not going back to the real stock as you are still running a ROM, in this case Samsung's ROM.
View attachment SuperWipe_SGS2.zip
flash that in recovery first to wipe eveything then flash the rom and wipe dalvik then reboot and let it sit for 5 - 10 min then reboot again

[Q] Flashing custom ROM

Hi all,
Can someone help me please?
I have an S3, and have come from an S1 and several HTC's before that. Well versed in the world of flashing.
My friend has an S2, and is trying to flash a custom ROM (has tried several different ones).
He has successfully rooted and install CWM using CF-root, but when he flashes ROMs they do not work. They don't get errors when flashing, but then always gets bootloops he reboots.
The only thing that I could think was missing was from my S1 days when there was recovery 2e, but I understand the recovery is within the kernel on the S2, so thats not it.
I'm sure there is something simple missing.. he has followed the myriad of guides on here to the letter, with no joy.
His current ROM (flashed through Odin) is XWLPO (which according to several sources can be rooted with cf-root for XXLQ5)
Before flashing a custom rom, he needs to wipe at least cache and dalvik in recovery. If still not fixed, wipe data. But, never and never do this wipe in cwm while on lpo (despite the fixed v 5.6 cf root lq5 should be fine)
Sent from my GT-I9100 using Tapatalk 2
Phil3759 said:
Before flashing a custom rom, he needs to wipe at least cache and dalvik in recovery. If still not fixed, wipe data. But, never and never do this wipe in cwm while on lpo (despite the fixed v 5.6 cf root lq5 should be fine)
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thank buddy.
Just to clarify, is it only the wipe data that doesn't work from recovery, or the cache & dalvik as well?
And I assume if you don't do it through recovery, then you do it through settings --> Backup and reset?
It is best to perform full wipe, wipe cache and dalvik.
from my personal expirience its better to flash a custom rom via CWM and not via odin and defenatly full wipe and fix permissions bevor reboot
darkside super wipe?
cant i just run darkside super wipe the flash a new rom thats it right or am i missing something
I believe someone here will find this helpful
General steps before flashing a new ROM.
Requirements: ROOT access, CWM recovery
***Backup your present ROM just incase***
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip
step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII

pocof1 rom flashing.

steps i need to follow for flashing rom
1. wipe (delvik, cache, system, data)
2. install rom (after flashing a message appears 'No OS installed)
3. then i press home button, and reboot to recovery.
4. Again install rom (this time without wiping any thing)
5. finally gets new rom.
why m not able to flash rom directly after wiping cache etc.
i have to always flash the rom two times (step 4) to install.
where i am getting it wrong?? help please
previously I was using Pixel experience Rom (decrypted)
edit solution: the issue was because of using older version of TWRP. hence solved.
your issue might be because of system partition not getting mounted properly after the wipe. Hence After wiping, reboot to recovery then flash rom.

Categories

Resources