[HD2 Android NAND Development] kokotas:
Introduction:

---------------------

Team Win Recovery Project 2.X, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. It’s a fully touch driven user interface – no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Phone look:

---------------------

Notice:

---------------------

The attached recovery images were compiled from TWRP's open source.

They were only tested on a European version of the HTC-HD2 powered by cLK bootloader.

The performance on devices powered by MAGLDR bootloader should be considered untested.

Disclaimer:

---------------------

As usual, use at your own risk. TeamWin, arif-ali or kokotas is not responsible for anything bad that may occur from using twrp2.

Nobody appointed me to compile TWRP for HD2. I'm not TeamWin's member. It just happened...

If anyone else is willing to do it and probably do it better I will be glad to step aside,​

Key Features:

---------------------

* Ability to save custom recovery settings

* Touchscreen driven with real buttons and drag-to-scroll

* XML-based GUI that allows full customization of the layout – true theming!

* Settings are saved to the sdcard and persist through reboots

* Ability to choose which partitions to back up and which to restore

* Ability to choose to compress backups – now with pigz (multi-core processor support for faster compression times)

* Basic file manager (copy, move, delete, and chmod any file)

* OpenRecoveryScript scripting engine

* On-screen keyboard in recovery! -- supports long press, backspace repeat, and swipe left deletes everything left of the cursor

* ADB sideload functionality from AOSP

* Pseudo-terminal emulator

* Ability to backup large partitions (size>4GB) by splitting the backup archive.

Mainline TWRP Change-Log:

---------------------

Follow up the changes in mainline project at TeamWin's page : http://www.teamw.in/project/twrp2.

HD2's TWRP Change-Log:

---------------------

Initial TWRP versions

List of changes

TWRP v2.4.0.0.r1 @ 2013.01.17

Compiled version based on mainline code (v2.4.0.0Alpha).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix getting fs-type from a partition created with a label.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.4.4.0 @ 2013.04.03

Compiled version based on mainline code (v2.4.4.0).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.5.0.0 @ 2013.04.10

Compiled version based on mainline code (v2.5.0.0).

NOTE:

Compiled unmodified source code refused to boot! So I had to change a little bit more this time,

just to get it to boot up

.

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.6.0.0 @ 2013.07.09

Compiled version based on mainline code (v2.6.0.0).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.6.1.0 @ 2013.08.31

Compiled version based on mainline code (v2.6.1.0).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.6.3.0 @ 2013.09.14

Compiled version based on mainline code (v2.6.3.0).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

TWRP v2.8.6.0 @ 2015.04.30

Compiled version based on mainline code (v2.8.6.0).

Fix boot partition's filesystem for MAGLDR's backup&restore to work.

Fix the name of the backup sub-folder(htcleo instead of 0s).

Fix some ui bugs in the default theme.

TWRP v2.8.6.1 @ 2015.05.02

It is version 2.8.6 with a quick fix over a bug in the default theme engine that was causing an error during each boot.

Installation:

---------------------

Make sure you have adb and fastboot working. Please don't ask here questions about this - a simple web search will be enough to help you.

Make sure that the size of the 'recovery' partition is enough for the image to fit.

Make sure the name of the recovery *.img file is the one you use in the commands or in flash.cfg

[cLK/MAGLDR]

Flashing the zip file from Recovery

Download zip file to your computer and copy to /sdcard.

Reboot phone into recovery.

Select to install the zip file from your /sdcard.

Reboot Phone into recovery as normal.

[cLK/MAGLDR]

Flashing the *.img file while booted in Android

Download the recovery file to your computer.

If it is a zip file, extract the *.img.

(Win) Open the folder you have the recovery, do a [Shift+RightClick] and select "Open command window here".

(Lnx) Open the folder you have the recovery, RigthClick and select "Open in Terminal".

Execute the commands:

adb push recovery-leo.img /sdcard/recovery-leo.img
adb shell erase_image recovery
adb shell flash_image recovery /sdcard/recovery-leo.img

Reboot Phone into recovery as normal.

[cLK]

Flashing the *.img file while in fastboot mode(cLK menu)

Download the recovery file to your computer.

If it is a zip file, extract the *.img.

(Win) Open the folder you have the recovery, do a [Shift+RightClick] and select "Open command window here".

(Lnx) Open the folder you have the recovery, RigthClick and select "Open in Terminal".

Reboot phone into cLK menu (fastboot mode).

Execute the commands:

fastboot erase recovery
fastboot flash recovery recovery-leo.img
fastboot oem boot-recovery

[MAGLDR]

Flashing the *.img file while in USB Flasher mode(using DAF.exe)

WARNING!!! This will erase your current Rom on NAND too!

Download the recovery file to your computer.

If it is a zip file, extract the *.img.

Open the folder you have the recovery and place DAF.exe and flash.cfg in that same folder.

Edit flash.cfg according to required recovery partition size:

Make sure the .img file has the name that flash.cfg specifies!!

i.e. If the *.img file is named recovery-leo.img and min-required-size = 6MB then the flash.cfg could be:

misc ya 1M
[U]recovery rrecov|ro|nospr 6M recovery-leo.img[/U]
boot yboot|ro 5M
system ya 150M
cache ya 2M
userdata ya|asize|hr allsize

Check out the info about flash.cfg.

Connect the device to the computer via usb, enter MAGLDR and select USB Flasher option.

Right click on DAF.exe and select Run as Administrator.

Click [NEXT] when asked and wait to finish.

Download:

---------------------

HD2_TWRP_2.8.6.1.zip

md5: 93972887cfd3e017d16a09a74900496d

Info: You need to have a recovery partition at least 9 MB to fit the img

HD2_SD_TWRP_2.8.6.1.zip

Info: Extract to the root of your SD Card

Old Releases:

---------------------

HD2_TWRP_2.8.6.0.zip

md5: 882aaa25d9ff17613c64efe53c127d3a

HD2_SD_TWRP_2.8.6.0.zip

HD2_TWRP_2.6.3.0.zip

md5: 53c9522dbaa5ab465874258c01758143

HD2_SD_TWRP_2.6.3.0.zip

HD2_TWRP_2.6.1.0.zip

md5: d66519b22d219865d741389013ea034f

HD2_SD_TWRP_2.6.1.0.zip

HD2_TWRP_2.6.0.0.zip

md5: 185e6b34699e4cdb176780695e9e06aa

HD2_SD_TWRP_2.6.0.0.zip

HD2_TWRP_2.5.0.0.zip

md5: 9604cb28b3e91047abdc3a63d5b827df

HD2_SD_TWRP_2.5.0.0.zip

HD2_TWRP_2.4.4.0.zip

md5: b24bdf020b8ea3222c92df0644c88203

HD2_SD_TWRP_2.4.4.0.zip

HD2_TWRP_2.4.0.0_r1.zip

md5: 8bd2b557442c5af73d38f9e7a054b67a

HD2_SD_TWRP_2.4.0.0.r1.zip

HD2_TWRP_2.3.2.3.img

md5: ad8d1909d54c440f9b79eacad31910b9

recovery-twrp-leo-2.0.0RC0.1.img

md5: 6279a726b19a4ff2fccfe592e23b2e48

recovery-twrp-leo-2.0.0RC0.img

md5: e12fc48a863e4a2984d7fcf3b2cad50a

recovery-twrp-leo-1.1.1-3.img

md5: 6198e06b7ca85379e16acde4d9a19752

recovery-twrp-leo-1.1.1-2.img

md5: 52c51eee07c50a928341b22c3e2a60b6

recovery-twrp-leo-1.1.1-1.img

md5: 4801f88e0d2a62b5a1c3d168a4116d0d

recovery-twrp-leo-1.1.1.img

md5: 7fa63b205facf64bd69d805acf34ae8c

recovery-twrp-leo-1.1.0-2.img

md5: 8bd05c6b1e25bd8cf410e308bed23fe5

recovery-twrp-leo-1.1.0.img

md5: 449b06b28f73e996a33e06c047b51b98

Special Thanks to:

---------------------

* Core twrp 2 development team: agrabren, Dees_Troy, ViViDboarder, and AssassinsLament

* Toastcfh – for his underappreciated dedication to the community

* s0up and kevank for their hard work on the web side of things.

* The rest of Team Win: shift, onicrom, netarchy, kevank, myndwire, bigbiff, dkelle4, shinzul, spiicytuna, and eyeballer

* Amon_RA - for his great Recovery

* Koush - for his dedication to the community and ClockworkMod

* For all the help with devices and testing Akmzero, arif-ali, Evil_DevNull, gus6464, Jesusice, Pyrostic, [R], and Rootzwiki

* As always thank you to the Team's supporters and the Android Community.