How to extract kernel zimage from my device? - Xiaomi Redmi 8A Questions & Answers

How to extract kernel zimage from my device?

Related

[Q] how to extract baseband (amss) from stock rom?

i need to extract the amms inside the ROM (which is a tar.md5 file), I tried to extract it with 7zip, but creating a new .tar with the file and using it to flash the baseband, Odin gets stuck on "download AMSS".
i need the amss from a 5830L, i tried to flash the amss from 2.3.4 stock rom in the russian 2.3.6, but for some reason after that the phone starts to lag, so i think i need the amss from the same version.
anyone know how to extract the amss and create a valid file to flash with?
You need to use Linux/Ubuntu to change the permissions from rwxrwxrwx back to rw-r--r--
Herpderp Adreno + Tegra.
You can only extract the file in 7Zip and repack it to Tar. However, you cannot repack it to a Odin Flashable tar. The way to do it is using either Linux or if on a Windows Machine, then Install Cygwin and run the commands from there. The commands is as follows:
tar -H ustar -c filename1.ext filename2.ext filename3.ext filename4.ext > OdinFlash.tar
Include all files to be packed including their extentions by replacing filename#.ext with the relevant filenames to be packed. The resultant tar will be flashable in Odin.
thanks, work perfectly

[Q] stupid question about rom images

What's the difference between a zimage file and a .img file? Are they the same (one's an extension, the other's a standard name, so it's quite possible)
I've found a guide about installing a custom CWM so that Rom Manager recognizes it as a valid. However, it requires the release to be in .img format, and the only CWM I've found for YP-G70 (USA) is Entropy's Daily Driver, which comes in a zipped zimage file.
zimage is your kernel and should be in a zip file in order to flash via CWM

[Q] How to repack system.img file to flash using odin

i have extracted the system.img file in my windows computer and and tweaked it now i want to repack it and flash it using odin can anyone tell me how to repack the system.img files i have extracted

How to Create Boot.img and ramdisk.img from ZImage?

Hi all,I am new to android world.I am trying to create a own kernel image.I have downloaded Kernel source for gt-s6012 and built it. I got zImage by building kernel . How can i get boot.img and ramdisk.img from this zImage. I have searched throughout Google but couldn't find a proper answer. Any clues ?
Boot.img are image where both kernel (zimage) and ramdisk are stored. You should make one with bootimg tools, and you can get ramdisk from your phone (search xda). At the other hand you can use anykernel template and it's even easier. Hope it helps
Matthew_333 said:
Boot.img are image where both kernel (zimage) and ramdisk are stored. You should make one with bootimg tools, and you can get ramdisk from your phone (search xda). At the other hand you can use anykernel template and it's even easier. Hope it helps
Click to expand...
Click to collapse
Thanks for the suggestion..Can you provide any link or procedure to make the boot.img from zImage and ramdisk.

Idetifying Kernel in Boot.img

I'm new to android development
I was told I needed to swap out the kernel in the boot.img to a recovery.img
I used Android Image Kitchen to unpack both images.
I see 2 folders called ramdisk and split_img
Which one is the kernel?

Categories

Resources