[HTC Desire 526] BigCountry907:
Putting it all together

Setting up the Build Folder

After completing the above process we can begin the next step.

We have our partition.xml file.

We know what every partition is about.

We decided what files to use.

Step #1 Put it all in one folder. :laugh::rolleyes::cowboy::cowboy:

As i have mentioned many times.

I hope you followed my directory structure.

If you didn't have fun finding all your files and getting them in the build.

If you did THIS WILL BE EASY.

Create the build folder

mkdir /Desktop/526-Completed/Build-Target

Putting the right files in the build folder

The uses for our spreadsheet are limitless.

We color coded everything for a reason. REMEMBER.

Lets look at our spreadsheet.

Put the finished GENERATOR Spreadsheet in the build folder

The completed generator should be here.

~/Desktop/526-Completed/Build-Target/Partition-XML-Generator_release1.ods

AND OF COURSE LOOK AT THE PARTITION.XML OUTPUT

<partition label="board_info" size_in_kb="16" type="7696d5b6-43fd-4664-a228-c563c4a1e8cc" bootable="false" readonly="false" filename=""/>
<partition label="pg1fs" size_in_kb="4096" type="2644bcc0-f36a-4792-9533-1738bed53ee3" bootable="false" readonly="false" filename=""/>
<partition label="sbl1" size_in_kb="1024" type="dea0ba2c-cbdd-4805-b4f9-f428251c3e98" bootable="false" readonly="false" filename="sbl1.mbn"/>
<partition label="reserve_1" size_in_kb="27615" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="mfg" size_in_kb="256" type="0d802d54-058d-4a20-ad2d-c7a362ceacd4" bootable="false" readonly="false" filename=""/>
<partition label="pg2fs" size_in_kb="24255" type="dd7c91e9-38c9-45c5-8a12-4a80f7e14057" bootable="false" readonly="false" filename="pg2fs.bin"/>
<partition label="rpm" size_in_kb="256" type="098df793-d712-413d-9d4e-89d711772228" bootable="false" readonly="false" filename="rpm.mbn"/>
<partition label="tz" size_in_kb="2048" type="a053aa7f-40b8-4b1c-ba08-2f68ac71a4f4" bootable="false" readonly="false" filename="tz.mbn"/>
<partition label="aboot" size_in_kb="4096" type="400ffdcd-22e0-47e7-9a23-f16ed9382388" bootable="false" readonly="false" filename="emmc_appsboot.mbn"/>
<partition label="sp1" size_in_kb="10240" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="splash1.nb0"/>
<partition label="ddr" size_in_kb="32" type="20a0c19c-286a-42fa-9ce7-f64c3226a794" bootable="false" readonly="false" filename=""/>
<partition label="rfg_0" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_1" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="rfg_1.bin"/>
<partition label="rfg_2" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="rfg_2.bin"/>
<partition label="rfg_3" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_4" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_5" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_6" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_7" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="fsg" size_in_kb="1536" type="2013373e-1ac4-4131-bfd8-b6a7ac638772" bootable="false" readonly="false" filename=""/>
<partition label="radio" size_in_kb="60417" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="NON-HLOS.bin"/>
<partition label="tool_diag" size_in_kb="10240" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="wcnss" size_in_kb="5120" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="wcnss.img"/>
<partition label="limits" size_in_kb="1" type="10a0c19c-516a-5444-5ce3-664c3226a794" bootable="false" readonly="false" filename=""/>
<partition label="reserve_2" size_in_kb="4383" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="misc" size_in_kb="1024" type="e2802d54-0545-e8a1-a1e8-c7a3e245acd4" bootable="false" readonly="false" filename="misc.nb0"/>
<partition label="debug_config" size_in_kb="4" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="modem_st1" size_in_kb="1536" type="ebbeadaf-22c9-e33b-8f5d-0e81686a68cb" bootable="false" readonly="false" filename=""/>
<partition label="modem_st2" size_in_kb="1536" type="0a288b1f-22c9-e33b-8f5d-0e81686a68cb" bootable="false" readonly="false" filename=""/>
<partition label="pdata" size_in_kb="256" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="persist" size_in_kb="22528" type="6c95e238-e343-4ba8-b489-8681ed22ad0b" bootable="false" readonly="false" filename="persist.img"/>
<partition label="sec" size_in_kb="16" type="303e6ac3-af15-4c54-9e9b-d9a8fbecf401" bootable="false" readonly="false" filename="sec.dat"/>
<partition label="cdma_record" size_in_kb="1024" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="fsc" size_in_kb="1" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="ssd" size_in_kb="8" type="2c86e742-745e-4fdd-bfd8-b6a7ac638772" bootable="false" readonly="false" filename=""/>
<partition label="rfg_8" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_9" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_10" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_11" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_12" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_13" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_14" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="rfg_15" size_in_kb="128" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="control" size_in_kb="16" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="extra" size_in_kb="64" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="local" size_in_kb="1281" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="skylink" size_in_kb="256" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="carrier" size_in_kb="40960" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="frp" size_in_kb="512" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="vzw_quality" size_in_kb="16384" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="vzw_logger" size_in_kb="16384" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="fataldevlog" size_in_kb="20480" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="devlog" size_in_kb="30720" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="ramdump" size_in_kb="10240" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="battery" size_in_kb="10240" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="absolute" size_in_kb="16384" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="reserve" size_in_kb="3730" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="hosd" size_in_kb="49152" type="20117f86-e985-4357-b9ee-374bc1d8487d" bootable="false" readonly="false" filename="hosd.img"/>
<partition label="boot" size_in_kb="32768" type="20117f86-e985-4357-b9ee-374bc1d8487d" bootable="false" readonly="false" filename="boot.img"/>
<partition label="recovery" size_in_kb="32768" type="20117f86-e985-4357-b9ee-374bc1d8487d" bootable="false" readonly="false" filename="recovery.img"/>
<partition label="cache" size_in_kb="262144" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename=""/>
<partition label="system" size_in_kb="2621440" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="system.img" sparse="true"/>
<partition label="cota" size_in_kb="5120" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="cota.img"/>
<partition label="apppreload" size_in_kb="5120" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="apppreload.img"/>
<partition label="userdata" size_in_kb="4194304" type="ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" bootable="false" readonly="false" filename="userdata.img" sparse="true"/>

WE NEED A FILE FOR EVERY PARTITION

As we went through before. We will have a file for every partition.

Even if the filename is set to none.

THE ROM FILES WILL COME FROM 5 MAIN SOURCES

#1 The Backups that came from YOUR Device

#2 The Backups that came from A S-off Device (Better but not required):cool:

#3 The files from the DECRYPTED RUU Unlock-able Version

#4 The files from a template ROM of close VERSION and same ChipsetFastboot Rom / Service Rom

(Userdebug or Engineering Version Preferred)

#5 The files from the QC Board Support Package & CAF SourcesVery Hard to Get BSP

THE TOOLS WILL COME FROM

#6 Public Released Tools For Public Development Boards LOOK AT DIFFERENT DEVELOPMENT BOARDS

Most of the time you can find building manuals and Board Support Packages for Development Boards.

This is the best source to get publicly released Qualcomm Proprietary Tools.

Places like this.

http://www.96boards.org/db410c-getting-started/

http://www.96boards.org/product/dragonboard410c/

http://www.96boards.org/db410c-getting-started/Downloads/Android.md/

https://github.com/dtsinc

http://ardupilot.org/copter/docs/common-qualcomm-snapdragon-flight-kit.html

Places like that are invaluable resources

Look around and download stuff.

You never know what you will find.

Even the FCC has very hard to get documentation publicly available.

CHECK OUT THIS FIND

https://fccid.io/pdf.php?id=2969258

Go have some fun. I will be back later to continue the next step.:cowboy: