yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
Thank you very much for this! I have successfully flashed and booted a secondary ROM without a hitch. Very easy process. My primary is Viper and installed an older version of Ice for now since I have very slow internet and have to wait til morning for it to finish downloading lol. It sucks living in the sticks with only one choice for internet service. And it is actually ice-2.1.2_PERFUME_UHL_M60_SENSE80GP_HTC_Europe_1.90.401.3 so almost the same build as you. So are you installing all those ROM's on your external sdcard? Do they run as good as on internal? Thanks again much appreciated.

---------- Post added 18th September 2016 at 12:09 AM ---------- Previous post was 17th September 2016 at 11:38 PM ----------

Well I did run into one problem, my sdcard is now corrupt after I went through the setup process for my ROM. But it isn't the first time this has happened, it seems to happen randomly so I don't think MultiROM is the primary cause. I usually fix it with gparted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
At this time (like previously/currently on other devices) only a properly partitioned external sdcard with a second ext4 partition is supported.

Although TWRP will let you flash to "external storage" (even if it's FAT based), MultiROM cannot boot those.

I'll add more details if you guys need.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Yep
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Just OMG!!!!!!!!!!! Thank you...thank you
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Flashing to external ext4 partition is definitely slower, (if the installer uses aroma, then I also recommend you don't let the screen timeout before aroma starts, since it can't seem to bring the screen up, even though everything is still running)

But once flashed, I have found only a small difference between internal and external ROMs.

For sure internal is going to be the fastest, but I can accept a slower flash and initial boot, for ROMs on external ext4 partition... That's a hardware / card limitation, and not much I can do about it. [emoji4]

Sorry to hear about your sdcard problem , I've not encountered it myself.

Remember that just because a ROM says it's corrupted, does not mean it actually is. Consider removing it and backing it up, before proceeding.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
That's what updates are for [emoji6]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
[MENTION=2605798]nkk71[/MENTION] thanks again for bringing this to our beloved 10. Will have some time in the late afternoon to flash it and do a first run. Will report back once all is setup.

- Cheers SG -
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
Yes it shows as corrupt on my secondary ROM but is fine on my primary ROM. I am gonna try again with an updated version of Ice when I get home from work. I am sure it is fine and do not need to format. Thanks again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Short feedback. Flashed LeeDrOiD10 as a secondary to extSD just fine. Boot up when rebooting between first and secondary sure takes a little bit of time, but all went fine. Now up and running Viper10 as primary and - aforementioned - LeeDrOiD 10 as secondary. Great work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
[MENTION=2605798]nkk71[/MENTION],

Sup man, I havent been keeping up with your threads.. only because I been looking at the Title and date listed on that..

But from looking at the past few pages, it kinda seems as if you have something out that works on N now? or am I miss reading that?

Just wanna make sure I didnt miss anything.. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
You haven't missed anything mate, I've explored some/various possibilities and I'm still slightly undecided how I would like to move forward. I'll probably do it quick and dirty (though I'm not sure it would be considered quick and dirty), but so many ideas / methods / etc, and not enough time.

So for the time being, things are still as is, and I'm not updating MROM-TWRP and MROM until I have vold_decrypt working as well as a few other fixes and improvements :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
As long as I have known you, from the first time I met you on IRC in #MultiRom, I know you will figure all this out... you are very good at that kinda work......

but glad things are pulling together for you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Some news regarding vold_decrypt in the M9 thread (currently being used as my decryption test device). Still needs quite a bit of work, but looks like it's heading in the right direction :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Thats very promising news... I cant tell you how many people have said to me that they wish MultiRom was out for N........... Because of all the aosp/caf based roms I build now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
MultiROM works fine for Nougat. I only run one ROM now but for a while I was running Viper's Nougat ROM along with Resurrection Remix 5.8. Both ran fine on 1.9x firmware with the 2016-11-15 test build. Currently still have MultiROM running the Resurrection Remix Nougat without issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
We're talking about multirom compatible with nougat firmware
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
Fair enough...either way I failed to see the benefit of upgrading to 2.x firmware. Everything works on 1.9x including fingerprint scanner.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Yep, and I can't say the other way around is going to be possible; though I have no idea as I cannot test that at the moment, or any time soon. So you are fully correct, 1.xx.xxx.x firmware + Android M based ROM as primary... and enjoy the secondary ROMs :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
Actually I run Nougat as the PRIMARY as it's my only installed ROM. using the 1.9.xx firmware and your MultiROM TWRP.

For a while I ran:

Viper Nougat (Primary)

Resurrection Nougat (Secondary)

I since just run the one because it runs perfect but Nougat based ROMs do run on your MutliROM as the primary. Granted I haven't tried these Magisk based ROMs and only the traditional based ROMs that allow system modifications.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Then you're running unencrypted, right?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
I've never touched encryption. I just checked settings i'm encrypted in android settings. I can shoot a video showing you the phone booting up into twrp and running Nougat 7.1.1 if ya want.

EDIT: Uploading a video give me about 20 minutes I'll show ya.

---------- Post added at 03:25 PM ---------- Previous post was at 03:09 PM ----------

Here's your proof

Nougat 7.1.1 primary ROM encrypted and runs on your MultiROM TWRP on 1.9.x firmware:

[YOUTUBE]XSuRPEjneoY[/YOUTUBE]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks for the info and video, I'm not fond video's but I did watch all of it :)

So yeah, you don't have HTC Stock ROM in there as Primary, which is where/why decryption breaks, and vold_decrypt has to kick in as a *last effort*
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
I'm confused with what you're saying. I am running encryption on Resurrection Remix as primary. Prior to I had viper (HTC based) as primary on Nougat with resurrection on Nougat.

I then wiped the secondary resurrection and then wiped the viper primary and installed clean resurrection nougat.

I'm missing where other nougat roms may have failed on your multirom with 1.9x firmware.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MZO:
OnePlus2? ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
I'll add it when I get a chance, but don't think it's really worth having the list any more. The list originally started back during the M9 days, when no-kexec was still very fragile, and not used much.

Today many devices, listed or not, having kexec-hardboot kernels or not, are using this method successfully, so I'm not sure whether keeping a list is worth it.

I don't even know of any devices that *cannot* use it, maybe there are devices that can't use no-kexec but I'm not aware of them.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MZO:
Yeah — lots of devices have been updated to this version. You're right (:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
Here is a quick question: I need to move my multiROM based secondary ROM to the main internal ROM. Is it about just taking Backup within the multiROM and then restoring it in the main recovery?

I have been running LOS14.1 as a secondary ROM for a while and I am now happy with it and I want to move it primary internal ROM because space is becoming a concern and I don't really boot into the Stock ROM any more.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
I thought that primary needed to be MM based? I could be wrong though.

There is an option to swap ROMs in the multirom twrp

Should look something like this
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
I was still on MM because of multirom. I plan to get rid of multiROM and move to N firmware but I have no idea what the benefits would be from N firmware. Do you know? Is wifi any better in N (which is my major complaint with this phone)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Didn't notice any improvement in wifi, I also feel it's weak but haven't noticed any change with any firmware update; but maybe it's just me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
I haven't updated to N firmware yet as multirom has really grown on me and from user reports it doesn't seem like we are missing anything staying on MM firmware. We get the best of both IMO. MM or N based ROMs with working VoLTE and Wi-Fi calling. LOS ROMs run great.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
I'm on N firmware ... great :eek: I see absolutely no difference between M and N firmware :rolleyes:

As for a short update, I am able to use

on the M9

, my 10 isnt getting much/any downtime:

htc_pmeuhl:/ $ uptime
uptime
22:37:02 up 80 days, 21:56, 0 users, load average: 10.21, 10.32, 10.94
htc_pmeuhl:/ $

vold_decrypt, new trampoline, as well as a new method for mrom-twrp which no longer needs to modify the zip files to be able to flash to secondary.

The changes involved are a bit long, and I have no idea, when I'll have time to complete them, as time is becoming more scarce.

[MENTION=921816]ljjehl[/MENTION] told me to write one line of code then stop for a day, so I have things done till Tuesday :p

while(1) {
printf("I am lazy\n");
sleep(86400);
}
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
Stay on M firmware and run N ROMs. Not an issue I've been doing that for months. Right now I just have one N-based ROM running (Resurrection Remix) on the primary slot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stefan1234566789:
I was having the same configuration as you, but when I was trying to add another N based rom, the process was existing with an unknown error and deleting the incomplete rom. No matter what it was happening to me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
recovery.log please
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stefan1234566789:
It's on my way, just need to revert to mm firmware and redone the process :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
if you try and flash a ROM with Magisk wanting to install with the ROM it'll fail if it's on a secondary ROM. Been there, done that. Makes sense. Try flashing ROMs without Magisk built-in.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stefan1234566789:
Thank you so much, I will report back as fast I can
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
I'm aware of possible situations where daisy-chained installers don't behave well with the current version, and why. I still need a recovery.log to confirm that the new fixes / changes will work properly, and that's it not some other problem.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Forgot how much I missed MultiRom and [MENTION=2605798]nkk71[/MENTION] great work since retiring my old M7.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks for testing ;)

Though the real changes are still very far behind due to that weird loop from lj :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Wait a minute. Was I some sort of Guinea pig?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
just say if you need a wider testing sample :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
What's wrong with that?

Then again, I wouldn't send you something I haven't tried myself. That was

not

a "-very-very-dirty" release. I just hadn't (and can't at the moment) test booting them.

I do have some "extremely-dirty" stuff, but that's in the drawer for the time being.

And that's why the November 15 build is still called a "TestBuild" (

my

definition of TestBuild stands as is in post #3 , whereas all other builds for other devices since then work and are not considered "Test Builds")

I guess I need to get my vocab in order :o

The twrp build I sent you was just adapted to your situation (not encrypted, N firmware, daisy-chained installers); so with the exception of working with N decryption, and a possible way not to mrom-edify stuff, looks like things work :cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Works alright ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Depends on the situation: but yes, I definitely would like testers, I haven't even rebooted my phone in close to 3 months.

[MENTION=4333421]mitchst2[/MENTION] and [MENTION=921816]ljjehl[/MENTION] have been with me since the M7 days, and there are no better testers than them and [MENTION=1162986]Captain_Throwback[/MENTION] (but he's using mixed mode sdcard so that's definitely not ready yet)

A lot of rework, and re-re-re-re-work has and is being done, I don't know when (or if) I will continue this.

If you would like to join a alpha and/or beta program, just let me know :angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
[MENTION=2605798]nkk71[/MENTION], another beta tester right here
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
where did you get this?:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Have I something different?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
No not at all.... I'm​ also interested in testing multirom on nougat firmware...but in the other hand...everything works just fine with MM firmware:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
I've not read the thread. Was there a problem with Nougat?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
If you mean nougat firmware then yes...multirom won't work on nougat firmware
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
I must have a different build then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Enough with the jokes. ;)

MultiROM itself doesn't care much about firmware, MROM-TWRP on the other hand may (just like normal TWRP)

Which is why mitchst2 is running a newer MROM-TWRP.

And the problem is with the change of encryption, which doesn't seem to care about firmware either, rather on the ROM.

That's about it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stefan1234566789:
I want to be a little tester guinea pig :fingers-crossed:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Tried to upload it 4 times, seems AFH is having an insight that it shouldn't :eek:

I'll try again later or tomorrow, but be fully aware that this is only a TWRP-MultiROM Edition built in 7.1 tree, it has pretty much nothing new. It actually has more stuff I'd rather not have there rather than the fixes that should be there.

There is also no MultiROM update, so I have no idea what *real* use it is, but I'll upload it anyway, when AFH works again for me.

I personally see no benefit of this build from a MultiROM perspective, but the "newer is better" policy seems to apply, so I'll upload it.

You may wanna ask [MENTION=4333421]mitchst2[/MENTION] what he thinks, I havent used it, nor can I, as I am encrypted, and have no intention of supporting MultiROM without working decryption and quite a few fixes.

I'll post when the file uploads properly.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
I wouldn't be too quick to rush in guys. I'll explain more later when I get a chance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
I can't say what happened in your particular situation, and I'm very sorry for the wasted time you endured, from now on, I'll go back to testing myself when and if time permits.

Flashing anything can be problematic, loss of data can happen (it certainly has for me, even when not multirom related).

There's nothing *wrong* with the mrom-twrp you have, but I cannot foresee every possible problem that may occur, due to hardware, firmware, primary rom, encryption/decryption, etc.

So I'll just go back to my private builds, and test stuff when I can when I feel like it, and if I'm happy with them I'll release them.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
The reason for my caution. [MENTION=2605798]nkk71[/MENTION] asked me to test a Marshmallow ROM to which I duly obliged. I selected an old Validus build and flashed it as a secondary. On booting said ROM it exited straight to bootloader. I made many attempts to try and reboot to recovery and it kept returning to bootloader. Selecting reboot had exactly the same effect. I could boot to download mode so there was a potential recovery method there. After powering down and back up a few times recovery eventually booted. Phew. However none of my ROMs would now boot. Somehow they'd all been nuked. I tried a dirty flash to fix but ended it a boot loop due to substratum i'd say. So I clean flashed primary and secondary and successfully booted the secondary. I ended up deleting all old ROMs.

After a scare all is well again. Will I try another marshmallow ROM? NO!

PS I don't have a ROM in the primary slot as I always flash to secondary as this won't force encrypt. Primary is a boot image, no more.

There's also the usual Nougat issues to contend with. Primary force encryption and screen lock password not working (after switching ROMs).

I now understand nkk71 reservation in making this publicly available. There are risks but they are yours to take. I will continue to use this in the knowledge that things can go wrong and I need a good backup plan.

---------- Post added at 07:51 PM ---------- Previous post was at 07:42 PM ----------

I knew the risks and will happily test for you again should you wish. However I will plan for worst case scenario. Possibly an RUU on SD card or something. What would your advice be there assuming recovery becomes inaccessible and a PC isn't readily available.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
What? That Works?

Doesn't it still reserve 4gb for the System Partition?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Works alright. Did on the m7 too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Yes it does work, provided you are unencrypted or on MM encryption. Nougat will require a proper /system since vold_decrypt will use the system's own files to decrypt the data partition.

As for TWRP 3.1.0.0 here you go https://www.androidfilehost.com/?fid=745425885120731919

I have not even tried to flash that, so you do it at your own risk.

This is based on Captain_Throwback's Nougat kernel, so I doubt it'll boot on Marshmallow firmware, also untested, so can't confirm nor deny it.

And as I mentioned before, I don't see any particular use for this recovery, it contains pretty much no multirom related improvements (except a

possible

fix for daisy-chained installers).

In order to be able to use this recovery you'll need to be on Nougat firmware, and since multirom-boot (there is no new version, you'll still have to use the November build) cannot decrypt N based encryption at the moment, you'll also need to be unencrypted.

EDIT: And you've been warned about Marshmallow ROMs on Nougat firmware, I cannot add anything about that. Eventually, I'll do it myself to see what happens. If you feel adventurous feel free to try it, but don't do it unless you are comfortable with data loss.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Finally i can play pong again on my phone <3

Thank you so much.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
That did not need an *updated* recovery
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Not? Thought you'd need a new recovery to install MROM.... Or more like access it.

Well I do want a working current recovery^^

Btt:

It's working fine until now :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
What is the advantage of the N firmware over the M firmware? I'm a firm believer of if it isn't broke don't fix it. As I've mentioned earlier I happily keep M firmware with the N roms so I can bounce back and forth.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Not sure there is much advantage, however I haven't applied N firmware yet, so I can't say.

It's tough to deny that this isn't working perfectly as is, because we'll, it is.

But seeing as how I don't need encryption nor use MM ROMs it's hard not to give this a try here sooner or later.

Thanks for all you do guys!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
Magisk still doesnt work with the new recovery. It always says failed, for example on RR ROM, when it comes to flashing Magisk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Recovery log please
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Not my experience with that ROM or any other with Magisk embedded
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
Sorry [MENTION=4333421]mitchst2[/MENTION] and [MENTION=2605798]nkk71[/MENTION], I increased the size of data/cache/system and now everything works great!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
Magisk ROM does work as long as it's the PRIMARY ROM. If you place it in a secondary it will fail.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
He was referring to magisk rooted ROMs which install fine directly to secondary.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] myheroduane:
Not used multirom in a while but would like to try again which files do I need. My external SD is already partitioned. And nougat firmware is fine along as unencrypted?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
The last four pages should answer that question and there's stuff you need to know in there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] myheroduane:
Cheers mate. Got everything downloaded. Just need to full wipe to get rid of encryption ( I believe that's how you do it, please correct me if I am wrong) and I will be playing tonight. If there is a way to get rid of encryption in an easier way some one please tell me, will save backing up and so on.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Full wipe isn't enough it will require a data format.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] myheroduane:
What I meant dude. Enter yes....cheers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Nosferatu.:
Okay what did I do wrong lol? I'm at work don't have time to search but installed viper (sense based) over my resurrection remix on primary and twrp says encrypted data partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Install to secondary and that won't happen ever.