Desire HD 2.3.5 root + ENG S-OFF 刷機教學

網路上各種方式 ,都無法找到一篇能真的從原廠2.3.5 HBOOT lock的狀態ENG S-OFF的案例,浪費不少時間在嘗試錯誤.不如自己寫.
ps:原廠DEV也不能用,所以請不用浪費時間試.
HTC鎖東鎖西,不如開放,我認為在電腦的世界..只要能碰的到硬體,就甚麼也鎖不了!


1.降ROM至1.32
請先下載下面4檔(原文http://forum.xda-developers.com/showthread.php?t=1424023)
tacoroot
misc_version NOTE: you need THAT version of misc_version. Earlier versions would not work.
flashgc for a goldcard
1.32 PD98IMG.zip
手機接USB,充電模式連結電腦
(1).在windows下
adb push tacoroot.sh /data/local/tmp/tacoroot
adb push misc_version /data/local/tmp/
adb push flashgc /data/local/tmp/
adb push PD98IMG.zip /sdcard/
上面 PD98IMG檔案頗大,需要稍等

(2).以windows command mode進手機shell (你也可以用手Terminal軟體下command)
adb shell 
chmod 755 /data/local/tmp/*
/data/local/tmp/tacoroot --setup
手機會進入原廠的recovery,接著出現三角形加紅色驚嘆號,
請同時按著音量(-)還有電源鍵,接著就會進入原廠的recovery了,
請以音量鍵選擇到reboot system now,並按下電源鍵。

(3).下面取得暫時root
adb shell
/data/local/tmp/tacoroot --root

(4).開機完建金卡
adb shell
cd /data/local/tmp
./misc_version -s 1.00.000.0
./flashgc
./tacoroot --undo
回到adb殼層,會發現旁邊的符號由$變成#,即表示取得root。

(5).這步做完會重開機至Boot Loader會自動運行SD卡內的PD98IMG檔案,並降ROM
adb reboot bootloader

2.降ROM完成,會以英文版開機
改充電模式連結電腦(menu>>setting>>application>>development>>usb debugging)

3.永久Unlock Root  <--請點這
PS:Visionary  這個我試的結果...不管怎麼用都不能永久root但temp root是OK的,因為要先S-OFF才能永久Root,所以就別用這很老的軟體.
ps:重開機(-)加電源鍵確認S-OFF狀態.

4. S-OFF  這個動做我卡非常久,找不到可用的方法,別的方法shell都會卡住不動
下載自製的free-dhd-small.zip然後解壓縮
http://cjt74392.myweb.hinet.net/share/free-dhd-small.rar
adb shell
su

busybox sh /sdcard/free-dhd/hboot   真正ENG S-OFF

5.內建為ClockworkMod Recovery,先裝另一種手機刷ROM軟體4EXT Recovery Updater v2.14
刷ROM Desire HD我首推,講解的很詳細,之後就參考路人甲的網站說明吧
(但root和S-OFF的部份就請略過,不能用的.)
http://walker-a.com/archives/1175   Android 2.3.4 與 HTC sense 3.0+Beats音效,很省電穩定
http://walker-a.com/archives/1067  Android 2.3.5 與HTC sense 3.5+Beats音效,有些Bug


最後,我強調幾件事,
1.記得備份(ROM/軟體/電話簿....).除非你甚麼也不想留.
2.所有套件裝完一定要先reboot,再裝下一,個不然會變磚.


2012年6月4日 星期一
Posted by 紹斌
Tag :

在Linux玩Diablo 3 (CentOS)

1.Install Proprietary drivers for your graphics card
2.Install wine
Download wine source
http://sourceforge.net/projects/wine/files/Source/

Download wine 1.5.4 D3 fix path 
wget http://source.winehq.org/patches/data/86102
wget http://source.winehq.org/patches/data/86103
wget http://source.winehq.org/patches/data/86104

wget http://source.winehq.org/patches/data/86105
Download wine 1.5.4 D3D error on game video setting change/restart path
http://bugs.winehq.org/attachment.cgi?id=39565

Install wine
cd wine-1.5.4
patch -p1 < ../86102
patch -p1 < ../86103
patch -p1 < ../86104

patch -p1 < ../86105
patch -p1 < ../reset.patch
./tools/make_requests


./configure
Download wine dependent program like: flex and bison ...... install it
http://prdownloads.sourceforge.net/flex/flex-2.5.35.tar.gz?download

......

make -j 4
make install
 


3.Install winetricks
  • rm -f winetricks
  • wget http://winetricks.org/winetricks
  • sudo cp winetricks /usr/bin
  • sudo chmod +x /usr/bin/winetricks

4.Download  msxml3.msi
  • http://download.cnet.com/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7/3000-7241_4-10731613.html
  • cp msxml3.msi /root/.cache/winetricks/msxml3
  • winetricks vcrun2008 (or winetricks vcrun2010)

5.install D3
sudo umount /dev/sr0
sudo mkdir /media/Diablo3
sudo mount /dev/sr0 /media/Diablo3 -o unhide,unhide,uid=$(id -g)
wine /media/Diablo3/Diablo\ III\ Setup.exe -launch

6,Play D3
wine Diablo\ III.exe -w -launch -auroraaddress
the -w parameter is not necessary and you can avoid it. It loads your game into free-transform window mode instead of fullscreen. If you want fullscreen gameplay remove this command ( -w ).
or 
wine explorer /desktop=Diablo,1820x1024 ./Diablo\ III.exe -launch

If you are having issues logging in, try the following magic:
echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope

other note:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=25953




2012年5月24日 星期四
Posted by 紹斌
Tag : ,

我所遇到Win 7 顯示方面的問題整理

1.Geforce顯示卡新的Driver安裝完畢後,畫面一片黑(註:GeForce 296.10 WHQL,導致黑屏)
重開機後Windows旗幟飄揚,進到登入畫面一片漆黑,電腦並未當機,就是沒影像訊號.
解法:
雖然進安全模式移除新的驅動程式重開機會好,但這不是我要的結果,
查遍資料,試過多種網路方法,無效.
還是靠自己的智慧解決了,就是....換成HDMI輸出(DVI靠轉接頭接HDMI也行),
Geforce and Win 7很沒趣,我的顯卡有支持三種輸出,DVI/SUB/HDMI,
裝完新Driver進入WIN7後硬是強迫我用最好畫質的HDMI輸出,但開機確允許讓我可以用DVI輸出?

2.Win7進入(渾合)睡眠模式後,喚醒後硬體都醒了,就是沒有畫面.
解法: 1不行才做2,再不行才做3
(1).先確定BIOS power選項,看看ACPI是否正確的選了S3,win7 命令提示輸入powercfg -a可查詢.
(2).控制台\網路和網際網路\網路連線,開啟區域網路連線內容,選設定\電源管理,將允許這個裝置喚醒電腦選項 取消,確定後離開.
(3).還有問題就要靠顯示卡Driver解決了.
2012年5月23日 星期三
Posted by 紹斌
Tag :

System i - SQL COALESCE function in views has a deficiency

I was upgrade V5R3 --> V6R1 in last month,
我們踩到 IBM SQE 的 Bug, 開PMR弄了一個月,才由公司同事找到問題.



There isn't a problem specifically with the COALESCE function,
 But use COALESCE on columns in Views  then used to join to a table in a query, will cause SQL performance proble.

This SQE  deficiency should be fixed,
rewritting those views can resolve the performance problem . 

Query the SYSVIEWS table to determine if they have other views which use COALESCE,
i.e.:

select system_view_schema,
system_view_name , view_definition
from qsys2/sysviews
where upper(view_definition) like '%COALESCE%'

2012年5月4日 星期五
Posted by 紹斌
Tag :

Linux開機時將VMware虛擬機自動帶起

在Windows上自動帶起相對文章很多,我不多贅述,
我是在CentOS用VMware Workstation安裝Windows虛擬機
如果是VM Server也就沒那麼多問題,console界面就有自動開機選項了.

VM自動帶起的做法如下,請在 /etc/rc.local新增一行指令
su -l username -c '/usr/bin/vmrun start "/XXX/XXX.vmx" nogui'

短短一行指令,需注意如下,以免浪費您一堆時間,還開不起來!
1.username:需是root或是其它你要開VM的Linux user ID.
2.nogui:因為你在command mode是沒有圖型界面的,所以要加此參數.

ps:我用其它機器以ssh遠端登入CentOS後,用指令vmrun start "/XXX/XXX.vmx" nogui
這樣是帶不起來機器,會發生找不到display,如果有先進知道該怎麼做,請留言分享予我.
2012年1月9日 星期一
Posted by 紹斌
Tag :

Nagios Check_as400 PlugIn

Last edited by Shao-Pin, Cheng Taipei, Taiwan 
-----------------------------------------------------------

Check_as400 was  created for Nagios to monitor IBM System i.

Easy monitoring of all key indicators.


Nagios Exchange - Check_AS400

The following I have completed the development of options:
      AJ = Number of active jobs in system.
      CJ = Check to see if job is in the system.
      CJS [status ] [noperm]
            = Check to see if job is existing in Subsystem and has this status.
                          Job checking can be controlled by :
                          status       = any other status goes to critical
                          noperm                = don't go to critical if job is not in the system
                          NOTE: if JobStatus is set, it has highest Priority
      JOBS = Number of jobs in system.
      CJM = Check the temporary storage used of job.
      JOBQ = Number of jobs in JOBQ.
      CPU = CPU load.
      CPUC = CPU load, Consider Current processing capacity. (CPU used * VP nums / cpuBase).
                          NOTE: Specify , EX: You want use 3 CPU only, but VP use more than 3.
      CPUT = Top CPU used job. The total processing unit time used by the job
                          Specify job name, ex: *ALL or QZ* or QZDASOINIT
      US = Percent free storage
      ASP = Check ASP used
      DISK = Check DISK Status.
      DB = DB utilization. (Not available after V6R1)
      DBFault = Pool DB/Non-DB Fault
      LOGIN = Check if login completes.
      MSG = Check for any unanswered messages on msg queue
                          Any unanswered messages causes warning status.
      OUTQ  = Check outq files, writer and status. No writer, or
                          status of 'HLD' causes warning status. This default
                          behavior can be modified with the following options:
                             nw   = Don't go critical when no writer
                             ns    = Don't warn if status is 'HLD'
                             nf    = Ignore number of files in queue
                          NOTE: threshold values are used on number of files
      SBS = Check if the subsystem is running.
                          NOTE: specify as library/subsystem
      PRB = Check if the problem was identified.
      ---------- VISION MIMIX ----------
      MIMIX = Check MIMIX Data Group Unprocessed Entry Count, Transfer definition, RJ link state.
      ---------- Rocket iCluster ----------
      ICNODE = Check for any Inactive or Failed Node status.
      ICGROUP = Check for any Inactive or Indoubt Group status.
      ICSWTCHRDY = Check for multiple conditions for switch readiness.

-SSL
  Use SSL connection.
-d
   Be verbose (debug)
       NOTE: Needs to be one of the first arguments to work
-D
   Be verbose and dump screen outputs (debug)
      NOTES: Needs to be one of the first arguments to work
             When things are not working, use this flag, redirect the output to a file and send it to me!

Notes:
 -CPU, DB and US threshold's are decimal, JOBS, JOBQ and OUTQ are integers.

======================================================================
Install Note 
======================================================================
* Modify your $NAGIOS_PATH/.as400 with the correct user and password.
* Modify chech_as400 with the correct java path. 
* Set NAGIOS user profile Display sign-on information *NO 
- CHGUSRPRF USRPRF(NAGIOS) DSPSGNINF(*NO) 
Initial program to call  . . . .   *NONE
Initial menu . . . . . . . . . .   MAIN
* Nagios user may need to use IBM default sign-on display file
   Or change nagiso user to other subsystem description to use system default display file
  a.Use the Change Subsystem Description (CHGSBSD) command.
  b.Specify the display file on the SGNDSPF parameter. System default is QSYS/QDSIGNON
  c.ADDWSE SBSD(SBSLIB/SBSD) WRKSTN(QPADEVxx*) AT(*SIGNON)

* Avoid the massive entries log
CHGJOBD JOBD(NAGIOSJOBD) LOG(4 00 *MSG)

* Use SSL connection 
 Must add CE to JAVA, for EX:
keytool -import -trustcacerts -keystore /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85.x86_64/jre/lib/security/cacerts -storepass changeit -noprompt -alias xxxx_ce -file /xx/xxx/XXXX.cer

If you upgrade cum-package, then plugin stop working
Releases affected, V6R1M0 and M1, V7.1 and V7.2 (with different ptfs)
Release 610 : MF58587                                           
Release 611 : MF58588                                           
Release 710 : MF58589                                           
Release 720 : MF58590 


There is a PTF to resolve plugin stop working
* RECOMMENDATION: Apply LIC PTF MF59537 for i 6.1              * 
*                 Apply LIC PTF MF59538 for i 6.1.1            * 
*                 Apply LIC PTF MF59539 for i 7.1              * 
*                 Apply LIC PTF MF59540 for i 7.2              *

======================================================================
Help check_as400 - Click Sponsored Ads
======================================================================
This donation will help me provide everyone with greater content


======================================================================
For different language 
======================================================================
(optional 1 - Support EN/FR/DE/IT)
1.If your system is running on another language than english, follow the steps below
# cd /usr/local/nagios/libexec/check_as400/Lang Source
2.Then copy the java class file of your language (EX:substitute french with your language)
# cp check_as400_lang_french.java ../check_as400_lang.java
3.Then compile it
# javac check_as400_lang.java

(optional 2 - Change Nagios user profile to EN)
The NAGIOS user profile has INLPGM parameter set to a CLP (MAINGBCL)
This is the MAINGBCL:
/*********************************************************************/
/* SERVER PROFILE FOR NAGIOS !!!!!!!!!                                                               */
/*********************************************************************/
PGM                                                                                                                                  
              CHGSYSLIBL LIB(QSYS2924)                                                                        
              RCLRSC                                                                                                              
ENDPGM 
                                                                                                                          


This CLP change the language in English.

======================================================================
Troubleshooting
======================================================================
Use -D (debug) option,
.For example
check_as400  -D  -H x.x.x.x -v DISK > debug.log

======================================================================
Change log
======================================================================
Check_as400 Version: 1.5.1 <2019> 
* Fixed WRKSYSSTS check problem on V7R3 


Check_as400 Version: 1.4.4 <2017> 
* Fixed CPUT problem on OS V7R2. 
* Added check job temporary storage used. (Thanks, BIANCHI Xavier) 


Check_as400 Version: 1.4.2_1 (2016/04/29)
* Added ITALIAN language. (Thanks to Riccardo Morandotti)

Check_as400 Version: 1.4.2 <2015 style="font-family: verdana, tahoma, sans-serif; font-size: 12px; line-height: 20.4px;"> (2015/06/29)
* Added SSL connection option. 
* Fixed username display in Login ERROR message. 
* Fixed Log in failure on 10 character username. 

Check_as400 Version: 1.3.0 : (2015/03/10)
Modified check CJ for duplicate jobs, can specify job number for CRITICAL and WARNING value.

Check_as400 Version: 1.2.9 :  
* Fixed check MSG for LANG FR/GE string index out of range error. 
(Thanks to Frederic MOURAGUES) 

Check_as400 Version: 1.2.8 :
* Added check for Number of file members. 
(Thanks to Tim Vandegrift) 

Check_as400 Version: 1.2.7 : ( 2013.08.29 ) 
* Added check for work with problems. 
* Added check for top CPU used job. 
The total processing unit time used by the job. 

Check_as400 Version: 1.2.5 :
* Added check for Rocket iCluster. Node Status, Group Status, Switch Readines. 

Check_as400 Version: 1.2.4 : 
* Added French language definitions 
* Fixed check CJ command && parse error. 
* Fixed check OUTQ error with V6R1/V7R1. And can specify the library now. 
2011年11月18日 星期五
Posted by 紹斌

CISA證照維持費

CISA要求認證後.需持續進修CPE學分,並且繳納證照續費,
每三年修滿120個學分,每年不得低於20學分.
加入會員及分會是最快獲的CPE的方式,
而非會員目前每年證照續費(CISA Fee)加收85美金.

2011 Basic Membership Dues 135.00 135.00
2011 142-Taiwan Chapter 50.00 50.00 (大陸香港分會是55美金)
2011 CISA Fee 40.00 40.00

一年需繳交 $225美金(約七千台幣),且每年約調5美金,
我國未更近一步像韓國或是美國法規上強制要求 執業需證照 的規範.
常造就有效證照數偏低的狀況.

深感在個人及制度上,我們都仍有許多待進步的空間,
以提高資訊相關方面的水準,與世界競爭.
2011年10月11日 星期二
Posted by 紹斌
Tag :

Translate

關於我

我的相片
台北市, Taiwan
主要工作領域於Linux、IBM System i/ P 的系統管理維護, (認證:CISA、RHCE)

Donate Check_AS400

OR - Click Sponsored advertising

Labels

ShaoPin網誌. 技術提供:Blogger.

- Copyright © Shao Pin Cheng (Bruce) - Powered by Blogger