vorbeth

Untitled

Apr 26th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. ./unpackimg.sh "$1"
  4.  
  5. cd split_img
  6. gzip -d "$1-ramdisk.cpio.gz"
  7.  
  8. cd ..
  9.  
  10. rm -rf ramdisk/*
  11.  
  12. cp -r recoveries/* ramdisk/
  13. cp "split_img/$1-ramdisk.cpio" ramdisk/sbin/ramdisk-stock.cpio
  14.  
  15. ./repackimg.sh
  16. mv image-new.img UB-Philz6292.img
  17. ./cleanup.sh
Advertisement
Add Comment
Please, Sign In to add comment