Hovatek Forum DEVELOPMENT Android Required Help to find actual Compressing method of spreadtrum kernel zImage
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


Required Help to find actual Compressing method of spreadtrum kernel zImage

Required Help to find actual Compressing method of spreadtrum kernel zImage

shankar1790
shankar1790
shankar1790
Senior Member
474
15-05-2019, 05:48 AM
#1



I want to test the kernel patching method for recovery kernel to fix touch screen issue in TWRP recovery for spreadtrum phone.
kernel image is here
https://mega.nz/#!2kJhwI6T!wp6Xexl0Hx4T2...X9v5oRQ3NM
when i open kernel image with 7zip ifound this
7zip open with #:e
[Image: kwc1EX7.png]

7zip open with #
[Image: ck8XhOL.png]

this files are same as i extract from hex editor
i tried with cpio compressio with magic no is 070701 (windows ANSI value) not 07 07 01 (old)or 07 07 07(new) [hex value] confused?
For cpio compression.
its start adress is 070701 (ANSI)and its end adress is always end with blank TRAILER!!!

so i cut this values from my kernel zimage in hex editor and saved them but  found same files like in 7zip.
when i open this extracted cpio with 7zip its only shows 2 blank folders dev & root (which is initramfs)
how can i get its actual compression method for this kernel.
is it remaining values from this extraction is my uncompress kernel? which is not beacuse it does not load any smbol in IDA PRO 7.


Any one help to find its actual compression
This post was last modified: 15-05-2019, 10:41 AM by shankar1790.
freshtyt
freshtyt
freshtyt
Senior Member
2,949
15-05-2019, 09:14 AM
#2
(15-05-2019, 05:48 AM)shankar1790 I want to test the kernel patching method for recovery kernel to fix touch screen issue in TWRP recovery for spreadtrum phone.
...
Any one help to find its actual compression

something doesn't seem right
how did you get this kernel? can you post the full recovery.img?
shankar1790
shankar1790
shankar1790
Senior Member
474
15-05-2019, 10:12 AM
#3
(15-05-2019, 09:14 AM)freshtyt
(15-05-2019, 05:48 AM)shankar1790 I want to test the kernel patching method for recovery kernel to fix touch screen issue in TWRP recovery for spreadtrum phone.
...
Any one help to find its actual compression

something doesn't seem right
how did you get this kernel? can you post the full recovery.img?

I extracted it from AIK kitchen linux
https://mega.nz/#!y95CgIKQ!JqDE93x7a6dh9...s5vVKJz8qA
This recovery image of phone orange rise 53.
And same with my recovery zimage.
freshtyt
freshtyt
freshtyt
Senior Member
2,949
15-05-2019, 08:09 PM
#4
(15-05-2019, 10:12 AM)shankar1790 ...And same with my recovery zimage.

7zip shows
CPIO is compression type
New ASCII is sub type
shankar1790
shankar1790
shankar1790
Senior Member
474
16-05-2019, 01:47 AM
#5



(15-05-2019, 08:09 PM)freshtyt
(15-05-2019, 10:12 AM)shankar1790 ...And same with my recovery zimage.

7zip shows
CPIO is compression type
New ASCII is sub type
May be this could be helpful.

https://github.com/mohammad92/unpack-ker.../unpack.sh
https://forum.xda-developers.com/wiki/Ex...A_and_CPIO
This post was last modified: 16-05-2019, 01:51 AM by shankar1790.
shankar1790
shankar1790
shankar1790
Senior Member
474
16-05-2019, 06:54 AM
#6
I tried both scripts but failed to extract.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram