Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 51
Like Tree3Likes
  1. #26  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    so far the best iv found
    [HOW-TO] Build your own kernel package from source

    well this is just going to be me trying to understand. so bear with me..lol
    trying to forget windows os and learn linux is quite hard. so hoping some of you might help in sheding some light on my situation.
    as windows is quite easy in knowing when a program is installed. im having trouble in knowing when a program is installed on linux.
    ill try to elaborate in a way that you understand and that i might understand your response. when using terminal to install java i could see that it installed it.
    when giving the command java -version it lets me know that its installed and what version.
    now when i got the SDK package it was more of a extract and move file to a specific folder. once there i could go into it to open SDK Manager and get the packages i needed, i also ASSuME that you could use terminal to open it also, i havnt tryed it though.
    now when i tryed to download java 7 tar.gz i couldnt get it to install, i think i didnt have the right commmands or have it in the right location for the commands to work.
    so more or less im wondering how i would know that i installed a downloaded file right.

    thanks, and im sure ill have more to come.
    Last edited by LifesGoodPhoenix; 04-08-2012 at 06:18 PM. Reason: adding tangent....lol
  2. #27  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    generally speaking when it comes to linux if everything goes well it wont tell you, unless it give you a bunch of lines with complete or ok. However when something breaks it normally cries for mommy and spits out a bunch of stuff that doesn't make much sense unless you have worked for NASA for the better part of your life.
  3. #28  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default Re: Links for learning all things Kernel related.

    I would avoid java 7. There are many pages around the internet with instruction for installing java 7, but they don't work, and can screw up your apt. I would definitely stick with java 6 for now, which can be easily installed through various means.

    That ferramroberto ppa has been around for a while now, and it's widely used and trusted.

    You may have to remove the openjdk packages.

    Edit: Forgot to ask, is there a specific problem you're having right now?
  4. #29  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Edit: Forgot to ask, is there a specific problem you're having right now?
    not so much. just clarification.

    anywho .... repo takes forever to DL.SO... got to where you pull the /proc/config.gz file from phone and i assume put it into the source kernel .gz file. i see this in two diff tuts, so what am i missing here. term says it cant do it cuz it isnt a valid dir , and i understand that. but i see nothing in the tuts about extacting the source gz file so that it could be a valid dir.

    what am i missing?
    thanks
  5. #30  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Quote Originally Posted by LifesGoodPhoenix View Post
    not so much. just clarification.

    anywho .... repo takes forever to DL.SO... got to where you pull the /proc/config.gz file from phone and i assume put it into the source kernel .gz file. i see this in two diff tuts, so what am i missing here. term says it cant do it cuz it isnt a valid dir , and i understand that. but i see nothing in the tuts about extacting the source gz file so that it could be a valid dir.

    what am i missing?
    thanks
    could you site exactly which tut you are reading I didnt have to do that to get the zimage build (not to say I shouldnt have). Might be that I skipped a step might be that you doing something for the ROM and not the kernel build.
  6. #31  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Code:
    #Pull kernel config from running phone
    adb pull /proc/config.gz ~/android/sources/kernel/
    cd ~/android/sources/kernel/
    gunzip config.gz

    This will leave a file named config in /home/*your-user-name*/android/sources/kernel/ . We need this to see what HTC thinks we have to have in our kernel.

    Lets edit the makefile
    1. Open your terminal, and head to your kernel source code directory.
    2. At the prompt, type

    Code:
    make clean

    this is from the site at my post, two posts up.

    its not a required step, and im sure it just does what it implies. i just cant see it being an HTC only thing.

    also this step it done at android.com/source/kernel. and i believe that cyanogen wiki has this step too.

    i just wanted to know if i was missing something, poss recomended, before i moved on.
  7. #32  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default Re: Links for learning all things Kernel related.

    We do have a /proc/config.gz file, and make clean is proper. What's the exact error you're getting, and at what step?
  8. #33  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    i can pull the file. but the file it says to put the config.gz in is not a valid folder. it makes sense at it is a link to the kerne.gz file.
  9. #34  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default Re: Links for learning all things Kernel related.

    In a previous step in that tutorial, he says to execute the following command
    Code:
    ln -s /home/*your-user-name*/.Hero_Kernel_sources/*EXACT NAME OF THE FOLDER YOU EXTRACTED FROM THE ZIP kernel
    which creates a symlink ("shortcut") to the folder. Note that the symlink should be to a folder, not a file.

    If for some reason it doesn't work, you could copy the config.gz file directly into the folder in question (in his HTC example, it would be /home/*your-user-name*/.Hero_Kernel_sources/*EXACT NAME OF THE FOLDER YOU EXTRACTED FROM THE ZIP).
  10. #35  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    i think i know what i did. sad thing ill have to wait till i get home tonight to see.
    i left the actual kernel file still in tar.gz, ill just have to extract it then change the symlink. that should then give me a valid folder.
  11. #36  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    well i fixed the issue.
    but know when i try to "make clean" i get this
    make: arm-eabi-gcc: Command not found
    /home/savage/.LG_Kernel_sources/LGP505_kernel/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
    /home/savage/.LG_Kernel_sources/LGP505_kernel/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found

    i reinstalled gcc, and still the same error.

    i think this might be some usefull info, as i just thought of it.
    the machine i am using, had win7 64bit on intire HD, shrunk the partition , then had linux cd format and install 10.04 32bit on unallocated partition. could this be why i have the above error?

    thanks
  12. #37  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default

    No, it's unrelated to the Windows thing.

    Look at gcc-version.sh, and the relevant line #s.

    BTW, when you fixed the symlink, did you remove the old symlink?

    Sent from my LG-P505 using Tapatalk
  13. #38  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Its possible it has something to do with the chain tool version you are using. I ran into issues with the arm-eabi-gcc part of things... I got a different chain tool and it had what I needed in it. Check your chain tool directory and make sure the file you are trying to use in the make is actually there, my guess is that it is not.
  14. #39  
    LifesGoodPhoenix's Avatar

    Posts
    376 Posts
    ROM
    stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    i did remove old symlink.

    how do i go about finding what tool chain i have, what i need?
    i think my conflict is that i have java 6, and that walk through is getting files for java 5. ya?
  15. #40  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    that could be it too ... I will let you know what all I used once have a successful build till then im just groping in the dark like the rest of you so I don't want to drag anyone down. but yeah the java versions will make a difference. and I will see what I can do about getting a good chaintool set
    Thanked by:
  16. #41  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default Re: Links for learning all things Kernel related.

    LifesGoodPhoenix, check your path! Make sure your gcc is in your path, and the right directory has been set. Also, make sure you don't have some other version of gcc installed.
    Thanked by:
  17. #42  
    PersonaNonGrata's Avatar

    Posts
    86 Posts
    Global Posts
    98 Global Posts
    ROM
    Stock 2.3.4 (NBB)

    Default Re: Links for learning all things Kernel related.

    You guys who have been trying to build something probably already know this, but I learned the hard way that all the tutorials out there are outdated. Critical links have changed, and little explanation is given, like java 5 vs. java 6. IMO, the best, most complete, and most up to date tutorial comes right from the source:
    Initializing a Build Environment | Android Open Source
  18. #43  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Quote Originally Posted by PersonaNonGrata View Post
    You guys who have been trying to build something probably already know this, but I learned the hard way that all the tutorials out there are outdated. Critical links have changed, and little explanation is given, like java 5 vs. java 6. IMO, the best, most complete, and most up to date tutorial comes right from the source:
    Initializing a Build Environment | Android Open Source
    Yeah I have decided the same thing... thats what I am using to do my build right now.
  19. #44  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    well after build #2 on my ubuntu and try #4 at getting the AOSP repo installed it finally worked. I can finally build stock again. Unfortuanetly I now need to get the repo for Cyanogen so that we can build a kernel that is actually useful for something. hope fully this wont take the next week to do.
    Thanked by:
  20. #45  

    Default Re: Links for learning all things Kernel related.

    I would be happy with CM7 with Wifi working, and CM9 would be icing on the cake. As nice as CM9 is visually, with the hw composition and voice in the Google Maps nav more soothing, I haven't found too many functional "must-haves".

    Hopefully Donovan/Drew Walton can pull through. ;-)

    Btw, I used to have the Optimus S, then switched up to Mopho, then the OG Atrix and came back to Phoenix. Even after all these time, the P50x is still imminently usable.
  21. #46  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    well now that Qualcomm has released the source code for the video drivers for the ARM6 we should actually see a serious improvement in the performance of graphics now that we can do hardware acceleration. So ICS may not be too far off, of course I still have to get the freaking repo synced up with Cyanogens source code first which seems to be the bane of my existence now.
  22. #47  

    Default Re: Links for learning all things Kernel related.

    This question is probably below you guys but I can't find a thread on it, so here goes;

    Goal: Have my LGP-506 work with Data in the Netherlands
    Status: Have it Superuser-ed, and unlocked but no data (via Gingersnap)
    Suspected Problem: Can't get rid of the Kernel from LG

    How do I get a new kernel (pls link to step by step, I am sure there is one here and I can't find it) and which one should I use as of this date - I keep seeing old ones or debates on which one to use. I have kernel managers and such on the phone, I figure I just need to find the correct kernel, put it on my SD card, and load it that way. Maybe, hopefully...

    Thanks for your help.

    DonFallo
  23. #48  

    Default

    Good stuff!

    Sent from my VM670 using Tapatalk 2
  24. #49  
    donavan's Avatar

    Posts
    584 Posts
    ROM
    Stock 2.3.4 rooted

    Default Re: Links for learning all things Kernel related.

    Quote Originally Posted by donfallo View Post
    This question is probably below you guys but I can't find a thread on it, so here goes;

    Goal: Have my LGP-506 work with Data in the Netherlands
    Status: Have it Superuser-ed, and unlocked but no data (via Gingersnap)
    Suspected Problem: Can't get rid of the Kernel from LG

    How do I get a new kernel (pls link to step by step, I am sure there is one here and I can't find it) and which one should I use as of this date - I keep seeing old ones or debates on which one to use. I have kernel managers and such on the phone, I figure I just need to find the correct kernel, put it on my SD card, and load it that way. Maybe, hopefully...

    Thanks for your help.

    DonFallo
    Unfortunately what your asking for is exactly the point of this thread. We are trying to create a kernel (myself and a few others) we have some of the basic steps down but we have yet to get very far. We can easily build a stock kernel which does us almost no good in getting custom roms to install. Ideally we will have a kernel that can be flashed to the P505/P506 that allow us to use the P500/P509 Roms. The battle we have is with the wifi and the video. Apparently do to supply issues LG decided to use a different wireless chip and a different GPU in some models of the ThunderG boards. I have been trying to gather enough information from various source to be able to build a successful kernel, unfortunately no one is 100% there yet. There are a few kernels that work about 80% out there that have no source code because the developers refused to release it and were subsequently banned from this forum. Keep watch someone will release a good kernel soon enough, I probably would have already if I hadn't been lead in so many wrong directions and had so many issues with linux, but there are a few of us working on it and we have some good developers who have started to help so God willing we will get there sooner than later.
  25. #50  

    Default Re: Links for learning all things Kernel related.

    Info about config.gz and what it is for /proc/config.gz | LinuxInsight
    info about the path (and maybe why arm-eabi-gcc isnt found) Display or print UNIX / Linux path ~ $PATH variable
    I'm trying to get this kernel compile too. I've done this before for the beagle board (BeagleBoard.org - default), so hopefully I can be some help.
    Thanked by:
    korrectmethod likes this.
Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions