+ Reply to Thread
Results 1 to 2 of 2

Thread: Script for removing kext files

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    52

    Script for removing kext files

    I thought I will contribute to the community with all the helps I am getting.

    Disclaimer: use at your own risk, done blame me if things got screwed up. I tested this to be working on my Mini110 osx installation.

    This is a simple bash script to remove kext files automatically from your OSX. I know there might be better method to this but with my limited knowledge in shell script, this is what I could salvage from googling around.

    There are 2 files involved.

    1) do-kext.sh
    - this is the script file which will read another file, kext.txt. It will read the file line by line and delete the related kext files/folder from the exact path of your kext files. All kext files are stored in /System/Library/Extensions/.

    2) kext-del.txt
    - this is the file with all the kext you want to be removed. Look at the example file I have included. Remove or add to your preference.

    NOTE: before attempting this, you should have enabled your root user. If you have not done so, please google for guide on how to do this. Lots of tutorials out there for this. You can also use sudo command if you prefer that. Sudo run the "do-kext.sh" file.

    How to use:
    - put the files into the same folder. Eg, /Users/admin
    - open terminal
    - type : "cd /Users/admin" (without quotes, assuming this is where you put the scripts)
    - type : "chmod 777 do-kext.sh" (without quotes...from now on you will understand without quotes)
    - type : "su -" (you will be prompted with root password)
    - type : "./do-kext.sh" (will start the script and run the removal, you should be seeing the kext being deleted as I added in verbose mode)

    Once done, the kext files should be removed.

    Hope it works for you.[attachment=0:25rfmccb]script.zip[/attachment:25rfmccb]
    Attached Files

  2. #2
    Member
    Join Date
    Jul 2009
    Posts
    52

    Re: Script for removing kext files

    Refer to this link for kext files that can be removed.

    Basically the kext.txt file I have followed suggestions from this link

    viewtopic.php?f=17&t=1686

+ Reply to Thread

Similar Threads

  1. Most pages cause IE8 to freeze - Stop running script
    By ecotrojan in forum Using the Site
    Replies: 0
    Last Post: 06-26-2010, 04:33 PM
  2. Sleep Fix // Where is seatbelt.kext and system.kext MIA?!
    By djliquid in forum General Mac OS X
    Replies: 1
    Last Post: 06-18-2010, 09:57 AM
  3. Compaq 110c -1100dx ---> Need Kext files. NEED WIFI!!! HELP!
    By mkozak12 in forum Installation Support
    Replies: 1
    Last Post: 01-04-2010, 06:20 PM
  4. removing kext 101. =)
    By tenpacifique in forum General Mac OS X
    Replies: 0
    Last Post: 12-05-2009, 06:38 AM
  5. OSXRestart.kext :D
    By LeMaurien19 in forum General Mac OS X
    Replies: 5
    Last Post: 11-25-2009, 03:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts