yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
For external storage, you need to partition the external sdcard, with 2 partitions:

usually the first one would be exFAT (this will be the one your ROM will see external storage) and since it's exFAT it will also be readable using a card reader in Windows

the second would be ext4 formatted (this partition is usually not seen by most ROMs)

You can do the partitioning in TWRP (but please use my version not the official, since at the time of this writing it hasn't been updated with the partitioning fix)

And note, that repartitioning will wipe everything from your card, so back up everything to PC first.

Yes correct.

You can disregard that for now, since those partition types aren't supported at this time (it's a copy paste from other MultiROM threads).

During installation, MultiROM-TWRP will give you the option to select which partition to install to. But even though it will also show

Internal Storage

Micro SDCard

SD-Ext

USB-OTG

however, only Internal Storage and SD-Ext (if available) are currently supported.

You can install to internal storage just fine, just make sure you have enough space there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Thanks buddy for the reply,

Given that I have a 128gb external card, it might be better for use that for my second rom.

One point of clarity if you will:

If installing to External SD card I am thinking a 4gb ext4 partition and the rest formatted as exFAT. When booted into the secondary rom, it would use the 4gb ext4 partition for the system. Would the Secondary Rom use the normal Internal storage or the exFAT storage for its "Internal Data"? ie. If i set the camera app to save to internal sd card on my secondary rom, it would save to my Internal SD card rather than the exFAT formatted section of the External SD Card?

I'm gonna start getting my SD Card backed up to my pc ready for this but I think that answers all my questions. I have an RUU on the external SD card so that's my get out of jail free card...

Regards,

Ravi
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
This happened to me once as well so it's not just his device, seems to happen randomly. Might be a good idea to disable lockscreen security when changing ROM's or fooling with anything in multiROM
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
You're messing up something.

You have different partitions.

UserData, System, Boot. And SDcard.

All apps and app settings are stored on UserData, which is on ext4.

All stuff you can access via FileManager or Download or Fotos taken via Camera App are stored on SDcard which is shared among all ROMs.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Backup everything to PC, since all will be deleted. But 4GB is going to be a tight squeeze (I have 32GB as ext4... though that's pretty big :o).

The location of the secondary ROM will contain system partition as well as data (ie settings, and downloaded apps+their data)... so for a Sense based ROM, system alone will already be close to 3GB, so you won't have much space for settings and downloaded apps.

The only thing shared is Internal Storage (aka /data/media/0) and the External Storage (your exfat partition)... basically the storage(s) where you save your pictures, music, etc. (ie the things you can see when your device is connected to PC)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
It does happen "for unknown reasons" at this time, and I haven't had time to try and find out why... It's not going to be easy finding the source of the problem, especially that it's not [very] easily reproducible.

As can be seen this "randomly" also occurs when doing a TWRP restore which also hasn't been tracked down either.

And it happens on other devices as well.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Stephen:
Lock screen security has been an issue with TWRP and restores since the Nexus 6P came out. We noticed it on that phone as well. I wondered if those specific files in the data partition needed backed up with permissions as well, it might resolve the issue. Here is a good thread on the issue:

PSA TWRP Backups and Lockscreen Security
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks for the thread, I'll be sure to read through it all. I've also noticed that the Nexus 6P MultiROM mod, also has the same problem.

I've only been able to reproduce it once, but even then,

the files (well the ones I've noticed to have to do with lockscreen, such as gatekeeper*, masterkey), all remain intact (permissions, contents, md5sum, even timestamps)

the encryption info partition (/extra on HTCs) is also fully intact

So LockScreen must be looking / checking at something more... but tracking it down is another thing :o

It could very well be "by design" to prevent possible hacking.

Hopefully with a little bit of patience we'll be able to get to the bottom of this, and possibly (?) fix it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jwtiyar:
where is installing image option in TWRP ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Install -> bottom left toggles between zip and images
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dansavi:
If I made an 11gb partition, can I allot halves to two separate roms, or do I need two separate ext4 partitions?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Any partition can hold any number of ROMs, the roms never use the entire partition ever; they only use as much as is needed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dansavi:
[MENTION=2605798]nkk71[/MENTION] Thanks for the quick reply!

I was trying to figure it out in the meantime, and I noticed I cant seem to flash anything at all.

When I go into add ROM, I only see these options:

1.) Internal Storage (1960)

2.) Micro SDCard (48869)

3.) SD-Ext (0)

4.) usb_otg (0)

I can't even select the last two options, and the second option is just the leftover exFAT. The partition I made was ext4, I'm not sure where I messed up.

EDIT: nevermind, somehow my ext4 partition got messed up, i formatted each again seperately and it works. thanks again for the reply
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
totally rethorical questions.... but if i were to update, i mean take an OTA, on my secondary ROM it would reboot into recovery after download is finished, and then realize that system partition has been modified (on main rom) and stop the update. Right?

On the other hand flashing a firmware.zip file would replace boot.img and break Multirom. Reflashing TWRP and MultiROM.zip restores previous state as all ROM's are saved in UserData which persists over OTAs.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] codeglitch:
this mod is just another reason to have a good sd card! Thanks for your work, waiting for some free time to start testing this!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
you dont wanna flash a stock boot.img with a modified primary system, you're going to end up with veritymode=logging (you probably are already), as well as break every single secondary ROM (at least on internal storage) due to a non-injected primary boot.img issuing a restorecon on your data partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] migascalp:
I finally found the time to play a little with the MultiRom.

My config: HTC 10 EU S-OFF FW 1.95 decrypted /data Leedroid on internal

3 rom on ext4 µsd partition

Ice, Cm13 and Stock

All work fine for my use

Great Work

79650712YL6571705
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks... You sound surprised..... well there's more to come :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] migascalp:
I'm not surprised. I have complete confidence in your work :)

Impatient to see more
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
OK so tomorrow I'm gonna play with this again. Will delete the 2nd ROM and reinstall the latest LeeDrOiD to finally give Magisk and phh a run on my handset.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] smariob:
I was wondering. Wouldn't Magisk mess up Multiboot since it modifies the boot? Or viceversa? What you think? :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Nope. You can install magisk on a 2nd rom without any issues.....

or at least i runs... no obvious issues.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Each ROM has its own boot.img.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devilman30:
Aloha nkk,

When will Rom manager for the HTC 10 be available?

Mahalo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Why'd you need the MultiROM Manager App? All of the important things can be set an thus done in TWRP.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devilman30:
To change roms on the fly instead of booting into recovery.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
FYI - ETA questions on XDA are considered rude.

Unless this is a product you're paying for, nothing should ever be expected from the devs that spend their free time working on mods like this without compensation.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Your device is going to have to reboot to switch ROMs anyway. So when you reboot, just choose the ROM you want to boot. I don't understand how that's so different than using the app :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devilman30:
My apologies Capt., I just wanted to know if booting into recovery is the new way of changing roms. I did notice that Rom Manager is not compatible with this device.

Mahalo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
As I indicated in my last response, you don't have to boot into recovery to switch ROMs - in fact, that's not how it's ever been done. So I'm still :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devilman30:
Mahalo for the clarification.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
As indicated in the OP, and mentioned again (and again) by the last few posts, the MultiROM Manager apk isn't supported.

Yes there is a version currently floating somewhere on my PC, and

it's not ready for release (refer to 3)

it's not ready for release (refer to 3)

since these things don't get merged often, i'm not going to issue a pull request until I'm fully satisfied by it

.

on the other hand, when I do believe that the APP is ready, I'll release a "-debug" version in this thread
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I wanted to add maximusHD rom to my rom list with multirom but every time i try it fails and doesn't install the rom....does issue comes from rom or custom recovery or etc?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Could be etc. but can't say, as per the FAQ's (yeah the ones nobody wants to read it seems), I need more info:

Something not working, or you need help debugging

Please provide the following information:

a detailed explanation of the problem

.

the recovery.log (found in /tmp/recovery.log or by copying it to the sdcard and then copying it to PC)

.

the link to the thread

and

name of file (+ which version) you are having problems with

.

due to the large size of some of these ROMs, I may not have time to download and test them, so please also upload the updater-script (found in ROM.ZIP under /META-INF/com/google/android/)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Here is link of that thread: http://xdaforums.com/htc-10/development/rom-maximushd-2-0-0-android-6-0-1-t3426671/page27

I downloaded full version of latest rom...name: HTC_10_MaximusHD_2.5.0.zip

Version: 2.5

Size: 1.54Gb

And at bottom i put updater script and recovery log...and i must say i change the type of them to .txt because xda didn't let me to upload unknown type of files
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Here is last log
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
i'll take a look later, probably a fail on preload
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I followed this steps to add a new rom And at last i faced with "erasing incomplete rom" error
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Ok thanks:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
you need more space, quick look showed this:

zip I/O error: No space left on device
zip error: Output file write failure (write error on zip file)

EDIT: your sdcard looks pretty full

/external_sd | /dev/block/mmcblk1p1 | Size: 15274MB Used: 14101MB Free: 1172MB Backup Size: 14101MB Raw size: 16020144128

that's could be a problem for "edifiying" the rom in place, make more space on your sdcard, the internal storage looks fine, i think; but i only took a very quick look :o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I have about 7Gb free space on my internal memory
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
yeah, edited my last post, looks like the problem is you sdcard, not internal memory
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Let me try
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Thank you so much for solving my problem :) it was because of fulling external sd
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
No problem... that's why we love logs ;)

They're usually quite descriptive, and help a lot, instead of having to guess what's possibly wrong. And that was just a quick look (about 3 seconds :p)

while i'm checking what's still wrong with the app, so

Good news: MultiROM Manager works :)

Manipulating ROMs works

renaming

deleting

icon change

on both

internal storage

as well as external storage(s)

Bad news: Seems reboot, is still slightly broken :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I installed and said your device is not supported:(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
http://xdaforums.com/showpost.php?p=68929702&postcount=153

^^ please note points 3 and 4
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Today's update:

NO_KEXEC version 4.1, and MultiROM Manager App (unofficial of course) support to come soon:

(including something called apkL support, I know it's silly, so I'm open for a better name :o)

--> No apkL support, so no external ROMs

MultiROM Manager App (my debug version,

not the official one

) now lists all external ROMs properly, and can boot directly into secondary.

EDIT: the kexec-hb "green" light, is just the NO_KEXEC workaround ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
MultiROM has been working great for me, only issue I have is ran out of space on my internal. I expected this and know it isn't your problem, I was just hoping someone can give me some advice on how to free up space. I have a 64gb external card I would like to know whats the best options and the best way how to install apps to external. Should I go with adoptable storage? Thanks for the great work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
No on adoptable storage. Just backup the card data and partition it with MultiROM TWRP. I use a 32GB ext4 partition on my 200GB card for MultiROM. After the partitioning completes, just go into the Advanced Wipe menu and change the file system of the Micro SD Card to exFAT. Then, you're ready to flash ROMs to external :).

You'll probably want to get a bigger card, tbh. I think 128GB cards are pretty cheap nowadays.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
Perfect! Thank you very much. I been researching trying to figure something out for now but this makes it all much easier. I will just buy a 200gb card and be done with it lol. Thanks again Captain you have helped me twice today and so much more with your great work. I am getting a bonus soon and need to donate and you sir are on my list buddy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Updated the FAQ with the partitioning "how to"... with pictures and all :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrRob0t:
This is my first experience with MultiROM, so please go easy on me. :)

This is simply awesome - thank you so much for bringing this to us on the HTC 10.

First I just want to say this risk is all in the user and this MOD is in no way to blame for anything.

I am a Verizon user, and I unfortunately lost Advanced Calling. I ran the RUU and lost 4g.

Simple search however, simply wiping modems will restore 4g. For Adanced Calling it was also another easy search to a post from [MENTION=3472611]dottat[/MENTION] - big thanks to him. Simple answer in-case this helps someone reading, deactivate HD Calling/Advanced Calling on the Verizon website, run RUU, do a factory reset from the stock recovery, boot up device, and activate Advanced Calling from the device. 5 minutes later all is good. As always, make backups of everything important.

Your OP is great, and not enough people read them. Especially the following posts after that..

Anyway. here is my problem. I have the stock Verizon ROM by [MENTION=2586080]andybones[/MENTION] as my primary, and the latest Viper10 3.2.0 ROM as secondary. Everything is great after restoring Advanced Calling. I have no issues flashing .zips to secondary, such as the Viper OTA 3.1.0 > 3.2.0.

My problem is when I try to dirty flash the entire ROM. Each time I end up on the HTC splash screen with the red text.

Reading through the FAQ and other notes in OP #2 the very bottom shows this info:

"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."

I am wondering if this would be what I would want to do? Should I re-flash the MultiROM zip or go to recovery, Advanced -> MultiROM -> Inject curr. boot sector, or both? I flashed the ROM, PnP MOD, and Elite kernel. I need my phone for the next few days, but I wanted to post and say thank you for this awesome MOD, and see if these steps sound like the correct way to go.

Thank you again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Thanks for the feedback, and an elaborate one too :good: :good:

I'd recommend you reflash the multirom.zip, this does both: (1) reinstall all multirom "stuff", and (2) inject your current boot.img

... currently secondary ROMs' boot.img wont get updated, but that is

(a) not currently needed on the 10, and

(b) is already fixed for the upcoming version

in

theory

, the only time you would really need to Inject current boot sector", is if you "fastboot flash boot my_new_boot.img", since in TWRP, the injection (when enabled of course), would take care that part.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrRob0t:
As a user, I feel that we should be forced to read all the information provided by the OP before we can download the MOD, ROM, etc.. :)

I appreciate the fast response and makes perfect sense, I may flash a 3rd ROM, and play around. I am looking forward to the next release!

Thank you for all you do!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Well, taking a bit longer than expected, but

RC2 is out.... if anybody can break it he will :D

sorry, but didnt get a chance to add the "it's broken window", since i'm really really bad at xml's
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Decided to upload, think it can go out for testing for

those that choose to!!

There's only so much testing I/we can do.

btw thank [MENTION=1162986]Captain_Throwback[/MENTION] for finding lots of interesting issues!

Installation: unpack the file

unzip_me_MultiROM_AIO_ZIP_33c-RC2.zip

and you'll find 3 files:

TWRP_3.0.2-0_multirom_pme_20161012-02.img

multirom-20161012-v33b-UNOFFICIAL-pme.zip

MultiROMMgr-debug-20161012-08.apk

Flash TWRP_3.0.2-0_multirom_pme_20161012-02.img

.....using "fastboot flash recovery...", or using TWRP itself

.

Flash multirom-20161012-v33b-UNOFFICIAL-pme.zip

.....using install zip in TWRP

.

(optional) Install MultiROMMgr-debug-20161012-08.apk

.....You need to "allow unknown sources" to install the apk, and yes, it won't download anything, the files aren't uploaded, but the app should work with both internal and external ROMs, as well as the widget (what a headache :p)

Changelog is still in post 3

Happy hunting, and as always, feedback (preferably good), is always welcome

I know there are / may be some more issues to fix, so lemme know

EDIT: ooops, forgot to add some screenshots, we all love those:

EDIT2: imgur isn't playing nice, so screenshots on xda now, (the kexec-hb kernel is a false positive, nothing to do with me)

http://xdaforums.com/devdb/project/?id=17079#screenshots
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] janarp:
hi... my SD card is in exfat format but still can't see external roms...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
The partition on the extSD, used to install external/secondary ROMs should be formatted to ext4.
[OnePlus 3 Questions & Answers] gelomc:
Hi, after performing the second method described in this tutorial : http://xdaforums.com/oneplus-3/how-to/guide-mega-unbrick-guide-hard-bricked-t3405700 I was stuck at version 3.1.2 of oxygenos . every time I try to install a new rom I have a softbrick. I can flah only the twrp recovery . I tried updating via ota , adb sideload and put cyanogen but the situation does not change . I can only restore to 3.1.2 with qualcomm tool . does anyone know how to do ?:crying:
[OnePlus 3 Questions & Answers] Doc Moody:
Did you flash the community build that oneplus offers? Not. 3.1.2 but 3.5.2? it bricks booting / flashing into twrp and therefore flashing anything else. Sideloading doesn't work on that either.

Flash the TWRP recovery attached to the first post of that thread. Then you should be able to boot into twrp and flash another rom to get your phone back to life.

http://xdaforums.com/oneplus-3/how-to/how-to-dirty-flash-oxygenos-3-5-2-t3462288

Report if it helped. Good luck
[OnePlus 3 Questions & Answers] gelomc:
Yes i did and i had the modded twrp but now it doesnt work and i am unable to flash the 3.5.2 community
[OnePlus 3 Questions & Answers] 1F33LR41N:
Did you Find solution for this problem? My friend also has this problem, after unbrick.

Can you tell what you did before you brick your phone first time and all steps after?
[OnePlus 3 Questions & Answers] gelomc:
sorry but i sent my phone to oneplus :)
[OnePlus 3 Questions & Answers] 1F33LR41N:
Nice, but can you tell me how you brick your phone first time?
[Tilt, TyTN II, MDA Vario III General] brianlb:
what is the path to the settings folder, the only one i can find is /window/startmenu/settings/ but it's blank when i open it, i'm trying to create a path for a claunch key on my homescreen, but cant find the right folder.
[Tilt, TyTN II, MDA Vario III General] brianlb:
anyone able to tell me what the path is for the settings folder? i can't seem to find it as mentioned in above post.