CM10.1 based ROM #8 - [4.2.2] Broken: radio, batt indicator, GPS

Search This thread

apolkosnik

Senior Member
May 29, 2011
219
858
NYC
Below you'll find a whole rom for p999 based on the jellybean sources from CM repo compiled earlier in the week, using the modified defconfig with minor tweaks from cyanogenmod_p990_defconfig and a bootloader patch from wkpark (http://xdaforums.com/showpost.php?p=33993473&postcount=636) applied. One day I noticed this patch on one of my sdcards and decided to apply it to my build, that patch actually has pushed me to a point where there was a black screen with operational adb, all the builds before that were useless, then I rolled a whole cm10 around it.

The black screen was due to missing ICS vendor blobs, and after throwing in the vendor_blobs from p990, the whole thing just magically booted up with almost everything functional (sdcard issues were due to a typo, and wifi due to wifi module getting overwritten by prebuilt one), but the cell radio and the battery meter. There was no other code-voodoo needed to get anything going up to this point. Naberus's patches were for brightness inclusion (P999 was missing in the ifdefs), and storage fix and gpio (if I recall correctly). The latest is being built from the plain CM10 kernel with addition of wkpark's patch. Yes, it is buttery smooth out of the box.

I'm trying to roll CM10.1 for the #7, so please be patient.
UPDATE: I got CM10.1 (4.2.2) built.

If anyone feels adventurous, and knows what to do with these things below, please let me know. If you'll see some obvious mistakes in any of the things below, don't be a stranger and post your findings in the thread :)

Oh, and one last thing, please "no (log)cat fights girls"! ;)
Please use the user-thread for non-development related discussions (http://xdaforums.com/showthread.php?t=2039501)

Github repos:
https://github.com/apolkosnik/lge-kernel-star
https://github.com/apolkosnik/device_p999
https://github.com/apolkosnik/android_device_lge_star-common

# 8
CM10.1 (4.2.2) - Just updated to 4.2.2, and tried some spi master/slave magic in the kernel. Based on CM10.1 sources.
cm-10.1-20130221-UNOFFICIAL-p999.zip - 154.37 MB

#7
CM10.1 (4.2.1) - some things are still broken. Based on CM10.1 sources,
cm-10.1-20121215-UNOFFICIAL-p999.zip - 150.80 MB

#6
Added some extra blobs from p999, and kineto. You can disable kineto manually if it starts crashing on you.
build.,prop adjusted to point to librilswitch.so. Some patches from Naberus merged, and also his MDM6600 changes.
cm-10-20121209-UNOFFICIAL-p999_v6.zip.md5sum - 69 bytes
cm-10-20121209-UNOFFICIAL-p999_v6.zip - 151.83 MB

#5:
fixed wifi, and sdcard, so that you can take pictures and stuff. Netflix works :laugh: Cell radio and battery indicator are still not working.
cm-10-20121209-UNOFFICIAL-p999.zip.md5sum - 69 bytes
cm-10-20121209-UNOFFICIAL-p999.zip - 149.05 MB

#4:
cm-10-20121208-UNOFFICIAL-p999.zip.md5sum - 69 bytes
cm-10-20121208-UNOFFICIAL-p999.zip - 149.05 MB

#3:
cyanogenmod_p999_defconfig - 82.61 KB
star_kernel.diff - 33.77 KB
cm-10-20121205-UNOFFICIAL-p999.zip.md5sum - 69 bytes
cm-10-20121205-UNOFFICIAL-p999.zip - 141.60 MB
logcat.txt.gz - 60.38 KB
dmesg.txt.gz - 17.81 KB


If you'd like t o roll your own, you can follow the directions outlined here:
http://xdaforums.com/showthread.php?t=1971645
http://xdaforums.com/showthread.php?t=2024590

Contents of my .repo/local_manifest.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="CyanogenMod/android_device_lge_p990" path="device/lge/p990" remote="github" revision="jellybean" />
  <project name="apolkosnik/android_device_lge_star-common" path="device/lge/star-common" remote="github" revision="jellybean" />
  <project name="apolkosnik/lge-kernel-star" path="kernel/lge/star" remote="github" revision="jellybean" />
  <project name="apolkosnik/device_p999" path="device/lge/p999" remote="github" revision="jellybean" />
  <project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="jellybean" />
</manifest>

This would not happen without the CM kernel by RC and wkpark's patch, and the people who made comments in this thread.
 
Last edited:

n30wav3

Senior Member
Dec 24, 2010
523
104
London
Below you'll find a kernel for p999 based on the jellybean (cm10) lge-kernel-star repo compiled earlier today, using the star_p999_defconfig with minor tweaks. I've started tweaking the p999 as a target for the ROM build, but I don't have the time to do it today. If anyone feels adventurous, and knows what to do with these things below, please let me know.

kernel - 3.49 MB
wireless.ko - 2.43 MB
lge-kernel-star.diff - 2.12 KB
config - 85.73 KB

Can anyone create an img file out of this?

Sent from my LG-P999 using Tapatalk 2
 
  • Like
Reactions: monte666

n30wav3

Senior Member
Dec 24, 2010
523
104
London
Well then lets do this!!

Rafase what do u think? Since Tony has ported the su660 stock to p990. Is it possible if we work on that port to move that to p999? I have seen many people porting g2x roms for p990 ... devs like Tony and kashamalaga has worked on both devices simultaneously. Also if someone has missed it earlier there is another test stock ics kernel for p999 posted in p990 thread... by one of the Dev around the time when the first p990 stock ics kernel was released from the source.... I think we should gather as much resources we have....

One last thing I should need to ask Adam. Did u extract it out of the cm10 p990? Or the original sources?

Sent from my LG-P999 using Tapatalk 2
 

Rafase282

Senior Member
Oct 25, 2006
1,573
326
Bronx
Rafase what do u think? Since Tony has ported the su660 stock to p990. Is it possible if we work on that port to move that to p999? I have seen many people porting g2x roms for p990 ... devs like Tony and kashamalaga has worked on both devices simultaneously. Also if someone has missed it earlier there is another test stock ics kernel for p999 posted in p990 thread... by one of the Dev around the time when the first p990 stock ics kernel was released from the source.... I think we should gather as much resources we have....

One last thing I should need to ask Adam. Did u extract it out of the cm10 p990? Or the original sources?

Sent from my LG-P999 using Tapatalk 2

I'm currently porting. I have one test zip and working on two more in different ways to see which one works. First time porting from p990 to p999 so im not sure what to do so I'm trying three different ideas so see which one works.

Edit: I hope I still manage to finish my professional essays for the week.

---------- Post added at 05:20 AM ---------- Previous post was at 05:14 AM ----------

http://rootzwiki.com/topic/13194-dev-how-to-port-o2x-miui-to-g2x-instructions/ I'm missing the zip for step 5. Does anyone has it?
 

n30wav3

Senior Member
Dec 24, 2010
523
104
London

Wait a sec... isn't this the same defconfig from the sources? M missing a trick here ... I know all kernel comes from stock sources even cm ones but which rom should exactly work on this one? The stock or the cm10 .... as this defconfig seems the same as was in the stock kernel sources ...

Also rafase, dun push it ... clear out ur personal work first so u can concentrate... we need to understand it clearly then make a .move..... I have seen some kitchens here that can create boot.img from zlmage ... so that's also on the cards..... also m gonna be posting that kernel I mentioned above.... Adam do u think u can compare it?

Sent from my LG-P999 using Tapatalk 2

---------- Post added at 02:08 AM ---------- Previous post was at 02:05 AM ----------

I'm currently porting. I have one test zip and working on two more in different ways to see which one works. First time porting from p990 to p999 so im not sure what to do so I'm trying three different ideas so see which one works.

Edit: I hope I still manage to finish my professional essays for the week.

---------- Post added at 05:20 AM ---------- Previous post was at 05:14 AM ----------

http://rootzwiki.com/topic/13194-dev-how-to-port-o2x-miui-to-g2x-instructions/ I'm missing the zip for step 5. Does anyone has it?

Hey step 5 is optional... its only for miui ... what it does basically is set the workspace layout... we can use that XML file from cm10 hackfest

Sent from my LG-P999 using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 119
    Below you'll find a whole rom for p999 based on the jellybean sources from CM repo compiled earlier in the week, using the modified defconfig with minor tweaks from cyanogenmod_p990_defconfig and a bootloader patch from wkpark (http://xdaforums.com/showpost.php?p=33993473&postcount=636) applied. One day I noticed this patch on one of my sdcards and decided to apply it to my build, that patch actually has pushed me to a point where there was a black screen with operational adb, all the builds before that were useless, then I rolled a whole cm10 around it.

    The black screen was due to missing ICS vendor blobs, and after throwing in the vendor_blobs from p990, the whole thing just magically booted up with almost everything functional (sdcard issues were due to a typo, and wifi due to wifi module getting overwritten by prebuilt one), but the cell radio and the battery meter. There was no other code-voodoo needed to get anything going up to this point. Naberus's patches were for brightness inclusion (P999 was missing in the ifdefs), and storage fix and gpio (if I recall correctly). The latest is being built from the plain CM10 kernel with addition of wkpark's patch. Yes, it is buttery smooth out of the box.

    I'm trying to roll CM10.1 for the #7, so please be patient.
    UPDATE: I got CM10.1 (4.2.2) built.

    If anyone feels adventurous, and knows what to do with these things below, please let me know. If you'll see some obvious mistakes in any of the things below, don't be a stranger and post your findings in the thread :)

    Oh, and one last thing, please "no (log)cat fights girls"! ;)
    Please use the user-thread for non-development related discussions (http://xdaforums.com/showthread.php?t=2039501)

    Github repos:
    https://github.com/apolkosnik/lge-kernel-star
    https://github.com/apolkosnik/device_p999
    https://github.com/apolkosnik/android_device_lge_star-common

    # 8
    CM10.1 (4.2.2) - Just updated to 4.2.2, and tried some spi master/slave magic in the kernel. Based on CM10.1 sources.
    cm-10.1-20130221-UNOFFICIAL-p999.zip - 154.37 MB

    #7
    CM10.1 (4.2.1) - some things are still broken. Based on CM10.1 sources,
    cm-10.1-20121215-UNOFFICIAL-p999.zip - 150.80 MB

    #6
    Added some extra blobs from p999, and kineto. You can disable kineto manually if it starts crashing on you.
    build.,prop adjusted to point to librilswitch.so. Some patches from Naberus merged, and also his MDM6600 changes.
    cm-10-20121209-UNOFFICIAL-p999_v6.zip.md5sum - 69 bytes
    cm-10-20121209-UNOFFICIAL-p999_v6.zip - 151.83 MB

    #5:
    fixed wifi, and sdcard, so that you can take pictures and stuff. Netflix works :laugh: Cell radio and battery indicator are still not working.
    cm-10-20121209-UNOFFICIAL-p999.zip.md5sum - 69 bytes
    cm-10-20121209-UNOFFICIAL-p999.zip - 149.05 MB

    #4:
    cm-10-20121208-UNOFFICIAL-p999.zip.md5sum - 69 bytes
    cm-10-20121208-UNOFFICIAL-p999.zip - 149.05 MB

    #3:
    cyanogenmod_p999_defconfig - 82.61 KB
    star_kernel.diff - 33.77 KB
    cm-10-20121205-UNOFFICIAL-p999.zip.md5sum - 69 bytes
    cm-10-20121205-UNOFFICIAL-p999.zip - 141.60 MB
    logcat.txt.gz - 60.38 KB
    dmesg.txt.gz - 17.81 KB


    If you'd like t o roll your own, you can follow the directions outlined here:
    http://xdaforums.com/showthread.php?t=1971645
    http://xdaforums.com/showthread.php?t=2024590

    Contents of my .repo/local_manifest.xml

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <project name="CyanogenMod/android_device_lge_p990" path="device/lge/p990" remote="github" revision="jellybean" />
      <project name="apolkosnik/android_device_lge_star-common" path="device/lge/star-common" remote="github" revision="jellybean" />
      <project name="apolkosnik/lge-kernel-star" path="kernel/lge/star" remote="github" revision="jellybean" />
      <project name="apolkosnik/device_p999" path="device/lge/p999" remote="github" revision="jellybean" />
      <project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="jellybean" />
    </manifest>

    This would not happen without the CM kernel by RC and wkpark's patch, and the people who made comments in this thread.
    41
    I just wanted to say that I'm still alive. I've actually just kicked off a fresh build with some stuff to test. I've also added GAN Virtual Ethernet Device, so it might be a bit closer on a wifi-calling front. We'll see what's up in the morning when the whole thing (ROM and the kernel) finishes building on my microserver.
    40
    Re: CM10.1 based ROM #7 - Works: Camera, HWA, wifi, sdcard, Broken: radio, batt indic

    Testing an idea, I had earlier today, that might get us the radio working... New build kicked off. I'll share more details over the weekend if any of that works.
    39
    Wow who deleted all those posts here? What's goin on here....

    Anyway.... mazout and adampk ... what's ur plan from now on... r u guys leaving it here or gonna push it further?.... btw adampk ... did u test ur last changes.... also if u guys are gonna push forward u have two things that u have.... a hackfest with radio working but no hwa and ur own rom with hwa working but no radio.... so if u r gonna push it further u will have to decide ....as people said.... (deleted posts) u guys have already pull out a miracle here... so any plans u guys will set will be welcomed :)

    Sent from my LG-P999 using Tapatalk 2

    I won't quit the project without having tried anything. I have some ideas...
    37
    Started building v7 some time last night after replacing some parts with stuff from p990 kernel sources. Once I'm confident it's working any better, I'll update the OP and push my repo changes to github.