Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP somboons

29th March 2014, 04:57 PM   |  #1  
somboons's Avatar
OP Senior Member
Flag Bangkok
Thanks Meter: 610
 
1,120 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Hi guys,

I do step by step from this thread
http://forum.xda-developers.com/show....php?t=1477845

for unpack boot.img

step command

sudo cp mkbootimg /bin/
sudo chmod 755 /bin/mkbootimg
perl split_bootimg.pl 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:	2302
Size:	110.7 KB
ID:	2657271  
18th August 2014, 01:24 PM   |  #2  
6ril1's Avatar
Senior Member
Thanks Meter: 192
 
260 posts
Join Date:Joined: Jan 2010
More
@somboons
lz4 compression instead of gzip
I just tried with this tool (Android.Image.Kitchen.v2.0-Win32.zip)
http://forum.xda-developers.com/show....php?t=2073775
Seems OK
The Following User Says Thank You to 6ril1 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes