[Q] What is kernel swapping? Why do we need it? - Captivate Q&A, Help & Troubleshooting

What is kernel swapping? Why do we need it?

Algorismus said:
What is kernel swapping? Why do we need it?
Click to expand...
Click to collapse
you dont unless you are doing some rom swapping between 2.2<->2.1 or want to play around with an i9000 rom.

You need it to flash any ROM for Froyo. Basically froyo's recovery doesn't support unsigned zips, such as cognition, or the update.zip root method from Eclair.
Essentially you're flashing to a kernel that will allow you to flash an unsigned zip, then using that to load clockwork recovery, and then flash you're desired .zip.
The current version of DG's Cognition, version 6 now includes support for Clockwork recovery, and also the ability to flash unsigned zips via ROM Manager or clockwork so Kernel swapping isn't necessary if you flash to that version.
There is also a standalone kernel with the same functionality in the dev section. You can odin flash that overtop of whatever you're running. Again, only for 2.2.

rob989_69 said:
You need it to flash any ROM for Froyo. Basically froyo's recovery doesn't support unsigned zips, such as cognition, or the update.zip root method from Eclair.
Essentially you're flashing to a kernel that will allow you to flash an unsigned zip, then using that to load clockwork recovery, and then flash you're desired .zip.
The current version of DG's Cognition, version 6 now includes support for Clockwork recovery, and also the ability to flash unsigned zips via ROM Manager or clockwork so Kernel swapping isn't necessary if you flash to that version.
There is also a standalone kernel with the same functionality in the dev section. You can odin flash that overtop of whatever you're running. Again, only for 2.2.
Click to expand...
Click to collapse
you dont need it though....you can use ODIN

Related

[Q] What's the relationship between Odin and Rom Manager

Could anyone told me what's the relationship between Odin and Rom Manager
I wanna upgrade captivate from 2.1 to 2.2, so i read some guides
It seems that some guides told me use odin and need the adb shell or combine keys to enter downloading mode.And then flash the pit,and csc,phone,pda.
But meanwhile, some guides said just put the rom in sd card and reboot the phone by Rom Manager.
So i get confused,could anyone told me which should i listen?
By the way,if the phone is locked 3 keys, does rom manager still work?
Odin is the a flashing tool that is run from the PC. Rom Manager is a tool that is run from the phone itself. It depends on what rom you want to flash, some of them are built to be flashed from Odin, and as such won't flash with Rom Manager and vice versa. Other than they are both flashing tools they don't really have a connection.
As to the question regarding if rom manager will work with no-button-combo phones, I'm pretty sure it will, but don't quote me on it.
Trump211 said:
Odin is the a flashing tool that is run from the PC. Rom Manager is a tool that is run from the phone itself. It depends on what rom you want to flash, some of them are built to be flashed from Odin, and as such won't flash with Rom Manager and vice versa. Other than they are both flashing tools they don't really have a connection.
As to the question regarding if rom manager will work with no-button-combo phones, I'm pretty sure it will, but don't quote me on it.
Click to expand...
Click to collapse
Thanks,you means these two tools can do exactly the same thing,but the rom source is different?
The rom manager can use a .zip rom contains data/META-INF/system etc. folders?
And the Odin should flash the rom which contains *.pit,*.tar,*.tar.md5 ?
By the way, i saw the 2.1 don't support the recovery etc. from apps, does that means rom manager doesn't work in 2.1? (I already read the 2.2 guide, and it said just use the rom manager)
Yeah, both are tools used to flash roms to your phone. However a rom made to be flashed by odin can't be flashed with Rom Manager, and a rom made to be flashed by Rom Manager can't be flashed with Odin. Some developers make two versions of the same rom so that you can flash it with your preferred method.
The last thing you mentioned is backwards... 2.1 uses recovery 2e which allows for the use of self-signed update.zips (this is what RomManager uses to get into clockwork recovery which is a modified recovery that does the actual flashing). However 2.2 uses recovery 3e which doesn't allow for this.
This means that if your on 2.1 presently you can flash with RomManager (you can even use RomManager to flash from 2.1 to 2.2), but if your using 2.2 your only flashing option is to use Odin.
Once on 2.2 you can use Odin to flash a modified 2e recovery that works with froyo and you will once again be able to use self-signed zips. (some of the unofficial roms like cognition do this automatically so you don't have to)
Trump211 said:
Yeah, both are tools used to flash roms to your phone. However a rom made to be flashed by odin can't be flashed with Rom Manager, and a rom made to be flashed by Rom Manager can't be flashed with Odin. Some developers make two versions of the same rom so that you can flash it with your preferred method.
The last thing you mentioned is backwards... 2.1 uses recovery 2e which allows for the use of self-signed update.zips (this is what RomManager uses to get into clockwork recovery which is a modified recovery that does the actual flashing). However 2.2 uses recovery 3e which doesn't allow for this.
This means that if your on 2.1 presently you can flash with RomManager (you can even use RomManager to flash from 2.1 to 2.2), but if your using 2.2 your only flashing option is to use Odin.
Once on 2.2 you can use Odin to flash a modified 2e recovery that works with froyo and you will once again be able to use self-signed zips. (some of the unofficial roms like cognition do this automatically so you don't have to)
Click to expand...
Click to collapse
Hmmm, can this be the problem i got? Flashed from JH to Cognition 2.2B6 via rom manager, and made a backup before. Now when i'm trying to flash back the backed up JH (2.1) rom my phone is stuck on AT&T screen....
edit: with cognition 2.2 i still got 2e recovery and not 3e....
Thanks,I think i got it. It seems that developer in China always package the rom into Odin struct, so i didn't tried Rom Manager.
And dimab, I think what you need is search "Captivate JI6 kernel with "2e recovery" enabled" (I can't post link since i was new user)
rogerhe said:
Thanks,I think i got it. It seems that developer in China always package the rom into Odin struct, so i didn't tried Rom Manager.
And dimab, I think what you need is search "Captivate JI6 kernel with "2e recovery" enabled" (I can't post link since i was new user)
Click to expand...
Click to collapse
thanks
I've seen this topic, but i do actually got the 2e recovery running, so what's the point?
dimab said:
Hmmm, can this be the problem i got? Flashed from JH to Cognition 2.2B6 via rom manager, and made a backup before. Now when i'm trying to flash back the backed up JH (2.1) rom my phone is stuck on AT&T screen....
edit: with cognition 2.2 i still got 2e recovery and not 3e....
Click to expand...
Click to collapse
well first off you still have 2e because Cog 2.2 Beta 6 uses a modified 2e recovery (its modified to work with froyo)
I think that when you create a backup of your rom with RomManager it doesn't include a backup of the kernel. If so when you tried to flash your 2.1 backup it never switched your kernal back to a 2.1 compatible version. hence the not booting past the att screen.
You might want to try flashing just the kernal (not the whole rom) with ODIN... Or even easier if you have your backup on your computer you can odin 1click back to stock, put your backup back on your phone, and flash the backup again with RomManager.
Trump211 said:
well first off you still have 2e because Cog 2.2 Beta 6 uses a modified 2e recovery (its modified to work with froyo)
I think that when you create a backup of your rom with RomManager it doesn't include a backup of the kernel. If so when you tried to flash your 2.1 backup it never switched your kernal back to a 2.1 compatible version. hence the not booting past the att screen.
You might want to try flashing just the kernal (not the whole rom) with ODIN... Or even easier if you have your backup on your computer you can odin 1click back to stock, put your backup back on your phone, and flash the backup again with RomManager.
Click to expand...
Click to collapse
Woah, this did helped! HUGE thanks! First time used Odin 1Click and it was smooth, and then restored my 2.1 backup.
Didn't needed to backup on computer the rom backups, since everything was left the same...
Dima

[Q]Booting into Clockwork

Why can't I boot into clockwork with the 2.2 beta?
because you didnt read the threads regarding 2.2?
2.2 brings to us recovery 3e which does not allow unsigned zips so you cant run any update.zip files like you could with 2e. all you have to do is flash a new kernel that has 2e enabled in it or flash a rom that has it enabled. i think all the roms available have it enabled at this time

What tools can flash/update a Galaxy S?

Are Odin and Kies the only ways to update the i9000? Are there other ways of flashing new firmwares? Is Odin the only tool used to flash custom firmwares?
There are so many threads that I'm a bit confused.
Thanks
you can flash a kernel in the form of 'update.zip'
you flash this through recovery and then you will have CWM recovery which allows you to flash most roms thru the phone itself.
so you do not need to use odin or kies but sometimes using odin is a lot quicker and using odin is essential if you get a bricked phone and need to flash stock firmware to recovery it
Oh didn't know that you could use update.zip
Can stock firmwares be updated from "update.zip"
Also, do you need to root the phone for using custom kernels?
Thanks for the info!
well you can get a kernel such as speedmod and it will be named update.zip
you boot into android recovery and flash this update.zip once or twice and that will turn android recovery into CWM / 2e recovery, and with this recovery you can flash unsigned zips, such as roms, themes, kernels, modems ect.
as for the root, im not sure. I started off flashing a kernel thru odin, which rooted my phone and gave me CWM recovery.
dont be afraid of odin. its ever so simple, even simpler to flash a kernel, it takes less than 15 seconds
You can also use the Open-Source Cross-Platform Flashing Suite Heimdall.
Program:
http://forum.xda-developers.com/showthread.php?t=755265
Guide:
http://forum.xda-developers.com/showthread.php?t=878686

Clockwork Recovery Rogers 2.3.3

I have Rogers 2.3.3 Official installed and rooted, but every time I go to install Clockwork Recovery from Rom Manager, the Captivate is not listed as a device, I only get Galaxy S i9000, Galaxy S i9000 (MTD), Nexus S, Nexus S 4G. Is there another way to install it? or Did i do something to make the Captivate not show up? Thanks!
there is no CWM update.zip for gingerbread (CWM3) for the captivate.
TRusselo said:
there is no CWM update.zip for gingerbread (CWM3) for the captivate.
Click to expand...
Click to collapse
So how are people getting it on there Captivates then? or do they flash all roms through odin?
If you're gonna flash a ROM, flash a kernel that has cwm included already with Odin, it's probably not going to boot all the way to Android with a different kernel, but just button combo into recovery and flash the ROM.
studacris said:
If you're gonna flash a ROM, flash a kernel that has cwm included already with Odin, it's probably not going to boot all the way to Android with a different kernel, but just button combo into recovery and flash the ROM.
Click to expand...
Click to collapse
I tired flashing a kernel that has cwm from this http://forum.xda-developers.com/showthread.php?t=1127578 but everytime I go in recovery it says "E:/can't mount /cache" etc..... Had to flash back to Rogers 2.3.3 kernel.
That's a beta kernel, just try an xcal kernel, talon, or darkcore. Hell even a froyo kernel should work for just getting cwm, and will be flashed over with the kernel included in the ROM.
Thank you so much for the crystal clear answers! so now that I have GB Bootloaders, can I pretty much flash whatever i897 or i896 rom I want?
Sent from my SGH-I896 using xda premium
yup. if you were to downgrade to a froyo rom, most of those use amend scripting (for cwm 2.5 and under) whereas the ginger roms now use cwm 3 which uses edify, so you would have to flash a froyo kernel wirt odin, or sgs kernel flasher app, button combo into recovery so that you have cwm 2.5.
studacris said:
yup. if you were to downgrade to a froyo rom, most of those use amend scripting (for cwm 2.5 and under) whereas the ginger roms now use cwm 3 which uses edify, so you would have to flash a froyo kernel wirt odin, or sgs kernel flasher app, button combo into recovery so that you have cwm 2.5.
Click to expand...
Click to collapse
Alright thank you so much! You've been a big help
studacris said:
That's a beta kernel, just try an xcal kernel, talon, or darkcore. Hell even a froyo kernel should work for just getting cwm, and will be flashed over with the kernel included in the ROM.
Click to expand...
Click to collapse
I just try them all and they don't work! I'm getting bootloop! And now when I flashed back to Rogers Kernel, I'm also getting bootloop, I had to go in recovery and clear cache and userdata to fix it.

[Q] Getting cynogenmod 11

I currently have cynogenmod 10.1 running on my phone (i9000). I would like to upgrade the version to cynogenmod 11. Because I get the error "set_metadata_recursive: some changes failed" I need to upgrade my clockworkmod recovery to version 6.0.4+
But when I try to download this at the official website, there is only an old version (2.5.1.2) available. Which also gives an error when I install it.
Can anybody link me to a 6.0.4+ version of clockworkmod recovery for the i9000?
vjeetje said:
I currently have cynogenmod 10.1 running on my phone (i9000). I would like to upgrade the version to cynogenmod 11. Because I get the error "set_metadata_recursive: some changes failed" I need to upgrade my clockworkmod recovery to version 6.0.4+
But when I try to download this at the official website, there is only an old version (2.5.1.2) available. Which also gives an error when I install it.
Can anybody link me to a 6.0.4+ version of clockworkmod recovery for the i9000?
Click to expand...
Click to collapse
I could send you a link to a flashable AOSPA kernel, which has the latest TWRP. Just let me know if you need it.
cmw recovery doesn't come as a stand alone flashable zip file on the i9000, it's included in the kernel, you'll have to flash a compatible custom kernel for your installed rom.
pryerlee said:
cmw recovery doesn't come as a stand alone flashable zip file on the i9000, it's included in the kernel, you'll have to flash a compatible custom kernel for your installed rom.
Click to expand...
Click to collapse
This is true in most cases. You should flash a compatible custom kernel making sure it supports android 4.4. You can flash using Odin or Heimdall. I recommend using semaphore 3.4+ or mackay kernel 0.611 (CWM).
gsstudios said:
This is true in most cases. You should flash a compatible custom kernel making sure it supports android 4.4. You can flash using Odin or Heimdall. I recommend using semaphore 3.4+ or mackay kernel 0.611 (CWM).
Click to expand...
Click to collapse
Flashing a zip of another custom kernel would be better. He says that he has a Custom Recovery, so flashing a kernel would be better and easier.
Gokulbalram said:
Flashing a zip of another custom kernel would be better. He says that he has a Custom Recovery, so flashing a kernel would be better and easier.
Click to expand...
Click to collapse
However, just to be safer, you should flash via your computer as this will reduced the chance of flash errors. You're right that you can flash via custom recovery as this would be easier but I would prefer to flash via odin. I had always flashed via pc when I upgrade to a newer android rom. NOTE: You will need to flash a .tar file instead of .zip in odin.
gsstudios said:
However, just to be safer, you should flash via your computer as this will reduced the chance of flash errors. You're right that you can flash via custom recovery as this would be easier but I would prefer to flash via odin. I had always flashed via pc when I upgrade to a newer android rom. NOTE: You will need to flash a .tar file instead of .zip in odin.
Click to expand...
Click to collapse
Agreed, But it is a pain to get a zImage and to use Odin (I'd prefer Heimdall.)

Categories

Resources