MultiRom port by oblikas for all G2 variants

Status
Not open for further replies.
Search This thread

patrik.KT

Senior Member
Aug 26, 2012
472
781
Kunova Teplica
@dorimanx Here's the kernel patch: https://gist.github.com/PatrikKT/50faf32e8931d51c0c9a
Also add these configs to the defconfig file:
CONFIG_KEXEC=y
CONFIG_KEXEC_HARDBOOT=y
CONFIG_PROC_DEVICETREE=y
CONFIG_ATAGS_PROC=n

This patch is made for the D802. I will add support for most variant when I got the recovery and MRom itself fully working :)

:) thank you so much for your work and please drive carefully ;)


-----
Sent from my SGH-I927 using XDA Android mobile app

lol i'm 16, i dont even have a license :laugh:
 

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
@dorimanx Here's the kernel patch: https://gist.github.com/PatrikKT/50faf32e8931d51c0c9a
Also add these configs to the defconfig file:


This patch is made for the D802. I will add support for most variant when I got the recovery and MRom itself fully working :)



lol i'm 16, i dont even have a license :laugh:

never mind. testing the patch.

Patch added to Kernel :)

https://github.com/dorimanx/Doriman...mmit/5f2c0bbf7b0e689a5e47bd8d161e4356c5451c36

Waiting for Recovery to play with it.
 
Last edited:
  • Like
Reactions: madmax59 and fsi09

patrik.KT

Senior Member
Aug 26, 2012
472
781
Kunova Teplica
never mind. testing the patch.

Patch added to Kernel :)

https://github.com/dorimanx/Doriman...mmit/5f2c0bbf7b0e689a5e47bd8d161e4356c5451c36

Waiting for Recovery to play with it.

This will only work with d802. In file arch/arm/mach-msm/include/mach/memory.h change the line 31 to this:
#elif defined (CONFIG_MACH_MSM8974_G2_OPEN_COM || CONFIG_MACH_MSM8974_G2_ATT || CONFIG_MACH_MSM8974_G2_TMO_US || CONFIG_MACH_MSM8974_G2_CA || CONFIG_MACH_MSM8974_G2_TLS || CONFIG_MACH_MSM8974_G2_KR || CONFIG_MACH_MSM8974_G2_KT || CONFIG_MACH_MSM8974_G2_SPR || CONFIG_MACH_MSM8974_G2_VZW)
Then it should be compatible with all the models
 

xanthrax

Retired Senior Moderator - Vampire
It's almost done, the only thing to get to work is installing zips on secondary roms. All the other things should work just fine. I will release this today or tomorrow. It will still be a WIP and only for d802. I will add all the other models later. :)

Odoslané z môjho Desire 601
Great, I would suggest you to open a dedicated thread

Sent from my Darkside of LG G2
 

patrik.KT

Senior Member
Aug 26, 2012
472
781
Kunova Teplica
I MIGHT release this today, but it will be a pre-alpha version. I still need to figure out the issues with boot.imgs. And it will be only for advanced users, you will need to inject trampoline into boot.img yourselves to make it work.

Odoslané z môjho Desire 601

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

Thanks for our time on this!
It will be possible to switch between a stock Rom and cm rom?
If so, we have to flash two different kernel's?

As long as the internal kernel has the kexec hardboot patch, you can add basically any ROM you want.

Odoslané z môjho Desire 601
 

TheFerhatKing

Senior Member
Jul 22, 2012
868
241
Maybe you can ask some guys from the LG Optimus 4X HD forum because they have MultiRom and I used it very good

Sent from my LG-D802 using XDA Premium 4 mobile app
 

TheFerhatKing

Senior Member
Jul 22, 2012
868
241
Hmm right I just hoped that it can help you a bit

Sent from my LG-D802 using XDA Premium 4 mobile app
 

reas0n

Senior Member
Dec 23, 2010
1,785
1,357
Google Pixel 6
Okay, so I think it's safe to say that the MultiROM is now in beta stage :D
We successfully booted the SlimKat with its own kernel on LiquidSmooth+Vanir dorimanx kernel with kexec, i was also able to flash the gapps etc on it on my G2. Actually Loki makes things much more harder, that's why it takes so long.

Keep calm and wait for magic guys :p

of course praise the @patrik.KT , i'm only helping :D

EDIT: 100% working kexec hardboot patch:
https://gist.github.com/PatrikKT/50faf32e8931d51c0c9a
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Okay, so I think it's safe to say that the MultiROM is now in beta stage :D
    We successfully booted the SlimKat with its own kernel on LiquidSmooth+Vanir dorimanx kernel with kexec, i was also able to flash the gapps etc on it on my G2. Actually Loki makes things much more harder, that's why it takes so long.

    Keep calm and wait for magic guys :p

    of course praise the @patrik.KT , i'm only helping :D

    EDIT: 100% working kexec hardboot patch:
    https://gist.github.com/PatrikKT/50faf32e8931d51c0c9a
    15

    We're still trying to fix that flashing zips on secondary roms issue (gapps, audio patches etc.). I don't want to release this until it works fine, so please be patient. :)

    Odoslané z môjho HTC Desire 601
    14
    We got it working.

    But I won't release it today, we need to fix some bugs in recovery and also port the kexec hardboot patch.
    11
    It's almost done, the only thing to get to work is installing zips on secondary roms. All the other things should work just fine. I will release this today or tomorrow. It will still be a WIP and only for d802. I will add all the other models later. :)

    Odoslané z môjho Desire 601
    11
    They don't have the patch yet. I'm working on the recovery now, when I finish this and it will work just okay, I will release this in WIP state and pass this patch do devs.

    Odoslané z môjho HTC Desire 601

    Count me in for the kernel patch test dev, my community will help testing asap.

    Thanks for great work, that really will change the g2 as we know it.



    Sent from my LG-D802