yashsingh1/xdaforums huggingface dataset:
[Desire HD Q&A, Help & Troubleshooting] Gussta:
Sorry, I forgot about your post on page 4.

If it's a problem with eMMC, you can try changing smd cunductors around eMMC especially the one on Vdd, because if you short circuit Vdd conductor the phone go automaticaly in Qdload_mode.

But if eMMC not working at all, you can buy it for 20$ (bigger, your's are 4 gb, for 20$ is 8 Gb), but replacing it?

It's a big question. I have Infrared rework station and I'm not sure if I have that much skills to do it.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
I don't now if someone mentioned this thread or not.

I now that this thread wouldn't help you (for now).

But it's a good thread with lot of work from [MENTION=4372730]E:V:A[/MENTION] and others. It's worth reading. It's about partition and eMMC card.

Unfortunately all posts from E:V:A is for Samsung. Why are all good post's for Samsung, and not for HTC?

http://xdaforums.com/showthread.php?t=1959445
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
I have being able to sign up at https://silver.arm.com/browse.

Whats next?
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Can you find something like RVCT or RVDS. Below is from section of 1.2.4 of http://www.phonesdevelopers.com/1705937/. I am still not fully understand those but looks like RVDS v2.2 (from ARM) and patch 349 (from Qualcomm) is the complier.

Find all the source file and the tools are very difficult way to go, there are many posts complain not able to find them. I think the easier ways are:

- find the right MBN for our phone to put it in SD mode (I think the HEX we have is good)

- get partition info and a full emmc back to load (after phone goes to SD mode)
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Yes we hope HTC DHD info is there, and FYI we opened a thread to look for partition info and emmc backup at http://xdaforums.com/showthread.php?p=50631137, no input yet :(
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Sorry for taking a long while to reply but i cant find the downloads on that site.

Do you have a URL to thier downloads?
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Links from http://blog.csdn.net/zhudongya/article/details/6899070

Please note even we can get RVDS, we still need the patch of it from Qualcomm. And looks like the Qualcomm files are only available for paid vendors. FYI: I am still out of my office for now, I may try more on our current HEX and MBN files. We still need to do our best to get a rooted working DHD.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
I could get a rooted DHD but the problem would be how to upload almost 2gig of data.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
I wanted to say "use google drive" but than i think out that it will lasted for ever.

But in the other hand, if this can help, maybe is better ever than never?!
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Can you retrieve the partition table info and post that first as http://xdaforums.com/showthread.php?p=50631137. I'd like to verify our partition.mbn is same as the good DHD. Also, if we can getting the partition info correctly, we may backup the good DHD by each partition (instead of the whole emmc).

7zip can be used to split to multiple compressed files. Thanks!
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
mkappsboot.py (create appsboot.mbn, from Chromium OS):

https://chromium.googlesource.com/chromiumos/third_party/u-boot-next/+/0.11.257.B/tools/qualcomm/mkappsboot.py

Create the appsboot.mbn file using the new qualcomm tool. (issue1520018)

chromium / chromiumos/third_party/u-boot-next / 0.11.257.B / . / tools / qualcomm / mkappsboot.py
blob: 8f10ea4bce1186940cba2324eda3f58e1571f8d2 [file history] [blame]
#!/usr/bin/python

#Copyright (c) 2010, Code Aurora Forum. All rights reserved.

#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License version 2 and
#only version 2 as published by the Free Software Foundation.

#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#02110-1301, USA.

#usage: ./mkappsboot.py u-boot.bin appsboot.mbn

import sys
import struct

# read the bin file
bin = open(sys.argv[1], "rb")
loader = bin.read()
bin.close()

# construct the mbn header
size = len(loader)
base = int(sys.argv[3],16)
header = struct.pack("10I",
0x00000005, # appsbl
0x00000003, # part version
0x00000000,
base,
size,
size,
base + size,
0x00000000,
base + size,
0x00000000,
)

# write the mbn file with the header and code
mbn = open(sys.argv[2], "wb+")
mbn.seek(0)
mbn.truncate()
mbn.write(header)
mbn.write(loader)
mbn.close()
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
does it work????
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Don't know since it is to add a header to BIN file (e.g. backup file by dd command for one partition) to generate MBN file. The header looks small and simple as from the code, but I didn't find any doc or spec regarding it (the MBN header). That post is just for our info/ref, and I will double check the MBN files we found with that header info.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Alryt
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Files for 8x25(karbonn a9+) from this post: http://forum.gsmhosting.com/vbb/f824/karbonn-a9-dead-qualcomm-hs-usb-qdloader-9008-how-fix-1740061/#post9962431

12-19-2013, 10:00	#12 (permalink)
umesh gaba
Product Manager

Join Date: Aug 2012
Location: jalandhar,india
Posts: 4,034
Member: 1792140
Status: Online
Sonork: 100.1618782;gaba
Thanks Meter: 4,644
QPST 2.7 build 399QPST-2.7.399

BP Firmware BP_JB_Firmware

drivers ICS_pcdrivers

drivers JB_pcdrivers

Install QPST
1. Extract QPST-2.7.399.rar. Run SETUP.EXE
2. Run SETUP.EXE, press INSTALL when it prmpt to insall additional Visual C++ runtime libraries. Follow the defaults, press NEXT until it is finished with the install.

Install drivers
1. Connect deadboot flare to PC / Laptop.
2. Go to device manager, expand PORTS (COM & LPT). Check if there is an item called Qualcomm HSUSB QDLOADER 9008. If the item is there, you are done with driver install. If it does not exist, proceed to step3.
3. If there is no item under PORTS (COM & LPT), check device manager under OTHER DEVICES > Unknown Device
4. Double click UNKNOWN DEVICE > UPDATE DRIVER > BROWSE MY COMPUTER > browse to the folder where you saved extracted the ICS / JB drivers. It will install the driver, if it prompts for unsigned drivers, press INSTALL ANYWAY.
5. It should now be listed under COM PORTS > Qualcomm HSUSB QDLOADER 9008.

Run QPST and reprogram EMMC (this is where the magic begins)
If you are on Win7, make sure you run it under compatibility XP Sp3 and RUN AS ADMINISTRATOR

1. Run EMMC SOFTWARE DOWNLOAD.
2. Press BROWSE, it will detect your phone. Look for the PHONE TAB that says DOWNLOAD. Press OK.
3. Put check mark on PROGRAM BOOTLOADERS, PROGRAM MMC DEVICE, TRUSTED.
4. Under FLASH PROGRAMMER FILENAME, enter MPRG8X25.hex
5. Under BOOT IMAGE, enter 8X25_msimage.mbn
6. Press LOAD XML DEF > navigate to your extracted JB firmware > select rawprogram0 > press OPEN.
7. Press LOAD PATCH DEF > navigate to your extracted JB firmware > select patch0 > press OPEN
8. PRESS DOWNLOAD
9. An warning message may appear, TIME OUT WAITING etc etc or COOKIE NOT RECEIVED. If the error is TIME OUT WAITING, press OK and then press SWITCH DEVICE TO DLOAD. Check the flare, it will show RESET FOR ENTRY QPST.
10. Exit EMMC SOFTWARE DOWNLOAD. Proceed to flash Jelly Bean BP Firmware and then flash Jelly Bean img dump.
11. IF ERROR IS COOKIE NOT RECEIVED, sorry it is still bricked.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
So did it work on our DHD?
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Not test yet since it is not for DHD. Currently I am using HexEditor to check the MBN files we have. Looks only few of the MBN files have the header structure as the post above.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Ookay
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
I changed the fixdhd.pl tool as:

1. skip sending OpenMulti and other commands before writing MBN (using 0x07 command)

2. retry 10 times to load same MNB file

3. try to download multiple MBN file

My first test shows that the first 1K chunk is loaded to phone successfully, but retry the same file or other files are all failed. This looks like the emmc is bad since the first writing is good, but later writing to the same address with same chunk of data fails.

First attempt:

# ./fixdhd.pl -fixdhd
fixdhd.pl version 20140410.
...
..Good magic response from DHD
Load file 7x30_msimage_1.mbn? y
Loading 7x30_msimage_1.mbn ...
Writing 1024 bytes to 0x00000000; 2305064 bytes left. <----- no error with first chunk
.Writing 1024 bytes to 0x00000400; 2304040 bytes left. <---- 2nd chunk
..Invalid Response: 0e 57 72 69 74 65 20 75 6e 73 75 63 63 65 73 73 66 75 6c 0a <--- failed with 2nd chunk
Write unsuccessful

Writing 1024 bytes to 0x00000000; 2305064 bytes left.
..Invalid Response: 0d 07 00 00 00 57 72 69 74 65 20 75 6e 73 75 63 63 65 73 73 66 75 6c
Write unsuccessful
...

Re-run the tool:

# ./fixdhd.pl -fixdhd
fixdhd.pl version 20140410.
...
..Good magic response from DHD
Load file 7x30_msimage_1.mbn? y
Loading 7x30_msimage_1.mbn ...
Writing 1024 bytes to 0x00000000; 2305064 bytes left.
..Invalid Response: 0e 57 72 69 74 65 20 75 6e 73 75 63 63 65 73 73 66 75 6c 0a <------ failed with first chunk
Write unsuccessful
[Desire HD Q&A, Help & Troubleshooting] Gussta:
Did you try again after pulling out battery and connecting phone again?
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
My DHD has battery in and USB off for several days, then I got first writing block successfully as I posted. After a failure, I have to pull the battery to make the phone reset, otherwise it doesn't talk to the tool.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Sorry for not reply in long while. As you said, its the emmc fault.

I sent it for JTAG and the guy said he couldnt flash it because the device kept getting stuck in the process.

He suggested the device is dead.

So i got a DHD motherboard from a friend and installed it and it works now.

I think maybe you should do the same.

If you would remember, in one of the posts i said i suspected the emmc.

Reason being when i try to flash the mbn file using qpst software download, it successfully sends the HEX file and gets stuck at sending the mbn saying

setting up emmc device

It always got stuck there. Thats when i started giving up.

Maybe i might be wrong.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
What did you do with your old MB? Throw it in the garbage or?
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Its lying around.

Allmost threw it away but i decided to keep it and what do u know... The SDCARD holder begun to unmount the SDCARD by itself so i swapped the old SDCARD and SIM holder in and boom,problem solved.
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
So JTAG confirms that your DHD is emmc issue. Glad you can get another MB to fix it. Do a full backup if you can :).
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
For a over 3 years old phone, looks there are more hw issue than sw.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
Guess you are right.

From what i heard, The DHD has the same Good Emmc and Bad Emmc just like the MYTOUCH 4G.

It also has the good and bad screen.

The MYTOUCH 4G which has the bad emmc normally give up after a number of flashes. You could check the MYTOUCH 4G forums and see.

But one thing with the MYTOUCH 4G is that, when the emmc gets f*cked up, it doesnt go into QHSUSB-DLOAD, its data,cache and other partitions gets curropted.

When this happens, the rom wont boot neither can you flash any from recovery.

When you try flashing something from recovery, you get an error like..

Recovery failed to mount system or data or cache.

Hope you get me.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
This weekend my friend will bring me a dhd with bad eMMC.

I will try to bypass it and install ROM to SD card.
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Are you going to touch the hw to make the phoen boot from SD. I think you at least need the SBL, TZ, HBOOT and recovery on eMMC.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
This is phone what i was talking about in post #80 and explain a litle bit more of his problem in post #101.

This phone isn't in QHSUSB_DLOAD mode and you can turn it on, but it's in the same position.

You can't use it.

Yes i will try to touch the hw to make the phoen boot from SD.

I was reading somewhere that Qualcomm SoC first try to find next "boot" from eMMC.

If they can't find it than try it from sd card.

And if neithere there can find it, than goes to QHSUSB_DLOAD mode.

Maybe I can't do it like I would like to, but, what a hell.

I can't lose anything.
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Do you mean the PBL(ROM) will try to read SBL from SD? If this is true then how about other partition like TZ.

I don't know if it is possible that physically switch memory address of the emmc and sd. If this is doable, then you are replacing emmc by the SD and everyone should be happy then.

As you mentioned in post #101 on page 11, I think the PBL still needs the SBL and some other partitions on emmc, and if it can run to either hboot or recovery then other parts can be on SD.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
I'm hoping that PBL will try to read SBL from SD card.

What do you mean: "How about other partition like TZ"?

Why and where do you need physically switch memory address of the emmc and sd?

This is my perception if I read it right about Qualcomm SoC and what was I talking about reading eMMC or SD:

When you press power button qualcomm first read internal PBL, PBL looking for SBL on emmc, if he find it than he load it, SBL load OSBL (hboot), than hboot loading rest.... bla,bla,bla...... (I was fast forwarding and skip some thing like, every boot loader first check if he can find next boot loader, than he check if this next boot is correct and if it is, than he load it, and so on).

If PBL can't find SBL on eMMC (can't find eMMC?), than he try to find SBL on SD, if he find it than he load it, SBL load hboot and so on.

When phone goes in the direction that he start to load ROM from SD, he load it to the end.

If you have in recovery installed dual boot, hboot load rest of the ROM either from eMMC or SD.

Because this phone don't have it, and I can't install it, I have to skip loading partitions from eMMC in the first place.

What MBN and HEX files did you try to push on mobile phone and where can I find it?

I forgot, can I find all files that I will maybe need for doing this, in this therad or?
[Desire HD Q&A, Help & Troubleshooting] Gussta:
DHD arrived.

Now I have to figure out how to bypass eMMC

And somehow obtain micro SD card.

One other thing. I was reading article: http://android-revolution-hd.blogspot.com/2013/06/do-we-really-need-s-off.html

And below picture of HTC connected to laptop i found something that change a little my perspective about boot process.

If this is true amd you have blank eMMC or SD, it's not enough just to flash partition table and boot loaders, that you can go in hboot and flash rest. Obviously it's also necessary to flash radio partition (image) to.

And just two things:

First from: 80-N2967-1_C_eMMC_Software_Download_Tool.pdf

page 22 (23)

"

Question

[FONT=Times New Roman,Times New Roman][FONT=Times New Roman,Times New Roman]What is the purpose of emmcbld7x30_SD_SDC4.hex? Do I require it for loading an image? [/FONT][/FONT]

Answer

[FONT=Times New Roman,Times New Roman][FONT=Times New Roman,Times New Roman]The emmcbld7x30_SD_SDC4.hex, emmcbld7x30_eMMC_SDC2.hex, and 7x30_msimage.mbn files are required only when you program a blank card. These are emergency download programmers. [/FONT][/FONT]

"

Second:

I found that when DHD is turned off and connected to pc, when I just press volume down on DHD, pc recognize it like android portable device with dedicated drive letter in device manager. In computer explorer I can see drive letter but I can't open it. It get error like device is not connected.

Sorry if I wrote something that you already now.
[Desire HD Q&A, Help & Troubleshooting] mickeyasamoah:
i found someone with the problem i had with my DHD, but he is still able to access bootloader but all other partitions are not accessible.

I directed him here.
[Desire HD Q&A, Help & Troubleshooting] tjnapster555:
everyone stop replying here is this thread is dead

mean my htc desire HD not going to see the light again :crying::crying:
[Desire HD Q&A, Help & Troubleshooting] Gussta:
I think not yet.

Yestrday I found power supply test points for eMMC (Vcc and VccQ).

Vcc is the power supply line for internal flash memory (NAND).

VccQ is the power supply line for host interface (controler).

Standard voltage range:

Core voltage (Vcc): 2.7-3.6V

Host voltage (VccQ), either: 1.7-1.95V or 2.7-3.6V

Desire HD use the same line to power supply SoC (CPU), RAM, eMMC host interface + some other chips.

Qualcomm SoC power supply is 1.8V = VccQ is also 1.8V.

My DHD test voltages:

Vcc: 1.8V Good

VccQ: 2.8V Good

I was thinking that maybe some power supply line (Vcc or VccQ) is not good (wrong voltages) and maybe because of that emmc not working. But now I eliminate that.

I'm still trying to find out how to bypass eMMC and install ROM on microSD card.

I can replace eMMC because I have equipment, but that will not help other people.
[Desire HD Q&A, Help & Troubleshooting] Gussta:
I manage to deactivate eMMC card. I schortcut Vdd capacitor.

Now phone is in "Qualcomm HS-USB QDLoader 9008" mode (that is said in control panel after driver installation).

Because i'm more familiar with Hardware than software I need Your's help guys.

What formation of microSD?

What files for QPST emmc downolad software?

Can I maybe do something directly to microSD (format it, push files, image) from PC (Windows or Linux)?

I appreciate any help.
[Desire HD Q&A, Help & Troubleshooting] fairsimple:
Sorry guys for missing all the discussions for almost a month. Gmail put one of the notification email to spam folder and xda didn't send more notification after that since I didn't check the new post :(

I don't think this true. The PBL in ROM is very small so without loading one or multiple SBL I don't think it can amount SD. That is why I think if you can switch memory addresses of emmc and sd, then the PBL can just loading sd as emmc (if sd has emmc memory address).

Don't give up before you confirm that your emmc is broken. I suggest you find a friend which has a linux box (or you may learn it), try the script in post post 161 and let us know what is your output.

As my understanding DHD emmc is formatted as FAT32, but I am not sure about the sizes of each partition. We requested partition info in this post. You may following the links there if you can find a working DHD (rooted?).

If PBL really can load SBL and others from SD then I think you can partition/format/copy on a PC. If you can find a rooted DHD, you may just clone the emmc from working DHD to it (which will copy the IMEI number and other user data if the user doesn't mind).
[Galaxy S 4 Q&A, Help & Troubleshooting] lovecustomroms:
Hi all as the title suggests i have soft bricked my UK Samsung S4. i tried to install the google addition official stock rom and now it

is stuck on the logo screen stupidly i didn't create a back up (which i really regret now i should not of let my excitement get to me)

i can access recovery but do not understand why this failed?

Steps i Followed:

1.Installed teamwin recovery

2. Wiped my phones partitions

3. Transferred the official file I9505_-_Official_Google_Edition_4.4.2_by_Jamal2367_Final-R2 to my Sd card

4. Clicked install

5. Phone says installed successful reboots
[Galaxy S 4 Q&A, Help & Troubleshooting] Repulsa:
Here you go mate http://xdaforums.com/showthread.php?t=2265477 Have a nice day.
[Galaxy S 4 Q&A, Help & Troubleshooting] lovecustomroms:
Thanks this will help so much. Can you see anything i did wrong?
[Galaxy S 4 Q&A, Help & Troubleshooting] Repulsa:
Everything seems okey but maybe you should do a full wipe (Totally wipe)before flashing jamal rom mate? maybe thats why its stuck on boot. or you can use this Super Wipe to do the job for you http://xdaforums.com/showthread.php?t=2379104

EDIT:
[Galaxy S 4 Q&A, Help & Troubleshooting] lovecustomroms:
Yes i cleared all partitions and caches. An on top of that i did a factory wipe. I will try this supe wipe to see if it makes a difference
[HTC One X] SteakBreak:
Hi mates,

I´ve never rooted or unlocked my htc one x but now im trying and when i follow all the steps when i execute the command : fastboot flash unlocktoken Unlock_code.bin i only het:

sending 'unlocktoken' (0 KB)...

OKAY [ 0.120s]

writing 'unlocktoken'...

(bootloader) unlock token check successfully

OKAY [ 0.223s]

finished. total time: 0.343s

Nothing happens, i followed all the steps correctly, or i think so !

Can you help me on this?

Thanks
[HTC One X] n1kos:
Did you reboot in bootloader and it doesn't say unlocked on the top?

Sent from my HTC One X
[HTC One X] Mr Hofs:
Get a new one at the HTC site and try again.
[HTC One X] SteakBreak:
Yes, its says unlocked.
[HTC One X] Mr Hofs:
I don't see the problem then ! :rolleyes:
[HTC One X] n1kos:
So, it worked.

Sent from my HTC One X
[HTC One X] SteakBreak:
But i cant finish the process and then i cant root my phone. I received my unlock code binary file, but with that command it should appear the unlock bootloader screen, but it doesnt.

But if its unlocked, how can i root my phone now?
[HTC One X] Mr Hofs:
1: Flash a custom recovery

2: MAKE A NANDROID BACKUP !!!!!

3: install superuser.zip via recovery
[Android Apps and Games] champion83:
Let the dragon mania begin! If you are one of those people who like comical and charming characters, if you like dragons, or you are just a jigsaw puzzle enthusiast then Jigsaw Puzzles & Dragons Game is made for you. So forget about your age and start this jigsaw puzzle and dragon adventure now!

Jigsaw Puzzles & Dragons Game has a very interesting menu - you activate it by pulling the dragon’s tail that is hanging from the ceiling! How fun is that? Here you can select one out of 20 possible languages, you can turn music on or off, and you can choose the level of difficulty – easy, medium or hard. But Jigsaw Puzzles & Dragons Game offers you a lot more.

Go through the gallery, pick the dragon that you like the most and that painting becomes your jigsaw puzzle. Once you finish playing Jigsaw Puzzles & Dragons Game, you can share the picture via Facebook, Bluetooth, or send it as an e-card to your friends or family.

Download for Free on Google Play under the name: Jigsaw Puzzles & Dragons Game
[Android Apps and Games] champion83:
Special bonus today with App of the Day.

Download for Free the app "Jigsaw Puzzles & Dragons Game"
[PDA2, XDA IIi, 2020i Software Upgrading] mattk:
Hello

I downloaded and installed Alpine_Ext-1.11.162_Radio-1.04_O2stuffstripped_Camera_Fixed.rar but when I view my version, there is no entry for extended rom, it's just blank (this is in start_settings_system tab_device information). I'm a bit confused (easily done, admittedly!) Also, since doing this upgrade, it has started eating the battery - by that I mean, leave it off overnight, and it drops from 100% to around 50% - this took a couple of days at least before I upgraded. I've read that the power consumption probel is symptomatic of ext rom version 1.11.169 and that the fix is to roll back to 1.11.162, so this adds to my confusion.

Answers on a postcard to :wink:
[PDA2, XDA IIi, 2020i Software Upgrading] pug:
The simple answer is to download again, and to install again. The extended ROM sounds like it became corrupt.