• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Without PC] Unpack, Edit, Repack boot.img

I'm getting this error code under gunzip .. can anyone help me
Called. Gunzip invalid error



mkbootimg --base 0 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x0f813290 --second_offset 0x00f00000 --tags_offset 0x04800000 --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=g2 user_debug=31 msm_rtb.filter=0x0' --kernel kernel --ramdisk ramdisk.cpio.gz -o boot.img
root@android:/data/local/tmp # mkdir ramdisk
mkdir failed for ramdisk, File exists
255|root@android:/data/local/tmp # cd ramdisk
../ramdisk.cpio.gz | cpio -i <
gunzip: invalid magic
root@android:/data/local/tmp/ramdisk #
 
I'm getting this error code under gunzip .. can anyone help me
Called. Gunzip invalid error



mkbootimg --base 0 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x0f813290 --second_offset 0x00f00000 --tags_offset 0x04800000 --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=g2 user_debug=31 msm_rtb.filter=0x0' --kernel kernel --ramdisk ramdisk.cpio.gz -o boot.img
root@android:/data/local/tmp # mkdir ramdisk
mkdir failed for ramdisk, File exists
255|root@android:/data/local/tmp # cd ramdisk
../ramdisk.cpio.gz | cpio -i <
gunzip: invalid magic
root@android:/data/local/tmp/ramdisk #
Your ramdisk isn't a gzip compression.

Use this tool instead. Place the bash binary to /system/xbin and place the rest in /data/local/.

See the README.md on how it is used.

It currently supports lzma, lz4, gzip, and xz.

https://github.com/ModdingMyMind/mkbootimg_tools/tree/master/ARM
 
no ROM's I've tried worked I love my LG G2 and want it working again and not stick in TWRP Computer wont connect USB no DRIVERS
 
Well, I have made à flashable zip and easier guide... With all of mkboot tolls :cool:

i will post on xda :p

But does anyone know the way to decompile dt.imgimg?:oops:
 
Back
Top Bottom