[RECOVERY] - TeamWin Recovery Project [REDFIN] [OFFICIAL]

Search This thread

gitrazorhub

Member
Nov 7, 2022
11
2
We are releasing support for 12.1 soon. 13 is now a WIP.
Greetings, I'm having an issue booting twrp-3.7.0_11-0-redfin.img on my redfin device.

Device codename: redfin
TWRP version: 3.7.0_11-0

WHAT STEPS WILL REPRODUCE THE PROBLEM?​


Following steps from TWRP website for redfin:
-Boot into bootloader
-Connect device to PC
-Open a terminal and run "fastboot boot path/to/twrp.img"


WHAT IS THE EXPECTED RESULT?​


TWRP should finish booting and display options/menu


WHAT HAPPENS INSTEAD?​


Stays on TWRP boot screen


Any help would be appreciated especially if it's to tell me that I'm an idiot.
 

Attachments

  • recovery - Copy.log
    26.2 KB · Views: 20
Last edited:
  • Like
Reactions: leathan

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,964
7,243
Greetings, I'm having an issue booting twrp-3.7.0_11-0-redfin.img on my redfin device.

Device codename: redfin
TWRP version: 3.7.0_11-0

WHAT STEPS WILL REPRODUCE THE PROBLEM?​


Following steps from TWRP website for redfin:
-Boot into bootloader
-Connect device to PC
-Open a terminal and run "fastboot boot path/to/twrp.img"


WHAT IS THE EXPECTED RESULT?​


TWRP should finish booting and display options/menu


WHAT HAPPENS INSTEAD?​


Stays on TWRP boot screen


Any help would be appreciated especially if it's to tell me that I'm an idiot.
What version of android are you using?
 

HippoMan

Senior Member
May 5, 2009
2,092
857
Hippoland
I just have a quick question: I know that TWRP doesn't normally backup and restore Internal Storage. But my question is this: what exactly is "Internal Storage"?

From TWRP's point of view, on Android-11 on redfin, is "Internal Storage" everything in /storage/emulated/0 ? Or is it some subset of the data in /storage/emulated/0 ? Or perhaps is it some other set of storage locations?

Thank you in advance for clarifying.
 
Last edited:

ziand

Senior Member
Apr 24, 2008
506
1,278
HTC U12+
Google Pixel 5
I just have a quick question: I know that TWRP doesn't normally backup and restore Internal Storage. But my question is this: what exactly is "Internal Storage"?

From TWRP's point of view, on Android-11 on redfin, is "Internal Storage" everything in /storage/emulated/0 ? Or is it some subset of the data in /storage/emulated/0 ? Or perhaps is it some other set of storage locations?

Thank you in advance for clarifying.
internal storage is a part of partition "data". It mounted as sdcard with link /data/media/0
Official TWRPs do not include intSD into data backup, such is standard. You can see a massage about it at TWRP backuping of data: "without media". For some devices there are customs TWRPs which can do it.
If you would like to make data backup with intSD or with a part of intSD, you can use my scripts:

Downloads: data backup and data restore.

Instructions: data backup and data restore

It works perfect on P5 with A11..13 and also on another brands and different Android. You can restoring even without TWRP, from system Magisk module installer.
 
Last edited:

HippoMan

Senior Member
May 5, 2009
2,092
857
Hippoland
internal storage is a part of partition "data". It mounted as sdcard with link /data/media/0
Official TWRPs do not include intSD into data backup, such is standard. You can see a massage about it at TWRP backuping of data: "without media". For some devices there are customs TWRPs which can do it.
If you would like to make data backup with intSD or with a part of intSD, you can use my scripts

data backup and data restore.

It works perfect on P5 with A11..13 and also on another brands and different Android. You can restoring even without TWRP, from system Magisk module installer.

Thank you very much! I will now remember that "Internal Storage" is all of /data/media/0 . And now I understand that this is synonymous with /sdcard and also with /storage/emulated/0, at least on my device.

I'll definitely check out data backup and data restore. Thank you again!
 

TheDude1998

Member
May 3, 2016
28
3

theg00dguy

Member
Apr 7, 2022
12
1
Hi,

I have just got myself a Pixel 5 with Android 11 on it. I used to have a Pixel 2 on which I boot TWRP using ADB to make Nandroid backups. I'd like to do the same with the Pixel 5.

I have dowloaded twrp-installer-3.7.0_11-0-redfin.zip from the TWRP Pixel5 site. I was expecting to find a twrp.img file in the archive, but there isn't. There's "magiskboot" and "ramdisk-twrp.cpio". I have hunted high and low, but I cannot find any guidance on what to do with these files.

I read that a cpio file is an archive file of some sort, but I could find any way to unarchive it to see if the twrp.img file is within. The installation instructions on the TWRP Pixel5 site says to "run the following command: fastboot boot path/to/twrp.img", but where is this img file?

Any help would be gratefully recieved.

Thanks.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    You can download the *.img file from here:

    You can download the *.img file from here:
    https://dl.twrp.me/redfin/

    I got it.

    Also, I updated to A12.1 and I can successfully backup & restore using twrp-3.7.0_11-0-redfin.img :)

    Many thanks.
  • 64
    [RECOVERY] TWRP 3.6.0_11-0 - TeamWin Recovery Project




    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.

    Device Config: https://github.com/bigbiff/android_device_google_redbull

    If others thing don't work, please report the issue and let me know.

    Download here:
    Test9: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test9-redfin.img
    - fix cpu temperature display
    - turn off openaes
    - MTP: fix 100% CPU
    - fix perms for last_log.gz
    - one click flash option to keep twrp when updating boot in recovery - thanks @Nebrassy


    You need to install a kernel with built-in touch drivers such as ElementX-P5.
    First, install ElementX-P5, the use the install ramdisk recovery option in the Install menu to install the TWRP image.


    https://build.twrp.me/test/redfin/twrp-3.5.0-0-test1-redfin.img

    Please ignore the -10 in the version string when fastbooted into TWRP. I am hoping to get the a11 TWRP branch working in a10 trees.

    Test 2: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test2-redfin.img
    Test 3: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test3-redfin.img
    Decryption and backup restore working. Tested with April Firmware.
    Test 4: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test4-redfin.img
    Enable MTP. Fix /sdcard bind mount to /data/media/0
    Test 5: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test5-redfin.img
    Add partitions: misc, boot and persist. Enable repacking into ramdisk. Tested with ElementX-P5.
    Test 6: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test6-redfin.img
    Fix repacking twrp into recovery. You need to install a kernel with built-in touch drivers such as ElementX-P5.
    First, install ElementX-P5, the use the install ramdisk recovery option in the Install menu to install the TWRP image.
    Test 7: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test7-redfin.img
    Fix wiping Titan M chip. Fix decryption hanging on lineage-18.1 when booting TWRP.
    Test 8: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test8-redfin.img
    Fix reboot to recovery from fastbootd.


    http://twrp.me
    23
    Hello all. I was able to get an initial decryption and backup/restore working.

    Here is test2 image: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test2-redfin.img

    Remember this is still fastbootable only. I have to test repacking in the future.

    Currently only decrypts the 12/25/2020 patchlevel. I will try to upload today a version that will continue to work on future and current versions.
    22
    Here is test3, tested with the latest firmware: https://build.twrp.me/test/redfin/twrp-3.5.0-0-test3-redfin.img

    Please let me know what issues you have. I will be working on integrating fscrypt v1 policies so I can port over crosshatch to the aosp11 tree. I will work on repacking afterwards.
    20
    Should I keep crypto disabled or should I try to resolve the fscrypt includes somehow? With crypto disabled to avoid that error, I've got the Google boot splash with the above ADB fix for proper shell access including dmesg and logcat, but it fails to start actual TWRP and the logcat is complaining about missing vintf manifest entries for android.hardware.boot and android.hardware.health

    Edit: I also had to inject the Proton kernel for it to boot, I'm currently using the latest AOSP11 bramble/redbull with your commits cherry-picked like I did earlier with the lineage-18.1 attempt

    I just barely got Fscrypt working with decryption. I am working on fscrypt policy storage now. You can track my progress at the android_bootable_recovery project at https://gerrit.twrp.me
    18
    I posted a link to a test4 image in OP. I enabled MTP and fixed bind mount to /sdcard from /data/media/0.