Can u change the kernel version of a phone with out having to change roms? Like by adb or something? And also how do u extract the kernel from an odin download file?
yes. a lot of kernels are available as .zip files, just flash them in recovery.
if not, fastboot flash zimage <kernel filename>
Is there a way to do it through adb? The behold 2 doesnt have a recovery
Related
i trying to install custom kernal on y but cant install is there any solution..plz help.me
solution is follow the instruction on the op of the kernel thread you are trying to install and always mount system before you flash anything
mangeshbhosale said:
i trying to install custom kernal on y but cant install is there any solution..plz help.me
Click to expand...
Click to collapse
you can try flashing the boot.img vie odin if that didn't do it then i don't know what will
the X Machine said:
you can try flashing the boot.img vie odin if that didn't do it then i don't know what will
Click to expand...
Click to collapse
you dont flash the boot.img via odin
you flash tar files via odin (which contain the boot.img) but it has to be an odin flashable tar file
if you only have the boot.img file you can flash it via cwm with the boot image installer zip file
All instructions on how to flash each kernel will be on the op of each kernel thread
marcussmith2626 said:
you dont flash the boot.img via odin
you flash tar files via odin (which contain the boot.img) but it has to be an odin flashable tar file
if you only have the boot.img file you can flash it via cwm with the boot image installer zip file
All instructions on how to flash each kernel will be on the op of each kernel thread
Click to expand...
Click to collapse
man anyone who uses odin will know that no need for this post
the X Machine said:
man anyone who uses odin will know that no need for this post
Click to expand...
Click to collapse
please remember not all people who read your posts will have used odin or have understanding of what boot.img is
marcussmith2626 said:
please remember not all people who read your posts will have used odin or have understanding of what boot.img is
Click to expand...
Click to collapse
yah i guess that not all people understand this i will try and explain things in the future any way thx you for explaining my answer for him :fingers-crossed:
If Help You!!
you can flash using this:
Download Kernel Update.zip
put the boot.img in sdcard
go reboot recovery (use cwm)
mount all system, data, cache,etc
go to 'install zip form sdcard'
select Kernel Update.zip
it finish installation go advance and reboot recovery is done!!
thnks guys for ur awesome reply..problem are solve now
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.
Hi Guys,
I have compiled a kernel for note 4 from opensource samsung.
I have got zimage in two locations , one in output which is less than 10mb and one in main kernel boot folder which is 20 mb.
When i try to flash using odin i , get the error , unsupported dev type.
I have firmware N910GDTS1DRH2 N910GODD1DRD1 downloaded from sammobile.
Also after compiling i have got some modules which i didnot touch.
I downloaded source from http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n910g
I have tried 3 mm versions, but all give same error.
Any help will be appreciated.
I also tried making boot.img with perl script but phone doesnot boot up using that.
Thanks and Regards,
Ankit
I use AIK to unpack the stock boot image. Take the zImage from output/arch/arm/boot/ and replace the original one in the new split_img folder that AIK creates. Be sure to rename it what AIK names it (boot.img-zImage if I remember right). Then repack it flash the new image via TWRP. The new-image should be close to 15.8 mb.
Edit- forgot to hit reply button @xdauserherewithnote4
Is TWRP neccessary
kevintm78 said:
I use AIK to unpack the stock boot image. Take the zImage from output/arch/arm/boot/ and replace the original one in the new split_img folder that AIK creates. Be sure to rename it what AIK names it (boot.img-zImage if I remember right). Then repack it flash the new image via TWRP. The new-image should be close to 15.8 mb.
Edit- forgot to hit reply button @xdauserherewithnote4
Click to expand...
Click to collapse
Thanks for your reply, i was wondering if i can flash using odin or i have to use twrp? zimages are convertible to tar files that odin can flash but the problem i am facing is odin mode showing unsupported dev type.
xdauserherewithnote4 said:
Thanks for your reply, i was wondering if i can flash using odin or i have to use twrp? zimages are convertible to tar files that odin can flash but the problem i am facing is odin mode showing unsupported dev type.
Click to expand...
Click to collapse
Yeah, you could make it in to .tar if you'd like but it needs to be in a boot.img form. The only way I know how to directly flash a zImage is with anykernel or a tool similar to that.
Kernel flash was success but phone is not stable now !
kevintm78 said:
Yeah, you could make it in to .tar if you'd like but it needs to be in a boot.img form. The only way I know how to directly flash a zImage is with anykernel or a tool similar to that.
Click to expand...
Click to collapse
Ok i was able to flash boot.img by converting into tar (having new zimage) , but system is rebooting again and again after sometime.
I was able to flash after making boot.img using AIK. Thanks for advice.
Hi, All
I hope flash replaced boot.img by using the odin.
I downloaded the AP_G935SKSU2ERJ1....tar.md5 from sammobile.com.
Extract AP_G935SKSU2ERJ1....tar.md5 has boot.img.
So unpacked the boot.img in ubuntu, it has ramdisk and kernel(Image_1).
Also I downloaded the kernel source code (SM-G935S_KOR_OO_Opensource.zip)(ver.G935SKSU2ERJ1) from opensource.samsung.com
and I used toolchain(aarch64-linux-android-4.9) in ubuntu to kernel build. so success.
I got the kernel(Image_2) by using the command(make ARCH=arm64).
I repacked that after replace Image_1 and Image_2.
and flashed boot.img by using the odin.
The result is pass, but It doesn't work. stop to boot-logo.
It is the same kernel, but the volume of the Image files were different.
how to flashing replaced boot.img or equlizing the volume of Images.
I want to solve this problem.
sommmmmeboooody hhhelp meee
android 8.0.0
kernel ver. =3.18.91 - 14574311 - QB20196802
build No. = R16NW.G935SKSU2ERJ1
Do you have TWRP Recovery? If yes then you can easily flash .img throught TWRP.
You can also flash .img files via ODIN as instructed below
https://androidforrookie.blogspot.com/2018/11/how-to-flash-boot-image-file-using-odin.html
thanks
Thanks your reply.
but no have TWRP recorvery.
Do I really need it?