0% found this document useful (0 votes)
343 views7 pages

(GUIDE) Rooting The UMIDIGI F2 - Magisk - TW - Android Development and Hacking

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
343 views7 pages

(GUIDE) Rooting The UMIDIGI F2 - Magisk - TW - Android Development and Hacking

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking

NEWS FORUMS DEVICES TOPICS BEST POSTS

# Galaxy Note20 Ultra # Galaxy Note20 # Galaxy Z Fold2 # Galaxy Watch 3 # Galaxy Tab S7 # Galaxy Buds Live # 5G # Android 11 # OnePlus Nord # ROG Phone 3

 xda-developers  Android Development and Hacking  Android General  [GUIDE] Rooting the UMIDIGI F2 | Magisk | TWRP by _cab13_

[GUIDE] Rooting the UMIDIGI F2 | Magisk | TWRP FORUMS


By _cab13_, Senior Member on 5th January 2020, 09:45 PM
Android General
138 posts
  
Thanks:
Thanks: 44   Tweet   Like Android Q&A, Help & Troubleshooting

 Reply Huawei Developers

1 2 3 11  Last  Search Thread Android Software and Hacking General


[Developers Only]

This is an attempt at rooting the UMIDIGI F2. Caution be advised, we are not Android Software Development
responsible for your mistakes; but rest assured, most of them can be corrected. [More]

Rooting the F2
 MOST THANKED
Disclaimers
ALL-TIME RECENT
This is important, please read thoughtfully.
whatever you do, never ever use SP Flash Tool in "Format All+Download" mode. This will wipe your IMEIs 3 Here's the updated Rooted Boot using Magisk
20.3. The boot is …
and some other bad stu will happen like loss of ngerprint sensor. This cannot be reversed by us.
Once bootloader is unlocked, warranty is considered void. By following this guide, you consent to that ajsmsg78 2020-Feb-29 2:06

happening. Safety net CTS will not pass anymore unless you ash Magisk which hides the unlocked
bootloader.
3 zironia I'll see what I can do for sure ! Probably
super easy to …
Never relock your bootloader while running anything uno cial as the phone will not boot until you unlock
_cab13_ OP 2020-Jan-26 15:16
again.
3 I have read that orange Fox recovery works

And, once again, a lot of bad things can happen like bootloops, if that happens to you don't freak out and better with Android 10 …

re ash stock, redoing the rooting process from the start. It might be time consuming, but that's your safest zironia 2020-Jan-24 8:29

bet!
More important even, have fun rooting, it's before all a hobby! 2 Finally... After many trials and errors, I managed
to root my F2 …

caobe 2020-Mar-14 19:31


Various Resources
2 Hi This is the last rmware update to Umidigi

>>> Latest o cial stock ROM <<< F2. Here

caobe 2020-Mar-14 18:08


Minimal ADB and Fastboot by shimp208
THREAD SEARCH
> Magisk (and Manager) by topjohnwu <
Search this thread
Mediatek SP Flash Tool
Latest uno cial TWRP
SUGGESTED APPS

Unlocking Bootloader Official XDA Forum App


The XDA App is the fastest
way to access the forums on
ATTENTION!! After unlocking the bootloader, all user data in the phone's memory will be lost, so do not 



mobile.
forget to throw all the most important things on your computer or ash drive!
1) Activate "Developer options" through Settings > About Phone > Tap Build Number multiple times. Navigation Gestures
2) Open "Developer options" in Settings > System > Tap Advanced. Customizable gesture control
Enable "OEM Unlocking" and enter your password to con rm. Enable "USB Debugging" as well. for any Android device.




3) On Windows, download and install Minimal ADB and Fastboot by shimp208
On Linux, use your packet manager to install android-tools-adb and android-tools-fastboot XDA Labs
4) Open command prompt (Win + R > type cmd) or a terminal on linux. Labs is an independent app
store that gives developers
5) Plug your phone, accept the prompt about adb and the PC signature. 



full control over their work.
6) Type adb reboot bootloader to reboot in fastboot mode.
Substratum

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 1/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking
THESE NEXT TWO STEPS WILL COMPLETELY WIPE YOUR DATA The ultimate, most complete
7) Unlock the bootloader using fastboot ashing unlock and pressing Vol+ theming solution for Android.
8) Unlock the secure partitions using fastboot ashing unlock_critical and pressing Vol+




9) Restart using fastboot reboot
You will now always see "Orange State" at boot; this is completely ne and will only delay your boot by 5 XDA Feed
seconds. The best way to get cutting
edge news about your device!
Rooting using Magisk patched boot.img




This is "experimental" and is probably overkill, but everyone managed to install Magisk with it. TOP FORUM DISCUSSIONS
1) Clean install UMIDIGI_F2_V1.0_20200106.V3.08 with SPFT by selecting the scatter le, pressing download T-Mobile OnePlus 7T, 7T Pro McLaren Edition can
an rebooting the phone (Make sure it is in "Download Mode" and not "Format + Download") now be bootloader unlocked without waiting, 7T
rebranding also possible
2) Patch boot.img by copying it to your device, using Magisk Manager to patch it, and get back the
 August 30, 2020
magisk_patched.img in the Download folder back to your PC.
3) Start ADB while booted; run adb reboot bootloader. Alternative is to reboot to recovery and selecting Google Pixel 5, Pixel 4a 5G, Samsung Galaxy S20
"reboot to bootloader" FE, Galaxy M51, and Nubia Red Magic 5S forums
are open
4) unlock if not already done with fastboot ashing unlock followed by fastboot ashing unlock_critical
 August 30, 2020
You can try without --disable-verity --disable-veri cation if those commands are not recognized. I have not
tested without them. BraveDNS is an open-source DNS-over-HTTPS
6) fastboot --disable-verity --disable-veri cation ash boot magisk_patched.img client, firewall, and adblocker for Android
7) fastboot --disable-verity --disable-veri cation ash recovery recovery.img (recovery.img from stock)  August 29, 2020
8) fastboot --disable-verity --disable-veri cation ash vbmeta vbmeta.img (vbmeta.img from stock)
This app uses root access to let you control the
9) fastboot reboot ASUS ROG Phone II’s RGB logo
When rebooting, install Magisk Manager. It will prompt to nalize the installation, you can do so.  August 29, 2020
Congratulations ! You are now a proud Magisk user ! All credits goes to @topjohnwu
@topjohnwu he's the real MVP
One UI 2.5 ported to multiple Samsung Galaxy
here.
phones with the Exynos 7870
 August 28, 2020
Returning to stock / Resolving issues The Android Generic project aims to bring popular
The best way to resolve any issue is to return to stock. Here is the method. custom ROMs to your PC
1) Download latest stock ROM ("SPFT .zip") on UMIDIGI's forums  August 26, 2020
2) Download SP Flash Tool if you don't have it yet (Windows only)
How to unlock the bootloader and root the Google
3) Extract stock ROM in SP Flash Tool directory Pixel 4a
4) Open SP Flash Tool, Download Tab, "Choose" in Scatter-loading le, select the scatter le in the stock  August 26, 2020
ROM directory.
5) If you want to keep your data, untick "userdata" partition
6) Press Download and connect your device via USB. Reboot the phone or turn it o and everything will be
ashed.
7) If you want a full stock experience, I recommend relocking the bootloader so that SafetyNet will
pass. Get into fastboot mode by using adb reboot bootloader and use fastboot ashing lock_critical
followed by fastboot ashing lock. This will wipe your data once more.
You should be good to go.

TWRP
Device Tree
>> Download my latest build here <<
Flash in Bootloader mode with fastboot ash recovery twrp_f2.img
Android 10 and TWRP aren't compatible yet. /system and /vendor cannot be mounted. /data partition
is encrypted. You can still ash .img and some zips that alter di erent partitions. Nothing I can do
about it.

Misc
Di erent boot modes
Recovery / TWRP :

Turn o the phone (or reboot)


Press Vol+ and Power until some choice comes up to you
Navigate using Vol+, select Recovery Mode using Vol-

Bootloader mode :

Boot into TWRP, select Reboot, Bootloader


Or use adb reboot bootloader either in recovery or system
Or use fastboot reboot-bootloader in fastboot mode

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 2/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking

Magisk and EdXposed


Fixing Magisk bootloop
Two techniques that could work after installing a module that broke everything :

Quote:

Hook your device up to a computer (or other device you can run adb from) and execute the
following command:
adb wait-for-device shell magisk --remove-modules

After that you can start your device and as soon as adb is available the command will activate, the
modules will be removed and the device will reboot.

-----
You could also try :
Quote:

If you can't boot your device, this can be done by placing a le in /cache (/data/cache on A/B
devices) named ".disable_magisk" (without quotation marks and with the leading dot). This will
enable Core Only Mode and you can boot up your device, uninstall the troublesome module and
then go into the Manager settings, disable Core Only Mode and reboot. In TWRP you can create the
le through the TWRP terminal with the touch command, see below for an example.

Installing EdXposed
build. I have a report of Xposed-SandHook-v0.4.6.1
Please use the latest YAHFA or Sandhook canary build.
(4504)-tdgptedc-release working.

 

The Following 3 Users Say Thank You to _cab13_ For This Useful Post: [ View ] Gift _cab13_ Ad-Free

 noskojv   
Thanks:
Thanks: 631
Senior Member

6th January 2020, 04:40 AM | #2    


Quote:
Originally Posted by _cab13_ 

This is an attempt at rooting the UMIDIGI F2. For now,


unsuccessful. Any help would be appreciated!

ATTENTION!! After unlocking the bootloader, all user data in the phone's memory will be lost, so do not
forget to throw all the most important things on your computer or ash drive!
1) Activate the "for developers" item in the settings (7 times click on the "build number" in the "about
phone" settings at the bottom)
2) Go to "Settings"(the main screen of the application) go to "for developers" and move the switches to the
enabled position near the items "USB Debugging" and " Unlocking the bootloader"
3) Then download platform tools from here https://developer.andr...eleases/platform-tools
4) Unpack the archive from platform tools to the root of the C: drive(so that the platform-tools folder is in
the root of the C drive: )
5) if the process does not go install VCOM driver
6) Switch your smartphone to fastboot mode:
6.1) connect the included phone to the computer
6.2) Open the command prompt
6.2.1) Click Win+R
6.2.2) in the window that appears, write "cmd" and click " OK"
6.3) in the command line when the phone is turned on, write(without quotes)
6.3.1) " cd " (note that there is a space after "cd") and drag the "platform-tools" folder with the cursor to the
command line window, press Enter
6.3.2) the Following command "adb reboot bootloader"
6.3.3) Your phone should reboot into Fastboot mode or a window should appear on the phone asking for
debugging permission for this computer - put a check mark "Always allow debugging from this computer"
and click "OK", repeat point 6.3.2
7) After that, on the computer in the same command line, enter " fastboot ashing unlock"
8) when the smartphone screen will prompt con rm by pressing vol+

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 3/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking
9) after you see Finished, restart your device
Now the logo will be labeled Orange state when loading

 

The Following User Says Thank You to noskojv For This Useful Post: [ View ] Gift noskojv Ad-Free

 zironia   
Thanks:
Thanks: 55
Senior Member

7th January 2020, 03:21 PM | #3    


I've rooted my F2. I used magisk to patch the boot.img then ashed the boot.img through fastboot on
Linux. It didn't work with magisk 20.1. Had to used the newest magisk manager. I am interested in your twrp
if you have one to try. Would you upload it so I may try to ash it.

Attached Thumbnails

   

 

The Following User Says Thank You to zironia For This Useful Post: [ View ] Gift zironia Ad-Free

 Juanito_R   
Thanks:
Thanks: 0
Junior Member

7th January 2020, 06:16 PM | #4    


Please upload your patched boot.img le. Thanks

 

 _cab13_   
Thanks:
Thanks: 44
OP Senior Member

7th January 2020, 09:57 PM | #5    


I would love to have that boot image as well! What magisk version did you use then ? I can start crafting a
guide.

EDIT: what boxes did you tick in Magisk Manager ?

EDIT 2: did you pad the boot image with DD ? Or maybe you wiped the boot partition beforehand to make
it all zeroes ? It seems to be the missing thing and a known bug in Magisk.

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 4/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking

 

 zironia   
Thanks:
Thanks: 55
Senior Member

7th January 2020, 11:10 PM | #6    


Magisk 20.2 was what I used. Then ashed the boot through fastboot using Debian Linux.

Rooted f2 boot IMG

Attached Files
f2rootedboot.zip - [Click for QR Code] (10.41 MB, 1400 views)

 

The Following 2 Users Say Thank You to zironia For This Useful Post: [ View ] Gift zironia Ad-Free

 ajsmsg78   
Thanks:
Thanks: 4,459
Senior Member

8th January 2020, 03:00 AM | #7    


I've tried everything to get it rooted but any magisk patched boot image I ash just sends it into a
bootloop including the one posted in this thread. It doesn't matter whether I ash it in Linux or Windows,
in fastboot or in SP Flash Tool. What stock build are you guys on, the European or the Global? It seems that
the boot.img is the same in both.

 

 _cab13_   
Thanks:
Thanks: 44
OP Senior Member

8th January 2020, 01:17 PM | #8    


Apparently the issue is that the bootloader really doesn't like the fact that the image is not the full size of
the partition. I'll try to dd it to the "max" size so it completely replaces the boot image and not only parts of
it.

 

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 5/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking
  
Thanks:
Thanks: 44
OP
 _cab13_
Senior Member

8th January 2020, 01:35 PM | #9    


Seems to be an issue with the bootloader which doesn't like being ashed with a smaller boot image than
it's partition size. Could you try padding it ? https://github.com/topjohnwu/Magisk/issues/2005
With this command
Code:
dd if=/dev/zero of=magisk_patched.img bs=1 count=1

EDIT: Double post, my internet is pretty bad, I thought the rst one didn't go. Can't delete apparently.

 

 zironia   
Thanks:
Thanks: 55
Senior Member

8th January 2020, 02:34 PM | #10    


When I unlocked the bootloader I also unlocked critical areas
fastboot ashing unlock_critical
Warning---- this will wipe your phone again just like the bootloader unlock.

 

The Following 2 Users Say Thank You to zironia For This Useful Post: [ View ] Gift zironia Ad-Free

 _cab13_   
Thanks:
Thanks: 44
OP Senior Member

8th January 2020, 02:52 PM | #11    


Haha seems to be the key to it ! Thanks for the update !

 

 Reply  Subscribe to Thread Page 1 of 14 1 2 3 11  Last 

Tags

umidigi-f2

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 6/7
8/31/2020 [GUIDE] Rooting the UMIDIGI F2 | Magisk | TW… | Android Development and Hacking

Guest Quick Reply (no urls or BBcode)

Message:

Post Quick Reply Go Advanced

 Previous Thread Next Thread 

 Top Threads in Android General by ThreadRank

[Hisense A5] Root & Gapps Customizer R05 - 06.10.04.00  2020-05-11

 Android General

[APP][7.0+] Quick Cursor: one hand mouse pointer  25th April 2020

 Android Apps and Games

[COLLECTION] Swiftkey Themes port  21st February 2020

 Android Themes

Unpacker Kitchen for Android(UKA)  24th April 2020

 Android General

[Guide] [Magisk] How to Enable Google Call Screening on "Unsupported" Devices  2020-08-20

 Android General

[APP][5.0+] TorrCrow App  13th April 2020

 Android Apps and Games

[APP][5.0+] Volume Styles - Customize your volume panel (iOS, MIUI, OneUI & more)  4th April 2020

 Android Apps and Games

All You Need Is SU  2020-08-07

 Android General

 xda-developers  Android Development and Hacking  Android General  [GUIDE] Rooting the UMIDIGI F2 | Magisk | TWRP by _cab13_

We're Social

     
XDA Developers was founded by developers, for developers. It is now a
valuable resource for people who want to make the most of their mobile
devices, from customizing the look and feel to adding new functionality.
Are you a developer? | Terms of Service

More info
Contact Advertise Rules Suggest Content Security Privacy Policy XDA App Remove ads on XDA

Useful Links
Redmi Note 8 Pro Software Update Download Links Root Any Device How To Guides XDA's Best

Copyright © xda-developers. Hosted by Leaseweb


-- XDA 2015

https://forum.xda-developers.com/android/general/guide-rooting-umidigi-f2-t4030407 7/7

You might also like