[T-Mobile LG G3] Eliminater74:
Update:Ok, Im going to let you all in on a little secret..

The reasons for kernel panics are among other things that seem to go wrong is this:

in device/lge/d851/BoardConfig.mk

# MultiROM
MR_INPUT_TYPE := type_b
MR_INIT_DEVICES := device/lge/d851/mr_init_devices.c
MR_RD_ADDR := 0x2200000 <---- This has to do with the RamDisk Adress reserv
MR_DPI := xhdpi <-- Some touch screen stuff
MR_DPI_MUL := 1.5
MR_FSTAB := device/lge/d851/twrp.fstab
MR_KEXEC_MEM_MIN := 0x21000000 <---- Notice this Addres, This has to do with the memory of the Kexec
MR_KEXEC_DTB := true
MR_USE_MROM_FSTAB := true
MR_DPI_FONT := 420 <-- HAs to do with the size of the fonts
MR_DEFAULT_BRIGHTNESS := 60
#MR_CONTINUOUS_FB_UPDATE := true

The only thing I have been playing with is:

MR_KEXEC_MEM_MIN := 0x21000000

And

MR_RD_ADDR := 0x2200000

Now something I changed caused MultiRom boot menu to work great.. but Primary kernel carried over.

Thoes 2 sections are really the only changes I made.. and

MR_AD_ADDR really hasnt changed.. that is ok..

ITs the MR_KEXEC_MEM_MIN that needs tweaking. thats the whole thing in the nutshell

Mr [MENTION=2174433]Skin1980[/MENTION] had his set on 0x200000000

But with the new code, that doesnt work 100%, so its all a guessing game.

I will pull alot of test, and ones I feel are worthy of more, Ill ask you all, if you would test it...

Please just Have a little patience, As a group, we can get this working with all roms regardless of what it is.

I thank you to all the people that have helped in the testing and development of this Project..

This isnt just my project, This is all of ours.....

Thank you all.

Update: Well after alot of testing, I was able to come up with a build that works as it should (seems).. The boot menu works without having to do one full reboot.

the correct kernel shows for whatever rom your using.

I had to play around with the address locations. Seem like 0x20000000 - 0x21000000 works.. But going back to [MENTION=2174433]Skin1980[/MENTION]'s settings, of 0x20000000 Worked best.

Understand this: [MENTION=2174433]Skin1980[/MENTION] did not use the MultiRom Flag of: MR_RD_ADDR := 0x2200000

That flag is used because some devices Dont like ramdisks to be larger then expected. So setting that sets aside some space and keeps from getting Kernel panics.

Cant say it will work 100%.. Thats why I need testers.. I need people that want to install all kinda crazy roms which most of you do.

Sorry, im simple. I have no desire to install anything below LP.. I have no desire to install stock.. Unless its t-mobile stock with wifi calling enable...........

So thats where you all come in.. I need people that are willing to try this on everything they want to use..

Always Keep a NANDROID backup. As long as you do that. you shouldnt have problems.

I have already Posted the Fix.. Go grab it and try it..

******************************************************************************************************************************​

Anyone wanting to create a HardBoot Kexec Patched Kernel on their own:

Grab The patch from: D851-CM_hardboot_kexec_kernel.patch

Or from here: d851_multirom_patches

I have done all the leg work to make it work with our devices, From Help by [MENTION=452513]tassadar[/MENTION]..

If you know how to build a fully working CM rom.. then you will understand this.

clone the patch to kernel/lge/g3/patch

cd kernel/lge/g3

patch --verbose -p1 < patch/d851-cm_hardboot_kexec_kernel_patch.patch

or you can just use the git way. im old fasion, so I used the old way.

After patch just type and enter each line a new command:
source build/envsetup.sh
then make clean
make clobber
cd kernel/lge/g3
make mrproper
croot
breakfast d851
mka -j# bootimage

# = depending on your cpu cores you have..

I use -j16 I have amd quad core

croot = will take you back to the start of your android tree.. As long as you did the source build/envsetup.sh

after its done, you know where it puts it, in the out directory.