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

How To Guide Realme GT TWRP release [RMX2202]

Search This thread

qiurigao

Senior Member
Oct 11, 2016
130
57
JIAGNXI
One, toss
The first stage: transplant OnePlus 9Pro's TWRP can be directly booted, and even the kernel is universal. But the private partition at the beginning of my_ cannot be mounted (because the default init only mounts fstab.qcom, and then oppo modifies init by itself and adds oplus.fstab) into the system incompletely. TWRP is normal.
The second stage: found a magisk compiled by a big guy on github, and added the init code to mount oplus.fstab from the source code, so that the my_ partition is mounted. Everything is normal when entering the system. Very good, you can go to see the code if you are interested. By the way, ported to init of twrp to support ColorOS 11 code location:
https : //github.com/vvb2060/Magisk/commit/b225e2b40570cea925cb73b3f9414447762bcafd
Screenshot_2021-08-20-14-14-11-45_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Second, brush in
The premise is that the bootloader must be unlocked. Two solutions are currently available
1. Brush into TWRP through Magisk module (recommended)
In theory, it is suitable for any version of the system, because this method will extract the current system version kernel production and write it to boot. First, you need to root normally and then flash into the TWRP module. Uninstall the current official magsik app using https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk provided below. After completion, the phone enters fastboot mode, press the volume key to switch to Recovery and confirm with the power key to enter TWRP.
2. Start TWRP via fstaboot
The phone enters the fastboot mode, and the Android SDK environment runs the following command
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
Turn off avb verification
fastboot flash vendor_boot vendor_boot_mod.img
Avb_keys=/vendor/etc/oplus_avb.pubkey in this file is deleted
(Remove the fstab flag avb in vendor_boot)
d3b65d4c4171cfbf4deb3a9d950be142.jpg

fastboot boot gt_twrp.img
Start temporary TWRP, select Advanced Install TWRP to restart the phone. magsik app uses https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk provided below
Three, concluding remarks
The Snapdragon 888 processor has a lot of TWRP. The difficulty is that the my_ partition table of the official ColorOS 11 system is in oplus.fstab. Init does not load this partition table by default. It is still mounted indirectly through alpha Magisk. There should be no bugs at any time. Feedback To me.
Download link:https://www.androidfilehost.com/?w=files&flid=327679
 

Attachments

  • TWRP.GT888 Magisk Module install.v1.2.zip
    20.3 MB · Views: 133
  • Magisk_Alpha.apk
    10 MB · Views: 75
Last edited:

Getodacul

Member
Jul 7, 2012
5
2
Nobody want to try? I think the risk to brick the device is too high. Everybody wait to see what happend.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    One, toss
    The first stage: transplant OnePlus 9Pro's TWRP can be directly booted, and even the kernel is universal. But the private partition at the beginning of my_ cannot be mounted (because the default init only mounts fstab.qcom, and then oppo modifies init by itself and adds oplus.fstab) into the system incompletely. TWRP is normal.
    The second stage: found a magisk compiled by a big guy on github, and added the init code to mount oplus.fstab from the source code, so that the my_ partition is mounted. Everything is normal when entering the system. Very good, you can go to see the code if you are interested. By the way, ported to init of twrp to support ColorOS 11 code location:
    https : //github.com/vvb2060/Magisk/commit/b225e2b40570cea925cb73b3f9414447762bcafd
    Screenshot_2021-08-20-14-14-11-45_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

    Second, brush in
    The premise is that the bootloader must be unlocked. Two solutions are currently available
    1. Brush into TWRP through Magisk module (recommended)
    In theory, it is suitable for any version of the system, because this method will extract the current system version kernel production and write it to boot. First, you need to root normally and then flash into the TWRP module. Uninstall the current official magsik app using https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk provided below. After completion, the phone enters fastboot mode, press the volume key to switch to Recovery and confirm with the power key to enter TWRP.
    2. Start TWRP via fstaboot
    The phone enters the fastboot mode, and the Android SDK environment runs the following command
    fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
    Turn off avb verification
    fastboot flash vendor_boot vendor_boot_mod.img
    Avb_keys=/vendor/etc/oplus_avb.pubkey in this file is deleted
    (Remove the fstab flag avb in vendor_boot)
    d3b65d4c4171cfbf4deb3a9d950be142.jpg

    fastboot boot gt_twrp.img
    Start temporary TWRP, select Advanced Install TWRP to restart the phone. magsik app uses https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk provided below
    Three, concluding remarks
    The Snapdragon 888 processor has a lot of TWRP. The difficulty is that the my_ partition table of the official ColorOS 11 system is in oplus.fstab. Init does not load this partition table by default. It is still mounted indirectly through alpha Magisk. There should be no bugs at any time. Feedback To me.
    Download link:https://www.androidfilehost.com/?w=files&flid=327679
    1
    I have created a telegram group for our device (Realme GT CN) : https://t.me/joinchat/f_BKyXKieetkMjlk
    1
    Can you shear the step plz
    install Zip file on Magisk