Tuesday 15 March 2016

[Unofficial] Fixing a hardbricked Yuphoria (lettuce) using an external SD card

Requirements:

  • A hardbricked Yuphoria/lettuce (YU5010/YU5010A) - when connected with a PC, it should expose itself as QHUSB_BULK (when no driver is installed)/Qualcomm HS-USB QDLoader 9008 (when appropriate driver is installed).
  • (Optional) A working Yuphoria/lettuce, if you want to create the recovery image yourself.
  • A microSD card - contrary to the popular belief, you don't need a 16 GB or bigger one. 1 GB is sufficient.
  • Win32 Disk Imager (Windows) / dd (*nix).

Information regarding the recovery image:

The partition structure of Yuphoria is as follows:
From the above table, its evident that dumping the first 200 MB should be enough to include all required partitions, but you can opt for a full dump as well.

To dump, we can use any of the following methods:
  • Directly to the PC using ADB.
  • Be rooted, connect to adb shell with root privilege & call dd to dump it in external sdcard.
  • Without being rooted but on unlocked bootloader, boot to (tethered booted/permanently flashed) TWRP, get shell access in TWRP or via adb shell, call dd to dump it in external sdcard.
For dumping the whole eMMC, use:
Code:
dd if=/dev/block/mmcblk0 of=/external_sd/backup.img bs=512 count=30535646
For dumping first 200 MB, use:
Code:
dd if=/dev/block/mmcblk0 of=/external_sd/backup.img bs=1M count=200
You can directly write to the external sdcard as well:
Code:
dd if=/dev/block/mmcblk0 of=of=/dev/block/mmcblk1 bs=1M count=200
Be very careful working with dd! mmcblk0 is the eMMC and mmcblk1 is the external SD card.

Pre-created eMMC dump:

https://drive.google.com/folderview?id=0B9zZIJPXbMsuaGg2SXFHcW5mbzQ&usp=sharing
  • It is created from a bootloader unlocked Yuphoria running cm-12.1-YOG4PAS47N build.
  • The size of the whole dump is ~14.5 GB.
  • After compression, the size is ~998 MB. Its compressed using 7-Zip & split into 10 parts.
  • File hashes (SHA-1) are as follows:

Usage:
  1. Download the eMMC dump created by me or make it yourself.
  2. Use Win32 Disk Imager (Windows) / dd (*nix) to write in a microSD card. I've used a 16 GB Class 10 one.
  3. Insert the sdcard into the hardbricked Yuphoria, insert the battery, press Volume Up key & connect it with PC. It should expose itself as a bootloader/fastboot interface.
  4. Flash official Cyanogen OS - you may need to omit the bootloader unlock/re-lock part.
  5. Profit!
Note:
  • Try at your own risk! If you've any doubt, please contact with the nearest YU service center & ask them for a replacement.
  • Credit goes to the countless number of people, who risked their devices to find a working method to unbrick it (especially the girlfriend of my friend, who was forced to lend her device for the experiment).
  • The process is known to many persons out there - earlier I advised some of the Yureka users to try it out, but didn't get any further feedback. Credit goes to @Ricks for testing the hypothesis on Yureka on his own.
  • Please provide detailed feedback regarding your success/failure story, so that this tutorial can be enhanced more.
 

34 comments:

  1. OMG..!! Finally My Phone Come From Dead..!!

    Was Dead for a Month .. All repair centers raised their hands...

    BUDDY THANKS A LOT... I GREATFULL TO YOU...!!

    I WILL Definitely Post My Feedback..

    Guys.. so this method works perfectly .. just you must have some patience .. as it took 5 hrs to complete the full tutorial...

    guys you will face a stuck issue on CMD while flashing ROM..(AFTER DOING MEMORY CARD STUFF).. when its showing flashing system.... so mine was .. on phone ,, a battry sign was there.. so if (IF) bootloader is flashed in CMD.. u must disconnect your device .. and flash it again... using normal fastboot method..!!

    As fastboot is flashed only system is not.. so fastboot can be opened my pressing vol+ nd power button...

    if u stuck only... as i got stuck for 3 hrs.. thn only i decided to eject my device...

    so its no issue...

    THANKS AGAIN BUDDY. FOR SHARING THIS WITH US...!!!

    This is gotm sachdeva, signing off..

    #gotm

    ReplyDelete
    Replies
    1. Hi bro, i tried its getting detected, actually i downloaded all 10 files to emmc, then i extracted first one and write it to EMMC, then i put it to mobile, it not getting detected, what is the problem, please help me guys...

      Delete
    2. Hi Manjunath.. Can you help me with this procedure

      Delete
    3. hey gautam can you make a video or picture tutorial for same please it will save us because i cant understand the procedure please help bro

      Delete
  2. hey sir
    I downloaded all the eMMC files all 10 of them
    how do I extract them and write in SD card ?

    ReplyDelete
  3. Okay I successfully extracted all the files and got a 14.4 GB .img file when I try to write it on my sd card it says not enough space available
    I think its because my memory card shows 14.4 GB max size?
    Should I now try with another 16GB sd card?

    ReplyDelete
    Replies
    1. I am using win32 Disk Imager

      Delete
    2. how to extract plz i m unable to extract 7zip shows cant open file unexpected end of data

      Delete
    3. 32gb will work

      Delete
  4. plz help unable to extract files with 7zip

    ReplyDelete
  5. showing only battry logo after flash

    ReplyDelete
  6. when I insert micro SD in bricked device its show battery logo but when I flashed the yuphoria zip file using fastboot its again hard brick. now at that time this process repeat but not working please help and the 16 GB card size is 64 mb how to resize and repeat thisethod

    ReplyDelete
  7. Can you tell the prosse of flashing emmc in more details i am confused how to do those flashing using a sd card.

    ReplyDelete
  8. My yuphoria phone is stuck at boot logo
    Whene i wipe cache it shows error
    /cache partitio. Not found.
    Also in twrp its not possible to munt cache partition.
    I suppose cache partitions ia crashed as like memory card.
    But other partion is working.
    Can be recover by above method?
    Is there any solution for my error?



    Waiting responses from great developers and tech enthusiasts....

    ReplyDelete
  9. Please help me out guys how to extract the eMMC file to sd card

    ReplyDelete
  10. succesfully unbricked yuphoria but now memory card used shows write protected and 64mb in size unable to format it plz is there any solution.

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. hushhhh....after a lot of research..got an good ans...at starting my mobile was hardbricked ..when connected to pc it just pops up of unknown device found....but following above stem got my yu yuphoria back............thanks ..........

    ReplyDelete
  13. I uploaded a video on how to fix yuphoria which is hard bricked.I will upload the video link.Please subscribe my channel
    https://www.youtube.com/watch?v=PU4D0NlgUko

    ReplyDelete
  14. bro i followed your procedure but my phone is not even getting detected by pc what should i do?

    ReplyDelete
  15. Bro my yuphoria is not even showing itself as QHSUSB_BULK

    ReplyDelete
  16. my yuphoria has been hardbricked and not unbricked by this process and also when i am connecting it to my pc then my pc wil be lagging until it will be restarted

    ReplyDelete
  17. Really works! great tutorial

    ReplyDelete
  18. i have done all the steps above downloaded all 10 files and extracted by 7 zip and have written in a 16gb sd cardwith win32 disk ... but when i connenct to pc and click on flashall it says error ...help pls...

    ReplyDelete
  19. even i have no problem on conneting to pc

    ReplyDelete
  20. i have done all the steps above downloaded all 10 files and extracted by 7 zip and have written in a 16gb sd cardwith win32 disk ... but when i connenct to pc and click on flashall it says error ...help pls...

    ReplyDelete
  21. Device not detected wen I insert SD card
    And detects as Qualcomm without SD card
    Did any1 solve this issue?

    ReplyDelete
  22. Hi, thanks for the tutorial, it works like a charm. But Since My knowledge regarding these things is not good, I had one question:
    When I insert a different microsd, phone again goes to hard bricked state. Does it mean i cant use any other memory card as it doesn't detect this one.

    ReplyDelete
  23. My computer is not recognising hardbricked yuphoria as qhusb_bulk

    ReplyDelete
  24. the files emmc are corrupted after downloading and extracting using 7zip....plz do help

    ReplyDelete
  25. My YU5010 got hard bricked due to power outage happened during flashing. The phone is completely dead. Tried QFIL / QPST flash methods but ends with "No port available" When I connect phone to PC, HS-QB Bulk identifies the phone but it hangs there. No com port detected. Tried every damn possibility but not succeeded. Also tried image SD card method. This also not helped.
    Phone remain hard bricked ... No success at all!

    ReplyDelete
    Replies
    1. bhai mere sath bhi same hua but twrp show ho raha iska solution nahi mila

      Delete

ad3

ad

ad

Blog Archive