[CLOSED]Twrp for pixel 4a Sunfish

Status
Not open for further replies.
Search This thread

TheSayaMan

Senior Member
Sep 12, 2016
1,130
502
OnePlus 9 Pro
This version of twrp does not support backup and restore.

Install to both slots.
Fastboot flash --slot all boot twrp.img

Steps to install custom roms and root with Magisk.

Put magisk.zip, rom and twrp.img on your internal storage.

Reboot to twrp recovery.

Factory reset.

Install, select ROM zip and swipe to flash.

It will install to opposite slot, no need to reboot to install gapps if necessary. Install ROM and gapps if necessary. Then reinstall twrp image. Click install, install image. Select twrp image. Choose, boot and install to both slots and swipe to flash. The purpose of this last step is because after flashing ROM, twrp is overwritten by custom recovery. This will ensure twrp is kept.
Boot phone to system once then reboot to recovery and install magisk.zip file. Then reboot to system. Setup phone and click on magisk app. It will download full magisk app and you will be rooted. No more patching magisk file for root or adb side loading Roms. This is not my work. I'm just sharing.
 
Last edited by a moderator:

EngineerMind

Senior Member
May 5, 2007
744
200
Hi,

Just curious, what is the difference between your above version as opposed to this previous version (which does support backup/restore)?

 

TheSayaMan

Senior Member
Sep 12, 2016
1,130
502
OnePlus 9 Pro
Hi,

Just curious, what is the difference between your above version as opposed to this previous version (which does support backup/restore)?

The difference is that you don't need a custom kernel with this version and this version is installed permanently as boot instead of ramdisk.
 

EngineerMind

Senior Member
May 5, 2007
744
200
Even though you can install the other TWRP permanently, I do like the feature of yours of not having to use a custom kernel, but I need back/restore ability, so I guess I have to stick with what I have.
 
  • Like
Reactions: TheSayaMan

kiritoxd

Member
Mar 9, 2015
14
1
Singapore
Hi,

Does this twrp allows the installation of other GSI images as well? Does the rom's build number have to do with anything if you want to root with this twrp? Can this twrp be overwritten/reverted or changed back to the stock recovery when flashed stock google images if anything goes wrong? Does installing a custom kernel after installing this twrp break anything?

Sorry for the sheer amount of questions as i'm still quite new to this kind of stuff for this phone specifically.
 

TheSayaMan

Senior Member
Sep 12, 2016
1,130
502
OnePlus 9 Pro
Yes
Hi,

Does this twrp allows the installation of other GSI images as well? Does the rom's build number have to do with anything if you want to root with this twrp? Can this twrp be overwritten/reverted or changed back to the stock recovery when flashed stock google images if anything goes wrong? Does installing a custom kernel after installing this twrp break anything?

Sorry for the sheer amount of questions as i'm still quite new to this kind of stuff for this phone specifically.
Yes, you can install other images. You can root with this, build # doesn't matter. Twrp will be overwritten if you flash stock images or even other custom Roms. You would have to flash twrp to both slots again after flashing. I haven't tried custom kernel's so I couldn't help you with that.
 

kiritoxd

Member
Mar 9, 2015
14
1
Singapore
Yes

Yes, you can install other images. You can root with this, build # doesn't matter. Twrp will be overwritten if you flash stock images or even other custom Roms. You would have to flash twrp to both slots again after flashing. I haven't tried custom kernel's so I couldn't help you with that.
Hi,

Thanks for replying to my previous questions. I have tried to flash a GSI but was unsuccessful. There was no errors in TWRP when flashing the GSI image but it just wont boot. It will be redirected back to the bootloader with the error "no valid slot to boot" after flashing.

I had this issue previously when installing GSI images even through the normal fastboot but it won't boot modded boot images, the stock ones work. Is there something that i'm doing wrong here?
 

kiritoxd

Member
Mar 9, 2015
14
1
Singapore
Hi,

Thanks for replying to my previous questions. I have tried to flash a GSI but was unsuccessful. There was no errors in TWRP when flashing the GSI image but it just wont boot. It will be redirected back to the bootloader with the error "no valid slot to boot" after flashing.

I had this issue previously when installing GSI images even through the normal fastboot but it won't boot modded boot images, the stock ones work. Is there something that i'm doing wrong here?
actually now that i think of it, I dont think its an issue with TWRP. I think is just that the Google Pixel 4A does not allow GSI installation. XD
 

Oswald Boelcke

Senior Moderator / Moderator Committee
Staff member
This is not my work. I'm just sharing.
@TheSayaMan As you stated yourself that this is not your work, your thread has been moved out of the development section, for which it didn't qualify, but the thread has also been closed. Please thoroughly review the XDA Forum Rules and the following rules for posting in development:
I've additionally removed your attachments. Recoveries like TWRP are released under GPLv3 i.e. if you publish a TWRP on XDA it has to be accompanied by a link to its source. Further information about XDA's policy regarding GPL and how we enforce it is available here:
When you review the XDA Forum Rules as seriously suggested by me above, please focus on rule no. 12 about sharing and giving credits when credits are due. This means you not only failed to provide a link to the source of this TWRP but also to give credits to its developer.
And if you choose to provide downloads for Magisk you MUST give credits to our Senior Recognised Developer @topjohnwu as the developer of Magisk and for the download to simply link to his Github account (https://github.com/topjohnwu/Magisk/releases/tag/v23.0) instead of attaching whatever...

Please do not hesitate to contact me in case of further questions. Thanks for your cooperation!

Respectfully
Oswald Boelcke
Senior Moderator
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    This version of twrp does not support backup and restore.

    Install to both slots.
    Fastboot flash --slot all boot twrp.img

    Steps to install custom roms and root with Magisk.

    Put magisk.zip, rom and twrp.img on your internal storage.

    Reboot to twrp recovery.

    Factory reset.

    Install, select ROM zip and swipe to flash.

    It will install to opposite slot, no need to reboot to install gapps if necessary. Install ROM and gapps if necessary. Then reinstall twrp image. Click install, install image. Select twrp image. Choose, boot and install to both slots and swipe to flash. The purpose of this last step is because after flashing ROM, twrp is overwritten by custom recovery. This will ensure twrp is kept.
    Boot phone to system once then reboot to recovery and install magisk.zip file. Then reboot to system. Setup phone and click on magisk app. It will download full magisk app and you will be rooted. No more patching magisk file for root or adb side loading Roms. This is not my work. I'm just sharing.
    3
    This is not my work. I'm just sharing.
    @TheSayaMan As you stated yourself that this is not your work, your thread has been moved out of the development section, for which it didn't qualify, but the thread has also been closed. Please thoroughly review the XDA Forum Rules and the following rules for posting in development:
    I've additionally removed your attachments. Recoveries like TWRP are released under GPLv3 i.e. if you publish a TWRP on XDA it has to be accompanied by a link to its source. Further information about XDA's policy regarding GPL and how we enforce it is available here:
    When you review the XDA Forum Rules as seriously suggested by me above, please focus on rule no. 12 about sharing and giving credits when credits are due. This means you not only failed to provide a link to the source of this TWRP but also to give credits to its developer.
    And if you choose to provide downloads for Magisk you MUST give credits to our Senior Recognised Developer @topjohnwu as the developer of Magisk and for the download to simply link to his Github account (https://github.com/topjohnwu/Magisk/releases/tag/v23.0) instead of attaching whatever...

    Please do not hesitate to contact me in case of further questions. Thanks for your cooperation!

    Respectfully
    Oswald Boelcke
    Senior Moderator
    1
    Even though you can install the other TWRP permanently, I do like the feature of yours of not having to use a custom kernel, but I need back/restore ability, so I guess I have to stick with what I have.