yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Guttmann:
TL;DR: I've encountered the same error, and wasn't able to find an answer for that question... I had to flash a backup as well.

I have an originally VZW HTC One M8, and was running 6.21.605.3 firmware, and Jazz - Sense 6.12.401.4 MRA58K ROM as primary.

After successfully flashing the recovery and flashing the zip, the app recognized the installation and everything seemed to be working. Then, using the recovery, I flashed this ROM as secondary. After that, I wasn't able to boot to either ROM. It seemed to boot, and I could hear some of the normal android sounds, but either I had a black screen, or the HTC boot thingy.

After some time I flashed the uninstall, but to no avail. Got the Error: 7.

(If this helps someone - great, if not - well... I tried :) )
[One (M8) Android Development] eskimosound:
Forget it guys.....deleted question!
[One (M8) Android Development] ckvisme:
Any luck booting any of the new unofficial Oreo ROMs? I haven't touched this phone for some time. I'll play around a bit longer and post logs when I get a chance.
[One (M8) Android Development] imonxda:
If anyone cares, I have 126 roms installed on VZW M8 multirom (125 to EXT_SD) ranging from Android 4.4.2 up to 7.1.2 - I have Sense, GPE, AOSP, miUI, Flyme, FIUI, IunI, and Xperia roms and they all work perfectly with only 2 exceptions, the IunI rom can't install Xposed and half of all AOSP-based 7.1.2 roms have broken BlueTooth, that's only 9 roms with this problem, but I have 10 AOSP 7.1.2 roms that DO have BT working.

I know, what a ridiculous waste of time, but it's been ongoing since 2016 when I started and I've been slowly adding and polishing roms since I found out that the M8 can "take" ext SD cards of any size, mine is 1TB and I have 50% free space with 125 roms installed.

I'm only posting this to highlight the awesomeness of dev NKK71 and past devs that have made this all possible, it's very satisfying in a weird way that a single old phone can have 126 Operating systems installed at the same time with the ability to boot instantly from one to another with the MultiRom app, and it all works - so frekin' cool :)

If anyone out there is still messing with MR on M8, I can answer just about any question about it, I've seen it all, I've done it all, I've bricked and un-bricked, I've corrupted the firmware, wiped out SD cards unintentionally, and I've recovered from all problems and crashes as I have experimented HEAVILY with this - now-a-days, I got it down, and I know a lot.

RIP NKK71
[One (M8) Android Development] imonxda:
@Captain_Throwback :cool:

Praise from you ??!! Awesome!

Now I have 128 roms, a nice 16bit number, it's finished.

If you have the time, would you know of a good way to copy internal SDCARD contents, then paste back after RUU including multirom directory preserving all attributes?

Sometimes firmware gets corrupted and I gotta RUU, if I use an S-ON FUU, internal SD is not wiped, but many times the S-ON FUU will not be enough and full wipe RUU is needed, or if I switch to a new M8, I have a real hard time copying all data in internal, many roms store app data and even system app data on internal SD. I tried MTP (excluding /multirom) in multiple versions of TWRP, or MTP in a rom, or TWRP file manager copy to external, but it always fails with errors and attributes are not preserved - I can backup internal roms then restore them, so the multirom directory is not a real problem, but still if the roms are large, then it takes a long time and wears out battery, excessive heat etc, it would be nice if I could copy all internal data in one shot, maybe use DD to OTG formatted with EXT4 or something?
[One (M8) Android Development] whytechapel_x:
Have three roms installed and running perfectly.
[One (M8) Android Development] ArtificialMusik:
Thanks! I appreciate the help. I was gonna wipe and start all over again and do this and was just making sure if it was possible. Thanks so much! +1
[One (M8) Android Development] CPA Poke:
Official LiquidSmooth kernel has been patched with kexec for use with MultiRom. Can be downloaded here for anyone interested.

The boot.img in the ROM itself from here on out, too. I'm currently using the 9/23 build as my host ROM and everything is working fine.
[One (M8) Android Development] jake.99x3:
xD thanks!! I'm actually having problems with sense hosts so this helps alot.
[One (M8) Android Development] DJ_Casper:
Is this ROM suitable/compatible with M8 Dual Sim version?
[One (M8) Android Development] CPA Poke:
If you're asking about Liquid, no - I'm pretty sure it isn't.
[One (M8) Android Development] manup456:
Look in the cm 11 thread [MENTION=1162986]Captain_Throwback[/MENTION] just made a aosp kernel for dual sim.
[One (M8) Android Development] Captain_Throwback:
You can try CM and use the kernel I posted here. I'm actually looking for feedback as to whether it works on Dual SIM or not.
[One (M8) Android Development] jsminnis:
I'm on Verizon, the app says unsupported device htc_m8wl.
[One (M8) Android Development] Captain_Throwback:
That's because the app has to be configured to account for all of the variations of M8 when compiled. This is what my my devices.json looks like:

"names": [ "m8", "m8ul","m8whl","m8wl","m8spr","m8vzw","htc_m8whl","htc_m8wl","htc_m8","m8_ul","m8_whl","m8_wl" ],

because of all the ways the device name may show up. We're not very consistent around here, lol.
[One (M8) Android Development] jsminnis:
So what can I do on my end to make it work? Your list shows htc_m8wl which is how it is in my build.prop.
[One (M8) Android Development] Captain_Throwback:
Nothing. You can use the APK I built in my recovery thread, which will allow you to at least switch between ROMs, but mine doesn't have a manifest set up so you can't download kernels or anything.
[One (M8) Android Development] jake.99x3:
Ok is anybody else having a problem with sense roms. I can not get any sense roms to work with multirom. LS is my base, I've got MIUI, GPE, and aosp working but no sense roms
[One (M8) Android Development] jsminnis:
The app in the op works now, I just changed the ro.product.device to htc_m8 in the build.prop.
[One (M8) Android Development] jsminnis:
A couple of quick questions, how do i flash mods (sound mods etc) to the secondary rom. And does the secondary rom need a kexec kernel as well?
[One (M8) Android Development] manup456:
I explained it a few pages back, it's really easy.
[One (M8) Android Development] daorderdillon:
No just primary plz read the post
[One (M8) Android Development] DeeZZ_NuuZZ:
[quote name="ArtificialMusik" post=55649226]It says nothing about updating an already installed Secondary rom, which is exactly what I asked. I'll ask again.<br />

Is there a way to update a(the) secondary rom?[/QUOTE]<br />

<br />

Yes you need to go into recovery advanced > multirom > rom list > select the ROM you want to update and you should see all the options wipe, flash .zip etc....<br />

<br />

Did you read this? Just one or two pages back, next time you can try at least reading the last few pages :D or using search,

The main kernel for the main Rom u use have to be patched with kexec, all other 2. 3. Roms don't need a kexec patched kernel if I remember right
[One (M8) Android Development] Captain_Throwback:
I know this was already answered, but I have pictures ;):

Choose MultiROM option in TWRP menu

Choose the Manage ROMs tab

Select the ROM you want to flash something to

And then choose the "Flash ZIP" option

It's extremely easy!

P.S. I'm using my TWRP with [MENTION=2719389]z31s1g[/MENTION]'s Holofied Play MultiROM theme (there's also a dark version).
[One (M8) Android Development] remicks:
This is awesome. Using captain's twrp on my Verizon m8.

Gonna need to get a new usb-otg cable soon lol

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] NJGSII:
I'm having a similar issue in bold. No matter if it's the secondary or swapped, the battery percent in Sinless GPE is different than the systems actually battery level. Didn't have this issue with any AOSP based rom. Would it need time to readjust?
[One (M8) Android Development] remicks:
This sounds like an issue for the SinLess dev, since it appears only on that ROM so far.

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] brholt6:
Nevermind...
[One (M8) Android Development] Galaxysm:
Yeah I think its sinless ROM I have the same problem too...but doesn't ready bother me.
[One (M8) Android Development] AnimusVoxx:
Anyone able to save screenshots in secondary rom
[One (M8) Android Development] K-a-M-u-Z-u:
Stock GSM + skydragon international.

Works great! Thanks for the info!
[One (M8) Android Development] Giblet-dono:
I have tried on several roms, and using home+power doesn't make a screenshot on all I tried, but using a quicksettings button on for instance Dirty Unicorns will result in a proper screenshot.

So Yeah it does, but doesn't work ;)
[One (M8) Android Development] LiLPurP:
Quick question sorry if its been answered already, i attempted these steps and encountered issues, is the HTC One M8 4.4.2 AT&T version compatible or do i need to uodate to 4.4.3
[One (M8) Android Development] Giblet-dono:
4.4.3 kernels are not compatible with 4.4.2 roms, as such only if you have a 4.4.2 kernel with the kexec hardboot-patch you can use this mod

(I'm not 100% sure about things like the multirom zip, and roms.. It should work if the partition layouts are the same!)
[One (M8) Android Development] ckpv5:
Yep ... no problem for me.

My secondary ROM is MIUI
[One (M8) Android Development] Giblet-dono:
did you capture using Power + home?
[One (M8) Android Development] LiLPurP:
I thought that was the problem, does anyone know of such a kernel, im not quite ready to update to 4.4.3 and dying to try MultiRom
[One (M8) Android Development] ckpv5:
There is no such feature on MIUI ...so use the toggle button
[One (M8) Android Development] boringalex:
What flags did you enable? I hope you did not enable ATAGS and enabled DTB.

//nvm. I see flar2 answered.

If you guys happen to find any more multirom resources being developed (kernels, apps etc) drop me a link so I can add them in the first post.
[One (M8) Android Development] colthekid:
You're using Captain's TWRP? For me the Multirom Manager app in the OP just says Multirom recovery not installed! Despite me having already installed Captain's 2.8.0.6 :confused:

Then won't let me go any further without installing a recovery....and it fails to download a recovery! :crying:

Are the recovery download links in the app wrong?

Cheers

P.S. Still can't get an unrooted stock rom to install, they all fail at the boot.img stage. I've tried both odexed, de-odexed and a stock backup. I'm wondering if it's because the kernel is "secured"??? Any ideas?
[One (M8) Android Development] LiLPurP:
If your looking to go back full stock you can try a bootable RUU. Just search for your firmware and following instructions

Edit: i also encountered issue with downloading the recovery in multirom manager, and if i flashed it manually it wouldn't recognize it, i believe i made a mistake and had a partition error so i used the RUU to revert back to stock
[One (M8) Android Development] colthekid:
Think you may have misunderstood...don't want stock as my primary (so don't think RUU is relevant), I want to have an unrooted stock as a secondary rom, just can't get the install to get past the boot.img stage.

Also why would a partition error matter? The recovery is failing to even download, so it's not even getting to the actual flashing bit
[One (M8) Android Development] rockyseenu:
+1. Getting the same error in Multirom manager app. (I am using recovery from the OP and not captain's)

Insertcoin 4.0.1 as host and PA as guest
[One (M8) Android Development] daorderdillon:
As I said before you have to flash the regular twrp and then flash the stock Rom and root it and when your done setup the multi Rom it won't work if you are trying to flash as a secondary Rom. Keep in mind it's hard to convert the odex Rom into multi boot
[One (M8) Android Development] TheBurgh:
Try looking at post #312. This helped me
[One (M8) Android Development] colthekid:
But I don't want stock as my Primary Rom, as I said above, I wanted it as a secondary rom. Don't see what good flashing a stock rom as Primary would do. Are you saying that even a de-odexed stock unrooted rom can't be used as a secondary rom?

My build.prop already says ro.product.device=htc_m8, so no joy there, but thanks anyway
[One (M8) Android Development] manup456:
Use the app from captains post on his thread the message will be gone.
[One (M8) Android Development] colthekid:
Captain's app says "Muiltirom recovery not installed. Failed to download info about updates!"

:crying:
[One (M8) Android Development] manup456:
That is fine mine says the same just hit or swipe to settings in the app, you really only need the manage roms part.
[One (M8) Android Development] jake.99x3:
Got the same error. It was a dirty build so instead I just used NuSense as my base.

---------- Post added at 09:02 AM ---------- Previous post was at 09:00 AM ----------

Same thing is happening to me. Are you on the Verizon variant? I was thinking about changing my mid through adb and trying again.

---------- Post added at 09:03 AM ---------- Previous post was at 09:02 AM ----------

No I looked for a couple days. Couldn't find one so I just flashed the updated firmware- flashed NuSense 4.4.3 as my base- flashed multirom and everything was good to go.
[One (M8) Android Development] colthekid:
No I'm on a international GSM M8
[One (M8) Android Development] Captain_Throwback:
There are some posted in this thread, actually ;):

AOSP kexec-hardboot patched kernels:

CM Kernel (built a/o 9/24/2014)

LiquidSmooth Kernel
[One (M8) Android Development] jake.99x3:
try changing your mid anyways. Might work but what we really need Is official support and then we'd get app support
[One (M8) Android Development] boringalex:
Thanks.

Does kexec-hardboot get usually ported officially by CM? Their kernel gets updated frequently, this would require you to keep the same old kexec-patched one.

I hoped someone maintains these kernels, so I don't link to a specific build.
[One (M8) Android Development] Captain_Throwback:
Well the LiquidSmooth kernel is updated in that build going forward. I could submit the patch to CM gerrit, but I highly doubt it'll get merged. Stranger things have happened, I guess.
[One (M8) Android Development] raznalab:
Please don't take this the wrong way, I'm just curious as to why you are so determined to have stock as a secondary rom?

It's multirom so when you boot up you can decide which to boot into, I even saw a setting that says something about booting into the last used rom instead of it always booting into primary.

One thing that did come to mind though is if there is a performance difference between having the rom as primary or secondary, but I don't think there would be... But someone with more experience will chime in I'm sure [emoji1]
[One (M8) Android Development] beats4x:
So, i know I've posted quite a few issues in here. I just want to share my experience yesterday. I went to flash a custom kernel on my secondary rom (pa) and I got all sorts of errors, framework crashes, and eventually reboots where it wouldn't load any rom at all. I booted into recovery, and my /data partition was corrupted. I ran every possible option in twrp, ending with the repair file system option. It didn't seem to work at first, so I shut the phone down.

About two hours later I went on my lunch break and voila, internal rom was present and booted up just fine, but I lost multirom. I left it for the rest of the day until I got home.

When I got home, I flashed a T-Mobile firmware zip that included dz data, stock recovery and radio (no system image though), flashed captain's 2.8.0.7 twrp, wiped /system /data /cache and /dalvik, restored my most recent backup of viper, installed multirom, then reinstalled pa.

For some reason, this 'wipe everything' approach did the trick, my secondary rom has been booting without fail. So, to the people I saw having the same issues as me, this should fix it. It's a slightly tedious process, but at least I've got it working properly now ?
[One (M8) Android Development] Captain_Throwback:
Where did you get this? I only have 2.8.0.6 linked in my thread (and for good reason).

---------- Post added at 11:12 AM ---------- Previous post was at 10:26 AM ----------

@boringalex

I noticed that the UI on our MultiROM launcher appears to be oversized, so that we're not able to use the color/theme switcher. Is there an easy way to fix that? Or is that option not available to us yet?
[One (M8) Android Development] Sojourner353:
I have it also and I got it off afh.
[One (M8) Android Development] Captain_Throwback:
Okay then, I guess that makes you a tester, even though you probably don't even know what you're testing, lol. My advice is to wait until I post links to these releases in my thread. But then again, if you're in this thread, you probably like to live on the edge anyway . . .
[One (M8) Android Development] devilman30:
Aloha Captain,

Any closer to using the SD to store primary and secondary roms?
[One (M8) Android Development] Captain_Throwback:
I think you meant [MENTION=5565418]boringalex[/MENTION], as I'm not working on that, lol.
[One (M8) Android Development] Sojourner353:
Only reason I went looking is because I didn't have the MultiROM option in .6 but .7 gives me that option, everything I use it for seems fine in .7 and currently have ViperOne 2.4.0 as my host and CM11 as my guest, just need to figure out how to install gapps on CM11 now.
[One (M8) Android Development] Captain_Throwback:
All that means is you flashed the wrong version of .6 in the first place. Installing a zip on a secondary ROM has been described several times within the thread.
[One (M8) Android Development] Sojourner353:
Yep just reading that now, cheers.
[One (M8) Android Development] beats4x:
I pulled it off your AFH page, but, since you said we're 'testers' I'll let you know that this time around I've had no issues so far. I can't attest as to whether it is due to my complete wipe and firmware flash, or if it's the changes you've made in twrp, but everything is working smoothly now.

I'm gonna keep testing multirom throughout the day just to be thorough, and I'll try flashing a kernel on my secondary rom again, see if it's working now.
[One (M8) Android Development] daorderdillon:
When u done setting up stock as primary you can swap it with secondary that's simple
[One (M8) Android Development] Captain_Throwback:
You should try making some backups to external storage (compressed, uncompressed) and see how that works for you. What kind of SD card do you have, and how is it formatted?

(after this, we can take the conversation to PM so as not to take this thread too far off track)
[One (M8) Android Development] Sojourner353:
Am I correct? GPE cannot be installed as a guest to a Sense host? Tried to once and the install fails with a bootimg error, done a search but not much info on it, cheers.
[One (M8) Android Development] Captain_Throwback:
Incorrect. I have GPE running as a guest perfectly fine to my Sense host. I also have a Sense guest and CM11. WIth all of the patched kernels currently available, any/all combinations should be working.
[One (M8) Android Development] colthekid:
I've got a couple of apps that only work on stock unrooted phones, so wanted to see if they would work on multiboot with a pure stock rom as secondary.

Also running cm as secondary already, so it's just a "project" so to speak!

---------- Post added at 05:59 PM ---------- Previous post was at 05:57 PM ----------

I see what you mea, but ddoing it that way, I'd have to root the stock rom & install a kexec kernel... Wanted completely unrooted stock.
[One (M8) Android Development] raznalab:
I don't think you need to root to install a new kernel, but again I could be wrong which wouldn't be the first time [emoji3]
[One (M8) Android Development] Galaxysm:
Is there something wrong with .0.7? That's what I flashed also lol.
[One (M8) Android Development] daorderdillon:
At first mines wasn't rooted and it couldn't be rooted you dint have to root it once you do the stock Rom just flash the multi recovery and then the Rom when your done swap the custom to primary remember to don't share kernel when u flash custom Rom. Once u do the swap don't root the stock because the kernel will apply to it

---------- Post added at 01:56 PM ---------- Previous post was at 01:43 PM ----------

If you remembered this post when I said I couldn't root my stock Rom and kernal was stock too at this time I made the swap and everything was stock as secondary http://xdaforums.com/showthread.php?p=55626145
[One (M8) Android Development] -juanito-:
Can't download the recovery through the app
[One (M8) Android Development] Diddy555:
Whatsapp shared data

Okay,

I found 2 solutions for whatsapp shared data, both take some time.

Make a Titanium Backup before you try this please!

First copy /data/data/com.whatsapp/ to the root of your external sd card.

1. Folder Mount:

- If you use this method, you also need to create a folder 'lib' in ext_sd/com.whatsapp/ and copy the content of /data/app-lib/com.whatsapp-2/ to it.

- You can use the app 'FolderMount [ROOT]' from playstore to mount /data/data/com.whatsapp/ to /storage/ext_sd/com.whatsapp/ and set it to automount after boot.

The problem here was that FolderMount needs more time than whatsapp service thats why whatsapp must be killed after each boot to load the data from sd. This doesnt happen with method 2.

2. Symlinks

- You dont need to create the lib-folder for this method.just go to /data/data/com.whatsapp/ with any root explorer and rename (or delete if you have a backup) every folder in here. Theres already one symlink 'lib'. Leave it untouched.

- After that open terminal emulator (or use adb shell) and type following:

1: su

2: cd /data/data/com.whatsapp/

3: ln -s /storage/ext_sd/com.whatsapp/app_webview/ app_webview

4: ln -s /storage/ext_sd/com.whatsapp/cache/ cache

5: ln -s /storage/ext_sd/com.whatsapp/databases/ databases

6: ln -s /storage/ext_sd/com.whatsapp/files/ files

7: ln -s /storage/ext_sd/com.whatsapp/shared_prefs/ shared_prefs

- Now Reboot.

Both methods have to be done in every rom once, also Internal.

Hope I could help somebody :)
[One (M8) Android Development] colthekid:
Ah... I get you. I already have the multirom recovery installed, so if I understand correctly....

Backup current primary rom

Install stock rom from recovery as primary

Immediately swap to secondary (without booting)

Restore original primary rom

Will try it later, thanks for the advice.
[One (M8) Android Development] Captain_Throwback:
I let [MENTION=5565418]boringalex[/MENTION] know on github and submitted a pull request for the fix. In the meantime, try installing the app from my recovery thread. That one should work fine.

Also, if anyone else was having the issue with the black screen when booting your primary ROM instead of your boot animation, try installing the MultiROM v28 through my version of the app. I rebuilt it earlier today and it seems to have fixed the problem for me.
[One (M8) Android Development] S1L3nTShaDoWz:
:(

Well, s***. Attempted booting into CM 11 today or one of my AOSP ROM's and guess what? Something other/similar than the encryption bug occurs and my /data is inaccessible. So I did my normal thing, repair file system for both /data and /system and well what happens then? poof goes all 4 ROM's and everything on them. All of those hours of setting all that up gone for the fact I wanted AOSP, ugh. I sort of expected at least something to be gone but not all 4 ROM's and everything in total. I guess I'm sticking clear of AOSP for the next few months...again. *Rant rant rant lol*
[One (M8) Android Development] manup456:
Nice work just tried and it worked. Hey question is there anyway to get your app to read your twrp recovery as a multirom recovery?