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

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

Related

[Q] Flashing precautions

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.

[Q] Unstable ICS ROMs (tried many...)

Hey guys!!!
New galaxy S2 owner. I have done some searching in these forums and the threads answered many of my questions. However, I still have some newbie questions that I found unanswered. Please excuse me if my questions have been answered before but I got tired of searching
Here is the deal:
Yesterday, I flashed a CF Root with Odin3. Then used CWM to flash a wanamlite firmware. The firmware was great but I didn't like that it still had TW. So I dl'ed another firmware to the internal SD card and flashed again using CWM. I then flashed a couple of other ROMS and I noticed that after the first wanamlite flash, the new ROMs were unstable with many error messages that some OS processes have stopped etc.
I got back home, flashed to stock with Odin3 and the phone got stuck at the second samsung logo. I followed some community steps (thanks XDA) like disabling all kies processes from TM, wiping data/cache, then boot in DL mode and flash the stock ROM using Odin3 which worked.
I then Flashed a CF Root again and used CWM to flash a Spike Pure ICS ROM v5 which was great but I get occasional error messages like 'gallery stopped' or some other error message when I try to set contact photos. It just lags, blackscreen then comes back with the 'Unfortunately, the process had stopped'.
My questions: is this because of the previously flashed firmware that this is happening or is it that those ICS ROMs have these issues commonly? Did anyone have this experience before? What do you advice before flashing to a new ROM going back to stock or going straight from the current? Doesn't Odin3 technically wipe everything back to stock?
WIPE WIPE WIPE.
Go into recovery. Data/factory reset.
Advanced, Wipe dalvic cache. Mounts and storage, format system. Its a standard procedure going from one OS to another OS. You can then either flash a firmware zip from recovery or an .tar file from Odin.
Then to be on the safe side factory reset once again.
Sent from my GT-I9100 using Tapatalk 2
Wich fw do you have?
Make a deep clean with odin an flash on the latest ics version (lp9 is a good one)..then flash (if you want) a custom rom..
My experience with custom roms: one of the best rom samsung based (ics 4.0.3) is the foxhound greyfox v2..if you want a pure ics rom flash the omega aokp rom (ics 4.0.4)..
Try then to change kernel..siyah is the best for both roms..
P.s. sorry for my bad english
Sent from my GT-I9100 using Tapatalk 2
After LP7 should be staple enough for daily use .However you are using custom roms and you should read carefully each roms thread before flashing .
You are probably suffering from flashing multiple roms and leaving bits behind as well = clean wipe .
jje.
Can someone give me a clear full wipe procedure? I always wiped data/factory rest/wiuped chaceh and dalvik... but what else? a step by step procedure would be helpful!!
I currently have Spike Pure ICS v 5.
What do you mean by Odin3 'deep clean'?
OJ77 said:
Can someone give me a clear full wipe procedure? I always wiped data/factory rest/wiuped chaceh and dalvik... but what else? a step by step procedure would be helpful!!
Click to expand...
Click to collapse
Read my last post..
Sent from my GT-I9100 using Tapatalk 2
so:
1. Recovery mode > format user data > wipe cache > clear dalvik > format system (from moutns and storage)
2. Download mode > flash stock ROM using odin 3
Did I get it right? Was there something i didn't wipe?
Before you flash a new rom, make sure you answer the requirements.Some ICS roms need to be flashed in specific way.
The way of doing a full wipe is you go in Clockwork mode, wipe data/factory reset, you wipe cache partition, then go to advanced wipe Dalvik and Battery stats, then go in mounts and storage ( i think ) and you wipe the cache from there, but nothing else in mounts and storage.If you wipe anything else there's a high percent of bricking your phone.If this doesnt help you, I doubt that anyone could give you any clearer instructions.
Good luck.
DONT FORMAT SYSTEM.
....................................
Clean Slate for those that balls up the firmware .Or need to return to service or decide if its hardware/firmware problem .
Backup data first if phone is working .
Boot CWM recovery
Mounts and Storage
Format cache data system sd card .
Remove battery
Boot to download mode
Open Odin
Install correct stock firmware .
Followed by root and custom rom if you so wish .
jje
OK im confused now... do I format system directory in mounts and storage or no?
OJ77 said:
OK im confused now... do I format system directory in mounts and storage or no?
Click to expand...
Click to collapse
i always do personally.
I got tempted and formatted system/cache/data but now i cannot flash from my internal sd card.. I get errors and 'installation aborted' if i try to do it from CWM... does that mean formatting those 3 means Odin3 is the only way? Cus I'm not home and I don't have odin3 on me.... LOL!
OJ77 said:
I got tempted and formatted system/cache/data but now i cannot flash from my internal sd card..
Did you format sd card and totally wipe the lot = nothing on the phone .
Backup data first if phone is working .
Boot CWM recovery
Mounts and Storage
Format cache data system sd card .
At this point you have no OS on the phone nor kernel rooted nor CWM .
Hence
Remove battery
Boot to download mode
Open Odin
Install correct stock firmware .
Click to expand...
Click to collapse
JJ, you really need to learn how to quote you know, makes your posts so confusing to read sometimes
skimminstones said:
JJ, you really need to learn how to quote you know, makes your posts so confusing to read sometimes
Click to expand...
Click to collapse
Agree must try better .
Habit from replying to emails i guess .
jje
Thanks...
I did a 'full wipe' by doing t his:
1. Boot into CWM: wipe data, wipe cache, wipe dalvik, wipe battery stats, wipe system/data/cache from mounts.
2. Reboot into DL mode, flash stock ROM using Odin3.
3. Repeat step 1
4. flashed spike ICS v 7.3 using CWM. Stable so far.
Thank you!
imho: the most stable ics release is the stock official, but with some.battery issues, my suggestion: stay on gingerbread, find a custom kernel to suits your need,
GT-I9100, official 2.3.6, hardcore's Speedmod
budi.hermawan said:
imho: the most stable ics release is the stock official, but with some.battery issues, my suggestion: stay on gingerbread, find a custom kernel to suits your need,
GT-I9100, official 2.3.6, hardcore's Speedmod
Click to expand...
Click to collapse
I agree! I don't like ICS because is still unstable! My battery lasts very short with ICS and the phone overheats.
Moreover I hate the browser! I mean, The Galax S2 with GB still has the smoother browser of all the smartphones out there, and Samsung with ICS update messed it up! Now is laggy with micro stutters! Don't understand why!
OJ77 said:
The firmware was great but I didn't like that it still had TW.
Click to expand...
Click to collapse
You didn't need to go through all that trouble just because you didn't want TW (which I also hate, btw).
You could simply have installed another launcher (such as Go Launcher EX, ADW, etc) from Play Store and, since you were already rooted, uninstalled TW using Titanium Backup afterwards. It has to be in that sequence (install new then uninstall old).
this way you can have whatever ROM + kernel combination you like, and still use whatever launcher you prefer.

help flashing custom rom

i have been trying to flash a custom rom for quite some time now
i flash a standard rom from samfirmware everything works fine
then i root the phone foe clockwork recovery and super user
now no matter what rom i install all it does is reboot its self over and over
ive tried clearing catche and divlek and factory reset befor and after update but no joy please help me
JohnyBoy2o11 said:
i have been trying to flash a custom rom for quite some time now
i flash a standard rom from samfirmware everything works fine
then i root the phone foe clockwork recovery and super user
now no matter what rom i install all it does is reboot its self over and over
ive tried clearing catche and divlek and factory reset befor and after update but no joy please help me
Click to expand...
Click to collapse
What standard ROM did you use? Did you do a wipe after you installed Clockwork?
JohnyBoy2o11 said:
i have been trying to flash a custom rom for quite some time now
i flash a standard rom from samfirmware everything works fine
then i root the phone foe clockwork recovery and super user
now no matter what rom i install all it does is reboot its self over and over
ive tried clearing catche and divlek and factory reset befor and after update but no joy please help me
Click to expand...
Click to collapse
General steps before flashing a new ROM.
1. 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 an unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
JohnyBoy2o11 said:
i have been trying to flash a custom rom for quite some time now
i flash a standard rom from samfirmware everything works fine
then i root the phone foe clockwork recovery and super user
now no matter what rom i install all it does is reboot its self over and over
ive tried clearing catche and divlek and factory reset befor and after update but no joy please help me
Click to expand...
Click to collapse
Based on the bold, you're in a bootloop. Try to wipe data/ factory reset, clear cache and dalvic in cwm recovery and it should work
Edit: and are you following the steps on the first post of the thread? The creator of the rom usually has step by step instructions on how to install the rom
Sent from my Nexus 7 using xda premium
darkside super wipe
can i just use darkside super wipe before installing a new rom is that good enough
I used to have the same problem too, the problem was with my kernel, if you can, go into download mode and flash stock ROM then root using siyah
Sent from my GT-I9100 using xda premium

[SOLVED]SGS2 issues upgrading to Jelly Bean

Hello, I hope this is the right group.
I have spent the last 2 days trying to get JB working on my SGS2. I previously had ICS Hydra h2o 1.4.1 ROM on my device.
The troubles started when I tried booting into CWM recovery. The phone wouldn't go past the yellow triangle so I had to use ODIN to flash stock Samsung ICS ROM on the phone to get it working again. I have since tried multiple JB ROMs with different kernels but most of them get past the yellow triangle but then stop on logos varying between kernels. I am also unable to boot into CWM recovery and must flash a CF-Root kernel using ODIN to get into recovery.
It is strange that this happens only with JB ROMs and I have no trouble installing Hydra h2o again through recovery.
I always use the same method of installing ROMs through CWM:
- wipe data/factory reset
- wipe cache
- wipe dalvik
- install .zip from sdcard
I have also tried fixing permissions before and after flashing ROMs, nothing seems to get me into the OS.
One ROM, Vanilla RootBox, I have found to sometimes boot all the way into the OS but the system frequently freezes and is unstable. Looks amazing tho.
Do you have any ideas on how I could get JB ROMs working with my SGS2? Is there anything I am missing?
SynGates said:
Hello, I hope this is the right group.
I have spent the last 2 days trying to get JB working on my SGS2. I previously had ICS Hydra h2o 1.4.1 ROM on my device.
The troubles started when I tried booting into CWM recovery. The phone wouldn't go past the yellow triangle so I had to use ODIN to flash stock Samsung ICS ROM on the phone to get it working again. I have since tried multiple JB ROMs with different kernels but most of them get past the yellow triangle but then stop on logos varying between kernels. I am also unable to boot into CWM recovery and must flash a CF-Root kernel using ODIN to get into recovery.
It is strange that this happens only with JB ROMs and I have no trouble installing Hydra h2o again through recovery.
I always use the same method of installing ROMs through CWM:
- wipe data/factory reset
- wipe cache
- wipe dalvik
- install .zip from sdcard
I have also tried fixing permissions before and after flashing ROMs, nothing seems to get me into the OS.
One ROM, Vanilla RootBox, I have found to sometimes boot all the way into the OS but the system frequently freezes and is unstable. Looks amazing tho.
Do you have any ideas on how I could get JB ROMs working with my SGS2? Is there anything I am missing?
Click to expand...
Click to collapse
Follow this:
-boot to CWM recovery
-wipe data /factory reset
-wipe dalvik cache (under advanced)
-format /system (under mount and storage)
-flash ROM
-flash Gapps (for jelly bean)
-fix permissions
-reboot phone
Done
Swyped from my Samsung Galaxy SII
Thank you for the reply, but that method does not seem to work either.
One thing I have noticed though is when I select wipe data/factory reset it reports an error formatting /sdcard/.android_secure.
Is this something that could be causing my problems?
SynGates said:
Thank you for the reply, but that method does not seem to work either.
One thing I have noticed though is when I select wipe data/factory reset it reports an error formatting /sdcard/.android_secure.
Is this something that could be causing my problems?
Click to expand...
Click to collapse
Nope
Swyped from my Samsung Galaxy SII
SynGates said:
Thank you for the reply, but that method does not seem to work either.
One thing I have noticed though is when I select wipe data/factory reset it reports an error formatting /sdcard/.android_secure.
Is this something that could be causing my problems?
Click to expand...
Click to collapse
which kernel u were into while flashing the JB rom?
Use siyah or dorimanx kernel it works fine for me must be your kernel
Sun90 said:
which kernel u were into while flashing the JB rom?
Click to expand...
Click to collapse
When I'm flashing I'm using XLPB kernel with CF-root. That's the kernel I flash to get into CWM when the ROMs misbehave.
SynGates said:
When I'm flashing I'm using XLPB kernel with CF-root. That's the kernel I flash to get into CWM when the ROMs misbehave.
Click to expand...
Click to collapse
try this.
after flashing Cf-root kernel from ODIN.
1) flash the .zip file of siyah kernel v3.5.2 for S2, dwnld the same Here.
2)after that reboot into siyah kernel recovery.
3) wipe data/factory reset, then wipe cache and dalvik.
4) flash the JB rom zip file(Vanilla root box).
5)reboot ur phone and see.
ps- before doing wipes and rom flash do please backup ur exsisting rom once ur into siyah kernel recovery first
Sun90 said:
try this.
after flashing Cf-root kernel from ODIN.
1) flash the .zip file of siyah kernel v3.5.2 for S2, dwnld the same Here.
2)after that reboot into siyah kernel recovery.
3) wipe data/factory reset, then wipe cache and dalvik.
4) flash the JB rom zip file(Vanilla root box).
5)reboot ur phone and see.
ps- before doing wipes and rom flash do please backup ur exsisting rom once ur into siyah kernel recovery first
Click to expand...
Click to collapse
Gives me Kernel panic or stops at the triangle loading screen. Seems the only way to get into CWM is through CF-root.
SynGates said:
Gives me Kernel panic or stops at the triangle loading screen. Seems the only way to get into CWM is through CF-root.
Click to expand...
Click to collapse
Use a newer version of siyah or dorimanx, they should work fine
Sent from my GT-I9100 using xda app-developers app
I have tried three versions of syiah, including 4.1.4 but I will try dorimanx and report with the results.
edit: dorimax kernel is the same.
One thing I noticed tough is whenever I wipe dalvik cache the system reports "unknown volume for /ext-sd blablabla" - maybe this is connected to my problem?
I am at a complete stop...
No JB kernels seem to work whatsoever. Is there any wit to flash the bootloader? Or is that even possible?
I really would like to get JB working on my device.
There must be something about the previous state of my phone, some files or folders that are in the way or are missing or somewhat. Is there any way to completely reset the phone? Not just factory resetting it since that is not working.
edit: Progress! These are my steps:
- Downloaded fresh stock Samsung ROM and another version of CF-root.
- Flashed stock ROM and then CF-root kernel.
- Booted into recovery and did the whole wipe.
- Flashed .zip twice (don't know if that did the trick or what)
- Wipe dalvik cache and fix permissions.
After that the phone booted normally and I'm now running ResurrectionRemix with Android 4.1.1, hoping it wil be awesome as ****.

About ICS Update

I have a P7500 with Overcome v2.3.1 installed, and I want to install the Stock ICS rom from this topic.
What is the better way to install it? Can I just flash it over my current rom with recovery? Or do I have to flash it with Odin? If possible, post a link with the better procedure.
Thanks!
Just flash it in recovery.
Make sure to wipe completely. Such as cache, dalvick, factory reset.
The typical procedures when installing a new ROM.
Installation Instructions
Download ROM and put on SD Card (Obvious but it must be said)
Boot into CWM Recovery and perform a FULL WIPE!!! (Wipe data factory reset, wipe cache, and then wipe dalvik cache!!!)
IMPORTANT!!! YOU MUST PERFORM THE WIPE PROCESS BEFORE FLASHING THIS ROM!!!
Flash ROM
Reboot!!! Done!!!
Credits to Task650
I'm not responsible for anything that happens if you choose to listen to me, including if you tab comes to life, grows fifty feet, and takes over your neighborhood.
Sent from my GT-P7510 using XDA Premium HD app

Categories

Resources