View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#105
Originally Posted by egoshin View Post
Do you know the way to read IMEI by non-root application in N900?
sysinfo-tool -g /certs/npc/esn/gsm

And the DBus equiv.: run-standalone.sh dbus-send --print-reply --type=method_call --system --dest=com.nokia.SystemInfo /com/nokia/SystemInfo com.nokia.SystemInfo.GetConfigValue string:"/certs/npc/esn/gsm" (returned as an array of bytes)

sysinfo also has a library (libsysinfo0) with no publicly released headers that Nokia apps can use to access sysinfo directly. With all that said, however, I dunno if the phone daemons use sysinfod

http://talk.maemo.org/showthread.php?t=34058 also discusses getting it from the GSM daemon itself.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: