So I am still learning how everything functions with this new setup. My only question that I have right now, is If I want to change the kernel of a ROM prior to flashing it, do I just need to replace the zImage file with the one that I want.
ie. ROM A comes with source EG30, and ROM B comes with stock pulled EG30, Can I just take the zImage from ROM B and drop it into ROM A, sign and flash?
Khilbron said:
So I am still learning how everything functions with this new setup. My only question that I have right now, is If I want to change the kernel of a ROM prior to flashing it, do I just need to replace the zImage file with the one that I want.
ie. ROM A comes with source EG30, and ROM B comes with stock pulled EG30, Can I just take the zImage from ROM B and drop it into ROM A, sign and flash?
Click to expand...
Click to collapse
Yes, you can do that. But use 7zip because it doesn't break the signed .zip. Right click on the file after installing 7zip and choose 7zip > Open Archive and just paste the zImage you want in there.
Related
I am trying to flash my Kernel back to factory, i do not want to wipe the whole thing just remove a Kernel Mod and restore the factory kernel. Where can I find the SPH-D700.zImage.stock.tar file that I keep reading about that I need to achieve this? I can not seem to find this file any place.
Creine59 said:
I am trying to flash my Kernel back to factory, i do not want to wipe the whole thing just remove a Kernel Mod and restore the factory kernel. Where can I find the SPH-D700.zImage.stock.tar file that I keep reading about that I need to achieve this? I can not seem to find this file any place.
Click to expand...
Click to collapse
You could go to the wiki http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SPH-D700
Download EB13 Stock
Pullout the zImage file.
Download a flashable Kernel zip
and put the zImage from the stock tar, into the zip. That would give you a zip you could use to put the stock kernel back on.
You can use 7-zip to open the tar file and pull out the zImage file and subsequently use 7 zip to open the zip for the kernel you download (like twilight, vision or genocide)
hope that helps. as always backup first.
Creine59 said:
I am trying to flash my Kernel back to factory, i do not want to wipe the whole thing just remove a Kernel Mod and restore the factory kernel. Where can I find the SPH-D700.zImage.stock.tar file that I keep reading about that I need to achieve this? I can not seem to find this file any place.
Click to expand...
Click to collapse
Really man? You couldn't read the sticky at the top that says what to do with Q's?
Moved to Q&A.
Hi.
Since I (idiot that I am^^) installed another kernel to my "supernova" Rom on my Desire, I can't overclock it anymore with SetCPU.
So I'd like to reinstall the stock kernel but I can't find a zip anywhere.. Anyone can help?
Try the kernels from the downloads section of the homepage of the rom...
Sorry, seems that I cannot yet post full urls...
supernova.
droidzone.in
/?page_id=24
the problem is, that there are only "non Overclocked" Kernels on this page. No matter which of them I install, i can't choose an overclocked setting in setcpu (i could do so after installing the rom)
EDIT: THats the one that is in the rom itself: Kernel: O2.6.35.10-g3f43272 based [v06-snq-is-still-#01]- snq kernel based on [email protected] #1
I really dont know what of this line is the "type" of kernel i'm looking for ^^
Maybe you could flash the ROM again to get the original kernel, shouldn't delete anything on the phone.
Like this i would screw up the "clean" install I have^^. I think I'm going to install ALL new after a wipe .)
Just download the Rom zip file again. It contains a boot.img which you can just flash using fastboot if you are s-off or using recovery if you know how to make the zip file.
You could also just flash the Rom, if you haven't made changes to the system, it should not change anything else than the kernel
I wiped everything and flashed the rom again.
But in case i need to do it again^^:
Do I need to make a "special" Zip File? Does it need to contain anything but the boot.img?
I know how to zip files / folders with windows, just want to know if there is anything special?
In flashing roms, I notice that devs are including kernels in the .zip. It appears each dev has their favorites. Without debating which kernel is the "best", my question is can I switch a Zimage (which I assume is the kernel) with another of my liking? Or, if I'm running a particular kernel of my liking, can I flash the Rom without the included Zimage?
.....
Vegasden said:
In flashing roms, I notice that devs are including kernels in the .zip. It appears each dev has their favorites. Without debating which kernel is the "best", my question is can I switch a Zimage (which I assume is the kernel) with another of my liking? Or, if I'm running a particular kernel of my liking, can I flash the Rom without the included Zimage?
.....
Click to expand...
Click to collapse
You should be able to flash a kernel, either through CWM or ODIN without problem.
sk63 said:
You should be able to flash a kernel, either through CWM or ODIN without problem.
Click to expand...
Click to collapse
I realize that. My question was in reference to flashing a rom (which all have a kernel included). Can you switch the Zimage inside the rom .zip prior to flashing...or can I just delete the Zimage inside the rom and flash it without one? I'm trying to avoid the two steps of flashing a rom, then flashing a kernel I prefer.
Ah, I've always just flashed the ROM, then flashed the kernel then rebooted out of CWM. Be nice if there was a utility where you give it kernel and rom and tell it to go, might be a nice feature for ROM Manager to add.
I have been looking around and messing with different kernels for the SGS2E4GT (pauses for breath) and I've noticed that most of the stock kernels have directions for flashing via Odin, but I was wondering if these kernels would be possible to flash via CWM as well...I've noticed that most of these compressed flashable files have this zImage file inside (sorry about my lack of knowledge...I've been in webOS-land the last couple years and have just started learning about Android, so this is probably standard practice)...do I just need to take a stock zImage file from the .tar file and compress it in .zip form to flash it in CWM?
So, the stock img for Nexus 7 (2013) has been released.
a couple days ago, I flashed the wrong kernel, so I flashed an unofficial stock kernel to fix it. It works but it gets some lag when swipe between screens.
Now, GG realeases their stock so I want to flash the stock kernel or even make my Nexus 7 (2013) "stock" to see if it is a software problem or a hardware one (so I can get a replacement).
I am a newbie, so please verify if I am wrong in flashing my Nexus 7:
1. If I want to "stock" my Nexus 7: I just have to follow this thread
Code:
http://forum.xda-developers.com/showthread.php?t=2010312
although it is for nexus 4, but the steps are indentical, right?
2. If I only want to flash the kernel, I will have to extract the .taz file, and look for the boot.img, then flash that boot.img
Is that correct?
3. What is the difference between return to stock (my first question) and flashing a kernel (my second question)?
Thanks a lot.
There is a batch (.bat) file in the factory image archive (after you gunzip and tar extract) that does the commands for you. Just put everything in the directory you keep adb/fastboot and run flash-all.bat
There is an image-razor-jss15j.zip archive (you'll see it when you extract the tar) Within that zip archive is the boot.img (kernel) you are looking for.
Kernel is just the low-level OS. As a simplification, it handles lower-level device interaction. Sometimes people will build custom kernels with support for more VPN, more filesystems, loopback devices, more cpu control, etc.
Return to stock usually mean you are putting back all the components of the original system, original Kernel (boot.img) Recovery (recovery.img) and System (system.img)
system is often referred to as the ROM, though sometimes people overload the term ROM to include system and boot, depends on the context.
Sometimes you can mix/match kernel and ROM, sometimes not. Depends on the changes. You may have just changed the kernel out to get some feature, in which case, you may just want to restore just the original kernel and leave your setup otherwise unchanged.
It's very clear and informative.
Thanks a lot :good:
Easy mode here;
http://forum.xda-developers.com/showthread.php?t=2400019