Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ./unpackimg.sh "$1"
- cd split_img
- gzip -d "$1-ramdisk.cpio.gz"
- cd ..
- rm -rf ramdisk/*
- cp -r recoveries/* ramdisk/
- cp "split_img/$1-ramdisk.cpio" ramdisk/sbin/ramdisk-stock.cpio
- ./repackimg.sh
- mv image-new.img UB-Philz6292.img
- ./cleanup.sh
Advertisement
Add Comment
Please, Sign In to add comment