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

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

Search This thread

Anonshe

Senior Member
Aug 11, 2016
161
110
Hello all,

It's been a good while since I have adjusted my build on my Pixel 5.

Currently I am on a rooted Pixel 5 with a custom ROM (Proton OS11). I see OS12 Roms that have been released ... as I have mostly learnt everything from a Samsung environment since S2 days (CWM/TWRP) I have always backed up (nandroid) my build before going to a new Rom.

As the process regarding pixel flashing is not embedded in my brain, as much so as Samsung methods (via odin, etc.) I want to confirm I am understanding everything correctly before moving forward with TWRP on my Pixel 5 (redfin)

  1. the community has stated that you can adb flash into TWRP while connected to a PC to backup/restore/flash etc. is the proper command to perform this action:
    Code:
    fastboot boot twrpname.img
  2. Are there issues as stated in previous posted, when rooted, custom rom + magisk that TRWP encounter issues when performing the above functions?
  3. To perm flash TWRP would the following command be suggested?
    Code:
    fastboot flash recovery twrpname.img
  4. When/If perm flashed, how does one go about access TWRP from the phone (ie. no adb access etc.) is there a button command, or same command as you use to access fast boot (Press and hold the Volume Down + Power button)
  5. If i successfully get TWRP running in RAM or perm-flashed...are there issues or concerns with backing up the device, flashing to a new OS (OS12) and if not liking the new OS... booting back to TWRP and restoring the old backup image?
  6. Is there a step by step guide on XDA?
My apologies I have been out of the loop a bit with the pixel 5 methods. I base my knowledge more-so from Samsung environment, want to make sure I am on the correct page.

Feel fee to recommend or suggest anything.
I do appreciate any feedback from XDA community, everyone has always been super helpful

Thank you :)

1. `fastboot boot twrp.img` is the right command to boot twrp temporarily.
2. To perm flash it, you install it as recovery ramdisk from within twrp after booting into twrp. Ensure you've pushed the file to your internal storage before installing it.
Custom ROMs don't have an issue with it but for Lineage, I'd suggest flashing the ROM via Lineage Recovery the first time before flashing twrp.
3. Pixel 5 doesn't have a recovery partition so that command won't work.
4. You can access it from the fastboot menu by selecting "recovery mode" using the volume keys.
5. You can do that but YMMV.
 

unibombz

Senior Member
Nov 11, 2011
1,220
258
1. `fastboot boot twrp.img` is the right command to boot twrp temporarily.
2. To perm flash it, you install it as recovery ramdisk from within twrp after booting into twrp. Ensure you've pushed the file to your internal storage before installing it.
Custom ROMs don't have an issue with it but for Lineage, I'd suggest flashing the ROM via Lineage Recovery the first time before flashing twrp.
3. Pixel 5 doesn't have a recovery partition so that command won't work.
4. You can access it from the fastboot menu by selecting "recovery mode" using the volume keys.
5. You can do that but YMMV.
Hello,

Appreciate the follow up...
1. Resolved/Answered
2. Thank you for the notes regarding Lineage, I think I will be sticking to AOSP for the time being, or a ROM that is closest to stock, when I get some time to flash and test some ROMs
3. Good to know
4. Thank you for clarifying
5. OK, from my understanding it may differ at times and all that can be done is to try to see the outcome?

Going to continue the research and hope to get TWRP flashed to test it out on the P5 moving forward.

Thank you again for your well written response :)
 
I'm trying to follow all this information, please follow my logic and see if it is correct, thank you.

I currently have pixel5, and I rooted it successfully with the Magic Canary instructions from the other thread.
It is running the latest Android 12.

My real goal is to be able to backup/restore (nandroid) in TWRP like I used to do with other phones.

It seems like TWRP is not ready for Android 12 or pixel5 officially. Right?

But the instructions here allow us to install TWRP unofficially.

But you need ElementalX kernal.
Which means, I can't use Android 12. So I need to use Android 11?

And if I use this kernel, then I can use TWRP for backup/restore?

Just curious, what has happened to all the custom ROMs and easily rooting etc with Magisk/TWRP? Pixel5 is a older generation phone, I thought it would be easy now. Seems like it's getting more complicated and fewer options for this sort of rooting activity. Having a simple way to backup/restore with one large zip file was amazing. Are the glory days over?
 

unibombz

Senior Member
Nov 11, 2011
1,220
258
I'm trying to follow all this information, please follow my logic and see if it is correct, thank you.

I currently have pixel5, and I rooted it successfully with the Magic Canary instructions from the other thread.
It is running the latest Android 12.

My real goal is to be able to backup/restore (nandroid) in TWRP like I used to do with other phones.

It seems like TWRP is not ready for Android 12 or pixel5 officially. Right?

But the instructions here allow us to install TWRP unofficially.

But you need ElementalX kernal.
Which means, I can't use Android 12. So I need to use Android 11?

And if I use this kernel, then I can use TWRP for backup/restore?

Just curious, what has happened to all the custom ROMs and easily rooting etc with Magisk/TWRP? Pixel5 is a older generation phone, I thought it would be easy now. Seems like it's getting more complicated and fewer options for this sort of rooting activity. Having a simple way to backup/restore with one large zip file was amazing. Are the glory days over?
Great questions here.
I would have been curious of this as well since I feel I am approaching that line once I get some time to investigate further how and IF TWRP works well with the newer OS's for nandroid.

Thanks for this post!
 
Great questions here.
I would have been curious of this as well since I feel I am approaching that line once I get some time to investigate further how and IF TWRP works well with the newer OS's for nandroid.

Thanks for this post!
Good to know I'm not the only one, loll. Never know if I missed something that everyone knows. What I can tell so far is that we are waiting for TWRP for Android 12. Once TWRP is easily available, I think everything is awesome. So I guess we are just waiting. But definitely, the custom ROM options have decreased drastically across the board from what I remember 5 years ago. That's ok, I'll take anything. But still seems the bottle neck for everything right now is TWRP.

The way I gauge (lol, this is dumb but this is how I think about it), when those windows GUI tools are made where you can root and unroot and flash in a nice GUI with buttons for everything and it detects your phone, etc....that is the ultimate place to be. Then we really know things are good. That is what I remember back in the Nexus 5 or 6 days.

Currently, i'm not rooting my Pixel 6 pro, as there are too many questions and unknowns and it makes me a little nervous. I JUST rooted my Pixel 5, but I can't do a backup or TWRP because I am nervouse about the ROMs and kernals, etc., so I'm still waiting on all that. So I am just doing copies of my sdcard contents for now.

I can't wait for the full backup-restore to be available easily again. THe best.
 

unibombz

Senior Member
Nov 11, 2011
1,220
258
Good to know I'm not the only one, loll. Never know if I missed something that everyone knows. What I can tell so far is that we are waiting for TWRP for Android 12. Once TWRP is easily available, I think everything is awesome. So I guess we are just waiting. But definitely, the custom ROM options have decreased drastically across the board from what I remember 5 years ago. That's ok, I'll take anything. But still seems the bottle neck for everything right now is TWRP.

The way I gauge (lol, this is dumb but this is how I think about it), when those windows GUI tools are made where you can root and unroot and flash in a nice GUI with buttons for everything and it detects your phone, etc....that is the ultimate place to be. Then we really know things are good. That is what I remember back in the Nexus 5 or 6 days.

Currently, i'm not rooting my Pixel 6 pro, as there are too many questions and unknowns and it makes me a little nervous. I JUST rooted my Pixel 5, but I can't do a backup or TWRP because I am nervouse about the ROMs and kernals, etc., so I'm still waiting on all that. So I am just doing copies of my sdcard contents for now.

I can't wait for the full backup-restore to be available easily again. THe best.
Hello Superxdaer,
One thing I can recommend to look at due to your concerns and the common nandroid methods you're use to is your can attempt to use the migrate app (if you haven't already)

I know this does not make an image, however does let you easily transition from ROM to ROM only thing it is a little more involved than
Backup > Wipe > Flash
or
Wipe > Restore > Flash

Thought i'd toss that out there as an option for you to consider or look at. I have used this method with my Sammy devices when flipping to new ROMs and brining my apps (and some data) with me.

I am looking into pushing up to OS12 on my Pix5 myself, and may have to go this route and ignore TWRP completely, for now anyways, and make a migrate snapshot.
That way if I want to go back to my OS11 build I will have this to use :-/

Hope it helps
 
  • Like
Reactions: Ivixmax

Ivixmax

Senior Member
Dec 10, 2011
357
73
León
www.htcmania.com
Hola Superxdaer,
Una cosa que puedo recomendar que tenga en cuenta debido a sus inquietudes y los métodos nandroid comunes que usa es que puede intentar usar la aplicación de migración (si aún no lo ha hecho)
[URL unfurl = "true"] https://forum.xda-developers.com/t/...20-migrate-custom-rom-migration-tool.3862763/ [/ URL]

Sé que esto no crea una imagen, sin embargo, te permite pasar fácilmente de ROM a ROM, solo que es un poco más complicado que
Copia de seguridad> Limpiar> Flash
o
Limpiar> Restaurar> Flash

Pensé en tirar eso como una opción para que la consideres o la mires. He usado este método con mis dispositivos Sammy al cambiar a nuevas ROM y traer mis aplicaciones (y algunos datos) conmigo.

Estoy buscando subir a OS12 en mi Pix5 yo mismo, y es posible que tenga que seguir esta ruta e ignorar TWRP por completo, por ahora de todos modos, y hacer una instantánea de migración.
De esa manera, si quiero volver a mi compilación de OS11, tendré esto para usar: - /

Espero eso ayude
uoh it would be nice to have an oos 11 rom :)
 
Yes unibombz, I love that app and think it is great. But the step where you need TWRP is the bottleneck again. And there is still no TWRP that is reliable for Anroid 11 and 12 on pixel 5 or 6. I will definitely use your app if I have TWRP running, it beats the more complicate TB way, and also has one advantage over nandroid in that i can migrate from Rom to Rom.
 

unibombz

Senior Member
Nov 11, 2011
1,220
258
Yes unibombz, I love that app and think it is great. But the step where you need TWRP is the bottleneck again. And there is still no TWRP that is reliable for Anroid 11 and 12 on pixel 5 or 6. I will definitely use your app if I have TWRP running, it beats the more complicate TB way, and also has one advantage over nandroid in that i can migrate from Rom to Rom.
Hello,

You can use the Migrate Flasher which does not require any custom recovery to flash the .zip - maybe give it a go and see how it pans out for you if you decide to try it :)
Report back if you do.
 
  • Like
Reactions: elong7681
Nice work!

Once the encryption element is fixed I will definitely be rocking this!!
It seems to be. It was broken for me and lately setting the lock security to none wouldn't even fix it. It would just hang, although at least adb worked.
After doing a factory reset then restoring all my apps, booting twrp redfin test9's encryption started working.
 

Top Liked Posts