Help with recovery and flashing - AT&T Samsung Galaxy S II SGH-I777

Hello everyone, i know i am really late in the game here by playing with this phone but my friend has one and wants me to fix it up for him. it is completely stock running android 2.3.6. I can't seem to make heads or tails of how to stick a recovery on this thing and flash a rom. can anyone point me in the right direction as how to do this? thanks mates

First thing you need to know is that the recovery is compiled into the kernel, so you don't flash a recovery separately, you just flash a custom kernel and you will have a custom recovery after.
The latest stock firmware for this phone is 4.1.2 Jelly Bean, but since the phone is still on the original 2.3.6 firmware, you could flash the old Siyah kernel and use it's recovery to flash custom firmware.
You need to root the phone first. You can root this phone with Framaroot using the Aragorn exploit. Then go to this post and download the Tar version of Siyah 2.6.14 Kernel. Flash it in PDA without ticking Re-Partitioning.
Stable custom Touchwiz based firmware available in the development forum are SHOstock or Cooked. Both are based on 4.1.2, and neither are currently supported but both are stable.
If you want something more recent, there are various aosp based firmwares available in the development forum. You may not be able to flash some of them directly from that old recovery in Siyah 2.6.14, but if you need help, you'll have to try to get some help in their threads, because I don't use those.
Happy flashing, and if you need help, ask.

creepyncrawly said:
First thing you need to know is that the recovery is compiled into the kernel, so you don't flash a recovery separately, you just flash a custom kernel and you will have a custom recovery after.
The latest stock firmware for this phone is 4.1.2 Jelly Bean, but since the phone is still on the original 2.3.6 firmware, you could flash the old Siyah kernel and use it's recovery to flash custom firmware.
You need to root the phone first. You can root this phone with Framaroot using the Aragorn exploit. Then go to this post and download the Tar version of Siyah 2.6.14 Kernel. Flash it in PDA without ticking Re-Partitioning.
Stable custom Touchwiz based firmware available in the development forum are SHOstock or Cooked. Both are based on 4.1.2, and neither are currently supported but both are stable.
If you want something more recent, there are various aosp based firmwares available in the development forum. You may not be able to flash some of them directly from that old recovery in Siyah 2.6.14, but if you need help, you'll have to try to get some help in their threads, because I don't use those.
Happy flashing, and if you need help, ask.
Click to expand...
Click to collapse
If you don't mind me asking, what's the benefit of having the recovery compiled into the kernel. Do you think it is better than having them separately, and if so, can you explain why?

azeem40 said:
If you don't mind me asking, what's the benefit of having the recovery compiled into the kernel. Do you think it is better than having them separately, and if so, can you explain why?
Click to expand...
Click to collapse
You'd have to ask the Samsung engineers why they did that. Since the more common standard is to have the recovery in it's own separate partition, it suggests that is the better solution, I would think.

Having been on a device for a while that has a separate partition for recovery (N5), it's a feature that is extremely comforting in that it is virtually impossible to brick those types of devices.

The way I see it is that having the kernel on the same partition as the recovery is beneficial as more kernels can be built, instead of it being ignored.

Related

Recovery mode unable to unpack custon ROM .zip files

hello,
i have been unable to install custom ROMs on my galaxy s2, various forums indicate the installation took place but in my own case the installation process stops when ever the kernel is trying to unpack the .zip file in order to commence installation. i have followed the step by step procedures of the devs but still havent been able to. especially resurrection and batista. are there any prerequisites i need to follow. i am currently using a rooted SGS2, kernel cf-root 5.2, stockROM XXLPH 4.0.3. thnks much.
i am not an expert when it comes to resurrection or batista, but i believe that some newer roms need at least the cwm recovery that comes with cf-root 5.4 or above, so maybe you should flash a newer stock rom with a corresponding newer cf-root to begin flashing.
or, if you want, you could flash the latest siyah kernel through odin, which is compatible with both stock and aosp/aokp roms and have a nice new touch recovery that is certainly able to flash all roms as well.
also, a problem is also a question and this thread belongs in the q&a section. reported. this time someone will move it for you, in the future, please post in the correct section in the first place, for reference have a look at the thread Questions belong in Q&A.
thank you for the response. kindly advice on what stable stock roms i could try. cus i believe i have also tried with a 5.3 but still same.
just also tried the F1 nexus rom still same. maybe i need to take the S2 back to factory, like repartitioning and all, pls what do you advice cus i think something behind has been messed up.
i also noticed something, when i flash with a stock ROM, the fone reboots into the android sytem recovery and i get an error "dst read(I/0 error)". please what does this mean.
please can someone help , i can only flash ROM's through ODIN, but cannot install zip files through recovery. recovery never unpacks the files and all ROM's come as zip files. please help

[Q] Rooted SGS2, still on Gingerbread: is CWM recovery OK?

hi,
I have a Galaxy S2 which I rooted very early on without flashing a custom recovery. At that time one just had to flash one specific thing via Odin and it was done.
So the thing is still running Gingerbread. Now I finally want to get a nice custom ROM on it. But I want to make sure that the current CWM recovery is still "compatible" to my old 2.3.3 Android (2.6.35.7-I9100XWKG1 kernel) - like, can I install the current CWM regardless of the fact that my Android is very old?
(I faintly remember having seen something about a CWM for ICS and another one for Jellybean, which is why I'm asking.)
Search the general i9100 forum on how to flash a custom ROM.
Start at the "guide index" thread and work your way from there.
Sent from my digital submersible hovercraft.
Thank you for the hint, however, I already studied how to flash a custom ROM in the CM10.1 thread and how to install CWM from the CWM thread.
My specific question was different:
This is the CWM thread: http://forum.xda-developers.com/showthread.php?t=1118693
In here they offer a version to download for JB (6.0.2.7) and a version for ICS (5.5.0.4). To me, this implies that I can't just install any CWM version with my Gingerbread. Is this true, and what version do I have to install, then?
Flash the latest stock rom with Odin. After that flash the recovery for JB. Then you should be fine.

[Q] clear some things regarding kernels , roms on new ics 4.01

hi,
i have a new sg2 i9100 version witch came with 4.04 and no brick bug as reported the emmc.
i am searching for days and i am a bit confused .i am not familiar with that kind of softwares and i would like your help.
the goals: i want to root, and to be able to flash any rom i want.
1)if i understand so far i will need a kernel too?
2)i do not have the knowledge to understand what varius kernels offer and i simply choosed the siyah since it is the most popular(??) the s6 version states "This kernel is only for Samsung JB ROM (No ICS support anymore).
that means that my ics 4.04 will not be accesible and working anymore and i should flash a rom imidiately after the kernel flash?i do not mind to flash rom imediately after siyah kernel since i do not have anything instaled on the phone yet.
is it posible?with odin?1.86 , 3.04?
3)after the siyah kernel flash from the oficial siyah site , do i have root?
4)do i have cwm? if not what do i need to do?
5) is the siyah consider safe kernel?
thanks
i apreciate your help.
AchillesGr said:
hi,
i have a new sg2 i9100 version witch came with 4.04 and no brick bug as reported the emmc.
i am searching for days and i am a bit confused .i am not familiar with that kind of softwares and i would like your help.
the goals: i want to root, and to be able to flash any rom i want.
1)if i understand so far i will need a kernel too?
2)i do not have the knowledge to understand what varius kernels offer and i simply choosed the siyah since it is the most popular(??) the s6 version states "This kernel is only for Samsung JB ROM (No ICS support anymore).
that means that my ics 4.04 will not be accesible and working anymore and i should flash a rom imidiately after the kernel flash?i do not mind to flash rom imediately after siyah kernel since i do not have anything instaled on the phone yet.
is it posible?with odin?1.86 , 3.04?
3)after the siyah kernel flash from the oficial siyah site , do i have root?
4)do i have cwm? if not what do i need to do?
5) is the siyah consider safe kernel?
thanks
i apreciate your help.
Click to expand...
Click to collapse
Frist root your phone, everything will be explained in the thread. Check FAQ
If you don't know what you are doing, don't flash siyah and stay with the kernel that gets installed when flashing the rom you want.
Flash a custom kernel with Odin. Another Siyah kernel than v6 will do, just check the changelog.
You will have root, CWM and you're able to flash custom roms. You can choose to try other kernels than the one that comes with a rom, but it's not a must.
And the person above is right: If you don't fully understand all this, try to learn a little bit more. It will prevent you from doing something wrong.
Good luck.
Sent from the Matrix

[Q] 2 questions about changing kernels after installing a rooted rom

Greetings. I have an S II now upgraded to 4.1.2 LSW. I am completely new to rooting and roms, though I've done my own upgrade to 4.1.2 with Odin. And I've been reading a lot on XDA and watching lots of videos. I want to install NeatROM, but change its slightly older version of the Philz kernel to the latest version of the Philz kernel.
My plan is this:
1) Install the current Philz CWM (has kernel) and do a backup.
2) Flash NeatROM. This can't be done directly from Odin, I think - it seems to need a rooted phone, which
is my reason for step 1.
3) After NeatROM is installed, reinstall Philz CWM latest version.
This brings up a question I can't seem to find an answer for. If I change the kernel from NeatROM's earlier Philz kernel to a later official Philz kernel, will that affect the ROM or should it continue to work without problems?
Let me take that question one step farther. I've been looking at the Apolo kernel as well, for better battery life. Can I confidently flash that kernel after NeatROM (with its Philz kernel) is installed.
As long as the kernel you intend to flash is compatible with the rom, it will work. How do you know if it's compatible ? By reading the rom thread. Any good dev should have that info on the first page; if not, ask in the discussion thread devoted to the rom.
Same thing re: Apollo; check before you flash.
Thanks for the advice. In reviewing the NeatROM thread, it is clearly for Samsung-based kernels. I saw that at least one person is using a Dorimanx kernel, so it does seem plausible to upgrade NeatROM's Philz kernel, as the newest has only minor changes. I am jumping the gun, but I suppose the author of NeatROM will likely upgrade his Philz kernel in due time. I also did check out Apolo, which is a samsung-based kernel. One poster in the Apolo thread is using it successfully with NeatRom. So, as with NeatROM & Philz, there is compatibility.
Good lad You'd be surprised how many people would whinge & demand you (as in me) go look something like that up for them around here.
Seems you can safely assume the compatibility is there in that case. Even if it wasn't, unless the flash goes bad (which is so unlikely with CWM it ain't funny, and only happens if you're 'unlucky' - 0.0000000000000000000000000000001% of the time), the worst thing that can normally happen is the phone wouldn't boot or you might end up with bootloop/broken recovery that would require going back to stock via Odin.
So it would hardly be the end of the world.
Just make sure you follow the instructions for flashing the particular kernel (they're normally pretty generic) & you should be fine.

[Q] Flash custom recovery, need help

Hi. I have an S2 (I9100) and want to flash a custom recovery (have not done that before). I want to keep Samsung "stock firmware" atm, I just want to install a custom recovery (and a custom kernel).
My phone have firmware I9100XXMS4 and Android version 4.1.2 (bought in Sweden, not locked to a carrier).
I have checked for info on the web and on this forum and was going to install "PhilZ-cwm6" but the download links (goo.im) are not working. I also got confused about "kernel code".
"Jeboo kernel" should also work with Android 4.1.2 but I am unsure if it would work with my firmware.
Do I have to use a recovery/kernel that is compatible with my current firmware (I9100XXMS4) or can I use any I9100 recovery/kernel that is compatible with Android 4.1.2?
If i install a custom recovery, I also get a new kernel. Do I also get an new baseband/modem driver?
(If you have tips with what to install and how to do it, I would appreciate it).
@dan_dv
Can you check the firmware? I ask because I couldn't find XXMS4 firmware, only baseband. If you have terminal installed, type getprop and check the entry for ro.build.PDA.
If that is your firmware, I'm not sure whether you will be able to install a modified stock kernel to boot your rom. Philz is no longer maintained, so what is there is all that will be available. You can try the kernel I have attached as it is a similar kernel(as per the advise from Phil)
Phil3759 said:
What kernel to choose:
The important part is the Kernel code:
XWLPX-NEE
Kernel code is in red (LPX), for this example, you need an LPX ROM. However, often, you can mix kernels when they are close: LPF kernel with LPG ROM...
NEE code doesn't matter at all, I add it for reference. It is the CSC
XW: mixed, often doesn't matter for close regions. For example, XW and XX are often interchangeable. However, mixing a BU with an XW ROM or inversly, sometimes works, but often ends in a bootloop. In that case, either boot into recovery or download mode to reflash
Click to expand...
Click to collapse
Alternatively, you can root your phone by flashing the attached kernel and rebooting straight to recovery, then flash a compatible custom kernel like apolo -->HERE or dorimanx by @chhapil -->HERE

Categories

Resources