I have several files boot.img, system.img, userdata.img, cache.img
Is it possible to extract the kernel files from the image(s) and package it as an update.zip that can be flashed through recovery?
abundantmussel said:
I have several files boot.img, system.img, userdata.img, cache.img
Is it possible to extract the kernel files from the image(s) and package it as an update.zip that can be flashed through recovery?
Click to expand...
Click to collapse
You can fastboot flash boot boot.img to flash the kernel.
Sent from my myTouch_4G_Slide using XDA
Related
I want to install my stock recovery to be able to download OTA updates using my stock themed firmware but I can't figure out how to install the recovery.img that i got from my official firmware. I already tried to flash it using odin & through twrp recovery but the file is not supported. Can anybody convert my recovery.img into a flashable file?
my recovery.img
cyberjm said:
I want to install my stock recovery to be able to download OTA updates using my stock themed firmware but I can't figure out how to install the recovery.img that i got from my official firmware. I already tried to flash it using odin & through twrp recovery but the file is not supported. Can anybody convert my recovery.img into a flashable file?
Click to expand...
Click to collapse
Hi,
Look HERE
Flashing the stock firmware for your phone will also flash stock recovery and stock kernel.
malybru said:
Hi,
Look HERE
Flashing the stock firmware for your phone will also flash stock recovery and stock kernel.
Click to expand...
Click to collapse
I am currently using stock firmware and stock kernel but my recovery is twrp. I want to restore my stock recovery without affecting my root and modified system files.
cyberjm said:
I am currently using stock firmware and stock kernel but my recovery is twrp. I want to restore my stock recovery without affecting my root and modified system files.
Click to expand...
Click to collapse
You will need to find a stock recovery only image that can be installed by ODIN.
Sent from my GT-I9500 using Tapatalk 2
Gillion said:
You will need to find a stock recovery only image that can be installed by ODIN.
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
I was able to extract my stock recovery.img from my stock firmware but it is formatted as Disc Image File. I am wondering if its possible to convert it to other format so that i can flash it via odin or recovery.
cyberjm said:
I was able to extract my stock recovery.img from my stock firmware but it is formatted as Disc Image File. I am wondering if its possible to convert it to other format so that i can flash it via odin or recovery.
Click to expand...
Click to collapse
You can`t flash the extracted stock recovery with Odin but you can with Mobile Odin Pro from your phone. It also flashes .img files. Did it myself on the I9505.
cyberjm said:
I want to install my stock recovery to be able to download OTA updates using my stock themed firmware but I can't figure out how to install the recovery.img that i got from my official firmware. I already tried to flash it using odin & through twrp recovery but the file is not supported. Can anybody convert my recovery.img into a flashable file?
my recovery.img
Click to expand...
Click to collapse
Try with this fastboot command.
Code:
fastboot flash recovery /path/to/recovery
simone.mutti said:
Try with this fastboot command.
Code:
fastboot flash recovery /path/to/recovery
Click to expand...
Click to collapse
We have no fastboot mode, we have download mode
gee2012 said:
You can`t flash the extracted stock recovery with Odin but you can with Mobile Odin Pro from your phone. It also flashes .img files. Did it myself on the I9505.
Click to expand...
Click to collapse
I tried to flash recovery.img that i extracted from my stock firmware via mobile odin pro but got some problems. After boot logo, it goes back to the setup wizard like when you open your phone for the first time. I can't also proceed with the wizard since i'm getting an error like secsettings stopped responded.
How can i make flashable kernel zip file from twrp backup file or boot.img file???
You can flash the .img file by switching twrp to img flash mode.
Very simple way:
Take other custom kernel zip file, replace it with your boot.img and flash. That's it.
Sent from my GT-I9500
hi guys so i just extracted my kdz and i took the modem.bin and i want to make it flashable so that i can flash it on my phone can you help me please ?!! :crying:
TornadoMiMo said:
hi guys so i just extracted my kdz and i took the modem.bin and i want to make it flashable so that i can flash it on my phone can you help me please ?!! :crying:
Click to expand...
Click to collapse
but modem is in .img so to flash it to phone must be modem.img
i upload my modem flasahble zip.
1 extract zip
2. inside youll see META folder
place modem.img there not on META folder but like this
META-INF
modem.img
3 select both files and on zip do add to archive it will make a zip file .
boot to twrp and flash.
if your modem is in bin... find something to make modem.bin to .img would renaming file work?
make a nandroid before just to be safe.
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
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?