Sujet : Re: How to delete Google Discover from both your user & work profile
De : marion (at) *nospam* facts.com (Marion)
Groupes : comp.mobile.androidDate : 22. Mar 2025, 06:12:43
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <vrlgs9$1tcj$1@nnrp.usenet.blueworldhosting.com>
References : 1 2 3
User-Agent : tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
On Fri, 21 Mar 2025 09:07:52 +0000, Andy Burns wrote :
It appears that "users" in Android seem to have been around for years.
AFAIK every app installed gets its own filesystem, with its own user as the owner of the filesystem and processes, user 0 presumably being root.
Hi Andy,
You know Android better'n I do. I was kind of sort of aware that every app
gets its own filesystem (although I might not have stated it that way).
The way I'd put it is each app gets its own dedicated directory within the
/data/data/ partition and each app gets assigned a unique user id (UID).
Apps therefore run under their own unique UIDs, which are different from
both user 0 and the Linux root user (UID 0) which I had to look up to be
sure.
To clarify, apparently "UID 0" is root while "user 0" is the "Owner" of the
device (which, by definition, is the first user created on the device).
This command reports the Android user (or Owner) of the device.
C:\> adb shell am get-current-user
0
C:\> adb shell pm list users
Users:
UserInfo{0:Owner:c13} running
UserInfo{11: Island :10b0}
UserInfo{0:Owner:c13} is apparently the primary user profile as "Owner" is
apparently the standard name for the main user on an Android device where
"c13" indicates the user is based on Android 13.
UserInfo{11: Island :10b0} indicates a work profile created by Insular
where the name "Island" is what Insular labels the created work profile. We
can ignore that profile for this discussion.
So we have to be careful how we state "User 0" which is different from "UID
0", one being the owner of a non-rooted device, and the other being root.
To look at the UID of any given package, let's take aurora store.
C:\> adb shell pm list packages | findstr aurora
package:com.aurora.store
C:\> adb shell dumpsys package com.aurora.store | findstr userId
userId=10803
This apparently means that all files and processes associated with the
Aurora Store are owned by UID 10803, which isolates them from other apps.
In summary, your sentence I'm responding to confused me, but it was
completely correct up until you mentioned root. I can't verify that part.