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

Search This thread

af974

Retired Recognized Developer / Retired Forum Mod
Jan 22, 2008
4,934
1,683
Redmi Note 8
For the people that have ADB problem, here is a CWM version, credits to Arif-Ali and seadersn.

Arif if you will add it to your server i will delete from this post so you can check downloads.
 

Attachments

  • recovery-twrp-leo-1.1.1.zip
    4.8 MB · Views: 31
  • Like
Reactions: arif-ali

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
For the people that have ADB problem, here is a CWM version, credits to Arif-Ali and seadersn.

Arif if you will add it to your server i will delete from this post so you can check downloads.

thanks for that, the file was there fore beta testing at the moment until I have it working, and then I would have relased the CWM version. But I guess if this allows for more people testing, then that's great.

I am about to bring out a 1.1.1-1 out in the next 10-20 mins,

The sd-ext restore doesn't work in 1.1.1, so I have just fixed the code, and am testing it at the moment.

It will be uploaded soon with the CM version as well.
 
  • Like
Reactions: 10507

10507

Account currently disabled
Oct 6, 2007
1,758
223
Usa
meettomy.site
thanks for that, the file was there fore beta testing at the moment until I have it working, and then I would have relased the CWM version. But I guess if this allows for more people testing, then that's great.

I am about to bring out a 1.1.1-1 out in the next 10-20 mins,

The sd-ext restore doesn't work in 1.1.1, so I have just fixed the code, and am testing it at the moment.

It will be uploaded soon with the CM version as well.

Can we get it to work with ROM Manager?
 

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
Can we get it to work with ROM Manager?

Possibly later, let's get the main bugs ironed out, then I'll think about adding that in

I am not the owner of this code, so I will have to learn how they have implemented the code, and then potentially look at CWM code to implement it

Maybe the Team Win may consider adding it themselves
 
  • Like
Reactions: 10507

WaveMaster1406

Senior Member
Nov 6, 2007
327
31
New York
www.master225.hexat.com
Nice work Alif-ali but it's impossible to confirm SD Partion with any button!
when i use "power button" it appear 'Partitioning aborted' and when i try with "green button" or any other button to cofirm SD partitioning, it displays alway 'Partitioning aborted'
What's about it?
 

clyder

Senior Member
Aug 30, 2010
1,060
475
Indjija
Just tried this. I really like the ability to choose what partition you want to backup, and the que list for flashing several zips.

Only problem I have is that I cant do anything with sd-ext . I have a reiserFS partition, so I guess this recovery dont support that fs?
 
  • Like
Reactions: YZ

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
Nice work Alif-ali but it's impossible to confirm SD Partion with any button!
when i use "power button" it appear 'Partitioning aborted' and when i try with "green button" or any other button to cofirm SD partitioning, it displays alway 'Partitioning aborted'
What's about it?

Compiling the fix now

1.1.1-2, will be up in a bit

Just tried this. I really like the ability to choose what partition you want to backup, and the que list for flashing several zips.

Only problem I have is that I cant do anything with sd-ext . I have a reiserFS partition, so I guess this recovery dont support that fs?

You should be able to, can you check you backup folder, and see what the file was named sd-ext.xxx.win in /sdcard/TWRP/BACKUP/XXXXX/

you could run the following command and send me the output

Code:
adb shell ls /sdcard/TWRP/BACKUPS/no_console_sus/*
 

clyder

Senior Member
Aug 30, 2010
1,060
475
Indjija
You should be able to, can you check you backup folder, and see what the file was named sd-ext.xxx.win in /sdcard/TWRP/BACKUP/XXXXX/

you could run the following command and send me the output

Code:
adb shell ls /sdcard/TWRP/BACKUPS/no_console_sus/*

I was able to do a backup of sd-ext, but I couldnt do a wipe of sd-ext and also when I tried to do a full restore, restoring the sd-ext took 8 sec.
I used compression when trying backup, but only thing I cant restore is sd-ext..

i am getting some messy stuff when using ls, but I guess you want to see a list of files from backup so here it is:
10/08/2011 11:59 PM 80,556,948 system.yaffs2.win
10/08/2011 11:59 PM 52 system.yaffs2.win.md5
10/09/2011 12:02 AM 53,626,545 data.yaffs2.win
10/09/2011 12:02 AM 50 data.yaffs2.win.md5
10/09/2011 12:02 AM 5,242,880 boot.mtd.win
10/09/2011 12:02 AM 47 boot.mtd.win.md5
10/09/2011 12:06 AM 138,086,253 sd-ext.auto.win
10/09/2011 12:06 AM 50 sd-ext.auto.win.md5
 
  • Like
Reactions: YZ

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
I was able to do a backup of sd-ext, but I couldnt do a wipe of sd-ext and also when I tried to do a full restore, restoring the sd-ext took 8 sec.
I used compression when trying backup, but only thing I cant restore is sd-ext..

i am getting some messy stuff when using ls, but I guess you want to see a list of files from backup so here it is:
10/08/2011 11:59 PM 80,556,948 system.yaffs2.win
10/08/2011 11:59 PM 52 system.yaffs2.win.md5
10/09/2011 12:02 AM 53,626,545 data.yaffs2.win
10/09/2011 12:02 AM 50 data.yaffs2.win.md5
10/09/2011 12:02 AM 5,242,880 boot.mtd.win
10/09/2011 12:02 AM 47 boot.mtd.win.md5
10/09/2011 12:06 AM 138,086,253 sd-ext.auto.win
10/09/2011 12:06 AM 50 sd-ext.auto.win.md5

OK, thanks for the report

I will have a look at this in more detail, and get back soon
 

clyder

Senior Member
Aug 30, 2010
1,060
475
Indjija
OK, thanks for the report

I will have a look at this in more detail, and get back soon

When I go to format sd-ext in format menu, I get:

E:format_volume: fs_type "auto" unsupported

also in mount menu when I click on mount /sd-ext I get only the text that sd-ext has been mounted, but it's not mounted. Also in adb shell I cant see sd-ext.
 
  • Like
Reactions: YZ and arif-ali

seaman2k

Senior Member
Jul 19, 2010
543
968
suez
arif-ali@ the best thing for me from months ...it is so fast and smooth :D
working good still looking for bugs:p
 

MariusOX

Senior Member
Aug 1, 2008
369
158
34
Korgen
In the protal-article it said that this supported different Android Devices.
Does it support the Desire HD?
 

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"