Make flashable zip from zImage - G2 Q&A, Help & Troubleshooting

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!

Related

Need help: extract boot.img

Hi,
I need help to unpack stock boot.img of kitkat rom.
Kitchen cannot do that because of LZ format..
I compiled the latest version of unpackbootimg but no way to make a "gunzip" of the ramdisk.
Thanks !
@GalaxyUser
lz4 compression
I just tried with this tool (Android.Image.Kitchen.v2.0-Win32.zip)
http://forum.xda-developers.com/show....php?t=2073775
Seems OK

[Request] [GT-S5360] Stock Ramdisk file needed

I was trying to compile kernel sources using tutorial from following link:
xgygroup.blogspot.in/2012/10/do-it-yourself-kernel-for-galaxy-young.html
But got stuck at the second last step as the ramdisk file which was needed has been removed from the cloud.
If somebody has boot.img-ramdisk.gz file, pleaze help....

[Important] How to create .zip from system.img rom

Guys I need help, I finished building cyanogenmod 13 for my project, but I can't use the command "make otapakage" becouse it will make an flashable zip with system folder compressed on a .dat file and the META-INF folder will not work if I unpack them
The question is: how can I create a flashable cm 13 with unpacked system folder? like this:
Zip:
META-INF
System
Boot.img
The faster someone helps me, the faster the project goes
Ext4 Unpacker and Ext2Explore here the tutorial http://forum.xda-developers.com/showthread.php?t=2285831
and here is the meta inf folder in this folder is all ready you must not change anything in there
https://drive.google.com/file/d/0B9Swc5FblVWARmd3YzdDcmZxajQ/view?usp=sharing

extraction of kernel form rom installation file

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...

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