Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

unloading non-essential modules: SOLVED

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    unloading non-essential modules: SOLVED

    I have been trying to unload non-essential modules that are loaded on startup with hfw 1.2.2 by lewy. I have tried rmmod and modprobe -r with no success. I have even gone into the lib/modules directory and still the modules will not unload. Does anyone know where the script is located that pre-loads the modules upon startup? Usually I use a script in init.d for all my modules but I didnt see a 01xxxx script there.
    Last edited by Gfunk; 09-07-2013, 22:26.

    #2
    I was just thinking that maybe perhaps kernel module unloading is not configured in the kernel .config for wassers kernels. Checking .config for support...

    Unloading support is built into the kernel:

    CONFIG_MODULES=y
    # CONFIG_MODULE_FORCE_LOAD is not set
    CONFIG_MODULE_UNLOAD=y
    CONFIG_MODULE_FORCE_UNLOAD=y

    Comment


      #3
      Solved

      SOLVED.

      I had to create a directory named "3.0.36+" in /system/lib/modules now all modules will load and unload successfully with modprobe and rmmod

      Comment


        #4
        Good you found solution for your problem.
        For now all modules are insmoded from boot.img init.rc.
        Everything is possible if we work together!
        ApkFreak

        Comment


          #5
          For anyone who is interested If you want to load and unload modules with modprobe just create the 3.0.36+ directory in modules then symlink /system/lib/modules with /system/lib/modules/3.0.36+ or just copy all your*.ko files to 3.0.36+

          Comment

          Working...
          X