Related
Hi, I rooted my Vribrant, both ways (manually and with one click root). I installed terminal emulator. I tried the su command to check if I am root. The # appears normally. However I tried deleting a file with Root explorer, inside the system folder, and when I get back it's still there. I also tried deleting it manually from Terminal EMulator with these commands:
su
cd system/apps
rm Swype.apk
and I get this:
rm failed for Swype.apk, Read-only file system
I also tried:
su rm Swype.apk
and this is returned:
Permission denied.....
I also tried the exact same thing from adb shell (which I had to allow in superuser permissions program), but it gave me the exact same results. What's wrong? Am I doing something wrong? Thanks
In root explorer, try hitting the r/w button at the top and see if that works.
Sent from my SGH-T959 using XDA App
I know about the button. The strange thing is that inside system folder it grands me r/w permissions, and no matter how many times a press the r/o button it doesn't change. Still gives the results I said. However, besides root Explorer what's wrong with terminal emulator and adb?
I'm not 100% sure how to mount as root in adb. I wish I knew myself heh.
Did any of those root methods install the superuser app?
Sent from my SGH-T959 using XDA App
Terminal Emulator should return a "#" after typing "su"
Sent from my SGH-T959 using Tapatalk
From a terminal write
adb root. (will give root)
adb remount. (will remount system as r/w)
adb shell cp /system/app/swype.apk /system/app/swype.apk.bak
Adb shell rm /system/app/swype.apk
This link is what i used to use to gain rw permissions
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Alternatively from terminal on the phone type
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Assuming your sys partition is mntblock3
Sent from Conical. 07
rbirg said:
I'm not 100% sure how to mount as root in adb. I wish I knew myself heh.
Did any of those root methods install the superuser app?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Yes both methods installed the "Superuser Permission" app.
I7oobie said:
Terminal Emulator should return a "#" after typing "su"
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
It does normally.
linuxmotion said:
From a terminal write
adb root. (will give root)
adb remount. (will remount system as r/w)
adb shell cp /system/app/swype.apk /system/app/swype.apk.bak
Adb shell rm /system/app/swype.apk
This link is what i used to use to gain rw permissions
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Alternatively from terminal on the phone type
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Assuming your sys partition is mntblock3
Sent from Conical. 07
Click to expand...
Click to collapse
I tried the first method but it didn't work. When I entered adb root, it said "adbd cannot run as root in production builds". I searched a bit and found that I must have a rooted kernel for this to work. (I guess it's different from the root method I tried in "how to root vibrant").
Anyway the second way worked, where i replaced mntblock3 with stl9 for my phone. I tried the rm command and it worked! However as soon as I exited terminal, I couldn't delete other files. I had to retype the command. I can't do this everytime I need access in System folder. Why is this happenning? Does this have something to do with the fact that root explorer cannot change r/w to r/o mode while in system folder?
what if you open Superuser
Click on Root Explorer.
Click on Forget.
Open Root Explorer and grant Root Access and check to remember it.
work now?
Moved to Q&A, please post in the correct section.
s15274n said:
what if you open Superuser
Click on Root Explorer.
Click on Forget.
Open Root Explorer and grant Root Access and check to remember it.
work now?
Click to expand...
Click to collapse
No it didn't work. I also installed the latest version of SuperUser 2.3.6.1. But without a difference unfortunately.
What works for me, is installing sgs tools, and whenever I want to do write operations on system folder, run the appropriate script from sgs and then use root explorer......
Although I think there's something wrong? Why doesn't the mount r/w button work in root explorer, and why do I have to remount the file system through SGS tools, every time for it to work?
makes no sense to me either. Have you uninstalled RE and the installed it back granting root once reinstalled?
Yes several times.....
I am giving up. I just have to go through the whole process every time. I found some other people having this issue. I am on stock JI6 firmware. Maybe when I read a little bit more I will flash a custom rom.
Download and install Super Manager. Pretty handy program to use for Root users.
I'm not sure what the issue is,but mine does it too. I'm running the "unofficial" froyo JK2 build,flashed via ODIN,and I'm having the same issues. root works,root file explorer is stuck in rw,won't let me switch to ro,and it can't do anything to files in / or /system. manually remounting it from terminal or sgs tools works.
msnuser111 said:
I'm not sure what the issue is,but mine does it too. I'm running the "unofficial" froyo JK2 build,flashed via ODIN,and I'm having the same issues. root works,root file explorer is stuck in rw,won't let me switch to ro,and it can't do anything to files in / or /system. manually remounting it from terminal or sgs tools works.
Click to expand...
Click to collapse
At least I am not the only one with this problem.... haha
I forgot to mention that I use Root Explorer version 2.12.2
When I try a custom Rom I will post the results....
^ why not get the update, .4 is the most recent build. Do you have an illegal copy?
It's not only root explorer. It happens with other file explorers too like android mate and super manager... Inside system folder whatever, I do doesn't happen unless I unmount and remount like before
I want to know how to make a shortcut to mount /system as rewritable without having to use terminal emulator and type it all out. Is there a .bat kind of file for android that can be launched? Thanks in advance for your answers..
mrjulian15 said:
I want to know how to make a shortcut to mount /system as rewritable without having to use terminal emulator and type it all out. Is there a .bat kind of file for android that can be launched? Thanks in advance for your answers..
Click to expand...
Click to collapse
The app Root Essentials has a feature that does just that. The same creator made an app that does only that.
Hello guys.
Yesterday i installed Chainfire 3D from Android Market and then installed driver. My phone is now not booting, just galaxy s logo. How can i delete this driver and repair my Android? It's located on my memory card.
Re-apply permissions to all files. Mount the ext2 partition read/write on Linux, cd to it, and do "chmod 0777 ./* -v -R" and then "chmod 4755 ./system/xbin -v -R". Flush the cache with "sudo sync" and unmount.
By the way, how did you manage to install Chainfire? It keeps giving me an error when I do, about not being able to mount /system read/write.
Is this commands safe for my data or i will lose it?
How i installed? Just by downloading *.apk file.
Are you sure? Installing the apk only installs a tool which takes you to a menu to install the driver. If you don't click the icon and go through the install process inside the app nothing happens, so CF3D is most likely not the cause of your problem.
The commands I posted should still solve it and they don't destroy any data.
tydem said:
By the way, how did you manage to install Chainfire? It keeps giving me an error when I do, about not being able to mount /system read/write.
Click to expand...
Click to collapse
You need a kernel which doesn't mount /system as read-only. If you use the latest release from nbates, then I think your only solution is to remount /system as rw either via adb or from a terminal emulator on the device, then install cf3d
anghelyi said:
You need a kernel which doesn't mount /system as read-only. If you use the latest release from nbates, then I think your only solution is to remount /system as rw either via adb or from a terminal emulator on the device, then install cf3d
Click to expand...
Click to collapse
Going to try. If the shell script cannot mount it I doubt a terminal will, but whatever. I'm using the SD version with the audiofix kernel (can't remember date) and the MIUI ROM by the way.
tydem said:
Are you sure? Installing the apk only installs a tool which takes you to a menu to install the driver. If you don't click the icon and go through the install process inside the app nothing happens, so CF3D is most likely not the cause of your problem.
The commands I posted should still solve it and they don't destroy any data.
Click to expand...
Click to collapse
My problem is that I installed that driver (CF3D) from tool. Your commands doesn't help. My android still is not booting.
@edit:
problem solved, i reinstalled system folder
I seem to be having the same exact problem, can someone tell me the adb lines to fix this? not sure how to reinstall the system folder
Hello everyone, I made the root using the "all in one" by condi.
the root is fine except that when I use the 'app' root app delete "to delete the files of sony, tells me that I need root permissions.
the version of Android 4.0.3 is R5A.
can someone help me? thanks
----------EDIT---------
with titanium backup I found out where they are system applications
/ locale / vendor / app. I tried to move "crash bandicoot" in / local / system / app and it says it is a read-only file so I can not uninstall it.
suggestions?
Athawulf said:
Hello everyone, I made the root using the "all in one" by condi.
the root is fine except that when I use the 'app' root app delete "to delete the files of sony, tells me that I need root permissions.
the version of Android 4.0.3 is R5A.
can someone help me? thanks
----------EDIT---------
with titanium backup I found out where they are system applications
/ locale / vendor / app. I tried to move "crash bandicoot" in / local / system / app and it says it is a read-only file so I can not uninstall it.
suggestions?
Click to expand...
Click to collapse
Try remounting root file system writable.
smgdev said:
Try remounting root file system writable.
Click to expand...
Click to collapse
thanks for the reply,
how to do what you told me?
Athawulf said:
thanks for the reply,
how to do what you told me?
Click to expand...
Click to collapse
Try root explorer or similar from Google Play
or try from terminal
su
mount -o remount,rw /system
or from pc
adb shell
su
mount -o remount,rw /system
stifilz said:
Try root explorer or similar from Google Play
or try from terminal
su
mount -o remount,rw /system
or from pc
adb shell
su
mount -o remount,rw /system
Click to expand...
Click to collapse
I used adb shell
mount: operation not permitted
Check your tablet screen after entering the su command, there should be a window asking you to grant root access. Give root access and you should be able to continue with the remount command.
Sent from my Sony Tablet S using xda app-developers app
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
Try running with terminal app... It's there in play store...and you don't input #... You open terminal... Type su... Then try running script...
Sent from my Xperia Neo V using xda app-developers app
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
with adb
Code:
adb shell
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
There is a lot more info on the subject in the general section. Look for the titles starting with swap internal or something similar. There are like 3 different threads on the subject. I'll send you a link later with some more info, but that will be later later
kuma82 said:
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/QUOTE]
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
pitbullmommy45245 said:
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
Click to expand...
Click to collapse
You are getting permission denied because it needs root access. Read this
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
More info coming Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
You are getting permission denied because it needs root access. Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We have root access!
thomasoeli said:
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
Read this post
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
Sent from my LGMS769 using XDA Premium 4 mobile app
---------- Post added at 03:12 PM ---------- Previous post was at 03:05 PM ----------
More info
http://forum.xda-developers.com/showthread.php?p=36627662
http://forum.xda-developers.com/showthread.php?p=36948542
Sent from my LGMS769 using XDA Premium 4 mobile app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
You can also try this guide if you are still searching for solution