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

[TWRP][OFFICIAL] TWRP 3.3.x for UMIDIGI One Max [MT6763]

Status
Not open for further replies.
Search This thread

chankruze

Senior Member
Jun 30, 2017
225
256
Balasore
chankruze.github.io
This TWRP recovery is compiled from source & not official yet

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
#include <std_disclaimer.h>
/*
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

Prerequisites
1. Unlocked bootloader.

Bugs
1. No bugs
2. If you have found a bug, please consider posting it to my GitHub Issues.

Instructions
1. Go to the fastboot mode.
2. Download the recovery.img and transfer it to the adb folder.
3. Open the cmd/terminal and change directory into the adb folder.
4. Now confirm/check that device is connected by typing:-
Code:
fastboot devices
If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.

5. After that we will flash this TWRP recovery to the recovery partition by below command:-
Code:
fastboot flash recovery twrp-name.img

BooM ! TWRP flashed successfully.

6. Now unplug your device and then hold power button untill the phone turned off,after that press power button while holding vol down(-) button simultaneously and you will boot into TWRP recovery mode.

Enjoy !

Downloads
Official TWRP Website : https://twrp.me/umidigi/onemax.html
GitHub Release : Here (release name : TWRP-UMIDIGI-One_Max)

Version Information
ROM OS Version: 8.1.x Oreo
Source Code: Device Tree
Based On: TWRP

Credits
Omni Team for minimal TWRP source
@chankruze (myself) for device tree and compilation.

SUPPORT
 
Last edited:

_cab13_

Senior Member
May 31, 2015
139
50
Miramas, France
defvs.dev
Hey ! Good job ! I tried building my own TWRP today but then noticed someone already did it ! Does encryption work ? I cant seem to decrypt the partition after flashing your TWRP.

EDIT : Couldn't wait, ended up formatting with encryption disabled via a zip + magisk

I've then proceeded to flash some GSI for Android 9 (even tried Q Beta 3) and if we want 9.0 one day, some heavy work will be needed : Cellular doesn't work; other than that, it all seems fine to me, camera is only 12mpx, front is 13mpx. Haven't tested more, i'm back to stock

EDIT 2: After comparing camera from stock and gsi, GSI wins easily. The camera is not as slow as stock.
 
Last edited:

dreambo

Senior Member
May 5, 2010
256
178
Hey ! Good job ! I tried building my own TWRP today but then noticed someone already did it ! Does encryption work ? I cant seem to decrypt the partition after flashing your TWRP.

EDIT : Couldn't wait, ended up formatting with encryption disabled via a zip + magisk

I've then proceeded to flash some GSI for Android 9 (even tried Q Beta 3) and if we want 9.0 one day, some heavy work will be needed : Cellular doesn't work; other than that, it all seems fine to me, camera is only 12mpx, front is 13mpx. Haven't tested more, i'm back to stock

EDIT 2: After comparing camera from stock and gsi, GSI wins easily. The camera is not as slow as stock.

I have tested LineageOS 16.0 GSI Android 9.0 (and many others ...) and it works well, even GSM and Camera.
The only thing I cannot have is a complete root : I install Magisk 19.3 correctly, but applications cannot get root permission (Titanium Backup cannot have su permission)
 

silviuss82

Member
Nov 23, 2016
9
2
Hi to all!!!

I've unlocked bootloader, flashed twrp in post but when I power Off and On+Vol - my device doesn't power up...

Also if I make fastboot reboot recovery, my device reboot in fastboot mode again...

What's wrong??? I would test Descendant_ThreeDotZero_arm64_aonly rom!!!!

Pls Help me!!!!
 

dreambo

Senior Member
May 5, 2010
256
178
Hi to all!!!

I've unlocked bootloader, flashed twrp in post but when I power Off and On+Vol - my device doesn't power up...

Also if I make fastboot reboot recovery, my device reboot in fastboot mode again...

What's wrong??? I would test Descendant_ThreeDotZero_arm64_aonly rom!!!!

Pls Help me!!!!

If you use the stock boot.img with an GSI system image, it will not boot, you must first flash Magisk.zip before reboot!
It will disable dm-verity, and you can boot after.

If it continue reboot in bootloader mode, use spflashtool to flash a stock rom and all will be right :)
Or if you have a TWRP backup, restore all partitions except boot/recovery/cache/system/data and you can boot
 
Last edited:

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
@ dreambo Can you make a writeup of properly unlocking the bootloader/rooting? Or did you use these methods?

https://community.umidigi.com/forum.php?mod=viewthread&tid=17376

https://www.youtube.com/watch?v=xM_M5XP--Z8&t=176s

I should be receiving my Umidigi One Max in a day or so, and do not want to bork anything up! I have SPflash installed both on a Win10 laptop, and on a Ubuntu Linux machine.




If you use the stock boot.img with an GSI system image, it will not boot, you must first flash Magisk.zip before reboot!
It will disable dm-verity, and you can boot after.

If it continue reboot in bootloader mode, use spflashtool to flash a stock rom and all will be right :)
Or if you have a TWRP backup, restore all partitions except boot/recovery/cache/system/data and you can boot
 

dreambo

Senior Member
May 5, 2010
256
178
@ dreambo Can you make a writeup of properly unlocking the bootloader/rooting? Or did you use these methods?

https://community.umidigi.com/forum.php?mod=viewthread&tid=17376

https://www.youtube.com/watch?v=xM_M5XP--Z8&t=176s

I should be receiving my Umidigi One Max in a day or so, and do not want to bork anything up! I have SPflash installed both on a Win10 laptop, and on a Ubuntu Linux machine.

You do not need to unlock you phone, mine is rooted with Magisk and have TWRP installed without unlock bootloader.
Just use spflashtool to flash a stock rom, but replace the recovery by TWRP and the boot.img by magisk_patched.img one.

Here how I do exactly:
1- in my running stock rom, I install MagiskManager and install Magisk by choosing the last option (patch existing boot.img)
2- give it your stock boot.img (extracted from stock rom) and it create for you /sdcard/Download/magisk_patched.img
3- use this to replace your stock boot.img and use also TWRP.img to replace stock recovery.img and flash the whole rom with SPFlashTool
 

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
Can you backup with TWRP with a locked bootloader? Isn't write access blocked with a locked bootloader?


You do not need to unlock you phone, mine is rooted with Magisk and have TWRP installed without unlock bootloader.
Just use spflashtool to flash a stock rom, but replace the recovery by TWRP and the boot.img by magisk_patched.img one.

Here how I do exactly:
1- in my running stock rom, I install MagiskManager and install Magisk by choosing the last option (patch existing boot.img)
2- give it your stock boot.img (extracted from stock rom) and it create for you /sdcard/Download/magisk_patched.img
3- use this to replace your stock boot.img and use also TWRP.img to replace stock recovery.img and flash the whole rom with SPFlashTool
 

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
So I just received my One Max today. I was able to patch the boot image, and root the phone. I also, installed TWRP, but I'm running into an issue. From TWRP, I formatted with a normal wipe, It asked "Do you want to do this, it wipes data encryption Etc". I typed yes, and it did it's thing. Rebooted. Setup my basic settings on the phone. I rebooted back into TWRP, and it immediatly asked for a "decryption" password. It also won't allow me to mount internal partitions or sdcard. This even after I rooted via a patched boot file, and verified root access while booted in android (with root verify app). What am I doing wrong for TWRP to gain access to storage?
 

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
"Couldn't wait, ended up formatting with encryption disabled via a zip + magisk"

How did you format without encryption? I try to format from TWRP, type 'yes' , to verify, and encryption is still active. I'd like to disable encryption, so that I can properly backup everything from TWRP.
 
Last edited:

dreambo

Senior Member
May 5, 2010
256
178
So I just received my One Max today. I was able to patch the boot image, and root the phone. I also, installed TWRP, but I'm running into an issue. From TWRP, I formatted with a normal wipe, It asked "Do you want to do this, it wipes data encryption Etc". I typed yes, and it did it's thing. Rebooted. Setup my basic settings on the phone. I rebooted back into TWRP, and it immediatly asked for a "decryption" password. It also won't allow me to mount internal partitions or sdcard. This even after I rooted via a patched boot file, and verified root access while booted in android (with root verify app). What am I doing wrong for TWRP to gain access to storage?

Search in xda forum a zip that you can flash with TWRP before installing the Magisk zip from TWRP.
its name is disable_dm_verity????.zip, it disable in the boot.img the encryption.
After that format the data partition (format and not wipe, it's important!) and reboot normally, and your data partition will not be encrypted
 

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
Search in xda forum a zip that you can flash with TWRP before installing the Magisk zip from TWRP.
its name is disable_dm_verity????.zip, it disable in the boot.img the encryption.
After that format the data partition (format and not wipe, it's important!) and reboot normally, and your data partition will not be encrypted


I eventually found all the correct files to remove encryption. I also installed AOSP. I'm kind of torn between the stock and AOSP. AOSP has better performance, but one annoying aspect is that I cannot find anywhere in the settings to switch the navigation buttons in AOSP (Back button is on the far left, I like it on the right side). Seems trivial, but it's annoying. I can now fully backup & restore in TWRP, which makes life a lot easier.
 

dreambo

Senior Member
May 5, 2010
256
178
I eventually found all the correct files to remove encryption. I also installed AOSP. I'm kind of torn between the stock and AOSP. AOSP has better performance, but one annoying aspect is that I cannot find anywhere in the settings to switch the navigation buttons in AOSP (Back button is on the far left, I like it on the right side). Seems trivial, but it's annoying. I can now fully backup & restore in TWRP, which makes life a lot easier.
Which AOSP ? where do you found it ?
 

kgoerbig

Senior Member
Jun 13, 2011
258
18
Xiaomi Redmi Note
Redmi Note 9
Which AOSP ? where do you found it ?

This thread:

https://forum.xda-developers.com/android/development/umidigi-one-max-custom-rom-modding-t3942521

This Rom

https://github.com/phhusson/treble_experimentations/releases

Do a complete backup of stock from TWRP onto microsd or USB first! System, data, modem, nvram partitions etc. That way you can restore from TWRP, and not lose os, data, or nvram (IMEI).

Specifically, system-arm64-aonly-gapps-su.img.xz

1. Download and extract file you downloaded, onto your phone.
2. Do a format (type yes)
3. Install from TWRP as "image".
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    This TWRP recovery is compiled from source & not official yet

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Code:
    #include <std_disclaimer.h>
    /*
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    Prerequisites
    1. Unlocked bootloader.

    Bugs
    1. No bugs
    2. If you have found a bug, please consider posting it to my GitHub Issues.

    Instructions
    1. Go to the fastboot mode.
    2. Download the recovery.img and transfer it to the adb folder.
    3. Open the cmd/terminal and change directory into the adb folder.
    4. Now confirm/check that device is connected by typing:-
    Code:
    fastboot devices
    If you got your device seriel number there then you are ready to continue otherwise try connecting device again and make sure USB debugging is on and you have granted permission to the PC to debug.

    5. After that we will flash this TWRP recovery to the recovery partition by below command:-
    Code:
    fastboot flash recovery twrp-name.img

    BooM ! TWRP flashed successfully.

    6. Now unplug your device and then hold power button untill the phone turned off,after that press power button while holding vol down(-) button simultaneously and you will boot into TWRP recovery mode.

    Enjoy !

    Downloads
    Official TWRP Website : https://twrp.me/umidigi/onemax.html
    GitHub Release : Here (release name : TWRP-UMIDIGI-One_Max)

    Version Information
    ROM OS Version: 8.1.x Oreo
    Source Code: Device Tree
    Based On: TWRP

    Credits
    Omni Team for minimal TWRP source
    @chankruze (myself) for device tree and compilation.

    SUPPORT
    1
    Ok thanks, I have already test it and some other GSI Pie roms (resurection, HVOC, Lineage ...) and it works well except one important thing for me : no way to have Magisk working 100% :(

    See the new post I just made. I have Magisk working in LineageOS.