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

Search This thread

Dark_Avenger

Senior Member
Apr 17, 2010
397
313
Sofia
I will create a new repo at github, where I will be pushing code changes mostly.
When I have something worth of flashing, I will upload there the compiled img too.
I will add the link in my signature when all this is done.

Regards!
Thank you very much. I'm looking forward to your extended version and cLK. Keep it your great work.
 
  • Like
Reactions: kokotas

MarkAtHome

Senior Member
Feb 6, 2008
1,389
332
New Jersey
Re: [2013.01.17][RECOVERY] Team Win Recovery Project (TWRP2)

First post is updated.
The extended versions have been removed from this thread and will not be continued(here).
However, you will find a compiled version of TWRP based on latest mainline source (now v2.4.0.0Alpha).
I only added a couple of patches for some known bugs:
  1. Fix boot partition's filesystem for MAGLDR's backup&restore to work.
  2. Fix getting fs-type from a partition created with a label.
  3. Fix the name of the backup sub-folder(htcleo instead of 0s).
If you find any other bugs, report them with a log file.
Thanks, kokotas. Unfortunately, your latest 2.4.x has the same issues as those mentioned re TWRP-Extended.

____________________
Sent from my HD2 JB-CM10 with XDA Premium
 

sunitknandi

Senior Member
Oct 22, 2010
203
31
Guwahati
nandifamily.in
Re: [2013.01.17][RECOVERY] Team Win Recovery Project (TWRP2)

Kokotas, sorry if I am late. I just want to let you know that rev7 is the last extended recovery that works for me.
Anything beyond that would never fix permissions whether sd-ext is mounted or not.
Wanted to try rev11 and give you a log but the attachment is missing. :|
(As you wanted to discontinue it from this thread. :eek: )

Sent with love from me to you via HTC HD2 with Tapatalk 2
 

NYLimited

Inactive Recognized Contributor
Jan 5, 2008
3,815
2,285
40.75659° N 73.98626° W
Re: [2013.01.17][RECOVERY] Team Win Recovery Project (TWRP2)

First post is updated.
The extended versions have been removed from this thread and will not be continued(here).
However, you will find a compiled version of TWRP based on latest mainline source (now v2.4.0.0Alpha).
I only added a couple of patches for some known bugs:

If you find any other bugs, report them with a log file.

V2.4 r1 loads just fine. All buttons & functions are accounted for and seem to working.

I didn't have enough time to do a full backup and restore but a partial (very small) backup went fine.

Log file can be copied and reboot/exit work.

I don't know about creating multiple files of a large partition yet nor about a full restore.

I can upload the log if needed. Will do a full test soon.



---
Don't walk behind me; I may not lead. Don't walk in front of me; I may not follow. Just walk beside me and be my friend. (via Tapatalk)

---------- Post added at 10:12 PM ---------- Previous post was at 10:10 PM ----------

Thanks, kokotas. Unfortunately, your latest 2.4.x has the same issues as those mentioned re TWRP-Extended.

Are quite sure you tried 2.4??


---
Don't walk behind me; I may not lead. Don't walk in front of me; I may not follow. Just walk beside me and be my friend. (via Tapatalk)
 

MarkAtHome

Senior Member
Feb 6, 2008
1,389
332
New Jersey
V2.4 r1 loads just fine. All buttons & functions are accounted for and seem to working.

I didn't have enough time to do a full backup and restore but a partial (very small) backup went fine.

Log file can be copied and reboot/exit work.

I don't know about creating multiple files of a large partition yet nor about a full restore.

I can upload the log if needed. Will do a full test soon.



---
Don't walk behind me; I may not lead. Don't walk in front of me; I may not follow. Just walk beside me and be my friend. (via Tapatalk)

---------- Post added at 10:12 PM ---------- Previous post was at 10:10 PM ----------



Are quite sure you tried 2.4??
Yup. I just looked around (no attempt at backing up or restoring). I attempted minor things like exiting, processes say finished/complete, yet progress graphic remains animated, requiring battery pull to proceed. No buttons are there for me to push at Reboot screen, as before.

We could have the best of both worlds if we could get kokotas and dees_troy (TWRP is his, after all... ) talking. ;)
 

NYLimited

Inactive Recognized Contributor
Jan 5, 2008
3,815
2,285
40.75659° N 73.98626° W
TWRP v2.4.0.0 r1

Okay, here we go. Please remember this is running MAGLDR.


The bottom line: IT WORKS WELL!


I did a complete backup of my device. I didn't note total time but I have the logs if anyone is interested.

The complete backup requires 1.06 GB (1139172256 bytes) on the card since I had compression enabled.
In contrast, CWM v6.0.2.7 requires 1.69 GB on the card - if it has a compression toggle I missed it.

TWRP did not create multiple files since due to the compression no file exceeded 1 GB.
CWM v6 did create multiple files of my sd-ext partition as it was not using compression.

TWRP's backup directory name showed my local time (my personal preference) while CWM v6 recorded UTC.

Next, I performed a factory wipe and started a full restore. Completed without issues.

Rebooted the device, Android loaded and immediately began to fetch mail. Eureka!

My system was back 100%.

The only anomaly was that e2fsck had to recover the journal on boot after the restore even though I shut down cleanly before the backup. I cannot explain this currently.


Overall this version is largely comparable with CWM v6. Neither can handle permissions on a DataOnExt system but both can create and restore a Nandroid backup. Both are compatible with cLK as well as MagLDR. Both can handle archives larger than 4 GB (actually, the splitting is just under 1 GB) TWRP offers compression and touch to save my buttons.

Both can efficiently safeguard the HD2.



---
Don't walk behind me; I may not lead. Don't walk in front of me; I may not follow. Just walk beside me and be my friend. (via Tapatalk)
 
Last edited:

NYLimited

Inactive Recognized Contributor
Jan 5, 2008
3,815
2,285
40.75659° N 73.98626° W
Yup. I just looked around (no attempt at backing up or restoring). I attempted minor things like exiting, processes say finished/complete, yet progress graphic remains animated, requiring battery pull to proceed. No buttons are there for me to push at Reboot screen, as before.

Try deleting the entire TWRP directory structure, including the settings file from ES Explorer before starting TWRP. As you saw in my long post v24.0.0.0 r1 works just fine on my HD2.

 
  • Like
Reactions: kokotas

g.andy

Senior Member
Dec 21, 2010
910
204
Catania
R: [2013.01.17][RECOVERY] Team Win Recovery Project (TWRP2)

@kokotas

your advice. Which version of this TWRP is better for your clk 1.5.1.6. precise that I have a ROM in a nand and a sboot.
Inviato dal mio multiboot HD2
 

MarkAtHome

Senior Member
Feb 6, 2008
1,389
332
New Jersey
Try deleting the entire TWRP directory structure, including the settings file from ES Explorer before starting TWRP. As you saw in my long post v24.0.0.0 r1 works just fine on my HD2.
I'll give it a shot sometime tomorrow (past my bedtime).

For backups, are you simply launching backup (both CWR & TWRP), or are you first doing any configuring?
 

NYLimited

Inactive Recognized Contributor
Jan 5, 2008
3,815
2,285
40.75659° N 73.98626° W
I'll give it a shot sometime tomorrow (past my bedtime).

For backups, are you simply launching backup (both CWR & TWRP), or are you first doing any configuring?

Don't recall what if anything I did for CWR v6 when I tested.

For TWRP 2.4 I ran setup (though not vital). I set the time zone and I think the default to compress backups.

Once at the backup tab I may have deselected /data (not /sd-ext which is my actual data). Do not recall anything else off-hand but it is kinda late.

 

MarkAtHome

Senior Member
Feb 6, 2008
1,389
332
New Jersey
Don't recall what if anything I did for CWR v6 when I tested.

For TWRP 2.4 I ran setup (though not vital). I set the time zone and I think the default to compress backups.

Once at the backup tab I may have deselected /data (not /sd-ext which is my actual data). Do not recall anything else off-hand but it is kinda late.
Backing up now, and will find out later... :)
 

MarkAtHome

Senior Member
Feb 6, 2008
1,389
332
New Jersey
Re: [2013.01.17][RECOVERY] Team Win Recovery Project (TWRP2)

So, after deleting the TWRP folder, I flashed 2.4.x, everything looked like it should, and it successfully completed a backup. Nice work!

____________________
Sent from my HD2 JB-CM10 with XDA Premium
 
  • Like
Reactions: Burag and NYLimited

Nixda99

Senior Member
Dec 1, 2010
326
194
Don't understand why you remove the extended version here?:confused: Tried the 2.4x, no DataOnExt, no NativeSD manager ...
What is the advantage of 2.4x without all HD2 features?

Using 2.3x rev7 on Magldr without problems and I love this recovery, rev 8 and 9 didn't work for me (missing buttons).
Installed v7 on NAND, no more SD testing needed.

The integrated file manager can copy and move files, Aroma file manager didn't do that job under CWM and TWRP, don't know why?
I miss only the size of files in the file manager, the only reason for me to start sometimes Aroma file manager.

Thank you kokotas for your hard work and your answer.:good:
 
  • Like
Reactions: anderin

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    [22 Dec 2011][RECOVERY] Team Win Recovery Project (twrp) v2.0.0RC0.1

    Original OP
    64
    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:
    ---------------------
    RAsb.jpg
    AO13.jpg


    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

      1. List of changes
    • 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. 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
      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:
        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:
        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 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:
        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.
      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.

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

    Old Releases:
    ---------------------



    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.
    25
    Hi guys,

    First post updated with a new compiled version (2.6). Check TeamWin's page for the official (long) change-log.
    Many thanks to the team for their efforts - a lot of work was done for this update!
    As for (our) hd2's case, there was no problem booting up this time and everything seems ready to be tested;). So... have fun with this update;)

    Regards!
    23
    Hello guys,

    Attached below is a new compiled version of TWRP - Extended:
    1. Ported commits from mainline 2.3.3.0.
    2. Changed how the DataOnExt will be handled.
      Under "Settings" you'll find a checkbox with which you can "tell" recovery that you're using DataOnExt or not.
      In case you're using a modified DataOnExt method you can set the actual path of your /data (i.e. /sd-ext/%RomName%/data) by hitting DataOnExt button.
    3. Probably fixed the .android-secure bug.
    4. Reverted the backup path(BACKUPS/htcleo/).
      So you have to create an intermediate folder named "htcleo" under BACKUPS and move your backups inside.
    5. Reverted the max size for splitting archive to 1.5GB.
    6. 1st attempt for saving the contents of your ext partition when you change the fs type (will need enough free space on your sdcard for this to work).
    7. Added option to set the number of mounts that will trigger a filesystem check under "Settings".
    8. Added option to wipe Data, Boot and (cLK)sBoot under "wipe" Menu.
    9. Added necessary code for selecting fs type (vfat / ntfs) for /sdcard but since I can't make it function properly I've disabled it in the UI. (Also in case it will work using the ntfsprogs binaries, the size of the recovery will increase to ~ 8MB)
    10. Uploaded all I've done to github repo.

    Merry Christmas and Have fun:)
    Regards!
    22
    FAQ

    FAQ from TWRP team is here

    Q: Does Rom Manager work with this
    A: No

    Q: Will you be providing support for Rom Manager
    A: Maybe, when I have time, or if Team View release it before me

    Q: Does it work with MAGLDR
    A: Yes, use AD recovery

    Q: Does this mean we cannot easily install ROMs
    A: Yes, but the code for that may be added at later date, this is Work In Porgress

    Q: Will reboot to Recovery work as normal
    A: Yes

    Q: Does Off-mode charging still work
    A: Yes, same as CWM on cLK. it will charge when off, but pressing the power button while charging will not turn the phone on

    Q: I got "failed with error: -1"
    A: make sure the recovery size is 5M, anything below that is not supported, You can check this by running adb cat "/proc/mtd | grep recovery"
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone