[Q] Hello there have some problems with moving system files

GuldPungen

Member
Aug 31, 2010
11
0
0
Hi i moved some files from system/app into the sd card to get some space so i could use the metamorph app but i didnt work so i was going to move back the files from the sd card to system/app but now they wont move there anyone know a soloution how to do this?

thanks in advance
 

snakehult

Senior Member
Jun 8, 2010
369
60
0
system is readonly

you must do an
adb shell
mount /dev/block/mtdblock3 /system

then you can fool around with your system apps
 

GuldPungen

Member
Aug 31, 2010
11
0
0
mount /dev/block/mtdblock3 /system || I wrote that but it says
"mount: mounting /dev/block/mtdblock3 on /system failed: Device or resource busy"

i rooted my phone yesterday quite knew to android and i have no clue what to do
 

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
ClockworkMod has a nice green menu on screen from where you can see (partitions menu) which partitions are already mounter and which are not.

You can also do adb shell and run "mount" in it to see which partitions are mounted and in what way. ClockworkMod has /etc/fstab so you can mount system just by running "mount /system". If system is already mounted, you can cd to /system/app and try "touch test". If you get permission denied then your system is mounted read-only otherwise you will see test file in /system/app if you run "ls".
 

GuldPungen

Member
Aug 31, 2010
11
0
0
I did adb shell and did run "mount" and it says /dev/block/mtdblock3/ on /system type yaffs2 <ro>

I downloaded a app called root explore and the main reason for that was so i could move some files from system/app so i could get some free space so i could use metamorph that was my plan and i moved some files i have eard you could move that wouldnt harm anything but it wasnt enough free space, so my plan was to move back the files i had moved into the sd card some went great but i have like 4 files that i cant bks it says "You cannot paste here because the file system is read-only" is there any other way to push those file into the system/app again? have tried the things u wrote up.


And im not a very pro of theese things i started with this yesterday so excuse me for being stupid! :p
 

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
This:

/dev/block/mtdblock3/ on /system type yaffs2 <ro>

...means that system is mounted read-only (mind that "ro" at the end).

Try running "mount -o remount,rw /system". If it doesn't help run "cat /etc/fstab" and post here the output. You need to be in recovery mode while doing this of course!
 

GuldPungen

Member
Aug 31, 2010
11
0
0
did "mount -o remount,rw /system" and it said mount: can't find /system in /proc/mounts

and the other one said
/dev/block/mtdblock4 /cache yaffs2 rw
/dev/block/mtdblock5 /data yaffs2rw
/dev/block/mtdblock3 /system yaffs2 rw
/dev/block/mmcblk0p1 /sdcard vfat rw
/dev/block/mmcblk0p2 /sd-ext auto rw
 

GuldPungen

Member
Aug 31, 2010
11
0
0
used my brain a little now and in the recovery settings i did mount the /system in the menu and now i tried to write cd /system/app and now in the cmd it is like this "/system/app #" anything useful?
 

BlaY0

Retired Recognized Developer
Sep 15, 2007
1,553
566
0
Medvode
Sure... as I already told you try to run "touch /system/app/test". This command shoud make empty test file in /system/app. If you get permission denied then you have read-only system. If it suceede, then your /system is writable and you can see all the contents of /system/app by runing "ls".