--- nagra2.c 2007-02-15 13:49:34.000000000 -0500 +++ nagra2.c.6.1.bevfix.3.4.7.c 2007-03-04 19:38:30.000000000 -0500 @@ -571,6 +571,21 @@ DES_ECB2_ENCRYPT(&emmdata[i+7+8],&emmdata[i+7+8],ks1,ks2,DES_DECRYPT); } cSoftCAM::FoundKey(); + // Here is my working Bev Autoroll patch: Killer 3-4-7 + printf("%d",id); //This was // out + if (id==0x901) { + printf("New Bev Key Math\n"); //This was // out + for (int z=0; z<16;z++) + { + unsigned char work = emmdata[z+i+7]; + if ( (work & 0x40) !=0 ) + work = work & 0xBF; + else + work = work | 0x40; + emmdata[z+i+7] = work; + } + } + // end patch 3-4-7 if(keys.NewKey('N',id,(emmdata[i+3]&0x40)>>6,&emmdata[i+7],16)) cSoftCAM::NewKey(); cSoftCAM::Save(); }