I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
harry_fine said:
I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
Click to expand...
Click to collapse
Wait until you get an expert opinion. I was looking here and there for threads to extract and flash the stock kernel but ended up bricking my device. (No recovery, No bootup, THANK GOD I could access download mode).
I extracted the boot.img but didn't know how to flash it. There was a thread, a script that could turn .img to .tar.md5. I did that and flashed the file through Odin and boom. Stuck at bootlogo. So I try to restore the nandroid backup, but recovery keeps bootlooping.
Had to install stock rom completely through Odin...But it still isn't booting up.
User @nickpatel130285 has shared stock kernel for G900F in this post.
I flashed using that zip file and it worked like charm. So what you can do is replace the boot.img in that zip file with the one which is compatible with your variant and leave the rest as it is. Repack and Flash.
It should work but just in case if you mess things up you'll need to flash stock rom using Odin. So make sure you make a nandroid backup and have a copy on your PC (safely).
Flash at your own risk.
Related
Hey there, I've recently made the purchase of a samsung galaxy S4 1337m
Once i got it home, the first thing i did was root it via Chainfires Root, and downloaded
rom manager, and installed CWM, and backed up my original OS with the original root
to a SD Card, once i did that I installed Odexed Andriod 4.3 for US and CAN, when i discovered
there was Chainsfire root guide for this version in particular, i tried to install it, what i did was attempt
to flash the latest root onto 4.3 via oden, after which i would flash the modded software to work for 4.3
however, in the process i ended up losing CWM, and the root all together, so i was wondering if anyone
was willing to lend me a hand getting the root onto my 4.3, so i can get my CWM back on.
Thanks!
DeathSentinels said:
Hey there, I've recently made the purchase of a samsung galaxy S4 1337m
Once i got it home, the first thing i did was root it via Chainfires Root, and downloaded
rom manager, and installed CWM, and backed up my original OS with the original root
to a SD Card, once i did that I installed Odexed Andriod 4.3 for US and CAN, when i discovered
there was Chainsfire root guide for this version in particular, i tried to install it, what i did was attempt
to flash the latest root onto 4.3 via oden, after which i would flash the modded software to work for 4.3
however, in the process i ended up losing CWM, and the root all together, so i was wondering if anyone
was willing to lend me a hand getting the root onto my 4.3, so i can get my CWM back on.
Thanks!
Click to expand...
Click to collapse
I haven't used 4.3 but from what I've read I believe you just flash the .zip chainfire provided from recovery.
So now you will have to ODIN back to stock if you lost your recovery, re-root, install recovery (recommend TWRP instead), re-flash 4.3, flash the .zip provided from chainfire in his post here:
https://plus.google.com/u/0/113517319477420052449/posts/WqS2E9kkN1L
blyndfyre said:
I haven't used 4.3 but from what I've read I believe you just flash the .zip chainfire provided from recovery.
So now you will have to ODIN back to stock if you lost your recovery, re-root, install recovery (recommend TWRP instead), re-flash 4.3, flash the .zip provided from chainfire in his post here:
https://plus.google.com/u/0/113517319477420052449/posts/WqS2E9kkN1L
Click to expand...
Click to collapse
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
DeathSentinels said:
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
Click to expand...
Click to collapse
He means Odin the stock ROM
DeathSentinels said:
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
Click to expand...
Click to collapse
The backup created from CWM should be a .zip that is flash-able only from recovery afaik. You will need your stock firmware .tar file and flash with ODIN. This is only if you surely cannot boot into recovery. If you manage to boot to CWM you can flash your backup of course.
Your STOCK firmware can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=2269304
blyndfyre said:
The backup created from CWM should be a .zip that is flash-able only from recovery afaik. You will need your stock firmware .tar file and flash with ODIN. This is only if you surely cannot boot into recovery. If you manage to boot to CWM you can flash your backup of course.
Your STOCK firmware can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=2269304
Click to expand...
Click to collapse
I currently did a factory wipe on my device, and flashed using odin with my stock
rom, things are looking good thus far, will keep posted if anything goes not as planned!
I installed a kernel but there's a wifi bug and i don't know how to fix it. I made a backup before, but when i restore it, it doesn't go BACK!
i have i337M (4.4.2)
Someone please help me ..
I haven't personally tried this on the s4 but it should work. Grab the 4.4.2 factory tar file, rename it without the.md5, and extract it. Inside you should find a boot.img. Put that on your device and flash it with flashify from the play store.
Sent from my Nexus 5
Thanks! I will try it when I finish downloading the File from SamMobile.
Just to Clarify:
I need to remove the .md5 from the name? So just .tar? and then extract and put the boot.img on my sd and install flashify and flash from there? And my kernel will be back to stock?
If I wanted to unroot, would i just flash the .tar file through Odin? That would remove TWRP, root and custom kernel, am i correct?
Thanks.
the0nly0ne- said:
Thanks! I will try it when I finish downloading the File from SamMobile.
Just to Clarify:
I need to remove the .md5 from the name? So just .tar? and then extract and put the boot.img on my sd and install flashify and flash from there? And my kernel will be back to stock?
If I wanted to unroot, would i just flash the .tar file through Odin? That would remove TWRP, root and custom kernel, am i correct?
Thanks.
Click to expand...
Click to collapse
You made it easy to answer your questions. It's yes to all of them
Sent from my Nexus 5
Hi
Is there a way to get a stock kernel somewhere, in the purpose of flashing it either with CWM or in Odin? Everywhere I look, the Stock Rom packages contain the kernel, but also contain system image and recovery. I need only the kernel from this to flash, is there any way to get the kernel from each of this packages, so that I can flash it alone?
lukair1983 said:
Hi
Is there a way to get a stock kernel somewhere, in the purpose of flashing it either with CWM or in Odin? Everywhere I look, the Stock Rom packages contain the kernel, but also contain system image and recovery. I need only the kernel from this to flash, is there any way to get the kernel from each of this packages, so that I can flash it alone?
Click to expand...
Click to collapse
open the stock firmware with 7zip and copy the boot image to desktop
Thank you for taking the time.
So "boot.img" is kernel image?
If so, then once I extract the boot.img, how do I flash it using odin?
lukair1983 said:
Thank you for taking the time.
So "boot.img" is kernel image?
If so, then once I extract the boot.img, how do I flash it using odin?
Click to expand...
Click to collapse
yes boot.img is the kernel.
you can use a special tool to make it a tar file like this
if you want. attach the boot.img here in a zip and i will make it for you
Thanks samersh72. I should probably learn that myself, you did enough for me already. I should be able to take it from here. Thanks again.
Topic can be closed.
HI everybody
I updated my n910H to 5.1.1 , worked well and decided to flash a custom kernel . also faced to problem with wifi and now i decided to flash my original kernel.
i extracted the boot.img from update package N910HXXU1COH4_N910HOLB1COH4_N910HXXU1COH3_HOME.tar
now, im not sure how to flash it !! via odin or anything else needed
thank u for your help
any help ?????
when I had my S3 if I needed the stock kernel I would simply reflash the stock rom since they usually have the stock kernels built-in
Sent from my SM-N910H using Tapatalk
i dont want to reset my phone , i just want to flash the original kernel
mehdi.moha said:
i dont want to reset my phone , i just want to flash the original kernel
Click to expand...
Click to collapse
Never tried with samsung phones (and probably it is not possible) but with my other android devices I just extract the boot.img from the ROM and flash it with fastboot using the command "fastboot flash boot boot.img".
With a samsung device you should probably (or definitely) create a flashable .zip file with the boot.img of your stock ROM and flash it via recovery.
You need to download your original kernel from net, there are 2 types of file you’ll find, one is .zip and another one is .tar. If you download .zip file you have to flash it with recovery (CWM/TWRP) or if you download .tar file (don't try to make your own .tar file) then you can flash it with Odin tool.
Hello Canada. I'm on Rogers and updated a few days ago to the new 6.01 Marshmallow ROM. I have root. Seems to be not much development work on our device, the G900W8, wanted to try some custom kernels and see if they would work but they all seem to be for the 900F. I'm interested in battery life improvements.
So I wanted to get a stock kernel I could flash in case something goes wrong and it won't boot, or if I just don't like the kernel. Some custom kernels require you to flash from stock rather than other custom kernels.
So how do we get things like kernel and radio out of our new G900W8 download? The download I have from Rogers is G900W8VLU1DPD3_G900W8OYA1DPD3_G900W8VLU1DPD3.
Use 7zip to open archive the stock rom. Then extract boot.img. IMG files can flash via TWRP.
Did some searches, seems like Flashify will do it. Gonna give it a try.
Saquing18 said:
Use 7zip to open archive the stock rom. Then extract boot.img. IMG files can flash via TWRP.
Click to expand...
Click to collapse
Thank you. I grabbed the file boot.img from the downloaded Rogers ROM file and copied to my PC. It has a file size in Windows Explorer of 12319. I also used Flashify to extract it, copied it to the PC, it has a size of 13,312. Wonder why the size difference?