yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] dankatz1:
You can have two roms with different kernel base (two types of jwr kernel and one jss kernel) but you will have to manually flash the kernel that fit your rom every time before you boot into that rom. Remember that both of the roms have to be of the same android version (4.2 or 4.3).

Hopefully we will get kexec patch for the nexus 4 which allow you to boot anther kernel over an existing kernel (and install any kernel based on what you want, or completely another OS alongside).
[Nexus 4 Original Android Development] CrypticRook:
There was a fix for the different build versions that worked pretty well for sharing kernels
[Nexus 4 Original Android Development] Rafase282:
Whats the problem with getting the cm kernel patched? Is it something tha can be added to our kernel or there need to be some workaround to have it working?
[Nexus 4 Original Android Development] bidi1985:
Can someone help me, when I flash modified recovery using flashify, I can't reboot into recovery..just a blank screen.
[Nexus 4 Original Android Development] aqsede:
Running 4.2.2 Rootbox as primary

and MIUI ported 4.2.2 as 2nd ROM. work great

Also, flashing MIUI normally wont work, only boot once, then boot loop if i restart the phone.

the only way to make it work( 1 week and working great now) is to make miui as primary then backup nandroid.

restore rootbox as 1st.

restore miui as 2nd and all is working great!!

btw, can't wait to flash 4.3 + 4.2.2 as in nexus 7

---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------

some user reported that using flashify wont work. try flashing using fastboot like i do
[Nexus 4 Original Android Development] drshafi:
Running primary rom PSX 4.3 JSS with stock kernel, flashed and booted Purity 4.3 as secondary rom but how to flash gapps and custom kernel for secondary rom?
[Nexus 4 Original Android Development] dankatz1:
You can't flash different kernels until we have kexec kernel.

Flashing gapps is just to install a zip file to the specific rom (manage roms i think and install zip).

Good luck
[Nexus 4 Original Android Development] drshafi:
Thanks for the reply but when i flashed gapps like i flashed secondary rom why its showing when i boot secondary rom in multirom? Hope you understand my point.
[Nexus 4 Original Android Development] Unconn:
If I understand you, it is because ROMs do not share GApps. Each ROM has it's own /System. If your first ROM does not have GApps, well, flash it to your first ROM using the normal TWRP menu (not MultiRom)
[Nexus 4 Original Android Development] oblikas:
Point.
[Nexus 4 Original Android Development] drshafi:
Sorry to say but i don't understand what you said.
[Nexus 4 Original Android Development] Vlad87do:
he said: if you want to install gapps for you first (main) rom , use normal installation option like always ( just go to twrp and press button install)
[Nexus 4 Original Android Development] drshafi:
My question was how to install gapps or any other zip for secondary rom?
[Nexus 4 Original Android Development] oblikas:
TWRP -> MultiROM -> list ROMs -> click on your ROM -> install zip.
[Nexus 4 Original Android Development] drshafi:
Exactly i want this only, now the problem is my device is not booting to secondary rom. I am on psx 4.1 with purified kernel. Previously it's booted with psx + stock kernel.
[Nexus 4 Original Android Development] chiikko561:
It's working great just like on o.g. nexus 7 just waiting for kexec...
[Nexus 4 Original Android Development] CamoGeko:
Wicked tool, thanks! :D
[Nexus 4 Original Android Development] atxhardrocker23:
I'm running slim bean and bean stalk with purified kernel 1.8 overclock undervolt -50 no problems

---------- Post added at 03:09 AM ---------- Previous post was at 03:00 AM ----------

All 4.3
[Nexus 4 Original Android Development] andrea9293:
I can try to install ubuntu with purity 4.3?

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] dankatz1:
You can always try ;) you won't succeed though. Read, search etc. Was probably said 100 times, no kexec kernel yet, no multiple OS.

Anyway if you haven't tried Ubuntu touch yet just nano backup, wipe like always to switch rom, and install Ubuntu. It's very nice but it's at alpha stage at best.

Restore like always but Also delete Ubuntu files from Android /data I think as the Ubuntu files take about 2gb that won't get deleted automatically.
[Nexus 4 Original Android Development] xela92:
OK, let's try to understand... Now we need to recompile kernels to apply this patch ( http://xdaforums.com/showthread.php?t=2104706 ) correct? It should be quite easy right? Is there any problem doing so? If someone gives me the tree of cm or other kernels I should do it easily manage to do it using patch right?
[Nexus 4 Original Android Development] alahkel:
so how is the kexec kernel support going?
[Nexus 4 Original Android Development] oblikas:
I just compiled a kernel with kexec hardboot patch.Who want to test?

EDIT:

It didn't worked :(
[Nexus 4 Original Android Development] AndrolinRoot:
Will implent it in my kernel ;)
[Nexus 4 Original Android Development] xanthrax:
Hellscore , hell yeah !:thumbup:

Give a hand to this guy pal , would be much appreciated :beer:

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] mariospizza:
Will it be possible to install Fedora F19 for Nexus 4 with multiboot?

I must improve my English, so bring it on, grammar nazis!
[Nexus 4 Original Android Development] Javier.D:
We'll need kexec hardboot kernel

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] AndrolinRoot:
Give me 3 days !
[Nexus 4 Original Android Development] Javier.D:
Seriusly????!! Thanks!! :DDD

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] drshafi:
Now facing weird problem, My primary rom is uxylon 4.2.2, flashed miui 5 as secondary rom after flashing miui there is no network signal (sim card not detected) and WiFi also not connecting so I thought it was miui ROM issue than I flashed Resurrection remix ROM but the problem is same. Can anybody tell me the solution.
[Nexus 4 Original Android Development] AndrolinRoot:
I talked to Tasssadar:

It might yet change significantly, and I don't want bunch of kernels with wrong patch. Besides, it's a diferent device - you may just as well look at the one for N7, but again, I advise against it. Just wait.
[Nexus 4 Original Android Development] xanthrax:
Who told you that a 4.2.2 ROM is compatible with this moded recovery ? It is not ! Check the op !

Start from scratch all over again , flash a normal recovery first

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] drshafi:
Thanks, after flashing normal recovery have to flash modded recovery over it? Am I right?
[Nexus 4 Original Android Development] xanthrax:
yes , but your roms won`t work , you need to reflash the roms

and use 4.3 only and form the same base is recommended , jss or jwr because they will share same kernel flashed on the first rom , so you don`t need to flash any kernel on the second one

some roms supports different kernels like

vanir is jss but works well with hellscore jwr , slim also is jss and it works with jwr kernel ...

keep on playing around

---------- Post added at 08:19 PM ---------- Previous post was at 08:13 PM ----------

If you will flash another kernel on primary you'll need to reflash the multiboot zip again

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] drshafi:
But I want to stick with 4.2.2 for now, is there any way?
[Nexus 4 Original Android Development] xanthrax:
Nope , not yet , it needs a patch , work in progress

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] dankatz1:
Actually as far as I can see in the OP it say 4.2 or 4.3 and not only 4.3. also just because the thread is full with people installing 4.3 doesn't mean two 4.2 won't work, few people actually run it.

Try it with the older modified recovery. 2.6.0.0 and two 4.2.2. work fine.

---------- Post added at 11:20 PM ---------- Previous post was at 11:09 PM ----------

Also, for those who missed it (because it's not in the OP), originally shared by David vaz, the modded recovery flashable through recovery:

http://d-h.st/Wci
[Nexus 4 Original Android Development] xanthrax:
thanks !

tbh , i haven`t tried it ... i will !
[Nexus 4 Original Android Development] Unconn:
This is not a fact. Please do not state it like one. I have currently running two 4.2.2 ROMs running right now. Stock + Paranoid.

Working quite well too. No problems with this limited version of MultiRom.
[Nexus 4 Original Android Development] okmijnlp:
Please can someone help me? I've flashed the recovery but I can't flash the multi ROM zip. It gives me an error (something like "failed to execute binary /tmp/boot.sh = 0"):(

Sent from my PAC powered AKFAUXSTRAT fueled monster NEXUS 4
[Nexus 4 Original Android Development] Vlad87do:
redownload the zip
[Nexus 4 Original Android Development] okmijnlp:
Have done, 3 times :(. I've also tried using the older modified recovery to no avail.

Edit: it works in Philz CWM recovery, but not the modified TWRP :confused:

Thanks anyway :).

Sent from my PAC powered AKFAUXSTRAT fueled monster NEXUS 4
[Nexus 4 Original Android Development] sam razzy:
Can I use Miui and 4.3 PA ROM with this multi ROM ?
[Nexus 4 Original Android Development] okmijnlp:
No. Miui is 4.2

Sent from my PAC powered AKFAUXSTRAT fueled monster NEXUS 4
[Nexus 4 Original Android Development] DnickDominic:
The reason you all are having problems is because of the kernel issues. PA has a hybrid of jwr and jss , some roms may work with PA, but alot dont. Same with other roms , CM's ramdisk in the kernel messed other roms up. When the hexc kernel comes then it will work much better. Patients is key.
[Nexus 4 Original Android Development] dankatz1:
PA is jss optimized rom side but the kernel is pure jwr.

You can flash jss kernels with jwr roms and vice versa but you will most likely have graphical issues (there is a zip file uploaded by David vaz that fix it).

Then there is the ramdisk issue. You can solve this, sometimes, by flashing the 2nd rom boot.img.

I am currently running the latest PA and Firefox os which is based on jss.
[Nexus 4 Original Android Development] nikkpap:
hi i have a Q how it this working it will erase all the 16 gb storage and then will create a new system2 partition with common kernel(boot.img) and recovery??? and will make a new smaller internal storage??? thanks...

can i use two miui's v5 with this rom both are 4.2.2 ( the reason is that i want to test the last but i don't want to mess my installation)

---------- Post added at 01:12 AM ---------- Previous post was at 12:57 AM ----------

and one other Q why you don't add at the MultiROM_v1_n4-signed.zip in the end of the updater-script the below...

ui_print("Flashing Recovery...");

package_extract_file("recovery.img", "/dev/block/platform/msm_sdcc.1/by-name/recovery");

and put the recovery.img (TWRP_multirom_n4_010913.img) inside the the MultiROM_v1_n4-signed.zip and flash it direct??? with one flash zip???
[Nexus 4 Original Android Development] Polv89:
Crdroid (cm based) doesn't work too...

Inviato dal mio Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] chdeul:
Great work!

Thank you for this great tool!!! :good:
[Nexus 4 Original Android Development] drshafi:
Any progress of kexec kernel patch for our nexus 4?
[Nexus 4 Original Android Development] Polv89:
Hello, how can i flash firefox os?

can you help me with necessary steps?

Thanks a lot
[Nexus 4 Original Android Development] dankatz1:
Well, I wrote everything and then my baby daughter came in and now it's all deleted ^_^

I'm assuming you have multi boot installed already.

Backup. Download the Firefox OS files (system, data, and Web server) and download Faux JSS kernel (the main one). I also recommend to download a graphic issue zip fix file uploaded by David vaz earlier, I'll find a link, or just search the thread a few pages back :) (basically If you run a JSS kernel based rom you don't have to but if you run JWR kernel based rom and you flash JSS kernel you will have screen Flickr and that fix it).

Extract the boot.img from the system zip file and flash it (I used flashify).

After the reboot, reboot into recovery and flash Faux JSS main line kernel (it's the only kernel that worked for me, I tried PA, and Franco only though, only Faux JSS worked (main line)). Remember that after every flash you need to flash multirom zip again.

Now go into the multi boot menu and flash as a new rom Firefox system zip file. When it is done go to rom list and choose the new rom (I renamed it too) and flash a zip file like you would flash gapps (if I remember the button say flash zip) and flash (in order) the Firefox data zip file and the web server zip file. If you download the graphics fix zip flash it now too.

Now go back and flash the graphics fix zip file on the main rom too (and the multirom zip file again) and reboot.

I also recommend that after you reboot into Firefox go into 127.0.0.1. It will open the Web server menu where you can change governors and clock speed. Governor change is currently bugged and fixed on performance so just underclock it to 1026.

I'm running it with PA for the last two or three versions so I guess it should work om all AOSP roms, don't know. As I understand CM just won't work as a team ;)

Good luck :)

Edit: Neo kernel work too so I guess any Linaro kernel should work or maybe most AOSP.
[Nexus 4 Original Android Development] ritik.verma:
if you could upload a video on how to do it that would be very helpful for many of us..many of us want to use firefox os but are held back by the lack of apps and some bugs and we want to dual boot..a video starting from the beginning of flashing of multiboot would be helpful..if u can't it's fine..
[Nexus 4 Original Android Development] dankatz1:
Hi,

I'm sorry, but I don't have how to...

Maybe in a few days (Monday give or take) my wife won't kill me if I will use her phone to do it. We are in vacation (yea sure vacation with one year old baby twins at her sister that just shout all the time. Ah, family) right now and she already want to throw away my phone lol.
[Nexus 4 Original Android Development] ritik.verma:
No problem brother..enjoy your vacation with ur lovely children..my nexus can wait until ur vacation..as i said before it is totally fine if u dnt feel like doing it..thank you for being so generous..have a nice vacation with your family!
[Nexus 4 Original Android Development] oblikas:
I'm gonna update MultiROM these days..
[Nexus 4 Original Android Development] p4rot:
I haven't followed the whole thread but is it possible to install Ubuntu touch with this version of multirom?
[Nexus 4 Original Android Development] Javier.D:
This works perfectly with this ROM http://xdaforums.com/showthread.php?t=2452243 and stock as base

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] p4rot:
OK thanks, you mean stock ROM as base and stock kernel also?

BTW the link is invalid
[Nexus 4 Original Android Development] Javier.D:
Yes, this is the link http://xdaforums.com/showthread.php?t=2452243

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] p4rot:
If I have a backup of the stock ROM would it do the same thing?
[Nexus 4 Original Android Development] Strikkt:
Could you post a link to these Firefox OS files?
[Nexus 4 Original Android Development] pvkanjiyani:
HI OBLIKAS

GREAT WORK

I FOUND HTC HD2 MULTI BOOT WITH 4.3 and 4.2 together

CAN U PORT ABOVE NATIVE SD TO NEXUS 4

http://xdaforums.com/showthread.php?t=1869673

THANKS
[Nexus 4 Original Android Development] dankatz1:
Here you go mate

http://xdaforums.com/showthread.php?p=44181278
[Nexus 4 Original Android Development] Strikkt:
Thanks. Maybe I'm blind, but I cannot find the web server ZIP file...

--

Never mind, found it :)
[Nexus 4 Original Android Development] junglebungle:
I take it you can't dual boot with Ubuntu yet then?
[Nexus 4 Original Android Development] dankatz1:
Not just yet, no. I put my faith in the developers though.
[Nexus 4 Original Android Development] nikwen:
[MENTION=4870917]oblikas[/MENTION]:

Does that mean that you're working on the Ubuntu Touch issue?

That would be really cool. :D
[Nexus 4 Original Android Development] hargibi:
Not sure why but I don't get the multiboot menu in recovery. I've installed in the correct order. Any idea?
[Nexus 4 Original Android Development] CamoGeko:
This multi-boot would be perfect if the Nexus had at least 32GB storage.
[Nexus 4 Original Android Development] tyessen:
Makes it even better that we can MultiBoot from USB, since we only have ~13gb to work with.
[Nexus 4 Original Android Development] oblikas:
It works with OTG.
[Nexus 4 Original Android Development] DGnome:
A quick question, did u manage to multi boot Firefox?
[Nexus 4 Original Android Development] Strikkt:
Unfortunately not.

I followed dankatz1's steps but ended up with a black screen while booting.

Maybe it is because I use a CM based ROM as my first ROM (CyanKang).

Tried all kinds of different kernels but no luck.
[Nexus 4 Original Android Development] Infernus-cz:
Don't know why but download links are not working for me... either on computer or cell phone connection...

Is it possible to fix it or reupload? Thanks :cyclops:
[Nexus 4 Original Android Development] oblikas:
D-h.st is down.
[Nexus 4 Original Android Development] Strikkt:
Ha! It worked.

Don't know what I did different this time, but the OS is booting up and usable :)
[Nexus 4 Original Android Development] Learsy:
Downloads doesn´t works :(

Pls somebody can upload in mega? I need them...
[Nexus 4 Original Android Development] CamoGeko:
Working fine here.

Try again.
[Nexus 4 Original Android Development] Learsy:
Doesn´t work for me. It goes a lot of slowly and never start to download.

Dev-host is down now...maybe later wokrs
[Nexus 4 Original Android Development] CamoGeko:
Well I've just done it so there must be something wrong with your browser or location.

Try using Google Chrome to download the files.

Sent from my baked potato
[Nexus 4 Original Android Development] Learsy:
I use a vpn and sorprise! Dev-host work fine!
[Nexus 4 Original Android Development] Sblast:
Do I need a special kernel for this? I like my usual ones :P
[Nexus 4 Original Android Development] El Aero:
Really looking forward to being able to flash Ubuntu Touch as a secondary rom! =)
[Nexus 4 Original Android Development] Hamletiano:
:fingers-crossed:
[Nexus 4 Original Android Development] oblikas:
This will be officially supported by Tasssadar.
[Nexus 4 Original Android Development] nikwen:
Who isn't? :D

---------- Post added at 04:12 PM ---------- Previous post was at 04:11 PM ----------

I just saw this announcement by him:

(Source: http://www.indiegogo.com/projects/multirom-for-nexus-7-2013?c=activity)
[Nexus 4 Original Android Development] nexuses:
I tried this mod with a lot of roms beside the stock 4.3 rooted

(CM, Xenon HD and others).

no one boot normally, all them stucked in black screen, except PSX rom.

today I tried the Mod to flash Ubuntu preview rom, but I got the same result.. black screen

honestly I don't know where is the problem.. in multi rom or the rom itself.
[Nexus 4 Original Android Development] flash5000:
Be patient, it will not take long (I guess) until Tasssadar is going to release an 'officially' supported version of MultiROM for the Nexus 4, which is working great already (comparable to the versions for grouper and flo).

Then all flashing addicts' dreams will come true... :P

Gesendet von meinem Nexus 7 mit Tapatalk 4
[Nexus 4 Original Android Development] zaptac:
Source?

-- Send by me.
[Nexus 4 Original Android Development] flash5000:
The MultiROM creator itself (Tasssadar) who generously provided me with a version to test in order to eliminate the last few bugs...

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] nikwen:
Wow. Great. :)

Really looking forward to it. :)

Did Ubuntu Touch work with it?
[Nexus 4 Original Android Development] nikwen:
The proof that [MENTION=3418703]Tasssadar[/MENTION] IS WORKING on the mako version WITH KEXEC:

https://github.com/Tasssadar/lge-kernel-mako/commit/e594e110ff776dfa583ad8f0b9494e3662677d70

https://github.com/Tasssadar/androi...mmit/f4fcc71f659ee32f4f5b796d4a92a34667ca7c73

So happy. :) :) :)
[Nexus 4 Original Android Development] ayysir:
yea ive been helping him test. Need to fix booting secondary rom with it's own kernel. I.E Utouch
[Nexus 4 Original Android Development] nikwen:
That's amazing. :)

I want Ubuntu Touch dual-booting... :D
[Nexus 4 Original Android Development] Infernus-cz:
I'm kinda stuck. I got everything working except booting secondary rom. My internal ROM is PACman 4.3 and I want secondary stock 4.3 ROM. Secondary ROM won't boot - always stuck on X logo for about hour, then my patience is over.

What do I do wrong? This happnes either if installing from ZIP and restoring nandroid backup.

Thank you very much
[Nexus 4 Original Android Development] nokiagye:
What's this?
[Nexus 4 Original Android Development] nokiagye:
OK I fix this but the second ROM won't boot any help? thanks
[Nexus 4 Original Android Development] nikwen:
Until Tasssadar fixes all kexec issues, but ROMs need to use the same kernel. Maybe that's the reason.

There are also some ROMs which seem to be incompatible yet.
[Nexus 4 Original Android Development] nokiagye:
One more, how to delete all the modes of multiboot zip?

OK I did it it don't working so I delete all once working my stock ROM once the other
[Nexus 4 Original Android Development] ayysir:
Its a issue. Even getting secondary ROM to boot. It will use primary kernel and not its own
[Nexus 4 Original Android Development] SynnyG:
I've noticed that when I've a Cm based Rom as internal, the secondary rom won't boot, I think this is the reason of your issue!
[Nexus 4 Original Android Development] oblikas:
Let me guess.PAC?
[Nexus 4 Original Android Development] oblikas:
Lol.

Well,that's a known problem.Try to use another update binary
[Nexus 4 Original Android Development] oblikas:
No.Unzip PAC and another ROM like CM or AOKP.go into 2nd ROM folder in META-INF/google/android/ and copy paste that update binary in the same folder but in PAC's folder

You're replacing it.
[Nexus 4 Original Android Development] Angel0fDeath:
So I'm on the latest CyanogenMod 10.2 nightly right now could I have paranoid android as my second ROM?
[Nexus 4 Original Android Development] MikeCriggs:
Yes.
[Nexus 4 Original Android Development] flash5000:
Just managed to boot Ubuntu Touch successfully with a test version made by Tasssadar. Expect great news soon... ;)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] rirozizo:
i had the same error running Gnome as the internal ROM and trying to boot PUB as a second ROM.

i've replaced one from CM, and still gives me the same error
[Nexus 4 Original Android Development] nikwen:
I've wanted to do this all the time. :D

Thanks for sharing. :good:

You're one of the people from the crowdfunding campaign, right? (https://github.com/Tasssadar/multirom/blob/master/install_zip/Android.mk)

(Unfortunately he hasn't uploaded the code yet.)
[Nexus 4 Original Android Development] flash5000:
Yes, I am. Unfortunately I'm not (yet) able to do such amazing coding myself, so I thought I could support the people who are... ;)

There are some small things to work out, but Tasssadar sounded confident that he will soon be able to get it done. Exciting times ahead!

Gesendet von meinem Nexus 7 mit Tapatalk 4
[Nexus 4 Original Android Development] nikwen:
That's amazing. :)
[Nexus 4 Original Android Development] Javier.D:
Great news!! But, when is this going to be available for all???

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] nikwen:
No ETAs. ;)

Give him as much time as he needs. Do you want buggy software?

However, I don't think that it will take long. They've got a dual-booting Ubuntu Touch. :eek:
[Nexus 4 Original Android Development] Javier.D:
:eek: :eek: :eek: Woooooow

Enviado desde mi Nexus 4 usando Tapatalk