HTC Incredible S 刷机

笔者的第一台智能手机是HTC Incredible S. xda上最新的支持有以下几个 ROM:

ROM 表现


Android 6那个 ROM 在刷入之后, 无法启动到系统.

实验证明, szezso的 ROM, wifi 有问题, 连上几秒后, 会自动断开, 再连上, 再断开.

Unlock bootloader


需要下载Unlock_code.bin.

注册账号: https://www.htcdev.com/bootloader/, 按提示解锁.

具体参看: HTC G11 (Incredible S)一键Bootloader手动解锁操作教程

  1. 关机

  2. Power + Vol Down开机到 Bootloader mode.

      // 如果打开了 USB debug, 也可以用 command进
      ➜  cm12-rqmo  adb reboot bootloader
    
  3. 按音量键, 上下到 fastboot, 按电源键确定, 进入fastboot mode.

      // 检查设备状态
      ➜  cm12-rqmok  fastboot devices
      HT21MTD00414	fastboot
    
  4. 获取 token

    ➜  cm12-rqmok  fastboot oem get_identifier_token
    ...
    (bootloader)
    (bootloader) < Please cut following message >
    (bootloader) <<<< Identifier Token Start >>>>
    (bootloader) 162A88EFBD14F312BE25CD2D8426D328
    (bootloader) 03C81721D243EC3A32324643F3E5F519
    (bootloader) B1FB45D0548D65E7670047DFDB5D3837
    (bootloader) D38E2B7F76F1DF3DA27CE9906FDF7A9D
    (bootloader) AB54B0E47057F4DD93E9CDEC99673024
    (bootloader) 2A8454D89835746E21BF7BD483D4D65E
    (bootloader) 9BC5CB3A5D8C3BE1D31C4F16B405AFD3
    (bootloader) 9DB7E715DB6F7535D7F7B8053B3C8022
    (bootloader) 6F698898D96F52F20DA0BDB127A7E732
    (bootloader) 69B465F8A1BF5FAAE1E3A074941CD767
    (bootloader) 023BC7921D50C5EECBFAE6621FA53809
    (bootloader) B77D59CA13924C8F9A2898AF68A49E95
    (bootloader) 81FD33CAA54860EA48F4F6613DBB73A4
    (bootloader) 76B585B78D7D5D49CA58B1C9BC2A8D01
    (bootloader) 9805AA60FCCADD49DA6A62B61401641A
    (bootloader) C7FDE33BE687491349BE29363F8AC9B4
    (bootloader) <<<<< Identifier Token End >>>>>
    OKAY [  0.061s]
    finished. total time: 0.061s
    
  5. 登陆网站获取Unlock_code.bin

    ➜  cm12-rqmok  fastboot flash unlocktoken Unlock_code.bin
    target didn't report max-download-size
    sending 'unlocktoken' (0 KB)...
    OKAY [  0.167s]
    writing 'unlocktoken'...
    (bootloader) unlock token check successfully
    OKAY [  0.004s]
    finished. total time: 0.171s
    

Flash TWRP recovery


➜  cm12-rqmok  fastboot flash recovery TWRP_2.8.7.0_20160204-rqmok.img

➜  cm12-rqmok fastboot reboot

Flash Rom


  1. 将 Rom 放在 SD 卡
  2. Wipe Device (Factory reset)
  3. Install - Select Rom.zip
  4. Reboot

Root

CyanogenMod: How to Enable Root Access

Xposed


  1. Check ARM

    
    ➜  cm12-rqmok  adb shell cat /proc/cpuinfo
    Processor	: ARMv7 Processor rev 2 (v7l)
    BogoMIPS	: 511.18
    Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
    CPU implementer	: 0x51
    CPU architecture: 7
    CPU variant	: 0x1
    CPU part	: 0x00f
    CPU revision	: 2
    
    Hardware	: vivo
    Revision	: 0080
    EngineerID	: 0001
    Serial		: 0000000000000000
    ➜  cm12-rqmok  adb shell getprop ro.product.cpu.abilist
    armeabi-v7a,armeabi
    
  2. Download xposed

  3. Reboot to recovery mode

    $ adb reboot recovery
    
  4. Flash xposed-*****.zip

  5. Reboot

    • (Optional) Don't forget to Wipe Dalvik/Cache then Reboot. Wait until the process is finished. Optimization may take up to 15-30 min. depending upon how many apps you've installed.
  6. Download xposed installer

Bonus


Recovery

hold volume down + power for about 4 seconds until you come to a white screen

  1. Bootloader Mode:
    While your devices is powerd off, press Power + Vol. Down until Bootloader screen appears.

    • How to use buttons in Bootloader,Recovery and Fastboot mode:
    • Volume Up: go to previous item
    • Volume Down: go to next item
    • Power: to select item
  2. Fastboot Mode
    While in bootloader mode, press power button and you are in fastboot mode

  3. Recovery Mode
    While in bootloader mode, press Vol. Down and after press Power button and after that you are in a screen with a phone and an alert press Vol. Up + Power to go in recovery


Ref:

Show Comments