Ok, so you're talking about getting past the App side chip detection ... your case 00000000 hack would do it.Vampyre wrote:Good to know about default I can remove the case 000000 then from chipids, Ive started program side adding stuff to pcminfo to get program to change stuff up for p04 and the 4cyl pcm (blue/black) and switch between a read and write kernel, also chip type by osid. Its slow going since I am learning C as I go. Big jump from "Hello world" to this.
For educational purposes, IIRC the hack I did to the App side is hardcode the Chip ID and comment out the Verification ... Plus the previously posted App side stuff.
Something like,
Code: Select all
// Which flash chip?
await this.vehicle.SendToolPresentNotification();
- UInt32 chipId = await this.vehicle.QueryFlashChipId(cancellationToken);
+ UInt32 chipId = 0x00894471;
FlashChip flashChip = FlashChip.Create(chipId, this.logger);
logger.AddUserMessage("Flash chip: " + flashChip.ToString());
Code: Select all
+/*
logger.AddUserMessage("Starting verification...");
CKernelVerifier verifier = new CKernelVerifier(
image,
flashChip.MemoryRanges,
this.vehicle,
this.protocol,
this.logger);
if (await verifier.CompareRanges(
image,
BlockType.All,
cancellationToken))
{
logger.AddUserMessage("The contents of the file match the contents of the PCM.");
}
else
{
logger.AddUserMessage("##############################################################################");
logger.AddUserMessage("There are errors in the data that was read from the PCM. Do not use this file.");
logger.AddUserMessage("##############################################################################");
}
+*/