$ cd /sdcard
$ ls
...
...
...
$ su
# cd /sdcard
# ls
#
Does anyone have an explanation for this error?
I have android 4.4.2 and a blackview crown.
Thanks for help
@r4c0r,
Try it like this, instead:
Code:
$ su
# ls /sdcard
Related
Hello, i am trying to boot debian on my nexus one the guide i am using is telling me to run these commands
$ adb remount
$ adb install vnc.apk
$ adb install swapper.apk
$ adb shell
# cd /sdcard/debian
# su
# sh ./debian.sh
# exit (repeat until out of adb)
I am getting to the point where i type the command # cd /sdcard/debian but it tells me cd: can't cd to /sdcard/debian. Anyone know what i am doing wrong? Thanks...
btw i am using ubuntu
Hello,
I have a Samsung Captivate running the I9000XWJM2 Firmware on the stock kernel with Samset 1.7 ROM installed. Rooted with busybox. I've noticed that intermittently my ADB Shell will just quit. I was tinkering with the userinit.sh hack to a2sd my phone when it stopped giving me any output. Is this a known issue and is there a repair action other than reflashing the phone?
Here is an example:
C:\Program Files (x86)\Android-SDK\tools>adb shell
$ su
su
# ls
ls
# pwd
pwd
/
# busybox --help
busybox --help
# cd /system
cd /system
# pwd
pwd
/system
# ls
ls
# ls -al
ls -al
# mount
mount
# busybox mount
busybox mount
Click to expand...
Click to collapse
Any guidance would be greatly appreciated. I really don't want to rebuild my phone again.
My root had somehow broken. Re-applying the root update.zip seems to have repaired the issue.
I am trying to diagnose my alarm manager service high wakelocks, which i found out thanks to betterbatterystats. I only have my s3 and asus transformer for computers, no windows machine. I am on synergy 1.7 and imoseyon kexec kernel beta 0.1. I read dumping alarm to a text file yoy can diagnose this.
Here is what happens
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # mount -o remount,rw /system
[email protected]:/ # dumpsys alarm > alarmdump.txt
sh: cannot create alarmdump.txt: Read-only file system
1|[email protected]:/ #
Is doing this possible with terminal emulator?
I got it, just got to change to sdcard with cd.. enter then cd sdcard enter
My problem is that when I run the terminal as super user it's can't read sdcard it's give me nothing .
This is the commands
===========================
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # ls
[email protected]:/sdcard #
===========================
But without running as super user give me
===========================
[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ ls
Alarms
Android
Application
DCIM
Documents
Download
INDI
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
SMemo
SecretBox
ShareShot
Subtitles
UCDownloads
WhatsApp
comquoordtapatalkxdapreactivity
data
media
viber
[email protected]:/sdcard $
=============================
I've rooted my phone with CF-Auto-Root-Chainfire
Please what is the solution.
Strange behaviour try adb shell then su then ls /sdcard/ or you can try other way rather then /sdcard.. Do ls on root folder there is another mount point of sdcard as well like /dev/sdcard or /block/legacy/0 something like that.. Dont remembered the excact partition name but it is there..
Trying to deodex my apks, they're deodexed but I can't push them into the /system/app folder
Code:
C:\Users\Terrence\AppData\Local\Android\android-sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\Users\Terrence\AppData\Local\Android\android-sdk\platform-tools>adb push C:\U
sers\Terrence\deodexed_apps /system/app/
push: C:\Users\Terrence\deodexed_apps/YahoostockWidget.apk -> /system/app/Yahoos
tockWidget.apk
failed to copy 'C:\Users\Terrence\deodexed_apps/YahoostockWidget.apk' to '/syste
m/app/YahoostockWidget.apk': Permission denied
Phone is rooted according to RootChecker. No Knox or anything else like that. Android 4.1.