debug CyanogenMod recovery for HTC LEGEND

来源:互联网 发布:伺服电机选型软件 编辑:程序博客网 时间:2024/06/06 19:36

only compile recovery:

       $source build/envsetup.sh
       $lunch

       chose your device
       $make recoveryimage
   after build finish, find the recovery.img in SourceCode/out/target/product/legend

flash recovery.img to device:
    $adb reboot bootloader
    $fastboot flash recovery recovery.img

 

there has one issue when I use official release of CWM-recovery v5.0.2.8 in my htc_legend:

         No Go back menu and the power key doesn`t work.

         the solution is recompile the CMW recovery and change the option for legend:

                 add the Option "BOARD_HAS_NO_SELECT_BUTTON := true" into BoardConfig.mk in the DIR:SourceCode/system/device/htc/legend

        

 

References:

      a): http://wiki.cyanogenmod.org/w/Build_for_legend?setlang=zh-tw

原创粉丝点击