yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] AngelBob:
My carbon boot.img is full kma compatible with kexec-hardboot and multirom.

I also think lightning kernel has kma support now
[Xperia Z Original Android Development] nihilista:
Ah, asked that in other thread, but answer is here ;) thx
[Xperia Z Original Android Development] JediRAMA:
it works!

I have utlimate_blackXZ v2 rom, its coming from stock. Installed kernel for stock from here, installed with flashtool! then i flashed mod, then other roms! And everything works great!!!
[Xperia Z Original Android Development] nihilista:
Ok, thx again....i used kernel from your carbon zip, put it in kernel flashing zip, cleared fota partition, installed multirom, and now i have working multiboot kernel whicht runs fine with kma cm11. :good:
[Xperia Z Original Android Development] billamin:
tried installlina a cm 10.1 based rom just to be able to use ext-sd as game install location..but fails to boot..kitkat made storage size really pathetic especially for hd gmaes..
[Xperia Z Original Android Development] nihilista:
I flashed aicp as second rom, but it won't boot and i got error screen like seen before in this thread. Will try with other rom.

Another question: We can flash rom's to usb drive, but isn't it possible to flash them to external sdcard? [And where the data is stored, i could not find anything in internal memory and internal sd?]...found it ;)

thx

View attachment 2904931

Edit: Tested with carbon, used "share kernel" cause its the same rom i'm using kernel from as first kernel....but same error, won't boot.

View attachment 2904950

Edit2: Works with no ROM i tried, boot stops with error....what did i do wrong?

Edit3: Another bug, if recovery screen turns off, there is no chance to get it on again, nmo tap or press button works, just hard reset.

Edit4: Solved http://xdaforums.com/showpost.php?p=54942617&postcount=58

Edit5: not solved ;) did nothing, just rebooted some times, now only the rom with shared kernel boot.....
[Xperia Z Original Android Development] Olivier:
This can't be true, I have flashed and tested CM10.1 myself. Can I have some logs please?
[Xperia Z Original Android Development] nikhil18:
can you please make flashable zip for multirom twrp recovery thanks
[Xperia Z Original Android Development] Greg77970:
Hi, thanks for this mod, works great on my side with existenz 1st and paranoid 2nd ;)

Really good job, I never see a dualboot so easy :)
[Xperia Z Original Android Development] Olivier:
Good news, I just merged the kexec-hardboot patch into our OmniROM kernel, this means all Omni nightlies (starting tomorrow) will natively support multiboot (once MultiROM TWRP has been flashed to FOTA).
[Xperia Z Original Android Development] muphetz:
I flashed PAC 4.3,my Third ROM, its run so well,,smooth
[Xperia Z Original Android Development] xarive:
I flashed CM11 m9 and Omni as secondary ROMs. The problem was I couldn't connect my device to PC as neither MTP nor Mass Storage. Anyone with me?
[Xperia Z Original Android Development] billamin:
thanks dude..it worked..actually the phone took a really long time to boot up..as the screen went totally dark for quite some time i hard rebooted it the midway...finally i waited for long for it to reboot and it did run successfully this time..
[Xperia Z Original Android Development] macia10:
Olivier could you please post a FOTA only recovery? :)
[Xperia Z Original Android Development] Tommy-Geenexus:
New update is out (v28) for Nexus devices.
[Xperia Z Original Android Development] Olivier:
It's in the download section (recovery.img).

And it's already running it on my Z :p

Will post it today.
[Xperia Z Original Android Development] macia10:
Wheres the download section? I cant locate it.
[Xperia Z Original Android Development] nihilista:
http://xdaforums.com/devdb/project/?id=5347#downloads

Costs a bit time to find it, but maybe Olivier can make a link to download section....

New version v28 i found on his homepage, btw, i think he will put it here soon.
[Xperia Z Original Android Development] nihilista:
Ehm, installed recovery.img, but there is no fota recovery. Now file is not here anymore, something wrong?
[Xperia Z Original Android Development] nihilista:
Ok, little summary for me: Didn't get it working for long, even after some reboot i cant boot second roms anymore, without flashing something or doing something else.

Maybe it works only with omni kernel, maybe something in patched carbon kernel is wrong, i'm too lazy for doing all new every time ;)

Multirom is a really great thing, but for me only if it works stable and everytime i need. I hope in future all developers wil patch their kernels, i dont want to use omni till it has all needed features... Or maybe someone has an idea what's going wrong here (i think i did all right except i used carbon kernel instead omni-which dont work with cm11 kma-) ?
[Xperia Z Original Android Development] demon2112:
Exited to see if it will be compatible with 4.4.4

Whats roms are u guys running and in what order? Is rom stability affected by this?
[Xperia Z Original Android Development] nihilista:
It is compatible, but you have to use kernel with kexec patch. I tested cm11, omni, carbon, aicp, aosp, ... all work (for some time...).

I'm waiting for fota recovery, then i will test again.

Some problems, but main rom is not affected, for second rom's time will show any negative effects or not ;)
[Xperia Z Original Android Development] langeveld024:
For me it's stable so far now.

I've installed existenz V7 JB 4.3 rom and used zombie kernel by Tommy-Geenexus.

Used carbon rom as secondary and works fine.

Will install more roms in nearby future.

Also, my multi twrp is actually in FOTA, all I did was flashed FOTAkernel only from.230 ftf and installed zombie kernel via fastboot.

BTW: don't try to boot in any roms recovery as this might erase your installed roms.

Only use multirom twrp for all of your roms as stated in the OP.
[Xperia Z Original Android Development] demon2112:
I would love to multiboot a existenz and dirty unicorns butt i dont get the specifics of the steps to take there for im not doing it ....yet hahaha

Im on dirty unicorns right now btw
[Xperia Z Original Android Development] nihilista:
Mmm, maybe i'm wrong, but as i understand you have to install multi-twrp in fota partition with an recovery.img file, via fastboot or with apps like twrp manager. So if you install original fotakernel.ftf, there is no twrp in fota, are you sure that you're not booting recovery inside zombie-kernel?

With my original twrp installed definitifely in fota it has the effect, that i can't use any kernel-integrated recovery and never had to flash recovery again while flashing rom or kernel update...thats what i loved and thats why i wait for working fota image with multirom twrp.
[Xperia Z Original Android Development] Olivier:
Since DU is heavily based off OmniROM, you can start by flashing my Omni kernel.
[Xperia Z Original Android Development] shoey63:
Du is Omni based right? Then flash Omni kernel from op and start adding roms:)

Edit: like what [MENTION=4329876]Olivier[/MENTION] just said:p

---------- Post added at 09:17 PM ---------- Previous post was at 08:53 PM ----------

Some technical issues with source code to sort out. When op re-releases it, I will make a flashable zip for convenience :thumbup:
[Xperia Z Original Android Development] nihilista:
Ah, great to hear, need only an img file for flashing with twrp manager, thats working fine ;)

For now i'm testing patched lightning kernel, will test multirom with that after getting recovery...
[Xperia Z Original Android Development] langeveld024:
You can't install a recovery in FOTA when there's a recovery in FOTA.

That's why I first flash FOTAkernel only and then ZombieKernel.

FOTAkernel will erase any recovery in FOTA, so that you can install multirom twrp in FOTA by flashing the kernel with kexec support.
[Xperia Z Original Android Development] demon2112:
Do you have a .zip of your omni kernel by any chance? I broke my lappie ;)

Or i can use flashify but what to select? Boot img. Right? Not the recovery.img option
[Xperia Z Original Android Development] nihilista:
I know, if you flash original fotakernel image it will delete fota recovery, same with erase function of xperia recovery manager app (what i did). And thats needed if you want to use kernel-inside recovery....

And if you flashed zombie after that procedure, that will not touch fota partition, so you are using your kernel-inside twrp and not fota ;)

The benefit of fota-recovery is, that kernel developer not has to integrate multirom recovery, it stays in fota partition, hopefully there it should work with any kernel, regardless if patched or not (while not means no multirom). Maybe someone correct me if i'm wrong with that ;)
[Xperia Z Original Android Development] demon2112:
Little off topic but hows playstore reacting with this?wont it space out because of installd

apps in de first rom and whennyou try to install it on the other rom?
[Xperia Z Original Android Development] nihilista:
Yes, offtopic ;) playstore has nothing to do with multirom, its an app ;)

Btw, rom's are totally independent with multirom, but if your internal partition is full with rom's in multirom directory, then you will get out of space, sure...
[Xperia Z Original Android Development] demon2112:
When i instal xistenz as a second rom wil it boot with the current kernel?

---------- Post added at 05:18 PM ---------- Previous post was at 04:19 PM ----------

Just flashed your omni kernel with flashifi, my wifi is gone now :( any help is appreciated
[Xperia Z Original Android Development] kael2404:
Great idea!!! Maybe a possibility to use apps from one directory in every rom but each rom will create its own application data?
[Xperia Z Original Android Development] nihilista:
Thats no good idea, its better to strictly separate all roms, otherwise it will get really confusing....
[Xperia Z Original Android Development] demon2112:
How do i wipe the FOTA without the recovery ap,can i use twrp manager to flash boot image? Or is the xperia recovery manager thebonly way

When i use flashify if i select flash recovery and choose the boot.img it askes flash it anyway because of the name boot.img instead of recovery.img,should i flash it anyway this way? Sorry for al the questions
[Xperia Z Original Android Development] nihilista:
Look a bit back in this thread, if you don't want to buy this app, flash an original fotakernel via flashtool. Or wait till developer hopefully next time releases an recovery image to flash in fota partition.
[Xperia Z Original Android Development] demon2112:
Ok thanks but im on durty unicorns right now and when i flash the op boot.img based on omni my wifi is gone and still have my other recovery that is in fota can i boot in to te twrp recovery when its not in fota i guess no
[Xperia Z Original Android Development] nihilista:
You don't have to flash boot.img, thats the kernel and that couldn't work with your rom. For now we still not have a working recovery.img to flash in fota. As i said, buy this app, flash fotakernel from stock rom, or just wait till flashable fota-recovery comes....

And DU kernel has no kexec patch i think, omni kernel maybe works with du, but i think it will not. And without that you cannot use multirom...
[Xperia Z Original Android Development] satishenl:
A few caveats

Hi,

Thanks for the great tool. Two quick things, once I get into MultiROM TWRP and it goes to sleep, it does not wake up on power button. Second, once I go into TWRP and reboot it reboots to TWRP and not system, I need to select Reboot>System to reboot to System.

Using Existenz ROM. Am I the only one facing this issue.
[Xperia Z Original Android Development] Vishalkris:
Tried multi booting with carbon ROM as primary and tried to get aicp keep on getting error when tried to boot in to aicp
[Xperia Z Original Android Development] demon2112:
Will it help to flash a nightly of omni rom first before flashing modefied omni kernel in op?

Could i flash fota only of a stock sony rom (.434) when im on dirty unicorns?
[Xperia Z Original Android Development] langeveld024:
In twrp you can change display settings.

Also I think you still have xzdualrecovery installed.

Follow the steps to remove it found in the xzdualrecovery thread.

Also did you flash MultiRom? Because from recovery you should boot first to boot menu and then to System you select
[Xperia Z Original Android Development] demon2112:
I had it, i flashed carbon ROM ;) now its just flash the multirom installeren from op and im done right?i have themodified twrp
[Xperia Z Original Android Development] JediRAMA:
same problem. im on ultimate_blackXZ_v2
[Xperia Z Original Android Development] demon2112:
hiw to flash existenz as a secondary rom with carbon rom as a primary?

edit.

is im reading xistenz needs zombie kernel,will it run on carbon kernel?
[Xperia Z Original Android Development] nihilista:
You can flash every rom as second, if you dont use the "share kernel" option...its independent. You need zombie kernel if you install stock as first rom.

Btw, with carbon or lightning kernel it won't work for me, maybe test that and report.

---------- Post added at 11:44 AM ---------- Previous post was at 11:43 AM ----------

Any news about fota recovery and newer multirom version?
[Xperia Z Original Android Development] demon2112:
wich xistnz did you flash,im planning to flash v6.but im awaiting a important phone call so i cant take that change just yet,if second rom wont boot can i just boot back to the first or is it al bricked?
[Xperia Z Original Android Development] nihilista:
I dont use stock based rom. If you don't touch first rom there is no problem, just flash secondrom in multiboot recovery (in multiboot options, not normal install!). If secondrom didnt boot, restart and boot first, that stays untouched from multirom.
[Xperia Z Original Android Development] demon2112:
and how about the inject boot thingy is that only needed when updating a rom?not when just installing a rom?

edit

just installed xistenz as second rom and it wont boot,givin me the error page posted a few posts back,i grabbed a log of it.

i guess it wont boot because it needs stock based kernel as i am on modified carbon kernel
[Xperia Z Original Android Development] acutraaq:
Where to get the modifued reco ery?
[Xperia Z Original Android Development] nihilista:
Normally you need inject bootsector option only if you upgrade your first rom, if i understand correctly what developer stated.

On second rom you don't need any special kernel, as multirom uses kernel from installed rom. If you enable share kernel option, you need kernel compatible rom at second, otherwise you have to use other option.

But as i said some posts ago, i got it working only with omni kernel, all other kexec patched kernels work sometimes for some reboots. And they worked only if i installed omni kernel, then installed rom's, then installed other kexec kernel, injected bootsect....works for some time....

Kexec implementation in other kernels seems not complete or has some errors, i uploaded log too, but till now there is no statement from developer, so we have to wait.
[Xperia Z Original Android Development] demon2112:
tryed to flash omni as a 2nd and dirty unicorns as a second both installed but wont boot and givin me the error screen
[Xperia Z Original Android Development] nihilista:
As i said before, the only combination that works for me is omni kernel first, any other rom second. Unfortunately omnikernel isnt working with cm11, so i stuck with non-working multirom. But good to know i'm not the only one who couldnt get it working with other than omnikernel (or stock-kenel patched by developer...)
[Xperia Z Original Android Development] demon2112:
and the waiting game will begin now hahah
[Xperia Z Original Android Development] acutraaq:
How to remove secondary rom?
[Xperia Z Original Android Development] nihilista:
Choose rom you want to delete in multirom recovery (advanced>multirom>...) and delete ;)
[Xperia Z Original Android Development] langeveld024:
Backup your current rom.

Flash Zombie-kernel with kexec support.

Boot to modified twrp.

Wipe data, cache, dalvik cache.

Delete any rom in multirom.

Install existenz rom like normally.

Directly flash Zombie-kernel again.

Boot to existenz.

Once booted up normally, delete xzdualrecovery. (steps found on xzdualrecovery thread)

Now boot to recovery.

Install multirom installer.

In twrp, choose advanced>multirom>add rom.

Then choose to restore your backup or flash zip (omni rom, carbon rom, DU etc etc)

Reboot.

(in twrp recovery >settings, you can adjust screen settings so screen won't turn off while installations)
[Xperia Z Original Android Development] demon2112:
hi thanks for reply with detail step by step

followed your how to to the letter!!!!

but my carbon rom back up still fails to boot,givin the same error

wil it help if i install carbon al over again you think??
[Xperia Z Original Android Development] langeveld024:
Yes, or if you will not lose your data's, dirty flash carbon rom over the backup.

Only wipe cache and dalvik cache.

(oh and make sure the carbon rom you use is the one with kexec support. Since There are two carbon roms.)
[Xperia Z Original Android Development] demon2112:
I use the one that supports that because i had multi boot.before but another.thing...how about gapps? Flash them in twrp/advanced/install rom?
[Xperia Z Original Android Development] langeveld024:
Gapps you flash via twrp/advanced/multirom/list roms/*name_of_rom*

In list roms section, you can also manage your installed secondary roms.

You can rename, delete, flash mods/Gapps/backup, wipe cache / data etc.

(internal rom always everything via normal twrp menu, remember that!)

Have fun!:thumbup::D
[Xperia Z Original Android Development] demon2112:
Will try and report back

Edit,

You sir are my hero,everything works! Thank u,

As of the tutorial i think this must be posted in the OP
[Xperia Z Original Android Development] nihilista:
Thats what i expected, first i did with multirom was same...carbon with kexec patch, but never got that running second roms....

This error that comes if starting second rom means (for my understanding) that multirom couldn't boot second rom and has nothing to do with first rom, all that backup, wipe and flash action is useless if first rom isnt omni or stock with kernel from multirom developer, for me this kernels work, others like carbon or lightning do not. Look what i wrote before, flash omni kernel, flash multirom, flash some second roms, boot them, then flash carbon kernel (if using that as first rom), inject bootsec....the only variant that works for me, for some time till booting second roms stops with error again. But i wrote all that 2 or 3 times in this thread, sry for repeating that again and again ;)
[Xperia Z Original Android Development] AngelBob:
I'll have a look at the multirom that's installed with carbon, might be a tad out of date
[Xperia Z Original Android Development] nihilista:
Ah, great, seems that something with your patched kernel (and lightning kernel too) is wrong...maybe you can find out whats going wrong ;)
[Xperia Z Original Android Development] demon2112:
Im sorry to say butt the srep by step helped me alot,your advice was the same but.i needed the tut. To make it work because i was alittle lost bro ;)
[Xperia Z Original Android Development] langeveld024:
It's okay Bro, you're welcome :thumbup:
[Xperia Z Original Android Development] nihilista:
Hey, no problem, in times of my first steps with yuga i had much questions, too ;)
[Xperia Z Original Android Development] demon2112:
These werent my first steps but it really confussed me with allbthe kernels and recoverys ect whaha
[Xperia Z Original Android Development] billamin:
Here are some tips to those who flash multiple roms frequently and want to keep apps like whatsapp, hike etc same across all the roms. These apps use a combination of android device id and timestamps to detect changes in roms, and thereby requiring reinstall each time new rom is flashed:

1. Do you have a working app on any rom?

a).If yes open titanium backup and create a backup of both the settings storage(contains your device id) and the app.

b).If no, install the app and perform step 1 (a).

2. Reboot into the other ROM and restore device id from titanium backup.

3. Restore the backup of the app (apk+data) from titanium backup.

4. Perform step from all the other ROMs in quick succession. The backup gets invalid after some time. So do this in quick succession accross all roms

5. In case you flash a ROM later, just create a fresh backup of the app from one of the existing roms and perform step 2 and step 3.

Cheers you have working msging apps across all roms you boot into..

I dont know if this is trivial, still wrote it as some might find this useful.
[Xperia Z Original Android Development] nihilista:
Bit trivial, sure :) Who didn't know about titanium, nandroid etc. really should stay at stock rom, read tons of tutorials and not experiment with things like multirom :)
[Xperia Z Original Android Development] siddhesh1609:
[Issue] sound issue

sound jitters once in 2-3 mins when listening to music with screen on.. with screen off it works well
[Xperia Z Original Android Development] nihilista:
Wrong thread? This is multirom thread....jitter sound seems to be rom issue.
[Xperia Z Original Android Development] siddhesh1609:
it is happening on stock rom.. i reinstalled and checked that it happens after installing this kexec based kernal.. I reported after checking it again by restorring stock and again installing same kernal :P so no rom issue here
[Xperia Z Original Android Development] nihilista:
Ok, but maybe kernel is not 100% compatible with your rom...
[Xperia Z Original Android Development] Panaroma:
To whom it may concern ;)

How to - Xperia Z - MultiRom: http://youtu.be/PZ5LcNY888Q

Its in german but I think it might be useful :)
[Xperia Z Original Android Development] klit27:
Hello.

I follow the steps as you said but when i enter TWRP to restore my backup i dont see the Multirom in advanced menu.

Can you hep me i dont know what to do!!!
[Xperia Z Original Android Development] JediRAMA:
miui in multirom

boot 230 is ok for miui multirom as primary rom for 1st install, now i have cm, omni and miui roms!
[Xperia Z Original Android Development] langeveld024:
Then you aren't using modified TWRP.

You are still using the FOTA TWRP.

You can remove TWRP from fota by flashing FOTAkernel only with flashtool.

Open flashtool.

Select ftf.230

Exclude everything except FOTAkernel.

Flash.

Directly Connect phone in fastboot mode.

Flash boot.img with kexec support.

Reboot.

Now you have modified TWRP and you can follow my steps.

[edit] oh and make sure your backup is in the right folder.

Because what happened to me was that my fota TWRP generated a folder like TWRP¥%§!

So after you installed kernel and rom and reflashed kexec kernel again, make sure to first boot to System and check if you have one or two folders from TWRP. (one on internal sd and one on external sd is OK)

If you have duplicate folder's, copy your backup to the new folder.

Because otherwise TWRP won't see your backup.
[Xperia Z Original Android Development] nihilista:
All would be easier if we got multirom-recovery fota image.......someone here has the skills to make that?
[Xperia Z Original Android Development] AngelBob:
Not really as not every boot.img checks if fota is recovery.

But as for making a fota multirom recovery that's quite easy.

Not sure if I'll have time to make one tonight but I'll add it to my to do list
[Xperia Z Original Android Development] nihilista:
Ah, that will be great. Till now every ROM i tested boots recovery from fota if present ;)
[Xperia Z Original Android Development] AngelBob:
As I said I tried making a fota-recovery, worked well, however, due to the way the yuga boot's, it still requires a kexec-hardboot kernel in the original boot.img to work.

This makes having multirom in fota pointless, unless we can figure a way of direct booting to fota.

I'm running on 4 hours of sleep, so not doing a great deal today