extraction of kernel form rom installation file - Galaxy S 5 Q&A, Help & Troubleshooting

Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help

tomaasz said:
Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help
Click to expand...
Click to collapse
Hi,
Sorry for the delayed reply.
Can you be little more specific? Do you want to 1) extract the kernel (that is an "zImage") image or 2) simply the "boot.img"?
The second task is simple as you can simply copy the "boot.img" from the ROM zip. You can flash "boot.img" directly via twrp (no need to make flashable zip).
The first task, however, is bit complicated as it requires the use of some tools like mkbootimg or Android Image Kitchen to split the "boot.img". You can flash the obtained "zImage" by simply copying that into an existing anykernel based klte custom kernel. :laugh:
Feel free to contact me for any further clarification/help.

Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot

tomaasz said:
Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot
Click to expand...
Click to collapse
Hi, if you have a Linux, you can easily extract the zImage from the "boot.img" using mkbootimg (see previous comment for links). If you want me to do that job, feel free to send the "boot.img" of that mentioned ROM (I'll make a flashable anykernel zip file for you so that you can flash over any ROM).
Regarding the DualBoot, I really do not know...

Related

Q: how do I make a cwm kernel zip.

I have a folder with kernel files that I want to make into a cwm flash zip. How do I do it? Or if someone is really kind could make on for me with the link attached.
http://forum.xda-developers.com/showpost.php?p=10976986&postcount=1770

[q] extract a rom

Hello
can any one tell me how i can extract a rom so i can gate some apk that my original rom use to have.
thank you
unzip with winrar
system>app> apk files here
Questions to general section please. Written in forum rules.
Sent from my u8800 using XDA App
Thank you oguzhan mobile
How to extract the update.app (stock rom file)?
andreasha said:
How to extract the update.app (stock rom file)?
Click to expand...
Click to collapse
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
dzo said:
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
Click to expand...
Click to collapse
Thanks mate, really nice instructions!

Make flashable zip from zImage

Hello i have compiled stock kernel from lg sources and created the zImage file in arch/arm/boot folder using 4.6 google toolchain.I want to know how to make it flashable as zip file.I have tried anykernel tool without success :/ Any help appreciated!

[Q] savie#2 kernel

Is there anyone having savie#2 flashable zip ?
I want to install but i dont know how
If this was against xda rules, then please send it to my email :laugh:
Thanks anyone
savie coudnt upload the kernel sources and so all links to his kernels were removed from xda due to gpl compliance
All I will say is google is your friend
this i how you install it though
How to install:
- Extract [email protected]#2.tar.gz file
- Put and rename file so like this /sdcard/boot.img
- Now flash a kernel boot flasher zip in cwm with system mounted (search and you will find it)
marcussmith2626 said:
savie coudnt upload the kernel sources and so all links to his kernels were removed from xda due to gpl compliance
All I will say is google is your friend
this i how you install it though
How to install:
- Extract [email protected]#2.tar.gz file
- Put and rename file so like this /sdcard/boot.img
- Now flash a kernel boot flasher zip in cwm with system mounted (search and you will find it)
Click to expand...
Click to collapse
So i must extact the file first -_-
Can i use kernel flasher by faqbly sir ?
Mranggapo said:
So i must extact the file first -_-
Can i use kernel flasher by faqbly sir ?
Click to expand...
Click to collapse
yes extract file to get boot.img
if its for galaxy y 5360 and flashes the file boot.img you have placed in the root of the sd card then yes

How can i unpack boot.img?

I want to custom kernel without magisk.
So i tried to unpack boot.img in order to modify kernel in boot.img.
But, i couldn't unpack boot.img with any other unpack tool like Android image kitchen.
Common problem is about ramdisk.
i guess common unpack tools can't unpack pie 9.0 boot.img.
so i used different ways flashing other rom's boot.img because of using recent custom kernel. However, it is just temporary action.
do you know any other ways to unpack boot.img?
Letmeseeforest said:
I want to custom kernel without magisk.
So i tried to unpack boot.img in order to modify kernel in boot.img.
But, i couldn't unpack boot.img with any other unpack tool like Android image kitchen.
Common problem is about ramdisk.
i guess common unpack tools can't unpack pie 9.0 boot.img.
so i used different ways flashing other rom's boot.img because of using recent custom kernel. However, it is just temporary action.
do you know any other ways to unpack boot.img?
Click to expand...
Click to collapse
You can unpack any boot image if you have the right tools. If the problem is with unpacking the ramdisk, that would be because you are trying to use the wrong tool to decompress it. Open the ramdisk image with an hex editor, and post the values of the first 4 bytes. And then tell us which tool you are trying to use to decompress it.
Why ramdisk is empty?
Bro I have redmi note 7 pro
when I unpack boot.IMG , ramdisk folder is always empty
Why ?
is there something that I missing?

Categories

Resources