One other thing -- you can't assume that all devices will have IMEIs.  If a
device doesn't have a phone radio, there is no IMEI for it.

On Sun, Aug 8, 2010 at 6:56 PM, Dianne Hackborn <[email protected]> wrote:

> Root users can do basically anything. :)  And definitely once you can run
> your system image (which on most devices is also available once you have
> root), it would be relatively trivial to return whatever you want IMEI to
> applications as well.
>
> Like the other Settings.Secure things, ANDROID_ID can not be changed by
> third party applications.  You should probably taking the wording as that
> documentation as "engineers hedging their bets" speak.  In fact the purpose
> is that the ANDROID_ID gets assigned by the system at boot, and can not
> change after that unless the user wipes their data -- in which case the next
> boot is a fresh boot and a new ANDROID_ID will generated.
>
> This is very likely what you want.  For example, if I buy a new phone, and
> factory reset my current phone to give to my friend, then my friend should
> be running a phone with its own ID and applications should not be thinking
> it is still me using that phone.
>
> On Sun, Aug 8, 2010 at 8:24 AM, Mark Murphy <[email protected]>wrote:
>
>> On Sun, Aug 8, 2010 at 11:20 AM, Nyll <[email protected]> wrote:
>> > But
>> > there are some posts on the internet showing it is (was?) possible to
>> > spoof ANDROID_ID.
>> >
>> > Is this still the case?  If so, for anybody, or just root users?
>>
>> AFAIK, root users can still modify the database where ANDROID_ID is
>> stored. Non-root users cannot.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _The Busy Coder's Guide to Android Development_ Version 3.1 Available!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to