[Kernels] 5/31/11 - Froyo/Gingerbread

Discussion in 'ChevyNo1' started by ChevyNo1, May 31, 2011.

  1. LadyLailoken

    LadyLailoken New Member

    Joined:
    Mar 6, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    SE Louisiana
    Ratings:
    +0
    THANKS! I've been looking all day but didn't find anything on it. appreciate the input.

    Sent from my Droid
     
  2. rck76

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,836
    Likes Received:
    38
    Trophy Points:
    163
    Ratings:
    +38
    Your welcome :)

    Sent from my Droid using DroidForums
     
  3. AndyMcDroid

    AndyMcDroid Member

    Joined:
    Apr 11, 2011
    Messages:
    161
    Likes Received:
    2
    Trophy Points:
    18
    Ratings:
    +2
    What do you mean "duplicated within each other?" Since you can't have two (or more) files with the exact same name in the same folder, I have no idea what you mean, really.

    That aside, I was curious and decided to take a look at my own /system/lib/modules folder (all lower case, BTW). Using ES File Explorer, I long-pressed on the modules folder and selected properties. It's over 150,000 (yes, one-hundred-fifty-thousand) files and still counting. The total file size so far is over 13GB (yes, gigabytes). I'm guessing there's some links that end up being circular, but I don't know what the contents are supposed to be.

    Any have suggestions on how to undo this, other than the one above about deleting all the files and re-flashing a kernel? (I know I can do a backup and just try it anyway, but with the apparent circularity, I'm looking for a 2nd opinion before proceeding)
     
  4. rck76

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,836
    Likes Received:
    38
    Trophy Points:
    163
    Ratings:
    +38
    It is safe to delete all the files in /system/lib/modules before reflashing a kernel. I have actually done this from with in the rom itself with no ill effects.

    Sent from my Droid using DroidForums
     
  5. bplewis24

    bplewis24 Member

    Joined:
    Feb 24, 2011
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sacramento, CA.
    Ratings:
    +0
    She means that if there is a "Chevy 1.0LV Kernel xxx.xx" folder, inside that folder is another "Chevy 1.0LV Kernel xxx.xx" folder, and inside that is another, etc.

    I checked my file system and noticed the same thing. I have 3 kernel folders and inside each one is another set of the three folders. I tried deleting the one that isn't currently flashed and the phone freezes and the app crashes every time.

    Brandon
     
  6. rck76

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,836
    Likes Received:
    38
    Trophy Points:
    163
    Ratings:
    +38
    Weird, I never had a crashing issue doing this. I use root explorer to delete all the files, then boot into recovery and reinstall kernel.

    Sent from my Droid using DroidForums
     
  7. metalspring

    metalspring Silver Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    103
    Location:
    hermitage, pa
    Ratings:
    +24
    What is up with the endless chevyno1 folder in the modules folder? I looked at it with root explorer and everytime you go into that folder its like an endless cycle?

    Sent from my Droid using DroidForums

    Edit: I figured it out...in root explorer ignore that folder...its actually a shortcut folder to the same folder its in lol so root explorer doesn't work right going into it
     
  8. metalspring

    metalspring Silver Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    103
    Location:
    hermitage, pa
    Ratings:
    +24
    Next time don't bother selecting those folders by themselves but try using the multi-select and select everything in /system/lib/modules and delete, and reflash the kernel

    Sent from my Droid using DroidForums
     
  9. ChevyNo1

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
    I assume you all are meaning this one in particular:

    lrwxrwxrwx 1 root root 19 Jun 26 17:55 2.6.32-lowV-1.0Ghz-Chev
    yNo1 -> /system/lib/modules

    It keeps pointing back to 'itself' - this is necessary in order to make modprobe to work - which is why it usually doesn't work in other ROM's ... in other words, instead of having to type this:

    insmod /system/lib/modules/logger.ko

    you can type:

    modprobe logger

    Which is what my scripts do.
     
  10. metalspring

    metalspring Silver Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    103
    Location:
    hermitage, pa
    Ratings:
    +24
    Ah yeah, in other words its simlinked to itself, right? Lol but I do remember a couple times before I saw several of those folders in the modules folder...can't remember if that was on 5.3 or 5.4 or even the current 5.4 patch 1...I'll flash multiple kernels now and see if it happens again

    Sent from my Droid using DroidForums
     
  11. ChevyNo1

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
    Yes, for each new kernel you flash, assuming the kernel dev put it in there - you will see new links, corresponding to the new kernel, symlinking back to /system/lib/modules. modprobe looks for the link that is named the same as the kernel you have installed. They do NOT take up any space (or very very little) as it is just a symlink ...
     
  12. metalspring

    metalspring Silver Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    103
    Location:
    hermitage, pa
    Ratings:
    +24
    Is the modules folder supposed to take up over 100mb? According to es file explorer it says mine is 108 MB...it just doesn't look right for what's in there

    Sent from my Droid using DroidForums
     
  13. ChevyNo1

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    153
    Ratings:
    +5
    Definitely not - mine takes up just under 15MB ... go into terminal, and type:

    cd /system/lib/modules
    du -ks .

    What does it report back?
     
  14. bplewis24

    bplewis24 Member

    Joined:
    Feb 24, 2011
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sacramento, CA.
    Ratings:
    +0
    Mine reported:

    2724 .

    Mean anything?

    Brandon
     
  15. AndyMcDroid

    AndyMcDroid Member

    Joined:
    Apr 11, 2011
    Messages:
    161
    Likes Received:
    2
    Trophy Points:
    18
    Ratings:
    +2
    Mine reports 2724 (kilobytes). This makes me wonder why yours is 15MB. Maybe dev stuff that's useless to end users?
     
Search tags for this page
best kernel for gingerbread
,
chevy ulv 1100
,
chevyno1 kernels gingerbread
,

chevyno1 og droid kernels

,
download chevy 1.1 ghz kernel for droid 1
,

froyo kernel

,
gingerbread kernel
,
gingerbread kernel number
,

kernel froyo

,
kernel froyo gingerbread