• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ICS/CM9-JB/CM10 Development Thread

@tdm so you got the ICS Kernel from the P970 running on our Marquee? Sorry I'm a newb

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.
 
This may sound noobie, but what is better to port or to build from source? What's the difference?

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.
 
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...
 
Speaking of CM10 M2, does anyone know if there is a git tag or something for M2? I'm not seeing anything...
 
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
https://github.com/paul-xxx

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.
 
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/..."
 
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.
 
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.
 
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,
 
Thanks so much. How did you get this far? Did you have a fbcon our just a lot of trial and error?
 
Thanks so much. How did you get this far? Did you have a fbcon our just a lot of trial and error?

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.
 
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.
 
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.
 
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.

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.
 
@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.
 
Back
Top Bottom