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?
Related
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 the community,
i'd like to ask you for help because i don't manage to make it.
Here is the problem :
1/ i flashed last firmware for the phone
2/ then root it, install latest busybox....
3/ dump from my phone cache & system using this :
dd if=/dev/block/platform/13540000.dwmmc0/by-name/CACHE of=/sdcard/cache.img
dd if=/dev/block/platform/13540000.dwmmc0/by-name/SYSTEM bs=4096 of=/sdcard/system.img
I check it using linux reader. No problem at all
4/ Then repack those 2 files with others files which are on stock tar file (boot, hidden...)
5/ Launch Odin, put my tar on AP then flash.
- All were ok until it came to cache.img then fail
On stock tar, there is a system.img (not .raw). Don't know if it is sparsed but....i suppose as it needs to be converted to bre used with linux reader.
So i dunno what to do to have a valid cache.img & system.img
If you can help me, i will be grateful.
Thanks for all.
Hi
I'm trying too making a pre rooted stock rom flashable through odin. But i get everytime a "failed" from Odin.
However why are using your cache instead of cache.img present in stock firmware?
Try unpack stock firmware and replace only custom "system.img" that contains root and finally repack stock firmware!
Well some info i need is in cache
why don't you make a flashable zip since you know the partions then add root
malbert16442 said:
why don't you make a flashable zip since you know the partions then add root
Click to expand...
Click to collapse
A stock firmware pre-rooted flashable through odin is more comfortable whenever you wanna reset your phone isn't need to using FlashFire or Mobile Odin. IMHO
Hey, i looking for aome help.
Im trying to create a ROM for the Galaxy s8 g950f.
What i did was to take the stock system.img to supers kitchen and extract it, after that i build the img again (chainging nothing in it) and im getting a sparse img.
I take the new img to the AP and flash it to the phone, there i get system.img fail at the odin.
Stock ROM is flashed just fine with odin.
Any idea why is that? Or how should i open the system.img and change things in it?
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,
Just after some help here...
I'm trying to flash the stock recovery to remove the features from TWRP, the ability to delete and access files... Essentially to dumb the phone down after I've got it where it needs to be.
I've extracted the recovery.img.l4z file from the stock AP and then extracted the recovery.img then added it to a .tar archive...
So now I have the recovery.tar file however it won't flash via Odin. Odin pauses at "Get PIT for mapping".
Any suggestions to remove TWRP and return the recovery to stock would be awesome! Thank you
OK - fixed, I added .img after recovery so effectively.... the final final to be flashed was recovery.img.tar
This worked. Samsung stock recovery flashed succesfully and twrp was removed.
Will leave this here for future reference.
Please note this recovery file came from AP_G950FXXUCDUD1_CL21427293_QB39365966 firmware file.