FORUMS
Remove All Ads from XDA

[UNOFFICIAL][DECRYPTION WORKS] TWRP 3.3.1 for UMIDIGI F1 [20191103]

218 posts
Thanks Meter: 667
 
By PeterCxy, Senior Member on 2nd November 2019, 02:39 PM
Post Reply Email Thread
Introduction

This is an UNOFFICIAL TWRP port for UMIDIGI F1 that works properly with encrypted /data partition in official ROM. I am aware that the UMIDIGI F1 already has TWRP built for it, but none of them seem to have decryption working properly. In fact, every single TWRP, even official ones, for any MT6771 device, seem to have non-functional decryption support. Through some digging I managed to fix decryption at least for UMIDIGI F1, so here is my version of TWRP for the device.

Known Bugs

- Screen may flash on the password-input UI. Anything else is fine though.

This TWRP has been tested with official ROM and my LineageOS 17 port (https://forum.xda-developers.com/and...gi-f1-t3997827) and it works fine.

This is UNTESTED on the F1 Play. ONLY TESTED on regular F1.

Why Bother

Because security matters. Using a cheap device should not mean giving up security, and more importantly, privacy.

Instructions

1. Unlock bootloader
2. Enable ADB debugging in system
3. Execute "adb reboot bootloader" while having your phone connected to PC
4. Execute "fastboot flash recovery <your_downloaded_recovery>.img"
5. Reboot phone while holding Volume Up + Power buttons

Note: The official ROM may overwrite the recovery, so you may need to re-flash the recovery if this behavior isn't prevented either by TWRP or manually.

Downlaods & Sources

20191103: https://github.com/PeterCxy/android_.../20191103-twrp
- Fixed issues with Magisk and OpenGAPPS

20191102: https://github.com/PeterCxy/android_.../20191102-twrp

Device Tree: https://github.com/PeterCxy/android_.../tree/twrp-9.0
Modified TWRP (Required for decryption to work): https://github.com/PeterCxy/android_bootable_recovery
The Following 3 Users Say Thank You to PeterCxy For This Useful Post: [ View ] Gift PeterCxy Ad-Free
3rd November 2019, 09:00 AM |#2  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Updated to 20191103
The Following User Says Thank You to PeterCxy For This Useful Post: [ View ] Gift PeterCxy Ad-Free
8th November 2019, 12:14 PM |#3  
mrmazak's Avatar
Senior Member
Thanks Meter: 1,215
 
More
I appreciate your sharing this. I have added "system_image emmc" to the fstab file, so I can flash and backup the system.img

This works good on my F1,

But I tried to make this decrypt work for my other phone with 6771(Bold N1), but couldn't find all same files added to recovery/root from stock firmware.
9th November 2019, 06:41 AM |#4  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Quote:
Originally Posted by mrmazak

I appreciate your sharing this. I have added "system_image emmc" to the fstab file, so I can flash and backup the system.img

This works good on my F1,

But I tried to make this decrypt work for my other phone with 6771(Bold N1), but couldn't find all same files added to recovery/root from stock firmware.

Those files are extracted from vendor.img, but it can be different on different devices, e.g. keymaster version might be different. Also you will need to patch them using `patchelf` to make them use `/sbin/linker64` instead of `/system/bin/linker64`
The Following User Says Thank You to PeterCxy For This Useful Post: [ View ] Gift PeterCxy Ad-Free
Post Reply Subscribe to Thread

Tags
umidigi-f1

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes