Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,274 Members 39,468 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Error when unpack boot.img-ramdisk.gz

Tip us?
somboons's Avatar
Senior Member - OP
Thanks Meter 383
Posts: 919
Join Date: Apr 2011
Location: Bangkok

Default [Q] Error when unpack boot.img-ramdisk.gz

Hi guys,

I do step by step from this thread

for unpack boot.img

step command

sudo cp mkbootimg /bin/
sudo chmod 755 /bin/mkbootimg
perl boot.img
mkdir ramdisk
cd ramdisk
gzip -dc ../boot.img-ramdisk.gz | cpio -I

when I use the last command it's show error message
cpio: premature end of archive

what's wrong?
Attached Thumbnails
Click image for larger version

Name:	2014-03-29_215112.png
Views:	2178
Size:	110.7 KB
ID:	2657271  

Mobile :LG G2
Tablet : Nexus 7 2013 LTE
facebook :
Senior Member
Thanks Meter 31
Posts: 133
Join Date: Jan 2010
lz4 compression instead of gzip
I just tried with this tool (
Seems OK
The Following User Says Thank You to 6ril1 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes