I have this Ubiquiti firmware and I successfully extract the firmware and rebuild it, I modify Squashfs filesystem and rebuild it using build-firmware.sh script from firmware-mod-kit, but the problem I have is CRC Not the same as the original value, so how can I bypass CRC checksum also what is this "CRC32 polynomial table, big endian"
this output for original firmware
Scan Time: 2016-03-16 11:23:35 Target File: /home/security/Desktop/XW.v5.6.3-beta3.28377.150922.1830_2.bin MD5 Checksum: c7227eeeb31a1c5a8fbcbfc7f70587f0 Signatures: 351 DECIMAL HEXADECIMAL DESCRIPTION ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0 0x0 Ubiquiti firmware header, header size: 264 bytes, ~CRC32: 0xB49B5747, version: "XW.ar934x.v5.6.3-beta3.28377.150922.1830" 260 0x104 Ubiquiti partition header, header size: 56 bytes, name: "PARTu-boot", base address: 0x00000000, data size: 0 bytes 127444 0x1F1D4 Certificate in DER format (x509 v3), header length: 4, sequence length: 64 151956 0x25194 U-Boot version string, "U-Boot 1.1.4-s958 (Jun 10 2015 - 10:56:20)" 152244 0x252B4 CRC32 polynomial table, big endian 222808 0x36658 CRC32 polynomial table, big endian 225032 0x36F08 Ubiquiti end header, header size: 12 bytes, cumulative ~CRC32: 0x454E442E 228848 0x37DF0 Ubiquiti partition header, header size: 56 bytes, name: "PARTkernel", base address: 0x00000001, data size: -2147475456 bytes 228912 0x37E30 uImage header, header size: 64 bytes, header CRC: 0x4A2F55E8, created: 2015-09-22 15:31:31, image size: 952264 bytes, Data Address: 0x80002000, Entry Point: 0x80002000, data CRC: 0x533245A9, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS Ubiquiti Linux-2.6.32.67" 228976 0x37E70 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 2783164 bytes 1181240 0x120638 Ubiquiti partition header, header size: 56 bytes, name: "PARTrootfs", base address: 0x00000002, data size: 0 bytes 1181304 0x120678 Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 5877613 bytes, 1185 inodes, blocksize: 131072 bytes, created: 2015-09-22 15:31:33 7210680 0x6E06B8 gzip compressed data, from Unix, last modified: 2015-09-22 15:30:15 the output for modified firmware is here http://pastebin.com/uWxG59pu
*also can i make fake CRC to look like the original value