Use the RIL_SendRestrictedSimCmd function to read a transparent (binary) file larger than 255 bytes instead of SimReadRecord. To do this, set the dwCommand parameter to RIL_SIMCMD_READBINARY. When populating the lpParameters parameter, set dwParameter1 to the high offset of the data to be read, set dwParameter2 to the low offset of the data to be read and set dwParameter3 to the length, in bytes, of the data to be read.
The RIL proxy translates the RIL_SendRestrictedSimCmd function into IOCTL_RIL_SendRestrictedSimCmd when the RIL proxy calls RIL_IOControl.