[02/May/2015][RECOVERY]unOFFICIAL TWRP|v2.8.6.1

Android development for HTC HD2/Leo
Moderator: Forum Moderator

[02/May/2015][RECOVERY]unOFFICIAL TWRP|v2.8.6.1

Postby kokotas » Sat Jul 13, 2013 7:34 pm

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:
---------------------
ImageImage

Notice:
---------------------
The attached recovery images were compiled (http://forum.xda-developers.com/showthr ... p=32965365) from TWRP's open source (https://github.com/TeamWin/Team-Win-Recovery-Project).
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 (http://www.teamw.in/OpenRecoveryScript)
* On-screen keyboard in recovery! -- supports long press, backspace repeat, and swipe left deletes everything left of the cursor
* ADB sideload functionality from AOSP (http://teamw.in/ADBSideload)
* Pseudo-terminal emulator
* Ability to backup large partitions (size>4GB) by splitting the backup archive.

Download:
---------------------

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.
Last edited by kokotas on Sat May 02, 2015 7:57 pm, edited 8 times in total.
User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Advertisement
 

Timeline

Postby kokotas » Sat Jul 13, 2013 7:35 pm

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 (http://teamw.in/project/twrp2/80):
---------------------
  • Initial TWRP versions
      http://forum.xda-developers.com/showpos ... ostcount=4
  • TWRP v2.4.0.0.r1 @ 2013.01.17
    1. Compiled version based on mainline code (v2.4.0.0Alpha).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix getting fs-type from a partition created with a label.
    4. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.4.4.0 @ 2013.04.03
    1. Compiled version based on mainline code (v2.4.4.0).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.5.0.0 @ 2013.04.10
    1. 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.
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.6.0.0 @ 2013.07.09
    1. Compiled version based on mainline code (v2.6.0.0).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.6.1.0 @ 2013.08.31
    1. Compiled version based on mainline code (v2.6.1.0).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.6.3.0 @ 2013.09.14
    1. Compiled version based on mainline code (v2.6.3.0).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
  • TWRP v2.8.6.0 @ 2015.04.30
    1. Compiled version based on mainline code (v2.8.6.0).
    2. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
    3. Fix the name of the backup sub-folder(htcleo instead of 0s).
    4. Fix some ui bugs in the default theme.
  • TWRP v2.8.6.1 @ 2015.05.02
    1. A quick fix over a bug in the default theme engine that was causing an error during each boot.
Last edited by kokotas on Sat May 02, 2015 7:59 pm, edited 7 times in total.
User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Installation

Postby kokotas » Sat Jul 13, 2013 7:35 pm

Installation:
---------------------
  1. 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.
  2. Make sure that the size of the 'recovery' partition is enough for the image to fit.
  3. 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
    1. Download zip file to your computer and copy to /sdcard.
    2. Reboot phone into recovery.
    3. Select to install the zip file from your /sdcard.
    4. Reboot Phone into recovery as normal.
  • [cLK/MAGLDR]
    Flashing the *.img file while booted in Android
    1. Download the recovery file to your computer.
      If it is a zip file, extract the *.img.
    2. (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".
    3. Execute the commands:
      Code: Select all
      adb push recovery-leo.img /sdcard/recovery-leo.img
      adb shell erase_image recovery
      adb shell flash_image recovery /sdcard/recovery-leo.img
    4. Reboot Phone into recovery as normal.
  • [cLK]
    Flashing the *.img file while in fastboot mode(cLK menu)
    1. Download the recovery file to your computer.
      If it is a zip file, extract the *.img.
    2. (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".
    3. Reboot phone into cLK menu (fastboot mode).
    4. Execute the commands:
      Code: Select all
      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!
    1. Download the recovery file to your computer.
      If it is a zip file, extract the *.img.
    2. Open the folder you have the recovery and place DAF.exe and flash.cfg (download link: http://forum.xda-developers.com/attachm ... 1358285488) in that same folder.
    3. 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:
      Code: Select all
      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 @ http://forum.xda-developers.com/attachm ... 1357505450.
    4. Connect the device to the computer via usb, enter MAGLDR and select USB Flasher option.
    5. Right click on DAF.exe and select Run as Administrator.
    6. Click [NEXT] when asked and wait to finish.
Last edited by kokotas on Sat Jul 13, 2013 8:15 pm, edited 1 time in total.
User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Oldies

Postby kokotas » Sat Jul 13, 2013 7:35 pm

Old Releases:
---------------------
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-2.0.0RC0.1.img
    md5: 6279a726b19a4ff2fccfe592e23b2e48
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-2.0.0RC0.img
    md5: e12fc48a863e4a2984d7fcf3b2cad50a
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.1-3.img
    md5: 6198e06b7ca85379e16acde4d9a19752
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.1-2.img
    md5: 52c51eee07c50a928341b22c3e2a60b6
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.1-1.img
    md5: 4801f88e0d2a62b5a1c3d168a4116d0d
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.1.img
    md5: 7fa63b205facf64bd69d805acf34ae8c
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.0-2.img
    md5: 8bd05c6b1e25bd8cf410e308bed23fe5
  • http://cyanogenmod.arif-ali.co.uk/misc/recovery-twrp-leo-1.1.0.img
    md5: 449b06b28f73e996a33e06c047b51b98
Last edited by kokotas on Sat May 02, 2015 8:00 pm, edited 6 times in total.
User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Tracking Issues

Postby kokotas » Sat Jul 13, 2013 8:17 pm

User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Re: Tracking Issues

Postby Odysseus » Sat Aug 31, 2013 8:12 pm



kokotas has released an updated version of his "unOFFICIAL TWRP | V2.6.1.0" on the xda page in the quoted post above. The new download link is there too.

Thanks for your continuing efforts kokotas!!!!
Current device: HTC Amaze 4G
Bootloader: HTC - Dev unlocked, S-on
Recovery: 4ext - smart flash enabled
ROM: CM-10 - Compiled and customized by me - thanks spostsstar89 - CM - Team Nightmare
Xposed framework - rovo89
GravityBox - C3C076

Previous device: HTC HD2 (TMOUS - LEO1024)
Final ROM: NexusHD2-JellyBean-CM10.1.3 v2.7 - Tytung
Had more lives than a cat, best handset I ever owned
Lesson: If it ain't broke, don't fix it!
RIP
User avatar
Odysseus
Recognized Contributor
 
Posts: 117
Joined: Sun Jul 07, 2013 10:44 pm
Location: Miami, FL
Country: United States (us)
Has thanked: 89 times
Been thanked: 132 times

Re: [31/Aug/2013][RECOVERY]unOFFICIAL TWRP|v2.6.1.0

Postby NYLimited » Tue Sep 10, 2013 7:34 pm

Odysseus wrote:
kokotas has released an updated version of his "unOFFICIAL TWRP | V2.6.1.0" on the xda page in the quoted post above. The new download link is there too.

Thanks for your continuing efforts kokotas!!!!


Does 2.6.1.0 include passphrase based encryption of the backups or did that begin with the upcoming 2.6.2.0 available for some devices? If it does this feature should be tested carefully since some issues have been reported with restoring the encrypted data. I don't know if the reported problems are device specific or not.


[ EDIT ]
The encryption was apparently introduced in 2.6.0.0 so I suspect it is part of this release...

Cheers!
Image


MY DEVICES: show
  • LG-H901 (V10) - Stock, rooted, TWRP
  • Google Nexus 4 - Stock 5.1.1, Franco kernel, TWRP - Retired
  • Google Nexus 7 - 2012 3G model, Stock 5.1.1, Franco kernel, TWRP - Retired
  • HTC HD2 - Retired
  • HTC P4350 (TMO Wing) - Retired


User avatar
NYLimited
Forum Moderator
 
Posts: 395
Joined: Mon Jun 24, 2013 5:01 pm
Location: 40.75659° N 73.98626° W
Country: United States (us)
Has thanked: 128 times
Been thanked: 255 times

Re: [31/Aug/2013][RECOVERY]unOFFICIAL TWRP|v2.6.1.0

Postby kokotas » Tue Sep 10, 2013 8:48 pm

NYLimited wrote:
[ EDIT ]
The encryption was apparently introduced in 2.6.0.0 so I suspect it is part of this release...

Yes, you're right my friend. That feature (option to encrypt data backup) is present since 2.6.0.0. When I compiled it for the first time I did test it and there was no problem afaik - it's just a heavy job for our cpu and it usually takes a lot of time(depending off-course on the size of the userdata).

Regards!
PS:You no longer have your hd2??
User avatar
kokotas
Recognized Developer
 
Posts: 16
Joined: Wed Jul 10, 2013 9:37 am
Country: Greece (gr)
Has thanked: 17 times
Been thanked: 65 times

Postby NYLimited » Tue Sep 10, 2013 9:01 pm

kokotas wrote:Yes, you're right my friend. That feature (option to encrypt data backup) is present since 2.6.0.0. When I compiled it for the first time I did test it and there was no problem afaik - it's just a heavy job for our cpu and it usually takes a lot of time(depending off-course on the size of the userdata).

Regards!
PS:You no longer have your hd2??


I cannot confirm or deny the issue. I saw it posted in a Samsung forum so it may be specific to that device.

I still _have_ the hd2 but can't do much with it since the digitiser refuses to work 90% of the time. After 2 HD2's I sadly figured it was time to move on and when Google made me an offer I could not refuse I gave them USD 250 for a 16 gb Nexus 4. I was kind of looking at the new LG G2 but my checkbook disagreed. :mad:

Anyway, I have 2.6.2.0 on the Nexus and will try to play with the encryption as time permits.

You have been quiet. I suppose work and family are keeping you busy? Be well!

Cheers!
Image


MY DEVICES: show
  • LG-H901 (V10) - Stock, rooted, TWRP
  • Google Nexus 4 - Stock 5.1.1, Franco kernel, TWRP - Retired
  • Google Nexus 7 - 2012 3G model, Stock 5.1.1, Franco kernel, TWRP - Retired
  • HTC HD2 - Retired
  • HTC P4350 (TMO Wing) - Retired


User avatar
NYLimited
Forum Moderator
 
Posts: 395
Joined: Mon Jun 24, 2013 5:01 pm
Location: 40.75659° N 73.98626° W
Country: United States (us)
Has thanked: 128 times
Been thanked: 255 times

Re:

Postby Odysseus » Tue Sep 10, 2013 11:35 pm

NYLimited wrote:
I cannot confirm or deny the issue. I saw it posted in a Samsung forum so it may be specific to that device.

I still _have_ the hd2 but can't do much with it since the digitiser refuses to work 90% of the time. After 2 HD2's I sadly figured it was time to move on and when Google made me an offer I could not refuse I gave them USD 250 for a 16 gb Nexus 4. I was kind of looking at the new LG G2 but my checkbook disagreed. :mad:

Anyway, I have 2.6.2.0 on the Nexus and will try to play with the encryption as time permits.

You have been quiet. I suppose work and family are keeping you busy? Be well!


Off Topic:
@NYLimited, I'm being drawn-in by the same offer. I'm a long-time T-Mobile customer (10 years, the last 8 with no contract) in order to keep me from jumping ship to Straight Talk or Simple Mobile their retention specialist offered me 10.5GB of unthrottled high-speed for what I've been paying for 2GB (that I've been exceeding every month). T-Mobile's LTE coverage in South Florida is supposed to be fantastic. The idea of getting a 16GB N-4, and flashing an LTE enhanced hybrid radio to take advantage of it, is very very tempting. My issue is the size of the N-4. It just feels so much bigger in my hand than the HD2, which in turn feels bigger than my friends' iPhones...... But man $250 for a such a leap in technology from my current HD2 is hard to pass up....that is, if I can get my old lady to go along. :-) lol

What's your impression so far? Have you tried the LTE radio mod? Is the increased size an issue? How does it fit in your pocket, especially jeans since this is what I wear to work ever day? What's your general impression as to its quality and build construction? TIA

Edit: PM me so we don't further clog the thread.

Back on topic
Current device: HTC Amaze 4G
Bootloader: HTC - Dev unlocked, S-on
Recovery: 4ext - smart flash enabled
ROM: CM-10 - Compiled and customized by me - thanks spostsstar89 - CM - Team Nightmare
Xposed framework - rovo89
GravityBox - C3C076

Previous device: HTC HD2 (TMOUS - LEO1024)
Final ROM: NexusHD2-JellyBean-CM10.1.3 v2.7 - Tytung
Had more lives than a cat, best handset I ever owned
Lesson: If it ain't broke, don't fix it!
RIP
User avatar
Odysseus
Recognized Contributor
 
Posts: 117
Joined: Sun Jul 07, 2013 10:44 pm
Location: Miami, FL
Country: United States (us)
Has thanked: 89 times
Been thanked: 132 times

Next

Return to HD2 Android Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron