yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] tilaksidduram:
FAQ and other notes

About security

In order to make multi-booting possible, MultiROM has to sacrifice some security measures. Firstly, on secondary Android ROMs, /system is not mounted read-only. While there are other things preventing malicious software from messing with /system, this might potentialy make it easier for such software to attack that system.

Next, MultiROM doesn't work with /data encryption. Not many people who use custom ROMs also use encryption anyway, so that isn't much of a concern.

What do the ROMs share?

All ROMs are separate, except /sdcard, which is shared between all Android ROMs.

How many ROMs can I have?/Where are the ROMs stored?

You can have as many ROMs as you can fit in your /sdcard. All the ROMs are stored in /sdcard/multirom/roms or on an USB drive. This folder is unaccessible in Android, to prevent mediascanner from scanning it. You can either in recovery, or obtain root and go to /data/media/0/multirom/roms.

Can I have different versions of Android working alongside

Yes. As long as you select "Don't shere kernel" when installing the secondary ROM, the systems are separated.

MultiROM recovery says it's 2.6.3.0. Why isn't it updated to 2.6.3.*highernumber*?

It is, it just shows wrong version.

The menu with all the ROMs won't show up during boot, how to fix it?

Either re-flash the MultiROM zip or go to recovery, Advanced -> MultiROM -> Inject curr. boot sector.

The reason for this is that something rewrote your boot.img, which happens for example when you flash a kernel. MultiROM's boot menu is part of the boot image, so it has to be added into it again.​
[Galaxy Note II Original Android Development] smeet.somaiya:
Great work. [MENTION=539770]tilaksidduram[/MENTION]
[Galaxy Note II Original Android Development] FUSIONdev:
:laugh::laugh::laugh: great, I'll try this ! :highfive:

Sounds interesting!
[Galaxy Note II Original Android Development] mohit141785:
Great work indeed
[Galaxy Note II Original Android Development] AHOME:
Amazing, superb, perfect, brillant, excellent :D You are great man, you are great. I'm waiting for this since I saw this in Nexus 4 forum. Thanks. :)
[Galaxy Note II Original Android Development] Shahzeb5444:
😊

Great work.

Finally wait is over?
[Galaxy Note II Original Android Development] simo.scorpion:
wow i'm waiting the link for download
[Galaxy Note II Original Android Development] George_Orever:
Thank you sir, first for bring MultiRom to our Note 2, second for step-by-step instruction. I can't wait for DL and try. Amazing job.
[Galaxy Note II Original Android Development] nathajoz:
finally multirom for note2... thanks you....
[Galaxy Note II Original Android Development] FUSIONdev:
OK Tilak! Thanks for your work! Let's wait a kernel with the patch, I want to try this solution :laugh::laugh::laugh:
[Galaxy Note II Original Android Development] tilaksidduram:
I already patched the stock kernel and it available for download in my 2nd post. you can flash it against any AOSP based Kitkat Rom for the N7100.

Currently i am running PA as my primary rom and i have installed around 6 other roms (Omni, Slimkat, Miui, Liquid smooth, CM 11, ) as secondary. All of these are working fine.

give multirom a try.
[Galaxy Note II Original Android Development] austino pele:
Nice....work
[Galaxy Note II Original Android Development] paarkhi:
Let's hope the Kernel Devs include the patch so that we can also test/check it with Samsung Touchwiz Kitkat Roms

By the way Thanks [MENTION=539770]tilaksidduram[/MENTION] for bringing this treat to us
[Galaxy Note II Original Android Development] simo.scorpion:
Bug? Or problem a part those listed in op?

Inviato dal mio OnePlus One
[Galaxy Note II Original Android Development] :
Thanks [MENTION=539770]tilaksidduram[/MENTION]
[Galaxy Note II Original Android Development] shujanster:
Thanks

Thanks bai thanks. You r the great. keep going on......
[Galaxy Note II Original Android Development] Bajanman:
Looks very interesting definitely gotta check this out...

Thanks for the contribution to the note 2 users :good:
[Galaxy Note II Original Android Development] Nicoga97:
This is only working on aosp roms? Is possible to run a touchwiz rom and an aosp rom?
[Galaxy Note II Original Android Development] kbhuvi:
Install tw rom of your choice as primary rom with latest agni kernel. Then install omni as secondary. Refer to OP for full instructions.
[Galaxy Note II Original Android Development] saulotas:
Did exactly that, but I have erratic HDMI output for some reason (the dock is ok, tested with a vanilla S 3) and no wifi in omniRom, and since omni is my daily driver, this mod does not do what I like!
[Galaxy Note II Original Android Development] kbhuvi:
I dont use hdmi output so cant test or comment. Yup, wifi broken in in secondary roms.
[Galaxy Note II Original Android Development] invalidcracker:
Wow great work (Y) (Y)

I ve a little question, does wifi problem occur if i use aosp as a 1ry & 2ry aosp too ? Sorry i just dont ve enough time right now to revert back%g%g6*

Edit: Awesome work, tried 1ry Aosp(Nameless rom) & 2ry aosp. Wifi works on the 2nd only after flashing the aosp universe kernel to the 2nd rom.. But it isnot compatible with some roms like omni & dirty corns
[Galaxy Note II Original Android Development] tilaksidduram:
To all, I was able to get WiFi working on most of the aosp Roms after flashing the respective Roms kernel. I have created a kernel zip for cm, pa, omni, miui and slim. I will post the zip file in some time. All u need to do is just flash this zip on the respective secondary rom . this only works when u have aosp based ROM as primary and secondary. Touchwiz is not supported yet. I am working on it still.
[Galaxy Note II Original Android Development] M!shr@ji:
But I thought wifi was already working if both roms are aosp based. :o TW + aosp with wifi on both would be the best thing mate. Waiting for the same. :fingers-crossed:
[Galaxy Note II Original Android Development] MBariya:
Great achievement so far. Hope that u will come with fix for TW+AOSP WiFi issue soon. [emoji106]
[Galaxy Note II Original Android Development] dream_catcher79:
[MENTION=5846207]kbhuvi[/MENTION]

I did what you told me to do, but still does not work.

It keeps saying it isn't device supported, when in fact it is.
[Galaxy Note II Original Android Development] kbhuvi:
Kindly list the apps you downloaded, recovery, rom you are using as daily driver and the method how you have installed.
[Galaxy Note II Original Android Development] red_hanks:
Got mine working on internal SD. My externalSD is a 64gb Sandisk Ultra on extfat.

Here is my set up.

Primary ROM: Dr.Ketan Custom ROMv14

Kernel: Agni 4.2.9 Pure Stock

Secondary ROM: Carbon KitKat (internal SD)

Issues: Wifi and there is no audio

---------- Post added at 09:40 AM ---------- Previous post was at 09:33 AM ----------

If it doesn't let you install anything at all, try flashing a different custom recovery via Odin. There are some Odin versions of PhilzTouch and TWRP out there. Then see if you can flash a new ROM or something...
[Galaxy Note II Original Android Development] tongueinamow:
hi. so far, i tried the multiboot.

in my case, i successfully flashed:

1. TW diamond ROM

2. MIUI

3. Dirty Unicorn

But the kernel in 1st post didn't make

the WIFI worked on 2nd and 3rd ROM.

is there any procedure in flashing the kernel?

thanks in advance.
[Galaxy Note II Original Android Development] M!shr@ji:
With all due respect, please read atleast 2-3 last pages before posting.
[Galaxy Note II Original Android Development] paarkhi:
This only works when u have aosp based ROM as primary and secondary. Touchwiz is not supported yet. The developer is working on it still.
[Galaxy Note II Original Android Development] M!shr@ji:
[MENTION=539770]tilaksidduram[/MENTION] In secondary ROM (CM11 Snapshot M11), About Phone shows Kernel Version as:-

3.0.101-India-v4.2.9-OC-INTL-STOCK-KitKat_wolfson AGNi@PSN-pureSTOCK #2 Sun Oct 19 20:21:37 IST 2014

which is my Primary ROM's kernel (Dr.Ketan's ROM V14). This is after flashing the CM kernel you have provided. Is this expected? Shouldn't it show secondary ROM's kernel?

I know that the kernel you provided was not meant to work for TW+AOSP. Just tried my luck to see if separate kernel really makes a difference to secondary ROM.
[Galaxy Note II Original Android Development] KNIGHT97:
To all the people saying WiFi not working secondary, type the following in terminal emulator and read the output carefully, and google around a bit, you'll get why it isn't working -

su

ls -l /system/lib/modules/dhd.ko

Do this on secondary ROM and study yourself a bit.

And once you understand, give logcats of necessary errors to tilak, rather than just complaining and asking eta for fixes.

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] ~N.A.W.Y~:
Waiting for Exfat support.So excited to flash this mod :)
[Galaxy Note II Original Android Development] Krillen:
I had wanted to try it but I am unable to use it. This is what I see when I launch it.

I would be nice if I can try it out.
[Galaxy Note II Original Android Development] red_hanks:
---------- Post added at 09:52 AM ---------- Previous post was at 09:51 AM ----------

[/COLOR]

The MultiROM Manager does not have support for n7100 for now...the multiROM inside the twrp is working​
[Galaxy Note II Original Android Development] :
Agni PureCM has been updated with the kexec-hardboot. I think wifi should niw work in the secondary rom. Forgive me if I am wrong.
[Galaxy Note II Original Android Development] M!shr@ji:
I was browsing Tasssadar's Thread and realised that our TWRP should look like this

while we don't have a kernel sharing/not sharing option in our TWRP

View attachment 2985411

May be that's why secondary ROM shows primary's Kernel in about phone. Is that where the root of our 'wifi' problem lies? Just curious...
[Galaxy Note II Original Android Development] M!shr@ji:
Will pureCM kernel work with TW ROM?
[Galaxy Note II Original Android Development] :
I dnt knw bro. I m goin 2 install tw as primary + agni purecm and omni aosp + agni purecm...
[Galaxy Note II Original Android Development] M!shr@ji:
AGNi pureCM patched won't work on secondary. Secondary kernel doesn't need to be hardboot patched as the OP says. Moreover I still tried it on OMNI but got an error message and reboot :P

---------- Post added at 12:05 PM ---------- Previous post was at 11:58 AM ----------

TW with AGNi pureCM won't boot either. Just tried :p
[Galaxy Note II Original Android Development] :
9

I knw tw wont work with purecm. I meant to install purecm for the secondary rom seperately...

Thanks for the info. You saved me a lot of time. So i wont try multirom till a solution is found...
[Galaxy Note II Original Android Development] M!shr@ji:
Won't work either. Tell me if it does for you.
[Galaxy Note II Original Android Development] :
Tried everything. Nothing works....
[Galaxy Note II Original Android Development] M!shr@ji:
Same thing occurred again today. What finally worked without flashing the ROMs again is 'wipe data/cache/dalvik' of all secondary ROMs. But that shouldn't be the case right? :rolleyes:
[Galaxy Note II Original Android Development] invalidcracker:
Flashing agni kernel to 2ry roms always fail to boot with that log

http://www.mediafire.com/view/yafd93mpa4d9pv4/tmp_26134-multirom_log-87731304.txt

2nd: changing kernel of 1ry rom always affect 2ry roms. I think they still sharing wifi or smth i dont' know.. That's very promising project thanks devs
[Galaxy Note II Original Android Development] mazen1966:
some questions

I decided to install the second rom but I have some questions before going ahead. I would appreciate all the help:

- My plan is to use Touchwiz as primary and CM11 as secondary.

- In the op, there is no mention of installing a kernel for the second Rom. However, in the download section, there is a CM11 kernel to be installed. Is this to be done same time when installing the second Rom or boot and then go back to recovery and install?

- Does this CM11 kernel fix the Wi-Fi issue on the second Rom? Ok for me of it doesn't.

- there is no mention in the OP about updating Recovery. I am on TWRP and what will be the process if I need to update the recovery.

- Finally, CM have their own updater which is really neat. Will this updater be used as designed or do I need to update manually.

Great Work. I appreciate your support.
[Galaxy Note II Original Android Development] nathajoz:
1. use agni purestock kernel if you want use touchwiz rom as primary and aosp as secondary.

2. second rom aosp use kernel from primary (remove boot.img from 2nd rom using multirom recovery) cm11 kernel on op only for aosp rom as primary if you use tw rom as primary no need to install cm11 kernel.

3. if you use tw rom as primary, all aosp rom as secondary cannot use wifi.

4. flash multirom recovey just flash normally zip.

5. if you want udate your 2nd rom, you must do it mannually in the multirom recovery by choose flash zip in the multirom menu, and dont forget to remove boot.img after updating rom
[Galaxy Note II Original Android Development] mazen1966:
Understood. Thanks
[Galaxy Note II Original Android Development] M!shr@ji:
[MENTION=539770]tilaksidduram[/MENTION]... Any progress updates on TW+AOSP WiFi mate?
[Galaxy Note II Original Android Development] M!shr@ji:
[MENTION=539770]tilaksidduram[/MENTION]... installed latest AGNi pureSTOCK 4.3.0 today. None of the secondary ROMs boot up now. Only a black screen is all I get.

I re-installed MultiROM V29 after kernel flash and deleted all old ROMs, added new secondary MIUI ROM, deleted boot.img from secondary ROM. Injected current boot sector.

MultiROM starts fine but booting into secondary gives black screen and nothing else.

Any 4.4.4 Vs 4.4.2 compatibility issues need to be addressed? I see that AGNi is default kernel in DN4 ROM which is 4.4.4 based.

Edit: Tried flashing your kernel for MIUI. Tried booting secondary with and without deleting boot.img. No Luck again :(
[Galaxy Note II Original Android Development] mazen1966:
Same here. The only thing I am not doing per op is installing of the blobs since agni 4.3 doesn't require blobs.

---------- Post added at 11:10 AM ---------- Previous post was at 11:08 AM ----------

Edit: some where mention about sharing or not sharing kernel from main Rom. Is this needed and how to do it.

Thanks
[Galaxy Note II Original Android Development] simo.scorpion:
touchwiz ROM in secondary doesn't work, right ?
[Galaxy Note II Original Android Development] MBariya:
Yes. Only AOSP roms works as secondary
[Galaxy Note II Original Android Development] M!shr@ji:
I flashed DN4 as primary ROM today which has AGNi 4.2.5 as its default kernel. But multiROM and well as secondary ROMs work just fine with it. But AGNi 4.2.5 doesn't have kexec hardboot patch. Isn't that strange?
[Galaxy Note II Original Android Development] M.abdo:
Does wifi in secondary rom worked ?? :)
[Galaxy Note II Original Android Development] M!shr@ji:
Will you jump off if I say 'Yes'?

But I wouldn't as it doesn't :D Sorry mate :P
[Galaxy Note II Original Android Development] M.abdo:
I was in the middle of the jump untill i read the full reply :D But NVM i'm sure they will find something about it :cowboy:
[Galaxy Note II Original Android Development] mazen1966:
Any one using Dr Ketan ROM succeeded with Multi ROM? Would appreciate if he shares how did he succeed. Thanks
[Galaxy Note II Original Android Development] :
Bro i used it few days bk as primary rom. It worked but the main issue was that there was no wifi in the

Secondary rom as the secondary roms kernel had to be deleted to make secondary aosp rom boot...
[Galaxy Note II Original Android Development] mazen1966:
Thanks. How to delete kernel of secondary ROM?
[Galaxy Note II Original Android Development] :
After you install secondary rom. Goto manage rom. Select the secondary rom and you will get a tab to delete the kernel.
[Galaxy Note II Original Android Development] tilaksidduram:
Multirom twrp recovery has been updated to version 2.8.1.0, I will upload the same in some time.

Regarding the secondary kernel, I am still working on it. There is one thing that I need to fix to get both TW and Aosp working. Not able to find the location to reserve memory in the kernel sources. Searching and searching but nothing yet. If there is any one with kernel knowledge and knows how it can be done for the exynos device then let me know I can surely work them to have it fixed.
[Galaxy Note II Original Android Development] KNIGHT97:
I guess that either of derteufel1980 or andreilux can help you with all this.

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] M!shr@ji:
Any suggestion regarding my above post mate? :o
[Galaxy Note II Original Android Development] rogersb11:
Anybody tried this with my shift kernel or devil kernel? They both support dual boot of aosp or sammy so maybe that will help with WiFi. Just a thought
[Galaxy Note II Original Android Development] KNIGHT97:
The not working WiFi in secondary is due to the dhd.ko module doesn't have a place to be loaded to. Since the secondary Roms have their boot.IMG removed they share the kernel with primary, as a result of which the modules become incompatible, tilak is looking into the issue whenever he gets time to :)

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] rogersb11:
Cool cool. Yea I didn't read the whole thread, just the last few pages. I'm sure he'll get it fixed right up as both those kernels share same boot.img (at least mine does, and devil uses very similar solution so i just assume it does as well) when dual booting so it can for sure be done

Edit: Worth mentioning that both of these kernels use the same set of modules for both primary and secondary rom and the kernels will work with Sammy or aosp as it's a single boot partition running either type meaning if they were used having to use the primary rom kernel modules (if it's one of these) wouldn't matter since the modules will work with both ROMs compared to Agni as it's either aosp or TW and seperate kernels are used for each one. I'm already dual booting with shift and don't want to wipe and set both roms back up or I would try it myself. Might not matter as you mentioned but it does seem feasible that they could work
[Galaxy Note II Original Android Development] invalidcracker:
[MENTION=4365701]psndna88[/MENTION] kindly can u help with this? Thank you
[Galaxy Note II Original Android Development] Nicoga97:
Hello any news?? About WiFi problem?
[Galaxy Note II Original Android Development] KNIGHT97:
Tilak is working on porting android L to note 2. Maybe after that. Till then others help with dmesg and logs of boot time of secondary

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] BenRoark:
You're a genius, Tilak. Thanks heaps bro.
[Galaxy Note II Original Android Development] simo.scorpion:
Work in secondary ROM?

Inviato dal mio GT-N5110
[Galaxy Note II Original Android Development] :
No idea. Its in testing phase...

Hit thanks if you like my post or if I helped you in any ways...
[Galaxy Note II Original Android Development] simo.scorpion:
[MENTION=539770]tilaksidduram[/MENTION] can you update the twrp with new commits for lollipop rom ?
[Galaxy Note II Original Android Development] George_Orever:
Yes, I want try Lollipop :D. Please [MENTION=539770]tilaksidduram[/MENTION], harry up.
[Galaxy Note II Original Android Development] KNIGHT97:
Just updating the recovery won't enable multiboot -_-

There have been a lot of changes in android lollipop, so the original maker of multirom, tassadar, has to rewrite the code and do it rather than tilak just updating the twrp.

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] Ismail.A:
no its not working i tried twice
[Galaxy Note II Original Android Development] simo.scorpion:
The dev of multi ROM of oneplus one has only update the twrp with new commits of tassadar and now is possible to boot lollipop in secondary

Inviato dal mio Galaxy Note II
[Galaxy Note II Original Android Development] KNIGHT97:
Our note 2 is quite different. The one plus one is near nexus and quite open, as compared to Samsung, quite a lot of things need to be changed in order to make it work properly. And as of now, tilak is quite busy with porting lollipop to note 2, and isn't working on this right now because no one has ever helped him with the logs or dmesgs and just complained of issues.

Fired from my RPG with auto targeting
[Galaxy Note II Original Android Development] raj_k_r:
Not working for me. Using DN4 as primary with Agni kernal 4.2.5. Multirom shows only the primary ROM. But I can see and manage the secondary ROM in recovery. Any solutions? SD card was vfat format but tried with other formats as well. I googled and found out that multirom works on vfat as well
[Galaxy Note II Original Android Development] damiensturdy:
This is far from perfect at the moment. Touchwiz with Agni was not functioning at all either for me.

Looking forward to being able to run Touchwiz in primary and MIUI in secondary myself.
[Galaxy Note II Original Android Development] M!shr@ji:
AGNi 4.2.7 to 4.2.9 is needed for multiROM to work as they are kexec hardboot patched. 4.3.0 is also patched but doesn't work with multiROM somehow even with API blobs.

Secondary ROM works very well but without wifi as can be understood with previous posts. I've run DN4 as primary and MIUI/CM11/OMNI/Dirty Unicorns as secondary. All work flawlessly except wifi as of now.

Note: Only the secondary ROMs added after flashing AGNi kernel will boot. If you flash kernel again, U'll have to either flash the secondary ROM again or wipe cache and data of already added ROMs.
[Galaxy Note II Original Android Development] raj_k_r:
Thanks, I tried based on your earlier statement, will try with 4.2.9

Edit : tried with 4.2.9 and still not working.
[Galaxy Note II Original Android Development] invalidcracker:
Any1 tried lollipop as a 2ry Rom to dn4 ?
[Galaxy Note II Original Android Development] utsavmadaan1995:
Hello !!! I am also using dn4 as primary with default agni kernel and aosp based rom as secondary roms....for me agni kernel always give some problem...like bootloops, force reboot every time to boot successfully,etc but the stock one on dn4 for me have no such problems...and even patched for multirom...give it a try with dn4+stock kernel+aosp based secondary roms+dont forget to remove boot.img And did you removed boot.img Earlier ????
[Galaxy Note II Original Android Development] raj_k_r:
Yes, I removed boot.img everytime I tried but no result. I never had any problems with agni kernel even on DN3.
[Galaxy Note II Original Android Development] rohan164:
Hi

So finaly. How the map shoulbe for dr ketan v14 as primary rom and dn4 as secondery rom. As far as kernels are concerend in both the roms.

Will dn4 work on patched dr ketan v14 kernal. Or it needs agni kernal. If yes. Which version of agni kernal?
[Galaxy Note II Original Android Development] rohan164:
pls someone reply...
[Galaxy Note II Original Android Development] :
I suggest you to use Agni PureStock 4.2.5 coz it boots without any blob errors and supports Kexec hard patch. 4.3.0 for some reason doesnt let me boot Multirom.

Hit thanks if I helped you or if you like my post...
[Galaxy Note II Original Android Development] red de0392:
I Installed AOSB as secondary rom but was not able to boot into DN4 which is primary rom ? where did I go wrong ?
[Galaxy Note II Original Android Development] rohan164:
wat abt wifi in secondery ROM? will it work?

i want to hav Dr Ketan v14 primary and DN4 as secondery?
[Galaxy Note II Original Android Development] :
Sorry bro i cant tell anything now as none of the roms is booting inside multirom in my phone [emoji23]

Hit thanks if I helped you or if you like my post...
[Galaxy Note II Original Android Development] M!shr@ji:
TW ROM is not yet supported as a secondary ROM. It may or may not install, but it will never boot.

WiFi does not work in secondary yet (i.e. secondary AOSP ROM).