昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期日, 七月 01, 2012

关于量产U盘光驱启动

感冒了, 为了不传给家人,周末两天都把自己关在小房间里。

由于自己的笔记本被霸占了,只好用着一天几年前的古董机。 

装的是Ubuntu 8.04,  官方以前不在支持了。 FIREFOX旧版的用着不爽, 想升级都升不了。又懒得找别的源。

想想,干脆就升级吧。。。。

升级吧。。。。下载。。。。。下载。。。。ubuntu12.4, 都12.4了, 以前刻的10.4的盘都还没用过呢。。。

下载完了,这台电脑还不能刻盘。 什么破电脑呀。 是DVD ROM

没办法,用U盘把ISO文件拷到被人霸占的电脑上(趁人还没有回来), 赶紧刻了盘。

刻好盘后, 拿到这台电脑来启动。。。晕,跟我说 CPU不支持 PAE, 无法启动。。。。晕了。。。

于是只好又去下载了 LUBUNTU。 这回刻盘失败。。。能启动,到安装那步就出错了。 。。。

好吧, 好像还有空盘,但不知道放哪里了。。。而且, 那台电脑又给霸占了,没办法刻盘。。。。

只好用U盘了, 用ULTRAISO做了个USB ZIP+的启动盘。 然后拿过来, 发现这台电脑不支持USB启动。。。昏

只好, 量产了。。。不

于是到苹果电脑上量产, 不知道是不是用的是WIN7的虚拟机的缘故。量产成功后, 量产出来的光驱跟本读不出来。。。

算了, 我把ISO用U盘拷到这台电脑, 这台电脑是双系统呀, 除了UBUNTU8.04外, 还有最适合量产的WINXP。 量产其实一点都不顺利。。。刚才忘交待了, 因为量产的盘是以前量产过的WINXP 安装盘。 SMI的主控。 我不知道要先擦掉再量产,我就直接量产了。 插进支的时候,量产工具量示两个盘。 量产失败了,然后电脑就认不出U盘了。 后来在这台电脑上用XP系统安装工厂驱动后,用量产工具重新认出,并量产成最初模式。 重新量产光盘后成功。

量产后,插入U盘, 再重启电脑。 选择光盘启动, 后来就一切顺利。 我想问的是, 它自己明明有一个光驱, 没插U盘的话, 选择光盘启动会用那个光驱来启动。 现在插了量产U盘, 它怎么就知道是用量产出来的光驱? 这么聪明? 它没有从USB 光驱启动的选项。 ASAPI光驱启动是唯一选择。。。。 电脑是 presario v2000.

--
Feng

星期日, 三月 11, 2012

follow last post

It seems that the real reason is the firewall. 

Changing the channel just make the firewall setting take effect.

--
Feng

TG585 router doesn't allow WLAN conmucation

Cannot ping other pcs in the same WLAN


Solution:

Change channel setting from automatic to manual. Set it to channel 11.

--
Feng

星期六, 一月 14, 2012

中奖了


靠, 什么华纳国际

一中还中三张, 三张三等奖,三等奖六名,我就中了三名。。。。


--
Feng

星期二, 十一月 29, 2011

VS2010 专业版升级成旗舰版

因为很懒, 所以我没有卸载原来的专业版,直接安装旗舰版, 没想到可以安装,而且安装非常快。应该只是升级了专业版没有的东西,所以特别快。

--
Feng

星期二, 十一月 22, 2011

星期一, 十一月 21, 2011

Fwd: n97 刷机成功



买了二手的N97, 查型号是505的, 里面系统是 N97i, 但查CODE是澳洲机。 所以应该是澳水,在中国被刷成 N97I。

为了调屏发射器功能,我把它刷成了新加坡版。

第一次失败

JAF version 1.98.62
Detected PKEY: 9000AAC9
Card life counter: 99.99%
P-key nokia module version 01.02
FBUS INTERFACE NOT CONNECTED!!!
USB Cable Driver version: 7.1.48.0
Changing mode...Done!
FILES SET FOR FLASHING:
MCU Flash file: NONE
PPM Flash file: NONE
CNT Flash file: NONE
APE Variant file: NONE
Searching for JAF saved location of ini...
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\

Searching for default location of ini...
Checking path: \Products\RM-505\
Searching for JAF saved location of ini...
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\
Scanning ini files...
Searching for default location of ini...
Checking path: \Products\RM-505\
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\
FILES SET FOR FLASHING:
MCU Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.core.C00
PPM Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.rofs2.V19
CNT Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_C01_prd.rofs3.fpsx
APE Variant file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM505_507_22.0.110_uda_10_001.uda.fpsx
Languages in ppm: English,Filipino,Bah Indonisia,Bah Malasia,Singapore
Detected P-KEY: 9000AAC9
P-key nokia module version 01.02
Init usb communication...
PRESS POWER ON NOW!
Searching for phone...Found
Sending RAW loader...
Using 009.012.005
    Elf2flash 09.24.000
    CMT RAW loader...
Patching RAW boot step1...
Patching RAW boot step2...
Patching RAW boot step3...
Sending RAW Loader...
....................Loader Sent!
Stage 2 starting................PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
..........Phone prepared OK!
Waiting for the phone to boot...
Searching for phone...
Phone failed to boot in flash mode CMT...


以为要变砖了。

网上很多人说会变砖。


于是蛮担心。

再刷一次, 一样的步骤,居然就成功了。


JAF version 1.98.62
Detected PKEY: 9000AAC9
Card life counter: 99.99%
P-key nokia module version 01.02
FBUS INTERFACE NOT CONNECTED!!!
USB Cable Driver version: 7.1.48.0
Changing mode...Done!
FILES SET FOR FLASHING:
MCU Flash file: NONE
PPM Flash file: NONE
CNT Flash file: NONE
APE Variant file: NONE
Searching for JAF saved location of ini...
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\

Searching for default location of ini...
Checking path: \Products\RM-505\
Searching for JAF saved location of ini...
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\
Scanning ini files...
Searching for default location of ini...
Checking path: \Products\RM-505\
Checking path: C:\Program Files\Nokia\Phoenix\Products\RM-505\
FILES SET FOR FLASHING:
MCU Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.core.C00
PPM Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.rofs2.V19
CNT Flash file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_C01_prd.rofs3.fpsx
APE Variant file: C:\Program Files\Nokia\Phoenix\Products\RM-505\RM505_507_22.0.110_uda_10_001.uda.fpsx
Languages in ppm: English,Filipino,Bah Indonisia,Bah Malasia,Singapore
Detected P-KEY: 9000AAC9
P-key nokia module version 01.02
Init usb communication...
PRESS POWER ON NOW!
Searching for phone...Found
Sending RAW loader...
Using 009.012.005
    Elf2flash 09.24.000
    CMT RAW loader...
Patching RAW boot step1...
Patching RAW boot step2...
Patching RAW boot step3...
Sending RAW Loader...
....................Loader Sent!
Stage 2 starting................PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
..........Phone prepared OK!
Waiting for the phone to boot...
Searching for phone...
Phone failed to boot in flash mode CMT...
Detected P-KEY: 9000AAC9
P-key nokia module version 01.02
Init usb communication...
PRESS POWER ON NOW!
Searching for phone...Found
Sending RAW loader...
Using 009.012.005
    Elf2flash 09.24.000
    CMT RAW loader...
Patching RAW boot step1...
Patching RAW boot step2...
Patching RAW boot step3...
Sending RAW Loader...
....................Loader Sent!
Stage 2 starting................PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
PUBKEYS already sent...
..........Phone prepared OK!
Waiting for the phone to boot...
Searching for phone...
Status byte: 8000
Selecting CMT flash...
Result: 0000
Phone is in flash mode...
CMT blocks: 642, APE blocks: 0
Erasing cmt...
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.core.C00...
Erasing cmt zone 00040000 - 00082FFF ... Erase result: 0000
Erasing cmt zone 00083400 - 003FFFFF ... Erase result: 0000
Erasing cmt zone 00800000 - 00D5FFFF ... Erase result: 0000
Erasing cmt zone 00D60000 - 0AB9FFFF ... Erase result: 0000
Partition result: 0014
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.rofs2.V19...
Erasing cmt zone 079A0000 - 09C9FFFF ... Erase result: 0000
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_C01_prd.rofs3.fpsx...
Erasing cmt zone 09CA0000 - 0AB9FFFF ... Erase result: 0000
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM505_507_22.0.110_uda_10_001.uda.fpsx...
Erasing cmt zone 0ABA0000 - 0F71FFFF ... Erase result: 0000
Send CMT CFG...

Writing cmt...
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.core.C00...
Sending CMT HASH for ADA
Sending CMT HASH for KEYS
Sending CMT HASH for PRIMAPP
Sending CMT HASH for RAP3NAND
Sending CMT HASH for PASUBTOC
cmt->PAPUB_CERTIFICATE_DATA_BB5 block detected
cmt->PAPUB_CERTIFICATE_DATA_BB5 block detected
cmt->PAPUB_CERTIFICATE_DATA_BB5 block detected
cmt->PAPUB_CERTIFICATE_DATA_BB5 block detected, sending...
cmt->PAPUB keys already sent...
Sending CMT HASH for SOS*UPDAPP
Sending CMT HASH for SOS*DSP0
Sending CMT HASH for SOS*ISASW
Sending CMT HASH for SOS+CORE
Sending CMT HASH for SOS+ROFS1
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_prd.rofs2.V19...
Sending CMT HASH for SOS+ROFS2
Write result 27: 1701
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM-505_22.0.110_C01_prd.rofs3.fpsx...
Sending CMT HASH for SOS+ROFS3
Write result 27: 1701
Processing C:\Program Files\Nokia\Phoenix\Products\RM-505\RM505_507_22.0.110_uda_10_001.uda.fpsx...
Rebooting...
Finishing CMT session...
Restarting CMT...
Pooling phone...
MCUSW: (null)
APESW: (null)
VariantSW: (null)
Prodcode:
Done!


--
Feng



--
Feng

星期四, 十一月 17, 2011

Regex back reference problem in C#

在C# 中, 如果碰到要替换 成 "$1" + "123" + "$2" 这种情况, 会出问题. 因为 $1123$2 会被认为是 $1123 和 $2, 所以替换不成功. $1123 会保留原样, 不会被 back reference 成 $1 的内容加上 123

--
Feng

n97 微信声音很小

N97 用微信声音很小, 原因是光线感应器坏掉. 微信在手机放在耳朵旁的时候会把声音从扬声器转到听筒. 如果光线感应器坏了, 微信会错以为你的手机在耳机旁, 所以从听筒里出声音. 之前那个手机,排线出有问题, 只要压下屏幕面板, 光感器恢复作用. 微信就出声了.

--
Feng

星期四, 九月 29, 2011

Team fundation anywhere eclipse plugin

product key: 7W3RJ-4WX3R-BV8JM-FC8P7-3W7QX

Need to install SP1, otherwise you will get some error.
--
Feng

星期四, 九月 08, 2011

android build.xml file name issue.

replaceregexp file="${out-folder}/assets/www/javascript/settings.js"

The case here is the settings.js file. The acctual file name is Settings.js

but as the build file refer the name to settings.js, the output in the bin folder will be settings.js. 

If you link the js file using Settings.js, you will have trouble. (but it will still work sometimes, it's very hard to find out the reason)


So, make sure you put the right file names in the build.xml file.

--
Feng

星期六, 八月 20, 2011

Ubuntu 电源被拨后无法加入 wifi

电源被拨后,重启

然后再用

 wpa_supplicant -i eth1 -c wpaconfig

连不上了。。。

不知道为什么

原来都好好的

于是重启, 还是没用。

想想是不是要重装网卡驱动。 这个是系统自己装的,我也没装过。 

搜了一下, 好像重装驱动那是相当的麻烦呀。 不过其中有一个贴子提到笔记本上那个无线开关一定要打开。。。。

于是我便试了下, 啥也没做,把那个无线开关按了几下,居然就好了。。。。晕死。

ubuntu 下没有相应的驱动,那个无线开关上的灯也从来不亮。 没想到居然是它的原因。。。。

--
Feng

星期一, 七月 11, 2011

用壁炉烤地瓜,烤成碳,碎裂

害我还在壁炉里翻了半天,怎么也找不到我放进去的地瓜了,连锡纸也被烤没了。。。。晕死。

--
Feng

星期六, 七月 02, 2011

台式机也搞好了

其实是我一开始就路线错误, 我记错了我是用removeWat 而非 win7 activate 来破解的。 如果我记得, 我肯定就会直接再RUN 一次 removeWat, 而不会去寻找什么 windows loader, oem7F7 之类的东西。 我刚才在台式机上试尽所有办法都没能装上以上两种, 我便又试回了 removeWat. 虽然有个网站说 removeWat 不能用了, 但我这里还是能用。 运行后, 整个激活的信息又不见了。 然后不会看到那令人烦恼的还有28天的信息。呵,回归了。 

--
Feng

WIN7 旗舰版 更新到 SP1 后又要激活

昨天用我的笔记本电脑的时候发现桌面右下角有副本不是正版的信息,才知道前天的更新把我的系统给 FUCK 了。 于是便故技重施,把 win7 activate 又运行了一遍。 无效。。。
于是找到 windows loader 2.04, 可以说我的系统被改过, 要卸载原有的crack. 于是我把win7 activate 又卸载了。 但是没有用 windows loader 还是说我的系统被改过。 于是我便想干脆下一个集成SP1 的免激活版算了。 于是找了半天, 也没有找到免激活的。 但却在此过程中,看到了一个熟悉的名字 removeWat, 我靠,我才突然想起,我是用 removeWat 激活的系统, 而不是用 win7 activate. 于是便用 removeWat 卸载。 卸载时出错, 我便进入安全模式卸载, 更出错。 我便不管了, 在安全模式下运行 windows loader, 居然成功了, 但证书没有安装。 我便重启电脑, 直接再run windows loader, 显示是 trail, 我直接便点了install (uninstall 也可以点, 但我没点), 重启。 成功激活了。


非常郁闷的是,这个在我华硕笔记本上的方法, 在我的组装台式机上无效。。。

--
Feng

星期五, 六月 17, 2011

Fiddler removed session contains url

1. Add a tag for url contains something in OnBeforeResponse

if(oSession.uriContains("abc/abc.html")){

oSession.oResponse["tag"] = "mock";
}


2. Add a case in OnExecAction

case "removetag":
if (sParams.Length<2) { FiddlerObject.StatusText="Please specify url part to wipe."; return;}
FiddlerObject.UI.actSelectSessionsWithResponseHeaderValue("tag", sParams[1]);
FiddlerObject.UI.actRemoveSelectedSessions();
FiddlerObject.UI.lvSessions.SelectedItems.Clear();
FiddlerObject.StatusText="Removed url contains: " + sParams[1];
break;


Then, ALT+Q in fiddler 

type removetag mock, then all the url contains abc/abc.html will be removed.

For keep sessions contains url is very similar 

case "keeptag":
if (sParams.Length<2) { FiddlerObject.StatusText="Please specify url to retain during wipe."; return;}
FiddlerObject.UI.actSelectSessionsWithResponseHeaderValue("tag", sParams[1]);
FiddlerObject.UI.actRemoveUnselectedSessions();
FiddlerObject.UI.lvSessions.SelectedItems.Clear();
FiddlerObject.StatusText="Removed all but URL contains: " + sParams[1];
break;



For filter out something other than url, you can do in the same way.


Please make sure your new added http header doesn't break your stuff.


--
Feng

星期一, 六月 13, 2011

Release port 80 for win7

Release from IIS first

then

  1. Right click on My Computer
  2. Select Manage
  3. Double click Services and Applications
  4. Then double click Services
  5. Right click on "Sql server reporting services(MSSQLSERVER)"
  6. Select Stop ...and voila, port 80 was released


--
Feng

星期五, 六月 03, 2011

Install ADB driver for android device.

Open Adb Manager to install Google USB Driver package, revision 4 from Available packages->Third party Add-ons->Google Inc

After that, you will find the downloaded files here

c:\Dev\Android\android-sdk\extras\google\usb_driver

Your one will be different, you should be able to find it.

Then, Go to device manager (WIN+R, devmgmt.msc)

Then, plug in your device, and find the hardware ID of your device,

open the file Added your device hardware id

[Google.NTamd64]
; HTC Dream
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
%CompositeAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C91&REV_0226&MI_01   <-- I added this line, Put to [Google.NTx86] if you are running 32bit os.

Then, update your driver from device manager, point the file location to c:\Dev\Android\android-sdk\extras\google\usb_driver

...Then, you know how to install a drvier.

--
Feng

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.