yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] Eliminater74:
The hooks isnt in the recovery, its in the MultiRom setup it self. it compiles from device tree:

By looking at your Device tree I see that it was compiled right:

# MultiROM
MR_INPUT_TYPE := type_b
MR_INIT_DEVICES := device/lge/d855/multirom/mr_init_devices.c
MR_RD_ADDR := 0x2200000
MR_DPI := xhdpi
MR_DPI_MUL := 1.5
MR_FSTAB := device/lge/d855/multirom/twrp.fstab
MR_KEXEC_MEM_MIN := 0x0ff00000
MR_KEXEC_DTB := true
MR_USE_MROM_FSTAB := true
MR_DPI_FONT := 420
MR_DEFAULT_BRIGHTNESS := 80
#MR_CONTINUOUS_FB_UPDATE := true

#MultiRom Hooks, So that we can run stock roms as secondary
MR_DEVICE_HOOKS := device/lge/d855/multirom/mr_hooks.c
MR_DEVICE_HOOKS_VER := 4

Both D855 Devices are configured correctly.. I dunno why it wont work for you..........

all I can say, is try again. and tr and look at the log.. MultiRom has a log...........
[G3 Android Development] dadi11:
So idk.. For me fulmics rom is always stopping at bootanimation no matter what fs and storage I used... I need to try again but I'm not so patient :/ and I use d855 lowmem

Sent from LG G3
[G3 Android Development] Eliminater74:
yea, I dont understand the lowmem d855's seem to have alot of issues. My kernel thread for example: many of the d855 16gb users all have the same issues.

but the 32gb users no problems.............. Its strange.....................
[G3 Android Development] Kigsuha:
how do i uninstall the multirom?
[G3 Android Development] Eliminater74:
Umm, I think you use the MultiRom Uninstaller... That would be my guess.
[G3 Android Development] Kigsuha:
thank you, I tried it, but i still get the "secure boot" error, and have to flash sharpen mod to fix it and it comes back everytime i flash something, and i never had it before installing multirom, and it is causing a problem with the hotplug, the 4 core stays always on.., that is why i want to uninstall it, but it don't works.
[G3 Android Development] dadi11:
Flash Uninstaller and normal twrp (not multirom) or uncheck injecting boot image after flash

Sent from LG G3
[G3 Android Development] Eliminater74:
Do what [MENTION=3792100]dadi11[/MENTION] just posted... thats whats happening..

One of these days ill code in bump to the twrp and multirom.. but I just havent done it yet.....................................
[G3 Android Development] vaibhavaggarwal:
TWRP zip problem on F400K

I cannot seem to install the modified TWRP recovery for multirom.

I have tried flashing the "TWRP_MultiRom_F400_20151202_3-signed.zip" about a dozen times using different versions of TWRP, but after rebooting the recovery does not change and doesn't have the multirom option. :(

I am using an LG G3 F400K.

I have attached the TWRP recovery log.

Any help will be greatly appreciated. :)﻿
[G3 Android Development] Eliminater74:
Extract the ZIP FILE, and in data, flash the recovery.img it self...........................................

if that doesnt work.. try sending me a log plz................ you can copy log over from twrp................ thats the log i would need to know whats going on.
[G3 Android Development] JAWheat411:
Have you clicked on advanced? It looks the same as regular TWRP except there is a multirom section under advanced.
[G3 Android Development] Eliminater74:
Not to mention the Logo Nebula...
[G3 Android Development] JAWheat411:
Touché ha-ha. Forgot about that.
[G3 Android Development] vaibhavaggarwal:
I extracted and flashed the recovery.img in TWRP, but I am getting a secure boot error when booting into recovery. :(

I have attached the recovery.log file from TWRP.

Thanks a lot for your support. :)
[G3 Android Development] JAWheat411:
Sorry I just used Flashify to flash it. Come to think of it I haven't flashed an .img file in years.
[G3 Android Development] vaibhavaggarwal:
I did... the advanced section was same as before. *sigh*
[G3 Android Development] klewisjohnson:
Does anyone know if the app multirom works on the d851?
[G3 Android Development] JAWheat411:
I use it on my D851.App says same thing for me. I think the app is confused though. I only use the app to delete ROMs anyway. First time I used it I could see the rom I am using (Bliss pop) had the kernel that was needed. So that helped.
[G3 Android Development] klewisjohnson:
Did it recognize your recovery? My main rom is blisspop!
[G3 Android Development] JAWheat411:
My app says the same thing under recovery as yours N/A. But I do have the recovery and it works. Like I said I installed it with Flashify.
[G3 Android Development] klewisjohnson:
OK thanks man I use multirom and love it everything works just would be nice to use the app. It will list all my roms but that's about it. The very first post on this forum lead me to believe it works.. no worries..
[G3 Android Development] JAWheat411:
Yeah I am not sure if I can add a rom with the app, I haven't tried it. But deleting works.
[G3 Android Development] klewisjohnson:
Found the source... https://github.com/Tasssadar/MultiROMMgr wonder if anyone else would like it maybe see if can get it to work with our glorious d851!!
[G3 Android Development] Eliminater74:
Im the one that added our device to that app.. Tasssadar is someone I used to speak to alot.. But that error I have known about for a long time.

and only D851 is supported none of the others. and the links that it gets its updates from would be from my personal server it self.

I will get with [MENTION=3418703]Tasssadar[/MENTION] about that.. I just never got around to it before.. but since peepz are asking about it.. Ill do it...........

just give me a bit of time.
[G3 Android Development] JAWheat411:
No hurry, love the idea of multirom though. Been using it even though I don't completely understand it yet. I appreciate the work.
[G3 Android Development] klewisjohnson:
Sweet ya no hurry! I sure would love it.. let me know if I can help...just did a pull and was looking into it....
[G3 Android Development] datCalata:
Can you have stock rom as primary and An AOSP based as secondary rom?
[G3 Android Development] Yamen Nwilaty:
i am not pushing :)

dude what is going with fixing the multi rom twrp for lg g3 f400 you know it isnt repleacing the old twrp it have been a while and i really want to enjoy some hard core muti rom stuff :crying: let it be a new year gift;) thanks (i saw there is another f400 user report this to you so you know how to fix this or you want more info or what ever)
[G3 Android Development] Eliminater74:
I didnt forget about you. I just been really busy... Trust me, I want everyone happy. ill just have to go though the device tree once more and remake for your device..............
[G3 Android Development] Yamen Nwilaty:
i really appreciate your work and support and i am waiting for you take your time

thanks again
[G3 Android Development] Arthurvben:
Hey there!

Am planning on trying this but first wanna make sure I got everything straight. So please allow me to ask some few things:

1. So I only need to flash a kexec hardboot patched kernel for the PRIMARY rom? I can add more ROMs without having to flash any kernels?

2. Is the sharpening modefied bump script necessary to flash? Like do you absolutely NEED to do this in order to get it to work?

Thnx in advance mate :)
[G3 Android Development] dadi11:
1. yes

2. yes

you need to bump your kernel after injecting multirom so you can boot without security error. you can even flash rom and bump built-in rom kernel without using custom one

Sent from LG G3
[G3 Android Development] Arthurvben:
Thnx for the very quick reply! So I need to bump the kexec hardboot patched kernel that I am using for the primary rom right? Ive watched a youtube video on how to install multirom but rhe guy didnt mention bumping the kernel and anything about sharpening issues. Did I miss something in thr video?
[G3 Android Development] dadi11:
Yes, flash rom, kernel with kexec and bump script. you don't need sharpening mod if you use my bump script. maybe video was taken from another version of multirom or something. I always had to bump kernel after injecting

Sent from LG G3
[G3 Android Development] Arthurvben:
Okay so I need to do the following in this very order, correct me where needed please:

1. Flash the Multirom modified TWRP

2. Flash kexec hardboot patched kernel

3. Flash Multirom itself

4. Flash the bump script

And now I should have Multirom up and running. To flash primary rom after this:

1. Flash any ROM (planning on using Fulmics for primary)

2. Flash kexec hardboot patched kernel over Fulmics.

3. ??Do I now also need to flash bump script??

Now I should have primary rom as fulmics

Now I want to use Broken OS as secondary

1. Go to add roms

2. Flash Broken and gapps like I normally would

3. ??need to flash bump script again??

And what about injecting curr. Boot sector talked about in: Updating primary ROM?

Sorry for being annoying and stupid but I wanna make sure I dont screw up have to reflash with KDZ.
[G3 Android Development] dadi11:
when you're installing roms or kernels in multirom twrp, your kernel is always automatically injected (until you disable it, but you'll need to do it manually anyway) so you have to flash bump script always too. but only on primary rom.

You can't use stock roms as primary in latest multirom version. It's theoretically possible to use stock roms as secondary but I wasn't able to do it.

I would do it like this:

1. Flash the Multirom modified TWRP and reboot

3. Flash Multirom itself

4. do full wipe and flash rom

5. Flash kexec hardboot patched kernel

6. Flash the bump script (it will reboot itself, so go to recovery or boot up the rom)

7. Flash secondary rom and reboot
[G3 Android Development] Eliminater74:
Just so you know, if you flash cm13 or Android 6, or MM on Secondary, you will most likely but not on all, have to extract zip and remove the system check. which I mentioned in FAQ ......

You dont have to bump MultiRom script.. Just any rom you add.. or use...........

And we dont mind you asking question.. Its better to be safe then sorry..

Its the repeated dumb questions that we get, that get annoying.. So your ok :)
[G3 Android Development] Arthurvben:
Okay so youre saying I shouldnt use stock rom as primary? I can use an AOSP rom (Broken OS) with eliminater74's (OP) Nebula kernel wich has kexec hardboot patch in it for primary and then flash bump script?

Youre being a huge help for me here man thank you very much!

---------- Post added at 10:27 PM ---------- Previous post was at 10:22 PM ----------

Yes I know about removing the string of text in the updater script file (already tried doing that just for practice so I should be OK...(hope so) lol). And yes Im very much about the better safe than sorry thing. I really hate having to flash with KDZ since it tales a huge amount of time getting everything up and running again so yeah :p
[G3 Android Development] dadi11:
why don't you just do nandroid backup? yes do it as I showed you before with any aosp/cm rom and kernel with kexec.

Sent from LG G3
[G3 Android Development] Arthurvben:
Okay so I think I got everything clear now but whats up with yoy not being able to install a stock rom (chupacups, cloudyG or Fulmics) as secondary ROM?
[G3 Android Development] dadi11:
That happened to me after flashing stock v21c as secondary: http://i.imgur.com/O7zJ69P.jpg

and fulmics just didn't boot. stuck at bootanimation whenever I tried.. :/

d855 lowmem
[G3 Android Development] Eliminater74:
Could you send me a log after trying to boot a secondary stock rom ? That way I can at least talk to Tassadar about it.. and see..

put it on pastebin or something................ Look at last_kmesg and dmesg

thanks....
[G3 Android Development] Arthurvben:
I have 32gb D855 so Ill give it a shot and see if it works. If not Ill report back to op asap
[G3 Android Development] sabresfan:
To get a stock ROM to work on secondary I've always flashed it as primary then swapped it with my secondary ROM. Fulmics is working well as secondary for me currently.
[G3 Android Development] marcdw:
Is there another location for the bump script? I'm getting 404 with various browsers.

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5
[G3 Android Development] Eliminater74:
I used the location that [MENTION=3792100]dadi11[/MENTION] asked me to use..............

Alot of the AFH and other systems are down today... I cant access alot of my fav sites.
[G3 Android Development] marcdw:
I don't know why I get these weird URL issues sometimes. A '25' was inserted into the URL.

.../Required%2520files/MR_Bump.zip

In the address bar of browser I delete the 25 and was able to download script.

Strange.

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5
[G3 Android Development] marcdw:
Marshmallow is barely getting off the ground and already I'm starting to narrow things down.

If a ROM won't install as a secondary due to that script check thing it gets scratched off the list. I've done the unpack/edit script/repack thing but that got old quick.

AICP, Broken, and Resurrection Remix do well, though RR's latest build does not. Vanir, the 2nd MM ROM I tried in the beginning, worked with its first nightly. After that, no go.

XenonHD, Turbo, CandySiX (and Klein's cm13) also. Still have a couple to try.

MoKee, however, has excelled. Besides being trouble-free and stable (so far) all builds flash without issue in multirom. Clean or dirty.

Sure it lacks a bunch of features and goes fairly unnoticed but MoKee (LP since 5.0.x) hasn't disappointed stability-wise. The MM version has gotten off to a good start. Plays really well with Xposed too.

By the by, to get Titanium Backup to work properly I flashed SuperSU 2.64 twice so far. Just like with kernel flashing it took nearly an hour to do its thing. ? I don't think I can keep doing that.

Might have to sit out MM altogether 'til these SuperSU and TiBu issues get squared away.

LG G3 D851, MoKee Open Source MM ROM, Tapatalk 4.9.5
[G3 Android Development] Eliminater74:
There is a patch for the MultiRom fix that devs would have to add to their roms: MultiRom Android-MM Fix

Also, I will be working on a faster patch for patching kernels on secondary roms........ I already have an idea.. I just havent done it yet.
[G3 Android Development] Starzboy77:
Using LG G3. I really want to try this but don't want to mess anything up. First, my USB does not work. I can charge the phone but it got so hot once it started to melt the port area so now no PC will recognize it.

I am currently Bliss Pop 10.11 which is 5.1.1 which uses Nebula kernal I think. I only have about 2.5gb of internal space on my phone. Would like to try this though and keep any secondary ROM as small as possible. Could I just begin or is the nebula kernal not supported due to that patch I've heard about. A step by step guide would be so helpful. Thank you in advance!
[G3 Android Development] thewalkingdude:
I can understand your hesitation on doing this seeing as how you no way to KDZ it back if something goes wrong. In the first post of this thread there is an installation section that should point you in the right direction. Hope this helps sir. If I can be of any further assistance please just ask.
[G3 Android Development] Starzboy77:
Thank you. I read the OP. I want to make sure my current ROM has a compatible kernal?
[G3 Android Development] klewisjohnson:
Which one is the latest what are the other ones for?
[G3 Android Development] Eliminater74:
the one with the -3 is the latest..

its a fix that I had to do
[G3 Android Development] klewisjohnson:
Thanks man!!
[G3 Android Development] thewalkingdude:
Your poll is missing a an option sir. You need to add an option for a photo of me.
[G3 Android Development] Eliminater74:
I dont think you would get many votes on that..

A pic of me would scare them away from here.
[G3 Android Development] Eliminater74:
New MultiRom Themes Link: Dark, Light & Play

See em in action.....
[G3 Android Development] gnashville:
I've been trying to flash Fulmics as my secondary Rom, but it always hangs in aroma when flashing the kernel.

I was able to flash crdroid, but I also had TWRP hang when trying to flash Nebula on it. (That's going through MultiRom to the list of Roms, choosing crdroid and choosing flash zip)

I unfortunately can't grab a log since it hangs until I either pull the battery or it auto restarts due to CPU temp.

On D852
[G3 Android Development] marcdw:
[MENTION=4260358]gnashville[/MENTION], the flashes are not hanging. I've flashed stock-based ROMs as secondary a number of times. It will literally take 90 minutes or more before completion. Most of that time is the kernel portion.

Flashing an anykernel (777, Nebula) can also take from 30 minutes to an hour. As long as your phone doesn't overheat or shutdown the flashing will complete.

Quicker alternative:

1) Backup primary (nandroid).

2) Do full wipe (system, dalvik, cache, data).

3) Flash stock-based ROM (only takes minutes).

4) Backup that ROM.

5) Clean wipe again.

6) Restore your primary. Don't forget to inject current boot sector.

Now when adding a ROM as secondary use the backup of the stock ROM as the source.

I did steps 1 thru 6 today but haven't gotten around to adding the Fulmics backup for secondary. Got sidetracked updating a couple of other ROMs. After posting this I'll see if everything I wrote actually works. ?

EDIT: A long time ago after flashing one of those kernels to secondary, TWRP showed my temps reached around 97° Celsius (I miss that feature in TWRP). After that my procedure was to keep phone plugged in and place it on a laptop cooling pad/fan. That way the battery didn't drain and the temps stayed fairly cool.

LG G3 D851, Resurrection Remix-M ROM, Tapatalk 4.9.5
[G3 Android Development] gnashville:
Did the whole nandroid dance and it worked, cheers!

I didn't have to wipe data, just system/dalvik/cache, and everything seems to be puttering along fine. Also didn't worry about injecting the boot sector and that didn't seem to cause any issues.

Definitely faster than waiting the hour and a half, even if my device didn't burn up long before then. I'm surprised that you had the patience. Not sure about you, but I also don't have the thermal paste/shiv going on my device.

I've got Euphoria running alongside Fulmics 2.6 now ;) Might have to do it again to flash a third party kernel, but I'll see if I can screw around with nandroids a bit more and get a system going...

Thanks again
[G3 Android Development] marcdw:
[MENTION=4260358]gnashville[/MENTION], great to hear everything worked out. Doing the nandroid dance I also have Fulmics running. Running well too.

I do have thermal paste applied which probably helped a little before.

Now there's another stock ROM, Tizen, I want to try. If it supports D851.

LG G3 D851, Fulmics v2.6 ROM, Tapatalk 4.9.5
[G3 Android Development] tr33z:
Having troubles.

Could anyone provide a step by step installation for the d850. The latest files do not install modified twrp, but the one from Dec. 2 installs modified twrp. Primary ROM is fine,BrokenOS 6.0, but adding a ROM will only make the phone black screen, requiring a battery pull. Pls, help if anyone can. I am still a little new to this.
[G3 Android Development] masterxxxxxl:
I have some problem using the MultiROM Manager App on My D855 (Running Blisspop with 777 Kernel). When checking at the beginning, it gets SU Rights, but after loading, the card "Install/update" is not shown. Instead, there is just a textfield, saying "This device is not officially supported!". What am I doing wrong? :(

Edit: Did not read the thread correctly. My bad!
[G3 Android Development] Eliminater74:
Attention: After my release of Nebula Kernel Rev12.0, I went on break. I will not release anything till next month sometime......

as for being on break.. [MENTION=5009632]thewalkingdude[/MENTION] can help you. Or one of the many other people here can help you. Im sorry, But stress was getting to me. and im on a much needed break working on my own

personal things. I promise I will fix everything when I come back.

Thank you all for understanding...........\

\\
[G3 Android Development] Tech_Savvy:
Knowing you.. Ur breaks going to last all of a week :p
[G3 Android Development] thewalkingdude:
I see my name So I guess I am needed. :)
[G3 Android Development] masterxxxxxl:
In fact, I am facing a problem now: I get a blackscreen in TWRP, when trying to backup a Rom on D855, either with the D855 and the D855_low version.

It happens after ~30 seconds of backing up normally, after that, the screen just turns black, forcing me to pull out the battery.
[G3 Android Development] bambotcha:
Tried to install the latest stock 6.0 flashable image as a secondary ROM , When I try to boot the ROM I get a MultiROM error

Any suggestions , is it even possible considering I was running CM13 and Cloudy2.5 both as secondary ROMs ?
[G3 Android Development] thewalkingdude:
To be honest that is a new one on me. We will check it it. Hang tight for a bit. Do you by chance have a log? Are you backing up to internal or an SD card?
[G3 Android Development] Eliminater74:
Attention: I am going to create all new TWRP's for multirom..........

I might even take it a step further and create original TWRP's as well without MultiRom for peepz......

Im going to add a preset Theme... Siince I got a 3 way tie at the top. Ill go with my gut feelings.................

Just give me time on this...........
[G3 Android Development] dadi11:
sounds great we will wait :) would be nice to add dt2w, auto bump and maybe some fixes for stock roms.. just a proposition ;)

Sent from LG G3
[G3 Android Development] thewalkingdude:
I am still waiting on a photo of me to be added. I am rather fetching.:p
[G3 Android Development] Eliminater74:
Another Update: I forked both the MultiRom TWRP and the Original TWRP repositories over to my Nebula-Mirror. I then Took twrp 6.0 and merged in the MultiRom TWRP.

fixed the conflits which was only 5.. Changed sdk checks to 21 22 23 so it loads pointers for all..

I am now going to take my latest MM kernels Rev12.0 and add it to the mix.. then im going to try and build this. If it builds and also works.

ill add in my theme packages and some mods there too.......

Then if all goes well there.. then in the long run, I plan on adding bump as an option like boot injection is....

This is all a long shot, Dont get your hopes up.... But its worth a try......... Cant say it wont work till I try it.........
[G3 Android Development] Tech_Savvy:
Beastmode!!!! Theres a saying that fits u perfectly "You cant keep a good man down" :)
[G3 Android Development] masterxxxxxl:
Found something else:

Is it normal to be unable to gain SU Permissions or install any apps on the Second-to-boot-rom?

Play Store Failing to install Titanium Backup and Terminal Emulator with "Error Code -504"

Also the LG Update Manager fails to update the preinstalled appt/install the LG Stock Apps (e.g. Calculator).

Titanium Backup installed via Recovery (update.zip) was unable to get SU Permissions...

I am using Blisspop(777 Kernel) as Internal and v20h Stock(NebulaKernel) as second one, and installing apps on my Internal Rom (Blisspop) works fine, also using TB.

/sdcard/ is writable from both Roms, so is /external_sd/
[G3 Android Development] Eliminater74:
Yea I got that alot on latest Pac Rom LP.. Cant figure what the deal is, but its not related to MulitRom or TWRP...............

Its a rom thing....... So go ask in your blispop devloper section, I take it your using Aren's Blispop.. ill talk to him about this issue later.. since hes the maintainer..
[MENTION=3771760]aclegg2011[/MENTION] is what im thinking since he just built a bunch of blispops all around....... Yeah, ill talk with him about it.

But verify that hes the correct builder ?
[G3 Android Development] marcdw:
Error Code 504 is one of those things that has plagued folks a long time every once in awhile. Usually network/data related.

Here's one of many pages with possible solutions.

https://www.xtremerain.com/how-to-fix-error-504-on-android/

As mentioned twrp/multirom is unrelated to not being able to install apps.

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5