yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] sub77:
twrpm-3.0.0-1_falcon_160213-1926.img

allow flashing sparse images

if the image has the right magic bytes to be a sparse image,

use simg2img to flash the image

create a rule to make a fully dynamic simg2img which results in a

much smaller increase in gzip ramdisk size (2KB vs 40KB)

Change-Id: I1b0f6bc127da46103888b1154a9bddd8ac02c01d
[Moto G Android Development] sub77:
twrpm-3.0.0-2_falcon_160217-0332.img

-> This build should work with GPE devices, too.

-> Linux version 3.4.42-Kaminari-gc7bbff5 (sub77@grill) (gcc version 5.3.1 20160201 (optimized) (UBERTC-5.3.x) ) #1 SMP PREEMPT Wed Feb 17 02:50:31 CET 2016

i tried to get dt2w work on the recovery, if someone could help?!

753d043 cryptfs: major overhaul and cleanup

000ace4 Remove inexplicable checks for enabling/disabled UMS support

4a25d37 Fix up logd make file rules

7177eb9 Fix no exfat-fuse rules

6665a79 3.0.0-2

542e5fc Add mount_shim.sh to the list of files to copy.

multirom-20160217-v33a-UNOFFICIAL-falcon.zip

3479451 v33-a

102cf95 Update kexec-tools: falcon, matisse

faec37d Autoboot: raised up to 15sec.

1cad0ef Merge pull request #75 from sub77/patch-1

f1717d6 Fix building of stock twrp

1a55164 Fix double-free

Added Dark materialized MultiROM Theme:
[Moto G Android Development] Captain Price:
What about fixing OTG installation ? If fixed mention the rules to follow .
[Moto G Android Development] loco1911:
I can flash the TWRP for use without MultiROM ?
[Moto G Android Development] Ænimal:
Yes
[Moto G Android Development] sub77:
otg installation is working, tested with ext4 formatted, other fs should work to.

ok. tested again. ext4 is working for sure. the number or the location of the partition you want to use doesnt matter. but if you need the dongle to use with windows, too you should partition it and make the first partition some ms filesystem.

if one ext4 partition is ok for you, you can format it with twrp advanced wipe function.

if partitions needed you should use the software you got, or thy sgdisk, available with twrp3.

maybe you can take an old usb stick for testing.

if partitioned or not you can add roms to it the usual way by ADVANCED / MULTIROM / ADD ROM and CHOOSING THE USB PARTITION -> added some screenshots.

tested with these:

twrpm-3.0.0-3_falcon_160227-0226.img

multirom-20160227-v33a-UNOFFICIAL-falcon.zip

thanks to deeplyoung and hurtsky for support. -> minimalized hurtsky kernel inside
[Moto G Android Development] hackiee:
Can you provide links for other themes used with 3.x.x version.
[Moto G Android Development] sub77:
there are none afaik. waiting for z31s1g making the new twrp theme multirom ready.

but the dark materialized isnt so bad, you should see the landscape theme on my tab, no fun using multirom with that theme,
[Moto G Android Development] hackiee:
[MENTION=3132221]sub77[/MENTION] yeah, the theme is very nice. ;)

Actually what i wanted is the deafault theme of twrp. As we get in the twrp 3.0 of without multirom version.

Thats what i wanted. :) it became habbit you know to use it in that way, so this portrait layout somtimes becomes unusual:eek:

---------- Post added at 12:51 PM ---------- Previous post was at 12:48 PM ----------

If you have the un-themed version of multirom supported twrp,with that 2 columns layout, it will be glad. :D
[Moto G Android Development] Falcon_fan:
HELP!

Flashed the new TWRP 3 0 0 3 and ended up in Recovery bootloop.

Flashing older recoveries via ADB FASTBOOT also does not seem to work. Says Partition mismatch and boots back to unchanged recovery.

Urgent help required...
[Moto G Android Development] :
Try flashing an even older, smaller CWM recovery with fastboot, or use something like

Flashfire to flash MR recovery.
[MENTION=3132221]sub77[/MENTION] the latest recovery wount mount USB.
[Moto G Android Development] Falcon_fan:
Thanks for the immediate response.

Tried flashing CWM recovery. Flashes successfully but when I try to reboot into system it boots back to TWRP-3.0.0-3 recovery.

Can't make out what's going on...

More suggestions please...
[Moto G Android Development] sub77:
double checked. no problems here, booting primary and secondary roms. do you use it without multirom?

possibly its because changed from zImage-dtb to zImage + dtb. try to hold power for some seconds to get the ram completly cleared.

usb otg is working, too if right filesystem is formatted.
[Moto G Android Development] Falcon_fan:
Solved!

I am not using with MultiRoms.

I had to wipe everything including /system and reflash ROM and then it finally booted into ROM.

Thanks!
[Moto G Android Development] sub77:
for sure because of twrp made selinux file context terror.

Gesendet von meinem Moto G mit Tapatalk

---------- Post added at 06:40 PM ---------- Previous post was at 06:39 PM ----------

or fake dm-verity

Gesendet von meinem Moto G mit Tapatalk
[Moto G Android Development] pico hackr:
themes for twrp http://xdaforums.com/android/themes/theme-twrp-3-0-0-0-dark-stock-colors-t3310235
[Moto G Android Development] Captain Price:
Dude Looks like these themes don't have any kind of MultiRom Option I tried Portrait Dark any themes with MultiRom option ?or I have to change it somewhere in the "UI.zip"?
[Moto G Android Development] pico hackr:
theme for multirom recovery haven't released yet , and i mentioned twrp themes not multi rom twrp , [MENTION=3132221]sub77[/MENTION] have to port it for us
[Moto G Android Development] sub77:
new twrp stock themes with mr support are ready soon, afaik.
[Moto G Android Development] Sid_Sun:
Dude, when are other OS being ported ? like FireFox or Unbutu Mobile etc..............
[Moto G Android Development] sub77:
dont know, how long do you take for? get sailfish -> http://xdaforums.com/moto-g/development/sailfish-moto-g-1st-gen-falcon-t3198067/post65581319
[Moto G Android Development] Captain Price:
I really am not interested in Making OS I rarely do so but anyway I do delete my source after making stuff so can't contribute to this device much unless I get an good Internet Connection and also an 2TB HDD (I have around 300 now ) so they are limited to personal use only for now...
[Moto G Android Development] Rique Barros:
The TRRP 3.0.0-3 does not recognize the OTG unit.

: D
[Moto G Android Development] Sid_Sun:
I have the problem as well turns out it's in the official source code so, for the matter of time use TWRP 3.0.0-2 it's pretty stable and the next build may fix this issue.
[Moto G Android Development] Rique Barros:
The TRRP 3.0.0-3 does not recognize the OTG unit.

Thanks for the confirmation of the problem , I'll be waiting for the new version
[Moto G Android Development] ale467:
I confirm, it doesn't recognize USB device if you want to install a ROM from there into /sdcard, but if you want to install a ROM into USB device, everything goes successful.

Another little bug: can't make screenshots on latest MultiROM, even if I use that beautiful game built into boot menu (haha), I can't go back to main menu (when you have to press POWER to return).

Hoping that I am clear :)
[Moto G Android Development] sub77:
new official theme will fix it.

about usb, my fault, tested in one direction only.
[Moto G Android Development] fefferico:
EDIT: flashing Optimus as primary kernel it started the 2nd ROM

but stays on the bootlogo, not ROM boot, but boot before Recovery (Xperia ROM first boot), is that normal?

Thanks in advance

Hi guys.

I've just installed multiRom v33a

1st ROM: Unofficial CyanogenMod 12.1 (24022016)

2nd ROM: Xperia 5.1.1 (01032916)

I tried installing Optimus Kernel (1st post) and Stockv8 after tapping MultiROM -> 2nd rom -> flash zip -> kernel zip

but everytime I try to boot into 2nd rom "Kexec-hardboot error...."

Am I doing something wrong?

Thanks in advance
[Moto G Android Development] sub77:
primary rom needs the kexex patched one. cm stock kernel is not patched.
[Moto G Android Development] fefferico:
thanks.

Well inside the app it says that the kexec kernel is ok, so that's strange.

Anyway, I'm trying to install Xperia as first Rom , boot it try it and then install CM12.1 as 2nd one.

Let see if it works in that way, I'll let you know (fyi kernel_optimusr42 broke my camera in 1st rom, cm12.1)

EDIT:

ok that's what I did:

-flash xperia as primary ROM

-booted it up

-flash 2nd rom (unofficial cm12.1) from MultiRom TWRP

-swapped the two roms

now they properly work together
[Moto G Android Development] Sid_Sun:
So, when so you plan to fix it? ASAP? Anyways what's the status of TWRP MultiRom Themes?
[Moto G Android Development] Sid_Sun:
Which Kernel has KEXEC Patch and it has no Wi-Fi Issues on Official CM 13 Latest nightlies ?
[Moto G Android Development] deeplyyoung:
try hurtsky
[Moto G Android Development] Sid_Sun:
Not stable has the WiFi bug.

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

Is there any way to install KEXEC Hardboot files only nothing except it?
[Moto G Android Development] deeplyyoung:
Hurt sky simpler 8 work perfectly.. And you can't just install kexec..
[Moto G Android Development] Captain Price:
Titan Kernel

Sent a Kernel to you via PM It is a pretty basic kernel with new Governors etc....and KEXEC patch tried and confirmed working with CM 13 nightlies I believe it won't be causing any problems (specially Wi-Fi) everything else works as well.
[Moto G Android Development] Sid_Sun:
Thanks Bro :highfive: I am gonna try it out in a few minutes flashed CM 13 again [Too hot for operation now] the other crazy kernels made the device heat as if I have put it for baking on oven ! so had to flash stock firmware............................Replying ASA Device cools.

Cool name of kernel Titan!

---------- Post added at 01:56 AM ---------- Previous post was at 01:42 AM ----------

Bravo! Dude :good: you got it working ! I'm guessing what other kernel developers are doing out there? anyways it does have totally working Wi-Fi the fatures you added are good as well the base clock is 1.3Ghz which makes it even faster + you explained all the Governor features on the app the kernel has an app and also the underclock during sleep is totally good.
[Moto G Android Development] Captain Price:
You are welcome ;) ! and please don't share the Kernel on the Forums as the Forum moderator doesn't have simple common sense (Sorry @ our device moderator :rolleyes: ) he will prohibit your access for like 12 hrs. He needs source code which I can't give I would if he pays for my Internet and an 2 TB HDD lol Just Kidding I will get them soon..........remember don't share it it's for your Kind information. :angel:

Thanks for appreciating my Hard work. :highfive:
[Moto G Android Development] xda.maruf:
How to fix the wifi bug on primary rom???
[Moto G Android Development] abeloman:
Search on the thread... And edit your post, you mustn't quote entire OP!
[Moto G Android Development] Sid_Sun:
Ask Captain Price if maybe he provides you the Kernel he made and gave to me.
[Moto G Android Development] xda.maruf:
thnq.

i am new.
[Moto G Android Development] abeloman:
Are you on a stock ROM? Because in that case, you only have to make a script that will run every boot (using su.d folder) and will solve wifi... Read a few pages back, I promise there is the solution (:

As I told you, here it is the solution... It's even in the OP, you must read first
[Moto G Android Development] xda.maruf:
Thank you bro.

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

Thank you bro
[Moto G Android Development] Rique Barros:
This kernel is working on AOSP , if so could share .

I'm not finding a kernel that the WiFi driver to work.

I'll be very thankfull.
[Moto G Android Development] sub77:
New MultiROM Stock Theme is ready:

twrpm-3.0.0-8_falcon_20160309-0542.img
[Moto G Android Development] Sid_Sun:
When will you update the Files?
[Moto G Android Development] ale467:
Installing from OTG now is working very well. Many thanks.

I haven't tried booting a ROM from it, but it seems ok.
[Moto G Android Development] Fedroid:
tipyng in terminal emulator this:

# su

# mount -o rw,remount /system

# mkdir /system/su.d

# echo wcnss_service > /system/su.d/wcnss

# chmod 755 /system/su.d/wcnss

# mount -o ro,remount /system

doesn't fix wifi.

What to do?
[Moto G Android Development] Captain Price:
Which ROM you using? This is just for stock I guess.
[Moto G Android Development] abeloman:
It should see something like this...
[Moto G Android Development] Fedroid:
I was using bliss pop. I have fixed my problem with this:

http://xdaforums.com/showthread.php?t=2736992

Thank you everybody
[Moto G Android Development] ViVi93:
My wifi bug error only got resolved after i flashed ur fix. Thanks a lot:good:
[Moto G Android Development] sub77:
Update which files?
[Moto G Android Development] Sid_Sun:
The themes from the thread for MultiRom comparability.

And also the Files in MultiRom app.
[Moto G Android Development] reversegear:
you are at wrong place. :)
[Moto G Android Development] Sid_Sun:
They won't post it for MultiRom sub77 must port the theme and if not all but at leat one to give a base of which files to modify I like the new themed TWRP but ,I want Black themed TWRP.

The MultiRom app files are not up to date.
[Moto G Android Development] sub77:
no i did not port the theme. Its official.

Or talking about dark materialized?
[Moto G Android Development] SH1M4BD3:
Yup, personally id love the dark one
[Moto G Android Development] Sid_Sun:
Dark Material theme like one in MultiRom Boot option Will be great.
[Moto G Android Development] celikbasm:
[MENTION=5938667]Brawn_Sg[/MENTION] is it possible to temporary disable multirom, without uninstalling Multirom?
[Moto G Android Development] :
Try this Xposed Installer apk. The latest update has a switch for that.

http://xdaforums.com/xposed/material-design-xposed-installer-t3137758
[Moto G Android Development] celikbasm:
lol. i'm talking about MULTIROM, not Xposed, anyway i've looked every settings in it, but there's nothing related to multirom. :)
[Moto G Android Development] :
Wow, I was half asleep when I posted. Sorry!

Edit: dirty flashing what ever kernel your using will disable it, just make sure the option to inject Multirom after flashing is not checked.
[Moto G Android Development] yogi1997:
Hi, I tried multirom and it worked perfectly on my moto g , I used AOSP rom as my primary one and RR rom as my secondary one and vice versa with hutsky's v12 kernel, Everything was running fine and smoothly(including wifi) but due to some problems in multirom with stock kitkat rom I uninstalled it but there is one problem, When I choose Backup option in recovery menu I saw this extra partition, So anyody know how to delete this system image ? its eating around 1 gb of space uselessly

I tried formatting whole partitions(including media partition) but that didn't work on it
[Moto G Android Development] :
That is only giving you the option to make a system.img backup. It is not an actual system image taking up space unless you actually make a backup of it. Your stressing over nothing.
[Moto G Android Development] yogi1997:
ok just a small question, after wiping out Dalvik cache, cache, system, data and internal storage it showed 12479 mb available, is it the maximum storage available to user ?

I'm not sure but I think it used to be around 12900 mb
[Moto G Android Development] :
I can't answer that for you. You must have a different model than I do. My storage isn't that much, so I can't tell you what it should be.
[Moto G Android Development] yogi1997:
As you can see in this pic, something is taking up around 900 mb space but its not showing up in my internal storage, this pic is after i wiped out everything from my device, I think that system image is the one responsible for it, I looked up in every folder but I'm just not able to find out that image in my device
[Moto G Android Development] BryanByteZ:
Use fastboot or wipe all with official twrp
[Moto G Android Development] celikbasm:
[MENTION=5387712]Yogi1977[/MENTION] never ever use fastboot erase all command, unless it will turn your device a brick !!
[Moto G Android Development] BryanByteZ:
I refer to use fastboot erase userdata the last command before reboot to install a stock ROM.
[Moto G Android Development] sub77:
try advanced wipe system, then resize partition.
[Moto G Android Development] yogi1997:
I'm using stock twrp and there's no option for resizing the partition, I tried repairing and changing fs to f2fs format of data partition but that also didn't solved my problem

I guess maybe that system image is not mounted up and to delete it I need to mount it first but I don't know its location.

---------- Post added at 05:54 AM ---------- Previous post was at 05:53 AM ----------

I used that command too and unfortunately that also didn't worked
[Moto G Android Development] sub7701:
# adb shell du -d 1 -h -L /

show you size of each folder.
[Moto G Android Development] yogi1997:
thanx for reminding me that command

I'm a bit confused here, why that android folder is showing 16E ?
[Moto G Android Development] anvesh583:
Feature request

[MENTION=5938667]Brawn_Sg[/MENTION] can u add no-kexec workaround support to multirom in future releases as it is working in many devices like X Play,One M7, One M8 etc ?
[Moto G Android Development] Rubytux:
Thanks for this Mod, i was able to install CM 12.1 Snapshot plus Sailfish OS in my device, i only needed to re-flash the Optimus Kernel and it was working most of the features(not camera, but that's ok).
[Moto G Android Development] BryanByteZ:
On cm or sailfish? If yes to sailfish there's a workarround in thr topic.
[Moto G Android Development] sub77:
UPDATE

TWRP_multirom_falcon_20160628-05.img

multirom-20160628-v33e-UNOFFICIAL-falcon.zip

Added nkk71's NOKEXEC WORKARROUND

btw, the latest thug kernel update with fb splash linux logo is breaking the multirom menu.
[Moto G Android Development] deeplyyoung:
long awaited update.....a huge thanks to you Buddy... gonna revert from official TWRP to MR right now...
[Moto G Android Development] anvesh583:
Kudos to you for responding to my request so early :)
[Moto G Android Development] FernandoJjr:
Hey, can I use pendrive OTG for a secundary ROM? (Like dual boot on windows, boot by pendrive)
[Moto G Android Development] sub77:
did not test on recent build, but it should work.
[Moto G Android Development] SalarX:
Hey guys.

It's my first time with multirom and I need some help, so can anybody tell me

1. which kernels are supported and which ones you use?

2. Does the secondary rom has its own kernel or does it uses the primary rom's kernel?

3. If the kernel used is of the primary rom, how well does thuglife kernel go with other custom roms?

Thanks! :)
[Moto G Android Development] sub77:
no shared kernel at all. usually primary needs kexec hardboot support, but last build is supporting booting without kexec.
[Moto G Android Development] SalarX:
I've got this problem-

I'm using XOSP as the primary rom (kernel doesn't have kexec hardboot). Whenever I try to boot any secondary rom (I tried RR and PAC MAN) It results showing the boot menu each time. Primary rom boots fine. But when i boot from multirom app, it does boot. Here's a log attached -
[Moto G Android Development] sub77:
using latest build with nokexec enabled?
[Moto G Android Development] SalarX:
Yes.

And I meant to say secondary rom boots fine when I boot it from multirom app in playstore
[Moto G Android Development] sub7701:
the log did not show something, please activate advanced multirom logging and do a failing boot and one with multirom manager

Gesendet von meinem falcon mit Tapatalk
[Moto G Android Development] RobotG97:
May I please request the OP [MENTION=5938667]Brawn_Sg[/MENTION] to add a feature to flash images in secondary ROMS through multirom TWRP recovery.

Thank You :)
[Moto G Android Development] sebastiandg7:
@Brawn_Sg @sub77 Wifi is not working in stock primary rom even with the su.d script from the OP.... any way to fix it?

EDIT: Just flashed SuperSu v2.65 zip and the script worked.

--------------------------------------------

I am trying to add a stock 4.4.4 based rom as secondary rom... but when I try to boot it I get stuck at the bootlogo.... If I use the same rom as primery rom, everything work great... Is there a way to make it work as secondary rom?
[Moto G Android Development] sub77:
enable adv. mr logging and upload to hastebin or something
[Moto G Android Development] SalarX:
Does your primary rom kernel have kexec hardboot patch? I had similar issues when I used the kexec workaround.
[Moto G Android Development] sebastiandg7:
Yes it does. I don´t know why the Wifi broke... but the OP solution worked very well.
[Moto G Android Development] BryanByteZ:
Just a doubt the stock cm kernel 13 have kexec? Multirom app say yes but I am not sure about that.
[Moto G Android Development] SalarX:
The multirom app? I guess it says about any kernel :p
[Moto G Android Development] BryanByteZ:
Did you tried in cm? Stock kernel.
[Moto G Android Development] SalarX:
No but I tried a kernel without kexec support.

Well have you enabled kexec workaround?
[Moto G Android Development] BryanByteZ:
Not yet works OK? I need to use a KitKat rom and another MM.
[Moto G Android Development] BryanByteZ:
Edit

No kexec workaround don't worked for me its just reboot and reboot to recovery.
[Moto G Android Development] SalarX:
I confirm this.
[Moto G Android Development] BryanByteZ:
Tried via app and multirom itself
[Moto G Android Development] SalarX:
Yes...

Vis multirom app the secondary rom does boot, but in a boot loop it remains.

---------- Post added at 07:49 PM ---------- Previous post was at 07:39 PM ----------

Also [MENTION=5842893]BryanByteZ[/MENTION]

The multirom app shows 'has kexec-hardboot patch' when you enable the workaround from twrp.

I wanna ask, does it show the same when the workaround is disabled in kernel (with no hardboot patch)?

I could test it myself but using RR with Thuglife kernel, so could you please test? :o
[Moto G Android Development] BryanByteZ:
Well here the app say that I have kexec patch before and after the workaround.
[Moto G Android Development] SalarX:
Stock CM kernel?
[Moto G Android Development] BryanByteZ:
Yes. CM13

---------- Post added at 10:05 PM ---------- Previous post was at 10:03 PM ----------

Yes.
[Moto G Android Development] SalarX:
[MENTION=3132221]sub77[/MENTION] the no kexec-hardboot workaround doesn't work, can you please look into it once :o

Everything else is perfectly fine and working.
[Moto G Android Development] SalarX:
Also [MENTION=3132221]sub77[/MENTION] clicking on the info button (image on right) gives this minor error (image on left)
[Moto G Android Development] SalarX:
[MENTION=5842893]BryanByteZ[/MENTION] can you please produce an advanced log (Enable advanced kernel logging + history) and share it here so that sub77 can look into it? (for no-kexec workaround)

I can't since I'm on RR
[Moto G Android Development] deeplyyoung:
No kexec working perfectly without any issues... enjoying with different roms & haven't faced any issues yet so far...
[Moto G Android Development] SalarX:
Which kernel may I know?
[Moto G Android Development] deeplyyoung:
Right now Tesla as primary & Exodus as Secondary & using default kernels.
[Moto G Android Development] SalarX:
Well maybe then issue is with cm kernels which don't have hardboot patch...

I'll check with Tesla and report again.
[Moto G Android Development] deeplyyoung:
try THIS once
[Moto G Android Development] SalarX:
Thanks!

I'll try once again and see if it works now.
[Moto G Android Development] BryanByteZ:
I can't right now because i testing my kernel. Sorry.
[Moto G Android Development] SalarX:
Yeah I saw... Good work. :good:

I'll log the issues with multirom... It's flashing time!
[Moto G Android Development] SalarX:
Ohk I tried everything but couldn't boot using the no kexec-hardboot workaround.

I used both AICP and Tesla as primary rom, but still no luck.

The secondary roms I used in both cases were AICP and Tesla. (I also used DU as Secondary ROM, and it did boot, but I guess because it has thuglife kernel which has hardboot patch)

I've attached logs