For IMEI, u can try to use TPlpVariant Class. Look at the example on Sysinfo.
Example:
TBuf<64> iVersion;
_LIT( KStringFormat, "%S\n%S" );
_LIT(KTitle, "IMEI number" );
TPlpVariantMachineId id;
PlpVariant::GetMachineIdL( aId )
iVersion.Format( KStringFormat, &KTitle, &id );
TPlpVariant runs on 6630 but this class was removed from SDK 2.6...
I need some special features from this SDK, so it's not possible to downgrade to SDK 2.1.
Maybe, anybody has written a DLL to get some Phone informations, written with an old SDK - either I will write it myself.