Hi everyone,
I'm trying to put a custom hosts file on my TB to block ads, what I need to know is the syntax of the commands to remount the file system as rw. I've found this for another phone but I don't know if the command changes from phone to phone.
busybox mount -o remount,rw /system
Related
Hello all,
I am trying to push a file to my system, however I do not seem to be able to mount my system partition.
When I try to execute the following command, I always get the error "Operation not permitted" :
Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
My phone is rooted and my USB debugging is on !!
Anyone no what could cause this. It has always worked when I was still on 1.6 (rooted) and now it doesn't allow me access.
When I use Rootexplorer, I have R/W access, so root works.
Anyone has any tips or advise ?
Try...
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Tried that, and get permission denied
Should have added, make sure your screens on on the phone and allow SuperUser access when you type su.
never mind, one sec
Hi,
I have just installed wolfs 2.3 with hotfix and am having trouble with adb commands
I have tried pushing files to /data/data and I get this error
Code:
failed to copy 'name of file here' to 'path here' : Permission denied
However, if i boot into recovery and manually mount data it works.
My question is
what is the code to mount the data partition from adb?
I know
Code:
adb remount
mounts the system partition but i need the data partition mounted.
I have never ran into this before, all my adb commands worked whilst the phone was turned on...
any help please.
More issues
Code:
adb remount
does not work....permission denied
Also, using apk manager I cannot push sytem files to /system/app
This is quite irritating
The correct command is:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Code:
adb shell
su
mount -o remount rw /system
works for me.
Hi Guys,
im looking for a way to Overwrite the Hosts File on
system/etc/
There is anyway to push the file inside an APK to this directory.
Or write a raw directly in the hosts file without root a device.
Thanks in advance.
This only works with Root!
Use a terminal emulator like this one:
Link
then you type in the following:
Code:
su
cd /system/etc
cp "location of the host file you want to overwrite the original with" hosts
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
/system should be on a ro partition, so after becoming root you also have to enable rw on it
with the terminal given above, type
#mount -o remount,rw -t yaffs2 /dev/block/$YOURBLOCK /system
where $YOURBLOCK is the /dev/block association given by the kernel. To find it just give a
#mount | grep /system
and change the first command accordingly
Is there some kind of trick to mounting system as rw so adaway can modify the hosts file. I have cm10 on here ATM
Did you try something like 'adb shell mount -o remount,rw /' ?
HTH
Hey there guys.
I have a couple of devices I am trying to root.
One is a ZTE Fit 4G and the other is a cheap tablet bought from ebay with an allwinner A20 marked as MIB in about.
I have tried many ways of rooting on both of them. One of which was Cydia Impactor.
I have used Cydia Impactor to root other devices just fine.
However on these 2 devices when i run "# drop SuperSU su to /system/xbin/su" the payload runs on the device and then Cydia Impactor shows "mount: Read-Only filesystem"
When i try adb remount I get remount failed: Read-only file system
Also when i try this in adb shell - mount -o rw,remount /system I get the same error mount: Read-only file system
Of course I get the same message with mount -o remount,rw /dev/block/mtdblock3 /system
All these commands are done while the phone is running. should i be in recovery mode or something while I do this?
If that is not the case then how would I go about making the file system writable or is there away to root the device without modifying system and once rooted install supersu and binaries manually (I am assuming the only access to /system is to install super su... which could be totally wrong)
I appreciate your time in reading this and look forward to hearing any suggestions you may have,
Kriogenic.