Hi all
I compiled new kernel from source - Lollipop kernel- for the chm-u01 and want to replace my zImage to the stock boot.img to test it, but i can't do it.
When i extract stock boot.img i get all this files
Here is the log for extraction
Till here everything ok
All files are very tiny except boot.img-kernel cause is where kernel resides
If i try to open it with 7-zip inside it i have 2 files
Name-----------Size------------Compressed size-------Characteristics
.reloc-------------0-----------------------0-----------------InitializedData DiscardableRead 0x100000
.text----------2034632---------------2034632------------Code Execute Read Write 0x500000
Tried to replace my compiled zImage name to boot.img-kernel but when all repacked to a boot.img and flashed it trough Fastboot on power phone stuck on logo
If anyone is interested to help here are the
stock boot.img
My compiled zImage
Used tool for spliting boot.img was CarlivImageKitchen-Windows_v1.0 both on windows and Ubuntu
I compiled new kernel from source - Lollipop kernel- for the chm-u01 and want to replace my zImage to the stock boot.img to test it, but i can't do it.
When i extract stock boot.img i get all this files
Quote:
ramdisk boot.img-base boot.img-cmdline boot.img-kernel boot.img-kernel_offset boot.img-pagesize boot.img-ramdisk_offset boot.img-ramdisk-compress boot.img-tags_offset |
Code:
Magic = ANDROID!
magic_offset = 0x00000000
page_size = 2048 (00000800)
board = ''
base = 0x07478000
kernel_addr = 0x07480000
kernel offset = 0x00008000
kernel_size = 20346584 (013676d8)
ramdisk_addr = 0x0f000000
ramdisk offset = 0x07b88000
ramdisk_size = 3698022 (00386d66)
second_addr = 0x08300000
second offset = 0x00e88000
second_size = 0 (00000000)
tags_addr = 0x09e00000
tags offset = 0x02988000
cmdline = 'hisi_dma_print=0 vmalloc=384M maxcpus=8 coherent_pool=512K no_irq_affinity androidboot.selinux=enforcing ate_enable=true'
dt_size = 0 (00000000)All files are very tiny except boot.img-kernel cause is where kernel resides
If i try to open it with 7-zip inside it i have 2 files
Name-----------Size------------Compressed size-------Characteristics
.reloc-------------0-----------------------0-----------------InitializedData DiscardableRead 0x100000
.text----------2034632---------------2034632------------Code Execute Read Write 0x500000
Tried to replace my compiled zImage name to boot.img-kernel but when all repacked to a boot.img and flashed it trough Fastboot on power phone stuck on logo
If anyone is interested to help here are the
stock boot.img
My compiled zImage
Used tool for spliting boot.img was CarlivImageKitchen-Windows_v1.0 both on windows and Ubuntu
No comments:
Post a Comment