Not critical but I'd like to know how to do this. Mounted as /dev/block/loop0 /cust
#mount -o remount,rw /dev/block/loop0 /cust fails. A loop is really a virtual or pseudo device. Looks like this was done in the Movida Gingerbread mod with a "losetup" to prevent hacking.
Any ideas? Anyone?
TIA
OOPS should have mentioned that any effort to disassociate the device "losetup -d" yields a "Device or resource busy" which, I suspect, is the result of it being attached to a block device. Ugh!
eyeconic said:
Not critical but I'd like to know how to do this. Mounted as /dev/block/loop0 /cust
#mount -o remount,rw /dev/block/loop0 /cust fails. A loop is really a virtual or pseudo device. Looks like this was done in the Movida Gingerbread mod with a "losetup" to prevent hacking.
Any ideas? Anyone?
TIA
OOPS should have mentioned that any effort to disassociate the device "losetup -d" yields a "Device or resource busy" which, I suspect, is the result of it being attached to a block device. Ugh!
Click to expand...
Click to collapse
Make sure you get some help from here:
http://forum.xda-developers.com/showthread.php?t=1556019
Related
I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
alias_neo said:
I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
Click to expand...
Click to collapse
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
foxmeister said:
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
Click to expand...
Click to collapse
Thanks, so which should I actually use, the former or the latter?
I've personally used the first command, but I saw the second one on another thread and it seems to work as well.
To be honest, I think it's ignoring the parameter anyway.
Regards,
Dave
hi guys,
i hope someone can help me out with this;
i have rooted my DHD with Visionairy and all works fine, except...
doh...i forgot to check the option to set rw on /system partition
now i have tried the following from Terminal App;
#su
#mount -o rw -t yaffs2/dev/block/mtdblock3 /system
i read somewhere that this should set rw on /system but it didn't work;
then i tried the 'Unroot Now' option in Visionairy but that doesn't work either....
how can i set rw on my /system partition??
thnx in advance!
odin
Hey mate, I had the same problem. Took a mistake while entering mount information before I figured out where I went wrong.
Try entering 'mount' by itself, you'll get all your relivant information. You need to find '/system' in the stings of information and then which 'mmcblk0p*' (the * will be a number, your folder might be something different, like mtdblock3) it is attached to.
I think some ROM's use different locations, as I was told something simmilar to you, which wasn't working, I'm no expert so I had to fiddle and look to find the right string.
For example mine goes;
/dev/block/mmcblk0p25 on /system type ext3 (ro,relatime,errors=continue,data=or)
This told me I had to enter the following string to set it to rw;
mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p25 /system
This seemed to work for me, but I need to enter it every time I restart the handset and want to change something in the /system folder.
hello, i need to restore my framework-res.apk from backup on my phone. i googled around and found some ways but they arent working. i can adb shell in while in recovery but i cant boot to android and /system isnt mounted.
i tried mount -o rw,remount /dev/block/mtdblock3 /system and mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system in adb shell and get "mount: mounting /dev/block/mtdblock3 on /system failed: Invalid argument"
also tried doing adb remount but get "remount failed: Unknown error: 0"
anyone know whats going on? i have 318 rom and streakmod recovery. sorry if this is considered android development. i dont think it is so its in streak general.
I believe /system shound be /dev/block/mtdblock6, so you should be able to use: mount -t yaffs2 /dev/block/mtdblock6 /system
yeah i just got the answer in freenode irc #dellstreak too and this did work. thank you.
[11:18pm] meralias: mount /dev/block/mtdblock6 /system
[11:21pm] meralias: actually: mount -t yaffs2 /dev/block/mtdblock6 /system
edit: [11:24pm] • meralias also goes as 'kantras'
sly.
Hi folks,
This isn't about mounting as a usb drive or anything; I'm trying to gain rw access to /system, but my usual command for that - "mount -o remount,rw /system" - returns the following:
Mount: not found.
Any idea why that would be? This is running CM7 off an sdcard.
try prepending busybox to the command line: "busybox mount yada yada"
Hey, that totally worked! Why did that make a difference?
symlinks not setup right i guess
Hi,
I am unable to edit build.prop (flashing B15 and B13-chinese bootstack enabled nav bar - I want to remove it) as I can not mount /system as RW. When doing so, either via Terminal, ADB Shell or simply a file explorer app, I generally get a "Device busy" error or some other random error.
I have tried those commands so far in Shell:
mount -o remount,rw /system
mount -o remount,rw -t ext4 /dev/block/bootdevice/by-name/system /system
All commands have been tried on the three available kernels.
Any help is much appreciated!