[RMX2061][RECOVERY][3.3.1-3]Unofficial TWRP for Realme 6 Pro

Status
Not open for further replies.
Search This thread

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
Code:
/*
 * Your warranty is now void (or isn't ? who am I to judge ?)
 *
 * 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.
 *
 */

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.

Current status

Working :
- TWRP boots
- /data decryption is working
- system and vendor partitions are mountable but you can't modify them
- You can flash magisk and modules, or custom kernel (if that's even exists since our kernel source is total mess and broken)
- Flashing stock rom.ozip works

Not working :
- USB OTG works now
- Partition formatting doesn't works (upstream)

Installation
Direct booting (fastboot boot twrp.img) is not possible, so we just have to flash it like normal
1. Disable verified boot first
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
2. Flash downloaded twrp
Code:
fastboot flash recovery twrp.img
3. Reboot to recovery
Code:
fastboot reboot recovery

Download
Google Drive

Source code
https://github.com/nullxception/twrp_device_realme_RMX2061

Thanks to @simonsmh @mauronofrio @bigbiff and many other opensource TWRP devs

XDA:DevDB Information
Unofficial TWRP for Realme 6 Pro, Tool/Utility for the Realme 6 Pro

Contributors
nullxception
Source Code: https://github.com/nullxception/twrp_device_realme_RMX2061


Version Information
Status: Stable
Current Stable Version: 3.3.1-3
Stable Release Date: 2020-06-08

Created 2020-05-31
Last Updated 2020-06-08
 
Last edited:

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
Reserved

Flashing stock ROM will make twrp gone, to preserve it, follow this step :
- Flash stock ROM .ozip
- Flash patched-vbmeta-v2.img
- Flash OF_avb_patcher.zip
- done, you can also reflash Magisk if you want, or just reboot

Changelog

3.3.1-3
- Support flash-backup-restore vbmeta_system and vbmeta_vendor

3.3.1-2
- Support direct .ozip (Realme Stock ROM) flash

3.3.1-1
- Fix USB OTG not detected

3.3.1-0
- Initial Release
 
Last edited:

Muhammed159753

New member
May 31, 2020
4
0
I am using rmx 2061_11_A17. Will this flashing of twrp cause any bootloop or damage to the phone? I've already unlocked the bootloader

---------- Post added at 04:18 PM ---------- Previous post was at 04:13 PM ----------

I've flashed both files successfully. But when applying 'fastboot reboot recovery' command doesn't work when I manually go to recovery, I'm entering to the normal recovery everytime.
 

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
I am using rmx 2061_11_A17. Will this flashing of twrp cause any bootloop or damage to the phone? I've already unlocked the bootloader

---------- Post added at 04:18 PM ---------- Previous post was at 04:13 PM ----------

I've flashed both files successfully. But when applying 'fastboot reboot recovery' command doesn't work when I manually go to recovery, I'm entering to the normal recovery everytime.

I don't get what are you trying to say, if you already flash twrp but still got a stock recovery, then you didn't flash it properly.
 

debdeep98

Senior Member
Jan 19, 2018
307
84
Asansol
I've flashed both files successfully. But when applying 'fastboot reboot recovery' command doesn't work when I manually go to recovery, I'm entering to the normal recovery everytime.

Wait is fastboot reboot recovery even a valid command? Wasn't it adb reboot recovery and fastboot reboot. If you are booting into stock recovery that means twrp isn't flashed properly.
 

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
I success install this twrp, but always "failed to mount" to do something....
So i put back my stock recovery.....
Read the first post, system/vendor is mountable but you can't modify them (which means read-only).

That's how Android 10 dynamic partition works, it'll fail if you try to mount system as read/write.
Why ? because the system and vendor partition is just a logical partition under the big volume called "super" partition. and generally, it has no reserved space at all to ensure that partitions aren't wasting space and are allocated to a minimum possible size.
https://source.android.com/devices/tech/ota/dynamic_partitions/implement

> So, how can I modify stuff under the /system or /vendor ?
The only way to do it is via magisk, create your own modules.
> But, how custom ROM is working on such devices like OP7 or Redmi Note 9s ?
Because it is build from the source, you'll get the whole super partition that can be flashed to the device.
> Will GApps be working too ?
Yes, overlayfs is a thing, just like how magisk works systemlessly.

If you don't like it, blame Google and buy devices that comes with Android 9.
 

Attachments

  • Screenshot_2020-06-03-18-02-14.png
    Screenshot_2020-06-03-18-02-14.png
    89.4 KB · Views: 733
Last edited:
  • Like
Reactions: Kevin Saiza

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
New build is out, version 3.3.1-2

Changelog
- Support direct .ozip (Realme Stock ROM) flash

Disclaimer
Flashing stock ROM will make twrp gone, to preserve it, follow this step :
- Flash stock ROM .ozip
- Flash patched-vbmeta-v2.img
- Flash OF_avb_patcher.zip
- done, you can also reflash Magisk if you want, or just reboot

Download
https://drive.google.com/drive/folders/175UVgYa2PuKsb87VBQnOtAMxTi2OumRz
patched-vbmeta-v2.img and OF_avbpatcher.zip already in the Google Drive too
 

Felix Siahaan

Senior Member
Aug 1, 2017
67
17
Jakarta
New build is out, version 3.3.1-2

Changelog
- Support direct .ozip (Realme Stock ROM) flash

Disclaimer
Flashing stock ROM will make twrp gone, to preserve it, follow this step :
- Flash stock ROM .ozip
- Flash patched-vbmeta-v2.img
- Flash OF_avb_patcher.zip
- done, you can also reflash Magisk if you want, or just reboot

Download
https://drive.google.com/drive/folders/175UVgYa2PuKsb87VBQnOtAMxTi2OumRz
patched-vbmeta-v2.img and OF_avbpatcher.zip already in the Google Drive too

So the steps are :
- Flash stock ROM .ozip
- Flash patched-vbmeta-v2.img
- Flash TWRP
- Flash OF_avb_patcher.zip (from TWRP)
- Done, you can also reflash Magisk if you want, or just reboot

Are they correct steps or not?
 
  • Like
Reactions: nullxception

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
So the steps are :
- Flash stock ROM .ozip
- Flash patched-vbmeta-v2.img
- Flash TWRP
- Flash OF_avb_patcher.zip (from TWRP)
- Done, you can also reflash Magisk if you want, or just reboot

Are they correct steps or not?
Nah, you don't have to reflash twrp.
Recovery will be replaced by the system if you start booting a system that didn't yet patched.
 

Rizezky

Member
Sep 26, 2013
46
14
Do you think we can flash and boot A10 gsis with it despite the twrp and A10 condition currently?
Also i've read in Oneplus 8 twrp thread that the best way to backup currently is using img format, is it also true on this build?
 

nullxception

Member
Nov 24, 2019
48
132
Vallis Rheita
Do you think we can flash and boot A10 gsis with it despite the twrp and A10 condition currently?
Also i've read in Oneplus 8 twrp thread that the best way to backup currently is using img format, is it also true on this build?
GSI ? Idk, I'm not interested in that.

Backing up the ROM ?
You can backup super partition because both system and vendor are inside of it,
but also you have to backup the vbmeta_system and vbmeta_vendor too, I'll make an another build that can backup both vbmetas.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Code:
    /*
     * Your warranty is now void (or isn't ? who am I to judge ?)
     *
     * 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.
     *
     */

    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.

    Current status

    Working :
    - TWRP boots
    - /data decryption is working
    - system and vendor partitions are mountable but you can't modify them
    - You can flash magisk and modules, or custom kernel (if that's even exists since our kernel source is total mess and broken)
    - Flashing stock rom.ozip works

    Not working :
    - USB OTG works now
    - Partition formatting doesn't works (upstream)

    Installation
    Direct booting (fastboot boot twrp.img) is not possible, so we just have to flash it like normal
    1. Disable verified boot first
    Code:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    2. Flash downloaded twrp
    Code:
    fastboot flash recovery twrp.img
    3. Reboot to recovery
    Code:
    fastboot reboot recovery

    Download
    Google Drive

    Source code
    https://github.com/nullxception/twrp_device_realme_RMX2061

    Thanks to @simonsmh @mauronofrio @bigbiff and many other opensource TWRP devs

    XDA:DevDB Information
    Unofficial TWRP for Realme 6 Pro, Tool/Utility for the Realme 6 Pro

    Contributors
    nullxception
    Source Code: https://github.com/nullxception/twrp_device_realme_RMX2061


    Version Information
    Status: Stable
    Current Stable Version: 3.3.1-3
    Stable Release Date: 2020-06-08

    Created 2020-05-31
    Last Updated 2020-06-08
    4
    Reserved

    Flashing stock ROM will make twrp gone, to preserve it, follow this step :
    - Flash stock ROM .ozip
    - Flash patched-vbmeta-v2.img
    - Flash OF_avb_patcher.zip
    - done, you can also reflash Magisk if you want, or just reboot

    Changelog

    3.3.1-3
    - Support flash-backup-restore vbmeta_system and vbmeta_vendor

    3.3.1-2
    - Support direct .ozip (Realme Stock ROM) flash

    3.3.1-1
    - Fix USB OTG not detected

    3.3.1-0
    - Initial Release
    4
    Hi guys!
    I have to stop the development of my unofficial twrp build because I don't own Realme 6 Pro anymore.
    The sources (customized bootable/recovery/ and device/realme/RMX2061) for this device are still available at my GitHub page (if you want to fork it for research purposes or just looking around).

    Thanks for all the support given, and see you later :)
    3
    Ah it sucks that twrp hurdles with A10 hasn't been solved yet. 7 months already.
    Anyway did you build it yourself @nullxception? Thanks alot!
    A/B, SaR, now Dynamic Partition, Thanks to google for adding a new layout again and again XD
    3
    New build is out, version 3.3.1-1.

    Changelog
    - Fixed USB OTG not detected