yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Azlun:
I have similar issue, but I never used other tool to flash kernel, I just install 4 ROM s in multirom...

---------- Post added at 09:27 AM ---------- Previous post was at 09:26 AM ----------

Now, Thank you for Tasssadar efforts, I am also enjoying MultiROM on NEXUS6 XT1103

I found a small issue, maybe some user should awake,

1 if you "add ROM "and "set boot.img" without a reboot, TWRP result is Fail, then when you go to "List ROM" my case 2nd ROM LMY47D,

it will display the “remove boot.img” and backup Button for you wrongly；

when you go to reboot to 2nd ROM, it will fail on find boot.img in a white text screen;

My 1st trial to fix it is fail: use “remove boot.img” in MultiROM TWRP, it can go though to Android logo but after starting apps, it will restart to 4 Colors Flying dots...

My 2nd Trail to fix it works: "Flash Zip"in MultiROM TWRP "List ROM" to reinstall the zip files again, and wipe all data/cache...

I do not know the root cause, but just let you know how I make it install.

In fact I think it is more important to tracking another feature:"Set Radio.img", since I want to test the radio 95R from LMY47D and 98R LMY47E which is said that LMY47I keep 95R radio, but have improvement on SIM card and Operators handling. really expecting "Set Radio.img" feature in next TWRP upgrade.

More screenshots attached at http://xdaforums.com/showthread.php?p=60272396
[Nexus 6  Original Android Development] rignfool:
That actually depends...

If they use *.obb files... Then it would just be the apk... If the apk is 250 MB... Then you're just screwed...
[Nexus 6  Original Android Development] z31s1g:
Boot.img is the kernel of a rom, not the bootloader of the phone. Judging from your screenshots, you tried to flash the bootloader image to the kernel partition.

Bootloader images have to be installed via fastboot. They can not be set for individual roms.

The "remove boot.img" button will make the secondary rom use the kernel of the primary rom. This will only work if the primary roms kernel is compatible with the secondary rom.

After you've used "remove boot.img" on a secondary rom, the button will change to "add boot.img".

The "add boot.img" button of a secondary rom allows you to specify the kernel of that rom (disable kernel sharing with the primary rom). You can achieve the same by flashing a kernel zip to that rom.

The "set radio.img" button allows you to specify the radio.img the secondary rom should use (if you want to use a different one than the primary rom uses). If I understood you correctly, this is something you want to do.

To change the radio.img of the main rom, you currently need to use fastboot (as you've already found out).

While twrp can already install boot (kernel) and recovery images, radio image support appears to be much more complicated. On some devices (shamu for example), the content of the radio image is not installed to 1 radio partition on the device, but to multiple partitions. Making radio flashing available for all devices that have twrp, means making sure that twrp is aware of all the different radio partition structures there are for the given devices. I'm assuming that's the reason it isn't implemented along with boot and recovery image support already.
[Nexus 6  Original Android Development] fuzzybuffalo:
[MENTION=3418703]Tasssadar[/MENTION]

I've finally figured out why I've flashed a secondary ROM update to my internal ROM, twice now.

I usually make my nandroid backups to USB-OTG first, so then when I go into advanced -> MultiROM -> List ROM's -> *ROM* -> Flash ZIP the storage is set to USB-OTG and when I click on that and change it to internal storage, it also changes back to the internal ROM. So when I flash ROM update.zip, it flashes to internal ROM.
[Nexus 6  Original Android Development] EMK2000:
I want to ask that when installing a secondary ROM, how long does it suppose to take?

I am using Nexus 6 with Stock ROM (LMY47I), and I want to install also the Resurrection Remix ROM,

after I go to Advanced => MultiROM => Add ROM and the add the ROM, it takes more then 15min,

and now still stuck at "Installing ROM..."

Is there anything that I have done wrong?:confused:

If yes, is there anything I can do to stop this process if it still processing for a long time and unstop?

UPDATE:

After it stay there for an hour, I decide to force reboot.

When it goes to the MultiROM page, and I try to choose Resurrection Remix (It shows up this name)

it shows error, and then I reboot to choose the Primary ROM.

I still don't know what have gone wrong, and I try to install again in recovery.
[Nexus 6  Original Android Development] michmeister:
I messed up every rom I have with Multirom. Making nandroids is easier and safer.
[Nexus 6  Original Android Development] Azlun:
Thank you for [MENTION=2719389]z31s1g[/MENTION]'s remind, I was awake boot.img function but forget that 4mb bootlxxxxx....file is really not possible a kernel.

And let us give more thanks to [MENTION=3418703]Tasssadar[/MENTION] keep forward to bring set radio feature for further multirom release!
[Nexus 6  Original Android Development] Skripka:
Heh, that is probably more to do with what you are doing as opposed to a problem with MultiROM. For the uninitiated, MultiROM does have a bit of a learning cliff to it.
[Nexus 6  Original Android Development] ithamatam:
I swapped my primary and secondary ROMs. Upon boot I now get settings has stopped after entering my password. After clicking okay on the settings crash dialogue box I enter my pasture again with the same repeated results

I am able to boot into my swapped secondary ROM with no issues. Thoughts?
[Nexus 6  Original Android Development] chris23445:
Did yours tell you you needed 22 GB of free space to swap your ROMs?
[Nexus 6  Original Android Development] ithamatam:
Nope

---------- Post added at 02:22 PM ---------- Previous post was at 02:21 PM ----------

Nope

**Edit I backed up my main rom in twrp and installed as a secondary in multirom... I am now able to access my main rom as a secondary rom
[Nexus 6  Original Android Development] EMK2000:
I currently using stock LMY47I as my primary.

Yesterday I tried to install 3 ROMs as secondary: Resurrection Remix, MoKee, CM.

But finally only MoKee ROM is installed successfully.

For Resurrection Remix, it just stuck at some point, stay installing more than an hour and then I just force reboot to stop it.

After that, I need to go to recovery and delete the incomplete ROM.

For CM, it installed successfully, but at some point that says something about boot.img,

then it just shows "failed" and then automatically delete the whole CM, and asked me to reboot...

I don't know exactly why these two ROMs cannot be installed. :confused:
[Nexus 6  Original Android Development] david279:
Did you install the cm 12 patched kernel with the rom?
[Nexus 6  Original Android Development] EMK2000:
I am using ElementalX as the kernel.

Is it necessary to flash another kernel for secondary ROM?
[Nexus 6  Original Android Development] demlv:
The OP has a link to a modified CM 12 kernel that will work with multirom. ElementalX probably would work as well, but I don't think the kernel choice is causing your installation troubles.

I'm not 100% certain about this, but an incompatible kernel shouldn't prevent a proper rom install. I wouldn't expect cm 12 to boot with an unpatched kernel, but it shouldn't give you an error during the installation process.
[Nexus 6  Original Android Development] EMK2000:
Since MoKee and CM are similar, but MoKee is installed successfully. It is so weird...

And because when I installing MultiROM, it shows "kexec-hardboot patch" in green letters,

so I think ElementalX kernel should be okay...although I am not sure.

If necessary, I could try another kernel tomorrow.
[Nexus 6  Original Android Development] wrongway213:
Elemental-X has kexec hardboot support and thus works for setting up and running MultiROM - dunno what your issue is, but just wanted to clear that up for everyone.
[Nexus 6  Original Android Development] fuzzybuffalo:
Are you using ElementalX as your primary ROM's kernel?

Only your primary ROM has to have kexec-hardboot support.
[Nexus 6  Original Android Development] EMK2000:
Yes, it is my primary ROM kernel. (Actually I don't know how to change kernel for secondary ROM...XD)
[Nexus 6  Original Android Development] str8str:
Thank you for your dedication
[Nexus 6  Original Android Development] H4X0R46:
I posted this in the Elite kernel thread, could this be a multirom thing? I could get a logcat if needed.
[Nexus 6  Original Android Development] Sakiwinkie:
Thank you very much for the update. Works perfect for encrypted phones.

One question: Since upgrading, I can no longer get to the multiROM menu while booting to select which ROM to boot into. I have tried re-injecting MultiROM and reflashing the zip but it always just boots into the primary OS. Does anyone know the fix to get the MultiROM menu to load during boot?

Thanks
[Nexus 6  Original Android Development] BitOBSessiOn:
Try to reflash multirom and re-set bootsector again (different from reinject multirom).
[Nexus 6  Original Android Development] Sakiwinkie:
I reflashed both the recovery IMG and the multirom zip file and it made no difference. I am not sure how to re-set the bootsector. I tested flashing the zip "multirom-2016-1018-v33b-UNOFFICIAL-shamu.zip" and I am able to access the menu during boot again and it seems to be working without issues. Is it bad to run a different version of MultiROM TWRP and the zip file?
[Nexus 6  Original Android Development] jcrompton:
I'm sure the answer is the same as some older answers I've seen but I thought I ask or poll experience anyway:

I have had great success with the N6 and being able to use Magisk v10.2 , phh superuser and Magisk Hide to obtain root and still pass SafetyNet. Literally the only ROM I have been able to is Nitrous.

I even have been able to use Magisk and get root on secondary ROMs with Multirom

Unfortunately though I can't ever get SN to pass on secondary ROMs ...... is that the experience of everyone else??
[Nexus 6  Original Android Development] H4X0R46:
Found the answer in Elite kernel thread. For those of you who are interested, it's because those custom roms just need their device trees updated.

To quote Neo

Thanks again Neo for clearing that up.
[Nexus 6  Original Android Development] dannycellestio:
I can confirm everyth8ng working flawlessly on the latest MR and TWRP. Just for one major thing.

The boot menu, no matter the way or path I reinject/reset MR sector, doesn't show up. Which is a serious game breaker. I'll be waiting for a fix, still, that's the Android development in the end, everytime you fix something big, some bigger one appears
[Nexus 6  Original Android Development] deeplyyoung:
Boot menu working perfectly for me. No issues so far.
[Nexus 6  Original Android Development] H4X0R46:
My best guess would be to reflash a clean boot.img (assuming it's stock, if not, reflash the rom) and then reinstall your kernel (if you choose to) and multirom. Clean slate. Lemme know if that works for you!
[Nexus 6  Original Android Development] arifqur:
Are you encrypted?

Happened to me once when I was encrypted and the boot menu wouldn't appear. Which was corrected by decrypting
[Nexus 6  Original Android Development] ktimque:
What is this decryptimg? I am also not getting boot menu
[Nexus 6  Original Android Development] arifqur:
Decrypting the Internal storage by formatting it in recovery after flashing a non stock kernel with No-encrypt.

Also remember to back up your Internal Storage first because formatting it would delete all your files
[Nexus 6  Original Android Development] Sakiwinkie:
MultiROM has worked wonderfully in the past if you were encrypted or not. I have flashed an older version of the MultiROM Zip file and the boot now works perfect with the newer version of the MultiROM TWRP IMG file. So there is an issue with the newest zip file and the answer to correct the issue should not be "decrypt your phone".
[Nexus 6  Original Android Development] arifqur:
Just trying to help with providing a workaround that helped me. We here at XDA use stuff for free provided by the devs. So if something is slightly off we try to make the best we can do with it until some dev steps in to rectify it.

So the "correct answer" it probably ain't but you won't get your money back since you never paid anything in the first place.
[Nexus 6  Original Android Development] Sakiwinkie:
You are correct. I apologize if I came off sounding entitled. Tremendous work has been put into a product that I use daily and did not have to shell out a single penny for. Thank you to everyone for your continued hard work and I am sure this issue will be fixed in the near future.
[Nexus 6  Original Android Development] deeplyyoung:
Guys this Encryption Bug will sooner be solved, as our beloved Dev's working harder & harder to get the solutions.. for me no issues as i never ever Used my any device Encrypted even OP3 (default Box Packed Encrypted). but for those who like to remain encrypted solutions expecting very soon...
[Nexus 6  Original Android Development] Captain_Throwback:
Is it working on the last build that I posted?

[MENTION=5323410]dannycellestio[/MENTION] [MENTION=2890953]Sakiwinkie[/MENTION]

If so, it may just be something small that [MENTION=6411851]BitOBSessiOn[/MENTION] is missing from his builds. That would make it easier to troubleshoot.
[Nexus 6  Original Android Development] deeplyyoung:
WOW Supreme came again to help us... Guys need your revert whoever encrypted.
[Nexus 6  Original Android Development] vsot13:
Is working perfectly with your build.
[Nexus 6  Original Android Development] Sakiwinkie:
I can confirm, flashing your build fixes the issues with you not seeing the Multirom loader on boot. Hopefully it is just something small now then. Thanks for responding.
[Nexus 6  Original Android Development] jimbomodder:
Yes it works great for me:thumbup:

Sent from my Nexus 6
[Nexus 6  Original Android Development] H4X0R46:
Is there not an option to flash an img file to a secondary? Can't find that option anywhere.
[Nexus 6  Original Android Development] Captain_Throwback:
No there isn't.
[Nexus 6  Original Android Development] BitOBSessiOn:
Well... this should be basically the same than [MENTION=1162986]Captain_Throwback[/MENTION] 's. I've revised basic params (exact the same atm) and using same kernel image (not built from source code).

Can anyone confirm if it works ok, please ?

On the other hand, I hate publishing non full working versions... but no way if I don't own the device, sorry... so If latest Captain_Throwback's build is ok, I don't see any special reason to still supporting this device (except, maybe, because NO_KEXEC), so please, let me know if I can still help or it's enough ATM.

Thx!

PS: This is a 3.0.3-2 version, the same but with many of latest official TWRP commits. Expect, at least, some warnings about theming... Experimental.

EDIT: Links retired because boot problem.
[Nexus 6  Original Android Development] deeplyyoung:
BRO..Both recoveries doesn't booted...Just bootlogo splashing again and again.[emoji20]

Edit: I personally even many more users needed your support as well as [MENTION=1162986]Captain_Throwback[/MENTION] support, so Pls do update latest commits & changes, I'LL always ready to test them{you aware}.
[Nexus 6  Original Android Development] BitOBSessiOn:
Ok, I will rebuild from kernel source, but this time, I need at least one more tester with encrypted /data for private testing... I don't want adding more noise to the thread... Send me a PM if you are a brave soul, please.

Thx!
[Nexus 6  Original Android Development] nkk71:
wow, but fine, I'll add some "stuff" .
[Nexus 6  Original Android Development] deeplyyoung:
Without you we are like handicapped... So do update and add stuffs pls. Thanks in advance .[emoji2]
[Nexus 6  Original Android Development] arifqur:
I think we will all benefit from having as many Devs as possible working on this project.
[Nexus 6  Original Android Development] BitOBSessiOn:
Great! ;)
[Nexus 6  Original Android Development] greeneyez15o:
Hey multiromers having a little issue. Im unencrypted OK so here it goes, when I flash a secondary ROM, ANY secondary ROM SOMETIMES right after when I hit back to add gapps or SuperSU or anything , it says my SD card is empty, I go to list of ROMs and empty also. Then I reboot recovery and it comes back. M I the only one ? Using the latest update of multirom
[Nexus 6  Original Android Development] ASHLEY117:
Standard behavior for a short while. Will be fixed hopefully but reboot recovery isn't long to wait for.
[Nexus 6  Original Android Development] BitOBSessiOn:
[UNOFFICIAL] TWRP 3.0.3-2 (MultiROM modded) (20170127)

Available for testing here.

This is almost 3.0.4... latest code from TWRP, merged thx to [MENTION=2605798]nkk71[/MENTION] .

You can expect, at least, some issues if using any custom theme.
[Nexus 6  Original Android Development] deeplyyoung:
For me working... some users who encrypted can help us to check if all working.

HUGE thanks [MENTION=6411851]BitOBSessiOn[/MENTION] & BIG ONE TO [MENTION=2605798]nkk71[/MENTION]
[Nexus 6  Original Android Development] ASHLEY117:
Reading encrypted data on lineageOS official. Thank you!
[Nexus 6  Original Android Development] ASHLEY117:
LineageOS as primary then nothing boots other than primary and no OS choice on boot will not show. Tested all combinations of multirom zips and no luck. Issue with LineageOS imho not multirom.

Data is readable by recovery as I'm encrypted by accident lol

Will keep testing and post results.

(Omnirom 7.1.1 as secondary)
[Nexus 6  Original Android Development] Kal-El7:
Hello all,

In the first post where there are links for patched stock kernels, I see this:

Kernel w/ kexec-hardboot patch (Stock 6.0 and 6.0.1): kernel_kexec_shamu_601.zip

If I'm on Android 6.0.1 Marshmallow with January 2017 build, is the patched-kernel link above the exact same? Is it compatible?

Secondary, I thought the 1st post might have a link to a repository of Nexus 6 custom kernels compatible with MultiROM v33 - maybe ElementalX, Franco, etc. Any tips on some of the best kernels for Nexus 6 to which plays nicely with MultiROM v33 & has great performance/battery life?

Thanks so much, all. :)
[Nexus 6  Original Android Development] str8str:
Black bird
[Nexus 6  Original Android Development] Kal-El7:
sweet. That's found here. Is this the best out there? Haven't flashed a custom kernel since way back - Elemental, Franco, lastly was Hellscore. I've been on stock for a while and love it. Aiming to get MultiROM v33 along with Magisk version 10 and wanted to obtain a good kernel for my Nexus 6.

I'm checking it out now. Thanks so much. :)

---------- Post added at 04:49 PM ---------- Previous post was at 04:21 PM ----------

Dang, that Black Bird ain't no joke. Seems like the way to go. :) Thanks again.
[Nexus 6  Original Android Development] II_DiE_4:
Hey man thanks for all you do.

Can i ask if its possible in these TWRP to include the F2FS format option?
[Nexus 6  Original Android Development] rignfool:
Ummm... One caveat with Blackbird...

It boots permissive... Not that it's a bad thing... But I see you're messing with magisk and stuff... So FYI: if you wanna pass safety net... You'll have to set SELinux to enforcing
[Nexus 6  Original Android Development] Kal-El7:
Really? 'cuz I didn't do anything to the kernel after flashing it. Immediately installed Magisk via the flash zip option in TWRP, not via the Google Play Store option. It automatically rooted me with TopJohnWu's phh SuperSU. Perhaps the zip is scripted to also make proper adjustments to the kernel if it detects a custom kernel or sees that its permissive. I didn't do a single thing & I'm (so far) all good.

Thanks so much for letting me know in any case. Something to keep my eye on. [emoji4]
[Nexus 6  Original Android Development] rignfool:
[MENTION=4667597]Didgeridoohan[/MENTION]
[Nexus 6  Original Android Development] Kal-El7:
I saw an instruction somewhere that if you're gonna do Magisk and also do custom kernels, it is most important to first flash the kernel & then, while still in TWRP in the same session, flash the Magisk zip. That's what I did. I flashed Black Bird, wipe cache/dalvik, then while in TWRP flashed Magisk's flash zip. All went super smooth & fast & got root all in one fell swoop. Passed Safetynet immediately after I enabled Magisk Hide in the settings. It's important to note that I started from a fresh Factory Image from Google's Factory Image page online. I made sure I downloaded an official image & wiped my phone in fastboot. I did everything very fast. All went very well.

I hope that helps anyone else out.
[Nexus 6  Original Android Development] BitOBSessiOn:
Yes, I think so.
[Nexus 6  Original Android Development] H4X0R46:
Would it ever be possible to add a function to flash a boot.img to a secondary? Or is that much more hand on?
[Nexus 6  Original Android Development] str8str:
There is an option for secondary. Remove boot IMG, flash boot IMG, done
[Nexus 6  Original Android Development] xshallowgrave:
How do I flash gapps to secondary ROM? I go to MultiROM > secondary ROM > flash zip but it fails
[Nexus 6  Original Android Development] ASHLEY117:
Multirom > list ROMs > tap on second ROM then flash zip.
[Nexus 6  Original Android Development] xshallowgrave:
As stated above, it fails. Something along the lines of "unable to find update script in package"
[Nexus 6  Original Android Development] ASHLEY117:
Sorry, misunderstood. Kicks out that error if my internal storage is low or bad download.
[Nexus 6  Original Android Development] xshallowgrave:
Sadly, neither of which is the case for me. I'm at a complete loss here.

---------- Post added at 04:35 AM ---------- Previous post was at 04:28 AM ----------

The exact error states: failed to find entry META-INF/com/google/android/updater-script in Zip file
[Nexus 6  Original Android Development] deeplyyoung:
Which version TWRP and multiROM your using
[Nexus 6  Original Android Development] xshallowgrave:
Multirom v33

TWRP 2016-02-10
[Nexus 6  Original Android Development] deeplyyoung:
Try latest from post 2016. You are using way too old build
[Nexus 6  Original Android Development] xshallowgrave:
Where do I find latest build? In main download is where I found these files
[Nexus 6  Original Android Development] deeplyyoung:
Post 2016
[Nexus 6  Original Android Development] xshallowgrave:
Why is Multirom manager not updates to these?
[Nexus 6  Original Android Development] deeplyyoung:
A little search would be enough I think...

Here you go

https://www.androidfilehost.com/?fid=385035244224413743
[Nexus 6  Original Android Development] xshallowgrave:
Thank you. So Multirom manager is not needed then?
[Nexus 6  Original Android Development] H4X0R46:
No not really. These builds we're posting and using here are unofficial builds not by the original creator of multirom. I use the manager app just to add icons to my secondaries, it's useless aside from that.
[Nexus 6  Original Android Development] xshallowgrave:
Oh okay. Well Thank you guys for the help. My secondary ROM is up and running. Cheers! ?
[Nexus 6  Original Android Development] deeplyyoung:
Enjoy ...:good:

---------- Post added at 06:02 AM ---------- Previous post was at 05:51 AM ----------

Sorry for misreading your post...I thought you were asking about multiROM zip...

Thanks buddy for clearifying more...
[Nexus 6  Original Android Development] xshallowgrave:
I'm running into another issue. When I flash supersu over the second ROM it won't load. It just stays stuck on the Google splash screen and I have to hard reset back into recovery
[Nexus 6  Original Android Development] deeplyyoung:
Which ROM? Which version of SuperSU you trying. Give a try to stable 2.79
[Nexus 6  Original Android Development] xshallowgrave:
Pure Nexus 7.1.1 with supersu 2.79
[Nexus 6  Original Android Development] deeplyyoung:
Flash ROM >Gapps> reboot recovery > flash SuperSU> flash custom kernel (if needed)
[Nexus 6  Original Android Development] xshallowgrave:
That's what I've been doing but it freezes on the Google splash screen