Bricked ASUS ZE552KL (dead Qualcomm HS-USB QDLoader 9008)

Search This thread

binarez

Member
May 7, 2017
6
2
Hi, if someone here knows how to use the Qualcomm tools or any tool to unbrick my phone, your input will be highly regarded!

I bricked my ASUS ZE552KL... and I know how : it was full and I started a memory hungry app and it just froze. The app was probably caching some stuff locally. I hold the Power On button to reboot it and it doesn't boot at all (black screen, all LEDs are off, etc). This is known in some articles online as OLD “Qualcomm HS-USB QDLoader 9008” MODE (the worst kind AFAIK). When I connect the phone to my Win7 machine, I have a PORT that opens as “Qualcomm HS-USB QDLoader 9008”. I do not get the Qualcomm disk drive.

I found this guide (cannot post URL but dotandroid dot com/android-root-guides/unbrick-qualcomm-mobiles) that offered me some hope. I followed the instructions as best as I could. That means I uninstalled all the Qualcomm device on my system, I installed the proper drivers (QualcommDrv/Allx64, I have a 64 bit Windows installation) and the proper version of QFIL (QPST tools). I cannot remove the battery from this phone so I had to skip the "battery removal for 5 secs" step. I tried all kind of key combinations before/while/after plugging the USB cable.

I got to the point where I try to flash the files from 8675_W00 but the MBN file provided in it (prog_emmc_firehose_8936.mbn + rawprogram0.xml + patch0.xml) but I just cannot get it to work. I get the following error from QFIL:

Code:
Sahara Version:0
Start Sending Programmer
Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol
   QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)
   QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail
Finish Download

Eventually, I realized that 8936 was the cpu model number and that the ZE552KL model is 8953. I have searched pretty much everywhere on the internet for a prog_emmc_firehose_8953.mbn file but I can't find it.

I found some documentation on how to make your own mbn file using emmcswdownload.exe but it doesn't work because the partition_boot.xml file I'm using doesn't have the right syntax:

Code:
C:\Program Files (x86)\Qualcomm\QPST\bin>emmcswdownload.exe -f 8660_msimage.mbn
-x partition_boot.xml -s 1G -g 4M

C:\Program Files (x86)\Qualcomm\QPST\bin>-f = 8660_msimage.mbn
-x = partition_boot.xml
-s = 1073741824
-t =
-f : Beginning image build...
-x : Parsing partition description file...
CExParsePartition
-x : error parsing partition description file: Document error on element type "r
oot" and name/value "<image> tag no longer supported"

Conclusion: I'm new to this and I have no idea what I'm doing :)

Two questions:

1- Can I recover files from the phone before wiping it while it is in this OLD "Qualcomm HS-USB QDLoader 9008” MODE? I have some pictures and movies from my daughter's birthday that I would like to save, if possible.

2- How can I resurrect this bad boy? It's under warranty and I didn't mess it further yet so I'll get it replaced if I can't get it to boot but I figured that ZE552KL-specific info was not commonly found on the web... maybe we can fix this thing as a community for future reference!

Thanks for any help with this matter!
 
Last edited:
  • Like
Reactions: lovelybia2

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
Holding the power button to reset your phone after a crash shouldn't have bricked it. Or at least it shouldn't have messed with the bootloader and recovery partition. I had an issue with my wife's phone where it was dead, no LED, no response to holding any power and volume button combos, and no lights when I plugged it in. I waited 20 min and it came back? My guess is it was stuck shutting down, maybe you just need to wait for the battery to die?

I assume your phone was pure stock? As in a locked bootloader? You may be able to flash new firmware with QFIL but i'm not sure that'll solve your issue considering I don't understand how you bricked it......unless it's an sdcard fail.
dowload adb and freeboot and see if running them with your phone connected yields anything other than a blank when you type "adb devices" and "freeboot devices".
 

binarez

Member
May 7, 2017
6
2
The phone was pure stock, 100% locked, non-rooted. "adb devices" doesn't show anything, and I haven't tried freeboot. "fastboot devices" also shows empty list.

I'll unplug the phone and wait a couple days. It was pretty full. I wish I could just remove the battery! I'll report back here.
 

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
Sorry, I meant fastboot, good catch.
Maybe someone else can chime in, I'll read up on qfil in the meantime, see if I can find some firmware.
 

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
how goes it binarez?
I found a tuturial here for emmc download app which allows you to flash specific partitions while in QDLoader 9008 mode. Only downside is you need the .xml file. I took a look at one for another phone, and edited it as per our partition layout (not 100% sure, if anyone else can double check?).

If you download the stock firmware from Asus' website and extract it, I think you should only have to flash sbl1, boot, non-hlos, rpm, tz, emmc, and system.

that's all I got, if it doesn't work, you'll probably have to send it in for repair.
 

Attachments

  • test-partition.xml
    10.2 KB · Views: 3,153

binarez

Member
May 7, 2017
6
2
Hi, this tool contains a virus. MS Security Essentials says:

Code:
Category: Trojan

Description: This program is dangerous and executes commands from an attacker.

Recommended action: Remove this software immediately.

Items: 
file:C:\Users\XXXXXX\AppData\Local\Temp\7zOCEA8F886\ToolStudio_4.6.exe
 

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
I've been messing with python for hours trying to execute some scripts to make a proper partition.xml file but haven't made any progress.

Unless someone else can chime in, I think you'll have to send it in for repair.
 

binarez

Member
May 7, 2017
6
2
Seems like it because I waited 5 days for it to discharge completely and it still doesn't boot. Damn it. Anyone else?
 

abatoir

Senior Member
Jun 20, 2012
92
8
Hey binarez. There are a couple of devices out there that uses our processor. (my device is bricked as well) one of which is Xiaomi Redmi note4 mido. That's the best option to work with cause Xiaomi utilities Qualcomm edl mode to reprogram their devices. So I'm hoping to use some files from the mido softWare to get my ze552kl repaired.
 

abatoir

Senior Member
Jun 20, 2012
92
8
mido partition

I've been messing with python for hours trying to execute some scripts to make a proper partition.xml file but haven't made any progress.

Unless someone else can chime in, I think you'll have to send it in for repair.

im a newbie on this so im hoping that someone will stumble on this and give some advice/ the mido firmware and ze552kl firmware are partially identical, we just need the files that will allow the device to boot into bootlaoder and then we should be able to fastboot that ze552.. to life :laugh:
 

Attachments

  • partition.rar
    2.1 KB · Views: 3,311

binarez

Member
May 7, 2017
6
2
Hey binarez. There are a couple of devices out there that uses our processor. (my device is bricked as well) one of which is Xiaomi Redmi note4 mido. That's the best option to work with cause Xiaomi utilities Qualcomm edl mode to reprogram their devices. So I'm hoping to use some files from the mido softWare to get my ze552kl repaired.

Cool, I haven't returned mine for a repair yet, still hoping I can fix it myself. Keep me posted on your progress, I'll take a look myself into this toolkit.
 
  • Like
Reactions: garage69s

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
Cool, I haven't returned mine for a repair yet, still hoping I can fix it myself. Keep me posted on your progress, I'll take a look myself into this toolkit.

Hey binarez, have you tried the Asus flash tool with the raw firmware? take a look at this and/or this.

I tried to extract the raw firmware in the hopes of finding the partition and xml files but to no avail.
 
  • Like
Reactions: garage69s

abatoir

Senior Member
Jun 20, 2012
92
8
Hey binarez, have you tried the Asus flash tool with the raw firmware? take a look at this and/or this.

I tried to extract the raw firmware in the hopes of finding the partition and xml files but to no avail.

i have checked the raw file! its all the raw partition images, i believe there are in correct order! i even tried the sd card boot repair with them but it didnt work.the OTA update zip and the raw file combined both have identical files to xiaomi edl firmware pack but files like xml an others are nowhere to be found. which partitions are needed to get our devices to boot into the bootloader?
 
  • Like
Reactions: garage69s

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
i have checked the raw file! its all the raw partition images, i believe there are in correct order! i even tried the sd card boot repair with them but it didnt work.the OTA update zip and the raw file combined both have identical files to xiaomi edl firmware pack but files like xml an others are nowhere to be found. which partitions are needed to get our devices to boot into the bootloader?

I believe you need sbl1 at the least, but possibly some others like rpm, tz, devcfg, and aboot.

How did you open the .raw firmware? I renamed to zip but only got 800kb of the 4gig image viewable?
 

abatoir

Senior Member
Jun 20, 2012
92
8
I believe you need sbl1 at the least, but possibly some others like rpm, tz, devcfg, and aboot.

How did you open the .raw firmware? I renamed to zip but only got 800kb of the 4gig image viewable?

use 7-zip exe, thats what i used to do the extract the raw file! if my memory serves me right, all the files that you have listed are in the raw file, the extracted files are in my hard drive at work, esle i would have sent screenshoot. is it possible for someone to edit the partition file(xml) of the xiaomi mido to match that of the asus ze552kl?
 
Last edited:
  • Like
Reactions: garage69s

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
Here is an updated partition.xml file, except I am unclear on what to do with the partition sizes when they get to be in between a kb (ie. 32.3kb, is that 32 or 33? lol). I rounded up in my version of the partition.xml file but it is easily corrected if it's wrong. ---> see post #19

I made my own and then used this guide and that version is the same.

The other files (rawprogram0.xml and patch0.xml) aren't as easy to make however. I'll keep digging.
 
Last edited:
  • Like
Reactions: garage69s

abatoir

Senior Member
Jun 20, 2012
92
8
Here is an updated partition.xml file, except I am unclear on what to do with the partition sizes when they get to be in between a kb (ie. 32.3kb, is that 32 or 33? lol). I rounded up in my version of the partition.xml file but it is easily corrected if it's wrong.

I made my own and then used this guide and that version is the same.

The other files (rawprogram0.xml and patch0.xml) aren't as easy to make however. I'll keep digging.
Can't we just use the rawprogram0.xml from a device with the same CPU?
 

wang1chung

Senior Member
Aug 9, 2010
616
120
toronto
Can't we just use the rawprogram0.xml from a device with the same CPU?

No, the partition sectors are different.....I've been working on that one since I posted yesterday, almost done, just need to figure out sectors 0-34.

edit: added rawprogram0.xml and the first 34 sectors before the sbl, which I have labelled (possibly incorrectly) as gpt.bin

Binarez, give that a go.

Edit 2: looks like my gpt.bin (first 34 sectors) is actually gpt_main0.bin

Edit 3: using the aforementioned guide, I created gpt_both0.bin with the mkgpt script and have attached. Scrap it, tested with gpt_main0 from the mido firmware and the resulting gpt_both0 isn't the same.

Edit 4: I have corrected the partition sizes and sector counts, please disregard previous partition and rawprogram0 xml files. Version 2 should be good now

Edit 5: added gpt_backup0

Edit 6: I have attached patch0.xml. I was able to get the ParititioningTool.py to run on my zf3 but it produced a slightly different rawprogram0.xml file (added 0.5kb to every partition?), lol. The patch0.xml file looks ok compared to other files, so I think we've got everything for someone to be the guinea pig, lol.

Here is the output of our parsed GUID partition table in case anyone is curious. I used the gpt_parser.py script.

Code:
<?xml version="1.0"?>
	<configuration>
		<!-- Primary GPT header: -->
		<!-- MD5: b18b0bf33bab70f8fb50e80468f74cef -->
		<!-- Signature: EFI PART -->
		<!-- Revision: 65536 -->
		<!-- Header Size: 92 -->
		<!-- CRC32 of header: 40154904 (VALID) => Real: 40154904 -->
		<!-- Current LBA: 0x00000001 -->
		<!-- Backup LBA: 0x0747BFFF -->
		<!-- First usable LBA for partitions: 0x00000022 -->
		<!-- Last usable LBA for partitions: 0x0747BFDE -->
		<!-- Disk GUID: 98101B32-BBE2-4BF2-A06E-2BB33D000C20 -->
		<!-- Partition entries starting LBA: 0x00000002 -->
		<!-- Number of partition entries: 68 -->
		<!-- Size of partition entry: 0x00000080 -->
		<!-- CRC32 of partition array: 0x4E098968 -->
		<parser_instructions>
			<!-- NOTE: entries here are used by the parser when generating output -->
			<!-- NOTE: each filename must be on it's own line as in variable=value-->
			WRITE_PROTECT_BOUNDARY_IN_KB = 32768
			GROW_LAST_PARTITION_TO_FILL_DISK = true
		</parser_instructions>

		<!-- NOTE: "physical_partition" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions -->
		<!-- This is physical partition 0 -->
		<physical_partition>
			<!-- NOTE: Define information for each partition, which will be created in order listed here -->
			<!-- NOTE: Place all "readonly=true" partitions side by side for optimum space usage -->
			<!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here -->
			<!--       they will instead be placed side by side at the beginning of the disk -->

			<!-- Partition table: -->
				<!-- MD5: 9324814a7e420b7582fade5c15f51472 -->
				<!-- WARNING!! CRC32 Check : B59A6765 (INVALID) -->

			<!-- #01 -->
			<!-- First LBA: 34 / Disk Offset: 17408 -->
			<!-- Last LBA : 2593 / Disk Offset: 1327616 -->
			<!-- SBL1 partition | Qualcomm -->
			<!-- GUID: 303F5D2D-B6BD-5716-957C-67DCF24084CF -->
			<partition label="sbl1" size_in_kb="1280" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" system="true" filename="sbl1.mbn"/>

			<!-- #02 -->
			<!-- First LBA: 2594 / Disk Offset: 1328128 -->
			<!-- Last LBA : 5153 / Disk Offset: 2638336 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 113002EE-3364-CFF6-6C9F-2215F9D6C82C -->
			<partition label="sbl1bak" size_in_kb="1280" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="sbl1.mbn"/>

			<!-- #03 -->
			<!-- First LBA: 5154 / Disk Offset: 2638848 -->
			<!-- Last LBA : 6177 / Disk Offset: 3162624 -->
			<!-- RPM partition | Qualcomm -->
			<!-- GUID: 94A994CE-8277-C00D-381B-09518F98DB68 -->
			<partition label="rpm" size_in_kb="512" type="098DF793-D712-413D-9D4E-89D711772228" bootable="false" system="true" filename="rpm.mbn"/>

			<!-- #04 -->
			<!-- First LBA: 6178 / Disk Offset: 3163136 -->
			<!-- Last LBA : 7201 / Disk Offset: 3686912 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: D80A72FF-599B-4937-C149-B6108C66BB9A -->
			<partition label="rpmbak" size_in_kb="512" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="rpm.mbn"/>

			<!-- #05 -->
			<!-- First LBA: 7202 / Disk Offset: 3687424 -->
			<!-- Last LBA : 11297 / Disk Offset: 5784064 -->
			<!-- QSEE partition | Qualcomm -->
			<!-- GUID: 60193C62-F142-1338-75A3-E3937BC38126 -->
			<partition label="tz" size_in_kb="2048" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" system="true" filename="tz.mbn"/>

			<!-- #06 -->
			<!-- First LBA: 11298 / Disk Offset: 5784576 -->
			<!-- Last LBA : 15393 / Disk Offset: 7881216 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: BCFC53A6-2D85-2192-621D-5EA6D750342C -->
			<partition label="tzbak" size_in_kb="2048" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="tz.mbn"/>

			<!-- #07 -->
			<!-- First LBA: 15394 / Disk Offset: 7881728 -->
			<!-- Last LBA : 15905 / Disk Offset: 8143360 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 721E4C9B-FF41-F3B5-8E75-A8409D063630 -->
			<partition label="devcfg" size_in_kb="256" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" system="true" filename=""/>

			<!-- #08 -->
			<!-- First LBA: 15906 / Disk Offset: 8143872 -->
			<!-- Last LBA : 16417 / Disk Offset: 8405504 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: D50F7511-2F05-6538-0497-BBB23BFC3EE9 -->
			<partition label="devcfgbak" size_in_kb="256" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" system="true" filename=""/>

			<!-- #09 -->
			<!-- First LBA: 16418 / Disk Offset: 8406016 -->
			<!-- Last LBA : 16929 / Disk Offset: 8667648 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 90619A74-5395-C05B-1765-86241AC55A83 -->
			<partition label="keymaster" size_in_kb="256" type="E8B7CF6E-5694-4627-8A2A-899B09F2DBEA" bootable="false" system="true" filename=""/>

			<!-- #10 -->
			<!-- First LBA: 16930 / Disk Offset: 8668160 -->
			<!-- Last LBA : 17441 / Disk Offset: 8929792 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: E7776CF5-1084-08A0-815F-5EDCDF491F56 -->
			<partition label="keymasterbak" size_in_kb="256" type="E8B7CF6E-5694-4627-8A2A-899B09F2DBEA" bootable="false" system="true" filename=""/>

			<!-- #11 -->
			<!-- First LBA: 17442 / Disk Offset: 8930304 -->
			<!-- Last LBA : 17953 / Disk Offset: 9191936 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 717D21F8-CDC7-1112-99F9-6AA19461FC63 -->
			<partition label="cmnlib" size_in_kb="256" type="73471795-AB54-43F9-A847-4F72EA5CBEF5" bootable="false" system="true" filename=""/>

			<!-- #12 -->
			<!-- First LBA: 17954 / Disk Offset: 9192448 -->
			<!-- Last LBA : 18465 / Disk Offset: 9454080 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: C14010D4-FCD2-BCD7-83A6-168BAA702365 -->
			<partition label="cmnlibbak" size_in_kb="256" type="73471795-AB54-43F9-A847-4F72EA5CBEF5" bootable="false" system="true" filename=""/>

			<!-- #13 -->
			<!-- First LBA: 18466 / Disk Offset: 9454592 -->
			<!-- Last LBA : 18977 / Disk Offset: 9716224 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: EF1BBFFB-F343-4F15-BE3D-779D2DF36A67 -->
			<partition label="cmnlib64" size_in_kb="256" type="8EA64893-1267-4A1B-947C-7C362ACAAD2C" bootable="false" system="true" filename=""/>

			<!-- #14 -->
			<!-- First LBA: 18978 / Disk Offset: 9716736 -->
			<!-- Last LBA : 19489 / Disk Offset: 9978368 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: CC9B03C1-959E-B775-A6C7-BC04E65924BF -->
			<partition label="cmnlib64bak" size_in_kb="256" type="8EA64893-1267-4A1B-947C-7C362ACAAD2C" bootable="false" system="true" filename=""/>

			<!-- #15 -->
			<!-- First LBA: 19490 / Disk Offset: 9978880 -->
			<!-- Last LBA : 19745 / Disk Offset: 10109440 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 522E59F5-0269-1238-03BF-0774E5F992B3 -->
			<partition label="lksecapp" size_in_kb="128" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" system="true" filename=""/>

			<!-- #16 -->
			<!-- First LBA: 19746 / Disk Offset: 10109952 -->
			<!-- Last LBA : 20001 / Disk Offset: 10240512 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 0C83D6CF-BB1F-68F9-347D-B91D8A31A7CC -->
			<partition label="lksecappbak" size_in_kb="128" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" system="true" filename=""/>

			<!-- #17 -->
			<!-- First LBA: 20002 / Disk Offset: 10241024 -->
			<!-- Last LBA : 20065 / Disk Offset: 10273280 -->
			<!-- DDR partition | Qualcomm -->
			<!-- GUID: B94194AB-CD78-0925-EA1D-C3F98190E85D -->
			<partition label="DDR" size_in_kb="32" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" system="true" filename="DDR.bin"/>

			<!-- #18 -->
			<!-- First LBA: 20066 / Disk Offset: 10273792 -->
			<!-- Last LBA : 20081 / Disk Offset: 10281472 -->
			<!-- SSD? partition | Qualcomm -->
			<!-- GUID: C9890563-15C4-DA2B-558F-C79CAF16C607 -->
			<partition label="ssd" size_in_kb="8" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" bootable="false" system="true" filename=""/>

			<!-- #19 -->
			<!-- First LBA: 20082 / Disk Offset: 10281984 -->
			<!-- Last LBA : 30321 / Disk Offset: 15524352 -->
			<!-- APPSBL partition | Qualcomm -->
			<!-- GUID: 0E985164-0EEE-D2D1-D50B-719F728255E0 -->
			<partition label="aboot" size_in_kb="5120" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" system="true" filename="emmc_appsboot.mbn"/>

			<!-- #20 -->
			<!-- First LBA: 30322 / Disk Offset: 15524864 -->
			<!-- Last LBA : 40561 / Disk Offset: 20767232 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 7CC55197-7E6F-82E8-87E1-563D5E0CB246 -->
			<partition label="abootbak" size_in_kb="5120" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="aboot.mbn"/>

			<!-- #21 -->
			<!-- First LBA: 40562 / Disk Offset: 20767744 -->
			<!-- Last LBA : 40593 / Disk Offset: 20783616 -->
			<!-- SEC partition | Qualcomm -->
			<!-- GUID: 1CE96CD6-0E94-B8A6-7AA1-C0E956264B44 -->
			<partition label="sec" size_in_kb="16" type="303E6AC3-AF15-4C54-9E9B-D9A8FBECF401" bootable="false" system="true" filename="sec.dat"/>

			<!-- #22 -->
			<!-- First LBA: 65536 / Disk Offset: 33554432 -->
			<!-- Last LBA : 67583 / Disk Offset: 34602496 -->
			<!-- USERDATA? partition | Qualcomm -->
			<!-- GUID: 6049FFB4-A241-1E64-A52D-D331F1DE96AE -->
			<partition label="devinfo" size_in_kb="1024" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" filename=""/>

			<!-- #23 -->
			<!-- First LBA: 98304 / Disk Offset: 50331648 -->
			<!-- Last LBA : 100351 / Disk Offset: 51379712 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F945F4D9-2AFE-E7FD-30E6-9DB9B5B246F5 -->
			<partition label="sysinfo" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #24 -->
			<!-- First LBA: 100352 / Disk Offset: 51380224 -->
			<!-- Last LBA : 103423 / Disk Offset: 52952576 -->
			<!-- FSG? partition | Qualcomm -->
			<!-- GUID: 41C5C014-392C-5F78-F89A-EDD12F3AE979 -->
			<partition label="fsg" size_in_kb="1536" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #25 -->
			<!-- First LBA: 103424 / Disk Offset: 52953088 -->
			<!-- Last LBA : 103425 / Disk Offset: 52953600 -->
			<!-- FSC? partition | Qualcomm -->
			<!-- GUID: D43A910F-2DDE-F917-CE67-0B07A529EF0A -->
			<partition label="fsc" size_in_kb="1" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #26 -->
			<!-- First LBA: 103426 / Disk Offset: 52954112 -->
			<!-- Last LBA : 106497 / Disk Offset: 54526464 -->
			<!-- MODEMST1 partition | Qualcomm -->
			<!-- GUID: D0FDED4D-80BE-F93A-6D5A-52079D5F0484 -->
			<partition label="modemst1" size_in_kb="1536" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #27 -->
			<!-- First LBA: 106498 / Disk Offset: 54526976 -->
			<!-- Last LBA : 109569 / Disk Offset: 56099328 -->
			<!-- MODEMST2 partition | Qualcomm -->
			<!-- GUID: 6198D929-EE45-7CD5-8867-E60E657C2E3E -->
			<partition label="modemst2" size_in_kb="1536" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #28 -->
			<!-- First LBA: 109570 / Disk Offset: 56099840 -->
			<!-- Last LBA : 150529 / Disk Offset: 77070848 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: AA1BA3C1-76FE-371E-C243-5AB6BAB5CC4C -->
			<partition label="factory" size_in_kb="20480" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #29 -->
			<!-- First LBA: 150530 / Disk Offset: 77071360 -->
			<!-- Last LBA : 152577 / Disk Offset: 78119424 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 9DDAC82D-E5CF-15BA-03CC-D51C531E3098 -->
			<partition label="asuskey" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #30 -->
			<!-- First LBA: 152578 / Disk Offset: 78119936 -->
			<!-- Last LBA : 154625 / Disk Offset: 79168000 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 11781A73-CC52-DD91-799C-141147F77244 -->
			<partition label="asuskey2" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #31 -->
			<!-- First LBA: 154626 / Disk Offset: 79168512 -->
			<!-- Last LBA : 156673 / Disk Offset: 80216576 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F0F9C704-CA70-89EF-69BB-DDF447A6052A -->
			<partition label="asuskey3" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #32 -->
			<!-- First LBA: 156674 / Disk Offset: 80217088 -->
			<!-- Last LBA : 158721 / Disk Offset: 81265152 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: BE025F45-5053-9019-C38C-FDA6C0A7BCC3 -->
			<partition label="asuskey4" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #33 -->
			<!-- First LBA: 158722 / Disk Offset: 81265664 -->
			<!-- Last LBA : 160769 / Disk Offset: 82313728 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 7E128C31-1912-4D15-D57C-0BFCF24B4F65 -->
			<partition label="asuskey5" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #34 -->
			<!-- First LBA: 160770 / Disk Offset: 82314240 -->
			<!-- Last LBA : 162817 / Disk Offset: 83362304 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F0C4B9F5-793B-238D-33F4-AAF32F99D649 -->
			<partition label="asuskey6" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #35 -->
			<!-- First LBA: 162818 / Disk Offset: 83362816 -->
			<!-- Last LBA : 164865 / Disk Offset: 84410880 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: E89D3EF6-CB33-52EA-7C34-2662F71DFCE2 -->
			<partition label="persistent" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="persist.img"/>

			<!-- #36 -->
			<!-- First LBA: 164866 / Disk Offset: 84411392 -->
			<!-- Last LBA : 166913 / Disk Offset: 85459456 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 877127A6-1899-3FA7-F643-D15C43A3CDC6 -->
			<partition label="asusgpt" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #37 -->
			<!-- First LBA: 166914 / Disk Offset: 85459968 -->
			<!-- Last LBA : 168961 / Disk Offset: 86508032 -->
			<!-- MISC? partition | Qualcomm -->
			<!-- GUID: 50E9E594-D40C-A967-7E5D-77688C0232DB -->
			<partition label="misc" size_in_kb="1024" type="82ACC91F-357C-4A68-9C8F-689E1B1A23A1" bootable="false" system="true" filename=""/>

			<!-- #38 -->
			<!-- First LBA: 168962 / Disk Offset: 86508544 -->
			<!-- Last LBA : 169985 / Disk Offset: 87032320 -->
			<!-- KEYSTORE? partition | Qualcomm -->
			<!-- GUID: 1F4F4FB6-1AE4-7750-FE8A-E8445827FDCB -->
			<partition label="keystore" size_in_kb="512" type="DE7D4029-0F5B-41C8-AE7E-F6C023A02B33" bootable="false" system="true" filename=""/>

			<!-- #39 -->
			<!-- First LBA: 169986 / Disk Offset: 87032832 -->
			<!-- Last LBA : 171009 / Disk Offset: 87556608 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 8459F349-95DA-8754-7D83-DA88EC82C29C -->
			<partition label="config" size_in_kb="512" type="91B72D4D-71E0-4CBF-9B8E-236381CFF17A" bootable="false" system="true" filename=""/>

			<!-- #40 -->
			<!-- First LBA: 171010 / Disk Offset: 87557120 -->
			<!-- Last LBA : 171073 / Disk Offset: 87589376 -->
			<!-- LIMITS? partition | Qualcomm -->
			<!-- GUID: 1CB32AE7-D3B2-0DCA-62AB-1F429486C947 -->
			<partition label="limits" size_in_kb="32" type="10A0C19C-516A-5444-5CE3-664C3226A794" bootable="false" system="true" filename=""/>

			<!-- #41 -->
			<!-- First LBA: 171074 / Disk Offset: 87589888 -->
			<!-- Last LBA : 172097 / Disk Offset: 88113664 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 89761C2C-F16A-CCBE-B8DF-2E9EACB7A9E9 -->
			<partition label="mota" size_in_kb="512" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

			<!-- #42 -->
			<!-- First LBA: 172098 / Disk Offset: 88114176 -->
			<!-- Last LBA : 174145 / Disk Offset: 89162240 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 44C8BC50-F5E3-C8AB-B031-3B4DA4E02A4F -->
			<partition label="dip" size_in_kb="1024" type="4114B077-005D-4E12-AC8C-B493BDA684FB" bootable="false" system="true" filename=""/>

			<!-- #43 -->
			<!-- First LBA: 174146 / Disk Offset: 89162752 -->
			<!-- Last LBA : 175169 / Disk Offset: 89686528 -->
			<!-- RPM partition | Qualcomm -->
			<!-- GUID: A2A1B4DA-7A9A-A2A9-BD9E-06A412406A14 -->
			<partition label="syscfg" size_in_kb="512" type="098DF793-D712-413D-9D4E-89D711772228" bootable="false" system="true" filename=""/>

			<!-- #44 -->
			<!-- First LBA: 175170 / Disk Offset: 89687040 -->
			<!-- Last LBA : 183361 / Disk Offset: 93880832 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 3E5B859C-87F9-F44F-B4AF-FD3E7411AD6E -->
			<partition label="mcfg" size_in_kb="4096" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

			<!-- #45 -->
			<!-- First LBA: 183362 / Disk Offset: 93881344 -->
			<!-- Last LBA : 183873 / Disk Offset: 94142976 -->
			<!-- APDP? partition | Qualcomm -->
			<!-- GUID: 64CE8E9B-6BD5-65D6-FA18-DE35AA3ACE70 -->
			<partition label="apdp" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" system="true" filename=""/>

			<!-- #46 -->
			<!-- First LBA: 183874 / Disk Offset: 94143488 -->
			<!-- Last LBA : 184385 / Disk Offset: 94405120 -->
			<!-- MSADP? partition | Qualcomm -->
			<!-- GUID: 94A338D0-1CCA-ED45-F908-B3432C7509DA -->
			<partition label="msadp" size_in_kb="256" type="ED9E8101-05FA-46B7-82AA-8D58770D200B" bootable="false" system="true" filename=""/>

			<!-- #47 -->
			<!-- First LBA: 184386 / Disk Offset: 94405632 -->
			<!-- Last LBA : 184401 / Disk Offset: 94413312 -->
			<!-- DPO? partition | Qualcomm -->
			<!-- GUID: B0AFD203-98FF-A023-0BFF-1B2C800C164B -->
			<partition label="dpo" size_in_kb="8" type="11406F35-1173-4869-807B-27DF71802812" bootable="false" system="true" filename=""/>

			<!-- #48 -->
			<!-- First LBA: 184402 / Disk Offset: 94413824 -->
			<!-- Last LBA : 206929 / Disk Offset: 105947648 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: 925F0C39-AAEB-C6C7-241D-CB339029A3EB -->
			<partition label="splash" size_in_kb="11264" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" system="true" filename=""/>

			<!-- #49 -->
			<!-- First LBA: 206930 / Disk Offset: 105948160 -->
			<!-- Last LBA : 211025 / Disk Offset: 108044800 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: D6B09CB7-996A-255B-A2E3-28090441DDB3 -->
			<partition label="abootdebug" size_in_kb="2048" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="abootdebug.mbn"/>

			<!-- #50 -->
			<!-- First LBA: 211026 / Disk Offset: 108045312 -->
			<!-- Last LBA : 214097 / Disk Offset: 109617664 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: CB833D13-6FC2-1913-D705-2AA509CE23E6 -->
			<partition label="fsgCA" size_in_kb="1536" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #51 -->
			<!-- First LBA: 214098 / Disk Offset: 109618176 -->
			<!-- Last LBA : 218193 / Disk Offset: 111714816 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 67C0C492-7B70-A035-7EF7-C126DD7AAE03 -->
			<partition label="abootlog" size_in_kb="2048" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="abootlog.mbn"/>

			<!-- #52 -->
			<!-- First LBA: 229376 / Disk Offset: 117440512 -->
			<!-- Last LBA : 262143 / Disk Offset: 134217216 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 93C351E0-B1EA-B14C-A585-098EE4C90BEA -->
			<partition label="oem" size_in_kb="16384" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #53 -->
			<!-- First LBA: 262144 / Disk Offset: 134217728 -->
			<!-- Last LBA : 393215 / Disk Offset: 201326080 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 352EF6DF-6516-F196-523D-0A926C5490ED -->
			<partition label="asdf" size_in_kb="65536" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #54 -->
			<!-- First LBA: 393216 / Disk Offset: 201326592 -->
			<!-- Last LBA : 425983 / Disk Offset: 218103296 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: F5BBBF6D-2E43-3EDC-EBF5-E3FA2FE6B3BE -->
			<partition label="dsp" size_in_kb="16384" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #55 -->
			<!-- First LBA: 425984 / Disk Offset: 218103808 -->
			<!-- Last LBA : 491519 / Disk Offset: 251657728 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 1E7B17EA-9FC7-49DE-3932-0691D73FA42C -->
			<partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" filename=""/>

			<!-- #56 -->
			<!-- First LBA: 491520 / Disk Offset: 251658240 -->
			<!-- Last LBA : 557055 / Disk Offset: 285212160 -->
			<!-- PERSIST? partition | Qualcomm -->
			<!-- GUID: 7AC33506-AE05-5066-CD2B-1E9A89045844 -->
			<partition label="persist" size_in_kb="32768" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" bootable="false" filename="persist.img"/>

			<!-- #57 -->
			<!-- First LBA: 557056 / Disk Offset: 285212672 -->
			<!-- Last LBA : 622591 / Disk Offset: 318766592 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 942A5A98-D43D-845A-35CA-A440F22E8B63 -->
			<partition label="ftm" size_in_kb="32768" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #58 -->
			<!-- First LBA: 622592 / Disk Offset: 318767104 -->
			<!-- Last LBA : 688127 / Disk Offset: 352321024 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: A1634F47-B80F-C778-B2BC-9095D987928C -->
			<partition label="boot" size_in_kb="32768" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" filename=""/>

			<!-- #59 -->
			<!-- First LBA: 688128 / Disk Offset: 352321536 -->
			<!-- Last LBA : 753663 / Disk Offset: 385875456 -->
			<!-- RECOVERY? partition | Qualcomm -->
			<!-- GUID: 1E7EB10F-5E2A-3C60-B460-E314AA358641 -->
			<partition label="recovery" size_in_kb="32768" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" filename=""/>

			<!-- #60 -->
			<!-- First LBA: 753664 / Disk Offset: 385875968 -->
			<!-- Last LBA : 851967 / Disk Offset: 436207104 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 981C575C-877F-8E57-930A-9A0B996A78CC -->
			<partition label="asusfw" size_in_kb="49152" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #61 -->
			<!-- First LBA: 851968 / Disk Offset: 436207616 -->
			<!-- Last LBA : 884735 / Disk Offset: 452984320 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 4D8BDD9D-08C1-F80B-10FE-39CB04D097DC -->
			<partition label="persdata" size_in_kb="16384" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #62 -->
			<!-- First LBA: 884736 / Disk Offset: 452984832 -->
			<!-- Last LBA : 1056767 / Disk Offset: 541064704 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 2AFA0E96-383C-0E15-5CB1-8670EF5EBBC2 -->
			<partition label="modem" size_in_kb="86016" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="NON-HLOS.bin"/>

			<!-- #63 -->
			<!-- First LBA: 1056768 / Disk Offset: 541065216 -->
			<!-- Last LBA : 1122303 / Disk Offset: 574619136 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 383FBD12-CFF4-3137-8F8D-69C49703D8A6 -->
			<partition label="ADF" size_in_kb="32768" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #64 -->
			<!-- First LBA: 1122304 / Disk Offset: 574619648 -->
			<!-- Last LBA : 1548287 / Disk Offset: 792722944 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 76B0ECA5-A079-FC8D-3EDC-0AA860D47AEE -->
			<partition label="APD" size_in_kb="212992" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #65 -->
			<!-- First LBA: 1548288 / Disk Offset: 792723456 -->
			<!-- Last LBA : 1810431 / Disk Offset: 926940672 -->
			<!-- CACHE? partition | Qualcomm -->
			<!-- GUID: 7F4EC5DA-3C24-155B-3639-58E5CB1FEAAD -->
			<partition label="cache" size_in_kb="131072" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" filename="cache.img"/>

			<!-- #66 -->
			<!-- First LBA: 1810432 / Disk Offset: 926941184 -->
			<!-- Last LBA : 9674751 / Disk Offset: 4953472512 -->
			<!-- SYSTEM? partition | Qualcomm -->
			<!-- GUID: 0151F7F1-D2B2-E356-C17F-F3A340AEC4F2 -->
			<partition label="system" size_in_kb="3932160" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" filename="system.img"/>

			<!-- #67 -->
			<!-- First LBA: 9674752 / Disk Offset: 4953473024 -->
			<!-- Last LBA : 122142686 / Disk Offset: 62537055232 -->
			<!-- USERDATA? partition | Qualcomm -->
			<!-- GUID: 6CDDD106-8A83-4B64-976B-17EE4AEFC790 -->
			<partition label="userdata" size_in_kb="56233967" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" filename="userdata.img"/>

		</physical_partition>
	</configuration>
 

Attachments

  • ze552kl-partition-v2.xml
    10.7 KB · Views: 744
  • ze552kl-rawprogram0-v2.xml
    16.2 KB · Views: 794
  • ze552kl-gpt_backup0.zip
    2.8 KB · Views: 603
  • ze552kl-gpt_main0.zip
    2.8 KB · Views: 597
  • patch0.xml
    5.4 KB · Views: 733
Last edited:
  • Like
Reactions: garage69s

abatoir

Senior Member
Jun 20, 2012
92
8
No, the partition sectors are different.....I've been working on that one since I posted yesterday, almost done, just need to figure out sectors 0-34.

edit: added rawprogram0.xml and the first 34 sectors before the sbl, which I have labelled (possibly incorrectly) as gpt.bin

Binarez, give that a go.

Edit 2: looks like my gpt.bin (first 34 sectors) is actually gpt_main0.bin

Edit 3: using the aforementioned guide, I created gpt_both0.bin with the mkgpt script and have attached. Scrap it, tested with gpt_main0 from the mido firmware and the resulting gpt_both0 isn't the same.

Edit 4: I have corrected the partition sizes and sector counts, please disregard previous partition and rawprogram0 xml files. Version 2 should be good now

Edit 5: added gpt_backup0

Edit 6: I have attached patch0.xml. I was able to get the ParititioningTool.py to run on my zf3 but it produced a slightly different rawprogram0.xml file (added 0.5kb to every partition?), lol. The patch0.xml file looks ok compared to other files, so I think we've got everything for someone to be the guinea pig, lol.

Here is the output of our parsed GUID partition table in case anyone is curious. I used the gpt_parser.py script.

Code:
<?xml version="1.0"?>
	<configuration>
		<!-- Primary GPT header: -->
		<!-- MD5: b18b0bf33bab70f8fb50e80468f74cef -->
		<!-- Signature: EFI PART -->
		<!-- Revision: 65536 -->
		<!-- Header Size: 92 -->
		<!-- CRC32 of header: 40154904 (VALID) => Real: 40154904 -->
		<!-- Current LBA: 0x00000001 -->
		<!-- Backup LBA: 0x0747BFFF -->
		<!-- First usable LBA for partitions: 0x00000022 -->
		<!-- Last usable LBA for partitions: 0x0747BFDE -->
		<!-- Disk GUID: 98101B32-BBE2-4BF2-A06E-2BB33D000C20 -->
		<!-- Partition entries starting LBA: 0x00000002 -->
		<!-- Number of partition entries: 68 -->
		<!-- Size of partition entry: 0x00000080 -->
		<!-- CRC32 of partition array: 0x4E098968 -->
		<parser_instructions>
			<!-- NOTE: entries here are used by the parser when generating output -->
			<!-- NOTE: each filename must be on it's own line as in variable=value-->
			WRITE_PROTECT_BOUNDARY_IN_KB = 32768
			GROW_LAST_PARTITION_TO_FILL_DISK = true
		</parser_instructions>

		<!-- NOTE: "physical_partition" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions -->
		<!-- This is physical partition 0 -->
		<physical_partition>
			<!-- NOTE: Define information for each partition, which will be created in order listed here -->
			<!-- NOTE: Place all "readonly=true" partitions side by side for optimum space usage -->
			<!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here -->
			<!--       they will instead be placed side by side at the beginning of the disk -->

			<!-- Partition table: -->
				<!-- MD5: 9324814a7e420b7582fade5c15f51472 -->
				<!-- WARNING!! CRC32 Check : B59A6765 (INVALID) -->

			<!-- #01 -->
			<!-- First LBA: 34 / Disk Offset: 17408 -->
			<!-- Last LBA : 2593 / Disk Offset: 1327616 -->
			<!-- SBL1 partition | Qualcomm -->
			<!-- GUID: 303F5D2D-B6BD-5716-957C-67DCF24084CF -->
			<partition label="sbl1" size_in_kb="1280" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" system="true" filename="sbl1.mbn"/>

			<!-- #02 -->
			<!-- First LBA: 2594 / Disk Offset: 1328128 -->
			<!-- Last LBA : 5153 / Disk Offset: 2638336 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 113002EE-3364-CFF6-6C9F-2215F9D6C82C -->
			<partition label="sbl1bak" size_in_kb="1280" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="sbl1.mbn"/>

			<!-- #03 -->
			<!-- First LBA: 5154 / Disk Offset: 2638848 -->
			<!-- Last LBA : 6177 / Disk Offset: 3162624 -->
			<!-- RPM partition | Qualcomm -->
			<!-- GUID: 94A994CE-8277-C00D-381B-09518F98DB68 -->
			<partition label="rpm" size_in_kb="512" type="098DF793-D712-413D-9D4E-89D711772228" bootable="false" system="true" filename="rpm.mbn"/>

			<!-- #04 -->
			<!-- First LBA: 6178 / Disk Offset: 3163136 -->
			<!-- Last LBA : 7201 / Disk Offset: 3686912 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: D80A72FF-599B-4937-C149-B6108C66BB9A -->
			<partition label="rpmbak" size_in_kb="512" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="rpm.mbn"/>

			<!-- #05 -->
			<!-- First LBA: 7202 / Disk Offset: 3687424 -->
			<!-- Last LBA : 11297 / Disk Offset: 5784064 -->
			<!-- QSEE partition | Qualcomm -->
			<!-- GUID: 60193C62-F142-1338-75A3-E3937BC38126 -->
			<partition label="tz" size_in_kb="2048" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" system="true" filename="tz.mbn"/>

			<!-- #06 -->
			<!-- First LBA: 11298 / Disk Offset: 5784576 -->
			<!-- Last LBA : 15393 / Disk Offset: 7881216 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: BCFC53A6-2D85-2192-621D-5EA6D750342C -->
			<partition label="tzbak" size_in_kb="2048" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="tz.mbn"/>

			<!-- #07 -->
			<!-- First LBA: 15394 / Disk Offset: 7881728 -->
			<!-- Last LBA : 15905 / Disk Offset: 8143360 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 721E4C9B-FF41-F3B5-8E75-A8409D063630 -->
			<partition label="devcfg" size_in_kb="256" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" system="true" filename=""/>

			<!-- #08 -->
			<!-- First LBA: 15906 / Disk Offset: 8143872 -->
			<!-- Last LBA : 16417 / Disk Offset: 8405504 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: D50F7511-2F05-6538-0497-BBB23BFC3EE9 -->
			<partition label="devcfgbak" size_in_kb="256" type="F65D4B16-343D-4E25-AAFC-BE99B6556A6D" bootable="false" system="true" filename=""/>

			<!-- #09 -->
			<!-- First LBA: 16418 / Disk Offset: 8406016 -->
			<!-- Last LBA : 16929 / Disk Offset: 8667648 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 90619A74-5395-C05B-1765-86241AC55A83 -->
			<partition label="keymaster" size_in_kb="256" type="E8B7CF6E-5694-4627-8A2A-899B09F2DBEA" bootable="false" system="true" filename=""/>

			<!-- #10 -->
			<!-- First LBA: 16930 / Disk Offset: 8668160 -->
			<!-- Last LBA : 17441 / Disk Offset: 8929792 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: E7776CF5-1084-08A0-815F-5EDCDF491F56 -->
			<partition label="keymasterbak" size_in_kb="256" type="E8B7CF6E-5694-4627-8A2A-899B09F2DBEA" bootable="false" system="true" filename=""/>

			<!-- #11 -->
			<!-- First LBA: 17442 / Disk Offset: 8930304 -->
			<!-- Last LBA : 17953 / Disk Offset: 9191936 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 717D21F8-CDC7-1112-99F9-6AA19461FC63 -->
			<partition label="cmnlib" size_in_kb="256" type="73471795-AB54-43F9-A847-4F72EA5CBEF5" bootable="false" system="true" filename=""/>

			<!-- #12 -->
			<!-- First LBA: 17954 / Disk Offset: 9192448 -->
			<!-- Last LBA : 18465 / Disk Offset: 9454080 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: C14010D4-FCD2-BCD7-83A6-168BAA702365 -->
			<partition label="cmnlibbak" size_in_kb="256" type="73471795-AB54-43F9-A847-4F72EA5CBEF5" bootable="false" system="true" filename=""/>

			<!-- #13 -->
			<!-- First LBA: 18466 / Disk Offset: 9454592 -->
			<!-- Last LBA : 18977 / Disk Offset: 9716224 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: EF1BBFFB-F343-4F15-BE3D-779D2DF36A67 -->
			<partition label="cmnlib64" size_in_kb="256" type="8EA64893-1267-4A1B-947C-7C362ACAAD2C" bootable="false" system="true" filename=""/>

			<!-- #14 -->
			<!-- First LBA: 18978 / Disk Offset: 9716736 -->
			<!-- Last LBA : 19489 / Disk Offset: 9978368 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: CC9B03C1-959E-B775-A6C7-BC04E65924BF -->
			<partition label="cmnlib64bak" size_in_kb="256" type="8EA64893-1267-4A1B-947C-7C362ACAAD2C" bootable="false" system="true" filename=""/>

			<!-- #15 -->
			<!-- First LBA: 19490 / Disk Offset: 9978880 -->
			<!-- Last LBA : 19745 / Disk Offset: 10109440 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 522E59F5-0269-1238-03BF-0774E5F992B3 -->
			<partition label="lksecapp" size_in_kb="128" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" system="true" filename=""/>

			<!-- #16 -->
			<!-- First LBA: 19746 / Disk Offset: 10109952 -->
			<!-- Last LBA : 20001 / Disk Offset: 10240512 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 0C83D6CF-BB1F-68F9-347D-B91D8A31A7CC -->
			<partition label="lksecappbak" size_in_kb="128" type="A11D2A7C-D82A-4C2F-8A01-1805240E6626" bootable="false" system="true" filename=""/>

			<!-- #17 -->
			<!-- First LBA: 20002 / Disk Offset: 10241024 -->
			<!-- Last LBA : 20065 / Disk Offset: 10273280 -->
			<!-- DDR partition | Qualcomm -->
			<!-- GUID: B94194AB-CD78-0925-EA1D-C3F98190E85D -->
			<partition label="DDR" size_in_kb="32" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" system="true" filename="DDR.bin"/>

			<!-- #18 -->
			<!-- First LBA: 20066 / Disk Offset: 10273792 -->
			<!-- Last LBA : 20081 / Disk Offset: 10281472 -->
			<!-- SSD? partition | Qualcomm -->
			<!-- GUID: C9890563-15C4-DA2B-558F-C79CAF16C607 -->
			<partition label="ssd" size_in_kb="8" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" bootable="false" system="true" filename=""/>

			<!-- #19 -->
			<!-- First LBA: 20082 / Disk Offset: 10281984 -->
			<!-- Last LBA : 30321 / Disk Offset: 15524352 -->
			<!-- APPSBL partition | Qualcomm -->
			<!-- GUID: 0E985164-0EEE-D2D1-D50B-719F728255E0 -->
			<partition label="aboot" size_in_kb="5120" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" system="true" filename="emmc_appsboot.mbn"/>

			<!-- #20 -->
			<!-- First LBA: 30322 / Disk Offset: 15524864 -->
			<!-- Last LBA : 40561 / Disk Offset: 20767232 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 7CC55197-7E6F-82E8-87E1-563D5E0CB246 -->
			<partition label="abootbak" size_in_kb="5120" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="aboot.mbn"/>

			<!-- #21 -->
			<!-- First LBA: 40562 / Disk Offset: 20767744 -->
			<!-- Last LBA : 40593 / Disk Offset: 20783616 -->
			<!-- SEC partition | Qualcomm -->
			<!-- GUID: 1CE96CD6-0E94-B8A6-7AA1-C0E956264B44 -->
			<partition label="sec" size_in_kb="16" type="303E6AC3-AF15-4C54-9E9B-D9A8FBECF401" bootable="false" system="true" filename="sec.dat"/>

			<!-- #22 -->
			<!-- First LBA: 65536 / Disk Offset: 33554432 -->
			<!-- Last LBA : 67583 / Disk Offset: 34602496 -->
			<!-- USERDATA? partition | Qualcomm -->
			<!-- GUID: 6049FFB4-A241-1E64-A52D-D331F1DE96AE -->
			<partition label="devinfo" size_in_kb="1024" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" filename=""/>

			<!-- #23 -->
			<!-- First LBA: 98304 / Disk Offset: 50331648 -->
			<!-- Last LBA : 100351 / Disk Offset: 51379712 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F945F4D9-2AFE-E7FD-30E6-9DB9B5B246F5 -->
			<partition label="sysinfo" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #24 -->
			<!-- First LBA: 100352 / Disk Offset: 51380224 -->
			<!-- Last LBA : 103423 / Disk Offset: 52952576 -->
			<!-- FSG? partition | Qualcomm -->
			<!-- GUID: 41C5C014-392C-5F78-F89A-EDD12F3AE979 -->
			<partition label="fsg" size_in_kb="1536" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #25 -->
			<!-- First LBA: 103424 / Disk Offset: 52953088 -->
			<!-- Last LBA : 103425 / Disk Offset: 52953600 -->
			<!-- FSC? partition | Qualcomm -->
			<!-- GUID: D43A910F-2DDE-F917-CE67-0B07A529EF0A -->
			<partition label="fsc" size_in_kb="1" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #26 -->
			<!-- First LBA: 103426 / Disk Offset: 52954112 -->
			<!-- Last LBA : 106497 / Disk Offset: 54526464 -->
			<!-- MODEMST1 partition | Qualcomm -->
			<!-- GUID: D0FDED4D-80BE-F93A-6D5A-52079D5F0484 -->
			<partition label="modemst1" size_in_kb="1536" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #27 -->
			<!-- First LBA: 106498 / Disk Offset: 54526976 -->
			<!-- Last LBA : 109569 / Disk Offset: 56099328 -->
			<!-- MODEMST2 partition | Qualcomm -->
			<!-- GUID: 6198D929-EE45-7CD5-8867-E60E657C2E3E -->
			<partition label="modemst2" size_in_kb="1536" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #28 -->
			<!-- First LBA: 109570 / Disk Offset: 56099840 -->
			<!-- Last LBA : 150529 / Disk Offset: 77070848 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: AA1BA3C1-76FE-371E-C243-5AB6BAB5CC4C -->
			<partition label="factory" size_in_kb="20480" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #29 -->
			<!-- First LBA: 150530 / Disk Offset: 77071360 -->
			<!-- Last LBA : 152577 / Disk Offset: 78119424 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 9DDAC82D-E5CF-15BA-03CC-D51C531E3098 -->
			<partition label="asuskey" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #30 -->
			<!-- First LBA: 152578 / Disk Offset: 78119936 -->
			<!-- Last LBA : 154625 / Disk Offset: 79168000 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 11781A73-CC52-DD91-799C-141147F77244 -->
			<partition label="asuskey2" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #31 -->
			<!-- First LBA: 154626 / Disk Offset: 79168512 -->
			<!-- Last LBA : 156673 / Disk Offset: 80216576 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F0F9C704-CA70-89EF-69BB-DDF447A6052A -->
			<partition label="asuskey3" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #32 -->
			<!-- First LBA: 156674 / Disk Offset: 80217088 -->
			<!-- Last LBA : 158721 / Disk Offset: 81265152 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: BE025F45-5053-9019-C38C-FDA6C0A7BCC3 -->
			<partition label="asuskey4" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #33 -->
			<!-- First LBA: 158722 / Disk Offset: 81265664 -->
			<!-- Last LBA : 160769 / Disk Offset: 82313728 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 7E128C31-1912-4D15-D57C-0BFCF24B4F65 -->
			<partition label="asuskey5" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #34 -->
			<!-- First LBA: 160770 / Disk Offset: 82314240 -->
			<!-- Last LBA : 162817 / Disk Offset: 83362304 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: F0C4B9F5-793B-238D-33F4-AAF32F99D649 -->
			<partition label="asuskey6" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #35 -->
			<!-- First LBA: 162818 / Disk Offset: 83362816 -->
			<!-- Last LBA : 164865 / Disk Offset: 84410880 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: E89D3EF6-CB33-52EA-7C34-2662F71DFCE2 -->
			<partition label="persistent" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="persist.img"/>

			<!-- #36 -->
			<!-- First LBA: 164866 / Disk Offset: 84411392 -->
			<!-- Last LBA : 166913 / Disk Offset: 85459456 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 877127A6-1899-3FA7-F643-D15C43A3CDC6 -->
			<partition label="asusgpt" size_in_kb="1024" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #37 -->
			<!-- First LBA: 166914 / Disk Offset: 85459968 -->
			<!-- Last LBA : 168961 / Disk Offset: 86508032 -->
			<!-- MISC? partition | Qualcomm -->
			<!-- GUID: 50E9E594-D40C-A967-7E5D-77688C0232DB -->
			<partition label="misc" size_in_kb="1024" type="82ACC91F-357C-4A68-9C8F-689E1B1A23A1" bootable="false" system="true" filename=""/>

			<!-- #38 -->
			<!-- First LBA: 168962 / Disk Offset: 86508544 -->
			<!-- Last LBA : 169985 / Disk Offset: 87032320 -->
			<!-- KEYSTORE? partition | Qualcomm -->
			<!-- GUID: 1F4F4FB6-1AE4-7750-FE8A-E8445827FDCB -->
			<partition label="keystore" size_in_kb="512" type="DE7D4029-0F5B-41C8-AE7E-F6C023A02B33" bootable="false" system="true" filename=""/>

			<!-- #39 -->
			<!-- First LBA: 169986 / Disk Offset: 87032832 -->
			<!-- Last LBA : 171009 / Disk Offset: 87556608 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 8459F349-95DA-8754-7D83-DA88EC82C29C -->
			<partition label="config" size_in_kb="512" type="91B72D4D-71E0-4CBF-9B8E-236381CFF17A" bootable="false" system="true" filename=""/>

			<!-- #40 -->
			<!-- First LBA: 171010 / Disk Offset: 87557120 -->
			<!-- Last LBA : 171073 / Disk Offset: 87589376 -->
			<!-- LIMITS? partition | Qualcomm -->
			<!-- GUID: 1CB32AE7-D3B2-0DCA-62AB-1F429486C947 -->
			<partition label="limits" size_in_kb="32" type="10A0C19C-516A-5444-5CE3-664C3226A794" bootable="false" system="true" filename=""/>

			<!-- #41 -->
			<!-- First LBA: 171074 / Disk Offset: 87589888 -->
			<!-- Last LBA : 172097 / Disk Offset: 88113664 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 89761C2C-F16A-CCBE-B8DF-2E9EACB7A9E9 -->
			<partition label="mota" size_in_kb="512" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

			<!-- #42 -->
			<!-- First LBA: 172098 / Disk Offset: 88114176 -->
			<!-- Last LBA : 174145 / Disk Offset: 89162240 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 44C8BC50-F5E3-C8AB-B031-3B4DA4E02A4F -->
			<partition label="dip" size_in_kb="1024" type="4114B077-005D-4E12-AC8C-B493BDA684FB" bootable="false" system="true" filename=""/>

			<!-- #43 -->
			<!-- First LBA: 174146 / Disk Offset: 89162752 -->
			<!-- Last LBA : 175169 / Disk Offset: 89686528 -->
			<!-- RPM partition | Qualcomm -->
			<!-- GUID: A2A1B4DA-7A9A-A2A9-BD9E-06A412406A14 -->
			<partition label="syscfg" size_in_kb="512" type="098DF793-D712-413D-9D4E-89D711772228" bootable="false" system="true" filename=""/>

			<!-- #44 -->
			<!-- First LBA: 175170 / Disk Offset: 89687040 -->
			<!-- Last LBA : 183361 / Disk Offset: 93880832 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 3E5B859C-87F9-F44F-B4AF-FD3E7411AD6E -->
			<partition label="mcfg" size_in_kb="4096" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

			<!-- #45 -->
			<!-- First LBA: 183362 / Disk Offset: 93881344 -->
			<!-- Last LBA : 183873 / Disk Offset: 94142976 -->
			<!-- APDP? partition | Qualcomm -->
			<!-- GUID: 64CE8E9B-6BD5-65D6-FA18-DE35AA3ACE70 -->
			<partition label="apdp" size_in_kb="256" type="E6E98DA2-E22A-4D12-AB33-169E7DEAA507" bootable="false" system="true" filename=""/>

			<!-- #46 -->
			<!-- First LBA: 183874 / Disk Offset: 94143488 -->
			<!-- Last LBA : 184385 / Disk Offset: 94405120 -->
			<!-- MSADP? partition | Qualcomm -->
			<!-- GUID: 94A338D0-1CCA-ED45-F908-B3432C7509DA -->
			<partition label="msadp" size_in_kb="256" type="ED9E8101-05FA-46B7-82AA-8D58770D200B" bootable="false" system="true" filename=""/>

			<!-- #47 -->
			<!-- First LBA: 184386 / Disk Offset: 94405632 -->
			<!-- Last LBA : 184401 / Disk Offset: 94413312 -->
			<!-- DPO? partition | Qualcomm -->
			<!-- GUID: B0AFD203-98FF-A023-0BFF-1B2C800C164B -->
			<partition label="dpo" size_in_kb="8" type="11406F35-1173-4869-807B-27DF71802812" bootable="false" system="true" filename=""/>

			<!-- #48 -->
			<!-- First LBA: 184402 / Disk Offset: 94413824 -->
			<!-- Last LBA : 206929 / Disk Offset: 105947648 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: 925F0C39-AAEB-C6C7-241D-CB339029A3EB -->
			<partition label="splash" size_in_kb="11264" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" system="true" filename=""/>

			<!-- #49 -->
			<!-- First LBA: 206930 / Disk Offset: 105948160 -->
			<!-- Last LBA : 211025 / Disk Offset: 108044800 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: D6B09CB7-996A-255B-A2E3-28090441DDB3 -->
			<partition label="abootdebug" size_in_kb="2048" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="abootdebug.mbn"/>

			<!-- #50 -->
			<!-- First LBA: 211026 / Disk Offset: 108045312 -->
			<!-- Last LBA : 214097 / Disk Offset: 109617664 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: CB833D13-6FC2-1913-D705-2AA509CE23E6 -->
			<partition label="fsgCA" size_in_kb="1536" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename=""/>

			<!-- #51 -->
			<!-- First LBA: 214098 / Disk Offset: 109618176 -->
			<!-- Last LBA : 218193 / Disk Offset: 111714816 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 67C0C492-7B70-A035-7EF7-C126DD7AAE03 -->
			<partition label="abootlog" size_in_kb="2048" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" system="true" filename="abootlog.mbn"/>

			<!-- #52 -->
			<!-- First LBA: 229376 / Disk Offset: 117440512 -->
			<!-- Last LBA : 262143 / Disk Offset: 134217216 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 93C351E0-B1EA-B14C-A585-098EE4C90BEA -->
			<partition label="oem" size_in_kb="16384" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #53 -->
			<!-- First LBA: 262144 / Disk Offset: 134217728 -->
			<!-- Last LBA : 393215 / Disk Offset: 201326080 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 352EF6DF-6516-F196-523D-0A926C5490ED -->
			<partition label="asdf" size_in_kb="65536" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #54 -->
			<!-- First LBA: 393216 / Disk Offset: 201326592 -->
			<!-- Last LBA : 425983 / Disk Offset: 218103296 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: F5BBBF6D-2E43-3EDC-EBF5-E3FA2FE6B3BE -->
			<partition label="dsp" size_in_kb="16384" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #55 -->
			<!-- First LBA: 425984 / Disk Offset: 218103808 -->
			<!-- Last LBA : 491519 / Disk Offset: 251657728 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 1E7B17EA-9FC7-49DE-3932-0691D73FA42C -->
			<partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" filename=""/>

			<!-- #56 -->
			<!-- First LBA: 491520 / Disk Offset: 251658240 -->
			<!-- Last LBA : 557055 / Disk Offset: 285212160 -->
			<!-- PERSIST? partition | Qualcomm -->
			<!-- GUID: 7AC33506-AE05-5066-CD2B-1E9A89045844 -->
			<partition label="persist" size_in_kb="32768" type="6C95E238-E343-4BA8-B489-8681ED22AD0B" bootable="false" filename="persist.img"/>

			<!-- #57 -->
			<!-- First LBA: 557056 / Disk Offset: 285212672 -->
			<!-- Last LBA : 622591 / Disk Offset: 318766592 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 942A5A98-D43D-845A-35CA-A440F22E8B63 -->
			<partition label="ftm" size_in_kb="32768" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #58 -->
			<!-- First LBA: 622592 / Disk Offset: 318767104 -->
			<!-- Last LBA : 688127 / Disk Offset: 352321024 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: A1634F47-B80F-C778-B2BC-9095D987928C -->
			<partition label="boot" size_in_kb="32768" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" filename=""/>

			<!-- #59 -->
			<!-- First LBA: 688128 / Disk Offset: 352321536 -->
			<!-- Last LBA : 753663 / Disk Offset: 385875456 -->
			<!-- RECOVERY? partition | Qualcomm -->
			<!-- GUID: 1E7EB10F-5E2A-3C60-B460-E314AA358641 -->
			<partition label="recovery" size_in_kb="32768" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" filename=""/>

			<!-- #60 -->
			<!-- First LBA: 753664 / Disk Offset: 385875968 -->
			<!-- Last LBA : 851967 / Disk Offset: 436207104 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 981C575C-877F-8E57-930A-9A0B996A78CC -->
			<partition label="asusfw" size_in_kb="49152" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #61 -->
			<!-- First LBA: 851968 / Disk Offset: 436207616 -->
			<!-- Last LBA : 884735 / Disk Offset: 452984320 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 4D8BDD9D-08C1-F80B-10FE-39CB04D097DC -->
			<partition label="persdata" size_in_kb="16384" type="7DB6AC55-ECB5-4E02-80DA-4D335B973332" bootable="false" filename=""/>

			<!-- #62 -->
			<!-- First LBA: 884736 / Disk Offset: 452984832 -->
			<!-- Last LBA : 1056767 / Disk Offset: 541064704 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 2AFA0E96-383C-0E15-5CB1-8670EF5EBBC2 -->
			<partition label="modem" size_in_kb="86016" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="NON-HLOS.bin"/>

			<!-- #63 -->
			<!-- First LBA: 1056768 / Disk Offset: 541065216 -->
			<!-- Last LBA : 1122303 / Disk Offset: 574619136 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 383FBD12-CFF4-3137-8F8D-69C49703D8A6 -->
			<partition label="ADF" size_in_kb="32768" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #64 -->
			<!-- First LBA: 1122304 / Disk Offset: 574619648 -->
			<!-- Last LBA : 1548287 / Disk Offset: 792722944 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 76B0ECA5-A079-FC8D-3EDC-0AA860D47AEE -->
			<partition label="APD" size_in_kb="212992" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename=""/>

			<!-- #65 -->
			<!-- First LBA: 1548288 / Disk Offset: 792723456 -->
			<!-- Last LBA : 1810431 / Disk Offset: 926940672 -->
			<!-- CACHE? partition | Qualcomm -->
			<!-- GUID: 7F4EC5DA-3C24-155B-3639-58E5CB1FEAAD -->
			<partition label="cache" size_in_kb="131072" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" filename="cache.img"/>

			<!-- #66 -->
			<!-- First LBA: 1810432 / Disk Offset: 926941184 -->
			<!-- Last LBA : 9674751 / Disk Offset: 4953472512 -->
			<!-- SYSTEM? partition | Qualcomm -->
			<!-- GUID: 0151F7F1-D2B2-E356-C17F-F3A340AEC4F2 -->
			<partition label="system" size_in_kb="3932160" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" filename="system.img"/>

			<!-- #67 -->
			<!-- First LBA: 9674752 / Disk Offset: 4953473024 -->
			<!-- Last LBA : 122142686 / Disk Offset: 62537055232 -->
			<!-- USERDATA? partition | Qualcomm -->
			<!-- GUID: 6CDDD106-8A83-4B64-976B-17EE4AEFC790 -->
			<partition label="userdata" size_in_kb="56233967" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" filename="userdata.img"/>

		</physical_partition>
	</configuration>
I'll be that
guinea pig just tell me what I should do with those files. Been a bit busy so sorry for late reply...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi, if someone here knows how to use the Qualcomm tools or any tool to unbrick my phone, your input will be highly regarded!

    I bricked my ASUS ZE552KL... and I know how : it was full and I started a memory hungry app and it just froze. The app was probably caching some stuff locally. I hold the Power On button to reboot it and it doesn't boot at all (black screen, all LEDs are off, etc). This is known in some articles online as OLD “Qualcomm HS-USB QDLoader 9008” MODE (the worst kind AFAIK). When I connect the phone to my Win7 machine, I have a PORT that opens as “Qualcomm HS-USB QDLoader 9008”. I do not get the Qualcomm disk drive.

    I found this guide (cannot post URL but dotandroid dot com/android-root-guides/unbrick-qualcomm-mobiles) that offered me some hope. I followed the instructions as best as I could. That means I uninstalled all the Qualcomm device on my system, I installed the proper drivers (QualcommDrv/Allx64, I have a 64 bit Windows installation) and the proper version of QFIL (QPST tools). I cannot remove the battery from this phone so I had to skip the "battery removal for 5 secs" step. I tried all kind of key combinations before/while/after plugging the USB cable.

    I got to the point where I try to flash the files from 8675_W00 but the MBN file provided in it (prog_emmc_firehose_8936.mbn + rawprogram0.xml + patch0.xml) but I just cannot get it to work. I get the following error from QFIL:

    Code:
    Sahara Version:0
    Start Sending Programmer
    Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol
       QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)
       QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
    Download Fail:Sahara FailSahara Fail
    Finish Download

    Eventually, I realized that 8936 was the cpu model number and that the ZE552KL model is 8953. I have searched pretty much everywhere on the internet for a prog_emmc_firehose_8953.mbn file but I can't find it.

    I found some documentation on how to make your own mbn file using emmcswdownload.exe but it doesn't work because the partition_boot.xml file I'm using doesn't have the right syntax:

    Code:
    C:\Program Files (x86)\Qualcomm\QPST\bin>emmcswdownload.exe -f 8660_msimage.mbn
    -x partition_boot.xml -s 1G -g 4M
    
    C:\Program Files (x86)\Qualcomm\QPST\bin>-f = 8660_msimage.mbn
    -x = partition_boot.xml
    -s = 1073741824
    -t =
    -f : Beginning image build...
    -x : Parsing partition description file...
    CExParsePartition
    -x : error parsing partition description file: Document error on element type "r
    oot" and name/value "<image> tag no longer supported"

    Conclusion: I'm new to this and I have no idea what I'm doing :)

    Two questions:

    1- Can I recover files from the phone before wiping it while it is in this OLD "Qualcomm HS-USB QDLoader 9008” MODE? I have some pictures and movies from my daughter's birthday that I would like to save, if possible.

    2- How can I resurrect this bad boy? It's under warranty and I didn't mess it further yet so I'll get it replaced if I can't get it to boot but I figured that ZE552KL-specific info was not commonly found on the web... maybe we can fix this thing as a community for future reference!

    Thanks for any help with this matter!
    1
    Hey binarez. There are a couple of devices out there that uses our processor. (my device is bricked as well) one of which is Xiaomi Redmi note4 mido. That's the best option to work with cause Xiaomi utilities Qualcomm edl mode to reprogram their devices. So I'm hoping to use some files from the mido softWare to get my ze552kl repaired.

    Cool, I haven't returned mine for a repair yet, still hoping I can fix it myself. Keep me posted on your progress, I'll take a look myself into this toolkit.
    1
    Cool, I haven't returned mine for a repair yet, still hoping I can fix it myself. Keep me posted on your progress, I'll take a look myself into this toolkit.

    Hey binarez, have you tried the Asus flash tool with the raw firmware? take a look at this and/or this.

    I tried to extract the raw firmware in the hopes of finding the partition and xml files but to no avail.
    1
    Hey binarez, have you tried the Asus flash tool with the raw firmware? take a look at this and/or this.

    I tried to extract the raw firmware in the hopes of finding the partition and xml files but to no avail.

    i have checked the raw file! its all the raw partition images, i believe there are in correct order! i even tried the sd card boot repair with them but it didnt work.the OTA update zip and the raw file combined both have identical files to xiaomi edl firmware pack but files like xml an others are nowhere to be found. which partitions are needed to get our devices to boot into the bootloader?
    1
    I believe you need sbl1 at the least, but possibly some others like rpm, tz, devcfg, and aboot.

    How did you open the .raw firmware? I renamed to zip but only got 800kb of the 4gig image viewable?

    use 7-zip exe, thats what i used to do the extract the raw file! if my memory serves me right, all the files that you have listed are in the raw file, the extracted files are in my hard drive at work, esle i would have sent screenshoot. is it possible for someone to edit the partition file(xml) of the xiaomi mido to match that of the asus ze552kl?