因为很懒, 所以我没有卸载原来的专业版,直接安装旗舰版, 没想到可以安装,而且安装非常快。应该只是升级了专业版没有的东西,所以特别快。
--
Feng
昨天,今天,明天,每天的每天,你是否都多懂得一点点...
星期二, 十一月 29, 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
--
Feng
n97 微信声音很小
N97 用微信声音很小, 原因是光线感应器坏掉. 微信在手机放在耳朵旁的时候会把声音从扬声器转到听筒. 如果光线感应器坏了, 微信会错以为你的手机在耳机旁, 所以从听筒里出声音. 之前那个手机,排线出有问题, 只要压下屏幕面板, 光感器恢复作用. 微信就出声了.
--
Feng
--
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
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
Feng
星期六, 八月 20, 2011
Ubuntu 电源被拨后无法加入 wifi
电源被拨后,重启
然后再用
wpa_supplicant -i eth1 -c wpaconfig
连不上了。。。
不知道为什么
原来都好好的
于是重启, 还是没用。
想想是不是要重装网卡驱动。 这个是系统自己装的,我也没装过。
搜了一下, 好像重装驱动那是相当的麻烦呀。 不过其中有一个贴子提到笔记本上那个无线开关一定要打开。。。。
于是我便试了下, 啥也没做,把那个无线开关按了几下,居然就好了。。。。晕死。
ubuntu 下没有相应的驱动,那个无线开关上的灯也从来不亮。 没想到居然是它的原因。。。。
--
Feng
Feng
星期三, 七月 13, 2011
星期一, 七月 11, 2011
星期六, 七月 09, 2011
星期六, 七月 02, 2011
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
--
Feng
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
--
Feng
then
- Right click on My Computer
- Select Manage
- Double click Services and Applications
- Then double click Services
- Right click on "Sql server reporting services(MSSQLSERVER)"
- 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
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
星期四, 五月 19, 2011
Becaureful of tf checking
In vs2010's pending window, if you undo changes, it will undo unchange files. if any file is changed, there will be a pop up window ask for your confimation, I always answer "Not to all".
By doing this, all unchnaged files will disappear from the pending window.
But, if you do a tf checkin cmd to pop up the pending window,
Don't undo a changed file if you don't want to do it. There is not confimation window here, all your changes will be undo.
--
Feng
By doing this, all unchnaged files will disappear from the pending window.
But, if you do a tf checkin cmd to pop up the pending window,
Don't undo a changed file if you don't want to do it. There is not confimation window here, all your changes will be undo.
--
Feng
ANT: taskdef class com.android.ant.SetupTask cannot be found ...
ANT: taskdef class com.android.ant.SetupTask cannot be found ...
the reason is that:
The local.properties.files doesn't have the right sdk.dir set up.
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=c:\\Dev\\Android\\android-sdk
--
Feng
星期一, 五月 02, 2011
ADB server didn't ACK
C:\Dev\Android\android-sdk\platform-tools>adb kill-server
C:\Dev\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
If this happen, go to task manager and kill adb.exe
then , restart adb server.
also, eclipse need to be restarted if you are using it.
--
Feng
星期四, 四月 28, 2011
Install Blackberry JDE in win7 64bit
Need to set jdk bin in path.
Edit file
c:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\bin\ide.bat
set path=%path%;c:\Program Files (x86)\Java\jdk1.6.0_18\bin
start javaw -Xmx512M -DRIM_RUNTIME=..\lib -DRIM_BIN=..\bin -jar IDE.jar
Don't use 64 bit jdk bin, use the 32 bit one.
Otherwise, it will complain "cannot find RIM*WIN32*.dll" something like that.
Then double click ide.bat to run.
I got both jdk 32bit and 64bit installed. Remind you, you can install both of them.
--
Feng
Edit file
c:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\bin\ide.bat
set path=%path%;c:\Program Files (x86)\Java\jdk1.6.0_18\bin
start javaw -Xmx512M -DRIM_RUNTIME=..\lib -DRIM_BIN=..\bin -jar IDE.jar
Don't use 64 bit jdk bin, use the 32 bit one.
Otherwise, it will complain "cannot find RIM*WIN32*.dll" something like that.
Then double click ide.bat to run.
I got both jdk 32bit and 64bit installed. Remind you, you can install both of them.
--
Feng
订阅:
博文 (Atom)