TWRP for Fairphone 3

Does anyone have partition images for A00066?

This issue has been fixed for /e/OS so far that after deleting the mentioned files date and time is correct now in TWRP.

@k4y0z I noticed that the displayed battery load does not increase when the charger is connected. The + behind the percentage shows up but the number remains constant. Only after rebooting into system the current load can be seen.

What is SD_ext in backup tab? It always is 0MB here.

Hello, I tried to follow instructions on twrp.me to install it on my FP3 but it don’t work, when I use the “Fix Recovery Bootloop” option I get this error :
cd /tmp/repackorig/ && /sbin/magiskboot expatch kernel [a long hexadecimal number here] process ended with Error 1. Error patching kernel.

I just did fastboot boot twrp.img → ok → then Install Recovery Ramdisk → ok then Fix Recovery Bootloop → failed
And I tried many times, with FP OS, with /e/OS … without Fix Recovery Bootloop … nothing worked

Can you help me ?

I would like to be able to make a full backup of my phone, I have read a lot of threads and I’m not sure it is possible (some says, it’s ok, backup works fine with TWRP, some other says TWRP is incompatible with FP3) so how does it really work ?

Your link does not show any instructions so I wonder if you read Fairphone 3

I haven’t done any backups/changes for years but there are also instructions for back via ClockworkMod and I used Titanium Backup - I don’t know if they are still viable options >??

https://www.titaniumtrack.com/titanium-backup.html

CWM is an old recovery not much used anymore, and isn’t compatible with the FP3.
Titanium backup backs up apps and their data and not whole partitions like TWRP.

@qsdfghjkl TWRP backups should work, there is no reason for which they wouldn’t on the FP3 AFAIK.

1 Like

TWRP for the Fairphone 3 is official, instructions are here … Fairphone 3.

Be aware that TWRP doesn’t backup the Internal Storage, you would have to make a backup of it via other means (e.g. via USB when TWRP is booted) … What is EXCLUDED from a TWRP backup?.

Just boot TWRP with fastboot like you did already …

A/B devices like the Fairphone 3 have no recovery partition, so installing TWRP will alter the boot partition instead, to different effects with different OSes.
Fairphone OS for instance will not OTA update anymore after that.
/e/ for another example will just overwrite the boot partition with its own one (including its own recovery) with the respective next update.

If you choose to keep your bootloader unlocked to be able to fastboot boot TWRP when desired, this has security implications … How to lock the bootloader when the process is over? - #3 by AnotherElk.

Otherwise the process is pretty simple:

  • Make sure to keep the install file(s) for the installed OS version (for a restore in case the OS partitions can’t be restored successfully with TWRP, better safe than sorry).
  • Make a copy of the whole Internal Storage (because).
  • Make a TWRP backup of your partitions, most importantly the data partition.
3 Likes

Thanks to take time to answer me.

Yes I do, sorry it wasn’t a link.

It’s the first part of my message, I tried different things the whole weekend but nothing worked : TWRP don’t work on my phone yet, so I explained my problem first (with the error message in TWRP) and then ask you how is it working for you.

First thanks for your long answer, I did it one time but after I get a message telling me that my phone is corrupt and will not boot (message with the red warning sign ~ the same as the yellow one wich tell you that bootloader is unlocked, but it wasn’t written that it will shutdown after 30 sec and I tried to press the power button but nothing occured) and yeah it never booted, I got stuck with that message, it was not possible to boot on system or on recovery, so I flashed all my phone with /e/OS files to get it working.

Yes I have read that I should not do fastboot FLASH recovery twrp.img but as it is explained on TWRP website as official way to do, I didn’t know that Install Recovery Ramdisk option was the same … (yes I’m a noob)

So just for me to understand, you, when you backup your phone, you just :

  • (your bootloader is already unlocked) you keep it unlocked ?
  • Make sure to keep the install file(s) for the installed OS version
  • Make a copy of the whole Internal Storage
  • Restart on bootloader mode
  • Type fastboot boot twrp.img then press enter
  • Select keep read only on the first screen ?
  • Then backup
  • Reboot system without doing anything else ?

I’ll have to look into that.
Alternatively there is also an installer-ZIP available for an alternative method of installation.
That said, as @AnotherElk already explained, it is generally not advised to install TWRP on A/B devices such as the FP3, as it modifies the boot image.

I also have an error when I try to use the fix but I noticed that I don’t need that fix. I have no bootloop without it. I use TWRP with /e/ and Magisk. With Magisk the bootloader must remain unlocked but Magisk has a module that keeps TWRP installed after an OTA update on the A/B device.

1 Like

ANY modification to the system, such as installing TWRP or Magisk, or modifying files on other partitions will require the bootloader to remain unlocked.

@bege sorry for not replying to your other post earlier, I have very little time ATM.
The charging thing sounds like it might be a general TWRP issue and not device-specific.
The SD_ext is for use with adopted storage IIRC.

1 Like

Yes.
Having assessed the security implications for my personal situation.

Yes.

TWRP supports MTP, so I already copy the TWRP backup to my computer via USB at that point.
Otherwise … yes.

If you need more information about my TWRP fail/error/bug? I can send you a picture or a video next time I will try it.
Thanks for all the job done and thanks again for all the work you will do !

I just want to backup my phone, without fear of losing everything because of a bug or a mistake (like I already do ~ no, not everything, I saved my internal storage and do adb backup all previously)

@bege I don’t know Magisk, I just used only TWRP on my two previous smartphones (ASUS PF2 and PF2), it worked well, it’s why I wanted to do so on my FP3, I tried my all weekend but it didn’t work.

@AnotherElk ok, I will retry this (I only did it once, the others time I pressed the "Fix Recovery Bootloop”) but not tomorow, I will not have enough time if it fail, but I will keep you informed. Thanks anyway !

Did you still have the message with the yellow warning sign witch tell you that bootloader is unlocked ? Or the adb reboot "dm-verity enforcing" command disable it ?

If I recall correctly, this command disables a red message where you have to press the power button to continue booting, else the phone would reboot after 30 seconds.
With an unlocked bootloader I guess you’ll have to live with the yellow message where booting continues automatically after 5 seconds.

Ok, that was my question, thanks !

Hello,
I tried it last weekend and … It worked … I don’t really know why but I have been able, with your help, to backup my phone. It was the first time that TWRP asked for my unlocking code so maybe it helped to work, I don’t know what I did wrong the first time.

I also try something interesting but it worked only one time on twice (so TRY IT AT YOUR OWN RISKS) : when I unlocked my bootloader (fastboot cmd → press vol dwn → press power) right after my phone restarted, I removed the battery, left the phone for a few seconds without it and restarted (with battery plugged) and then my bootloader was unlocked and I didn’t lost any data.
I retried this process to lock it again but it didn’t worked, it bricked my phone … (maybe you need the right timing to unplug the battery … or not)

So thanks anyway, now I have all I need for my new FP3 !

3 Likes

I just want to leave a heartfelt “Thank you” to @_tmp for still maintaining the archive of images Index of /stock/ . It makes updating as root so much easier.

5 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.

A user in the /e/OS forum encountered this old TWRP issue … MTP not prividing change timestamps · Issue #1065 · TeamWin/Team-Win-Recovery-Project · GitHub

I can confirm the issue on my Fairphone 3 with the current TWRP 3.6.2_9-0-FP3. It’s not ideal for backup purposes.

@k4y0z: As TWRP’s terminal can see the timestamps just fine … can something be done about this? Or could this be a fault on the computer side?