yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Droidphilev:
What's so hard about swapping? Maybe backup/restore works too as the only problem that the new SuperSu doesn't like to be flashed to secondary but works normally.

Swapping: see multirom menu in TWRP

fixed multirom:

http://xdaforums.com/nexus-6/orig-development/multirom-t3074529/post63831283#post63831283

---------- Post added at 06:36 ---------- Previous post was at 06:35 ----------

Why? Delete supersu from the rom zip and flash supersu 2.52 afterwards
[Nexus 6  Original Android Development] spiral777:
looking at twrp...can i just copy primary to secondary? or does it have to be a swap?
[Nexus 6  Original Android Development] Droidphilev:
Whatever you like. Again: the only problem is the FLASHING of the newer versions of SuperSU. It works fine though.Swapping/copying etc shouldn't be a problem.

I don't use systemless root myself anyway. There is no Android Pay etc where i live so it's useless and too much hassle for me.
[Nexus 6  Original Android Development] 808phoneaddict:
I'm not sure...i just told you the way I've read about it being done and the way I've done it, if there's another/better way then do that and share with us if that works
[Nexus 6  Original Android Development] vsot13:
This was the first thing I did, but didn't boot. I didn't have enough time for clean flash, I'll give another try over weekend.
[Nexus 6  Original Android Development] Droidphilev:
Hi,

For the ones that don't need systemless root but still want to flash the latest SuperSU forced in system mode to a secondary rom (thanks to [MENTION=7012760]aufarxda[/MENTION]):

http://xdaforums.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120

It tested it (directly flashed to a secondary slot) and it works fine!
[Nexus 6  Original Android Development] amritanshu001:
will it work if i flash a rom in secondary, which uses systemless root? for example DU?
[Nexus 6  Original Android Development] Droidphilev:
DU??

I downloaded a zip from:

http://download.dirtyunicorns.com/files/shamu/Test/

There is no systemless SuperSU in that zip.
[Nexus 6  Original Android Development] deeplyyoung:
agreed, latest DU 20160106 having 2.52 SSU
[Nexus 6  Original Android Development] Droidphilev:
To be sure i flashed to secondary:

DU 06 build zip

Elite kernel zip

SuperSu 2.66 modified to systemroot zip

Banks Gapps zip

Xposed Framework zip

Xperia keyboard zip

cold launcher zip to /system/priv-app

a zip with afwall, adaway, xplore and xposed apk to /data/app

It all boots and works fine
[Nexus 6  Original Android Development] amritanshu001:
Thanks!. I actually did not know DU reverted back to system root. Their one but last build had systemless root, hence my question. I am very glad they went back to system root, coz that and Pure are my favourites :D

Anyway, my original question still remains. If a ROM (not DU) has systemless root inbuilt, will system root 2.66 work then? However, at this point, the question is mute since my main concern was flashing DU :cowboy:
[Nexus 6  Original Android Development] Droidphilev:
Why don't you just check the binary inside supersu.zip in the roms that you want to flash? If "systemless" is mentioned then just delete supersu.zip from the rom zip.
[Nexus 6  Original Android Development] mwebb34:
Is kernel CM 12.1 5.1.1? Also i have to download the modified recovery multirom IMG no mater which ROM I want to use correct? Also do I have to flash the 5.1.1 radio and bootloader when downgrading to 5.1.1. Lastly I have Verizon but my signal sucks when I'm home can I flash a at&t radio, my wife has at&t and she gets full signal that's why I'd like to switch radios. Thanks
[Nexus 6  Original Android Development] Droidphilev:
What does this have to do with Multirom?

bootloader is backwards compatible btw
[Nexus 6  Original Android Development] jcrompton:
Just browsing ....

Wow, that's a setup ...... That should satisfy even the sickest flashaholic !
[Nexus 6  Original Android Development] Droidphilev:
Well.... i kinda like to flash :)
[Nexus 6  Original Android Development] jcrompton:
Hey I sent you a PM.
[Nexus 6  Original Android Development] sgloki77:
I tried this up until banks zip, phone booted fine but sdcard(data/media) is unmounted, did you pick any particular setting on the elementalx aroma while installing it?

I tried with hellscore and had the same result, I used last build of everything(DU,elemntalx,supersu,banks)

any ideas how to fix this?
[Nexus 6  Original Android Development] Droidphilev:
I don't use ElementalX but maybe it is because you didn't disable selinux enforcing. I you using regular SuperSU 2.66 or the modified one (read above)? The regular will give problems when flashing it to secondary slots.
[Nexus 6  Original Android Development] H4X0R46:
Ignore
[Nexus 6  Original Android Development] harpin14789:
Whenever I swap ROMs or install ROMs as secondary, I Ge this error that the recovery find emulated/0/multirom/internal/data

I might have messed up the path a bit, I read some posts about this kind of thing. Does it effect the installation or swapping of ROMs?

Thanks!
[Nexus 6  Original Android Development] Droidphilev:
Hmm, i have never had this and have no idea, sorry. I guess you should start freshly.
[Nexus 6  Original Android Development] harpin14789:
Like uninstall multirom and reintall it again?
[Nexus 6  Original Android Development] Droidphilev:
You have nothing to loose i guess. I would start all over. Make a backup of primary rom and delete everything etc
[Nexus 6  Original Android Development] deeplyyoung:
Guys check the latest [THEME][N6] TWRP Materialised - Dark / Light / Play [17/01/16] thread... added option to skip the root check (useful when using systemless root) - can be enabled in theme settings or on the install su page & much more... just sharing as I found it useful.
[Nexus 6  Original Android Development] Droidphilev:
will check, thx. you are using it with Multirom TWRP?
[Nexus 6  Original Android Development] deeplyyoung:
Yes using it and shared the SS as well... Working perfectly... No more superSU check if using systemless Root....
[Nexus 6  Original Android Development] dabug123:
N6p needs some multi love
[Nexus 6  Original Android Development] rebel1699:
We havent even had an official update to supported devices in 7 months. Someone will have to port it. I believe tasssadar is done with multirom.
[Nexus 6  Original Android Development] arifqur:
Thats the harsh truth
[Nexus 6  Original Android Development] Droidphilev:
Well... hopefully not (he did made some changes not so long ago)
[Nexus 6  Original Android Development] H4X0R46:
Yea I hope multirom is continued! One of the coolest mods I've ever used!
[Nexus 6  Original Android Development] Droidphilev:
you can also start praying for Efidroid. If it will work it will be awesome!
[Nexus 6  Original Android Development] wrongway213:
Development is not always what appears on the surface.. not so long ago is actually very recently, imo. Tasssadar committed to MultiROM 11 days ago guys - no reason to make assumptions because the thread went quiet. I'm not saying expect a post from him soon or necessarily ever - but he's still committing, so it doesn't make much sense to me to assume he's done with it.
[Nexus 6  Original Android Development] :
You expect people to actually look at a github from a development forum?

... You monster.

You must think this is the XDA of yesteryear.
[Nexus 6  Original Android Development] H4X0R46:
Just read up on it, so it's basically another way for multibooting? I really love the idea of multiple ROMs! THIS! This is why I bought a Nexus! ;)
[Nexus 6  Original Android Development] Droidphilev:
I'm sorry i didn't use "recently". Still i meant this. My English.... a bit too basic. :)

FYI: my friend, who made the M build of Multirom for Shamu will take a look if the changes made 'recently' ;) are needed for us.
[Nexus 6  Original Android Development] Droidphilev:
Hi,

If any one is interested: I edited the "fixed" Multirom TWRP with a Multirom bootlogo. I made it for personal use but why not share it anyway? :)

https://drive.google.com/file/d/0BzLZsLbLrGAHUlJ1b2d4M3loU28/view?pref=2&pli=1
[Nexus 6  Original Android Development] arifqur:
Nice, thanks for sharing
[Nexus 6  Original Android Development] PCWright86:
Awesome, pure awesome...
[Nexus 6  Original Android Development] Droidphilev:
Thank you both!

Soon 2 more coming up :)
[Nexus 6  Original Android Development] sgloki77:
sorry for the silly question, but the image is supposed to show up when you boot into recovery or when you boot into Android previous to the multirom menu?

and how do you install it?
[Nexus 6  Original Android Development] Droidphilev:
It shows when TWRP starts. You are mixing it with the bootloader splash. I also made a few of those though (among a MultiRom one), you can find bootloader splash screens here:

http://xdaforums.com/nexus-6/themes-apps/tool-change-splash-screen-various-t3000218

To install what you have found here: it's a twrp.img that i posted just go into install in TWRP but press "image" in the lower right corner and choose recovery.
[Nexus 6  Original Android Development] Droidphilev:
Hi,

As promised two more edited TWRP's. Credits for the original TWRP spalshscreens goto [MENTION=2719389]z31s1g[/MENTION]!

Please keep in mind that the dark variant is not so nice as the light one due to the low quality of the MultiRom logo that i have.

Dark: https://drive.google.com/open?id=0BzLZsLbLrGAHczBQZk1sbG5Qc0k

Light: https://drive.google.com/open?id=0BzLZsLbLrGAHY2txNGpOV1NHNFU
[Nexus 6  Original Android Development] sgloki77:
I installed the dark version plus a dark theme for multirom, and now Android Pay is broken(primary/cataclysm)

the zip for the theme goes in /sdcard/TWRP/theme so it shouldn't affect system

I haven't changed anything else since yesterday, any ideas how to work around this? [emoji20]
[Nexus 6  Original Android Development] z31s1g:
Did you let twrp install system root on reboot? As you said, the theme can't affect the system. And I don't see how repacking the recovery could do that either. But then I have no experience with android pay, maybe other users can chime in.
[Nexus 6  Original Android Development] sgloki77:
no, still systemless

first thing I did was to check, the "skip SuperSU check on reboot"

I haven't changed anything else since last time I used AP(yesterday)
[Nexus 6  Original Android Development] Droidphilev:
No idea, i'm sorry. All i did was unpack TWRP, changed 1 jpg and repacked it, nothing more. I don't use Android Pay so i can't help you.
[Nexus 6  Original Android Development] sgloki77:
I wiped AP app data, re inserted cc info and is working again, no idea what happened
[Nexus 6  Original Android Development] H4X0R46:
Thanks for sharing Droidphilev, the first one you posted is neat!
[Nexus 6  Original Android Development] XxCyberHackerxX:
Compatible Roms

(noob question) What roms can I install as secondary? I'm used to doing this on the nexus 5 but I'm not familiar with what roms are compatible with the nexus 6. If someone could provide a list of compatible roms I would appreciate it :)
[Nexus 6  Original Android Development] Droidphilev:
Well... a list would be a lot of work. The only one i know that doesn't work is AICP but you can flash to primary and swap roms.

BUT:

I always remove the supersu.zip out of the roms that i flash to secondary. I flash supersu 2.52 after flashing the rom. Most of the times it's the systemless root supersu that gives problems.
[Nexus 6  Original Android Development] fuzzybuffalo:
Log file of installing secondary ROM with Chroma 4/10 as primary.

View attachment multirom_log_01.txt
[Nexus 6  Original Android Development] fuzzybuffalo:
I don't think it's user error. As I said in my first post, I just started using MultiROM, and instead of installing manually the first time I used the apk from playstore.

And when I installed the apk on Chroma 4/10 I did not get Status card says Kernel: doesn't have kexec-hardboot patch! in red letters, I got green text saying "kexec was good".

I don't remember the exact wording, but the MultiROM apk thought Chroma 4/10's kernel was okay and installed the app and recovery.

After installing secondary ROM and rebooting, got the error. So yes, something is obviously wrong with the kernel, but MultiROM thinks its kexec patched correctly.
[Nexus 6  Original Android Development] wrongway213:
There was a kernel that attempted the kexec patch before Tasssadar released it and it would give the green text saying kernel had kexec hadrboot patch when it was actually not quite right. No idea if that's what the issue is here, just pointing it out because it seems relevant.
[Nexus 6  Original Android Development] crawlingcity:
hugs

Sorry, I didn't mean to say it was your fault, I meant to say it was MY fault.

What I was trying to say is, [MENTION=452513]tassadar[/MENTION] explicitly says to run a kernel that has the kexec patched into the kernel. Franco Kernel Original has it, and doesn't gives any error.

So, next step should be to report to Chroma's thread that something is wrong, providing every info/logs we can.

My thinking might be wrong, but every time I test a new kernel and it fails, it shouldn't be Multirom's fault. It's the kernel's.

Anyway, the log is there, Tassadar can read through it and decide for himself who's fault it is.
[Nexus 6  Original Android Development] fuzzybuffalo:
LOL, I agree with you completely, except for the part about it being YOUR fault.
[Nexus 6  Original Android Development] jeremy46er:
I have multiple Roms backed up as nandroids that I'd like to set as secondary's. I was curious if the primary rom had a kernel with the kexec patch could you restore a nandroid minus the boot as a secondary? Or has that been tried already and what's causing the bootloops? This is the only piece keeping me from using multi rom. I'd hate having to delete those nandroids and start from scratch.
[Nexus 6  Original Android Development] fuzzybuffalo:
When you go through TWRP / advanced / MultiROM / Add ROM / Backup, it does not give you any options as to what partitiions you can restore.

From my post above....

But you can restore the secondary ROM nandroid to the primary position, then use Swap ROM button and copy it to a secondary ROM position and then restore your primary ROM.

It's the long way around, but it does get your nandroid restored to the secondary ROM position.

This will work until there is a fix for restoring nandroids to secondary positions.
[Nexus 6  Original Android Development] Greedy242:
Does anyone know.... Well I flashed a secondary rom forgot to flash g apps so after the rom booted I realized so booted back into recovery went to list rom selected the rom when I choose to flash the g apps I always use banks but it has selected boot multi rom boot image should I leave that check or uncheck it I know inject boot sector is when it's for primary but this isn't that is it
[Nexus 6  Original Android Development] fuzzybuffalo:
I'm not sure what it does, but I have been leaving it checked, and everything is working fine.

Maybe someone with more knowledge will chime in.
[Nexus 6  Original Android Development] Greedy242:
Yes this is what I meant and thanks again for the reply
[Nexus 6  Original Android Development] cliff p:
God Bless you!!!! I've been waiting for months to see multirom on the N6!
[Nexus 6  Original Android Development] spiral777:
xt1103

is there anything we can do about different romslot radios effecting each other? im sure radios are a lower level then /sdcard...but lmy47m and lmy47i definitely dont play nice together when installed at the same time ....practically break each other

gonna have to lay off the nighlies on my nexus 6 for a while
[Nexus 6  Original Android Development] z31s1g:
On the matter of creating secondaries from nandroids

I've just been made aware of a new button in multirom twrp. It runs the restorecon command on the selected secondary rom.

Here's the post..

I just installed a secondary from a nandroid, tried to boot > bootloop, then reboot to recovery. So far so known.

Then I tried the restorecon button (list roms > select *nandroid secondary* > run restorecon. The rom booted succesfully afterwards.

So the key seems to be to use the restorecon function on secondaries (that have been created from backups), and tey'll work.

Can anyone test and confirm?

EDIT

This button is not yet available in the materialised themes, I'll have to update them. So to use restorecon, one must be on the stock ui.
[Nexus 6  Original Android Development] cmh714:
W00t!! That works for me on a backup made from my secondary ROM and then installed as a third ROM.

I had previously tried that button, but I had done other things as well that probably broke it.

Excellent Find!!
[Nexus 6  Original Android Development] demlv:
This is excellent news!

There is one thing I'm still not clear about, however. It has been reported that nandroids made with multirom TWRP will not restore properly. Is the "restorecon" button the fix for that issue, or is it a separate problem?

Will someone who reported troubles restoring a nandroid made by multirom TWRP please investigate this -- ideally by checking whether a restored nandroid will boot properly, both in a primary and a secondary rom slot?

I really want to know that making and restoring nandroids with multirom TWRP will work reliably before I 'go all hog wild' using multirom. :good:

EDIT: It looks like [MENTION=1875769]cmh714[/MENTION] has already confirmed that a secondary rom nandroid will restore to a third rom slot. Can anyone confirm that a nandroid taken of a primary rom slot will restore and boot in a secondary slot, and vice versa?
[Nexus 6  Original Android Development] cmh714:
I suppose I could do that one too....will install my Stock rom from backup into the third ROM.....should be the same as the second since they function the same...

EDIT: So using a "real" TWRP backup of Stock and doing the same did NOT work :(

I may try again....

A MeanPop backup failed as well...just sits at Google screen
[Nexus 6  Original Android Development] demlv:
Thanks for checking it out. A few fixes are still needed it seems.
[Nexus 6  Original Android Development] cmh714:
Never a problem, let me know if you need anything else tested as you move forward

And THANKS very much for the teams efforts!!
[Nexus 6  Original Android Development] wrongway213:
As has been confirmed, worked like a charm! Appreciate you sharing this info!
[Nexus 6  Original Android Development] fuzzybuffalo:
Chroma 4/13 build now boots fine as primary.
[Nexus 6  Original Android Development] Droidphilev:
Hi all,

My friend, [MENTION=3132221]sub77[/MENTION], made a new Multirom.zip and TWRP.img:

MR zip: https://www.androidfilehost.com/?fid=24391638059058690

MR TWRP img: https://www.androidfilehost.com/?fid=24391638059058608

what has changed:

MR:

b51c924 Version bump to 32g

1034b51 Fix MTP in primary ROM when adb is enabled for boot menu

8d2f1a5 Add /dev/block/bootdevice support

a4de474 auto boot to 10 sec.!

121ac32 WIP: Workaround for no kexec-harboot kernels

4977aad fix SELinux "unlabled" /data/.layout_version (using init.rc import)

TWRP:

3bd193b Re-enable umount command in secondary

6debab0 Remove range_sha1 check on block partition(s)

5080fe3 RE-Enable MTP during startup

a263701 theme: fixed multirom.xml include

4ac0eb4 Fix restorecon multirom option on 6.0 roms

I was able to use the newest SuperSU on a secondary rom (Using system root though, so NO systemless root!!!! I don't need that so i did not test that)

Enjoy!
[Nexus 6  Original Android Development] spiral777:
Definitely saving this for later :) thnx
[Nexus 6  Original Android Development] glockman4519:
Going to install/flash now. This is awesome you guys rock.

"Chance Favors the Prepared"
[Nexus 6  Original Android Development] XxCyberHackerxX:
So I can flash basically any rom?
[Nexus 6  Original Android Development] H4X0R46:
Pretty much! Although through my own testing I found that you need a permissive kernel for the rom to be able to read your userdata. So, flash a permissive kernel afterwards, elementalx and elite are good options as well as many others. Systemless root is NOT working however, so permissive kernel and normal system root.

---------- Post added at 05:53 PM ---------- Previous post was at 05:41 PM ----------

That's awesome dude! Flashed it. My autoboot is still 5 seconds, is that an option somewhere to change? And also, says WIP for kernels without kexec hardboot patch, is that in a coming version or does this one work without the kexec hardboot patch? Thanks again!
[Nexus 6  Original Android Development] :
Pretty sure that the option to change auto boot is in the settings on the boot selection screen. If not, it'll be in twrp itself or the app.

I don't run multi right now so I cant find it for you, I know it's there though.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6  Original Android Development] H4X0R46:
I'll look into that, just busy at the moment, thanks for the response though! :)
[Nexus 6  Original Android Development] adl:
Coming from the previuos unofficial multirom i flashed the new img and the zip file in recovery but now my recovery looks totally different compared to what it looked before and also i can´t access any file, it says 0 files on sd card. I can boot up normally to all the ROMs, but how can i get back the overall look and the access to all files on my sd card?

I first flashed the IMG file and right afterwards the zip file and rebooted back to recovery. Should i have done anything in between or afterwards? Thanks for any help.
[Nexus 6  Original Android Development] H4X0R46:
That's odd. Like, the new recovery can't see your files on your sdcard? And yea, the new TWRP here does look very different.
[Nexus 6  Original Android Development] adl:
It says something about encrypted and password, but I can use back key to enter the recovery. I never set any password, but it says I can use back key to enter. Maybe that's why I can't access any files?

Flashed the previous unofficial img and zip file using flashify and am back on the old version. All good with this one. Should i flash the new version using flashify as well? I flashed it in recovery.
[Nexus 6  Original Android Development] Droidphilev:
Of course there are settings! Press multiboot and use menu in upper right corner. About unpatched kernels: this is left out of this build because this would mean that if i wanted to test i would have to use a stock kernel which would encrypt my device which i refused. Nearly all kernel we have here are patched. I tried it on another device and it didn't work too well. WIP after all (and not sure if it will work in future).

---------- Post added at 09:45 ---------- Previous post was at 09:44 ----------

Well, i have no idea why you can't access you files, i'm sorry. Is you device encrypted?

About the theme: if you want to have the 'old' twrp style you would have to go back to the older version.
[Nexus 6  Original Android Development] adl:
Yes, it's encrypted. Thanks, old version is working perfectly fine for me.
[Nexus 6  Original Android Development] Droidphilev:
I did not dirty flash it over the first unofficial version. I backed up all roms, deleteted /data/media/0/multirom and started from zero. Maybe you can try this too? I'm not encrypted though and i'm still not sure how this work with Multirom but it is reported before that it works for some.
[Nexus 6  Original Android Development] adl:
Sorry to bother, can you walk me through that a bit more?

Backed up ROMs using nandroid? Than deleted "/data/media/0/multirom" using a file explorer or in twrp?

flashed new multirom using twrp or flashify?

Thanks!
[Nexus 6  Original Android Development] Droidphilev:
NP

Yes, in old MR i backed up all roms (also primary but i think it's not needed, but to be sure...)

in TWRP i went to fileman to delete the whole MR folder

In TWRP i flashed new TWRP.img and reboot

in new TWRP i flashed new MR.zip

installed secondary roms "from backup" in other words i restored the secondary roms i had before.

This is some work and i do not know if this will help you!!!!