yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note I717] darkspr1te:
Backup.bat was only for SHV-Exxx models, as stated but manual backups can be made depending on a few variables.

1. You need root

2. you need to know what type of partition you have

3. device needs to be working

here is a example to help you understand a standard dos(MBR/EBR) style partition setup.

Device	Boot	Start	End	Blocks	Id	System	Partiton Name	File to restore from backup	file to restore from firmware
/dev/sdc1	1	204800	102400	c	W95 FAT32 (LBA)
/dev/sdc2	*	204801	205800	500	4d	QNX4.x	SBL1	sbl1.mbn
/dev/sdc3	205801	208800	1500	51	OnTrack DM6 Aux1	SBL2	sbl2.mbn
/dev/sdc4	208801	208801	0	5	Extended	EXT	ebr.mbn
/dev/sdc5	212992	213991	500	47	Unknown	RPM	rpm.mbn
/dev/sdc6	221184	225279	2048	45	Unknown	SBL3	sbl3.mbn
/dev/sdc7	229376	234375	2500	4c	Unknown	ABOOT	aboot.mbn
/dev/sdc8	237568	258047	10240	48	Unknown	BOOT	boot.img
/dev/sdc9	262144	263143	500	46	Unknown	TZ	tz.mbn
/dev/sdc10	270336	271335	500	5d	Unknown	SSD
/dev/sdc11	278528	279527	500	91	Unknown	PIT	Shv-e160l.pit
/dev/sdc12	286720	307199	10240	93	Amoeba	PARAM	param.lfs

Understanding the limits and structure of the partition table is important, look at the above example, the PBR or primary boot record starts at sector 0 to sector 1, this contains the first four partition locations, sdc1-4 but is not shown as a location.

now in understanding partition tables you need to know that standard dos based tables had a limit of four partitions, so the fourth partition acts as a location to store the next partition , in this case sdc4 although is listed as a partition (EBR or extended boot record) it in fact just a pointer to the next partition, that in turn points to the next location.

so if i wanted to backup that data in linux i would

dd if=/dev/sdc of=/sdcard/mbr size=1

this copies only the first sector of the drive sdc (not sdc1 but we are looking at the entire drive as a whole) , in turn to copy the the second partition section i would start at 208801 so the code would change to

dd if=/dev/sdc of=/sdcard/ebr start=208801 size=1

so i now have two files, mbr and ebr, if i combine the two files i get partition0.bin

PIT files is so far only been a samsung thing, many theories as to why it's there instead of having a preset lookup table in the odin software , but thats another subject.

Now i have not covered GPT tables which has become more common in android devices , thats a lot more complicated, you best google that.

BTW, all of this is already documented, dissected in my shv-e160 debrick thread for those that want to read it. i post all my theories and research there, not a steep learning curve really once you understand partition tables and how differing partition programs 'see' the table and translate it to the user.

i also compiled a group of partition table programs like sfdisk etc for arm(runs in android) devices which can be used to read and backup the partition table, and for use with linux tools once you get the device in sdcard mode to repair the device.

darkspr1te
[AT&T Samsung Galaxy Note I717] mickeyasamoah:
Thanks for your reply.

I am ready to give it a try.

I would be happy if you could give me a link to the threads which points out how the back up is done.

There are currently 3 users who have the QHSUSB_DLOAD problem with thier DHD.

Here is our Thread, you could drop by sometime and see how we are doing.

Thanks once again.
[AT&T Samsung Galaxy Note I717] Dawberg:
Unbrick

So, i have an a files for SHV E160K, can you make unbrick tool to me and not to me only )

I've tried to unbrock him, but nothing helps.
[AT&T Samsung Galaxy Note I717] darkspr1te:
the device is not booting to sd-card mode, the PID is 9008, when in sd card mode it's 2025, you need to test you device is working by using the qdload.pl program directly, already documented in prior posts. the device need a correct .hex file(arm sd-card loader, first thing loaded to the device) ,you didnt post cpu type and info, i dont have time to follow every link, sorry.
[AT&T Samsung Galaxy Note I717] darkspr1te:
Is your CPU signed? if it is then it wont execute the uploaded hex file, this is shown by the dmesg log deiplaying the device again as a new USB ID but same :9008 pid, basicly if the code is unsigned it resets to PBL of the cpu, if the code executes the it will allow uploading of the sd-card mode mbn, also needs to be sign if the hex is signed.

darkspr1te
[AT&T Samsung Galaxy Note I717] Surge1223:
For everyone with cookie issues, heres a little more info on whats going on. It looks like the the signed flash programmer on 8960 devices etc is build/carrier specific and must be present on all devices of the same build (i.e, all Verizon Galaxy S4 SCH-1545 devices likely use the same 8064 or 8960 hex) so with more research and/or knowledge someone might be able to extract the info from their device and edit a generic flash programmer to work.
[AT&T Samsung Galaxy Note I717] samishams:
how to enable edge on shv-e160l 4.1.2 in pakistan

how to enable edge on shv-e160l 4.1.2 in pakistan please help
[AT&T Samsung Galaxy Note I717] totore98:
I have SHV-E160K

I have SHV-E160K. I ran BrixFix, but I don't get in my phone's recovery mode.

please help me
[AT&T Samsung Galaxy Note I717] totore98:
i have a solution

1. Edit brixfix.sh and replace "160L" to "160K"

2. Copy all files from SHV-E160K-16GB to SHV-E160L-16GB

3. Run brixfix.sh , run once more and reboot device.

4. Go into the download mode and flash pure ROM file. ex) HOME_E160K.UI24.2036_........tar

Good luck~
[AT&T Samsung Galaxy Note I717] darkspr1te:
from what i saw, i was able to use any 8660 hex,mbn even ones not ment for my device, i used a 8660 file ment for a pan 850 and my original mbn came from a shv-e120 (and i experimented with many others found on the net) , my device only having the same 8660 cpu but different flash memory from both the donors system , from the behavior i've seen the device receives the hex, the next step is it's checked for the signature IF it's set in the qfuse, at this point the pbl will either reboot or execute if it's pass's signing , this can be seen in linux as the device re-registers, in windows it does not show(bong sound) for some reason. extraction of the signature would be impossible, it's in a area of memory only available to the cryptic system and the cryptic system only confirms or deny's if the signature is correct.

back to boot process/QDLOAD , when it says the cooke it not present I am guessing it means we have not uploaded anything which would be true if it failed the signature check and rebooted back to pbl. I had cookie errors when using hex files not ment for my cpu, ie 7xx0 but only the 400k loaders, i did have some sucess with some mini loaders i found , around 140k, but that only gave me a expanded QDLOAD, i still could not upload a mbn at this point in time and unlike the 400k hex files my device would never charge on the mini loaders, the 400k hex file did charge my device.

some users have also had success using a motorola hex on htc device, it even comes up as motorola fastboot. fastboot is a miniloader just like the hex file, except it's stored on flash and not just in ram like the hex file.

darkspr1te
[AT&T Samsung Galaxy Note I717] Surge1223:
But thats all for secboot2 correct? Even though 8660 and 8960 only differ in modem data I believe all devices starting with 8960 use secboot3, which has to have the flash programmer signed (oem signed actually) From some recent documentation I read (Ill link it when I can find it again) I read about how they changed how the device cookie was handled in secboot3. Also this link makes me believe that the oem string id that would need to be present in a flash programmer for devices using secboot3 could be extracted. http://blog.csdn.net/benjaminwan/article/details/8854437

Ive been experimenting using msp.py and creating a singleimage.bin containing just sbl1/sbl2/sbl3/rpm/tz/aboot/boot.img wrote to an sdcard to boot..
[AT&T Samsung Galaxy Note I717] larryl79:
I need same files for Asus Padfone A66 16GB
[AT&T Samsung Galaxy Note I717] larryl79:
died link

can you uplad this file again? this link is died....
[AT&T Samsung Galaxy Note I717] sselesnes:
HTC Desire V (t328w) MSM7227A

Got ven_05C6&dev_9008. After reading this thread, I realized that files for 7227 may not be appropriate from 8660/9600. Also found a topic where ZTE Blade 3 (MSM7227) flasher comes with similar mbm files. whether it is possible use them somehow in my case?

Checking For Qualcomm Device

Device Found !!!

Error: device found in QDLOAD Mode, switching to QDLOAD

see qdload.pl By JC Sullins , http://github.com/jcsullins/qdloader

Expected VID/PID of 05c6:9025, Instead I get :-

Bus 001 Device 008: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Do you wish to Upload HEX & msimage.mbn now? Warning Dangerous

y

Executing qdload

Requesting SoftwareVersion...

Version: PBL_DownloaderVER2.0

Requesting Params...

Params: 06 01 08 00 90 00 00

Uploading file 'MPRG8660.bin' to QDLOAD...

Writing 1024 bytes to 0x2a000000; 164996 bytes left.

Invalid Response: 03 00 02

uploadFile failed.

Thanx for this thread.
[AT&T Samsung Galaxy Note I717] gigilie:
mk2 i545

anyone with an mk2 i545 have any luck using this tool pack if so can u please post a link to the files u used
[AT&T Samsung Galaxy Note I717] usr3010:
Unbrick z5s

I'm the owner of a bricked ZTE Nubia Z5S (MSM8974)... Tried every keys' combination but nothing happens ... Bricked ... I've downloaded an unbricking document + files from Nubia's WEB where they are able to upload a small firmware and bootloader to the bricked phone while in QDL Mode using QPST, and the right HEX and mbn files, to enable SDCard mode and copy a new ROM to SD and then reboot into recovery and flash that ROM to revive the phone ...

What happens is that in the screenshots the show the Z5S in USB Diagnostics Mode (in windows devices manager) and with QPST build 378 they are able to do it ... The problem is that mine, is only seen as Qualcomm HS-USB QDLoader 9008 (Port xx) and need QPST build 399 or above to be able to flash those files. Otherwise, when connecting the port to QPST it says 'NO PHONE' ... With build 399, when assigning the port to QPST, the phone is seen as Q/QCP-XXX (Sahara Download) as seems to work fine ...

(So ... Does it mean that depending on how strong is the brick the phone boots into one mode or another ?)

The Problem ... When using emmcswdownload to flash both files, it asks for the Sahara XML file needed to load the flash programmer ... And

this is why I'm asking for help ... Does anyone know about the Sahara protocol XML file or the specific one for MSM8974 ? I've been reading your posts and find that you have a huge skill in unbricking phones, so perhaps anyone could have heard about the sahara protocol ... o even used it ..

Can anyone give me a hand on this subject ?

Thanks in advance ...
[AT&T Samsung Galaxy Note I717] usmanishfaq2009:
i have the pit file for shv e120l but fisrt u provide me bootloader file
[AT&T Samsung Galaxy Note I717] crow896:
Help needed!

Hello!

Sorry for writing here, but i don't know what else i can do.

I have a zte blade 3(msm7227A) phone bricked to qdloader, and i have the NPRG7627A.hex and the 7627A_msimage.mbn file. Qpst emmcsoftwaredownload write cookie error, and qpst software download write "Could not start flash proggramer in RAM", so i tried this brickfix methode.I converted my .hex with hex2bin to .bin. I modified brickfix.sh to choose my files, and also modified the qdload.pl to write to the correct address what qpst log showed me.

The result is the same:

"Executing qdload

Requesting SoftwareVersion...

Version: PBL_DownloaderVER2.0

Requesting Params...

Params: 06 01 08 00 90 00 00

Uploading file 'NPRG7627A.bin' to QDLOAD...

Writing 1024 bytes to 0x80013000; 169864 bytes left.

Writing 1024 bytes to 0x80013400; 168840 bytes left.

...(cuted to make my reply shorter...)

Writing 1024 bytes to 0x8003c400; 904 bytes left.

Writing 904 bytes to 0x8003c800; 0 bytes left.

Executing file...

Failed to get response.

execute failed"

What is the problem? Is my RAM dead?

Some things that u should know:

1. I bricked my phone with a chinese DFU tool when i flashed a full rom from one of my phones chinese version(V889D).

2. That rom flashed the Bootloader, the Partition table, all partitions...

3. I don't have full backup from all partitions, but i can get...

4. I don't know the partition layout, cause parted shows some error and fdisk -p just shows the partitions type, and in the /dev/block/mmcblk0 directory there is no by-name like directory

5. I don't have jtag box, but i found the capacitor which i have to ground to force show qdloader port...

6. I asked questions in the (Q&A) topic, but nobody answered, and also asked on modaco...

Please forgive me that i posted here and please help me somehow...
[AT&T Samsung Galaxy Note I717] ananjaser1211:
Lost the files !

I am really Sorry :/

I lost them when my HDD died

I can,t get them back because i don,t have the phone
[AT&T Samsung Galaxy Note I717] larryl79:
I'm very sad
[AT&T Samsung Galaxy Note I717] crow896:
Hello!

Try to translate this with google...

I found it when i was searching for a method to debrick my zte blade 3.
[AT&T Samsung Galaxy Note I717] usr3010:
Unbrick Z5S

Thanks but I'd already seen that ... The problem is that mine is only recognised as QDL Mode (Sahara Protocol) and not as Diagnostics (as they say there), so I think mine is even in harder brick state than the one commented in that blog ... There's a chance, but I'm still looking for the sahara.xml protocol specs to use with QPST ... I know someone will post that file sooner or later, but until then, I'll have to be patient ... And sure I'm not the only one with his phone in such a state, so soon someone of us we'll find the solution ...

Thanks again for your post ...
[AT&T Samsung Galaxy Note I717] bitdomo:
Hi! an example for sahara xml file. I found it miui mi3 wcdma version and lenovo vibe z k910

<?xml version="1.0" encoding="utf-8"?>
<sahara_config>
<images>
<image image_id="13" image_path="MPRG8974.mbn" programmer="true" />
</images>
</sahara_config>

Tapatalk-kal küldve az én Nexus 5-el
[AT&T Samsung Galaxy Note I717] usr3010:
Unbrick z5s

Thank you very much ...

I've tried with this sahara.xml:

<?xml version="1.0" encoding="utf-8"?>

<sahara_config>

<images>

<image image_id="13" image_path="MPRG8974.hex" programmer="true" />

</images>

</sahara_config>

and QPST says, after pressing the download button, about 30 seconds later:

TimeOut waiting for device ...

Device wait found 0 0

and does nothing at all ...

I've set the XML file to aim to the programmer ... For I think the xml file is just to config the flash programmer ...

Or am I missing anything ?

Can anyone experienced on QPST say something else on this subject ?

This is my first time using QPST and I'm lost ...

Thanks again Bitdomo ...
[AT&T Samsung Galaxy Note I717] bitdomo:
Use .mbn file instead of .hex, in QPST at the Flash programmer section write MPRG8974.mbn instead of .hex.

In my attachement there are 3 .mbn files one for lenovo vibe z k910, one for xiaomi mi3 wcdma version and the last one is the MPRG8974.hex converted to actual code with hex2bin app.

Please report back. I am experiencing the same "Device wait found 0 0" problem for nexus 5. I don't know is it because the MPRG8974.hex or mbn files are unique for each and every devices or the sahara config file I have found is not really working config file.
[AT&T Samsung Galaxy Note I717] usr3010:
Unbrick z5s

Same results ... with your file already converted to binary or with my .hex file which is supposed to be converted into binary by QPST before being sent to the device ...

I've tried 2 times ... The 1st one using:

<image image_id="13" image_path="MPRG8974.hex" programmer="true" />

in the xml file, and the 2nd using:

<image image_id="13" image_path="MPRG8974.mbn" programmer="true" />

and QPST keeps saying the same, and both using the config u can see in the attached image ....

But I think it has more to do with the phone not being found in a given state or something ...

What makes me suspect is what QPST says about port 10000, and not port 10 as expected ... Is it that QPST adds extra info (the trailing 000)

when reporting on screen the actions taking place ?

Thanks for your help ...

We'll keep trying ...
[AT&T Samsung Galaxy Note I717] usr3010:
Unbrick z5s

I've tried a second time, and QPST has ended up saying the same, but in between it said:

Server Event 1 10000 0 0

which is new ...

Anyway, here is the screen of it and the Logs generated by QPST in case u can discover something ...
[AT&T Samsung Galaxy Note I717] bitdomo:
For my friend sahara port is at 10000 while his phone actually on COM5.

Try to play with "Software Download" application it comes with the QPST package :). From the logs I could not get any info what is going on. Maybe the sahara.xml is not good or the .mbn files are unique for each device which would be bad :(.
[AT&T Samsung Galaxy Note I717] chris151722:
e160s call issue

Hi darkspr1te...

.im having this problem in my phone starting a week ago...

This is the problems:

when accepting calls the phone just hangs.

when making calls the phone will restart itself..

and after phone reboot I has difficulty connecting to network

this issues happens the phone is in untouch stock gingerbread condition.

this is I have already tried.. changing other sim, network, upgrade firmware, factory and hard reset, flash other radio but still problem exist

I think it is baseband related problem all other functions is normal sending and receiving sms is ok, wifi is ok, viber call is ok.

can the brickfix of yours solve this issue?
[AT&T Samsung Galaxy Note I717] darkspr1te:
Hi,

no the brick fix program is only for when the phone has lost its boot loaders.

Please give more details on the device in the main forum , sub forum for Korean note.(not here as this is for qdload based thread)
[AT&T Samsung Galaxy Note I717] chris151722:
sorry for the off topic..sure i will post there..thanks

edit: checked the sub forum for korean galaxy note and it was forum closed...
[AT&T Samsung Galaxy Note I717] darkspr1te:
Hi,

without having the device in my hands I can only make assumptions ,

1. You used a kernel which still had the samsung memory bug (this damages the EMMC and nothing software wise can be done)

2. your cwm is the wrong one and restored the data back to the wrong partitions. (bricking the bootloaders, this can be fixed )

Now onto solutions, which no doubt your really only after that.

if the device has damaged bootloader then your going to have to force QDLOADER mode, this is done by shorting one side of a resistor to ground while connecting power (usb is best)

This is documented in my original hack of this device, Photo's of Mobo with mod

This can be done without any solder just using a pin and small wire.

This mod is not recommended for anyone who has never done work of this type but it could be the solution for you.

it will force the device to ignore it's boot loaders and then you can reflash new bootloaders using brickfix

if you wish to continue on this road, let me know, i can talk you through most of it. Also look on you tube at the following videos

wire mode and video of assembly

and

video of device booting after restored loader

your only other solution from here is JTAG, i hate to say it but this is the hardest option due to the need for a special adapter

darkspr1te
[AT&T Samsung Galaxy Note I717] astonmartin214:
Has been any luck with the S2 T989 to bring it back from the grave Hard brick :(
[AT&T Samsung Galaxy Note I717] grondines2@gmail.com:
need help

Need jtag with that or just a command line need to too for unbrick it.

I flash my note i717 with a wrong modem and not no power on or recovery or download mode. Use. Jig nothing

Help help help
[AT&T Samsung Galaxy Note I717] KalBha:
Thanks to the everyone on the thread

Hi Everybody (especially Darkspr1te and SLS)

A great thanks to all who have been on this thread and whose work has taught me something to unbrick my korean galaxy note.

In brief, unknowingly i flashed GT-N7000 ROM on SHV-E160L. ODIN showed pass and the device did not boot. Then only i realized that the ROM for both of them are different. Did a little search on the net and found this thread. Then i grabbed a copy of Ubuntu 64 bit. I am completely new to Linux, learnt few commands in terminal through help. Changed the brixfix.sh 'model to 32GB' and followed the on screen instructions.

It took 5 days for me to complete this task as i am new to linux but i am happy to see my phone up again.

A great thanks to Darksp1te, you are a real Hero. I am relaxed now because of your work, otherwise i would be thinking of approaching some one with a Riff Box. Great Work..Thanks again.

-KalBha
[AT&T Samsung Galaxy Note I717] shez00:
HTC Amaze 4G

Many thanks for all the good work that you have put in this particular project.... and with people like you i reckon there remains hope.... having said that ... I stand a noob and been following this thread trying to understand how to go about unbricking my HTC Amaze 4G based on Qualcomm MSM8260 I reckon......

I was hoping if you would guide me as in how to go about it... would appreciate...

thanking you again...
[AT&T Samsung Galaxy Note I717] KalBha:
Device stuck up at BOOT Screen

Hello Darkspr1te,

As I posted last time, I was successful in debricking the device. I used it for two days and thought of flashing your cherry rom.

Before doing this, I just selected data and factory reset from the setting menu of the device. The device then turned off, then the Android logo appeared with animation of installation. The device then booted and stuck up at the boot screen. The ROM in which i did the factory reset is KIES_HOME_E160LKLJMC1_1034927_REV02_user_low_ship.tar.md5 and twrp recovery is installed. Later on i can only enter the download mode and nothing else. I also tried falshing MB2. Also tried CWM and Tegrak recovery. Also shows battery charging animation.

I have also gone through the thread 1779585, but unable to download the file. If this solution definitely works then kindly share me a working link.

Tried the resistor Jig also.

Please help me out of this situation, as i am stuck up here for the past ten days and seriously need help.....

Thanks in advance....