Monday, February 17, 2014

About adb push files to a specified user


posts by asia_deng edited 2013-11-17 18:43:14
Phone Model: nexus4
os: android4.3 third-party systems (aokp), has root
Default on PC adb shell into surper user, that is, display the #

The question is:
Transfer files using adb push to / sdcard / down, the phone is not visible,
After using adb shell on pc into / sdcard only see incoming files,
Other files (folder) sdcard on all.
On the phone with a terminal command no into the next super user mode did not see the file / sdcard / down transmission,
Results and adb shell PC as seen on su enter into super user mode, only to see the incoming file.

Suspect / sdcard directory is to distinguish the user's, pc on push the files to the root user's / sdcard directory of
But the PC can not exit super user (the reason mobile phone system)

Here to ask you, adb push the file can specify which users?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Does not seem right, your sdcard under mnt directory it?
Reply:
cited a floor best_nie reply:
not seem right, your sdcard under mnt directory it?

/ Mnt / sdcard
/ Storage/sdcard0
/ Sdcard
The results are the same
Reply:
No root system before the problem
A few days ago the system so brush up
Adb shell should be used by default root privileges, adb push is the same
Reply:
You try to push into this directory: / storage/emulated/0 /

The android is estimated to see your stuff.

Reply:
references, 4th Floor mountqi reply:
you push to try this directory: / storage/emulated/0 /

The android is estimated to see your stuff.

Yes, thank
I do not know no other root or different models of mobile phones will not do so
Reply:
This depends on the version of Android it, after an estimated 4.3 is the same again. This should not matter and root it.
Reply:
reference to the 6th floor mountqi reply:
this depends on the version of Android it, after an estimated 4.3 is the same again. This should not matter and root it.

Understand, thank you

No comments:

Post a Comment