How can I revert to original kernel? - Galaxy S I9000 Q&A, Help & Troubleshooting

If I upload custom kernel on my Galaxy S with 2.3.4 JVQ, is it possible to revert to original JVQ kernel in order to check if same issue will appear on original kernel to detect if custom kernel has bug?
Thanks.

Flash as pda with odin.
Sent from my GT-I9000 using XDA Premium App

To get just the stock kernel in a flashable state you need to extract the zImage file from stock ROM (either one file or PDA of 3-file), then put it in a tar file by itself. Then you flash that as PDA with Odin.

I'm just going to expand a bit.
Find a single file tar of the stock firmware that is meant to be flashed as a PDA. Use winrar to look inside the .tar file to get the zImage and put it in a tar by itself. You can then flash it as PDA in Odin.
Sent from my GT-I9000M using XDA App

I thought that it is proper way to extract zImage from original ROM but I wasn't sure that it is good way. Thanks, I will try in this way.

I created zImage.TAR with 7-zip but Odin cannot load it. It comes to step when zImage should be loaded but upload is not happening. Do I have to exec some certain parameters when zipping it in TAR with 7-zip or how can I do it?
EDIT: I managed to make proper (flashable) TAR with IZarc application. Nevertheless, I uploaded stock zImage but I still have root access although other mooded kernel specific applications are gone. So, basically, I didn't revert it to original state. Or I am wrong? Please, advise.
Thanks.

Rooting doesn't necessarily mean changing kernel. You can root a completely stock phone and still use stock kernel. You can also unroot the phone.
You can use the SGS kernel flasher free app to flash a zImage directly from the phone.

eLtOnI0 said:
Rooting doesn't necessarily mean changing kernel. You can root a completely stock phone and still use stock kernel. You can also unroot the phone.
You can use the SGS kernel flasher free app to flash a zImage directly from the phone.
Click to expand...
Click to collapse
He's right, root often stays behind. To get back to stock just do a factory reset.
Make sure you can get into download mode before flashing just in case.
Sent from my GT-I9000M using XDA App

eLtOnI0 said:
Rooting doesn't necessarily mean changing kernel. You can root a completely stock phone and still use stock kernel. You can also unroot the phone.
You can use the SGS kernel flasher free app to flash a zImage directly from the phone.
Click to expand...
Click to collapse
I've read through many threads, but in most they discribe to root a phone via flashing the kernel
like here.
and i also would like to have a backup of my stock kernel, if i would flash it, but i'm not sure from which version i should take it. i do have JVH, but i can't find a fitting csc (it's MOBJV2) on samfirmware or google.

Related

Would an i9000 rom work on a captivate?

Would an i9000 rom work on a captivate without any modifications?
I found a rom with right to left language support, but it is made for the i9000. Could I just flash it?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
yes but you need to flash the captivate kernal.
Jeepsdaddy said:
Would an i9000 rom work on a captivate without any modifications?
I found a rom with right to left language support, but it is made for the i9000. Could I just flash it?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Here is a i9000 Rom for Captivate. I use it and Love it,not 100% sure about the Right to left Language though.
http://forum.xda-developers.com/showthread.php?t=890429
yes you can just flash the i9000 rom you want, but after it boots up at least once, you'll have to flash a reoriented kernel to fix certain problems, including the incorrect screen orientation. there are a few of such clearly labeled kernels in the development forum, so take your pick. simple instructions: one-click flash the stock rom, boot normally, flash clockwordmod recovery, factory reset within clockwordmod recovery, flash your i9000 rom of choice, allow the phone to boot completely and establish a data connection, boot to recovery, flash a reoriented kernel of your choosing, boot normally and enjoy. hope this helps!
slifer315 said:
yes you can just flash the i9000 rom you want, but after it boots up at least once, you'll have to flash a reoriented kernel to fix certain problems, including the incorrect screen orientation. there are a few of such clearly labeled kernels in the development forum, so take your pick. simple instructions: one-click flash the stock rom, boot normally, flash clockwordmod recovery, factory reset within clockwordmod recovery, flash your i9000 rom of choice, allow the phone to boot completely and establish a data connection, boot to recovery, flash a reoriented kernel of your choosing, boot normally and enjoy. hope this helps!
Click to expand...
Click to collapse
Can you link to me the KERNEL? How to I flash the KERNEL with ODIN? IS that PDA?
Jeepsdaddy said:
Can you link to me the KERNEL? How to I flash the KERNEL with ODIN? IS that PDA?
Click to expand...
Click to collapse
There are several kernels in the dev section, I would suggest either xcal , hardcore, or glitterball. Which is best is a matter of preference. How to install, there are several ways, replace zimage in rom package, odin, clockwork flash. What rom do you want to flash
Sent from my SGH-I897 using XDA App
mcord11758 said:
There are several kernels in the dev section, I would suggest either xcal , hardcore, or glitterball. Which is best is a matter of preference. How to install, there are several ways, replace zimage in rom package, odin, clockwork flash. What rom do you want to flash
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
I am trying to Flash PilotROM for I-9000.. It is a hebrew rom developed and posted here http://sgsil.mobi/showthread.php?t=3&p=4&viewfull=1
I have the .zip package to install via clockwork however. I'd like to switch out the kernel in the ZIP Package...
How do I do that?
Jeepsdaddy said:
I am trying to Flash PilotROM for I-9000.. It is a hebrew rom developed and posted here http://sgsil.mobi/showthread.php?t=3&p=4&viewfull=1
I have the .zip package to install via clockwork however. I'd like to switch out the kernel in the ZIP Package...
How do I do that?
Click to expand...
Click to collapse
Download the kernel you want. For example xcal's. Open zip and find the zimage. Copy it. Download rom you want. Find the zimage and replace it with the copy you made. Rezip rom package. You should be good to go
Sent from my SGH-I897 using XDA App
Or there is an app on the market that may make it easier
Sgs kernel flasher
Download rom
Download kernel
Flash rom
Let boot download app
Open app, close it
Move kernel to folder on sd create by app
Open app, select change kernel, select the kernel you doenloaded
You will have to be rooted to use this app
Sent from my SGH-I897 using XDA App
I'm all set. Thanks!. Worked flawlessly with the Zimage file swap.
OK... Step 2... I customized the ROM now how can I repackage it to a .zip CW installation file?
Jeepsdaddy said:
OK... Step 2... I customized the ROM now how can I repackage it to a .zip CW installation file?
Click to expand...
Click to collapse
Should just compress to zip then move to sd of phone. What compression program are you using
Sent from my SGH-I897 using XDA App
I have winRAR. But when I say to make it flashable I am talking about the files of the ROM currently on my phone...
You have me a bit confused. You changed the zimage in the rom to a captivate kernel. Where did you do this, on phone or on pc
Sent from my SGH-I897 using XDA App

[Q] How to Create a zImage tar?

I am running a 2.3.3 branded rom from my provider on a GT-I9000 device (based on JHJV9).
Using odin I flashed speedmod k15-t24 kernel to get root permissions.
I am done with all the backups and I no longer need root, so i want to flash back the original kernel of this rom. I have the original zImage file of this kernel, and I tried to flash it back using SGS kernel flasher, but the procedure fails.
I want to try flashing it back using odin, but the zImage file is not packed in tar.
My question is -
Using winrar, can I remove the zImage file from the speedmod tar, and then paste the original rom zImage file instead? Will I be able to flash it using odin then?
If the answer is no, how do I create a proper tar file for odin with the desired zImage file?
You just need to tar the zimage - you can name it anything- see Fugu mod root thread. The tar creation seems very sensitive. I tried 7zip and peazip and both did not work. The last one suggested in fugu mod did. The other programs created tars that all looked ok as files but would not flash in odin. No status bar on the phone and progress stopped on odin. The good news is that you aren't bricked if you pull the battery and start again.
You can also use fugu mod root and then keep your stock kernel.
Sent from my GT-I9000M using XDA Premium App
another Alternative is to use Heimdall to flash yr prefer modem or kernel...
a little bit difficult to understand heimdall use, but not difficult to use. Only catch that u need to watch out is yr need to be in the same directory of the file that u want to flash..
u can know more about heimdall by search thru Google.. for heimdall for galaxy s. hope this help
Sent from my GT-I9000 using XDA App
Thanks for the answers,
Perhaps the Heimdall method will be easier. I'll start doing my homework on this platform.
hello,
use cygwin + cygwin packages.
Works great for me for releasing my own custom rom with odin.
i tried 7-zip but did not work.
good luck.
To make your .tar, try Izarc.
Working for me.
need help with original kernel file...
hey dangol, i have JHJV9 too, (JHJVB after kies update) and i was trying to root my phone but last time i did i messed up the signal strength, internet, etc. and had to take it back to orange. so this time im taking a backup of everything including the original kernel, which i cant do because you need root access to backup a kernel which entitles flashing a different kernel anyway, so i looked on the internet for an original; samfirmware.com and israeli forums and know one has it, so i was wondering if you could send me the original kernel in a file i could use with odin, and the CSC files if you have it. I'd really appreciate any help you give, iv'e been stuck for weeks.

Looking for the way to root Android 2.3.4

Hello everyone, Do you know which is the best way to root android 2.3.4 on my Captivate. Do you have any experience about this. Help me please!!!!!!!!!!!
See here... FuguRoot Mod
I know the thread is titled for i897uckf1, but don't fret that, because this root method works for 2.3.4 i897uckh3 as well.
Look behind the attachment paperclip at the Title of the thread and u will find the "stockKH3zImage.tar" that is the original stock i897uckh3 kernel that u will need to Odin back after u Odin the zImage-root.tar to get rooted. This is a very easy method of getting root.
Thank you. And I need to know do I have to odin back to the stock?
4-2ndtwin said:
See here... FuguRoot Mod
I know the thread is titled for i897uckf1, but don't fret that, because this root method works for 2.3.4 i897uckh3 as well.
Look behind the attachment paperclip at the Title of the thread and u will find the "stockKH3zImage.tar" that is the original stock i897uckh3 kernel that u will need to Odin back after u Odin the zImage-root.tar to get rooted. This is a very easy method of getting root.
Click to expand...
Click to collapse
By the way, I can not find out the files that you mentioned (i897uckh3). the file also names i897uckf1, is it ok if I flash this kernel on my phone? because my stock is i897uckh3
I have a problem that I can't not odin my stock kernel, so, can you make me a TAR file that flash able with odin, this my original kernel
http://dl.dropbox.com/u/12672792/zImage.rar
december30 said:
I have a problem that I can't not odin my stock kernel, so, can you make me a TAR file that flash able with odin, this my original kernel
http://dl.dropbox.com/u/12672792/zImage.rar
Click to expand...
Click to collapse
If u r on stock i897uckh3, the leaked gingerbread 2.3.4, then all u have to do to get root is Odin the zImage-root.tar that is attached to the FuguRoot thread (click on the paperclip at the title of the thread...u have to back out to where u see all the titles to the threads in the development section and then u will see the paperclip that i am talkin about). Once u Odin that tar (the phone won't boot up all the way after u odin the root kernel. It may boot loop so-> ), then pull ur battery, replace, use button combo to get into download mode again and then Odin back the stock kh3 original kernel that is attached behind the paperclip. After this u have successfully obtained root.
Everything is there in that thread that u need to get root.
Sent from my SAMSUNG-SGH-I897 using xda premium
Thank you very much but I found another method to do, I will post on this site when i am free. you are the best
I can enter download mode, using a jig or adb reboot download, but once I do that Odin loses the connection to the phone; it doesn't get re-added.
I'm trying to root KH3, which I flashed using UCKH3 Heimdall-One-Click [beta], but I'm not sure flashed bootloaders? The phone is working fine (calls, SMS, 3G, WiFi, etc.).
Any tips?
december30 said:
By the way, I can not find out the files that you mentioned (i897uckh3). the file also names i897uckf1, is it ok if I flash this kernel on my phone? because my stock is i897uckh3
Click to expand...
Click to collapse
here, what i have done, it worked 100% and easy http://forum.xda-developers.com/showthread.php?p=17510719

Flashing zImage file using Mobile Odin? or other Kernel Flashing tool

I have recently been trying the Franco Kernel and the CF Kernel on ICS. I have had a Wifi issues with both of these, and I wanted to flash back my LQ2 stock kernel (zImage). I found this very difficult to do. I eventually used ChainFire's script, and replaced his kernel with the stock one, and flashed it from the PC.
My question is: I could have sworn that I have previously used mobile odin to flash a zImage, but now when I try it doesn't see any of the zip files, or zImages files on my card? is this correct, or should it be able to flash zImage files?
If I can't use Mobile Odin, is there an alternative for flashing zImage files that I can download from Google Play?
chriswilson_m3 said:
I have recently been trying the Franco Kernel and the CF Kernel on ICS. I have had a Wifi issues with both of these, and I wanted to flash back my LQ2 stock kernel (zImage). I found this very difficult to do. I eventually used ChainFire's script, and replaced his kernel with the stock one, and flashed it from the PC.
My question is: I could have sworn that I have previously used mobile odin to flash a zImage, but now when I try it doesn't see any of the zip files, or zImages files on my card? is this correct, or should it be able to flash zImage files?
If I can't use Mobile Odin, is there an alternative for flashing zImage files that I can download from Google Play?
Click to expand...
Click to collapse
Flash the LQ2 .tar file instead of the zImage with Mobile Odin. So extract the downloaded .rar file once and it becomes a .tar file and put it on your sd card. mobile Odin doesn`t flash zImage, cwm manager does flash it.
If I do that won't it overwrite the whole rom. I only want the kernel. I would have to reinstall all my apps and settings. It takes me hours to get everything back the way it was.
chriswilson_m3 said:
If I do that won't it overwrite the whole rom. I only want the kernel. I would have to reinstall all my apps and settings. It takes me hours to get everything back the way it was.
Click to expand...
Click to collapse
It will flash only the kernel, also choose wipe cache when flashing. You will loose nothing.
If you want to flash stock kernel only then you can use PC Odin too.(you shud have kernel in .tar), you need to place kernel .tar file for selecting PDA in Odin.
Mobile odin can flash zImage file.
none of above said erase data.
dr.ketan said:
If you want to flash stock kernel only then you can use PC Odin too.(you shud have kernel in .tar)
Mobile odin can flash zImage file.
Click to expand...
Click to collapse
Didn`t know that of the zImage and Mobile Odin, thanks. We learn every day
Absolutely, N nowhere else better thn on XDA to learn.
dr.ketan said:
Absolutely, N nowhere else better thn on XDA to learn.
Click to expand...
Click to collapse
Can we flash a rooted kernel in PC Odin in a non rooted device? Is there a rooted kernel in tar format?
it will raise flash counter. look to speedmod kernel for ics, having tar. counter you can reset with triangleaway
i hav never used any time, read properly before flashing.
Sent from my GT-N7000 using xda premium
Serpentinefire76 said:
Can we flash a rooted kernel in PC Odin in a non rooted device? Is there a rooted kernel in tar format?
Click to expand...
Click to collapse
Yes you can, i would take CF Root wich has root, busybox and cwm recovery. But it will increase the flash counter and shows a yellow triangle. With this method however no flash counter/triangle http://forum.xda-developers.com/showthread.php?t=1329360.
---------- Post added at 12:43 PM ---------- Previous post was at 12:41 PM ----------
dr.ketan said:
it will raise flash counter. look to speedmod kernel for ics, having tar. counter you can reset with triangleaway
i hav never used any time, read properly before flashing.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
As far as i know Triangle Away only works properly on CM9, correct me if i`am wrong.
gee2012 said:
Yes you can, i would take CF Root wich has root, busybox and cwm recovery. But it will increase the flash counter and shows a yellow triangle. With this method however no flash counter/triangle http://forum.xda-developers.com/showthread.php?t=1329360.
---------- Post added at 12:43 PM ---------- Previous post was at 12:41 PM ----------
As far as i know Triangle Away only works properly on CM9, correct me if i`am wrong.
Click to expand...
Click to collapse
So, that's the catch-the triangle. I would supposed Dr. Ketan's procedure is also applicable to rooting GB?
I've been using initial CF root flasher
gee2012 said:
As far as i know Triangle Away only works properly on CM9, correct me if i`am wrong.
Click to expand...
Click to collapse
new version of TriangleAway released, works on ics stocks too.
Sent from my GT-N7000 using xda premium
dr.ketan said:
If you want to flash stock kernel only then you can use PC Odin too.(you shud have kernel in .tar), you need to place kernel .tar file for selecting PDA in Odin.
Mobile odin can flash zImage file.
none of above said erase data.
Click to expand...
Click to collapse
Dr Ketan, I have a couple of questions about what you have said which I would be really grateful if you would clarify:
In the stock rom, when I drill into the .tar file I have a number of files e.g. cache.img, factoryfs.img, hidden.img, modem.bin, and the zImage. Both Odin and Mobile Odin can only see the .tar file (which contains everything). If I extract the zImage, Odin and Mobile Odin cannot see it as an individual file, it has to be bundled up with the others in the .tar file.
If I use Odin to flash that file, it is the whole Rom, so won't it wipe my phone like a factory re-set?
When I try to use mobile Odin, you say I can flash a zImage file, but even though I have one on the SD card, it cannot see them. Mobile Odin just shows me all folders, and I cannot select an individual zImage file, or any zip files? I guess it can only see whole .tar files and not individual files?
Can you please advise me?
ok
now pc odin
here you can flash with tar only.
pc odin gives you option to flash separate modem and csc but not kernel if you select full Rom file.
but if you have kerenl file in tar file then you can flash it using pda in odin to flash kernel separately.
now in mobile odin.
you can flash kernel modem or csc individually with raw file or tar or zip.
dont know why you are getting error, otherwise it gives you option to glash zimage too.
just to add, in mobile odin you have not to select open file option but you hav to select kernel tab
then point it to zimage file.
Sent from my GT-N7000 using xda premium
dr.ketan said:
ok
now pc odin
here you can flash with tar only.
pc odin gives you option to flash separate modem and csc but not kernel if you select full Rom file.
but if you have kerenl file in tar file then you can flash it using pda in odin to flash kernel separately.
now in mobile odin.
you can flash kernel modem or csc individually with raw file or tar or zip.
dont know why you are getting error, otherwise it gives you option to glash zimage too.
just to add, in mobile odin you have not to select open file option but you hav to select kernel tab
then point it to zimage file.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Thank you my friend. your advice has really helped me. My issue in Mobile Odin was caused because I had renamed the zImage file to StockzImage (because I had some custom ones there with different names in the same directory. Mobile Odin was specifically looking for a file with the name zImage
dr.ketan said:
ok
now pc odin
here you can flash with tar only.
pc odin gives you option to flash separate modem and csc but not kernel if you select full Rom file.
but if you have kerenl file in tar file then you can flash it using pda in odin to flash kernel separately.
now in mobile odin.
you can flash kernel modem or csc individually with raw file or tar or zip.
dont know why you are getting error, otherwise it gives you option to glash zimage too.
just to add, in mobile odin you have not to select open file option but you hav to select kernel tab
then point it to zimage file.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Dr ketan, any idea if Mobile odin supported on S2-LTE I9210?
Here is list of supported device
http://forum.xda-developers.com/showthread.php?t=1347899

[Q] How to get stock kernel

I am running stock 4.0.4 with hydracore kernel.
I am getting the OTA update but cannot install.
how can i get back to the stock kernel without flashing the stock rom via pc odin ?
You got 2 options...
1. Download the stock ROM on your PC and extract the kernel (zImage) and flash it after
2. Download Chainfire's stock CF-Root kernel from this link- http://forum.xda-developers.com/showthread.php?t=1331784 and find the kernel that matches your ROM (on your region.
nokiamodeln91 said:
I am running stock 4.0.4 with hydracore kernel.
I am getting the OTA update but cannot install.
how can i get back to the stock kernel without flashing the stock rom via pc odin ?
Click to expand...
Click to collapse
Download stock kernel for your rom from here and then flash using mobile odin or K-tools. I have done it many times using mobile odin and it even retains root.
But there is still no guarantee of OTA, I was on stock LR6 with stock kernel with mods and OTA failed everytime, now flashed GB and updating to LR6 via kies to use OTA.
letters_to_cleo said:
You got 2 options...
1. Download the stock ROM on your PC and extract the kernel (zImage) and flash it after
2. Download Chainfire's stock CF-Root kernel from this link- http://forum.xda-developers.com/showthread.php?t=1331784 and find the kernel that matches your ROM (on your region.
Click to expand...
Click to collapse
Hi,
i have the tar.md5 file on my pc.. i opened it with 7zip and i see the zimage. do i flash it in the pda tab? will it increase counter
nokiamodeln91 said:
Hi,
i have the tar.md5 file on my pc.. i opened it with 7zip and i see the zimage. do i flash it in the pda tab? will it increase counter
Click to expand...
Click to collapse
or can i flash the zimage from mobile odin?
Most often it will.. since your using PC Odin.. but there's nothing impossible as long as you root your phone back and use ChainFire's TriangleAway app to remove the counter back to 0.
EDIT: Yes, MOdin can flash Zimage as well.. try to look for some of the answers here as well -->>http://forum.xda-developers.com/showthread.php?t=1713289
Flashing anything which is stock should not raise custom count, same way as flashing stock firmware using pc odin doesn't. but why take chances when you can flash it using mobile odin or K-tools easily.
I even once flashed stock kernel using Doomlord's tool (used in CF root kernels to root and flash , it didn't raise the custom count.
Just put zimage on root of SD and flash by MO or ktools, easy. Modin can handle zimage and tar both.
jeetu1981 said:
Download stock kernel for your rom from here and then flash using mobile odin or K-tools. I have done it many times using mobile odin and it even retains root.
But there is still no guarantee of OTA, I was on stock LR6 with stock kernel with mods and OTA failed everytime, now flashed GB and updating to LR6 via kies to use OTA.
Click to expand...
Click to collapse
I used mobile odin and used the tar.md5 in kernel... flashed and it wen back to the stock kernel but the OTA still failed... then did a restore of complete rom from odin.. sacrificed root and mods.. but finally the OTA installed and happy that i did.. love the new launcher
nokiamodeln91 said:
I used mobile odin and used the tar.md5 in kernel... flashed and it wen back to the stock kernel but the OTA still failed... then did a restore of complete rom from odin.. sacrificed root and mods.. but finally the OTA installed and happy that i did.. love the new launcher
Click to expand...
Click to collapse
Yes, that's why I said no guarantee of OTA even after flashing stock kernel, I was on stock kernel already and never flashed custom but still had to flash GB from odin for OTA

Categories

Resources