Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export kit=/sdcard/plugapps
- export bin=/system/bin
- export mnt=/sdcard/plugapps
- export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
- export TERM=linux
- export HOME=/root
- export USER=root
- mknod /dev/loop1 b 7 0
- losetup /dev/loop1 /sdcard/plugapps.img
- mount -t ext2 /dev/loop1 /sdcard/plugapps/
- mount -t proc proc $mnt/proc
- mount -t sysfs sysfs $mnt/sys
- echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4"
- echo "nameserver 8.8.8.8" > /sdcard/plugapps/etc/resolv.conf
- echo "nameserver 8.8.4.4" >> /sdcard/plugapps/etc/resolv.conf
- chroot /sdcard/plugapps/ /bin/bash -l
- #After exit command is executed clear it all up
- echo " "
- echo "Shutting down..."
- umount $mnt/proc
- umount $mnt/sys
- umount $mnt
- losetup -d /dev/loop
Advertisement
Add Comment
Please, Sign In to add comment