[How-to] Flash GSI ROM for your Redmi K30 5G

Search This thread

siamese007

Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    Hello friends,

    I can now flash GSI on my Redmi K30 5G!
    The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
    1. boot to bootloader (fastboot mode)
    2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
    3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
    4. flash stock recovery.img
    fastboot flash recovery recovery.img
    5. enter fastbootd mode
    fastboot reboot fastboot
    6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
    fastboot flash system system.img
    7. wipe all data by entering the following command
    fastboot -w
    8. reboot your phone
    fastboot reboot

    My phone can boot GSI ROM with no problem with this method.

    Hope this helps.

    Edit: add screenshots from the phone with GSI ROM installed.
     

    Attachments

    • Screenshot_20210121-170440.png
      Screenshot_20210121-170440.png
      240.7 KB · Views: 165
    • Screenshot_20210121-171002.png
      Screenshot_20210121-171002.png
      220.5 KB · Views: 163
    Last edited:

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    Hello friends,

    I can now flash GSI on my Redmi K30 5G!
    The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
    1. boot to bootloader (fastboot mode)
    2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
    3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
    4. flash stock recovery.img
    fastboot flash recovery recovery.img
    5. enter fastbootd mode
    fastboot reboot fastboot
    6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
    fastboot flash system system.img
    7. wipe all data by entering the following command
    fastboot -w
    8. reboot your phone
    fastboot reboot

    My phone can boot GSI ROM with no problem with this method.

    Hope this helps.

    Edit: add screenshots from the phone with GSI ROM installed.
    Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
     

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?

    GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
    I found this Oxygen GSI ROM here.
     

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
    I found this Oxygen GSI ROM here.
    I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?

    btw which GSI ROM you are using?
     

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?

    btw which GSI ROM you are using?

    If you followed my method correctly but get bootloop, it means this GSI ROM is not compatible with the device. You need to look for the others. You can test flashing GSI ROMs by using phhusson's GSI ROMs here. His ROMs are the most success ROMs so far. I always use his ROMs to test flashing GSI ROMs for any devices before looking for other ROMs to suit my needs.

    There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
     

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
    There are no other ROMs in that link. Only AOSP.
     

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    It should be less than 5-10 minutes after the GSI logo boot up.
    Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
    CherishOS: bootloop (logo)
    Corvus 15.0: bootloop (logo)
    Pixel S : bootloop (Redmi logo)
    OxygenOS : bootloop (Redmi logo)
    AOSP (latest) : bootloop (logo)

    Don't know what's wrong with my phone 😢

    Note: I only tested Android 11 GSIs
     

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
    CherishOS: bootloop (logo)
    Corvus 15.0: bootloop (logo)
    Pixel S : bootloop (Redmi logo)
    OxygenOS : bootloop (Redmi logo)
    AOSP (latest) : bootloop (logo)

    Don't know what's wrong with my phone 😢

    Note: I only tested Android 11 GSIs

    It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
    However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.

    Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.

    Edit2: Here is the link to download updated firmware for K30 5G.
     
    Last edited:

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
    However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.

    Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.

    Edit2: Here is the link to download updated firmware for K30 5G.
    My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?

    I have OrangeFOX recovery, will that work for flashing GSI ROM?
     

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?

    I have OrangeFOX recovery, will that work for flashing GSI ROM?

    Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.

    This Recovery should be able to flash Android 11 GSI ROMs here.
    So you can flash Vanilla version of GSI and flash GAPPS later.
    I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.

    By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.

    Edit: Please note that if you could boot up GSI Logos but get bootloop, it's usually because firmware issues. However there are some GSI ROMs that are not compatible with the firmwares of the devices.
    Flashing GSI ROMs are pure OS with no firmwares for Android devices which supports Project Treble like installing Windows on PC. Before that the manufacturers have to build Stock ROMs with firmwares. Right now the manufacturers just build firmwares. This is the main concept of Project Treble.
     
    Last edited:

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.

    This Recovery should be able to flash Android 11 GSI ROMs here.
    So you can flash Vanilla version of GSI and flash GAPPS later.
    I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.

    By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
    Ok, I have downloaded TWRP3.5 for this device and will flash latest China stable firmware (12.1.6 for K30 5G). I will try those A11 GSI again and also downloaded A10 based OxygenOS GSI.
    Let's see what happen....
     

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.

    For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
     

    Digitalsatya8

    New member
    Apr 22, 2021
    1
    0
    Urikar Pro 3 Massage Gun Video Review:

    Speed Test on Coca-cola



    Urikar released a brand new percussion gun - Pro 3 recently. This massage gun uses a high-torque brushless motor equipped with QuietPower™ 2.0 technology, which quietly delivers up to 45lbs of no-install force at up 3400 rpm and stimulates muscle groups to a depth of 14mm. It quickly relieves muscle tension, promotes circulation, greatly accelerates muscle recovery, and brings deep-level comfort.



    Also, the most important feature that set Urikar Pro 3 apart from competitors is the 30 speed levels. Pro 3 provides 30 speed levels ranging between 1800-3400rpm. Whether it's for muscle relaxation after exercise, or just a gentle daily massage, you'll find the right speed for you.






    A fresh video shows how the different speed levels of Pro 3 have impact on the coca-cola, the higher speed you use, the greater amplitude formed and the more small bubbles generate. so, you can tell how powerful the massage gun is and the differences between each speed. The Speed 1-6 focuses on muscle activation, Speed 7-12 is mainly for muscle relaxation, while if you want a post-workout relax, I will recommend you to select the Speed 13-18. For fitness enthusiast, just select the professional level, speed 19-24, if you are a professional athletes, then the speed 25-30 is just right for you.



    This massage gun comes 6 interchangeable massage heads to target all muscle groups. Pro 3 helps you to relax muscle tissues across the whole body in a way that's comfortable and effortless.



    Key Features of Pro 3



    Deliver 45lbs of no-install force at up 3400 rpm with the latest QuietPower 2.0 technology.

    30 speed levels to adapts to the needs of all users.

    180°rotating arm helps you easily reach harder-to-reach areas.

    42dB ultra-low noise that enables you to enjoy a quiet massage anywhere.

    6 massage heads available to take care of each muscle group.

    2600mAh battery capacity provides 10-hour battery life.



    Now, this high power yet quiet massage is available on Amazon with huge discount, just visit and go get one.

    Urikar creates many high-quality massage guns in addition to the Pro 3. The Urikar Pro 2 is another entry in their product line-up, which is for people that want a heated massage gun. Using the 3+1 smart modes, you can choose between constant speed, intermittent, ladder, and heating modes. You’ll also find the 180° rotating arm, eight separate attachments, and a 65W brushless motor.

    To learn more about Urikar products, visit Urikar's website.
     

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.

    For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition
    Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
    So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).

    Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
     

    abhi281

    Senior Member
  • Jun 21, 2017
    53
    6
    Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.

    For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
    No A10 OxygenOS is working.

    But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)

    Descendant XI - https://downloads.descendant.me/Home/Latest

    version: Latest (February 2021 patch)

    Working: Everything

    Issues:
    1. some screen flickering for 2-3 seconds after reboot/boot the phone
    2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
    3. No built-in Camera app
     
    • Like
    Reactions: siamese007

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    No A10 OxygenOS is working.

    But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)

    Descendant XI - https://downloads.descendant.me/Home/Latest

    version: Latest (February 2021 patch)

    Working: Everything

    Issues:
    1. some screen flickering for 2-3 seconds after reboot/boot the phone
    2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
    3. No built-in Camera app

    Glad that you could flash some GSI ROMs successfully. Actually other than Descendant XI ROM, I could flash and boot some other ROMs as follow:
    1. crDroid A11
    2. Fluid OS A11
    3. Nusantara OS A11
    4. StagOS A11
    5. LineageOS A11
    6. Havoc OS A11
    You can find a big vault of GSI ROMs here. There are tens of GSI ROMs to test as far as their unpacked file sizes do not exceed /system partition of the target devices.

    Right now crDroid is my most favorite GSI ROM. You can download and test it here.
    The reasons why I like this ROM are from stability and least issues and glitches.
    I have tested tens of GSI ROMs and many of them have some issues for playing games which fully utilize hardware resources.
    When I tested playing games on some ROMs, the games will crash within 15 minutes. But on crDroid ROM, I could play as long as hours with no problem at all.
    There are some other glitches about playing streaming VDOs for some other ROMs as well.

    By the way, there are different versions of crDroid from different developers. But I tested crDroid ROMs from the link above.

    Edit: I usually download Open Camera app for Camera. This app works well just like the camera app that comes with MIUI.
     
    Last edited:

    siamese007

    Senior Member
  • Oct 8, 2017
    186
    40
    Bangkok
    Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
    So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).

    Note: I have flash latest stable China firmware before flashing GSI ROMs as you said

    Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
    If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 1
      Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.

      For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
      No A10 OxygenOS is working.

      But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)

      Descendant XI - https://downloads.descendant.me/Home/Latest

      version: Latest (February 2021 patch)

      Working: Everything

      Issues:
      1. some screen flickering for 2-3 seconds after reboot/boot the phone
      2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
      3. No built-in Camera app
    • 1
      Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.

      For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
      No A10 OxygenOS is working.

      But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)

      Descendant XI - https://downloads.descendant.me/Home/Latest

      version: Latest (February 2021 patch)

      Working: Everything

      Issues:
      1. some screen flickering for 2-3 seconds after reboot/boot the phone
      2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
      3. No built-in Camera app
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone