[UNOFFICIAL] MultiROM v33 + TWRP 3.1.1 for ZUK Z1 (ham)

BitOBSessiOn

Senior Member
Feb 12, 2015
1,735
3,127
113
** Work in progress (Original thread here) **

To be able to run multiple ROMs on your system you need a Modded TWRP version (for flashing ROMs as secondary systems) and MultriROM utility to choose which ROM you want to boot, in this case, the NO-KEXEC version (no patched kernel needed).

Screenshots:





Disclaimer:
  • Remember: You use this under your own risk!

Notes:
  • I can't maintain this project... I don't have the device... and no time... so don't expect to be updated frequently, sorry.
  • If you are a developer and want to maintain, update or upgrade this project, let me know... I will try to give proper support.

Download (Latest TWRP and MultiROM):

Guide (short version....):
  • Flash TWRP-MROM modded and reboot in recovery mode
  • Flash MultiROM ZIP
  • Set No-Kexec option in settings for MultiROM from TWRP
  • Inject boot sector
  • Flash your favorite ROM as secondary from MultiROM menu
  • Reboot
  • Select ROM to boot from

*Your device must be unencrypted or MultiROM won't work !

Known Bugs:
  • Still a bug that prevents it from flashing IMG files, like recovery images, from TWRP...

Thanks:


XDA:DevDB Information
MultiROM, Tool/Utility for the Lenovo Zuk Z1

Contributors
BitOBSessiOn, acuicultor
Source Code: https://github.com/BitOBSessiOn/android_device_zuk_ham/tree/mm6.0-twrp-mrom


Version Information
Status: Testing
Current Beta Version: 2017.08.18
Beta Release Date: 2017-08-18

Created 2016-12-01
Last Updated 2017-08-18
 
Last edited:

psyckoze

Member
Mar 4, 2014
30
4
0
Dallas
This is awesome! Thanks for your dedication. I didn't expect this because you said you left zuk on the table. Than this happened. It escalated very quickly. Watching the development of this project has been really fun. I am so happy about the point where we arrived.
 

rradix

Senior Member
May 17, 2015
78
18
0
Hi, is there a possibility that the phone will lose sound when using this? I recently lost sound in all my ROMs including the primary rom after I used and flashed ROMs via multi rom twrp.

Any insights to this? Thanks.

Base ROM: ZUI 2.3.045
 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,037
10,864
263
Palma de Mallorca
Hi, is there a possibility that the phone will lose sound when using this? I recently lost sound in all my ROMs including the primary rom after I used and flashed ROMs via multi rom twrp.

Any insights to this? Thanks.

Base ROM: ZUI 2.3.045
Roms share partitions, means the firmware used in primary rom is same for all roms so if you flash a secondary rom not compatible with the current firmware you will face weird bugs, in your case roms not zui based will not work properly unless you flash the correct firmware.

Enviado desde mi ZUK Z1 mediante Tapatalk
 

OrdenKrieger

Senior Member
Dec 25, 2012
961
4,597
93
Hi, is there a possibility that the phone will lose sound when using this? I recently lost sound in all my ROMs including the primary rom after I used and flashed ROMs via multi rom twrp.

Any insights to this? Thanks.

Base ROM: ZUI 2.3.045
That may happen if you use the Stock ZUI rom also with multi rom. ZUI is using another kernel then all the roms on xda. You may remove ZUI and reflash other cm roms. That should work.
 

rradix

Senior Member
May 17, 2015
78
18
0
That may happen if you use the Stock ZUI rom also with multi rom. ZUI is using another kernel then all the roms on xda. You may remove ZUI and reflash other cm roms. That should work.
The use case is to get zui as the daily driver rom. Is it possible to do that if I make zui as a secondary rom (but auto boot to it?) Will the sound problem still exist?

Or is it really necessary to stop using zui rom altogether to avoid sound problems with multi rom?

Also, what is the cause of the sound problem? Is it the kernel? Cause based from what I read, multi rom uses a different kernel for each rom. So, it should not matter if my primary is zui since flashing secondaries won't touch the primary kernel. Any insights to this? Thanks!

---------- Post added at 02:28 PM ---------- Previous post was at 02:12 PM ----------

Roms share partitions, means the firmware used in primary rom is same for all roms so if you flash a secondary rom not compatible with the current firmware you will face weird bugs, in your case roms not zui based will not work properly unless you flash the correct firmware.

Enviado desde mi ZUK Z1 mediante Tapatalk
Okay. But why is sound in all ROMs primary and secondaries were bugged? Flashing secondaries should in theory not affect the primary ROM right? So the sound bug will appear on secondaries but not on the primary ROM. Am I getting this correct?
 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,037
10,864
263
Palma de Mallorca
The use case is to get zui as the daily driver rom. Is it possible to do that if I make zui as a secondary rom (but auto boot to it?) Will the sound problem still exist?

Or is it really necessary to stop using zui rom altogether to avoid sound problems with multi rom?

Also, what is the cause of the sound problem? Is it the kernel? Cause based from what I read, multi rom uses a different kernel for each rom. So, it should not matter if my primary is zui since flashing secondaries won't touch the primary kernel. Any insights to this? Thanks!

---------- Post added at 02:28 PM ---------- Previous post was at 02:12 PM ----------



Okay. But why is sound in all ROMs primary and secondaries were bugged? Flashing secondaries should in theory not affect the primary ROM right? So the sound bug will appear on secondaries but not on the primary ROM. Am I getting this correct?
Yes secondary roms don't affect primary in any way and kernels aren't shared between roms so doesn't matter what kernel you have in secondaries, the only kernel which can affect multirom is the one in primary rom if it have the kexec hardboot patch or not, if it have then you can boot secondaries without any work around in twrp, that's the only difference between kernels in mrom afaik.

Enviado desde mi ZUK Z1 mediante Tapatalk
 

rradix

Senior Member
May 17, 2015
78
18
0
Yes secondary roms don't affect primary in any way and kernels aren't shared between roms so doesn't matter what kernel you have in secondaries, the only kernel which can affect multirom is the one in primary rom if it have the kexec hardboot patch or not, if it have then you can boot secondaries without any work around in twrp, that's the only difference between kernels in mrom afaik.

Enviado desde mi ZUK Z1 mediante Tapatalk
Okay. Thanks for clarifying.

So secondaries should not mess up my kernel, recoveries and other partitions used by the primary rom. However, after flashing some secondaries, my old ZUK boot splash was replaced by a Linux penguin. I'm not that concerned about it but secondaries might be messing with my primary partitions (not sure).

Update : got sound working now. Un installing multirom is not enough. I refreshed the official twrp for Zuk Z1.

I'm still wondering what went wrong. Also I'm still getting that penguin in boot splash.

Update 2: after a second reboot, sound is gone again.
 
Last edited:

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,037
10,864
263
Palma de Mallorca
Okay. Thanks for clarifying.

So secondaries should not mess up my kernel, recoveries and other partitions used by the primary rom. However, after flashing some secondaries, my old ZUK boot splash was replaced by a Linux penguin. I'm not that concerned about it but secondaries might be messing with my primary partitions (not sure).

Update : got sound working now. Un installing multirom is not enough. I refreshed the official twrp for Zuk Z1.

I'm still wondering what went wrong. Also I'm still getting that penguin in boot splash.

Update 2: after a second reboot, sound is gone again.
Without any log is difficult to know what's happening btw i strongly doubt that multirom has nothing to do with any sound issue, for the changed boot image that can only happens if you flash a different one in primary slot. I'm using mrom since it wasn't public released, flashed several secondary roms and didn't face any issue.

Enviado desde mi ZUK Z1 mediante Tapatalk
 

rradix

Senior Member
May 17, 2015
78
18
0
Without any log is difficult to know what's happening btw i strongly doubt that multirom has nothing to do with any sound issue, for the changed boot image that can only happens if you flash a different one in primary slot. I'm using mrom since it wasn't public released, flashed several secondary roms and didn't face any issue.

Enviado desde mi ZUK Z1 mediante Tapatalk
Any tips on how to get logs?

I guess I'm on my own then. I'll try to figure this on out. Thanks for the info! ?

Update 3: got the sound working again. Refreshed zui except for the system partition. Let's see if this will stick.
 
Last edited:
  • Like
Reactions: acuicultor