[HTC Desire 526] BigCountry907:
Booting FisH to run TWRP

:cool::cowboy:How to BOOT FisH and run TWRP with a LOCKED Boot Loader:cool::cowboy:​

After you have made the sd-card and it boots properly into system you will also be able to use FisH.

Follow these steps to boot into TWRP.

This is a special modified build of TWRP.

Please give thanks to [MENTION=5545101]steadfasterX[/MENTION] for developing FisH.

https://xdaforums.com/android/software-hacking/locked-fish-hack-to-boot-want-device-t3578373

FOLLOW THESE STEPS EXACTLY - DO NOT DO ANYTHING DIFFERENT​

Step #1 : Power the device off completely and UNPLUG the USB if the phone was connected

Step #2 : Press power button to turn on like normal [SDCARD MUST BE IN THE DEVICE]

Step #3 : Get used to the boot sequence.

When the device is booting up from the sd card you should have noticed some minor differences.

There is a musical chime that you do not have unless the sd card is booting.

There is a phone vibration at almost the same time as the chime.

There is a phone vibration several seconds after the chime.

The RED VERIZON logo NEVER appears.

After you are familiar with how the device boots you are ready to boot FisH.

Step #4 : As soon as you hear the musical chime and the phone vibrates

Press and hold in the VOLUME UP key until the phone vibrates again.

Step #5 : DON'T RUSH THE FISH OR it WILL SWIM AWAY

You have to be very patient here.

WHEN FISH IS BOOTING THE SCREEN WILL GO OFF AND HITTING BUTTONS WONT DO ANYTHING.

(YOUR PHONE IS NOT BRICKED :confused:)

A lot of things are going on behind the scenes, the sd-card boots a little slower to begin with initially.

We are killing everything that is running on the phone and re-setting the processor to Hi-Jack the Boot.

The processes are restarted and the TWRP ramdisk is getting loaded from the SD Card into RAM.

I'm pretty sure this is all going on wile only running 1 thread of the processor. ( ALL THIS IS VERY SLOW )

Step #5 : After the screen goes black !!

DO NOT TOUCH a SINGLE BUTTON or PLUG THE PHONE IN for 5 Minutes​

DO NOT TOUCH a SINGLE BUTTON or PLUG THE PHONE IN for 5 Minutes​

DO NOT TOUCH a SINGLE BUTTON or PLUG THE PHONE IN for 5 Minutes​

Wait for 5 minutes. Longer is ok but do not touch anything for 5 minuets. This = 300 seconds.

If you get impatient don't worry, no damage will be done to the phone, :good: but there is a good chance that all of the processes may not initialize so some things could end up not working until you re-boot.

After the 5 minutes wait is over press the power button to turn on the screen. A quick short push.

You will be greeted by the TWRP Recovery.

If you want to use adb shell.

Once you are in TWRP go to Advanced and then Mounts.

Check the box next to system to mount the system partition.

Now adb shell and commands will work. You will have BusyBox commands available as well as all normal shell commands.

But what ???? Why is my shell not starting as root ???

When we boot into fish we are not booting in recovery mode. We are booting into Normal /System Boot Mode.

( THE DEVICE REALIZES THIS and starts shell as normal user. )

To get root access in TWRP.

Open the TWRP File Explorer.

In the root directory there is folder SuperSU.

Copy the file SU and paste it into /system/bin

Using the file explorer go to folder /system/bin

Change the permission of file SU to 777.

Now if you start adb shell.

Type

su

There is your root access. I will patch this in a future release.

Congratulations,

Your $35.00 chepo device can now do a hell of a lot more now than some of the High End Expensive ones.

TO RETURN TO NORMAL MODE JUST REBOOT LIKE NORMAL

OTHER THAN NOTED TWRP OPERATION IS AS USUAL

Do not FLASH a modified BOOT or RECOVERY if your Boot Loader is LOCKED

Unlock the BOOT Loader if you want to run TWRP through normal recovery or if you want to run a custom Boot.img

TWRP ONLY AFTER YOU HAVE UNLOCKED THE BOOT LOADER

Install TWRP by normal method.

Boot into download mode first then issue command.

fastboot flash recovery TWRP.img

http://www.mediafire.com/file/g3h14psl1m40wmi/TWRP.img <-- This one is patched so Touch Screen WORKS.