[MultiROM] MultiROM for Polaris [28.01.20]

Search This thread

__ART1st__

Member
Feb 16, 2019
11
17
New member, had to post it in this section.

This is a test version of MultiROM.

WARNING
It is DANGEROUS to flash MultiROM to your device. It can cause data loss. If you have important files on your phone, NEVER try to do that.

Introduction
MultiROM is a boot manager that allows you to flash multiple roms into the device.
This port for Polaris is based on Tasssadar's work and Vasishath's modification. It seems to work fine now.
You can refer to Vasishath's original post for installation guide.
Reference Links:
[XDA Thread] https://forum.xda-developers.com/poco-f1/development/multirommiui-custom-roms-gsi-t3868734
[Github][MultiROM] https://github.com/ARTI5T/multirom
[Github][Modified-TWRP] https://github.com/ARTI5T/android_bootable_recovery
Download link is below.

Notes:
* You can use MultiROM only with decrypted devices.
* Flash a patch to disable force encryption after flash a ROM with force encryption.
* Don't manually encrypt your data in any ROMs.
* If you want to flash treble GSI, choose A-only images.
** Flashing A/B GSI is theoretically possible if you flash it to a secondary ROM which supports system-as-root. (NOT TESTED)
* Unfortunately, until now, we cannot update a secondary ROM with treble GSI. Now you can update a secondary ROM with system.img.
* Always backup your file before flashing. Especially boot.img or boot partition.
* Be careful with your lockscreen password. You can only set password in either primary ROM or secondary ROMs. Refer to vasishath's thread for more details.
* Not all ROMs are compatible with MultiROM.
* Android 10 can be flashed as a primary ROM. If you have an android 10 ROM as primary, you need an android 9 boot.img and vendor.img in case you have GSIs based on android 9.

Known issue:
* Sometimes touch in TWRP or MultiROM boot screen doesn't work. If you are in TWRP, just reboot. If you are in boot screen, you can also reboot or use volumn +/- instead.
* If you want to uninstall MultiROM, you may need to flash the stock boot.img (In case it can't boot). So please backup your boot.img before flashing.
* Still some bugs with system/vendor compatibility verification. If you meet such errors, please flash a "base firmware" (e.g., MIUI) first, and then flash your zip in "List ROMs".
* In some rare cases, flashing a zip in secondary ROMs may cause primary ROM damage.

This port is only for DECRYPTED device. Don't flash if your device is encrypted.

Please BACKUP before you flash MultiROM.
We're not responsible for any loss caused by this modification.


Download link:
[Google Drive] https://drive.google.com/drive/folders/1C2d3GQT5WVsw83XU6J5qA_oJOYMxyXNX?usp=sharing
 
Last edited:

__ART1st__

Member
Feb 16, 2019
11
17
Update Log:
28-01-20: Support Android 10 as secondary ROMs. Fix bugs which in some cases cause error 7 when flashing.
17-08-19: Add "Install system.img/vendor.img" in "List ROMs".
16-08-19: Add "skip compatibility verify". Fix some small bugs.
15-08-19: Merge omnirom 3.3.1 source code.
14-08-19: Initial release

Tested on:MIUI11(Android10);ArrowOS(Android 10);LOS17;Flyme8(Android9)
 
Last edited:

Firipu

Senior Member
Mar 7, 2011
263
58
I'm having some issues with flashing error for the secondary ROMS. I always get a different error, but from what I can see, they are "outdated" TWRP errors.

Primary ROM is RR. Appears to work.

When I flash a secondary ROM I get:
Pixel3: Zip Treble compatability error. Invalid zip file format.
Arrow: Zip Treble compatability error. Invalid zip file format.

Downloading a few other roms to test, but probably the same error :p

Any solution?

edit:
Started completely over from scratch. Completely wiped data, installed latest vendor/firmware/ etc...

Still have the same issue, but different flashing error:

With pixel3rom
"string resource 'zip_compatible_err' not found.
Using default value.
ZIP Treble compatibility error!
invalid zip file format.

And then it just aborts.

With arrow OS:
Zip treble compatibility error
invalid zip file format

And then it just aborts.
 
Last edited:

__ART1st__

Member
Feb 16, 2019
11
17
I'm having some issues with flashing error for the secondary ROMS. I always get a different error, but from what I can see, they are "outdated" TWRP errors.

Primary ROM is RR. Appears to work.

When I flash a secondary ROM I get:
Pixel3: Zip Treble compatability error. Invalid zip file format.
Arrow: Zip Treble compatability error. Invalid zip file format.

Downloading a few other roms to test, but probably the same error :p

Any solution?
Yes, the recovery is outdated (version 3.2.3-0). Vasishath's repository hasn't been updated yet. You can try to delete compatibility.zip in the zip file and see if it works. I've only tested some old Roms (RR treble, pixel experience) and they worked fine. I will also try to merge new features from official TWRP. BTW, I am just an amateur developer so maybe it will take some time or even not possible.
 

Firipu

Senior Member
Mar 7, 2011
263
58
Yes, the recovery is outdated (version 3.2.3-0). Vasishath's repository hasn't been updated yet. You can try to delete compatibility.zip in the zip file and see if it works. I've only tested some old Roms (RR treble, pixel experience) and they worked fine. I will also try to merge new features from official TWRP. BTW, I am just an amateur developer so maybe it will take some time or even not possible.

Tried to remove the compatibility.zip and did it again.

This time I get an error 7 (also has to do with old twrp...)
 

Kripton_

New member
Jul 21, 2016
1
0
Im having error 7 when installing multirom zip, i am in MIUI EU 9.8.9 now, does that has anything to be with it? im really looking forware to install it but i dint know the issue, maybe it has to be with the updater script, i dont know.

Edit, even tho it showed error 7 when flashing mulrom zip, everything seems to work just fine. Should i reinstall it or is it ok?
 
Last edited:

paulojorjealmeida

Senior Member
Dec 18, 2011
197
46
Im having error 7 when installing multirom zip, i am in MIUI EU 9.8.9 now, does that has anything to be with it? im really looking forware to install it but i dint know the issue, maybe it has to be with the updater script, i dont know.

Edit, even tho it showed error 7 when flashing mulrom zip, everything seems to work just fine. Should i reinstall it or is it ok?
Install fw+vendor 9.7.25.eu,for me resolve the problem

Sent from my [device_name] using XDA-Developers Legacy app
 

__ART1st__

Member
Feb 16, 2019
11
17
Im having error 7 when installing multirom zip, i am in MIUI EU 9.8.9 now, does that has anything to be with it? im really looking forware to install it but i dint know the issue, maybe it has to be with the updater script, i dont know.

Edit, even tho it showed error 7 when flashing mulrom zip, everything seems to work just fine. Should i reinstall it or is it ok?
Are you sure your are using MIX2S Polaris? Not Mi8 or Poco F1 or MIX3?
 

Writesin

Member
Jan 6, 2017
20
0
It works fine on my device,I use Android Q gsi for internal,the MIUI is secondary.the problem is higher version of MIUI couldn't boot,it just reboot to recovery after "mix" logo on MIUI stable 10.3.4.0.
 
Last edited:

__ART1st__

Member
Feb 16, 2019
11
17
It works fine on my device,I use Android Q gsi for internal,the MIUI is secondary.the problem is higher version of MIUI couldn't boot,it just reboot to recovery after "mix" logo on MIUI stable 10.3.4.0.
Did you boot any version of MIUI successfully? Could you try another version to see if it can boot? It can sometimes be the ROM's problem. If it still fails to boot, please tell me the version that can boot and the version which can't boot. But I am a student so maybe not too much time on debugging:eek:.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    New member, had to post it in this section.

    This is a test version of MultiROM.

    WARNING
    It is DANGEROUS to flash MultiROM to your device. It can cause data loss. If you have important files on your phone, NEVER try to do that.

    Introduction
    MultiROM is a boot manager that allows you to flash multiple roms into the device.
    This port for Polaris is based on Tasssadar's work and Vasishath's modification. It seems to work fine now.
    You can refer to Vasishath's original post for installation guide.
    Reference Links:
    [XDA Thread] https://forum.xda-developers.com/poco-f1/development/multirommiui-custom-roms-gsi-t3868734
    [Github][MultiROM] https://github.com/ARTI5T/multirom
    [Github][Modified-TWRP] https://github.com/ARTI5T/android_bootable_recovery
    Download link is below.

    Notes:
    * You can use MultiROM only with decrypted devices.
    * Flash a patch to disable force encryption after flash a ROM with force encryption.
    * Don't manually encrypt your data in any ROMs.
    * If you want to flash treble GSI, choose A-only images.
    ** Flashing A/B GSI is theoretically possible if you flash it to a secondary ROM which supports system-as-root. (NOT TESTED)
    * Unfortunately, until now, we cannot update a secondary ROM with treble GSI. Now you can update a secondary ROM with system.img.
    * Always backup your file before flashing. Especially boot.img or boot partition.
    * Be careful with your lockscreen password. You can only set password in either primary ROM or secondary ROMs. Refer to vasishath's thread for more details.
    * Not all ROMs are compatible with MultiROM.
    * Android 10 can be flashed as a primary ROM. If you have an android 10 ROM as primary, you need an android 9 boot.img and vendor.img in case you have GSIs based on android 9.

    Known issue:
    * Sometimes touch in TWRP or MultiROM boot screen doesn't work. If you are in TWRP, just reboot. If you are in boot screen, you can also reboot or use volumn +/- instead.
    * If you want to uninstall MultiROM, you may need to flash the stock boot.img (In case it can't boot). So please backup your boot.img before flashing.
    * Still some bugs with system/vendor compatibility verification. If you meet such errors, please flash a "base firmware" (e.g., MIUI) first, and then flash your zip in "List ROMs".
    * In some rare cases, flashing a zip in secondary ROMs may cause primary ROM damage.

    This port is only for DECRYPTED device. Don't flash if your device is encrypted.

    Please BACKUP before you flash MultiROM.
    We're not responsible for any loss caused by this modification.


    Download link:
    [Google Drive] https://drive.google.com/drive/folders/1C2d3GQT5WVsw83XU6J5qA_oJOYMxyXNX?usp=sharing
    3
    Update Log:
    28-01-20: Support Android 10 as secondary ROMs. Fix bugs which in some cases cause error 7 when flashing.
    17-08-19: Add "Install system.img/vendor.img" in "List ROMs".
    16-08-19: Add "skip compatibility verify". Fix some small bugs.
    15-08-19: Merge omnirom 3.3.1 source code.
    14-08-19: Initial release

    Tested on:MIUI11(Android10);ArrowOS(Android 10);LOS17;Flyme8(Android9)
    2
    I'm having some issues with flashing error for the secondary ROMS. I always get a different error, but from what I can see, they are "outdated" TWRP errors.

    Primary ROM is RR. Appears to work.

    When I flash a secondary ROM I get:
    Pixel3: Zip Treble compatability error. Invalid zip file format.
    Arrow: Zip Treble compatability error. Invalid zip file format.

    Downloading a few other roms to test, but probably the same error :p

    Any solution?
    Yes, the recovery is outdated (version 3.2.3-0). Vasishath's repository hasn't been updated yet. You can try to delete compatibility.zip in the zip file and see if it works. I've only tested some old Roms (RR treble, pixel experience) and they worked fine. I will also try to merge new features from official TWRP. BTW, I am just an amateur developer so maybe it will take some time or even not possible.
    2
    Tried to remove the compatibility.zip and did it again.

    This time I get an error 7 (also has to do with old twrp...)
    Okay. I'll try to update my code. Perhaps a looooooong time:rolleyes:
    1
    Tried to remove the compatibility.zip and did it again.

    This time I get an error 7 (also has to do with old twrp...)

    Now you can try the new recovery.img with version 3.3.1 and let me know the result. It may fix that issue (haven't tested yet myself:p)