• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development [RECOVERY] [ALPHA] TeamWin Recovery Project

Search This thread

Nebrassy

Recognized Developer
Sep 17, 2015
972
1,805
Lattakia
Xiaomi Poco X3 Pro



Introduction:

Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. 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.

Key Features:

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)
Onscreen keyboard
Easy selection of internal/external storage

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

Source Code:

GitHub - https://github.com/TeamWin/android_bootable_recovery

Gerrit Instance - http://gerrit.twrp.me

If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

Hello, this is an alpha build of TWRP, for Redmi note 10 Global/India (sunny/mojito)

Installation:
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
3. after that is done, if you were using a custom kernel, reflash it now
4. if you were using magisk, reflash it now

if Flash Current TWRP fails, go to Backup > Refresh Sizes and try Flash Current TWRP again

Updating to a newer build:
1. download new build to internal storage
2. go to Advanced > Install Recovery Ramdisk
4. select the new image
5. after that is done, if you were using a custom kernel, reflash it now
6. if you were using magisk, reflash it now

Send me a beer: Crypto(Preferred) | PayPal

Tree: https://github.com/nebrassy/device_xiaomi_mojito-TWRP

Telegram group: https://t.me/NSSFB

Download: https://www.androidfilehost.com/?w=files&flid=324936
 
Last edited:

StaryMuz

Senior Member
Dec 27, 2012
369
108
"Advanced" does not have a choice "Install Recovery Ramdisk".
I have recovery PixelExperience.
Twrp - I'm triggering like boot (TWRP-3.5.1-mojito-Nebrassy-2.img).
Recovery Ramdisk but doesn't exist.
 
Last edited:

nierewa

Senior Member
Jan 22, 2018
81
1
7
I join the question: Does backup and restore work?

Can I only flash TWRP without flashing any other ROM?

I don't want to root or use a cutom ROM at this moment.
Just want to backup and restore with TWRP.
 

MPK99

Senior Member
Jun 25, 2017
498
315
Mexico
gitlab.com
Redmi Note 10
I join the question: Does backup and restore work?

Can I only flash TWRP without flashing any other ROM?

I don't want to root or use a cutom ROM at this moment.
Just want to backup and restore with TWRP
It does work. But you need to use either sdcard to store the backup, or other storage like PC or external drive. Because switching roms will cause data format.
 

nierewa

Senior Member
Jan 22, 2018
81
1
7
Ok. Thanks a lot.
I have a sdcard in the phone so I use it for storing the backup.

So I do this:

Installation:
1. fastboot boot twrp.img
2. copy that same twrp image to the device
3. go to Advanced > Install Recovery Ramdisk
4. select the image you copied

and then I can boot the Redmi without the need to flash a custom ROM?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi
    I want to know the same... is there a way to wipe system? a command or something? because the wipe menu doesn't have it

    Thanks
    no , don't do it... just format data for clean flash
    1
    it kind of tiring need to clean flash always , so an option to wipe only system and preserve internal storage would be good
    Wipe /data. It'll exclude Internal storage.
    System will get wiped automatically on an update.
  • 37



    Introduction:

    Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. 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.

    Key Features:

    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)
    Onscreen keyboard
    Easy selection of internal/external storage

    In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

    We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

    Source Code:

    GitHub - https://github.com/TeamWin/android_bootable_recovery

    Gerrit Instance - http://gerrit.twrp.me

    If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

    Hello, this is an alpha build of TWRP, for Redmi note 10 Global/India (sunny/mojito)

    Installation:
    1. fastboot boot twrp.img
    2. go to Advanced > Flash Current TWRP
    3. after that is done, if you were using a custom kernel, reflash it now
    4. if you were using magisk, reflash it now

    if Flash Current TWRP fails, go to Backup > Refresh Sizes and try Flash Current TWRP again

    Updating to a newer build:
    1. download new build to internal storage
    2. go to Advanced > Install Recovery Ramdisk
    4. select the new image
    5. after that is done, if you were using a custom kernel, reflash it now
    6. if you were using magisk, reflash it now

    Send me a beer: Crypto(Preferred) | PayPal

    Tree: https://github.com/nebrassy/device_xiaomi_mojito-TWRP

    Telegram group: https://t.me/NSSFB

    Download: https://www.androidfilehost.com/?w=files&flid=324936
    8
    new build with repacking support is up, installation instructions are in the OP
    8
    uploaded new build

    fixed more cases of flashing failing
    fixed some cases of decryption failing
    7
    3.5.2 is up

    fixed adb sideload and fastbootd
    fixed vibration
    further fixes for flashing roms
    new installation method, updated OP
    4
    Short answer: Nope, restoring is not working with TWRP alpha currently.

    I installed CrDroid and used it a bit. Made a full backup of all partitions in TWRP (~19GB) (There is like 2x a Super Partition which I guess is the same and TWRP shows it twice, though)

    I wiped the phone, factory reset (not formating data).
    Then TWRP-restored all partitions back. it restores all partitions (19GB) without any errors.
    The phone boots, the ROM logo shows up, but then it gets stuck at "Smartphone gets started" progress bar endlessly.
    The backup is useless.

    I also tried only restoring Data partition, or Data, Boot and Super only.. but to no avail.

    seems like for now, with Android 11, nandroid backups are a big fail and people who rely on the backups without knowing it won't work to restore, will be surprised when the day comes...

    guess you need to back up with some apps, but Titanium is not working either so the options are tiny. best way for now might be OandBackupX.. but tell me better ones and way if you know them.
    Backup and restore with encryption, even on a stable recovery, will not work the way you did

    First you need to remove any pin/password you have set then create a backup

    When you want to restore, restore backups of everything except data, then boot the rom so it sets up encryption, then reboot back to twrp and restore data