[HTC Desire 526] BigCountry907:
Ok so we need to add a little more data. We are missing the size of each partition.

We also need to look at all the file names.

We have to decide what file names to use for the files we will flash.

We have to decide what partitions don't need a file flashed.

We have to look if there are any read only partitions

We have to determine if we will use any sparse images.

:confused::confused::confused::confused::confused::confused:

Don't worry this is easier than you think. Lets get started. :laugh:

Scroll over to the right hand side of the generator.

You will see this area where we need to put some more data.

We have prepared a text file that contain the data we need for the sizes.

The RUU also contains a file that has the size and name information. ( WE Will Use it too)

We will use the text files just like in the previous post.

The files we need are.

~/Desktop/526-Completed/Get-GPT_Info/Partitions.txt
~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/partition_info

Open both of these files in a text editor.

Lets start with ~/Desktop/526-Completed/Get-GPT_Info/Partitions.txt

Steps to get the data into our spreadsheet.

You can reference the last exercise if you need to. We are doing the same thing with these files.

Step No. 1

Open a new empty spreadsheet.

Don't close the generator spreadsheet.

If you haven't saved the generator spreadsheet you better do it now.

Step No. 2

Open ~/Desktop/526-Completed/Get-GPT_Info/Partitions.txt in a text editor.

Delete the first 2 lines of the file.

Step No. 3

Right Click and pick SELECT ALL

Right Click and Pick Copy

In the new spreadsheet you opened click cell A1.

Right Click and select paste.

Step No. 4

Adjust the format like the following.

Click SEPERATED BY SPACE

Click MERGE DELIMITERS

Highlight all of the STANDARD and then pick TEXT

Click ok and your all set.

Step No. 5

Click cell D1

scroll to the last mmcblk entry in column D

It is cell #D67

Hold the shift button and click cell D67.

Right Click and select copy.

Step No. 6

Go to the generator spreadsheet.

Click on cell AF4 under No. Blocks in KB

Right click and choose PASTE ONLY and then TEXT.

Double check that the right sizes line up with the correct mmcblk labels

GET DATA FROM THE RUU

~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/partition_info

Step No. 1

Open a new empty spreadsheet.

Don't close the generator spreadsheet.

If you haven't saved the generator spreadsheet you better do it now.

Step No. 2

Go to the ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/partition_info FILE

Delete the first line

Right click SELECT ALL

RIGHT CLICK COPY

Step No. 3

Go to the empty spreadsheet.

Select cell A1

Right Click and select paste.

Step No. 4

Set the formatting like below and click ok.

Step No. 5

In the spreadsheet where we pasted the data scroll down to the end of the data.

You will see a row that says ###Last###

We need to delete that row.

Right click on the row number and select DELETE ROW

Step No. 5

The spreadsheet should look like this now.

Step No. 6

Select all the numbers in column C

Right Click and select copy

You should have 65 rows selected in total

Step No. 7

Go to the generator and pick cell AI15

right click pick PASTE ONLY then pick TEXT

Step No. 8

Go to the data spreadsheet

Select all the File Names in column B

Right Click and select copy

You should have 65 rows selected in total

Step No. 9

Go to the generator and scroll to the right a little.

Click on cell AP5

Right click and pick PASTE ONLY then pick TEXT

The generator should now have all the data.

THATS JUST ABOUT IT

We need to review the file names.

We need to get the starting and ending LBA / Sectors.

We need to double check Read Only Flags

We need to double check Sparse Flags

We will go over all this in the next post.

Anyway we have a partition xml output that doesn't look too bad already.

Scroll over to the right in the generator

You will find the line by line partition.xml data for each partition.

The lines are in the correct order.

After we review the rest of the generator we can copy and paste the lines into the partition.xml file. :good::cowboy:

WAHOOOOOOOOOOOOOOOO!!!!!!!!!! :victory::cool: