1. Are you ready for the Galaxy S20? Here is everything we know so far!

ICS/CM9-JB/CM10 Development Thread

Discussion in 'Android Devices' started by lMonsterl, Apr 16, 2012.

  1. tdm

    tdm Android Expert

    No. And I can't really make progress on that until I get a working fbcon, or get lucky... Sooooo if any other devs can get a fbcon working that would be awesome.

    Paradoxx likes this.

    1. Download the Forums for Android™ app!


  2. tdm

    tdm Android Expert

    This made me LOL. But seriously, be careful installing leaked ROMs.
  3. Paradoxx

    Paradoxx Member

    This may sound noobie, but what is better to port or to build from source? What's the difference?
  4. tdm

    tdm Android Expert

    Let's use a car analogy.

    Building from source is like building a car at a factory.

    Porting is like taking two cars built on the same chassis and swapping the bodies, seats, and such.

    Which is better? That question is a trap. ;) But I am a hardcore open source developer and hacker, so I always insist on building from source.
    k28king1, scary alien and galarue like this.
  5. tdm

    tdm Android Expert

    The p970 is on the short list of supported devices for CM10 M2. That means it should run pretty well once I get the audio routing figured out...
  6. tdm

    tdm Android Expert

    Speaking of CM10 M2, does anyone know if there is a git tag or something for M2? I'm not seeing anything...
  7. The~Skater~187

    The~Skater~187 Android Expert

    I was looking last night but didn't see anything either.
    tdm likes this.
  8. Phrant1c

    Phrant1c Android Enthusiast

    Will this help?
    CyanogenMod Downloads

    i didnt find a repo source, only this zip file

    EDIT: It looks as though paul-xxx updated some of his repositories, i dont believe its m2 though
    tdm and The~Skater~187 like this.
  9. tdm

    tdm Android Expert

    Thanks but that's not quite what I'm looking for. I am looking for some way to get the actual changelist for the repos used in the build. Usually that is done with a tag or a branch. You can pull up any repo on github and view the branches and tags to see an example. Another way is to publish a file that shows the changelist id for each repo. Unfortunately, I can't find any of these.

    Not a huge deal, though. I can sync my build tree to the approximate date and time when they announced M2 and get really really close.
  10. tdm

    tdm Android Expert

    Headsup for builders:

    Synced to latest CM10 and they broke my build scripts. :(

    Fortunately the fix is pretty easy.

    This change:

    commit 21439c930451a025888e41aec33f94d3800e890c
    Author: Chirayu Desai <chirayudesai1@gmail.com>
    Date: Thu Sep 27 18:11:25 2012 +0530

    envsetup: set OUT_DIR to an absolute path always

    Means that eg. "make out/target/product/LS855/..." is no longer valid. You must use a full path, either "make $OUT/..." or "make $PWD/out/target/product/LS855/..."
    The~Skater~187 likes this.
  11. plonko

    plonko Newbie

    scary alien and tdm like this.
  12. tdm

    tdm Android Expert

    Getting closer....

    I had previously discovered that copying audio.policy.default.so from cm10 was required and thought that was a hack. Turns out that this is in the cm10 proprietary files list, so it's not a hack at all. Also audio_policy.default.so is in that same list, and copying it also seems to make audio routing work. So that means audio should be fixed. Fingers crossed.

    The remaining issue I'm having is the sdcard mount. It seems the switch from /mnt/sdcard to /storage/sdcard0 is giving me problems -- the system doesn't "see" the sdcard anymore. Because of that, I can't test the camera yet.
    rubble5dubble, Tito23p and tcaudill01 like this.
  13. tdm

    tdm Android Expert

    Still fighting with sdcard. I wonder if the /storage mount only works with ics/jb kernels? I'll try going back to /mnt/sdcard next.

    Also Bloodawn might have the ics kernel going, that would be really nice.
  14. Bloodawn

    Bloodawn Android Expert

    lunigma and tdm like this.
  15. Bloodawn

    Bloodawn Android Expert

    I just uploaded the 3.0.8 source I'm working on too: https://github.com/Bloodawn/jb-kernel-sniper

    the kernel is still missing ril shit for cdma and usb isn't working. maybe you can do something with it tdm.

    this is the only rom it will boot with right now: cm10test3.zip (its cm-10-20121012 nightly with a different updater-script/binary and includes the kernel) I don't know why the kernel won't boot with your cm10 test rom, it gets stuck at the LG splash.

    the bugs for it are no ril, no usb and it always thinks its charging. everything else seems to work. adb can be accessed over wifi,
    Tito23p and tdm like this.
  16. tdm

    tdm Android Expert

    Thanks so much. How did you get this far? Did you have a fbcon our just a lot of trial and error?
  17. Bloodawn

    Bloodawn Android Expert

    I really haven't done anything special. from what I've seen the only things that are different between the marquee and the black is the partitions, the ril drivers, and something with the usb that I haven't figured out yet.

    I've tried this with CM7, CM9 and now CM10 for the black and it seems any rom/kernel made for the black will boot on the marquee if you just change the mounting in the ramdisk to the marquee's partitions and do the same in the updater-script (i usually also swap out the binary too just to be safe)

    so far all I've done with this kernel is change the mounting, fix the home button (the black has the home button where our menu button is) and rename some stuff from p970 to ls855. my main thing has been trying to figure out whats missing for usb to work but I haven't had any luck since 3.0.8's shit is so different, even from the p970 GB kernel.
  18. tdm

    tdm Android Expert

    Still haven't gotten the stupid sdcard issue figured out. I think the ics kernel is the best way forward, so I'm looking at that now. The sources for the black are quite different than the ls855, so I'm starting pretty much the same way you did -- take everything p970 and use it for the sniper. Then I'll move on to looking at usb and ril.
  19. sjc11221

    sjc11221 Newbie

    Does the SD card mount at all? Is it possible to symlink /mnt/sdcard to /storage/sdcard0? That's a total hack, but I find it easier to sometimes go around a speedbump and deal with it later.
  20. tdm

    tdm Android Expert

    I tried everything I can think of .. if it still doesn't work with the ics kernel I'll go back and look at it again.
  21. tdm

    tdm Android Expert

    Man, LG really made a mess of the sound drivers lol.
  22. Phrant1c

    Phrant1c Android Enthusiast

    You didn't have any luck with the proprietary files? Is it just the routing that's causing issues?
  23. tdm

    tdm Android Expert

    @Bloodawn: not getting a good boot on your kernel. I am wondering if the issue is the include files... rebuilding now with CM10 version of device/lge/p970/include replacing my device/lge/sniper/include.
  24. tdm

    tdm Android Expert

    Nope, that doesn't work either. :(

LG Marquee Forum

The LG Marquee release date was October 2011. Features and Specs include a 4.0" inch screen, 5MP camera, 512GB RAM, processor, and 1500mAh battery.

October 2011
Release Date

Share This Page