[HTC Butterfly] Capt Vikram Sandhu:
Please Help

Here's what I repeated. Step - by -step

1. First of all got the getvar all details:

C:\Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 3A.32.306.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.04.709.1

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: ------------------

(bootloader) imei: -----------------------

(bootloader) meid: 00000000000000

(bootloader) product: deluxe_ub1

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PL9911000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 4195mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-ae8bbb39

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.089s

QUERY : Should I be concerned regarding

i. (bootloader) platform: HBOOT-8064

ii. (bootloader) hbootpreupdate: 11, because in Kairi's firmware zip the android-info reads

1) CID H_061 (I changed it to 11111111)

2) hbootpreupdate:3 (This I did not change)

2. Relocked the boot loader (after checking if I could unlock it again through the previous code.bin. I did this successfully but without Selecting 'Yes' option at the end of the process on my device)

C:\Fastboot>fastboot oem lock

...

(bootloader) Lock successfully...

(bootloader) mipi display off

(bootloader) mipi_dsi_cmds_tx_ext

(bootloader) pm8921_vreg_disable function, vreg_id = 1

(bootloader) pm8921_vreg_disable function, vreg_id = 38

(bootloader) TZ_HTC_SVC_DISABLE ret = -2228225 (0xFFDDFFFF)

(bootloader) [HTC]PS_HOLD resets device!

FAILED (status read failed (Too many links))

finished. total time: 1.246s

C:\Fastboot>fastboot flash unlocktoken Unlock_code.bin

< waiting for device >

target reported max download size of 1514139648 bytes

sending 'unlocktoken' (0 KB)...

OKAY [ 0.136s]

writing 'unlocktoken'...

(bootloader) unlock token check successfully

OKAY [ 0.009s]

finished. total time: 0.148s

NOTE: Both the times device booted into bootloop.

3. Flashing Kairi's firmware-kk.zip through RUU

a. Rebooted in RUU

C:\Fastboot>fastboot oem rebootRUU

...

(bootloader) Start Verify: 0

OKAY [ 0.053s]

finished. total time: 0.055s

b. Flashed firmware-kk (remember the file CID changed to 11111111

C:\Fastboot>fastboot flash zip firmware-kk.zip

target reported max download size of 1514139648 bytes

sending 'zip' (19401 KB)...

OKAY [ 2.007s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 3.490s

C:\Fastboot>

C:\Fastboot>fastboot flash zip firmware-kk.zip

target reported max download size of 1514139648 bytes

sending 'zip' (19401 KB)...

OKAY [ 2.016s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[sbl1-1] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-1,0

(bootloader) [RUU]UZ,sbl1-1,100

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl1-2,0

(bootloader) [RUU]UZ,sbl1-2,100

(bootloader) signature checking...

(bootloader) [RUU]WP,sbl1-2,0

(bootloader) [RUU]WP,sbl1-2,100

(bootloader) ...... Successful

(bootloader) start image[sbl2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl2,0

(bootloader) [RUU]UZ,sbl2,100

(bootloader) [RUU]WP,sbl2,0

(bootloader) [RUU]WP,sbl2,100

(bootloader) ...... Successful

(bootloader) start image[sbl3] unzipping & flushing...

(bootloader) [RUU]UZ,sbl3,0

(bootloader) [RUU]UZ,sbl3,100

(bootloader) [RUU]WP,sbl3,0

(bootloader) [RUU]WP,sbl3,100

(bootloader) ...... Successful

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]UZ,radio,0

(bootloader) [RUU]UZ,radio,8

(bootloader) [RUU]UZ,radio,13

(bootloader) [RUU]UZ,radio,22

(bootloader) [RUU]UZ,radio,31

(bootloader) [RUU]UZ,radio,40

(bootloader) [RUU]UZ,radio,49

(bootloader) [RUU]UZ,radio,58

(bootloader) [RUU]UZ,radio,67

(bootloader) [RUU]UZ,radio,75

(bootloader) [RUU]UZ,radio,80

(bootloader) [RUU]UZ,radio,89

(bootloader) [RUU]UZ,radio,99

(bootloader) [RUU]UZ,radio,100

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,35

(bootloader) [RUU]WP,radio,71

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

(bootloader) start image[rcdata] unzipping & flushing...

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]UZ,rcdata,42949671

(bootloader) [RUU]WP,rcdata,0

(bootloader) [RUU]WP,rcdata,42949671

(bootloader) ...... Successful

OKAY [ 10.628s]

finished. total time: 12.650s

Note: In the device the green bar did not reach the end. And did not reboot.

c. 'fastboot reboot bootloader' - command not recognized

d. 'fastboot reboot' - rebooted into bootloop

e. Manually booted the device into bootloader.

4. Getvar all - Same as previous.

5. Unlocked the bootloader.

C:\Fastboot>fastboot flash unlocktoken Unlock_code.bin

target reported max download size of 1514139648 bytes

sending 'unlocktoken' (0 KB)...

OKAY [ 0.136s]

writing 'unlocktoken'...

(bootloader) unlock token check successfully

OKAY [ 0.010s]

finished. total time: 0.149s

Note: The device automatically rebooted into bootloop yet again. Manually rebooted to bootloader it shows *** UNLOCKED ***

6. Re flashed Kairi's TWRP

C:\Fastboot>fastboot flash recovery TWRP-2-7-Kairi.img

target reported max download size of 1514139648 bytes

sending 'recovery' (10572 KB)...

OKAY [ 1.564s]

writing 'recovery'...

OKAY [ 0.977s]

finished. total time: 2.546s

7. Entered Recovery from the device. (To install Kairi's reset kernel) Did not wipe cache/dalvik after installation

Note: - 'adb reboot bootloader' did not work at recovery, thou

C:\Fastboot>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

FA34HPN00627 recovery

C:\Fastboot>adb reboot bootloader

8. Entered bootloader thru TWRP options on the device.

9. Flashed boot.img (extracted from InsertCoin 3.0.6 Zip). Did not erase cache after this.

C:\Fastboot>fastboot flash boot boot.img

target reported max download size of 1514139648 bytes

sending 'boot' (6500 KB)...

OKAY [ 0.926s]

writing 'boot'...

OKAY [ 0.747s]

finished. total time: 1.677s

10. Entered recovery to install InsertCoin Rom.

a. Selected - Perform a full wipe in the installer.

b. Deselected all the checkmarks (for HTC + Google)

c. Selected - 'Enable Cache - All times' in the end

d. Install.	(Please refer the attached screen shots)

e. Reboot your Device now from the installer. (HOPE TO boot into android. Fingers crossed).

f. Again Bootloop.

g. Rebooted into bootloader

h. Fastboot the boot image once again erased cache after that.

C:\Fastboot>fastboot flash boot boot.img

target reported max download size of 1514139648 bytes

sending 'boot' (6500 KB)...

OKAY [ 0.926s]

writing 'boot'...

OKAY [ 0.745s]

finished. total time: 1.675s

C:\Fastboot>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.068s]

finished. total time: 0.070s

I. Still in bootloop.

Please help/advice.