Jump to content
InsanelyMac Forum
Prasys

-- How to Upgrade the Kernel -NEW VERSION/UPDATED

Recommended Posts

Hey guys,

 

As many of you heard , new kernels are coming everyday and most of us wants to get their hands on the latest one. But of course there is a problem , updating kernel isnt that easy for someone who is new to the OSX86 Community. So I wrote a tiny script that installs the new kernel. It just grabs the latest one from semthex's site , installs it and of course it takes care of backing up your working kernel and fixes the permisson. All you have to do is answer a few questions and then you could sit back and enjoy while this script takes care of everything]

 

UPDATE : Fixed stuff again and this time it updates to beta8 - the latest

 

BEFORE THAT , PLEASE MAKE SURE YOU'RE USING DARWIN KERNEL VERSION 8.8.1/TRUE OSX 10.4.8 .IT WILL NOT WORK WITH OLDER OSX 10.4.8 , THAT RUNS ON 8.4.1. IT DOES NOT WORK WITH

MACOSX 10.4.1 , MACOSX 10.4.3 , MACOSX 10.4.4 , MACOSX 10.4.5 , MACOS X 10.4.6 , MACOSX 10.4.7 AND MACOS X 10.4.8 JAS SSE2/SSE3/AMD SSE2/AMD SSE3 COMBO UPDATE from Demonoid. It works with Jas' Intel Re-seed OSX 10.4.8 [4GB ISO] and AMD SSE3 OSX 10.4.8 ISO AS WELL

 

 

 

Features :-

 

1. Live-Update

Automatically grabs the latest baked version directly from Semthex's Bakery .You dont even have to use IRC , bug Semthex [poor guy] nor ask 'Where to Get the Kernel and How To Do It'. It fixes all of that. Thats right folks , it updates OTA [Over-The-Air]. So you're always up2date with the latest kernel enhancements

 

 

2. Automatic Backup

This script also backups your current working kernel. So incase of emergency , you could boot up your system with the old working kernel. It avoids the whole 'Re-Install dilemma '

 

 

3. Works On GUI - No Need Special Rebooting Techniques - No Need to Memorize all the commands

My script also avoids new-comers to boot into -s mode where users normally update their kernel using this traditionally method . All you have to do is punch the start-up command and thats it , it would work . In other words , it just works

 

 

4. Approved By Semthex and tested by a group of beta testers

To ensure the proper quality of my script , I have semthex's approval [and he is the one who encouraged me to improve the script] and it has been tested thoroughly by a group of beta testers and it is guaranteed to work

 

5. Safer Method

[/color]

With the new kernel , I have included a much more safer method as suggested by the folks here and over the IRC Channel. It copies the kernel instead of moving it , this means that if anything happens to your internet connection during the upgrade , your old kernel would be still there. It only updates once it has finished unzipping it

 

6. Fully Automated

[/color]

With the new version , you just simply double click and run. Thats it. No more messing around with Terminal. It takes that for you

 

 

How-To

 

1. Download the script from this site and run it ! - Simple as that

 

 

 

 

 

NOTES

 

In case if anything did went wrong , try to boot up using F8 and then type -f . See if that fixes the problem. If it does not , you could use back the old kernel , by typing mach_kernel.old in the boot prompt

 

 

KUDOS

 

I would like to thank :-

 

semthex - Kernel

Joey - Helping me out with some things

Hagar - Testing it out

locsmif - Helping me out with bash

interinv - User feedback !

 

Q/A

 

If you're having any problems , feel free to send me a PM or meet me on IRC - macspeak , #scripts. If you're having any problems with the kernel , you could contact semthex as well !

scriptv3d.command.zip

Share this post


Link to post
Share on other sites
Advertisement

Thanks for the feedback , I am going to add few more strings

 

Like It would auto-grab the latest version from semthex and do it automatically. I am working on that

Share this post


Link to post
Share on other sites

I am now working with semthex to provide a Live-Update , meaning that we dont have to get it from IRC. The script would do it automatically. This time , I might include some nags [thats right , we need to show our support to semthex]. Once its done , I will update it. It will be called 'Run-N-Shout' ....I am working with semthex right now for a live kernel update , so it would be updated everyday and it would check for the latest version as well

 

More to come , its just the starting

Share this post


Link to post
Share on other sites
BEFORE THAT , PLEASE MAKE SURE YOU'RE USING DARWIN KERNEL VERSION 8.8.1/TRUE OSX 10.4.8 .IT WILL NOT WORK WITH OLDER OSX 10.4.8 , THAT RUNS ON 8.4.1

 

Yeah, a live updater is a GREAT idea! Just one question: What is meant whith "True OSX 10.4.8" ? Does that mean u run apples intelcombo update and after not rebooting, you run the live updater?

 

continue ur great work, i appreciate it !

 

edit: ok, now i understand :sorcerer: You alreday need the new kernel, this is just for updating. But would it maybe also work with old kernel after apples 10.4.8 update?

Share this post


Link to post
Share on other sites

2. Open up Terminal and then type sudo ./script.sh . It would automatically grab the latest kernel from semthex's site [resume-able and with Progress], creates a backup of your current 'working' kernel , Fixes Permisson and Auto-Reboot [With a Prompt]

 

 

Had to eliminate the ( . ) in front of /script.sh for it to work.

 

 

works great

 

thanks

kaos

Share this post


Link to post
Share on other sites
Yeah, a live updater is a GREAT idea! Just one question: What is meant whith "True OSX 10.4.8" ? Does that mean u run apples intelcombo update and after not rebooting, you run the live updater?

 

continue ur great work, i appreciate it !

 

edit: ok, now i understand :thumbsup_anim: You alreday need the new kernel, this is just for updating. But would it maybe also work with old kernel after apples 10.4.8 update?

 

I have that very same question. (And great job, finally a simple way to grab the lastest kernel :blink:)

Share this post


Link to post
Share on other sites

Sure , I will be working on newer ones and other tutorials and scripts for you guys

 

I will be improving this script , will be including lots more of stuff. This is just the starting !

Share this post


Link to post
Share on other sites

The script is a good idea, but more then flawed. Not only does it fail to check for error return codes of curl or unzip, so failures go unnoticed, it also moves away current kernel instead of copying it to backup, which will cause unbootable system if something goes wrong.

The script also contains lots of useless sleeps...

 

Error checking can be done via sth. like 'test $? -ne 0 && echo "Failed"'

Share this post


Link to post
Share on other sites

A bit of feedback about the script... the line:

mv mach_kernel mach_kernel.old

will make computer unbootable until a new kernel is put in place, which will fail if we don't have a working internet connection, or the website is down. Wouldn't it be better to change that to:

cp mach_kernel mach_kernel.old

Later on, when you do:

cd /kernel

...

mv mach_kernel /mach_kernel

will replace the old kernel anyway - no need to remove it first. I would also put chmod and chown commands before mv command.

Share this post


Link to post
Share on other sites

got it , i will remake all over again. Thanks again for your comments. I will be creating a new improved version !

Share this post


Link to post
Share on other sites

Thanks a lot gus , man I need to do the whole thing back

 

I am working on version français as well . So I might do it in several versions

 

Thanks coolbits !

Share this post


Link to post
Share on other sites

:2cents:Platypus works great

 

everyone can use it, even me.

 

when it will come out for linux? just wishing .

not so on topic but i like to thank coolbits for the app location.

 

greetings.

ciao.

saludos.

Share this post


Link to post
Share on other sites

Updated the script to a newer version. I will be adding more stuff and I will find a way to fix the sleep thingy , or at least cut its number down

Share this post


Link to post
Share on other sites

I have to say - you guys are incredible. Thanks to you, I have my Dell Inspiron 9400 fully working except for sound (sigmatel audio). How else could I get a 17" Mac Laptop for $700??? [Dell has them on their refurbished site very cheaply now].

 

I think that if the handful of people developing drivers can stick with the cheapest/most popular hardware, we could have a number of fully working desktops and laptops on our hands. given the circumstances, I don't think it's possible to get osx86 working on all kinds of different systems - instead, it's better to focus on just a few, and if people are really interested, they'll just switch to those systems. Dell seems to be leading the race, at least for cheap notebooks.

 

So if you are getting an Inspiron 9400/e1705, I recommend gma950/dell 1390 truemobile/standard +xga/.

 

That way you can have big ol' mac laptop for less than 1/3 the price! Yay!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Cool! Do you have a link? Googled and didn't see anything yet.   Never mind... you're quick! I just noticed you updated it on the 1st page THANKS!!!!!!
    • I resolved the problem. Just set this coding in your config.plist:   "
      <key>KextsToPatch</key>
              <array>
                  <dict>
                      <key>Comment</key>
                      <string>USB 10.13.4+ by PMHeart</string>
                      <key>Disabled</key>
                      <false/>
                      <key>Find</key>
                      <data>
                      g32UDw+DlwQAAA==
                      </data>
                      <key>InfoPlistPatch</key>
                      <false/>
                      <key>MatchOS</key>
                      <string>10.13.x</string>
                      <key>Name</key>
                      <string>com.apple.driver.usb.AppleUSBXHCI</string>
                      <key>Replace</key>
                      <data>
                      g32UD5CQkJCQkA==
                      </data>
                  </dict>
              </array>     "
    • New Web Driver - 387.10.10.10.30.107 for 10.13.4 build 17E202
    • I guess having pre{max-height: 500px;overflow: auto;} in CSS was too much for IPS Devs' tast.  Until an admin has hands on this, you still can use stylish plugin to accomplish it.     In fact, it is pretty easy than it appears - Just apply a simple click on the codebox (it will highlight it), then 'delete' key.
    • all the possible frequencyes i have added seems to work fine at the moment, i have added a lot of different frequencyes to support better all kinds of professional applications, inclunding strange sampling rates and goes from 8khz up to 176.4 khz, unfortunately 192 khz does not seems to work even on cards which should support it like the audigy rx, but other frequencyes just works fine and at the moment i have tested only the sound blaster audigy rx and the audigy sb0090 (1st gen audigy) and i can confirm that all the frequencyes from 8khz up to 176.4 khz does work on that card, so i think that such frequencyes should work on all the audigy 2, 2sz, 4 cards as well, tomorrow i will test with my sound blaster live! cards and i will let you know, but here are also some photos (pro tip: use cmd + alt/opton + 4 and then press space to make a screenshot of a single window):


×