yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] uchiha_sasuke:
Is it possible to install kk cm based rom as sec roms
[Moto G Android Development] kedar512:
Yes it is.
[Moto G Android Development] sub77:
Updated MultiROM TWRP and Mulitrom ZIP

http://android.comtek-wiebe.de/MultiROM/falcon/multirom-20150704-TWRP-v287-falcon.img

http://android.comtek-wiebe.de/MultiROM/falcon/multirom-20150704-v32-UNOFFICIAL-falcon.zip

twrp cache wiping should be fixed
[Moto G Android Development] Wandule:
Reporting: Wiping cache it's fixed :D Using ResurrectionRemix 5.4.8 for falcon.
[Moto G Android Development] :
Everything seemed great until I backed up , wiped and restored my stock 5.0.2 ROM. It bootlooped after restoring. I restored backups from other TWRP versions no problem though.
[Moto G Android Development] sub77:
Did you restore as secondary rom?

if so please try:

Choose your restored rom

and press "run restorecon"
[Moto G Android Development] kedar512:
Link for recovery is not working.

Edit: I tried different browser and now its working.

Thanks[emoji4]
[Moto G Android Development] reversegear:
Download the file rename the extension from .txt to .IMG
[Moto G Android Development] Barrel-rider:
What Kernel should I use if I want to keep using CM12.1 as my primary but use CM11 as my secondary? I successfully installed CM11 as secondary but it tells me I need a kernel with kecex-hardboot support. Out of the two listed from April that are .zip's I'm not sure which one to flash LP or lp50.

Unless someone has another kernel they would suggest.
[Moto G Android Development] sub77:
http://xdaforums.com/showthread.php?t=3024697
[Moto G Android Development] Wandule:
You can use Optimus (as stated by sub77) or this one http://xdaforums.com/moto-g/development/kernel-hurtsky-kernel-v1-23-3-2015-t3062059
[Moto G Android Development] Barrel-rider:
I have 41.13 bootloader, so that kernel won't work :crying:

I'll give that one a try next

Update: I decided to take a risk and update my bootloader to 41.19, everything works perfectly now. Thank you both for your suggestions.
[Moto G Android Development] ironman38102:
Guys I need help. I can't get cm12 as secondary to boot while stock 5.0.2 with kexec kernel installed
[Moto G Android Development] sub77:
can i get your multirom_log.txt
[Moto G Android Development] Wandule:
You're welcome :) be sure to try multiple kernels in order to find the perfect for you.
[Moto G Android Development] sub77:
the first boot of a rom can take a few minutes.
[Moto G Android Development] ironman38102:
Well the secondary ROM will not boot at all. Instead it'll show me a log. I'll install both again just to get the log since I didn't save it
[Moto G Android Development] sub77:
check if the log is on sdcard before reinstalling. what kernel do you use as primary?
[Moto G Android Development] ironman38102:
https://drive.google.com/file/d/0B68F9_PcQh-EWkJlajNpeHpFYVE/edit?usp=docslist_api

Log uploaded. Also idk about kernel because I was using xt1033 optimised zip by lost101 who said it was multirom compatible so I'm assuming it already had a custom kernel but I could be stupid enough not to realise it was on stock kernel
[Moto G Android Development] :
lost101's Roms have stock kernels, that's your problem.
[Moto G Android Development] ironman38102:
Yea I figured that out yesterday while checking. My bad. I can now run both stock and CM. ?
[Moto G Android Development] abhi0502:
Use attack kernel for stock rom.It has multirom support
[Moto G Android Development] Anarkista7:
Sorry if this are a dumb question:

I have KK bootloader & Stock Rom wMultiRom v28 20140902.

On primary Rom have the original KK Stock w MODs like GravityXposed.

On Secondary I have Carbon Rom KK, but i want to try Carbon LP o SlimSaver as secondary rom.

If I update to this Multiboot can I have KK & LP as primary and secondary respectively?(Like actual scenario but with LP)...

If I update the bootloader to LP, can use my stock KK Original Rom as secondary rom?

(Like Inverted Desired Scenario)
[Moto G Android Development] jneto3000:
My secondary ROMs never boot if I'm not using a kernel with kexec patch.

What am I doing wrong?
[Moto G Android Development] kedar512:
Try another rom and see if it works.
[Moto G Android Development] jneto3000:
I tried today with CM12.1 Official (15/07/2015), with Euphoria OS (which was confirmed to me it has support for MultiROM), and lots of other ROMs before, but they always stuck on boot. And then I reboot and install Optimus kernel, then the ROM boots normally.

I am using Optimus kernel R37 in my primary ROM, which is AICP and was Resurrection Remix before.

Shall I reinstall a proper kernel or even install another one in my primary ROM?
[Moto G Android Development] sahaj23497:
my phone is stucked at warning unlocked boot loader

my phone is stucked at warning unlocked boot loader and it is not rooted also i don,t know what to do please help...

i have wiped the data and do not have any back up plz help
[Moto G Android Development] jneto3000:
In which ROM are you?

---------- Post added at 05:07 AM ---------- Previous post was at 04:56 AM ----------

I managed to make it work. But first I installed latest MultiROM TWRP and ZIP (I was on 2.8.6 version). :p

Well, I dirty flashed my primary ROM again with HustSky kernel, with "InjectMultiROM after installation" checked, and then after install ROM and Kernel I choose the option "Inject Boot Sector".

I don't know which of the actions solved the problem, just know it solved.

Now I flashed "Euphoria OS" and it boot up with ROM's original kernel (which was told that has kexec but was not booting up before).

I'll try with more ROMs later. :good:

EDIT: Tried with CM12.1 and it booted too. But I'm having problems with original kernels, Play Store FCs and system can not recognize internal storage (also for USB storage). These problems are solved after flashing Optmus kernel :p

Also, I can not have MTP or any USB storage activated and connected with PC when I am on MultiROM TWRP.

I'd like it to work so I could transfer files from PC to Phone directly from TWRP. May it be my Motorola Drivers?
[Moto G Android Development] sahaj23497:
oficial lolipop 5.0.2 but my phone get stucked at bootloader
[Moto G Android Development] jneto3000:
You need to flash a kernel with kexec support for stock Lollipop ROM.

I dont know a kernel right now but have a look on the forum and you will found one.

Maybe someone who already know one will post link here for you.

EDIT: Try this one (Attacked kernel) for stock 5.0.2, heard it has kexec support.

http://xdaforums.com/moto-g/orig-development/kernel-attacked-kernel-v1-t3074686

You flash in the normal options, not in MultiROM because it is your primary and not secondary ROM.
[Moto G Android Development] Rastrok Flowerkz:
Secondary ROM not recognize infernal memory

hi guys, I have blisspop as primary rom and CM 12.1 as secondary rom but when entered cm 12.1 I can not install apps or download files as I get that there is no memory, someone had this problem or know how to fix it?

Sorry for bad english google traslate don't helps much :p
[Moto G Android Development] :
You probably have too much on your internal storage along with the secondary rom. Use a USB otg adapter of some sort and keep rom zips and what ever you don't absolutely need on your phone on it. These phones have very little storage space even with only a primary rom installed.
[Moto G Android Development] Rastrok Flowerkz:
Nop, i have roms,back ups & more on a usb & i have 9GB of free space on my phone
[Moto G Android Development] :
Did you by chance install Xposed without wiping the dalvik cache after?
[Moto G Android Development] Rastrok Flowerkz:
On primary ROM?

On primary ROM i have xposed on secondary ROM i flash gapps, supersu & xposed but gapps gives me fc & can't install xposed installer because the phone says don't hace memory inserted
[Moto G Android Development] :
If you installed a full gapps package, maybe you don't have enough system space for Xposed. It requires at least 200mb of system space to install. I'm not sure why it would be saying the phone has no memory inserted. Maybe you should search in the Xposed thread for your problem. What model phone do you have?
[Moto G Android Development] Rastrok Flowerkz:
Nop, is the pico modular package but it's very strange because when i flash the firefox OS port as secondary ROM not have problem to access at the internal memory, my phone is xt1032

---------- Post added at 05:07 AM ---------- Previous post was at 05:00 AM ----------

I do not think it Xposed problem because i flashed the secondary rom (12.1 CM) without flashing any more and continues saying that there is no SD memory card inserted
[Moto G Android Development] Rastrok Flowerkz:
5 hours later...

The solution finally came to my mind...

Just I had to flash a compatible kernel with MultiROM on secondary rom...

Why I didn't think of it before?

Thanks for your time amarc78.
[Moto G Android Development] pradeeppk:
Unable to flash multirom 32, update binary failed, currently using optimized lollipop rom with attack v5 kernel
[Moto G Android Development] jneto3000:
I'm trying to run FIUI ROM (4.4 based on CM) as secondary rom but it is no passing the boot screen. I tried with original and Overkill kernels.

ROM's thread: http://xdaforums.com/moto-g/development/rom-fiui-moto-g-t3053999

EDIT: It worked. I just had to flash again the ROM over the actual :confused: :silly:

Now my secondary roms are not booting anymore -_- Had to reinstall them.
[Moto G Android Development] pradeeppk:
Finally it worked

First of all I tried to flash multirom32 zip from normal 2.8.6 twrp recovery and it failed. But I succeeded through the following steps

1. Flashed multirom2.8.6 twrp through flashify

2. Flashed multirom32.zip successfully

3. Flashed blisspop as second ROM and it successfully flashed and booted in to it.

But faced following defects

1. Primary ROM stock with attack v5 kernal secondary ROM blisspop - Secondary ROM works without defects but WiFi broke in primary ROM

2. Blisspop ROM as primary and flashed stock optimized as secondary but secondary failed to boot.

Blisspop as primary and aosp as secondary both works

Also flashed mr287 twrp but touch not working

Any suggestions regarding the issues are welcome
[Moto G Android Development] :
Stock roms will not boot as secondary, you should find a fix for your WiFi issue by searching elsewhere, and I have not heard of anyone having touch issues with the mr2.8.7 TWRP. Did you try reflashing it? If you are using an incompatible TWRP theme it could cause this I believe.
[Moto G Android Development] sub77:
maybe its a prim. kernel issue. volume keys should work even if no touch.
[Moto G Android Development] :
I haven't had any touch issues with any version of Attacked kernel. I assumed he meant touch issues with the actual recovery, not the Multirom loader.
[Moto G Android Development] pradeeppk:
Touch issue on 2.8.7recovery, 2.8.6 works
[Moto G Android Development] sub77:
Updated recovery and multirom - http://android.comtek-wiebe.de/index.php?folder=TXVsdGlST00vZmFsY29u

now supporting:

xt1031

xt1032

xt1033

xt1034

falcon_umts

falcon_umtsds

falcon_cdma

falcon_retuaws

falcon

falcon_gpe
[Moto G Android Development] :
I just found after a lot of testing things, Multirom is breaking WiFi on my XT1031. Went back to 6/19 build and it breaks it also. Not sure when it started, but it's definitely Multirom. Anyone else notice this?
[Moto G Android Development] altunadi:
Yes, after instaling Multirom i can't turn on WiFi on first ROM. I hawe an XT1033.

Does anyone knows how to fix WiFi on first ROM, without root acces?
[Moto G Android Development] pradeeppk:
For me too if primary rom is stock. WiFi works if installed any custom rom as primary.
[Moto G Android Development] abeloman:
Same here, multirom breaks WiFi...

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Android Development] :
Well, I'm glad to know it's not just me. I went nuts thinking it was something else I was doing, not expecting Multirom to be the cause. It must have started with the 6/19 build, because I was using WiFi alot when using the 4/1 build with no problems.
[Moto G Android Development] kedar512:
Same here.

Broke wifi on primary rom using stock moto.
[Moto G Android Development] sub77:
this fixes SELinux "unlabled" /data/.layout_version on Enforcing secondary roms, i hope that it fixes wifi on stock.

multirom-20150805-v32-UNOFFICIAL-falcon.zip

recovery.img
[Moto G Android Development] :
Still not working. It turns on then right back off still.
[Moto G Android Development] sub77:
same issue with stock kernel and a kexec patched ?
[Moto G Android Development] :
I'm using stock 5.0.2 and Attacked V8 kernel.

Edit: I'll post some logs ASAP.
[Moto G Android Development] sub77:
no need to, i just installed stock 5.0.2.

just flash the stock boot.img to fix wifi -

boot.img from brasilian android 5.0.2 MSM8626BP_1032.3105.93.00R

if it wont work, check your wifi module:

- -rw-r--r-- root root 3623668 2015-01-07 07:31 pronto_wlan.ko

lrw-r--r-- root root 2015-01-07 07:31 wlan.ko -> /system/lib/modules/pronto/pronto_wlan.ko
[Moto G Android Development] feoypeste:
i got the same bug with the wifi

i'll try installing twrp 2.8.7.0 and multirom v32 2.8.6.0

will comment soon what happend :good:
[Moto G Android Development] :
I had no idea. I'll try it ASAP. Thanks!

Edit: is there by chance a stock 5.1.1 kernel with the kexec patch? I have a 5.1.1 soak test rom but Attacked doesn't work good with it.
[Moto G Android Development] sub77:
i flashed AttackedStock v8 and downgraded to multirom-20150404-v32

you can use as workarround till fixed.
[Moto G Android Development] droider007:
how to boot pac 4.4.4 as secondary with blisspop 5.1.1 as primary? anyone?
[Moto G Android Development] sub77:
should work, just try.
[Moto G Android Development] droider007:
kernel of primary rom should be kexec patched or secondary or both??

( pac 4.4.4 as secondary )
[Moto G Android Development] sub77:
just the primary kernel needs to be patched.
[Moto G Android Development] lukeattubato:
I flashed slim saber and minimal gapps as my first flash since I have installed multi rom and got this error message and am following the instructions. Hope this is the right place. Any help is appreciated.

I have been happily flashing ROMs for a while on my oneplus one with multi rom and everything went as I would expect in the flashing process
[Moto G Android Development] :
What is your primary ROM and kernel?
[Moto G Android Development] lukeattubato:
primary rom and kernel is currently stock and stock brazillian 5.0.2

i am currently downloading blisspop v4 to flash and see if that works, the primary rom still works and after flashing the slim saber again without gapps in a different rom slot i got the same result. if needed i can post the error log
[Moto G Android Development] :
You need a kexec patched kernel installed with your primary ROM. Attacked kernel or you can try Kaminari kernel but I'm not sure it works with 5.0.2.
[Moto G Android Development] lukeattubato:
i went into multi rom manager again and it said that the stock kernel had the hexec patch but flashed the attacked version anyway and now all is working fine, i feel like a real idiot.

sorry:(
[Moto G Android Development] ale467:
Any fixes for Marshmallow roms on MultiROM? CM13 doesn't boot as secondary ROM
[Moto G Android Development] sub77:
updated op http://xdaforums.com/showpost.php?p=58039657&postcount=1

tested with aosparadox 2.0 as primary. bosp 4 as primary & secondary and cm13 as secondary rom.

just working on on automatic patching the updater-script before installation, so we got full m support.
[Moto G Android Development] :
Can we get a link you can download from, the links go to your Github and nothing can be downloaded.
[Moto G Android Development] antarix:
Do you mean we can MR zip without paradox having kexec support?
[Moto G Android Development] ale467:
Worked for me, just use desktop mode and press on "view the full file" from mobile.

P.s: any kexec patched kernel for Stock 5.1 EU (optimized)?
[Moto G Android Development] :
Yeah, I got it, but CM13 still won't work as secondary with stock as primary. There's Kaminari Kernel for Stock 5.1.

Edit: there's also no usb otg support anymore either.
[Moto G Android Development] Wandule:
THANK YOU!!! Now I can boot on AOSParadox Marshmallow as second ROM (using Resurrection Remix 5.5.8 as primary). Of course, had to change the 2nd "abort" sentence on the updater-script of the rom.zip to "ui-print" (thanks for the tip, man). :good: :D
[Moto G Android Development] ale467:
Can't flash latest recovery, fastboot says that image is corrupted.

EDIT: Flashed successfully ;)
[Moto G Android Development] taadow1030:
I can't use any combination of stock / marshmallow. It's a shame because stock is stable with all functionality and has GPS with no workaround needed.
[Moto G Android Development] ale467:
What I have to do to boot CM13 as secondary ROM? What are the updater-script modifications?
[Moto G Android Development] Wandule:
First, what kind of error shows the log when you try to flash the CM13 ROM as secondary?
[Moto G Android Development] ale467:
Installed it but won't boot.. I've SlimLP with Optimus Kernel R45 as primary ROM
[Moto G Android Development] sub77:
got xt1032? if your installation is ok, primary kernel hardboot ready and installation of secondery rom successful it will boot for sure.

and if not. bomb me with your logs, gimme all you can, dmsg, last_kmsg logcat muliromlog.txt
[Moto G Android Development] Wandule:
I was at the same scenario, flashed the ROM succesfully, but it didin't boot. Flashing the updated TWRP posted here solved everything. I'm using the AOSParadox Marshmallow as secondary ROM, so maybe the issue you experiencing is related strictly to CM.
[Moto G Android Development] :
I just successfully installed and booted both CM13 and AOSParadox 6.0 as secondary, with stock 5.1 and Kaminari kernel as primary and also Exodus 5.1.1 as primary. I even installed AOSParadox with the 8/5 recovery. I had to remove the whole section of the updater scripts for verifying the system or it will say "unexpected contents found in system" and then error executing update binary. I think maybe it is looking at the primary ROMs system to verify rather than the secondary ROMs system.
[Moto G Android Development] ale467:
I have SlimLP as primary with Optimus Kernel (kexec hardboot patched), tried to flash secondary ROM with latest TWRP (from OP) and it didn't boot
[Moto G Android Development] arastanus:
Hola amigo como lo hiciste por que yo quiero instalar aosparados y me marca este error que se muestra en la imagen, la quiero poner como ROM secundaria, tengo como primaria la identitycrisis y la resurrección remixes como secundaria claro que no quiero quitar la secundaria si no agregar otra. Ya actulise el multirom y twrp como indican para que sea compatible con android M y Perdón por subir la imagen encriptada :cyclops:
[Moto G Android Development] :
English por favor.
[Moto G Android Development] arastanus:
Friend Hi did what as why I want to install aosparados and me error esta mark shown in the image, I want to put as secondary ROM , I have as primary the identitycrisis and resurrection remixes As a secondary course I do not want to remove the secondary if not looking ? Seeks some another . Actulise and the MultiROM and TWRP As indican para Android that supports Pardon M and upload the image encrypted: cíclope:
[Moto G Android Development] taadow1030:
Can someone please explain how to modify the updater script? I'm very anxious to use stock ROM with Marshmallow ROMS.
[Moto G Android Development] abeloman:
Primero olvidate de identity crisis, no deberías estar usando una ROM que no es nativa para nuestro móvil... Segunda, vete pasando a otra ROM, ya sea alguna de las optimizadas de lost101 y poniéndote el kernel kaminari para 5.1, te harías un gran favor... Tercero, hay que modificar el updater script, ya sea con un editor de texto, donde hace la verificación del sistema de la ROM primaria; si quieres agregame a telegram y te apoyo, me encuentras como [MENTION=4618329]abeloman[/MENTION]

Para la otra, cuando uses google translate, trata de redactar bien en español, que si no, se hace un lío el traductor...

Sorry for talking in another language, I'm just trying to help a mate...
[Moto G Android Development] :
Delete the following lines 61-85 unless I counted wrong:

ui_print("Verifying the updated system image...");

if range_sha1("/dev/block/platform/msm_sdcc.1/by-name/system", "28,0,32767,32768,32770,32825,32827,33285,65535,65536,65538,98304,98306,98361,98363,98821,131071,131072,131074,163840,163842,163897,163899,164357,174396,196608,196610,197068,204799") == "baec2a4b2edfd6057c425512792f8db56d3edca0" then

if range_sha1("/dev/block/platform/msm_sdcc.1/by-name/system", "34,32767,32768,32770,32825,32827,33285,65535,65536,65538,66050,97792,98304,98306,98361,98363,98821,131071,131072,131074,131586,163328,163840,163842,163897,163899,164357,174396,174908,196096,196608,196610,197068,204799,204800") == "8e60f81481fc300466eef891dad3674d1200b69a" then

ui_print("Verified the updated system image.");

else

abort("system partition has unexpected non-zero contents after OTA update");

endif;

else

abort("system partition has unexpected contents after OTA update");

endif;

Don't forget to delete the old (.bak) file, rezip it and it should flash.

---------- Post added at 05:03 PM ---------- Previous post was at 04:35 PM ----------

See above.
[Moto G Android Development] taadow1030:
Thanks for advising. Another question if I may: which folder contains the updater script? The folders I see just have gibberish symbols.

Edit: found it in the Google folder. Will do as advised. Thanks again!

Edit2: still looking...
[Moto G Android Development] :
META-INF/com/google/android/
[Moto G Android Development] taadow1030:
That's the thing: unless I'm looking in the wrong zip (multirom 20150922- v32), I don't see those lines described above that I'm to delete.
[Moto G Android Development] :
I guess I should have made it clearer, you need to change the updater-script in the ROM zip.
[Moto G Android Development] taadow1030:
That makes sense. Thanks for being patient.
[Moto G Android Development] sub77:
there is no more need to change updater-script, just flash latest multirom twrp:

https://www.androidfilehost.com/?fid=24269982086989108
[Moto G Android Development] taadow1030:
Every combination I try results in rebooting to recovery. Please advise what I need to provide for trouble shooting. Thanks for providing us with Multirom.
[Moto G Android Development] ale467:
Successfully booted CM13 as secondary ROM with latest TWRP, thanks a lot! :victory:
[Moto G Android Development] sub77:
Updated my github.io, so you can get latest update with official Multirom Manager:

https://play.google.com/store/apps/details?id=com.tassadar.multirommgr
[Moto G Android Development] reversegear:
Can you add support for USB otg in twrp
[Moto G Android Development] taadow1030:
All good now with the Play store update. Thanks for the great work!
[Moto G Android Development] sub77:
sure, thought it has all ready otg support.
[Moto G Android Development] :
Didn't work for me.
[Moto G Android Development] sub77:
update on multirom manager

otg with exfat and ntfs support, for ntfs write support you need to mount it manually.
[Moto G Android Development] ale467:
Booting primary and second ROM seems a bit slow.

And..I can't install Xperia Z5G as secondary ROM (based on CM12.1).
[Moto G Android Development] sub77:
can i get the updatet-script and recovery.log
[Moto G Android Development] :
I requested the updater script for that ROM fixed for XT1031, it was missing falcon_cdma in the updater-script, maybe more is missing. I also noticed it corrupts the ROM zip after a failed install.

Edit: here's recovery and multirom logs and the updater-script.
[Moto G Android Development] sub77:
the zip is to big, multirom copy it to tmp, to modify it, but tmp run out of space.

you can install it as primary and and swap to secondary.
[Moto G Android Development] ale467:
It's strange but I installed it as secondary now. I've got an updater-script error but the ROM seems working fine