[HTC Desire 526] BigCountry907:
Putting the files together

Lets start out whit the files that must come from your backup.

THESE FILES SHOULD BE PULLED FROM YOUR DEVICE

In total there are 6 partitions like this.

Here they are.

If you followed my directory structure this is easy.

cp -rf ~/Desktop/526-Completed/A13-Backup/pull/board_info.bin ~/Desktop/526-Completed/Build-Target/board_info.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/cdma_record.dd ~/Desktop/526-Completed/Build-Target/cdma_record.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/mfg.bin ~/Desktop/526-Completed/Build-Target/mfg.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/modem_st1.img ~/Desktop/526-Completed/Build-Target/modem_st1.img
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/modem_st2.img ~/Desktop/526-Completed/Build-Target/modem_st2.img
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/Rfg_0.dd ~/Desktop/526-Completed/Build-Target/rfg_0.bin

THESE FILES SHOULD BE FROM MY S-OFF BACKUP

There are 7 partitions total. + the 4 Light yellow. There logs and eventually we want to clear them.

For now use the files from my backup.

If you followed my directory structure this is easy.

cp -rf ~/Desktop/526-Completed/A13-Backup/pull/cota.img ~/Desktop/526-Completed/Build-Target/cota.img
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/devlog.dd ~/Desktop/526-Completed/Build-Target/devlog.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/fataldevlog.dd ~/Desktop/526-Completed/Build-Target/fataldevlog.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/misc.nb0 ~/Desktop/526-Completed/Build-Target/misc.nb0
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/persist.img ~/Desktop/526-Completed/Build-Target/persist.img
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/pg1fs.dd ~/Desktop/526-Completed/Build-Target/pg1fs.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/pg2fs_ship_signkey.img ~/Desktop/526-Completed/Build-Target/pg2fs.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/ramdump.dd ~/Desktop/526-Completed/Build-Target/ramdump.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/sec.dd ~/Desktop/526-Completed/Build-Target/sec.dat
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/vzw_logger.dd ~/Desktop/526-Completed/Build-Target/vzw_logger.bin
cp -rf ~/Desktop/526-Completed/A13-Backup/pull/vzw_quality.dd ~/Desktop/526-Completed/Build-Target/vzw_quality.bin

THESE FILES SHOULD BE FROM THE RUU

There are 14 partitions all together. (System and Data we need sparse)

We will be using the ruu files for these.

If you followed my directory structure this is easy.

cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/aboot_signed.img ~/Desktop/526-Completed/Build-Target/aboot.mbn
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/apppreload.img ~/Desktop/526-Completed/Build-Target/appreload.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/boot_signed.img ~/Desktop/526-Completed/Build-Target/boot.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/hosd_signed.img ~/Desktop/526-Completed/Build-Target/hosd.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/radio.img ~/Desktop/526-Completed/Build-Target/NON-HLOS.mbn
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/recovery_signed.img ~/Desktop/526-Completed/Build-Target/recovery.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/rfg_1.img ~/Desktop/526-Completed/Build-Target/rfg_1.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/rfg_2.img ~/Desktop/526-Completed/Build-Target/rfg_2.img
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/rpm-8909-1.img ~/Desktop/526-Completed/Build-Target/rpm.mbn
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/sbl1-8909-1.img ~/Desktop/526-Completed/Build-Target/sbl1.mbn
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/splash1.nb0 ~/Desktop/526-Completed/Build-Target/splash1.nb0
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/tz-8909-1.img ~/Desktop/526-Completed/Build-Target/tz.mbn
cp -rf ~/Desktop/526-Completed/A13-Backup/RUU/ROM/firmware/wcnss.img ~/Desktop/526-Completed/Build-Target/wcnss.mbn

We made SYSTEM and USERDATA Sparse

We need the sparse images we generated in a earlier post.

cp -rf ~/Desktop/526-Completed/Convert-Sparse/system_sparse.img ~/Desktop/526-Completed/Build-Target/system.img
cp -rf ~/Desktop/526-Completed/Convert-Sparse/userdata_sparse_new.img ~/Desktop/526-Completed/Build-Target/userdata.img

Alright lets count our partitions.

There are 65 total.

Subtract the empty zero partitions.

There are 33 empty partitions.

we should have 32 files total.

We have the right number of files.

:good::cowboy: