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

Root [ICS] ICS Kernel Development Thread

You and me both. On a more positive note, Google lied you do NOT need a 64-bit computer to compile android 4, it jist takes forever (4 hours so far)

Sent from my LG-MS840

Em you will learn it does require 64bit, just cause u get it to compile on 32bit doesnt mean its gonna be right. ;)
 
Merry Christmas guys. For anyone who is interested the source for my kernel is finally available on github

Link: https://github.com/Eagerestwolf/kernel_device_lge_connect

Sent from my LG-MS840 using Tapatalk 2
will grab it n look it over.

Also, push completely stock, prolly best to create a new branch at this point, OR unzip the src in a new dir, push it to github, then merge your changes to the new dir and then push it again. This way I can view the commits and see what you changed. ;)

And

Merry Christmas Everyone!!!! ;)
 
What I uploaded is stock. There was only one change made to it: one of the files cd'd up one directory too high to get to the file it wanted so I changed that. Other that that it is Lucid stock. I can't get the thing to compile again now though. When I first compiled it was with arm-eabi 4.4.0. Now I am using 4.7, and it refuses to compile, so idk what the heck is going on

Sent from my LG-MS840
 
What I uploaded is stock. There was only one change made to it: one of the files cd'd up one directory too high to get to the file it wanted so I changed that. Other that that it is Lucid stock. I can't get the thing to compile again now though. When I first compiled it was with arm-eabi 4.4.0. Now I am using 4.7, and it refuses to compile, so idk what the heck is going on

Sent from my LG-MS840
I'm using 4.4.3 atm. What I see changed is:

  • you added arch/arm/mach-msm/smd_rpc_sym.c
  • you edited the path in lge/factory/lg_diag_testmode.c
Correct? And this is using cayman_mpcs_us_defconfig, correct?


Heres what I see: https://github.com/playfulgod/andro...mmit/d64d02d2d5c994b5d16895589dc8d2ac7d2077e3
 
I'm using 4.4.3 atm. What I see changed is:

  • you added arch/arm/mach-msm/smd_rpc_sym.c
  • you edited the path in lge/factory/lg_diag_testmode.c
Correct? And this is using cayman_mpcs_us_defconfig, correct?


Heres what I see: https://github.com/playfulgod/andro...mmit/d64d02d2d5c994b5d16895589dc8d2ac7d2077e3

Yup that's it, and I am sure you can see why I changed that. The mpcs defconfig for the lucid actually seems very complete. It would appear (since the Viper got ICS first) that lg may actually be working on ics (<-- Just speculating)

Sent from my LG-MS840
 
Yup that's it, and I am sure you can see why I changed that. The mpcs defconfig for the lucid actually seems very complete. It would appear (since the Viper got ICS first) that lg may actually be working on ics (<-- Just speculating)

Sent from my LG-MS840
Yea I know why the path was edited, no clue on the file you added tho lol

Will see what I can do ;)
 
Not sure if you are at that point yet but are you also getting unmet dependecy messages when compiling?

Sent from my LG-MS840
 
Not sure about the file, I don't remember adding one. Are you comparing to Lucid or Viper source, cause mine is Lucid

Sent from my LG-MS840
 
You know what, I know what that is. I did a menu config that is an auto generated file

Sent from my LG-MS840
ah, I dont use menuconfig, I edit the defconfig. compiling with 4.6 fails, compiles with 4.4.3 tho. I'm calling it a night will mess with it more tomorrow. ;)
 
Is anyone aware of how to unpack a CM boot img. split-bootimg and unpack_bootimg won't work. They both say there is an extra file.
 
Ok, so I am about to install a new OS. I should be able to keep my compiler support because Elementary OS Luna is based off of Ubuntu 12.04.1 LTS.
 
Did you guys ever get anywhere with that? I just re-set up my monster machine to main ubuntu. Finally had it with windows, it just feels dirty using it now lol... my windows 7 install crashed to hell because I gambled on an SSD hybrid. So my old ubuntu vm is probably gone too.

What i'm gonna try to do is take the LS840 code, merge it onto the ASOP 4.0.4r1. Once that compiles once, i'm gonna look thru the verizon/metro specific code. Particularly the radio ril code, and just see if I can do a swaparoo. Recompile, and cross my fingers. Has anyone tried just flashing the LS840 rom on the phone to see what works etc...? Assuming I can make the proper kernel, i'm guessing the rest of the android os isn't as difficult. hopefully.
 
Couldn't u guys just tweak the cm9 stock kernel from the viper to possibly be a kernel for our connects
 
I'm not too familiar with CM builds yet.

However I did compile the kernel with the stock verizon config settings. Here's the zImage, so if someone can pack it up into a flashable zip then we can at least see if the kernel boots, and I can start changing things from there should I need to. We might not even have to from what I read in that link I posted. Maybe just editing some xml. I don't see a radio driver changing just because it's a different carrier, just something else setting a mode to a particular frequency or other.

LS840 Kernel zImage 1

I'm gonna be on this like fire, so anyone who's good with packing will greatly help speed it up.
 
I'm not too familiar with CM builds yet.

However I did compile the kernel with the stock verizon config settings. Here's the zImage, so if someone can pack it up into a flashable zip then we can at least see if the kernel boots, and I can start changing things from there should I need to. We might not even have to from what I read in that link I posted. Maybe just editing some xml. I don't see a radio driver changing just because it's a different carrier, just something else setting a mode to a particular frequency or other.

LS840 Kernel zImage 1

I'm gonna be on this like fire, so anyone who's good with packing will greatly help speed it up.


Ill try to pack it tonite
 
Thanks. I just tried building the rest of the android system, but It's erroring out:

frameworks/base/tools/aapt/AaptAssets.h:446:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: &#8216;indexOfKey&#8217; was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base &#8216;android::KeyedVector<android::String8, android::sp<AaptSymbols> >&#8217; are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use &#8216;this->indexOfKey&#8217; instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of &#8216;const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]&#8217;:
frameworks/base/tools/aapt/ResourceTable.h:485:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: &#8216;indexOfKey&#8217; was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base &#8216;android::KeyedVector<android::String16, unsigned int>&#8217; are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use &#8216;this->indexOfKey&#8217; instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of &#8216;const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = long int]&#8217;:
frameworks/base/tools/aapt/CrunchCache.cpp:101:87: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: &#8216;indexOfKey&#8217; was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base &#8216;android::KeyedVector<android::String8, long int>&#8217; are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use &#8216;this->indexOfKey&#8217; instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error 1

Man their instructions suck. Anyone know the exact toolchain version to use for ICS? I remember fiddling with this before.

Also I can't remember if the kernel folder needs to be inside the android folder. If I remember right, this was the structure:

/
/android/ (here's where we merge the contents of the lg source from the android.zip)
/android/kernel (here's where the kernel goes, if it even needs to go in the same dir.)


I just noticed the ZIP says 'Sprint', somehow mixed it up in my head with verizon for some reason. Sprint phones can be flashed over to metro right? That's all I care about.
 
Back
Top Bottom