ntfs-3g-mount: mount failed: Permission denied - Samsung Galaxy S7 Edge Questions and Answers

Hi!
I am trying to mount NTFS with ntfs-3g
I have root terminal open.
I write:
ntfs-3g /dev/block/sde1 /sdcard/ntfs
The path /sdcard/ntfs exists
I get error:
ntfs-3g-mount: mount failed: Permission denied.
What should I do?

Related

[Q] installing backtrack 5 with androidVNC

I am currently trying to install bt5 using the instructions I found here on xda.
I have successfully rooted the a500 tablet (or at least ever check I can perform says so)
I have busybox installed from the market
I have supersu (after starting with superuser)
I have ES File explorer and can even go root R/w with it
but when performing the steps in the aforementioned tutorial this is what happens
Code:
[email protected]:/ $ su
[email protected]:/ # cd sdcard/bt5
[email protected]:/sdcard/bt5 # sh bootbt
mount: permission denied (are you root?)
Loop device exists
mount: mounting devpts on /data/local/mnt/dev/pts failed: Input/output error
mount: mounting sysfs on /data/local/mnt/sys failed: Input/output error
net.ipv4.ip_forward = 1
chroot: can't execute '/bin/bash': Input/output error
Shutting down BackTrack ARM For Xoom
failed: I/O error
failed: I/O error
is there somthing I am not catching here, something I should be looking for

Root LG G2 Korean Version

Hi I followed the method here: http://forum.xda-developers.com/showpost.php?p=48709232 and http://forum.xda-developers.com/showthread.php?p=45692679#post45692679
Unfortunately, the automatic rooting is not working, its say something see AUTOROOT MESSAGE BELOW . So I took the manual method but on Step 12:
12: adb shell "sync;mount -o remount,ro /system"
It says mount: Device or resource busy
So what should I do? Thanks
====AUTOROOT MESSAGE =======================================================================
Mounting system, pushing su binary and installing SuperSu...
2244 KB/s (1085140 bytes in 0.472s)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/daemonsu': Read-only file system
cp: can't stat '/system/xbin/daemonsu': No such file or directory
failed to copy 'install-recovery.sh' to '/system/etc/install-recovery.sh': Read-
only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to open /system/xbin/su: No such file or directory
Rebooting Phone.
***************************************************
***************************************************
You should hopefully now be fully rooted!!
Wait for your device to reboot and continue
with ioroot script to backup EFS...
***************************************************
***************************************************
/sdcard/modemst1.img: cannot open for write: Read-only file system
/sdcard/modemst2.img: cannot open for write: Read-only file system
remote object '/sdcard/modemst1.img' does not exist
remote object '/sdcard/modemst2.img' does not exist

Complete Linux Installer

When I open complete linux installer and click launch kali linux I get error:
Checking loop device ...found
mount: mouting /storage on /data/local/mnt/external_sd failed: invalid argument
no user defined mount points
net.ipv4.ip_forward =1
chroot: can't execute '/root/init.sh' permission denided
shutting down Linux ARM
umount: can't umount /data/local/mnt/external_sd: invalid argument
umount: can't umount /data/local/mnt/dev :invalid argument
SELinux mode changer=Permissive: http://postimg.org/image/aqcx9x8ob/
SELinux mode changer=Enforcing: http://postimg.org/image/mp3aq0r3f/

Root method for all original note 7's

This is the Root method for any and all original Explode 7's.
This works for all note 7 phones running on any and all firmware,(death updated firmwares as well) the only note 7 this method will not work for is the Note7FE. ENJOY!!
https://www.alliancex.org/viewtopic.php?p=16685#p16685
Anyone tried this yet?
rc0310 said:
Anyone tried this yet?
Click to expand...
Click to collapse
it works 100%, doesnt trip knox and no chance of bricking whatsoever
Work on Note 7 with FE Firmware?
Anybody has a copy of the N930W8VLU3APL1 firmware? Just the system.img would work too
DakiX said:
Work on Note 7 with FE Firmware?
Click to expand...
Click to collapse
does not work on the FE because the FE is not dirtycow vulnerable.
akiraO1 said:
This is the Root method for any and all original Explode 7's.
This works for all note 7 phones running on any and all firmware,(death updated firmwares as well) the only note 7 this method will not work for is the Note7FE. ENJOY!!
https://www.alliancex.org/viewtopic.php?p=16685#p16685
Click to expand...
Click to collapse
Hi, what features will stop working after root?
I assume android pay. What about s health, secure folder?
Sent from my SM-N930W8 using Tapatalk
You're in luck.
ARNOB said:
Anybody has a copy of the N930W8VLU3APL1 firmware? Just the system.img would work too
Click to expand...
Click to collapse
Yes i do have it and yes you definitely know by now it's nowhere to be found...100 bucks and ita yours.
C:\Users\User>adb shell
adb server is out of date. killing...
* daemon started successfully *
[email protected]:/ $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
[email protected]:/ $ u:r:dnsmasq:s0
/system/bin/sh: u:r:dnsmasq:s0: not found
127|[email protected]:/ $ cd /data/local/tmp/super-chris/
[email protected]:/data/local/tmp/super-chris $ touch file
[email protected]:/data/local/tmp/super-chris $ echo FFFFFFFF >> root.sh
[email protected]:/data/local/tmp/super-chris $ chmod 777 *
cho u:r:init:s0 > /proc/self/attr/current <
cho u:r:init:s0 > /proc/self/attr/exec <
data/local/tmp/super-chris/root.sh <
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
Usage: mount [-r] [-w] [-o options] [-t type] device directory
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
chmod: chmod '/data' to 40777: Permission denied
dd: /data/su.img: Permission denied
dd: /cache/su.img: Permission denied
/data/local/tmp/super-chris/root.sh[36]: e2fsck: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[37]: resize2fs: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[38]: e2fsck: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[39]: resize2fs: can't execute: Permission denied
dd: /sbin/su: Permission denied
dd: /sbin/daemonsu: Permission denied
dd: /sbin/sukernel: Permission denied
dd: /sbin/sush: Permission denied
dd: /sbin/supolicy: Permission denied
dd: /sbin/app_process: Permission denied
dd: /sbin/libsupol.so: Permission denied
dd: /file_contexts: Read-only file system
dd: /sbin/launch_daemonsu.sh: Permission denied
mkdir: '/su': Read-only file system
dd: /su/su: No such file or directory
dd: /su/daemonsu: No such file or directory
dd: /su/sukernel: No such file or directory
dd: /su/sush: No such file or directory
dd: /su/supolicy: No such file or directory
dd: /su/app_process: No such file or directory
dd: /su/libsupol.so: No such file or directory
dd: /file_contexts: Read-only file system
chmod: chmod '/sbin' to 40777: Read-only file system
chmod: No /sbin: Permission denied
chmod: /su: No such file or directory
Function: selinux_compare_spd_ram, index[3], priority [2], priority version is VE=SEPF_SECMOBILE_6.0.1_0013
SELinux: Loaded file_contexts contexts from /file_contexts.
SELinux: Could not get canonical path /su/* restorecon: No such file or directory.
restorecon: restorecon failed: /su/*: No such file or directory
sh: /sbin/launch_daemonsu.sh: Permission denied
/data/local/tmp/super-chris/root.sh[65]: FFFFFFFF: not found
---------- Post added at 10:16 AM ---------- Previous post was at 10:14 AM ----------
heres my log
i chmod 777 the file before I run it root.sh did the nmake commands first then the uid stuff
any help I have to return device today steps in the right direction appreciated thanks
christiansfreeman said:
C:\Users\User>adb shell
adb server is out of date. killing...
* daemon started successfully *
[email protected]:/ $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
[email protected]:/ $ u:r:dnsmasq:s0
/system/bin/sh: u:r:dnsmasq:s0: not found
127|[email protected]:/ $ cd /data/local/tmp/super-chris/
[email protected]:/data/local/tmp/super-chris $ touch file
[email protected]:/data/local/tmp/super-chris $ echo FFFFFFFF >> root.sh
[email protected]:/data/local/tmp/super-chris $ chmod 777 *
cho u:r:init:s0 > /proc/self/attr/current <
cho u:r:init:s0 > /proc/self/attr/exec <
data/local/tmp/super-chris/root.sh <
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
Usage: mount [-r] [-w] [-o options] [-t type] device directory
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
mount: Permission denied
chmod: chmod '/data' to 40777: Permission denied
dd: /data/su.img: Permission denied
dd: /cache/su.img: Permission denied
/data/local/tmp/super-chris/root.sh[36]: e2fsck: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[37]: resize2fs: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[38]: e2fsck: can't execute: Permission denied
/data/local/tmp/super-chris/root.sh[39]: resize2fs: can't execute: Permission denied
dd: /sbin/su: Permission denied
dd: /sbin/daemonsu: Permission denied
dd: /sbin/sukernel: Permission denied
dd: /sbin/sush: Permission denied
dd: /sbin/supolicy: Permission denied
dd: /sbin/app_process: Permission denied
dd: /sbin/libsupol.so: Permission denied
dd: /file_contexts: Read-only file system
dd: /sbin/launch_daemonsu.sh: Permission denied
mkdir: '/su': Read-only file system
dd: /su/su: No such file or directory
dd: /su/daemonsu: No such file or directory
dd: /su/sukernel: No such file or directory
dd: /su/sush: No such file or directory
dd: /su/supolicy: No such file or directory
dd: /su/app_process: No such file or directory
dd: /su/libsupol.so: No such file or directory
dd: /file_contexts: Read-only file system
chmod: chmod '/sbin' to 40777: Read-only file system
chmod: No /sbin: Permission denied
chmod: /su: No such file or directory
Function: selinux_compare_spd_ram, index[3], priority [2], priority version is VE=SEPF_SECMOBILE_6.0.1_0013
SELinux: Loaded file_contexts contexts from /file_contexts.
SELinux: Could not get canonical path /su/* restorecon: No such file or directory.
restorecon: restorecon failed: /su/*: No such file or directory
sh: /sbin/launch_daemonsu.sh: Permission denied
/data/local/tmp/super-chris/root.sh[65]: FFFFFFFF: not found
---------- Post added at 10:16 AM ---------- Previous post was at 10:14 AM ----------
heres my log
i chmod 777 the file before I run it root.sh did the nmake commands first then the uid stuff
any help I have to return device today steps in the right direction appreciated thanks
Click to expand...
Click to collapse
looking at your logs you literally didnt follow the instuctions at all.
right after you type nmake run you have to turn on your mobile hotspot on the device and wait until it loads, then rur off mobile hot spot. right after u type nmake reverse you have to turn on your mobile hotspot on the device again and wait for it to finish loading and then turn off mobile hotspot. Then when you type nmake connect it should look like its hanging, there should not be your devices name followed by a $ or #, its just blank. at this point type in id and youll see that you are root. the type in : echo u:r:init:s0 > /proc/self/attr/current and then type in : echo u:r:init:s0 > /proc/self/attr/exec.
and lastly type in : sh /data/local/tmp/super-chris/root.sh
Now you are full SuperSu root, you csn type in adb shell and then su and youll see a # but know this, it isnt permanent yet so when you reboot, the root disappears and you have to do it over again, im still working on trying to mount the system to make it permanent.
Tried this step by step and doesn't work on my T-Mobile Note 7...
When on Step 12, I run the "/data/local/tmp/super-chris/root.sh" command and receive the following: (And, YES I am able to "adb push the files" and can see them using Root Browser)
C:\ndk\build>nmake connect
Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
Copyright (C) Microsoft Corporation. All rights reserved.
"there is no prompt, type ls to test connection!!"
nc localhost 4040
id
uid=0(root) gid=0(root) groups=0(root) context=u:r:dnsmasq:s0
echo u:r:init:s0 > /proc/self/attr/current
echo u:r:init:s0 > /proc/self/attr/exec
/data/local/tmp/super-chris/root.sh
/system/bin/sh: <stdin>[4]: /data/local/tmp/super-chris/root.sh: not found
Here's the ADB push results:
C:\ADB\platform-tools>adb push C:\ADB\platform-tools\super-chris\ /data/local/tmp
C:\ADB\platform-tools\super-chris\: 14... 1.5 MB/s (103302641 bytes in 64.683s)
cplabaunza said:
Tried this step by step and doesn't work on my T-Mobile Note 7...
When on Step 12, I run the "/data/local/tmp/super-chris/root.sh" command and receive the following: (And, YES I am able to "adb push the files" and can see them using Root Browser)
C:\ndk\build>nmake connect
Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
Copyright (C) Microsoft Corporation. All rights reserved.
"there is no prompt, type ls to test connection!!"
nc localhost 4040
id
uid=0(root) gid=0(root) groups=0(root) context=u:r:dnsmasq:s0
echo u:r:init:s0 > /proc/self/attr/current
echo u:r:init:s0 > /proc/self/attr/exec
/data/local/tmp/super-chris/root.sh
/system/bin/sh: <stdin>[4]: /data/local/tmp/super-chris/root.sh: not found
Here's the ADB push results:
C:\ADB\platform-tools>adb push C:\ADB\platform-tools\super-chris\ /data/local/tmp
C:\ADB\platform-tools\super-chris\: 14... 1.5 MB/s (103302641 bytes in 64.683s)
Click to expand...
Click to collapse
After pushing the folder to /data/local/tmp you have to type adb shell chmod -R 0777 /data/local/tmp
Also type ls /data/local/tmp/super-chris to see what's in the folder, it might be root1.sh but I'm pretty sure it's root.sh
akiraO1 said:
After pushing the folder to /data/local/tmp you have to type adb shell chmod -R 0777 /data/local/tmp
Also type ls /data/local/tmp/super-chris to see what's in the folder, it might be root1.sh but I'm pretty sure it's root.sh
Click to expand...
Click to collapse
Thank you for the suggestions...I will give them a try and report back. :good:
Ok...I can confirm the Temp Root instructions work with changing the file/folder permissions step. Unfortunately when performing certain Root functions, such as allowing Ad Block to update the Host file, the phone reboots...I tried this about 5 times all with the same result and just gave up and installed Blokada instead.

Pls help me : Can't Mount /system

I am using Rom OOS Pie Port for X00T / D, it has some junk applications and I need to remove them. I have rooted the device, but when I deleted it using file manager apps, I received a failure message (tried r / w).
I have searched for solutions on Google such as disable dm-verity but it still continues, in the twrp file manager delete the error message 1 In Terminal I tried mount but I get:
Code:
$ su
ount -o rw,remount /system <
'/dev/block/platform/soc/c0c4000.sdhci/by-name/system' is read-only
ount -o,remount /dev/block/mmcblk0p13 /system <
mount: '/system' not in /proc/mounts
Sir, pls help me tks all

Categories

Resources