MultiROM [Beryllium][Miui/custom roms/GSI][06-12-2020]

Search This thread

vasishath

Senior Member
Nov 30, 2013
884
5,359
31
Chandigarh
Xiaomi Poco F1
Xiaomi Poco F3
Introduction

vh3puLb.png


MultiROM is one-of-a-kind multi-boot mod. It can boot any Android ROM. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs.​
Features:​
* Multiboot any number of Android ROMs​
* Restore nandroid backup as secondary ROM​
* Boot from USB drive attached via OTG cable​

Warning!

It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.​

Installation
Firstly, there are videos on youtube. If you want, just search for "MultiROM installation" on youtube and watch those, big thanks to all who made them. There is also an awesome article on Linux Journal.​
You can install it from this guide:
MultiROM has 2 parts you need to install:​
  • MultiROM - download the ZIP file from second post and flash it in recovery.
  • Modified recovery - download the IMG file from second post and use fastboot or Flashify app to flash it.
    You current rom will not be erased by the installation.
    Download links are in the second post.


Adding ROMs
1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.​

Using USB drive
Not tested​

Updating/changing ROMs

1. Primary ROM (Internal)
  • Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
  • Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.
2. Secondary Android ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:​
  • Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
  • Select "Flash ZIP" and flash ROM's ZIP file.

Source code
MultiROM - https://github.com/vasishath/multirom/commits/android-10


* There is currently no way to upgrade a secondary GSI.
* All secondary ROMs reboot to MultiROM menu upon first boot. Just boot the same ROM again it will work.
* Some visual tearing in MultiROM menu.

Please report all your issues here:
https://github.com/vasishath/multirom/issues

Thanks a lot to Tasssadar for creating this awesome utility.

Join Official POCO Telegram group

XDA:DevDB Information
Multirom, ROM for the Xiaomi Poco F1

Contributors
vasishath, shahan_mik3
Source Code: https://github.com/vasishath/multirom/commits/android-10

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Multirom TWRP is required

Version Information
Status:
Beta
Current Beta Version: v1
Beta Release Date: 2018-11-18

Created 2018-11-18
Last Updated 2019-07-14
 

Attachments

  • a.png
    a.png
    75.3 KB · Views: 23,038
  • b.png
    b.png
    61.8 KB · Views: 22,458
  • c.png
    c.png
    140.7 KB · Views: 22,329
  • d.png
    d.png
    72.1 KB · Views: 21,012
  • e.png
    e.png
    144.1 KB · Views: 20,484
  • f.png
    f.png
    76.1 KB · Views: 20,406
Last edited:

vasishath

Senior Member
Nov 30, 2013
884
5,359
31
Chandigarh
Xiaomi Poco F1
Xiaomi Poco F3
# MultiROM FAQs​

• Do I have to flash any patched kernel ?
No you dont have to flash any patched kernel

• Does it support encrypted devices ?
Yes it does. You can use it on encrypted/non-encrypted device without any issues.

• Cool. But my secondary ROM shows phone not encrypted. Why ?
Multirom handles encryption transparently and hence the second ROM will never come to known that its encrypted. Never try to encrypt phone using secondary ROM. I repeat.. Never.

• Can I use a ROM newer than my primary ROM ?
Yes you can.

• Can I use a ROM older than my primary ROM ?
If you're encrypted.. No. Because of anti rollback protection in keymaster. But if you're not encrypted.. Yes. Since multirom build 20181211, you can flash older ROMs as well.

• What will happen to my other partitions if I flash MIUI as secondary ?
If you flash MIUI as secondary then all partitions except system,vendor and data will not be overwritten. However, if u want to use a new modem image (firmware.img) from a new miui build, u can use "Set radio.img" functionality in Multirom recovery and use the new firmware.img here.
But i will still recommend flashing a new MIUI to primary first to avoid any confusion.

• How do I flash a GSI ?
Its very simple. Just extract the .img file out of the gsi zip (this step is not needed if ur gsi provides an .img file directly for download). Then use this image with "GSI image" button when adding a ROM.

• Nice. Does Magisk work ?
Yes (as of magisk v17.1). For primary ROM, you *have* to flash magisk *first* and then multirom zip in case u want to use Magisk. Reversing the order will lead to magisk not working.

For secondary ROMs, Make sure you don't uncheck "System partition Mode" checkmark during adding secondary ROM. Then use "install zip" function in multirom recovery to flash magisk zip in the usual way. Whats more.. if u flash a GSI as secondary and ur primary ROM is rooted, ur GSI becomes automatically rooted with magisk.

• Can I flash a ROM on my USB drive ?
I don't expect it to work for now. However, it maybe fixed in future.

• Can i flash a ROM on my sdcard ?
I haven't tested this. It may or may not be possible.

• Can I set a PIN/pattern/password/fingerprint/face lock on my secondary ROM ?
Yes but if u do set, make sure your primary ROM doesnt have any kind of password set. Because even if u set the same password in secondary, u will be locked out of ur primary ROM. Flash this zip (https://drive.google.com/open?id=1tz2vq8vzVNs2s3NhcLp0UFAwJ2SyPgOL) to remove the security lock if u accidentally lock it.

You can use PIN/pattern/password on primary ROM alone though. Just do not set a PIN/pattern/password on both primary and secondary.
 
Last edited:

vasishath

Senior Member
Nov 30, 2013
884
5,359
31
Chandigarh
Xiaomi Poco F1
Xiaomi Poco F3
Last edited:

Mike0505

Senior Member
Jan 31, 2014
190
75
Finally yess ? ! Most awaited from me ?. Thanks you very much for this Tool. :victory::laugh::cowboy:
 

Jaskirat singh

Senior Member
Jun 27, 2013
266
115
i used this MOD way back in nexus 4 days, wow.i am so excited to check this out on my Poco F1. thanks for this!
 

palbadi

Senior Member
Mar 2, 2012
232
92
Is the kernel patch included in Multirom.. zip? So that I have to flash this every time when I change the primary rom?
 
Last edited:
  • Like
Reactions: Iam_Sahil

jakir69

Senior Member
Nov 5, 2015
90
29
i used to use multirom with my redmi 2 prime, primary miui and secondary mostly rr or pixel experience. now i will flash latest developer miui + latest los and give feedback
 

Top Liked Posts

  • There are no posts matching your filters.
  • 112
    Introduction

    vh3puLb.png


    MultiROM is one-of-a-kind multi-boot mod. It can boot any Android ROM. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs.​
    Features:​
    * Multiboot any number of Android ROMs​
    * Restore nandroid backup as secondary ROM​
    * Boot from USB drive attached via OTG cable​

    Warning!

    It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.​

    Installation
    Firstly, there are videos on youtube. If you want, just search for "MultiROM installation" on youtube and watch those, big thanks to all who made them. There is also an awesome article on Linux Journal.​
    You can install it from this guide:
    MultiROM has 2 parts you need to install:​
    • MultiROM - download the ZIP file from second post and flash it in recovery.
    • Modified recovery - download the IMG file from second post and use fastboot or Flashify app to flash it.
      You current rom will not be erased by the installation.
      Download links are in the second post.


    Adding ROMs
    1. Android
    Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.​

    Using USB drive
    Not tested​

    Updating/changing ROMs

    1. Primary ROM (Internal)
    • Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
    • Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.
    2. Secondary Android ROMs
    If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:​
    • Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
    • Select "Flash ZIP" and flash ROM's ZIP file.

    Source code
    MultiROM - https://github.com/vasishath/multirom/commits/android-10


    * There is currently no way to upgrade a secondary GSI.
    * All secondary ROMs reboot to MultiROM menu upon first boot. Just boot the same ROM again it will work.
    * Some visual tearing in MultiROM menu.

    Please report all your issues here:
    https://github.com/vasishath/multirom/issues

    Thanks a lot to Tasssadar for creating this awesome utility.

    Join Official POCO Telegram group

    XDA:DevDB Information
    Multirom, ROM for the Xiaomi Poco F1

    Contributors
    vasishath, shahan_mik3
    Source Code: https://github.com/vasishath/multirom/commits/android-10

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Multirom TWRP is required

    Version Information
    Status:
    Beta
    Current Beta Version: v1
    Beta Release Date: 2018-11-18

    Created 2018-11-18
    Last Updated 2019-07-14
    64
    Download Links

    Multirom Zip, Recovery and Uninstaller
    https://github.com/vasishath/multirom/releases

    Tested Roms:
    MIUI Pie, Lineage OS, Nitrogen Os, Benzo GSI

    Screenshots: thanks @ydd0ras for ss and testing
    1z683ut.jpg
    dgrzue.jpg



    Tutorial: (How to use Multirom) by @ydd0ras
    Check here
    : http://en.miui.com/forum.php?mod=viewthread&tid=4124048&mobile=2
    63
    # MultiROM FAQs​

    • Do I have to flash any patched kernel ?
    No you dont have to flash any patched kernel

    • Does it support encrypted devices ?
    Yes it does. You can use it on encrypted/non-encrypted device without any issues.

    • Cool. But my secondary ROM shows phone not encrypted. Why ?
    Multirom handles encryption transparently and hence the second ROM will never come to known that its encrypted. Never try to encrypt phone using secondary ROM. I repeat.. Never.

    • Can I use a ROM newer than my primary ROM ?
    Yes you can.

    • Can I use a ROM older than my primary ROM ?
    If you're encrypted.. No. Because of anti rollback protection in keymaster. But if you're not encrypted.. Yes. Since multirom build 20181211, you can flash older ROMs as well.

    • What will happen to my other partitions if I flash MIUI as secondary ?
    If you flash MIUI as secondary then all partitions except system,vendor and data will not be overwritten. However, if u want to use a new modem image (firmware.img) from a new miui build, u can use "Set radio.img" functionality in Multirom recovery and use the new firmware.img here.
    But i will still recommend flashing a new MIUI to primary first to avoid any confusion.

    • How do I flash a GSI ?
    Its very simple. Just extract the .img file out of the gsi zip (this step is not needed if ur gsi provides an .img file directly for download). Then use this image with "GSI image" button when adding a ROM.

    • Nice. Does Magisk work ?
    Yes (as of magisk v17.1). For primary ROM, you *have* to flash magisk *first* and then multirom zip in case u want to use Magisk. Reversing the order will lead to magisk not working.

    For secondary ROMs, Make sure you don't uncheck "System partition Mode" checkmark during adding secondary ROM. Then use "install zip" function in multirom recovery to flash magisk zip in the usual way. Whats more.. if u flash a GSI as secondary and ur primary ROM is rooted, ur GSI becomes automatically rooted with magisk.

    • Can I flash a ROM on my USB drive ?
    I don't expect it to work for now. However, it maybe fixed in future.

    • Can i flash a ROM on my sdcard ?
    I haven't tested this. It may or may not be possible.

    • Can I set a PIN/pattern/password/fingerprint/face lock on my secondary ROM ?
    Yes but if u do set, make sure your primary ROM doesnt have any kind of password set. Because even if u set the same password in secondary, u will be locked out of ur primary ROM. Flash this zip (https://drive.google.com/open?id=1tz2vq8vzVNs2s3NhcLp0UFAwJ2SyPgOL) to remove the security lock if u accidentally lock it.

    You can use PIN/pattern/password on primary ROM alone though. Just do not set a PIN/pattern/password on both primary and secondary.
    22
    New build released. Please check OP for updated links.

    Changes:-

    * Better support for android 10 and miui 11
    * Improved Stability
    * Support magisk 20+
    18
    New build uploaded. Link is in 3rd post as usual.

    Changes:-

    * Fix secondary Rom bootloop when security patch is lower than primary Rom.