We need to create a text file of the gpt_main0.bin so we can copy the data into our spreadsheet. So we know we have a good GPT Partition Table. But that doesn't mean that all manufactures follow the standard even though there required to. Most GPT partition tables should have the same format. ![]() Open the gpt_main0.bin in a hex editor and take a look at it. Now that we have the gpt_main0.bin and gpt_both0.bin we can start using the spreadsheet to make the partition.xml When your all done the terminal will look like this. Lets copy the primary gpt into the TARGET folder.Ĭp -rf ~/Desktop/Create-Part/ROM/PrimaryGPT_0.bin ~/Desktop/Create-Part/TARGET/gpt_main0.bin ![]() mkgpt -i ~/Desktop/Create-Part/ROM/PrimaryGPT_0.bin -o ~/Desktop/Create-Part/TARGET/gpt_both0.bin Make one more folder inside Create-Part folder called TARGETĪfter you have done that open up a terminal window in LINUX. Make a folder inside the Create-Part folder called ROM and copy all the files from the extracted. Make a folder on your desktop called Create-Part and extract copy the tools there. So we have gpt_main0.bin how do we make gpt_both0.bin or the gpt_backup0.bin? kdz file to gpt_main0.bin they are exactly the same. If you renamed the PrimaryGPT_0.bin from the. ![]() You will also find the gpt_both0.bin in the unbrick roms along with gpt_main0.bin and gpt_backup0.bin. That would write the partition info to the emmc of the device. Gpt_both0.bin is a special format file for GPT that can be used with fastboot Just pay close attention to my instructions. Then I will show you how to use the spreadsheet and the PrimaryGPT_0.bin to make the dreaded Partition.xmlĭon't worry its easier than you think. Next I will show you how to use a couple of the tools. So you can get a feel for whats going on. Read them all and actually do them even though you dont have a dragonboard. These tools apply to all the qualcomm chips. These files are the main gpt and the backup gpt.īut at any rate. These are the files that you can parse with parsebinarypartition.bl and other similar tools. The files we have now are the same as what we would have if we used DD to pull a backup from the device. Now that we have the factory flash files we can actually get something done. ![]() kdz the only tool that worked on this rom was the version What a PITA.įor anyone trying to unpack the. Please hold off on posting until I let you know I am finished with the tutorial. I will go over the process of filling in the data you need to generate the partition.xml YOU MAY BE ABLE TO DO THIS IN WINDOWS BUT I RECOMMEND NOT TOO.ĭownload and unzip the generator spreadsheet. YOU CAN USE THE SPREADSHEET IN WINDOWS IF YOU INSTALL OPEN OFFICE ( IT'S FREEWARE) YOU CAN USE A UBUNTU BOOTABLE CDROM OR USB FLASH DRIVE. THIS PROCESS REQUIRES A LINUX OPERATING SYSTEM ( NO WINDOWZ ) There is still a process that must be followed in order to do this correctly. I have created a OPEN OFFICE CALC spreadsheet to create the data you need to put in the partition.xml file automatically. I have not found any python or bash scripts that will create the partition.xml.Īnd many of the Qualcomm Proprietary tools floating around are out of date and no longer apply. Creating the partition.xml file is key for building unbrick Roms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |