root@android:/ # cd /tmp
cd /tmp
root@android:/tmp # chmod 777 *
chmod 777 *
root@android:/tmp # ./updater_twrp.sh
./updater_twrp.sh
+ /tmp/busybox echo Starting TWRP injection
Starting TWRP injection
+ /tmp/busybox echo Dumping current boot.img
Dumping current boot.img
+ /tmp/dump_image boot /tmp/boot.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00080000 (Out of memory)
mtd: read error at 0x000c0000 (Out of memory)
mtd: read error at 0x00100000 (Out of memory)
mtd: read error at 0x00140000 (Out of memory)
mtd: read error at 0x00180000 (Out of memory)
mtd: read error at 0x001c0000 (Out of memory)
mtd: read error at 0x00200000 (Out of memory)
mtd: read error at 0x00240000 (Out of memory)
mtd: read error at 0x00280000 (Out of memory)
mtd: read error at 0x002c0000 (Out of memory)
mtd: read error at 0x00300000 (Out of memory)
mtd: read error at 0x00340000 (Out of memory)
mtd: read error at 0x00380000 (Out of memory)
mtd: read error at 0x003c0000 (Out of memory)
mtd: read error at 0x00400000 (Out of memory)
mtd: read error at 0x00440000 (Out of memory)
mtd: read error at 0x00480000 (Out of memory)
mtd: read error at 0x004c0000 (Out of memory)
mtd: read error at 0x00500000 (Out of memory)
mtd: read error at 0x00540000 (Out of memory)
mtd: read error at 0x00580000 (Out of memory)
mtd: read error at 0x005c0000 (Out of memory)
mtd: read error at 0x00600000 (Out of memory)
mtd: read error at 0x00640000 (Out of memory)
mtd: read error at 0x00680000 (Out of memory)
mtd: read error at 0x006c0000 (Out of memory)
mtd: read error at 0x00700000 (Out of memory)
mtd: read error at 0x00740000 (Out of memory)
+ [ ! 0 -eq 0 ]
+ /tmp/busybox echo Making a backup of boot.img
Making a backup of boot.img
+ /tmp/busybox cp /tmp/boot.img /sdcard/boot.backup.img
+ [ ! 0 -eq 0 ]
+ /tmp/busybox echo Injecting TWRP into the temporary boot.img
Injecting TWRP into the temporary boot.img
+ /tmp/injecttwrp /tmp/boot.img /tmp/ramdisk-recovery.img /tmp/boot-twrp.img
-- InjectTWRP Recovery Ramdisk Injection Tool for Samsung devices. --
-- by Dees_Troy and Team Win --
--
http://teamw.in --
-- Bringing some win to Samsung! --
-- This tool comes with no warranties whatsoever! --
-- Use at your own risk and always keep a backup! --
Version 0.1 beta
No ramdisk found in '/tmp/boot.img'
Failed
This boot image may not be using gzip compression.
+ [ ! 1 -eq 0 ]
+ /tmp/busybox echo Error while injecting TWRP into the temporary boot.img
Error while injecting TWRP into the temporary boot.img
+ exit 3
3|root@android:/tmp #