Skip to main content
10 events
when toggle format what by license comment
Apr 13, 2017 at 12:18 history edited CommunityBot
replaced http://android.stackexchange.com/ with https://android.stackexchange.com/
Sep 16, 2015 at 4:49 vote accept lofidevops
Dec 4, 2014 at 13:56 comment added Izzy When you adb shell, you're the user shell. Almost all users on Android correspond to some app, root being an exception – so you can think of it as being in the realms of the "shell" app. Switching to a different user might be restricted to root again (I have to admit I never tried, so I cannot be sure about that). But yes, having root makes many things a lot easier :)
Dec 4, 2014 at 13:53 comment added lofidevops thanks re rooting :) just to check I'm not being dumb: when I adb shell I am not picking a user (like when you ssh user@host) - I did try running am pick-user 10 once on the shell, but that had no noticeable effect - but it sounds like rooting solves all problems :)
Dec 4, 2014 at 13:50 comment added Izzy When logged in with the secondary user, emulated/ should point to the secondary user's data. No way to access all without root. And correct, there's no official process to root your device; you might want to check our rooting tag-wiki and rooting index to check for generals and for your device. If not listed, be welcome to ask a new question for this.
Dec 4, 2014 at 13:46 comment added lofidevops but I can confirm this: reboot device, don't log in as owner, log in as secondary, hook up usb, access via MTP: can see secondary user folder, access via adb shell: can see /storage/emulated/legacy as owner user (not secondary user) - no other folders appear under /storage/emulated
Dec 4, 2014 at 13:45 comment added lofidevops it isn't (a bit scared to, seems like there is no reliable process?)
Dec 4, 2014 at 13:37 comment added Izzy As I wrote: "you might need to be root" (which explains the "permission denied"). Is your device rooted?
Dec 4, 2014 at 12:18 comment added lofidevops this helps me understand what I should see, but what I actually see is just /storage/emulated/legacy (no numeric folders) and I don't have access to /data/media (permission denied) - I'm going to try restarting and never logging in as owner
Dec 4, 2014 at 12:03 history answered Izzy CC BY-SA 3.0