offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.51k stars 891 forks source link

Help #982

Closed stainslav closed 5 years ago

stainslav commented 7 years ago

Device:

Intex aqua power plus

OS version (KitKat/Lollipop/Marshmallow/Nougat):

Lollipop

Built from repo (date and build command) or downloaded from website (links):

Output of cat /proc/version in adb shell or NetHunter Terminal:

Issue:

Hey, binkybear , I have a problem I wanna extract zImage but there is no working method can you tell me how to extract it according to you or the method you know please because my device doesn't have any the sources help please send me method:(

jcadduono commented 7 years ago

no idea what extracting zImage will accomplish unless you're trying to build TWRP you won't get much of anywhere with NetHunter on a device without a proper kernel source release

if you're rooted you can dd your boot partition to a file then use bootimg to extract it (used by nethunter installer) bootimg.exe available here for windows: https://build.nethunter.com/possibly-the-coolest-things/bootimg/ for linux compile from https://github.com/jcadduono/android_external_libbootimg there are binaries you can use directly on your device as well, located in kali-nethunter tools folder in this repository

./bootimg x /dev/block/mmcblkX --kernel on your device will extract the kernel right from the boot partition to the current folder as mmcblkX/mmcblkX-kernel