yashsingh1/xdaforums huggingface dataset:
[HTC One X] teemo:
Hmm a good idea, but who have the time.....? Besides, someone already did it for other phones. There are some links in Tassadars thread - see OP.

Below is from top of my head a small howto. Someone please correct me if I remember wrong.

Yes. As long as you don't use Lollipop as first/primary/internal ROM, it works very well. To be safe use Sense or other JellyBean ROM as primary.

Also read back on these pages. Can be a bit confusing, best thing is to backup all you have and then just start trying it.

In general to get started:

- Install New Layout recovery

- Wipe everything (you can keep /xtradata - it is not used for MR)

- fastboot flash boot KL Zeus

- boot to recovery and copy..

... aromafm from previous page

... your primary ROM, Sense or JB (KitKat / Lollipop may get you into trouble)

... any secondary ROMs you want

- flash MultiRom for New Layout (read thread to find the right one :) )

- flash AROMAFM - it will open Aroma file manager...

... find your primary ROM and let aroma flash it (be patient and wait for it to finish)

... do not flash internal/primary ROM directly with TWRP. You need aroma to manage boot.img!

REBOOT

Now, when HOX boot you will get a "popup" - swipe the screen or use volume to enter the MR boot menu. Select internal. It will reboot and Zeus will do some magic and select the kernel for the internal ROM.

To install secondary ROM you select TWRP from MR Boot menu. Then you select MultiRom from the recovery and install new ROM.

All of this was very confusing for me to read about, but one I tried it a few times it got easy.

Still there may be issues with multiroms being placed in /data/media/multirom in stead of /data/media/0/multirom

not sure if this is solved by now ?
[HTC One X] Thunder07:
Thats true, it will work the same except for the part about the Internal ROM.

there isnt actually a problem with that, just make sure to flash the boot.img through AromaKL.

aka, you can either follow that step or

flash the internal ROM normally, run AromaKL, select the ROM.zip, choose the boot.img and choose dont flash this zip.

-Update AromaKL

--v4.6 for new layout

--v4.2 for old layout

---This update is just related to bootlooping secondary ROMs with MR

Get update in the ZeusKL Thread
[HTC One X] bilbonotry:
Hello,

I can confirm that AromaKL 4.6 works good. I reflashed my internal ROM kernel with it, then installed AICP as secondary ROM, installed apps and it boots correctly. Thank you very much Thunder07 !

I also tried to install ViperX as secondary, but it does not boot. I can read "mount: /data is busy" at the screen where there is kexec check.
[HTC One X] Tanuj97:
Can the installation steps be done through the multirom app on the playstore ??
[HTC One X] Tanuj97:
Just saw some videos about installation of multirom on oneplus one and it didn't include any of the steps mentioned
[HTC One X] Thunder07:
yes.. and no, I did add support for the app, but im not sure if Tassadar has published the update...

but note that its only for the new layout and contains the old recovery version.

as i said above, they're the same, except for the Internal/Primary ROM (aka AromaKL steps).

umm... had Viper ever worked?

and what happens after the error, does it reboot and bootloop, freeze, reboot?

if it bootloop , grab adb pull /proc/last_kmsg from the loop screen

if or reboot, grab adb pull /proc/last_kmsg when MR starts (note adb takes 8 seconds to start)

if it freeze, force restart and in MR grab last_kmsg
[HTC One X] teemo:
Go into multirom from recovery. Go to venom Rom and inject boot.img manually. You must copy boot.img to device first.

Typed from ViperX 4.06 on secondary ;)
[HTC One X] Tanuj97:
I am currently on arhd ROM of new layout ...somebody pls help me to install multirom on my hox ...some screenshot of the installation would be helpful ....
[HTC One X] Tanuj97:
i just downloaded the multiboot manager app and it showed this ...can i install multiboot from the manager app by checking all the options in the app and let it do the installation process ??? are there any requirments that i should do before installing multirom from the multirom manager app??
[HTC One X] bilbonotry:
Thanks, but it did not work with ViperX 4.1.1 from New layout... OP. Any reason why you used 4.0.6?
[HTC One X] sai1494:
I am currently using ARHD on new layout and no MultiRom as of now. As teemo mentioned in the previous post that it is better to use sense as primary, so i dont have to install any primary rom. So, if i dont have to flash any primary rom, i can directly flash my second rom from MultiRom TWRP right..??
[HTC One X] Tanuj97:
Pls can u make a video when u are installing multirom on your hox tonight .

I am very eager to flash it but cannot do it due to lack of my knowledge in it .. I am still in my 12 standard .... :p
[HTC One X] Thunder07:
as teemo said earlier, no one really has the time...

and i wont be flashing any ROMs on my HOX for atleast 25 days, if ever.

yes?

you'd also need to flash ZeusKL through fastboot and your current kernel through AromaKL (run aroma, select ARHD.zip), choose to flash the entire zip or not, select the boot.img flash. (this is in order to get the internal kernel to boot again.)
[HTC One X] sai1494:
Thanx for clearing the doubt. I am going to try it out now.. :) One more thing.. If anything was to go wrong, is there a way to uninstall MultiRom? I read in other threads about a MultiRom Uninstaller for other devices, is there something like that for HOX??

I will try to make a video if my installation is successful. I cant guarantee it, but i will try.. It will be my first video ever, so it might take a while..
[HTC One X] Thunder07:
the uninstaller is just a fancy zip that does nothing more than delete /sdcard/multirom/

im sure you'd manage without it... but needless to say, after you do that, you have the option of sticking with ZeusKL or flashing over it through fastboot, in which case you'd also need to delete /sdcard/ZeusKL/
[HTC One X] sai1494:
Problem when installing secondary rom

I installed MultiRom successfully. When i start my phone i get the multirom screen to select rom, ( this screen also has TWRP mentioned below the internal rom), now i go to this TWRP and go to advanced>MultiRom>add rom and select my ROM. I get install failed error.

On the screen in TWRP where i swipe to install ROM, i see something wierd, I just see the name of the rom, question mark below it and the swipe thingy.

I am on New Layout

Primary/Internal Rom: Android Revolution HD (Sense based ROM)

Secondary ROM I am trying to install: AICP-9.0-NewLayout (5.1.1 lollipop)

Is the error occurring because i have sense as my internal ROM??
[HTC One X] Tanuj97:
Is your primary ROM i.e arhd booting successfully
[HTC One X] sai1494:
yup.. I have no problem with ARHD.. Just cant flash secondary ROM from MultiRom menu in TWRP.
[HTC One X] cappuccina:
Have you flashed the right multirom zip.?

What version of twrp in multirom does it say?

Or maybe bad download of lollipop rom?
[HTC One X] sai1494:
i flashed multirom-20150222-v31

it shows twrp v2.7.1

I already used the lollipop rom before, so not a bad download. i also tried cm12.. same problem.
[HTC One X] cappuccina:
If I remember right it should already be version 2.8.4 in multirom.

Is it the zip from OP?

Use the one [MENTION=698346]teemo[/MENTION] provided a few post back.

There were problems with the boot.img in the last version from first post. It had to be replaced with one from previous version.

I think [MENTION=618483]Thunder07[/MENTION] hasn't corrected the file yet.

That should fix the installation failure.
[HTC One X] Thunder07:
I didnt :p

anyway, I've compiled a new recovery 2.8.6(with secondary rom restorecon option), it flashed a primary rom correctly, but i wasn’t able to test Secondary (phone battery died), anyone feeling adventurous can try it, just push the file attached to /data/media/0/roms/TWRP/boot.img as root.

phone is charging now and will update main point, once i get to test it myself.
[HTC One X] sai1494:
Working..!!! i used the one u mentioned.. Thanx..:) Now i have ARHD and AICP..!!
[HTC One X] stona175:
Someone test it in this conf

Main: Viper 4.1.1

Second: AICP 9.0

Witch success?

I got problem with boot. Maybe i making something wrong :/
[HTC One X] Thunder07:
-Update MR v32

--Most changed since v30 are enabling support for encrypted devices (which has little to no consequence here)

Update TWRP v2.8.6.0

--most important change has to be the restorecon option, that should help fix a secondary ROM boot loop should it happen.

--it also brings the recovery inline with upstream TWRP

Get update in the 2nd Post

Trampoline (v14->v24)

--again, most of the changes are actually just bug fixes(nothing that stands out), and encyption support, but none the less thats in ZeusKL v11 now

Get update in the ZeusKL Thread

people are having trouble booting that ROM, I tried downloading it, but estimate download time was 4hours 1st then 9hours.

your best hope is if teemo is interested in finding a fix.
[HTC One X] Perou:
Where i can find TWRP 2.8.6.0? Can't find it in the 2nd post, or I'm blind?:confused:
[HTC One X] Thunder07:
It's part of multirom, so you just need to flash that zip.
[HTC One X] teemo:
Yeah, I just did today. ViperX as Internal, AICP9 as one of many externals (danm it's fast) :)

Had to delete my trusty SlimLP on internal :eek:

MultiRom v32 (post#2)

AromaFM KL-Flasher(4.6) from Zeus thread.

KL-Zeus beta 10

When installing ViperX with AromaFM, try to NOT install TuneIn. Got instant reboot in first try. Next try I ran without TuneIn in Aroma.

Did a quick check of above. Aroma and MultiRom good (no time for restorecon yet). Something fishy with Zeus 12. Did not mount sdcard, thus no multirom. Would be good to hear if other tried with success...

Regarding your previous question for me, I will probably nag you later with a few questions. It's not all clear to me how it al is compiled, but I guess it will not be too hard to explain. For now I have a few other things and guess you have your hands full as well.
[HTC One X] Thunder07:
I'm running it myself... MR boots fine, i even have a screen-shot of it :/

as for restorecon, the log output is fine, I just dont have a broken ROM to test it again.

Its really easy, recovery works the same, MR is cloned to system/extras/multirom, then build with "mka/make multirom trampoline multirom_zip", AromaKL cloned to bootable/recovery/AromaKL, built with "mmm bootable/recovery/AromaKL" the end.

kexec patch applies with no issues.

one thing though, since my 1st build was for the old layout, I edited stuff which I later reverted, except for 2 patches, one to fix adb and one to allow the recovery to be booted from MR...

if you compress the recovery with lzma, you can forget about the 2nd patch and only apply the adb fix.

I actually, rebased from scratch for this last build and will commit everything out soon.

edit:

pushed MR, TWRP is exactly as it from Tassadar.
[HTC One X] Tanuj97:
Just wanted to clear my doubt before flashback multirom ..below is my method which I thought I would try to flash multirom ...pls tell me whether it is right or wrong

I am currently on arhd ROM new layout ..so I am on stock kernel and don't have kexec hardboot patch ...so I just download a custom kernel with kexec patch and flash it through recovery ...so now I am having kexec patch

Then I download multirom manager app on playstore and let it download all the files and allow it to flash it for me ..

Is this method right to flash multirom ..pls help
[HTC One X] teemo:
That's not the right way :)

You do not need a kexec kernel for your ROM. You need one to start your normal kernel (found in the ROM.zip).

MultiRom is used to start an external ROM

KL-Zeus is used to start an internal ROM

The only kernel you EVER* need to flash from PC is Thunder07s KL-Zeus kernel. If you boot the internal ROM then Zeus will boot the kernel for that ROM. If you boot an external (secondary) ROM then MultiRom will start the kernel for that ROM.

All your external ROMs and kernels are stored on the sdcard. This is also where MultiRom is saved. Don't mess with these files :D

Download the korrect KL-Zeus from post#3.

Flash that kernel. For New Layout:

fastboot flash boot KL-Zeus.Beta11.NL.img

Download MultiRom for your layout and install the zip from recovery

Download AromaFM and copy to your sdcard (or xtradata).

To use MultiRom: Reboot the phone. When phone boot you will see a menu - enter by swiping the screen or use vol-up/down. 2x tap on twrp. It will launch twrp for multirom. From there you can start MultiRom in the Advanced menu.

Flash primary/internal ROM first like this:

From TWRP (normal twrp or twrp for MR). Select install. Find AromaFM and "install" it. It will start and from here you find your ROM and tap it. Select all in aroma ROM, Kernel etc. and flash. When finished do not reboot. Just go back out of installer and out of Aroma. Then reboot :)

* If you change layout (New to Old or Old to New) you need to flash Zeus again for the other Layout.
[HTC One X] Tanuj97:
I installed multirom ...but when I boot my phone I see the multirom option and I click cancel ..then to add a ROM I can't see twrp option in the internal section

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

I installed multirom ...but when I boot my phone I see the multirom option and I click cancel ..then to add a ROM I can't see twrp option in the internal section
[HTC One X] Thunder07:
if you've done everything correctly, it should be there...

but let assume, something went wrong.

if you cant see TWRP I internal, you can add it yourself,

1) boot android or normal recovery

2)

adb shell
su
cd /data/media/0/multirom/roms/
mkdir TWRP;cd TWRP
mkdir boot cache system data

3) exit shell

4) download the MR.zip and extract it, inside there should be a folder called multirom/roms/TWRP/ which contains a boot.img.

5) adb root; adb push boot.img /data/media/0/multirom/roms/TWRP/boot.img
[HTC One X] Tanuj97:
Can you pls explain in detail where to write which code ..i have not done any coding previously so i dont know ..
[HTC One X] teemo:
Hmm weird. It came after I shut down ViperX with "fast boot" enabled. Wonder if that was messing with anything....

Anyway, I reflashed it and all is good. ................ except a minor issue when restoring backup, I can browse to it, but its not accepted. No big deal.
[HTC One X] Tanuj97:
Hey teemo pls solve my twrp error pls ..
[HTC One X] Thunder07:
you need to take some initiative, google, read etc... I'm really busy these days.

if this is too much for you, maybe you shouldn’t be doing it at all.

the only way you have the custom recovery on your phone is if you unlocked it, surely you've used fastboot, so you know adb.

just make sure all the files mentioned are in the same folder and it should work.

the only other thing i can tell you is, on your phone, use a file manager, open /data/media/0/multirom/roms/ and create a folder called TWRP, then try flashing MR.zip again.
[HTC One X] Tanuj97:
I am already having a folder called TWRP in ..data /media/0/multirom/ROMs and inside it contains a boot.IMG

---------- Post added at 05:08 AM ---------- Previous post was at 04:41 AM ----------

And I more thing ...after flashing multirom ...I downloaded the multirom manager app from the playstore ..then in manager roms section it was showing internal and twrp so I clicked on twrp but it showed me a message that my kernel is not having kexec patch ..and to boot into twrp you need a kexec patch in the kernel

---------- Post added at 05:09 AM ---------- Previous post was at 05:08 AM ----------
[HTC One X] teemo:
Everything you need is in Thunders two threads.

A year ago or so I build a kexec kernel for HOX (Slim) ROMs, but never published it as it is no fun unless all other ROMs have it too. MultiRom for android need that kernel to work.

Thunders system use Zeus as a workaround. Forget about the android app.
[HTC One X] Tanuj97:
Then how should I make my multirom twrp functional ..as i can't see it in the internal section of the Mr ..I am already having the twrp folder in data section ..but I can't see it in the Mr ..pls help
[HTC One X] teemo:
Do step 3 again.

http://xdaforums.com/showthread.php?p=52878183
[HTC One X] Tanuj97:
Tried that ...but still not twrp in internal ... :(
[HTC One X] Tanuj97:
i think there is a problem in MRv32 .....i installed MRv32 ...it didint showed twrp in internal..then i flashed version MRv31 and it showed twrp in internal section and after that i again flashed Mrv32 and then it showed twrp in internal...

---------- Post added at 11:48 AM ---------- Previous post was at 11:34 AM ----------

I tried to flash a secondary ROM ressurection remix v 5.4.3 and it gave me an error and said failed to install ROM ...error said ....failed to upadte binary in zip ..
[HTC One X] teemo:
You are right, there is a problem. The installer does not create ../roms/twrp/boot for v32

But if you install v31 first it will use the old :)

For the other problem, I tried to add resurrection as secondary. I did not get any errors, but out did not install. Log is gone now, but I will try again and check it out.
[HTC One X] Tanuj97:
Which are the new layout ROM which are installing properly without any errors in MRv32
[HTC One X] Tanuj97:
none of the roms are getting installed properly ...i tried aicp9.0 and it aslo gave me error ...the error says " E: Error executing updater binary in zip ' /tmp/mr_update.zip'....what should i do ??
[HTC One X] Tanuj97:
I think multirom cannot install lollipop ROMs based on 5.1.1..and can install ROMs based on 5.0.1...coz I tried 2 ROMs ..ressurection remix v 5.4.1 which is based on 5.1 and ressurection remix v 5.4.3 which is based on 5.1.1 ...but v5.4.1 installed properly but 5.4.3 gave me error while installing
[HTC One X] Thunder07:
I don't think there was any difference in the way android was installed between 5.0 and 5.1, so I wouldn't expect it to be a factor.

You can also check the archives in the main post, for v31, the recovery is older, but whatever is broken in the new recover might not be in that.
[HTC One X] teemo:
I tried RR511 on both v31 and v32. Ain't working.

Slim 5.1 and aicp 5.1 install without issues.

RR script is similar to aicp, but it looks like it is the updater binary that fail.

Extracting to /file_contexts
I:Legacy property environment initialized.

minzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args

grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12.1
run_program: child exited with status 127

about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...
blockimg version is 2
erasing 327680 blocks
script aborted: blkdiscard failed: Operation not supported on transport endpoint

blkdiscard failed: Operation not supported on transport endpoint
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/tmp/mr_update.zip'
rm: can't remove 'META-INF/com/google/android': No such file or directory
Failed to install ZIP!

Does this install on normal twrp recovery?
[HTC One X] Tanuj97:
[QUOTI y=teemo;60532637]I tribuild 511 on both v31 and v32. Ain't working error .slim 5.1 and aicp 5.1 install without issues.

RR script is similar to aicp, but it looks like it is the updater binary that fail.

Extracting to /file_contexts
I:Legacy property environment initialized.

minzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args

grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12.1
run_program: child exited with status 127

about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...
blockimg version is 2
erasing 327680 blocks
script aborted: blkdiscard failed: Operation not supported on transport endpoint

blkdiscard failed: Operation not supported on transport endpoint
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/tmp/mr_update.zip'
rm: can't remove 'META-INF/com/google/android': No such file or directory
Failed to install ZIP!

Does this install on normal twrp recovery?[/QUOTE]

Hey..i tried aicp 9.0 latest build of 26 -4 ..the recovery gave me same error you got while installing RR
[HTC One X] teemo:
Hey..i tried aicp 9.0 latest build of 26 -4 ..the recovery gave me same error you got while installing RR[/QUOTE]

Probably a change in the cm installer. Will take a look later.
[HTC One X] cappuccina:
Probably a change in the cm installer. Will take a look later.[/QUOTE]

I have also encountered this issue. Couldn't install latest RR and the new FlexOS rom.

But I have latest XenonHD which is said be 5.1.1 installed without issue.

So not sure what the other roms changed or XenonHD did not...
[HTC One X] teemo:
Try this :D

I did this on MR31, but I guess MR 32 will be good too.
[HTC One X] cappuccina:
Thanks for the hint. ;)

I'm also on MR31 again. Worked like a charm.

I just used one from previous RR to install FlexOS.
[HTC One X] bilbonotry:
OK, I managed to get viperx working as secondary. I used [MENTION=5187686]reubenvarghese1[/MENTION] zip. I installed it once checking all apps to remove them (but I do not think it is needed), then rebooted, then got /data busy error, then went in multirom, list ROMs, viperx, flash zip, reinstalled it, then it booted! :)
[HTC One X] reubenvarghese1:
So it actually is an issue with viper nl by vaykossil I guess ! And yeah [MENTION=1160716]bilbonotry[/MENTION] the remove all apps step in aroma is indeed not required.It was just that the first time I installed the rom I used that method.Later i had to reflash the rom but this time I installed all apps and still the rom worked like a charm:p.

I was wondering if someone could port the alex v kernel for the new layout so that we can also have s2w and d2w for the rom:D
[HTC One X] teemo:
This ViperNL has lyapota kernel with s2w and d2w.
[HTC One X] Kellwa:
ViperX & Lollipop

Hi

Pleas if anyone can help me

Am on new layout

i have managed to get viperx working as primery and any jellybean or kitkat rom as secondery.... But not Lollipop (AICP 9) as secondery

Lollipop is working on primery and any jellybean or kitkat ( not viperX ) as secondery

How to get viperx and lollipop working together ... Dosen't matter wich one is primery

I couldn't install AICP using add rom method so i installed it on primery and swap it to secondery

I think the problem would be solved if am able to flash Lollipop rom using Multirom-Add Rom
[HTC One X] Tanuj97:
what error does the multirom twrp recovery gives you ??
[HTC One X] Thunder07:
if you read few posts up, one of the last updates broke the updater compatible with TWRP_MR installer,

you'd need to use an older version for now... or you can try using the option to swap ROMs,

though i havent personally used it, but i expect you'd need to re-add the boot.img after you do so.
[HTC One X] Tanuj97:
[MENTION=618483]Thunder07[/MENTION] are you going to update the multirom coz we keep getting the /tmp/mr_update.zip error while flashing new roms and have to change the update-binary of the previous working rom