[YU Yureka Q&A, Help & Troubleshooting] Jaspreet009:
urgent help needed

Dear sir my yureka is hard bricked. Phone is shown in device manager only in hs-usb qdloader 9008 mode. Red led is shown. I had tried to flash 8675_W00.zip using qpst but always failed with sahara failed error. Please help me.

Phone detects in device manager under com ports in hs-usb qdloader 9008 mode. No mmc disk drive listed under disk drives in device manager on win 7 ultimate 32 bit os. No vibration. Only red led ligts up. Please help. Thanks in advance for your help

QUOTE=tirta.agung;59777685]So here is the guide to unbrick your YU from "Qualcomm HS-USB QDLoader 9008", I hope it works for you as I fried my YU's eMMC by attempting to brick and unbrick my YU for nearly 200 times in three days just to confirm that this guide is working. And here are some pics of my current YU (an expensive desktop charger). And all of this, because I love XDA, hahahahahahaha:p, just hope it worthed. For God sake, I have invested nearly US$200 for this thread (at least that is how much I bought my YU plus shipping), so this post has to work. And please, don't ask whether I am serious or not, you should know the answer already.

Please read this guide thoroughly. It took hours of my precious time to make this post, but I bet you that it will olny takes minutes to read it. So once again, please read this guide thoroughly.

Now the important part, this guide was tested by me with my Lenovo laptop that run Windows 7sp1 Ultimate edition, and this is my hardware specs:

1. ANALYZING THE PHONE PROBLEM

In qualcomm NEW firmware (not the HLOS part, but NON-Hlos, SBL1, TZ, HYP, RPM, and Aboot), especially ARMv8-A, Qualcomm diminished the famous "Qualcomm HS-USB Diagnostics 9006", and introduce two types of "Qualcomm HS-USB QDLoader 9008" (source: fybon article ). So, before we proceed with the guide, we should analyse the phone first, on which 9008 mode your phone is in. To do this, follow these steps below:

1.a SETTING UP WINDOWS

I know that some fellow YU's owners who have bricked their phone are "Senior Member" and highly experience user if it comes to Android and Qualcomm phone, but I just want to ask you to give some respect for my death YU by following each of the steps that need to be taken to setup Windows.

Please turn off internet connections.

Remove your YU from PC or Laptops.

Install the latest ".net Framework" for your Windows.

Uninstall all the driver related to YU, as well as any Qualcomm driver if you have install any. Uninstall them through Device Manager FIRST, then program manager. Here I used a software called "REVOUninstaller" to remove completely the driver softwares and Device Remover to completely remove installed unnecessary device.

Then run "CMD" or "Windows Terminal" as administrator and type:

bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON

Restart your PC or Laptops, and you should see this watermark at the bottom right of your desktop, just like the pic below"

Download QualcommDrv.zip from here, extract to an empty folder, then open the folder according to your Windows type (x64 or x86) and double click dpinst64.exe to install the Qualcomm driver.

Now it is safe to connect your YU to PC or laptop (I connected it in USB2 port). BUT BEFORE YOU CONNECT YOU YU, REMEMBER TO UNPLUG YOUR BATTERY FOR FIVE SECS, REPLUG IT, AND CONNECT YOUR YU WITHOUT PRESSING ANY OF ITS BUTTONS. Your phone should now being detected as "Qualcomm HS-USB QDLoader 9008" and the driver version 2.0.8.7 (please check it through Windows' "Device Manager")

1.b ANALYSING PROCESS

If you were just messing with system image, boot image, system's framework or other things that does not related to Qualcomm's stuff (modem-NON-HLOS.bin, aboot-emmc_appsboot.mbn, sbl1, hyp, tz, rpm partition, for example installing sound patch, etc, you possibly will enter the new 9008 mode, which is a combination of the old "Qualcomm HS-USB Diagnostics 9006" and "Qualcomm HS-USB QDLoader 9008". When you first brick the phone into this mode, you would experience such symptoms below:

The LED charging indicator near the phone speaker will light red.

Your phone will vibrate endlessly, and this vibration will end only if you disconnect your phone from your PC or laptop and unplug the battery.

If you open Windows' Device Manager, you'll see "Qualcomm HS-USB QDLoader 9008" under PORTS (COM & LPT) or "QHUSB_BULK" under Other devices, and "Qualcomm MMC Storage USB Device" under Disk drives, similar to the pics below (NOTICE THAT RED BOX IN PIC):

OR

However, if you messed with your YU's qualcomm's partition playing with NON-HLOS.bin, emmc_appsboot.mbn, sbl1.mbn, hyp.mbn, tz.mbn, rpm.mbn, or by other mean messing the whole Qualcomm's eMMC partition, such as by using this zip I made while your YU is in Fastboot, then you will most likely go into the OLD "Qualcomm HS-USB QDLoader 9008" mode. You will find symptoms similar to below:

The phone charging indicator would not light if you connect your YU with PC or Laptop.

Device Manager only listed "Qualcomm HS-USB QDLoader 9008" under PORTS (COM & LPT) or "QHUSB_BULK" under Other devices, but no "Qualcomm MMC Storage USB Device" under Disk drives, similar to pic below:

So, now you need to analyse your YU, whether it is in the OLD '9008" or NEW "9008" mode, as the procedure to revive your beloved YU will be different.

2. REVIVING YOUR YU BACK

2.a NEW "Qualcomm HS-USB QDLoader 9008" MODE

If you are that lucky person, who is stuck in the NEW "Qualcomm HS-USB QDLoader 9008" mode, to be honest, the steps to be taken are a lot easier. However, you need somebody in this forum to upload the complete YU's eMMC image for you. To get such image, you could ask your friend to do these steps (root the phone first):

Format your external MicroSD card with "exfat" system file, and the size of this SD card should be morethan 16 GB , which is the size of the whole partition.

Do a full factory reset, meaning wipe your cache, data, and internal storage using either CWM, TWRP, or PhillzTouch.

Insert the SD card to your phone and connect your YU with ADB, type:

adb shell
su
dd if=/dev/block/mmcblk0 of=/storage/sdcard1/backup.img bs=512 count=30535646

The size of the "backup.img" is around 16 GB, However, if you compressed it, it would be around 2 GB.

Now, if you have the backup.img in your hand, you can do these steps:

Download partition tools from the net, I recommend you to use "Minitool Partition Wizard".

Download "HDD Raw Copy Tool", it is a free tool that can copy your "backup.img" to you YU's eMMC sector per sector.

Now connect your phone, remember to UNPLUG YOUR BATTERY FOR FIVE SECS, REPLUG IT, AND CONNECT YOUR YU WITHOUT PRESSING ANY OF ITS BUTTONS.

FROM NOW ON DON'T YOU EVER DISCONNECT THE PHONE FROM YOUR PC OR LAPTOPS.

Open "Minitool" and you will see that your phone has 29 partitions in total, similar to the pic below (this pic was taken from Windows' "Disk Management Tool" just to describe Qualcomm's partitions):

Delete all 29 partitions and click apply (remember don't remove your phone while "Minitool" is completing the process).

If all process finished successfully, open "HDD Raw Copy Tool", and you'll see things similar to this (please note that because my phone is now death, the pics that describe how to use "HDD Raw Copy Tool" was taken from my friend websites using a different type of Qualcomm phone, however the process that needs to be taken is similar):

Choose your "backup.img" and click "Continue >>>>>>".

Put a highlight on "Qualcomm MMC Storage USB Device" and click "Continue >>>>>>".

Check every things and click "START".

However, if you can't find a good fellow member in this forum, who is willing to give you the "backup.img", then I'm afraid you have to do it the hard way, which is forcing your beloved YU to go to the OLD "Qualcomm HS-USB QDLoader 9008" mode. You can do this using "Minitool":

Open "Minitool" again.

Delete all 29 partitions.

Then choose "Create Partition" on the whole "Qualcomm MMC Storage USB Device" (making it one big 16 GB partition) as "Primary Partition" with an "ext4" file system. By the way, DON'T GIVE THE PARTITION A NAME.

Click APPLY.

When "Minitool" completed all the process, disconect your YU from PC or Laptop, UNPLUG YOUR BATTERY FOR FIVE SECS, REPLUG IT, AND CONNECT YOUR YU WITHOUT PRESSING ANY OF ITS BUTTONS.

And I have to greet you, "Welcome, now you are in the OLD 'Qualcomm HS-USB QDLoader 9008' mode".

2.b OLD "Qualcomm HS-USB QDLoader 9008" MODE

Download "QPST 2.7 build 422" from HERE and extract it to an empty folder. It has to be this version of "QPST". Install QPST by double clicking setup.exe, see pic below:

Download 8675_W00.zip attached with this post HERE, and extract it to an empty folder. You will get a folder called "8675_W00", just open it.

Download the official YU's firmware from CyanogenOS website HERE, and extract all the files inside the previous "8675_W00" folder, and now you'll get files like the pic below:

You can run QFil in two ways:

By using QFil UI

Open it from your "Start" menu, see pic below:

Insert all the necessary file needed by "QFil": (1)The programmer will be prog_emmc_firehose_8936.mbn found inside the "8675_W00" folder; (2)Use the rawprogram0.xml found inside the "8675_W00" folder; (3)Use the patch0.xml found inside the "8675_W00" folder; (3)Hit "Download" button. For details, see the pic below:

By using CMD's Command Line (intermediate to advance user

Open "CMD" inside QPST's "bin" folder, which can be found inside QPST install directory, see image for detail:

In the opened CMD, type:

qfil.exe -Mode=1 -COM="enter your comport number setting here" -SEARCHPATH="[COLOR="Red"]enter your complete path to [B]8675_W00[/B] folder[/COLOR]" -Sahara=true;"[COLOR="red"]enter your complete path to the [B]prog_emmc_FireHose_8936.mbn[/B][/COLOR]" -RawProgram=rawprogram0.xml -patch=patch0.xml -AckRawDataEveryNumPackets=TRUE;100 -DeviceTYPE="eMMC" -PlatForm="8x26" -MaxPayloadSizeToTargetInBytes="49152"
[B]Here are example to use it[/B]
qfil.exe -Mode=1 -COM=64 -SEARCHPATH="D:\CBW8600A01_A_T1701" -Sahara=true;"D:\CBW8600A01_A_T1701\prog_emmc_FireHose_8x26.mbn" -RawProgram=rawprogram_unsparse.xml,rawprogram2.xml -patch=patch0,patch2.xml -AckRawDataEveryNumPackets=TRUE;100 -DeviceTYPE="eMMC" -PlatForm="8x26" -MaxPayloadSizeToTargetInBytes="49152"

Or you can play with does commands, here are their descriptions:

If you run "QFil" through command line, you'll get a slightly different user interface, and perhaps by running it through command line we could overcome the "sahara: fail" problem.

If the process you did with "QFil" finished successfully, the phone will reboot by itself.

After the phone rebooted, it will suffer from an endless bootloop. Don't do anything, just disconnect it from your PC, and straight away put your phone into bootloader by pressing "volume-up" button while connecting your phone again to your PC.

Go to "8675_W00" folder again, and run FlashAll(AfterQFil).bat by double clicking it.

Your YU will reboot normally to stock CM.

3. REVIVING YOUR IMEIs

To be honest this is the easiest part of the guide, and here are the steps that need to be taken (REMEMBER TO REMOVE ALL SIM CARDS BEFORE YOU DO THESE STEPS BELOW):

First of all, please root again your just revived YU.

Next, download QXDM 3.13.714 from HERE, extract it and then install (there is no special treatment for "QXDM").

Download "boot.zip" from HERE, and extratct "boot.img" found inside the zip file within our beloved "8675_W00" folder (just replace the old "boot.img").

Connect your phone with your PC, and open ADB from our beloved "8675_W00" folder, and type these command:

adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p20
reboot

After the phone rebooted, open device manager in windows, and you should find that your phone is recognised as "Qualcom HS-USB Diagnostics 903A". Now you can connect to QPST, QXDM, ADB, and MTP at once, each time you phone rebooted.

Now open "QPST Configuration" and see whether your phone is listed there, see pic below:

Open "QXDM Professional", go to "Options", "Communications" and set "Target Port" to your phone.

Back to "QXDM" main window, in the "View" dropdown menu, select "NV Browser", put a check mark on "Dual SIM" option, select "ALL" in "Catagory Filter" dropdown menu, and go to "ID 00550", see pic for details:

Now choose "0" on "Subscription ID" dropdown menu. By the way here, "Subscription ID = 0" means your SIM1 and "Subscription ID = 1" means your SIM2. After choosing "0", click Read, fill your SIM1's IMEI in the Input Fields, and click Write. Do the same with SIM2's IMEI, which is listed as "Subscription ID = 1" .

AND HERE IS HOW YOU PUT YOUR IMEI:

If for instance, your IMEI for SIM1 was: 954091051099226, then the boxes would be in below order:
0x08 [COLOR="red"](The first hex is always 0x08)[/COLOR]
0x9A [COLOR="Red"](The second hex is always ends by "A" or "0x9A")[/COLOR]
0x45
0x90
0x01
0x15
0x90
0x29
0x62

YOUR YU IS OFFICIALLY REVIVE, YEEEE:svetius:

3. PLAYING WITH COOLPAD CPB FILES

I guess Micromax's officials have to admit that YU YUREKA is indeed Coolpad 大神 F2 8675-XXX, and do you know that the chinese word "大神" mean "Great God" in english. Yup, I'm betting a US$100 here that our beloved motto of "YU Play God" comes from the word "大神" a.k.a "Great God". I'm also suspecting that W00 are the right replacement for the missing XXX in Coolpad 大神 F2 8675-XXX, and I finally confirmed my suspection through some hex comparison between the "GPT" (the MBR of an eMMC, I would thank Ekhasti in providing me YU's "GPT.bin") of the two phones, thus making me possible to make all of the above guide. Just for your info, "GPT" resides in sector 0 until before the start sector of NON-HLOS a.k.a the modem partition of our YU's eMMC. If you want to and eager to get YU's GPT partition, all you have to do is just connect your phone with ADB, and type:

adb shell
su
dd if=/dev/block/mmcblk0 of=/sdcard/gpt.bin bs=512 count=65535

And, you'll find your gpt.bin in your phone's internal storage.

Since, Coolpad 大神 F2 8675-W00 has similar GPT, at that time, I believed that I can flash directly coolpad's firmwares into our YU, and guess what, I was right. Although at first the phone experienced endless bootloop, it booted seamlessly after I "oem unlock" the bootloader via Fastboot. So, if somebody in this forum is eager enough to try the CoolUI of Coolpad 大神 F2 8675-W00, you can unpack its CPB's file by following all the steps below:

First, of course you have to download Coolpad 大神 F2 8675-W00's CPB files, and you can get it from Yulong (the name of the company that make Coolpad) official website HERE, the file is the one with 1.6 GB file size

Download my hack edition of Coolpad Download Assistant from HERE, and install it. See all the pics below on how to, as the language is in chinese:

Upon finishing installation, copy the "dProdRes.dll" found inside the "Hacked" folder of "CDA.zip" into Coolpad Download Assistant installation directory (just replace the old "dProdRes.dll", with the hacked version). See pic below:

Run "Coolpad Download Assistant", and do as depicted by pics below:

Wait until the progress bar reach 100%:

Don't close "Coolpad Download Assistant" first, just go to "downfile" folder inside "CDA" installation directory:

Copy "8675_W00" folder inside the folder where you keep adb.exe and fastboot.exe.

Now, to flash all those unpacks file to your, just do the following steps:

Connect your phone to your PC or Laptop in fastboot mode.

Type commands below:

fastboot -i 0x1ebf oem unlock
fastboot -i 0x1ebf erase modem
fastboot -i 0x1ebf erase sbl1
fastboot -i 0x1ebf erase sbl1bak
fastboot -i 0x1ebf erase aboot
fastboot -i 0x1ebf erase abootbak
fastboot -i 0x1ebf erase rpm
fastboot -i 0x1ebf erase rpmbak
fastboot -i 0x1ebf erase tz
fastboot -i 0x1ebf erase tzbak
fastboot -i 0x1ebf erase hyp
fastboot -i 0x1ebf erase hypbak
fastboot -i 0x1ebf erase misc
fastboot -i 0x1ebf erase DDR
fastboot -i 0x1ebf erase fsg
fastboot -i 0x1ebf erase boot
fastboot -i 0x1ebf erase params
fastboot -i 0x1ebf erase panic
fastboot -i 0x1ebf erase persist
fastboot -i 0x1ebf erase recovery
fastboot -i 0x1ebf format system
fastboot -i 0x1ebf format userdata
fastboot -i 0x1ebf format cache
fastboot -i 0x1ebf flash modem /8675_W00/NON-HLOS.bin
fastboot -i 0x1ebf flash sbl1 /8675_W00/sbl1.mbn
fastboot -i 0x1ebf flash sbl1bak /8675_W00/sbl1.mbn
fastboot -i 0x1ebf flash aboot /8675_W00/emmc_appsboot.mbn
fastboot -i 0x1ebf flash abootbak /8675_W00/emmc_appsboot.mbn
fastboot -i 0x1ebf flash rpm /8675_W00/rpm.mbn
fastboot -i 0x1ebf flash rpmbak /8675_W00/rpm.mbn
fastboot -i 0x1ebf flash tz /8675_W00/tz.mbn
fastboot -i 0x1ebf flash tzbak /8675_W00/tz.mbn
fastboot -i 0x1ebf flash hyp /8675_W00/hyp.mbn
fastboot -i 0x1ebf flash hypbak /8675_W00/hyp.mbn
fastboot -i 0x1ebf flash misc /8675_W00/MISC.img
fastboot -i 0x1ebf flash DDR /8675_W00/DDR.bin
fastboot -i 0x1ebf flash fsg /8675_W00/nv.tar.mbn
fastboot -i 0x1ebf flash boot /8675_W00/boot.img
fastboot -i 0x1ebf flash params /8675_W00/param.bin
fastboot -i 0x1ebf flash panic /8675_W00/panic.img
fastboot -i 0x1ebf flash persist /8675_W00/persist.img
fastboot -i 0x1ebf flash recovery /8675_W00/recovery.img
fastboot -i 0x1ebf flash system /8675_W00/system.img
fastboot -i 0x1ebf flash userdata /8675_W00/userdata.img
fastboot -i 0x1ebf flash cache /8675_W00/cache.img
fastboot -i 0x1ebf format userdata
fastboot -i 0x1ebf format cache
fastboot -i 0x1ebf reboot-bootloader
fastboot -i 0x1ebf oem unlock
fastboot -i 0x1ebf reboot

Here I also like to say thanks to:

darkspr1te and his thread for giving some insight about on how Qualcomm chips work.

quakze for supporting this project, and also for spending his precious time testing the guide (although the result is totally negative).

ekhasti for his kindness in giving the whole partition dump of his YU.

Furthermore, if somebody in this forum manage to unbrick her/his YU using this guide, please post a reply on how you did it, what changes or improvisation that you had undertaken, as it would help other members as well. And without your reply, this thread would be dead and has to be closed, because I myself doesn't own any YU anymore.

PS.

I will be very delighted to buy your bricked YU for half price of the new one and also pay the shipping fees, but under several conditions:

Windows could detect it minimum as "QHUSB_BULK"

Does not have stain, scratch, or any deform shape and all hardware should be functional before you bricked it.

Perhaps Rohan, Ayush, or Rahul could help me finding someone that willing to sell their bricked YU.[/QUOTE]

---------- Post added at 08:32 PM ---------- Previous post was at 08:19 PM ----------

Dear sir,

Accidentally I had removed all partitions of my yureka using fastboot mode. Now it shows only red light and Qualcomm 9008 mode under device manager without any mmc disk drive, no vibration at all. Unable to revive using qpst and sdcard method . it shows always sahara failed error plz help