Originally Posted by 'Murica
So I type 'SU' and hit enter. Than I copy and paste ' dd if=/sdcard/openrecovery-twrp-hercules-2.1.8.img of=/dev/block/mmcblk0p22' replacing 'openrecovery-twrp-hercules-2.1.8.img' with the name of my recovery and then replacing ' mmcblk0p22' with 'Hercules' and hitting enter?
Sent from my SGH-M919 using xda premium
No not quite, if you're using the phone that's appropriate for the forum you just copy and paste
dd if=/sdcard/openrecovery-twrp-hercules-2.1.8.img of=/dev/block/mmcblk0p22
And openrecovery-twrp-hercules-2.1.8.IMG with whatever your name of the IMG file is, so if it's openrecovery-twrp-hercules-184.108.40.206.img then that would replace it. The block mmcblk0p22 does not get changed or else your device will brick!
So to clarify:
is the path to where the img file for TWRP is. If you're downloading 220.127.116.11, and move the img file to the root of your SDcard, then it might be something like
is where the img is going to be written to. From what I see, the last bit
varies on the device and where the recovery installs. It's a different location for the Galaxy S4 compared to the T989 (also known as hercules).
Say if you were to rename the download to something easy to type out, like just recovery.img and placed in the root of the sdcard, then it would look like
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p22
Then you should be able to boot into recovery and it should be updated!
If something goes wrong, your device will brick, so make sure you download the right file. I flashed the .tar by accident on a friends phone, but Odin can easily fix it by flashing it with that.
Sorry for the short responses, I was on my phone when I was replying!