[Q] Questions about installing new kernal without tripping counter. - AT&T Samsung Galaxy S II SGH-I777

First of all I am new to this, but I did my homework and installed codeworx's kernal and am currently running CoZ ROM.I was wondering how to install a different kernal without tripping the counter. Is it the same process that's included in the sticky (regarding installing custom binaries without tripping the counter) or does it require other steps? Also I see that some Dev's post kernal compatibility within their ROMs page, but if they don't is there any way to know what kernals are compatible with what ROMS, other than Stock based kernals usually work with Stock based ROMs?
I searched but didn't find anything regarding flashing a new kernal without incrementing the counter throughout the ATT SGS2 forums so I apologize if I missed something.
Any help is greatly appreciated!
Thanks,
Justin

Flashing anything using CWM Recovery or adb will not affect the flash counter. To quote creepyncrawly in his thread about never incrementing the flash counter:
creepyncrawly said:
4.) Flash the ROM package of your choice using ClockworkMod Recovery and a CWM flashable zip package or Mobile Odin with any package[/SIZE][/B]
Your phone is now set up to flash custom software using ClockworkMod zipped install files in ClockworkMod Recovery. If you used and retained Mobile Odin, you can also flash custom software with it. Anything you flash on the phone using ClockworkMod Recovery, Mobile Odin, adb or terminal, will not affect the flash counter or invoke the warning triangle. Therefore, you can flash ROM's Kernels and Modems to your hearts content. Just avoid ever flashing anything containing a non-stock kernel with Odin or Heimdall from your computer. I would also caution against flashing any package with bootloaders. There is no valid reason to flash bootloaders on the SGH-I777 at this time, but some developers may include bootloaders in their CWM flashable zip files, or Odin flashable tar files.​
Click to expand...
Click to collapse

Thank you,
When I flash new ROMS I know to backup/ wipe then flash using cwm. But if I want to install a new kernal such as entrophy512s how do I do so?
Sent from my SAMSUNG-SGH-I777 using XDA App

I think the safest thing to do when switching between kernels is to factory wipe. Depending on the ROM, sometimes it's ok to just wipe cache and dalvik (for example, you don't have to factory wipe when updating UnNamed).

OK cool thanks and then can I use android terminal once I put the zImage onto my SD card?
Sent from my SAMSUNG-SGH-I777 using XDA App

... Or you could use Mobile Odin, I think to flash. I used it for flashing Entropy 512 kernel
Sent from my SAMSUNG-SGH-I777 using xda premium

Huge +1 for mobile odin. It makes it super easy. Especially if you like switching between kernels alot.
Sent from my páhhōniē

You can flash the kernel package within CWM without needing to factory reset as long as they provide a CWM package which most here do. It'll just overwrite your current kernel. I do it fairly often myself especially to test out tweaks of my own.
Just remember that stock based kernels do not work with CM based roms or MIUI (which uses CM kernel anyways) roms and vice versa.
Personally, I always clear cache when manually updating most things and davlik as well if changing out the kernel. Wipe /data, /system and /cache when installing a new rom.
Sent from my SAMSUNG-SGH-I777 using xda premium

You should never need to wipe ANYTHING (not even cache/dalvik) when updating a kernel.
If a kernel requires wiping cache/dalvik it's doing something weird.

Entropy512 said:
You should never need to wipe ANYTHING (not even cache/dalvik) when updating a kernel.
If a kernel requires wiping cache/dalvik it's doing something weird.
Click to expand...
Click to collapse
Very true, however, with past experiences, granted on a different phone, I've grown into the habit of wiping cache and davlik because of weird things. Either way it shouldn't hurt, but yes, generally not needed.

I've questioned the need to do a wipe with a new ROM install. Coming from the Cappy, most of the ROMS did a full wipe during the install. Why isn't this done with the GSII?

Thanks a lot guys really appreciate all the help!
Sent from my SAMSUNG-SGH-I777 using XDA App

geomax45 said:
... Or you could use Mobile Odin, I think to flash. I used it for flashing Entropy 512 kernel
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Does Mobil Odin flash zip files or do I need to dl Odin compatible files to use it?
Sent from my SAMSUNG-SGH-I777 using XDA App

Cdub5 said:
Does Mobil Odin flash zip files or do I need to dl Odin compatible files to use it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=19375406&postcount=2

Cozmo1 said:
You can flash the kernel package within CWM without needing to factory reset as long as they provide a CWM package which most here do. It'll just overwrite your current kernel. I do it fairly often myself especially to test out tweaks of my own.
Just remember that stock based kernels do not work with CM based roms or MIUI (which uses CM kernel anyways) roms and vice versa.
Personally, I always clear cache when manually updating most things and davlik as well if changing out the kernel. Wipe /data, /system and /cache when installing a new rom.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Sent from my SGH-I777 using XDA App
whenever I try to change my kernel I get stuck in boot loop

Edgarhighman said:
Sent from my SGH-I777 using XDA App
whenever I try to change my kernel I get stuck in boot loop
Click to expand...
Click to collapse
What rom are you on and what kernel are you trying to flash?
Sent from my páhhōniē

Related

[Q] Step by Step guide on how to Flash a new Rom using CWM.

Hi All
I am new to flashing roms, I am having a huge difficulty with flashing roms through CWM, every time I have done so it has always left me in an end boot screen loop.
Can anyone please help, maybe give me a fools guide on how to flash a rom using CWM as I feel like a fool after trying it 7 times and still not getting it.
I have a Samsung Galaxy S2 - I have flashed Lite-ning rom 2.2 using Odin
Help
What are you trying to flash? What rom?
Sent from my GT-I9100 using XDA App
Usual instructions are to have a rooted phone with CWM 4 or later on your phone .
Download roms zip and copy to phones SD card .
Power off boot into recovery and >> choose zip from SD card select install wait to finish booting done .
But all roms have differing instructions that you must follow to the letter .
So why are you using CWM to flash a rom that has no instructions to do anything other than flash with Odin .
Instructions are at the very beginning of Lightning 2.2 post and are easy to follow with pictures .
http://forum.xda-developers.com/showthread.php?t=1095274
jje
try finding clockwork rom and install using odin it worked for me yesterday
Sent from my GT-I9100 using XDA Premium App
its a cwm tar file
Sent from my GT-I9100 using XDA Premium App
port76 said:
its a cwm tar file
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
CWM tar ???? post a link to it please this rom you cannot flash . Not the rom the instruction for the rom is what i require .
jje
Looping can be caused by not wiping the caches in recovery or cwm.
Adrian
Sent from my GT-I9100 using XDA Premium App
To use cwm you need to download rom manager and use it to download and inststall cwm or download cwm to your sd card as a zip, it will be called 'update.zip' . Use recovery to install 'update.zip'.
If it comes back as unable to verify zip, then you are not rooted. You may also have to install 'update.zip' twice from recovery!
You must format system and caches then find, via cwm, your rom and install. I am using Designgears Cognition 1.13. There are updates to this but they are beta. 1.13 has no glitches. Remember to download this rom to your sd card before you use cwm. I think this may be a good starting rom for you. It is one of the few roms at the forefront of Linux and Samsung technology. If you try for anything more you may end-up designing the roms or getting confused! Other roms are miui, darkys, insanity and others which you may want to look at.
Please be careful with what roms you can download, there are many old ones and you need to have a rom which had the correct crc or area that you use you phone. Cognition has multi-crc's. Also, a problem can occur if you use Odin because you are using 2 hardwares, pc and pda. I once downloaded a bad rom and used Odin to flash and it terminated the flash halfway through. End of phone unless I use the usb plug and resistors to cross wire and get it into download mode.
Hope this helps.
Adrian
Sent from my GT-I9100 using XDA Premium App
To use cwm you need to download rom manager
You dont need rom manager to use or install CWM .I and many others have installed multiple roms just using a CWM and root flash .
I believe the OP is flashing a non CWM file and that's his problem or not following the roms instructions probably to wipe as you said ..
But he is not replying to his answers .
jje
No offence meant to the OP but it's scary the amount of people who cannot follow clearly laid out instructions from intratech, codeworkx etc.
No harm in double checking though BUT if you are not sure about how do to it then DO NOT FLASH!
In simple terms
.tar flash with odin by clicking PDA only
.zip reboot into recovery mode (CWM) and install from zip and select file
As another poster said it's always wise to factory reset and wipe cache including dalvik if going from 2.3.3 to 2.3.4 BEFORE flashing the zip file.
Feel free to correct me

[Q] flash image question

hey everyone. so my question is about the flash image gui. if I flash a kernel through it and reboot recovery, am I able to wipe the rom using superwipe right then and there? or do I have to reboot recovery again to make the kernel stick so superwipe doesn't touch it before flashing the rom. pretty sure that's clear. but if not let me know. thanks for everyone who looks and helps!
When using flash image GUI to flash a kernel. You don't need to go into recovery at all afterwards. Should be good. When installing a ROM with a custom kernel flash superwipe script then flash ROM in recovery boot phone then flash kernel VIA image GUI. Then test your wifi, 4g, data, calling etc.
sent from America...F__k Yeah!
Actually you had it right the first time. You flash the kernel first, reboot into recovery, wipe then flash the rom. Wiping won't touch the kernel you just flashed.
Sent from my PG86100 using XDA App
Jabawockee said:
When using flash image GUI to flash a kernel. You don't need to go into recovery at all afterwards. Should be good. When installing a ROM with a custom kernel flash superwipe script then flash ROM in recovery boot phone then flash kernel VIA image GUI. Then test your wifi, 4g, data, calling etc.
You should change this post as you could cause problems for people. If someone is changing from sense rom to an AOSP rom, or vise versa, you definitely want to flash kernel first with flash image gui.
sent from America...F__k Yeah!
Click to expand...
Click to collapse
Sent from my PG86100 using XDA App
Because of s-on I don't think that the superwipe script can affect the boot partition of the phone so your good with what you say OP.
Sent from my PG86100 using Tapatalk
JayDaKissEP said:
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Oh! Thats weird because thats how I have been doing it. Everything works for me. I been on just about all ROMS out there...from ICS to sense 3.5 and now the lastest firmware running imbredded ROM. Only once I had a problem with a kernel when I updated to latest OTA using my method above. I then used flash image gui to flash the stock kernel (boot.img) and everything worked fine after.
thanks everyone for answering! I was pretty sure the superwipe wasnt able to erase the kernel being 1.5, just wanted to have some clarification

[Q] Unable to update kernel to SiyahKernel S2-v5.0i

Hi to all seeking assistance because i cant update my kernel to SiyahKernel S2-v5.0i planning to dual boot it with Ressurection Remix Rom my current configuration for my phone is as follows, thanks in advance
Unit: Samsung Galaxy S2 GT-I9100T
Rom: cm-9.1.0-galaxys2
Kernel: CF-Root-SGS2_XW_XEN_LP7-v5.4-CWM5
How is anyone supposed to help with absolutely zero information from you ?
We need to know exactly what you've done/are trying to do/what steps you're following, at what stage it's not working, etc, etc. In other words, as much information as possible. People here aren't mindreaders.
I was trying to update to this kernel Siyah-s2-v5.0i-CWM i have used Odin, but it fails.
Heishiro888 said:
I was trying to update to this kernel Siyah-s2-v5.0i-CWM i have used Odin, but it fails.
Click to expand...
Click to collapse
Cause odin uses tar files not zip files... Try flashing the zip file in cwm recovery..
Sent from my Nexus 7 using xda premium
kilometers4 said:
Cause odin uses tar files not zip files... Try flashing the zip file in cwm recovery..
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Before i do the flashing in cwm recovery should i delete some stuffs first like devlik cache? or i just flash it right away from cwm recovery
Heishiro888 said:
Before i do the flashing in cwm recovery should i delete some stuffs first like devlik cache? or i just flash it right away from cwm recovery
Click to expand...
Click to collapse
Normally it's not necessary when you flash only a kernel. However if you do that (up to you) it will not be harmfull for you phone.
What I do always before flashing a kernel is wipe cache and dalvik cache (even as I said it's only optional).
However it's one important rule: When you are on stock ICS 4.0.4 rom /kernel and your eMMC chip is brig bug susceptible then better not to wipe anything but as soon as possible to flash a safe custom kernel like PhilZ-CWM6, Siyah or Dorimanx.

How to install CWM on Rooted i777?

I'm used to just rooting and then using ROM Manager to get CWM on other devices.
(Or using ODIN and a .tar)
I'm only seeing .zips for Kernels/ROMs which as far as I know are only installable by a (custom?) recovery.
Can I just use the built in recovery to flash a Kernel/ROM?
However for i777 I see everyone is saying ROM Manager leads to a lot of problems.
I've seen that for s2 the kernels come with CWM (or a custom recovery) attached to them already?
I'm just seeing old and outdated posts, and the stickies don't make it terribly clear either.
So after rooting, what would the next steps be if I wanted to install CWM?
I assume Odin/Tar method? Can someone show me the latest tar to flash?
After that I could use CWM as usual to install a ROM such as CM 10(.1) or Task650 AOKP correct?
E:
Now I'm seeing inside of the .zips there is a Zimage (for this Kernel http://forum.xda-developers.com/showthread.php?t=1592228) and that I can safely flash that file using ODIN?
Would this also (in most cases/for most Kernels) also contain CWM or some type of custom recovery?
like the stickies explain, recovery is packed with the kernel. if you are rooted already, use mobile odin to flash the zimage. otherwise, use a tar file with regular odin to flash a custom kernel....
Okay so after root, use Mobile ODIN to flash the ZImage file found in the .zip of any kernel file?
Do ALL S2 kernels come with a custom recovery?
http://forum.xda-developers.com/showthread.php?t=1592228 I believe that
4.1beta4 Change Log
■Linux 3.0.40
■CWM-Based Touch Recovery v6.0.1.1
Click to expand...
Click to collapse
Means that it comes with CWM Touch 6.0.1.1?
all custom kernels pack a recovery. its pretty much mandatory here in the i777
Pirateghost said:
all custom kernels pack a recovery. its pretty much mandatory here in the i777
Click to expand...
Click to collapse
Okay thank you, just used to i747 things so this is very new to me.
What would be the proper order to move from a ICS to JB?
Flash ICS Kernel.
Flash JB ROM via CWM.
Flash JB Kernel (If I wish to use a different one that what the ROM comes from).
And just to double check, I just flash the ZImage via Mobile Odin and I'm golden?
Once you got cwm you are good to go.
Following intructions from rom's op make it safer.
Usually factory reset + flash rom.
Sent from my SGH-I777 using xda app-developers app
YoHoJo said:
Okay thank you, just used to i747 things so this is very new to me.
What would be the proper order to move from a ICS to JB?
Flash ICS Kernel.
Flash JB ROM via CWM.
Flash JB Kernel (If I wish to use a different one that what the ROM comes from).
And just to double check, I just flash the ZImage via Mobile Odin and I'm golden?
Click to expand...
Click to collapse
All correct. Make sure to wipe before flashing roms
Sent from my GS4 running CM11 Kandy Kane
I don't know if it still bears true or not but AFAIK, if your currently running GB OS, then you need to flash GB kernel, not ICS kernel and vice versa.
votinh said:
I don't know if it still bears true or not but AFAIK, if your currently running GB OS, then you need to flash GB kernel, not ICS kernel and vice versa.
Click to expand...
Click to collapse
As far as recovery goes, it shouldn't make any difference. An ICS kernel with a GB rom will not boot, but it will still boot into recovery.
Correct. If you're just flashing a kernel to gain cwm recovery it doesn't matter as you're not booting into the OS with that kernel installed.
http://wiki.cyanogenmod.org/w/Install_CM_for_i777 this method worked perfectly for me
Do. Not. Use. Rom. Manager.
the above method seems to initially just boot cwm, i didn't try to flash the zip again in cwm to see if it sticks.
DvineLord said:
the above method seems to initially just boot cwm, i didn't try to flash the zip again in cwm to see if it sticks.
Click to expand...
Click to collapse
Yupp it states that but you can flash another kernel from cwm

Can only flash with ODIN

Every ROM zip file I attempt to flash via CWM or TWRP doesnt work. I was on stock ICS (4.0.4) which I flashed using Odin. Every JB rom, stock or custom I attempt to flash with a recovery freezes either at boot up or first screen of initial setup. No errors are given on actual flash, it always looks good. . I wiped everything I can wipe, which is everything but emmc I think. What could be the problem? I have now flashed official JB through Odin twice with no issues.
Do you check that the ROM is downloaded properly by checking the md5 hash?
EVOO2 said:
Every ROM zip file I attempt to flash via CWM or TWRP doesnt work. I was on stock ICS (4.0.4) which I flashed using Odin. Every JB rom, stock or custom I attempt to flash with a recovery freezes either at boot up or first screen of initial setup. No errors are given on actual flash, it always looks good. . I wiped everything I can wipe, which is everything but emmc I think. What could be the problem? I have now flashed official JB through Odin twice with no issues.
Click to expand...
Click to collapse
Try flashing a new recovery using odin then try to flash the rom in recovery afterwards.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Try flashing a new recovery using odin then try to flash the rom in recovery afterwards.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Ive flashed twrp 2.5 twice through odin and then tried to flash a rom with no improvement. Im really stumped 'cause flashing roms with odin works fine everytime, so it would seem nothings physically wrong with my device. Should I try a different recovery program? Using cwm and twrp give the same result, so Im skeptical a third recovery would be any different.
cheers
EVOO2 said:
Ive flashed twrp 2.5 twice through odin and then tried to flash a rom with no improvement. Im really stumped 'cause flashing roms with odin works fine everytime, so it would seem nothings physically wrong with my device. Should I try a different recovery program? Using cwm and twrp give the same result, so Im skeptical a third recovery would be any different.
cheers
Click to expand...
Click to collapse
Only thing i can think of is look at the file format that youre trying to flash.
Is it zip? tar?
I may be wrong but cwm only works for .zip files from my experience. not .tar md5 etc.
why do you need to flash it via cwm? if its flashing through odin whats the problem?
It sounds like what ^^^^ is saying. Recovery flashes zip files and Odin flashes tar files. Don't confuse the zip files your pc uses to download the files with these.
When using odin I have to use ROM s which are .tar, so this basically limits me to stock ROMS. The custom ROMS are .zip which I can only flash with a custom recovery like twrp or cwm. I'd obviously like to flash the custom ROMS which are .zip , however it isn't working for me as I mentioned in the opening post . Not sure how to fix this problem .
EVOO2 said:
When using odin I have to use ROM s which are .tar, so this basically limits me to stock ROMS. The custom ROMS are .zip which I can only flash with a custom recovery like twrp or cwm. I'd obviously like to flash the custom ROMS which are .zip , however it isn't working for me as I mentioned in the opening post . Not sure how to fix this problem .
Click to expand...
Click to collapse
extraxt the rom that your saying is .zip. it "should" extract a file that will be something odin will recognize
dweeezy said:
extraxt the rom that your saying is .zip. it "should" extract a file that will be something odin will recognize
Click to expand...
Click to collapse
Good idea. In a recovery zip file will be a couple of folders. One of them will have a tar file you can flash in the phone or pda a lot in Odin.
Thanks for the suggestion but I had no luck . I have tried extracting padawan JB and a debloated stock JB rom and they extract many files, folders, apks but no tar I could locate. Also I am not sure even if there was a tar i could use if it would be safe to use. If all this was good, it would still be a cumbersome workaround and wouldnt fix my problem of not being able to get a ROM installed via recovery to work.If I have no choice I'll use odin to flash custom ROMs (if there is a way) but Id rather get it to work with recovery.
EVOO2 said:
Thanks for the suggestion but I had no luck . I have tried extracting padawan JB and a debloated stock JB rom and they extract many files, folders, apks but no tar I could locate. Also I am not sure even if there was a tar i could use if it would be safe to use. If all this was good, it would still be a cumbersome workaround and wouldnt fix my problem of not being able to get a ROM installed via recovery to work.If I have no choice I'll use odin to flash custom ROMs (if there is a way) but Id rather get it to work with recovery.
Click to expand...
Click to collapse
If you're flashing between TW based to AOPS, or pretty much from a rom to a completely different rom, you will need to WIPE your data too, or better, do a complete wipe (factory reset). I had this issue when moving from Stock TW-based rom to Padawan JB rom. I did a factory reset (complete wipe) and it booted fine. But then again, I'm used to TW so I flashed that back.
fbauto1 said:
If you're flashing between TW based to AOPS, or pretty much from a rom to a completely different rom, you will need to WIPE your data too, or better, do a complete wipe (factory reset). I had this issue when moving from Stock TW-based rom to Padawan JB rom. I did a factory reset (complete wipe) and it booted fine. But then again, I'm used to TW so I flashed that back.
Click to expand...
Click to collapse
I've wiped everything I can wipe between flashes (includes factory reset), many times trying both TWRP and CWM for flashing and wiping with no luck unfortunately. The wiping doesnt seem to help, different custom recoveries don't help, so I'm stumped as to what the problem could be.
EVOO2 said:
I've wiped everything I can wipe between flashes (includes factory reset), many times trying both TWRP and CWM for flashing and wiping with no luck unfortunately. The wiping doesnt seem to help, different custom recoveries don't help, so I'm stumped as to what the problem could be.
Click to expand...
Click to collapse
What roms are you trying to flash? Sometimes ive seen where you must rename them or do specific things.
dweeezy said:
What roms are you trying to flash? Sometimes ive seen where you must rename them or do specific things.
Click to expand...
Click to collapse
Ive tried padawan JB, debloated rooted canadian JB rom, and debloated ATT rom.
dweeezy said:
What roms are you trying to flash? Sometimes ive seen where you must rename them or do specific things.
Click to expand...
Click to collapse
Ive tried padawan JB, debloated rooted canadian JB rom, and debloated ATT rom.
OP, are you still having this issue? Were you able to resolve it?
I have the exact same issue as you. Exactly the same.
513263337 said:
OP, are you still having this issue? Were you able to resolve it?
I have the exact same issue as you. Exactly the same.
Click to expand...
Click to collapse
Me too. Every rom freezes during the app optimization screen...usually at about 3/4th the way through. What's going on???
*edit* Tried to restore factory w/Odin. I'm bricked now. Time for some JTAG love.
Exactly the same issue here.
Every jelly bean ROM, 4.1 or 4.2, stock or custom, as long as I install them via recovery, it either doesn't boot up or gets stuck on the first screen.
If I use ODIN to install the stock ROM, it works fine.
Driving me nuts...
Just throwing suggestions out there but try sideloading the rom and see if itll install that way? Also are you odin flashing recovery? Maybe try to load twrp through goomanager and see if maybe recovery is corrupted?
Sent from my SAMSUNG-SGH-I717 using xda premium

Categories

Resources