[Devs Only] Porting 6.0 to G2

Search This thread

zizuka

Senior Member
Oct 5, 2015
226
168
Alright guys.
I was thinking we could work together to get Mashmallow ported to G2. We will use the original firmware from another LG and port it using CyanogenMod 6.0 for G2 as base.
Who is up for it? I am asking devs. Users are always up for it but wants to work on getting it booting and running?

We start by forming a team.
 

denissxrus

Senior Member
Alright guys.
I was thinking we could work together to get Mashmallow ported to G2. We will use the original firmware from another LG and port it using CyanogenMod 6.0 for G2 as base.
Who is up for it? I am asking devs. Users are always up for it but wants to work on getting it booting and running?

We start by forming a team.
First of all we need to make bootable G3 kernel for G2 and import our drivers for WiFi, BT, GPS, camera and so. Second stage is to resize G3 apps to fit G2 screen.

I know what i'm talking about - my previous device was Optimus G and one guy ported G Pro lollipop kernel to G, but there won't work wi-fi, gps, bt (ril worked). This project stuck cause no one wanted to port drivers for peripheral (apps was usable cause of changed dpi from 320 to 240 in ported rom).

P.S. Sorry for bad English

Sent from my LG-F320L using Tapatalk 4
 

cryerenable

Member
Feb 4, 2013
16
2
we have stuped bootloader! he is chek all this! we need port kernel easy to port,but system working with tz.im,modem.....
maybe im noob in porting stock LG firmware:(

I have the same error on my G2.
202485d1445469271t-plugging-forces-crash-reboot-into-demigod-crash-handler-20151021_160850.jpg
 

Velkyrix

Senior Member
Jun 13, 2015
319
97
Someone said its Impossible, and for now, it really is.
its not because u cant port it, its just that none of the drivers will work. so if you want a dead G2,
this is the best way to do it XD
 
  • Like
Reactions: 4Freedom

PolishVodka

Senior Member
Oct 4, 2012
1,137
2,810
I'm still learning how working this device architecture, which binaries are necessary for working RIL, camera etc.
As I think now, porting original MM from G3 should be possible and this ROM may working really good. For first step I'm porting stock LP from G3 because we have already kernel which can boot it without problems. I'm planning to use only minimum binaries from G2 LP (for working communication with ROM <> modem, thermal service, sensors, GPS probably...), GPU drivers should working because same adreno 330, camera is the same (?), bluetooth will work, av encoders should be from G2, decoders probably may stay from G3, lights driver without any changes should work...
Between Qualcomm 800 and 801 shouldn't be any massive differences.
For MM we need updated kernel first, but not CAF's because official firmware is based on AOSP code.
 

Pacer_456

Senior Member
Dec 7, 2015
414
736
London
I'm still learning how working this device architecture, which binaries are necessary for working RIL, camera etc.
As I think now, porting original MM from G3 should be possible and this ROM may working really good. For first step I'm porting stock LP from G3 because we have already kernel which can boot it without problems. I'm planning to use only minimum binaries from G2 LP (for working communication with ROM <> modem, thermal service, sensors, GPS probably...), GPU drivers should working because same adreno 330, camera is the same (?), bluetooth will work, av encoders should be from G2, decoders probably may stay from G3, lights driver without any changes should work...
Between Qualcomm 800 and 801 shouldn't be any massive differences.
For MM we need updated kernel first, but not CAF's because official firmware is based on AOSP code.
Would you like any help?
 
  • Like
Reactions: 4everAnoob

PolishVodka

Senior Member
Oct 4, 2012
1,137
2,810
As for first run, failed. Stock LP from G3 doesn't boot yet (stuck on bootanimation).
Must check deeper a ramdisk, maybe something is missing, hope so.
But I've spent 30min for porting same way a official CM13, to check whats may working etc. from G2 using almost only kernel and Rom booting without problems. Audio-video decoders was working, wifi, lights, even av encoding (trying screenrecorder) working. But sensors, RIL, camera not...
I'm still have hope to boot-up stock LP and then (after got some skill), Marshmallow from G3. Will see..
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Alright guys.
    I was thinking we could work together to get Mashmallow ported to G2. We will use the original firmware from another LG and port it using CyanogenMod 6.0 for G2 as base.
    Who is up for it? I am asking devs. Users are always up for it but wants to work on getting it booting and running?

    We start by forming a team.
    8
    G3 Lollipop - booting, optimizing apps screen (174/174 all OK), boot animation with boot sound (which mean audio decoding working), screen dimmed and bootloop....
    Still fighting, but ****, adb not working...
    8
    I'm still learning how working this device architecture, which binaries are necessary for working RIL, camera etc.
    As I think now, porting original MM from G3 should be possible and this ROM may working really good. For first step I'm porting stock LP from G3 because we have already kernel which can boot it without problems. I'm planning to use only minimum binaries from G2 LP (for working communication with ROM <> modem, thermal service, sensors, GPS probably...), GPU drivers should working because same adreno 330, camera is the same (?), bluetooth will work, av encoders should be from G2, decoders probably may stay from G3, lights driver without any changes should work...
    Between Qualcomm 800 and 801 shouldn't be any massive differences.
    For MM we need updated kernel first, but not CAF's because official firmware is based on AOSP code.
    7
    This moment when you booting phone, seeing bootanimation, hearing boot sound, screen dimming and (here is bootloop) should show up home screen.
    Adb is enabled in default.prop, cannot understand why phone isn't recognized by PC..
    I'm trying now Marshmallow, hope to get better results, kernel and ramdisk job is done as I think, so let's try...

    Edit: G3 Marshmallow - same as Lollipop, optimizing apps screen (all OK), bootanimation and bootloop...maybe something small in build.prop, must diff more g3 lp/g3 mm/g2 lp build.prop
    5
    As for first run, failed. Stock LP from G3 doesn't boot yet (stuck on bootanimation).
    Must check deeper a ramdisk, maybe something is missing, hope so.
    But I've spent 30min for porting same way a official CM13, to check whats may working etc. from G2 using almost only kernel and Rom booting without problems. Audio-video decoders was working, wifi, lights, even av encoding (trying screenrecorder) working. But sensors, RIL, camera not...
    I'm still have hope to boot-up stock LP and then (after got some skill), Marshmallow from G3. Will see..
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone