yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] nachomagic:
Hi mates

i have a doubt abot the space multirooms uses

I have 3 roms and I would like to know how much space take up the secondaries. I go to backup (in each secondary menu) and I see how much space take up every filesystem (boot,system and data) but I wonder if each Rom takes up additional space (multirom boot partitions or whatever) or this is just the space a rom occupy.

I hope I have expain me

I ask It because I see 7GB lost in my SD and theoretically the secondaries takes up about 2 GB

Thanks in advance
[ONE Android Development] rocklee325:
Hello to all. I can't get the multirom menu to pull up after installation. I injected the boot sector, and i even reflashed the multirom zip. I even restarted the process by uninstalling multirom then reflashing. Still doesn't work. I couldn't find the answer when I searched for it in the thread. Any advice will be appreciated.
[ONE Android Development] JJohnson1988:
Is your /data partition F2FS?
[ONE Android Development] rocklee325:
My data partition is ext4.
[ONE Android Development] ksigit:
What is your primary ROM? Does the kernel has multirom support?
[ONE Android Development] FrenchSparda:
I can't also get boot menu since my cache and data are f2fs...multirom is supporting f2fs or not ?
[ONE Android Development] isoladisegnata:
When realize multirom for opt
[ONE Android Development] JJohnson1988:
As far as I know, it only supports ext4. The fstab file in the MultiROM directory has ext4 specified and not f2fs.
[ONE Android Development] House.m.d:
I am an TWRP 2.8.6.0 Multirom, Temasek 17.6 with AK308 on Primary Rom. Secondary Exodus with AK 310, third SultanXDA 12.1Caf Sultan Caf Kernel, and Temasek 17.7 CAF. When i install on Temasek AK023 Caf it boot once in Rom , al is good. If i Bpot Temasek twice it stuck in a Bootloop. I have to flash back Temasek Rom. Any Idea. AK Problem?
[ONE Android Development] rocklee325:
My primary ROM is SlimSaber CAF build. The stock kernel supports multirom also.
[ONE Android Development] néonaloj:
I (and am not the only one) have had problems with CAF rom as primary.

Try the run a CM rom as primary (with kernel with kexec support), and caf rom as secondary. It should work.
[ONE Android Development] rocklee325:
Used Blisspop as primary with ak kernel and mulltirom worked as it should. Going to hit your thanks button!
[ONE Android Development] pesaroso:
I'm having a weird issue. Running TWRP 2.8.7.0, installed Multirom through the Multirom Manager app, but when my phone boots, I don't get the multirom menu, so I can't switch between ROMs. I can still access Multirom through "Advanced" in TWRP and swap ROM's and all that, but the menu won't show. I even tried the Settings menu in TWRP-advanced-multirom to make it either timed or if I held down a button, still nogo.

Using Oneplus One running sultan's CM12.1 build as default ROM. Any ideas? :/
[ONE Android Development] sathish804:
Sultan's ROM is CAF and you can't use it as Primary. Few pages back Amit posted the v32l which can be used for CAF Primary ROM's. Flash that ZIP on Primary ROM everything will be good.
[ONE Android Development] Fast0n:
Please Fix MultiRom for android 6.0 Marshmallow!!!
[ONE Android Development] néonaloj:
You can already try MM on Multirom! The only thing is that you MUST flash it as primary. It's working, try!

(it is said in the experimental rom thread too...)
[ONE Android Development] bigyin:
Yeah I'm gonna bypass IUNI at the moment.

---------- Post added at 10:00 PM ---------- Previous post was at 09:59 PM ----------

Yeah please mate. :)

---------- Post added at 10:13 PM ---------- Previous post was at 10:00 PM ----------

Yes it would have been stock.
[ONE Android Development] dansou901:
I do have a theory, but no proof: If you have an older ROM as primary (I mean one that isn't based on the newest CM commits from the 300 version) like me (am running Ehndroix at the moment) other newer ROMs as well as ROMs with a closed source kernel won't boot. Just as an idea what to look for in the commits...
[ONE Android Development] KINGbabasula:
But I have newest cm11 nightly as primary and if I flash old Slim, it won't boot, while old mahdi will :/
[ONE Android Development] dansou901:
Then I'm at a loss. Do the kernel panics tell anything in the logs somewhere? Can we even get logs from them?
[ONE Android Development] KINGbabasula:
Yes but they don't tell anything special. To get the log wait for it to automatically reboot to internal after panic and taje /proc/last_kmsg
[ONE Android Development] savahu:
Are you on ART or Dalvik?
[ONE Android Development] KINGbabasula:
ART
[ONE Android Development] savahu:
Me too, and none of the CM11S-roms work with Multirom for me.

Maybe that's the problem?
[ONE Android Development] KINGbabasula:
Umm I don't think so, but I'll check to make sure
[ONE Android Development] MMWolverine:
Hi guys,

hats of to you KINGbabasula, you've really outdone yourself with MR development. :good: :highfive:

So I'm currently dualbooting CM11S as primary and the latest CM nightly, however, I don't see the ROM selection menu. Seems other users are having the same and I'm sure it will be fixed in no time.
[ONE Android Development] dansou901:
[MENTION=5093942]KINGbabasula[/MENTION], just noticed that I still have to have a kernel with kexec patch as internal if I want to boot something else with another kernel...
[ONE Android Development] Natakranta:
Absolutely yes! Whenever you have time.

I'm using it on N5 and it's great to check for MultiROM updates and install them. It would be fantastic if you make it work for 1+1.
[ONE Android Development] skydayzer:
Which AK version are you using??
[ONE Android Development] skydayzer:
Lol That was fast.. Thanks :good::good:
[ONE Android Development] chankafai:
Does the MultiRom support ColorOS/IUNI install as a second OS？
[ONE Android Development] MyDarkThrone:
Hello friends. need some help. I hope someone can advise me. I'm using CM11S and PA (this just to test if I can run MultiROM, then put another but this is what I have more on hand). The fact is that if I put PA as primary everything works fine. But I want to use CM11S as primary, and that is where my problem is. When I put CM11S as primary and PA as secondary MultiROM menu disappears and I have no option to choose ROM. The phone starts on CM11S and could do nothing to choose the ROM. I'm going crazy. I hope I have expressed myself well because I do not speak English very well sorry. Thank you
[ONE Android Development] lukemo:
I can confirm: no problem with mahdi internal with kernel ak 0.31b12 and cm11s (with ak 0.31b12 for cm11s) + pa beta 4.5 as secondary. But if I put cm11s as primary I can't see boot menu.

For the moment anyway it's ok, thanks a lot to Kingbabasula and ak.
[ONE Android Development] bud77:
FYI, Furnace kernel is now 100% compatible with multirom

http://xdaforums.com/showpost.php?p=54912277&postcount=192
[ONE Android Development] KINGbabasula:
The links are updated to AndroidFileHost, new multirom zip available to download: please cm11s users test it to see if the boot menu is now visible. I've added mrom infos too which add support for Ubuntu Touch and Sailfish OS (we still don't have them but if someone make them we can multiboot them :P)
[ONE Android Development] dansou901:
Thanks for the update. But now I'm having problems injecting the curr. boot sector with ak kernel as well (it says Failed to decompress ramdisk after telling that Ramdisk uses GZIP compression)
[ONE Android Development] @ARC-S@:
Hi guys so I installed multirom just a while ago and i've been havig some problems..

I'm using COS12.1 rooted on stock kernel with kexec patch, my secondaries are exodus and slimsaber. The problem is that whenever i boot up the secondary roms they will lag and slowdown reallllly bad after a while. but this does not occur on the primary rom cos12.1

It's really odd but i hope you guys understand what i mean lol. thanks in advance!
[ONE Android Development] mp3deviant721:
There's a zip in that thread somewhere that is modified to be flashed as a secondary...

OnePlus One | Euphoria OS x Tyr edition™
[ONE Android Development] dragsterman:
Hi,

Currently on stock COS 12.1 (rooted) with stock kernel.

Where can I find the kernel what I'm using now but the one with kexec patch? So the kexec patched stock kernel.

I would like Sultan CAF ROM for secondary.
[ONE Android Development] kholdstare21:
Only the primary ROM needs the kernel with kexec. Try checking out AK kernel.
[ONE Android Development] dragsterman:
OK, I know that only the primary ROM needs kexec kernel.

I would like that the primary ROM to have the stock kernel with only the kexec patch modification.

Is it possible?
[ONE Android Development] kholdstare21:
You have three options:

Change your ROM

Change your kernel

Build your own kernel
[ONE Android Development] Az-one786:
Yes, of course you can ....

Flash this .... http://xdaforums.com/oneplus-one/development/kernel-t3186870
[ONE Android Development] dragsterman:
Thank you I wanted exactly this. :)

Now I can use Sultan CAF ROM as secondary and stock CM12.1 as primary.
[ONE Android Development] crazydude10:
Are folders from multi-roms mixed up by design ?

I was looking at the data (Internal Memory > Android > Data) of a freshly installed secondary rom and I found that it lists many of the folders from another secondary rom (all the folders from other rom are empty though) .

From the main multirom's github (https://github.com/Tasssadar/multirom/wiki/Storing-ROMs) I came to know the actual location of the multi-rom data location to be "/data/media/multirom/roms/". In this location the data of each rom are separate as expected. Is this kind of a problem of something like symlink ?

Just curious to understand how things work in case this is expected behavior.
[ONE Android Development] Istvan_86:
Hello guys,

First of all thanks for offer MultiROM for 1+1, I´ve been using MultiROM for 3/4 months at least but few days ago I decide to make a full wipe including internal memory after that I install SlimSaber CAF + MultiROM app, the modified TWRP recovery persists after the full wipe and MultiROM app says that kernel has kexec-hardboot patch and I install few secondary ROMs through recovery but when I reboot I never see the MultiROM select screen.

Anyone with this issue also? Or anyone that knows how to solve it?

Thanks in advance guys.
[ONE Android Development] sathish804:
Are you trying CAF rom as Primary? If yes then you need to use v32L posted by Amit in this thread.
[ONE Android Development] Istvan_86:
Hello,

Thanks for your fast answer I downloaded the v32L version from Amit post and yes SlimSaber CAF is my primary ROM.

Now I flash the v32L MultiROM and post here the results.

EDIT: I flash v32L and MultiROM is now working as expected with SlimSaber CAF, really really thanks mates!!!
[ONE Android Development] effgee:
One of the whole point of the Sultan rom is the kernel which is built from the newest driver sources from Qualcomm.

As far as I know it's not possible to receive the benefits of a caf ROM without it being the primary rom in multirom which generally makes it impossible to boot a non caf rom as a secondary. But I may be wrong
[ONE Android Development] Istvan_86:
Hello again guys,

After flash v32L and get MultiROM working properly I have SlimSaber CAF as primary ROM and I install Ephoria OS CAF os secondary, after boot Euphoria and use it for a while my primary ROM won´t boot. I try flashing latest AK kernel in primary ROM and nothing happens the screen just goes black and I can´t boot into it but secondary ROM (Euphoria OS CAF) boots normally without any kind of problems.

My question is: Can I use the function of recovery for swap ROM´s even with a primary ROM that doesn´t boot? And also, How can I fix the black screen issue?

Thanks in advance guys.
[ONE Android Development] jurgen99:
Hi guys, i have a problem :(

I have on multirom two different roms (CM11 as primary and cm12.1)

If i want to start cm12.1, it goes in bootloop, but if i set cm12.1 radio on primary, cm12.1 starts correctly, but if i select cm11 it goes in bootloop, and i can fix that flashing cm11 radio always on primary, but like i said before, after cm12.1 it goes in bootloop...

In a few words:

CM11 primary and CM12.1

CM11 goes, CM12.1 bootloop

Flash CM11 radio

CM11 bootloop CM12.1 goes

Flash CM12.1 radio:

CM12.1 goes, CM11 bootloop

I use AK Kernel

How i can start Lollipop or Kitkat without always flashing radios? :( Thanks
[ONE Android Development] astracd:
Does it works with rooted OnePlus Two 64GB
[ONE Android Development] jurgen99:
Nope dude, it doesn't for now...
[ONE Android Development] stab244:
I'm having trouble flashing M based roms as secondary. I read on sultans thread that it worked for someone but when I install it, it errors out saying unexpected file in the system partition. I'm trying to install it as a secondary ROM directly. Do I need to install it as a primary first and then move it to secondary?

Sent from my bacon
[ONE Android Development] Hijmen:
I installed TugaPower M2 and 3 http://xdaforums.com/showthread.php?t=3232034 without issues as secondary in MultiRom. I did have to install the new firmware (modem) for it to work though.
[ONE Android Development] néonaloj:
Yes, you must install the CM13 [MENTION=4800121]Sultanxda[/MENTION] rom as primary, then, before rebooting from recovery, swap it into secondary.

So first, prepare a secondary rom to be swaped, I flashed a cm12.1 nightly with ak kernel before installing cm13.
[ONE Android Development] lieuliau:
I'm running stock CM11s as primary and SultanX CM12.1 as secondary. My problem is in Sultan rom, there are some files I can't delete in Internal Storage if these files were created by CM11s. Is there anyway to fix this? Thanks!
[ONE Android Development] CBpbxEcmecmBeH:
try with TWRP (file manager inside)
[ONE Android Development] lieuliau:
If I boot into primary rom, I can delete files just fine. Now problem is solved. Thanks!
[ONE Android Development] ghuertasw:
Hi! I don't see the rom selection screen anymore... I've tried uninstalling and re installing with no luck...

Any ideas?

Thanx
[ONE Android Development] néonaloj:
It happened to me once. In TWRP, I went into advanced > multirom > settings and changed the laps of time before rebooting. It worked...
[ONE Android Development] ghuertasw:
Thank you for your reply!

I did that, I have it in 5 sec. Still nothing.

It's like the screen turns on, but does nothing, after 5sec, it boots to its default... :confused:
[ONE Android Development] néonaloj:
Can you boot into secondaries from the multirom app itself?
[ONE Android Development] davidjumani:
Yes you can. Just go to the side menu and select manage roms. Then tap the rom you want to boot into
[ONE Android Development] néonaloj:
Thanks for your reply, but there is a misunderstanding.. Read a few posts back: he doesn't have the bootscreen, where you chooses in wich rom you want to boot. So we're looking for a solution ;)
[ONE Android Development] davidjumani:
Stupid me. Ignore
[ONE Android Development] ghuertasw:
Yes i can... Manually...

Weird!
[ONE Android Development] dragsterman:
Hi,

I would like 2 ROMS:

-COS12.1 stock with root and kexec patch

-Sultan's CM13

Is there any way to use these 2 ROMS and receive the OTAs for Sultan's CM13? (because it is updated very often)

If yes, then which ROM should I use primary/secondary?

Thanks in advance
[ONE Android Development] Sander9847:
I have been able to get every 6.0 rom (that I tried) working by doing this:

Open up the zip file of the rom and navigate to /META-INF/com/google/android, in there open up the file named updater-script with a text editor. Remove all the lines after "ui_print("Verifying the updated system image...");" until the first following "show_progress(... ,... );". Once that's done you save the file and replace the original updater-script by this new one you just saved. And voila you should be able to add this zip as a secondary rom now.

?
[ONE Android Development] ksigit:
Follow guide above this message and you'll be fine. You need to do this on every OTA you download.
[ONE Android Development] dragsterman:
Will the OTA(with Sultans built in CM updater) work if install Sultan CM13 as primary and COS12.1 as secondary?
[ONE Android Development] ksigit:
OTA works, but you can't boot secondary. Default sultan's kernel does not support multirom.
[ONE Android Development] dragsterman:
Is it possible to find Sultans kernel with kexec patch?(so Sultan kernel with only the kexec modification)

It would be great because Sultan CM13 gets OTA almost every day so this would be the primary for me to be able to use CM updater.
[ONE Android Development] ksigit:
Try ak kernel for CM13, it might work. Just backup your boot partition before you flash, so you can easily revert if anything went wrong.
[ONE Android Development] dragsterman:
Ok thanks.

I think I will use Sultan CM13 as secondary and flash the updates manually as advised at previous page .

I don't want to experiment with kernels.
[ONE Android Development] MMWolverine:
Question to all who are running Sultan's or any other CM13 as secondary. Are you able to access internal storage? I flashed 32L by Amit and when openening file manager get a fc.
[ONE Android Development] Sander9847:
I'm having the same problem
[ONE Android Development] Ayaorei:
Iam not able to edit those lines(es file explorer) m i doing anything wrong? Thanks.
[ONE Android Development] nkk71:
[MENTION=5093942]KINGbabasula[/MENTION]

I used this as a workaround: https://github.com/nkk71/Team-Win-Recovery-Project/commit/5f01baaf7df63819d6585184bcc380cfb519a318

just fyi :o

---------- Post added at 17:01 ---------- Previous post was at 17:00 ----------

you need to extract the updater-script remove the lines, then put the updater-script back into the rom.zip
[ONE Android Development] Natakranta:
I can't find anything like this in Omni updater script. Could you please post a screen shot?

Thanks!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] nkk71:
would look something like this, in the updater-script: http://xdaforums.com/showpost.php?p=63791636&postcount=2702
[ONE Android Development] Natakranta:
I may need stronger glasses or it's just not there.

Updater script attached. Please take a look.

I must say I haven't try to flash it yet, so I may actually be trying to solve problem which is not there...

Edit

File attached. Added .txt at the end to be able to attach it.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] nkk71:
can't see the attachment, can you reupload it please.

oh, and i know i need glasses, just havent gotton around to getting them :eek:

must be i'm in denial :o

EDIT, I see it now, gimme a min...

---------- Post added at 17:57 ---------- Previous post was at 17:52 ----------

nothing "wrong" in that script, it neither uses block_image_update, nor range_sha1 checks, seems like a good old fashioned (by file), installer

should work fine, can't see anything wrong with it
[ONE Android Development] Natakranta:
Huge thanks!

That means time to visit recovery ;)

I'll report back.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] nkk71:
my pleasure, good luck :fingers-crossed:

42
[ONE Android Development] Natakranta:
It flashed without problem, but it doesn't boot, stays on OnePlus logo. I'll try with flashing only ROM to check out it's not one of the packages I'm flushing.

[emoji12] [emoji106]

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] nkk71:
Never said it would boot, was strictly talking about the installer-script :silly::eek::rolleyes:

I don't even have a OnePlus One, so can't help much :angel:
[ONE Android Development] amit.bagaria:
TWRP recompiled having the patch by [MENTION=2605798]nkk71[/MENTION]
[ONE Android Development] laulau42400:
Someone tried it you?

Tapaltak and Lollipop ? One+ & cm12.1 temasek rom
[ONE Android Development] néonaloj:
On wich basis? 2.8.6 or 2.8.7? Thanks.
[ONE Android Development] amit.bagaria:
2.8.7.0
[ONE Android Development] ksigit:
So, basically flashing MM on secondary will work, but flashing modems will not work?
[ONE Android Development] néonaloj:
I think you've got the idea...
[ONE Android Development] MMWolverine:
What's this patch by [MENTION=2605798]nkk71[/MENTION]? I still cannot access internal storage on MM secondary. Any fixes I'm not aware off? :p
[ONE Android Development] amit.bagaria:
The patch is for you to be able to install MM Rom in secondary (and Primary) ignoring the block verification on /system partition. MM Rom update scripts has added this verification.
[ONE Android Development] MMWolverine:
Ah ok. I already commented out the verification in updater-scripts. Will be easier to flash now. ;) What about the internal storage. I got your 32L mod, but apparently that was only for CAF primaries?
[ONE Android Development] amit.bagaria:
I am running Euphoria-OS CAF as primary and Sultan's CM 13.0 CAF as secondary using 32l, without any issues related to internal storage access.
[ONE Android Development] ph1dft:
Hi, will this also work with f2fs file system cauze I'm runnen sultanxda cm12.1 with f2fs right now and want to try his 6.0 rom as secondary.
[ONE Android Development] ksigit:
No, it won't. That's the reason I'm going back to ext4fs.
[ONE Android Development] sshinde555:
Hey not able to flash the official CM 13 nightly build as secondary in multi rom... please help... what to use the CM 13 ..........
[ONE Android Development] amit.bagaria:
MultiROM TWRP 2.8.7.0 (11/24/2015)

Updated version for MultiROM TWRP 2.8.7.0

* Supports flashing Firware updates

* F2F2 (maybe) - please test

Warning: F2FS is not tested by me, so please use at your own risk. I will not be responsible for any mishappenings / data loss.
[ONE Android Development] amit.bagaria:
I have not yet tried CM 13 official nightly. Can you post the updater-script?
[ONE Android Development] ksigit:
Very much appreciated. Too bad I can't test f2fs right now, fallback to ext4fs due to incompatibility with multirom mainly.

BTW, what did you do to add f2fs support? Last time I try, secondary ROM won't boot at all.
[ONE Android Development] raman41:
I hv posted the updater-script of the official cm 13 nightly u can check it.
[ONE Android Development] MMWolverine:
CM13 nightly 2015-11-24 flashes fine as secondary, I can now even access internal storage. ;)
[ONE Android Development] nkk71:
it has the usual sha1 check:

...
ui_print("Verifying the updated system image...");
if range_sha1("/dev/block/platform/msm_sdcc.1/by-name/system", "40,0,32767,32768,32770,32857,32859,33341,65535,65536,65538,98304,98306,98393,98395,98877,131071,131072,131074,163840,163842,163929,163931,164413,190612,196608,196610,229376,229378,229465,229467,262144,262146,294912,294914,295001,295003,327680,327682,328164,338943") == "3477819a1a52520075962c372eeb50de20be2437" then
if range_sha1("/dev/block/platform/msm_sdcc.1/by-name/system", "54,32767,32768,32770,32857,32859,33341,65535,65536,65538,66050,97792,98304,98306,98393,98395,98877,131071,131072,131074,131586,163328,163840,163842,163929,163931,164413,190612,191124,196096,196608,196610,197122,228864,229376,229378,229465,229467,229979,261632,262144,262146,262658,294400,294912,294914,295001,295003,295515,327168,327680,327682,328164,338943,338944") == "042573299763a8396f74f6d26bad6b1ea342b551" then
ui_print("Verified the updated system image.");
else
abort("system partition has unexpected non-zero contents after OTA update");
endif;
else
abort("system partition has unexpected contents after OTA update");
endif;
...

which will fail, unless either flashed to primary, or to secondary if you use the updated patch