Monday, December 26, 2011

Hackintoshin basics boot loader basics


The How-To Geek Guide to Hackintoshing – Part 1: The Basics


Macs. The finest computers made by Apple, known for their simplicity and style, their Operating System, and their price. If Mac OS X is all you’re craving for, read and find out how to install it on your custom-built computer!
This three-part article series was written by one of our favorite readers, often known in the comments by his screen name, Hatryst. Stay tuned this week for the rest of the series, including how to install OS X, and how to upgrade from Leopard to Lion.

Why Hackintoshing?

There are two factors that may inspire someone to buy a Mac: The design, and the Operating System. Even if you’re concerned with the OS only, you still need to spend a lot. Most PC users will admit the fact that a Mac is better at doing some particular tasks, and all the credit goes to Mac OS. But getting a Mac isn’t as easy as it sounds. As of today, the cheapest Mac (Mac mini) starts from $599, and there isn’t much you can do with it, while the most powerful and upgradable Mac (Mac Pro) starts from $2499. Someone might ask, isn’t it possible to purchase a Mac OS X install disc, and install it on a regular PC just like you would on a Mac? The easy answer would be NO. The difficult answer is YES, with a couple of modifications. If you need just the OS to work on, and you don’t want to spend a lot of money buying a Mac, you can build one for yourself that’s just as powerful and effective as a real Mac. And also on the positive side, it is fully upgradable, and you might get it built for half the price or even lower, with all the specs that you want.
Such a custom-built PC running Mac OS X is called a Hackint0sh (Hacked Macintosh = Hackint0sh), and this process is known as Building a ‘Hackint0sh’ or a ‘CustoMac’. In short,hackintoshing is all about building a PC with some specific hardware, and using a special method to install Mac OS X on it. This has been going on for quite a while now by the name of Project OSx86 (Mac OSX + X86 architecture = OSx86). Now that Mac OS X Lion is out, we’ve decided to put together some guidelines for YOU to try it out, without spending too much. A requirement from Apple (as of today) is that you must have Mac OS X Snow Leopard (10.6.8) running, in order to upgrade to Lion. Apple is also shipping Lion on USB thumb drives, but installation from a USB isn’t much different. In the future, there might be a newer and direct guide for installation of Lion on a PC, but we will have to wait for that. This article covers all the basic concepts you need to know in order to understand hackintoshing.
However, one thing is worth mentioning here. If your work or means of earning depends solely on a Mac, it is recommended to get a real Mac, because it will be more reliable and hassle-free. With a Hackintosh,  you will run into problems every once in a while, no matter how perfect it is. It is more of a hobby and a fun project now, rather than a serious business. So remember, Hackintosh is NOT a replacement for a real Mac.

How it Works

As mentioned earlier, the process of installing OS X on regular PCs isn’t new. It all started when Apple announced its support for Intel based processors. Programmers and hackers dug deep into Mac OS X installation DVD, modified it, and created a patched version which could be installed on a PC as easily as possible. You just need to boot from the disc, run the setup, and voila. Several distributions (distros) of these patched versions are still available over the web. But Since Mac OS X is licensed software, this method was soon realized to be illegitimate. If you’re able to download the Mac operating system for free, it clearly counts as piracy. So we won’t be talking about that. Here’s what we are going to do. We will be buying a Mac OS X Snow Leopard install disc (from an Apple store, if you can still get it, or from Amazon), making your PC recognize the install disc, installing Mac OS X Snow Leopard on the PC, and finally we will be upgrading to OS X Lion and enabling full functionality of the system afterwards. Of course, there are questions regarding the legality of this method as well, since Apple doesn’t appreciate installing Mac OS on non-Apple hardware. But it is better than the other pirated, illegitimate methods. And this is called the TonyMacX86 method. Now we will be describing the basics of how it all works and everything you need to know before getting started.

The Hardware

Since Mac OS X is designed only to work on Apple-manufactured hardware, a couple of limitations exist. You can’t just go ahead and build a PC and start the process. STOP. You need to do some research first. And if you’re building a PC for the first time, be sure to check out our How-To Geek Guide to Building Your Own PC. Some hardware components will work with OS X natively, and some won’t. You need a computer with the parts most compatible with Mac OS X. The question is, What’s compatible, and what isn’t. There are several build options available, even Sandy Bridge compatible ones, and there are many options to choose from. As a matter of fact, some pre-tested builds are available HERE, and you can choose one of them to avoid the hassle of researching. But of course, if you want it fully customized, have a look at compatible hardware database wiki, and select the hardware components that suit your needs best. Or even more, you can have a look at complete builds along with guides on how people got them fully working HERE. In short, the most compatible OSx86 hardware includes an Intel Processor (Core2 and above, Core i3/i5/i7), a compatible motherboard (preferably one whose DSDT is available, read on for further explanation), all P55 and H55 motherboards are expected to work perfectly. And a graphics card which is tested to be working perfectly. It is generally recommended (and better) to install OS X on a separate hard drive. This makes dual-booting much easier.
So now you know something regarding what’s compatible and what’s not. But here’s a word of caution. No matter how carefully you choose your hardware, you’ll eventually run into problems like enabling audio, getting full graphics acceleration and stuff like that. And once you upgrade to Lion, you’ll probably face these problems again. This is normal, and will be tackled easily once you get to know the basics.
Once you’ve got your hardware selected, you need to know how the process works. You can’t just go on, following each step and installing. You should know how to get out of a problem that might arise when you’re following the procedure. If you need help, go ahead, and post it on the tonymacx86 forums.
The method we are going to use is called iBoot+MultiBeast. If you need to see a video demonstration of how it is done, our friends over at Lifehacker have put together an excellent walkthrough. So go ahead, and check it out as well. Before getting started with it, let’s have a detailed look at the things we have mentioned so far, about the stuff coming ahead, and some FAQs that beginners always ask.

Some commonly used terms

iBoot: Your PC is not able to accept or read the Mac OS filesystem natively. iBoot is a small utility that gets your computer ready to accept the Mac OS X install disc. It has to be burned on a disc, and you need to boot your computer from it before you can start installing Mac OS X. iBoot is a creation of tonymacx86, and available from their downloadssection.
Chameleon/Chimera Bootloader: The bootloader that will greet you and show you the choices of Operating Systems when you turn on your hackintosh. This will be installed using MultiBeast.
MultiBeast: After installing Mac OS X, you might experience several problems, like not being able to change the screen resolution, or the audio devices not being recognized. This is because the OS is unable to find proper ‘kexts’ for these devices. MultiBeast allows you to install the kexts required for display, audio, ethernet, etc. Apart from that, since you already know that Mac OS filesystem cannot be read natively by your computer, so the iBoot disc will always be required to boot into Mac OS. To get rid of that, MultiBeast is used. It puts a bootloader in your OS X hard drive, which has the same functionality as iBoot. Hence, you won’t need iBoot anymore. MultiBeast is also available from downloads section of tonymacx86 website.
Kext: In simple words, kext is to a Mac what a driver is to Windows. It is required for ensuring full functionality of your onboard devices and peripherals. Kexts can be installed manually, and several important kexts can be found in MultiBeast as well. You just need to know which ones you need to use. And you’ll get to know about that in the next part of this guide.
DSDT: DSDT is an interface between your motherboard’s BIOS and the Mac OS, and in most cases, it enables the OS to identify and recognize your onboard devices. In this way, you probably won’t need to install kexts for each of them. Also, the presence of a DSDT solves problems related to Sleep, Shutdown, Startup, etc. That’s why it was mentioned in the hardware section to get a motherboard whose DSDT is available. That makes things a lot easier. Otherwise, you would have to look for proper kexts and install them manually.
xMove: The mandatory tool for installing Mac OS X Lion over/alongside your current Snow Leopard installation. More about Xmove will be explained later.
More detailed information about these and several other less used terms can be foundhere.

Frequently Asked Questions

Where can I find a database of confirmed compatible hardware?
You can find compatible hardware information by having a look at the Builds, Compatible Hardware Wiki, and User Builds on tonymacx86 forums. Be sure to have a look at Guides for Snow Leopard and Guides for Lion.  Remember the logic: A build that can run Lion is surely capable of running Snow Leopard.
Is my hardware compatible?
Make sure you know what hardware you have. If you don’t know, use a utility like CPU-Z orSpeccy to find out what hardware you have in your PC. Then, search for each component in the hardware wiki, in the tonymac86 forums, and on the web as well. You will find out soon if it is compatible or not. You might consider posting your own build in the Buying Advicesection of tonymacx86 forums, and the community users will be there for help and suggestions. Finally, Lifehacker has put up a guide on choosing the most compatible hardware for your hackintosh, a must read for those looking to build a hackintosh.
I have an AMD processor, will I be able to use tonymacx86 method?
Nope. Apple ONLY supports Intel based processors, so does this method.
I need more information, I have some more questions
Head over to tonymacx86 forums, create an account, and you may ask your question there.
Finally, stay tuned for part 2 of this guide, where we will discuss the installation of Mac OS X Snow Leopard (prerequisite to OS X Lion, as long as another easy guide isn’t available for the purpose) and tweaking the install. In Part 3, we will try to upgrade it to the latest version, i.e. Mac OS X Lion, and try out basic dual-booting as well. Our goal is to give you a starting point for building a hackintosh, and you’re on your way then. If you’re ready to walk along and make yourself a CustoMac, make sure to have compatible hardware at hand, a copy of Mac OS X Snow Leopard install DVD, iBoot and MultiBeast from tonymacx86 downloads section, and most importantly, patience and tolerance!

Tuesday, December 20, 2011

Time can care anything but

I saw you again when I tried to find some old experiment record. Your pictures are inside the run book. No more heart beating as usual seeing you. It may be due to the time. Yes, its so quick and just few seconds I feel, its over 10 years! I know you have changed a lot since you are close to your forties. However, you are always young, bright, joyful, smile... in my memory.

Sunday, December 18, 2011

webos tips

先在你的pc 或者mac上安装webosquickinstall,我的版本是4.2.3 
没有试过其他的版本,估计大家都有了吧,没有的去考古,目的是要用里面的linux命
令行操作文件;还有就是tp上的develop mode必须打开,不会的考古去


 Turn on Developer mode

- You turn on developer mode for the HP TouchPad the same way as a smartphone.

Go to Just Type and type "webos20090606" without quotes or "upupdowndownleftrightleftrightbastart" without quotes.
Any of these will prompt the search to pull of the Developer Mode. You turn it on and your device should be in developer mode. If it requests a password you may just press submit.


2. You use webOS Quick Install and select the feeds application, and select Preware. And Boom! Preware is installed. Simple and easy.

If you do not have webOS Quick Install you may get it at this link.
http://www.filesonic.com/file/1411099974

or
http://forums.precentral.net/canuck-...-v4-2-3-a.html


1. WebOSQuickInstall和Preware的介绍和安装方法(全)
---------------------------------------
http://forums.precentral.net/hp-touchpad-apps/289569-simple-ste


2. 如何给TP提速
---------------------------------------
http://www.digitaltrends.com/mobile/got-a-slow-hp-touchpad-here

推荐Set logging to minimal (super easy)和Eliminate logging altogether两步。

另一篇相关的也可以看看:
http://www.zdnet.com/blog/mobile-news/how-to-improve-the-perfor


3. 推荐安装的preware上的apps & patches
---------------------------------------
I installed the following patches from preware:

Faster Card Animations HYPER version
Muffle System Logging
Remove Dropped Packet Logging
Unthrottle Download Manager

All of them are used to speed up the WebOs system by reducing logging,
optimizing hardware, etc.

One of the apps that I found very useful is:
Increase Touchpad Volume (Lite)
you can get it from preware, too.

There are many other apps and patches that you might find interesting in the
future. Go to precentral forum, see what others are playing with, then you 
can get some ideas as to what you want or need.


4. TP用的文件管理器
---------------------------------------
Install internalz from preware. It's not great, but it's better than nothing.

internalz的使用方法:
http://forums.precentral.net/canuck-coding/268445-internalz-tip


5. TP自带外放声音偏小,给外放增加音量的方法
---------------------------------------
Install a patch for it:
http://forums.precentral.net/webos-homebrew-apps/289740-increas

I installed a lite version, it works great. 推荐lite版本,增加33%音量。


6. 如何给TP截屏
---------------------------------------
hold down HOME(CENTER) BUTTON, then press POWER BUTTON


7. CAPSLOCK大小写转换键盘操作
---------------------------------------
键盘上朝上的箭头那个键是SHIFT键,连续单击SHIFT键两次,进入大写输入状态。再单击一次,返回默认的小写输入状态。


8. 缩小当前全屏card,返回card view的方法
---------------------------------------
除了按HOME(CENTER)键之外,还可以swipe from the bottom up,使用手势从屏幕最底部往上轻轻划一下,动作要快。


9. 安装ipk文件的方法
---------------------------------------
法一:
连接TP和PC,然后通过webos quick install工具

法二:
利用TP赠与的50G BOX空间,把ipk上传到BOX里去,然后在TP中直接通过BOX APP把ipk文件下载,然后点击打开,TP会自动将它通过preware安装。这种方法非常适合不喜欢频繁插拔USB连接线的同学。


10. 多标签浏览器,实现multi-tab viewing
---------------------------------------
Advanced Browser 介绍
http://www.webosbuzz.com/content/198-app-advanced-browser-webos

下载
http://www.filesonic.com/file/1682796264

Monday, December 12, 2011

Lion on Dell Optiplex 755

Installed Lion on a optiplex 755 successfully. Sound, ok with a kext, Graphic (GMA 3100) only one resolution still trying to get full resolution

Monday, November 14, 2011

Custom Markers to a Line, Scatter, or Bubble Chart in Excel



Apply Custom Markers to a Line, Scatter, or Bubble Chart

Tired of the same, lame choices for chart series markers? This page shows how to use any custom shape as markers in an Excel chart.
Make your chart, and temporarily use any handy symbol in Excel's extensive palette (there are NINE choices, after all, and 56 colors!).
Now on your worksheet, draw the shape you want, from the AutoShapes available on the Drawing toolbar. Size and format it the way you want it to appear in the chart. Our example will start with this fancy five-pointed star.
Copy the custom shape. Activate the chart and select the series in your chart. Use Ctrl-V or Edit menu > Paste to paste. The star becomes your custom data marker.
If you have a multiple point series, and you select the entire series before pasting, the copied shape becomes the marker for every point in the series, as above. If you select just one point before pasting, the copied shape becomes the marker for just the selected point. Here are a variety of custom shapes: four arrows of different color and orientation, and two single-character WordArt objects.
Select and copy a shape (the green, left-pointing arrow), then select a single point in a chart series (two single clicks), and paste. The selected point is now marked by the arrow.
Repeat with the remaining shapes and points. Notice that when the entire series is formatted at once, its legend entry picks up the custom series marker. When the points are formatted one-by-one, however, the legend retains the original boring built-in chart series marker.
This technique of applying custom markers works equally well with Line charts and with XY Scatter charts. It works nicely with Bubble charts, as well, with one important difference: the custom markers size themselves in the same way that the standard bubbles do. This is illustrated below with a star and a smiley face.
       
Select and copy the star, select one series, and paste the star onto the series. Now select the smiley face, copy it, select the other series, and paste.
The markers scale themselves according to the values of the bubble size variable. You may have to adjust the relative size of the markers in your chart. For example, a star doesn't look as large as a smiley face with the same diameter, because of the open space between the arms of the star. Unfortunately the appearance of the legend leaves something to be desired. I generally don't use a legend in this type of chart, I use data labels instead.
A variation on this technique (Use an Arrow to Indicate Special Points) uses custom markers andconditional chartingto point an arrow at the extreme points in a series.


Read more:Custom Excel Chart Series Markershttp://peltiertech.com/Excel/ChartsHowTo/CustomMarkers.html#ixzz1dhfx9aED

Tuesday, November 1, 2011

excel boxplot or box plot

its real trick to plot a boxplot in excel. I spent a whole afternoon and generated a template. and here is a screen shot for the final plot


ebook website

自从买了个电子书之后,就注意收集了一下能够下载的一些网址,中文英文都有几个。
书山有径,一网无涯,不敢独享,欢迎补充!

Ebook Search Engine:
http://ebookee.org/
http://library.nu/
http://inkmesh.com/
http://fliiby.com/
http://ishare.iask.sina.com.cn/
http://pm.upblog.net/books.html


Free ebook sites:
*经典pdf
http://www.planetpdf.com/free_pdf_ebooks.asp?CurrentPage=1&rhs

*各类杂志 (new)
http://ireadingnow.com

*子乌书简
http://book.zi5.me/

* Dropbox
http://www.dropbox.com/s/b44t0swhzsdlaof

* 苹果读书
http://ibook.178.com/

* 理工类书籍
http://bib.tiera.ru/static

* 百年千书
http://wp.1000ebooks.tw/

* O'REILLY Open Books
http://oreilly.com/openbook/

* PlanetPDF:  Classics works  of Literature.
http://www.planetpdf.com/free_pdf_ebooks.asp?CurrentPage=1

* University of California, eScholarship Edition: The eScholarship Editions collection includes almost 2000
books from academic presses on a range of topics, including art, science, history, music, religion, and
fiction.
http://content.cdlib.org/escholarship/

* University of Adelaide Library’s collection of Web books:
   The collection includes classic works of Literature, Philosophy, Science, and History.
   http://etext.library.adelaide.edu.au/

* AvaxHome.ru:  Some new ebooks. Rapidshare download links. Copyright is a problem.
http://www.avaxhome.ru

* The National Academies Press: Read more than 3,000 books online FREE!
http://www.nap.edu

* Free ebooks, magazines, newspapers, and many others
http://www.asiaing.com

* PSU's Electronic Classics Site
http://www2.hn.psu.edu/faculty/jmanis/jimspdf.htm

* The Online Books Page (hosted by the University of Pennsylvania Library)
http://onlinebooks.library.upenn.edu/

* 好书下载(台湾的一个网站)
http://sites.google.com/site/myboooksindex/

* http://www.epubbooks.com/

* mobileme (原版书籍)
https://public.me.com/chen_zihua

* dbank (中文mobi)
http://dl.dbank.com/c0sicsy5on

* 读览天下 (杂志)
http://www.dooland.com/kindle/

* COAY
http://www.coay.com/index.php

* 金读
http://kindle.im/

* 苦瓜书盘
http://kgbook.com/

* 亿年书海
http://www.inien.com/w/#/Index

* 掌上书苑
http://www.cnepub.com/

* 书仓
http://www.shucang.com/index.php

* 电子书城
http://www.chnxp.com.cn/sitemap.html

* 网上阅读
http://www.ifanshu.com/

*优盘pdfgaf共享文件夹
http://u.115.com/folder/f2c2e87cb7/

* txt书籍
http://www.txtshuji.com/
http://www.duoduomi.com/

* 中文epub
http://ibook.178.com/

* seakye's SkyDrive
http://cid-ab536aff86b227d2.skydrive.live.com/home.aspx
http://link.live.net/?l=http%3A%2F%2Fwww.mediafire.com%2Fseakye
US&h=Xn63ly6G&o=AB536AFF86B227D2%212644&u=AB536AFF86B227D2

*经史子集
http://book.godist.cn/

* The Burgomeister's Books (Over 1700 Books: Kindle-ready)
http://truly-free.org/kindle-ready.php

*好讀網站  (制作精良的繁体书库,强烈推荐其「二十世紀中文小說一百強」)
http://www.haodoo.net/

*七彩英语 (2000多本英文原版书籍)
http://www.qcenglish.com/

* amazon free books
http://www.amazon.com/b?ie=UTF8&node=2245146011

*google books (over 1 million Full view downloadable books in pdf and/or
epub)
http://books.google.com/

*Project Gutenberg (over 33,000 free ebooks)
http://www.gutenberg.org/wiki/Main_Page

*Feedbooks ( great collection of well-formatted books)
http://www.feedbooks.com/

*Manybooks (over 28,000 titles)
http://manybooks.net//