[Q] half root - Galaxy S II Q&A, Help & Troubleshooting

I rooted my s2 and installed resurrection remix 1.8. I can run apps that request root but when I try to copy a file to the root of the phone I get this message
Copy error
lib core.io.errnoexception
Open failed:EROFS (read only file system)
Does anyone know how I can gain full root?

You need to mount the filesystem r/w with whatever file manager app (Root Explorer, etc, or an app like Remount).

What are you using to copy the app over?
Are you using root explorer?
Sent from my GT-I9100 using xda premium

MistahBungle said:
You need to mount the filesystem r/w with whatever file manager app (Root Explorer, etc, or an app like Remount).
Click to expand...
Click to collapse
Can you explain the while process of moving an app to system, how do I mount it as r/w etc pls?
Sent from my GT-I9100 using xda premium

Depends on what file manager you're using. As an example tho, in Root Explorer, if I say wanted to copy the Polaris Office lib files over to system/lib in order for it to work properly I'd do the following:-
*Fire up Root Explorer & click the little R/W-R/O toggle at the top to mount R/W.
*Navigate to where I have a copy of the Polaris lib files (in my case I have a Roms Modems Etc folder on my external SD card).
*Go into Root Explorer menu & tap 'multi select' because there's two files to copy, then click each file so there's a tick beside each indicating they're the files that are to be copied.
*Then click 'copy'.
*Then navigate to system/lib where I want to paste the files. And click the R/W-R/O toggle again to mount R/W.
*Click paste & the files are copied over. Click R/W-R/O toggle again to mount filesystem back to R/O.
*Navigate back to root folder & click R/W-R/O toggle to mount root back to R/O.
Done.
Is this what you were after ?
Edit to add - You can also get Remount from Google Play which enables you to mount different parts of the filesystem R/W or R/O.

Yeah that's great, many thanks. Just tried it & it works perfectly using root exp pro
Sent from my GT-I9100 using xda premium

Cool No worries

Wow. Just wanted to thank you for solving the problem I've been working on for HOURS!

Related

[Q] try to force delete of system MP3s

I try to delete some ringtones from my folder
system/media/audio/ringtones
I connect via local console (IRSSbot) and I cant "rm" remove mp3s due to permissions.
I am logged in as superuser with "su" still getting
"Read-only file system".
How can I make the file system writeable?
no solutions? I have a corrupted file needed to be deleted, tried many ways..
Try using Root Explorer, navigate to the directory, mount as r/w (button at top), delete, then hit the r/o button. There's a much longer command-line version, but if you don't figure it out from the above, this is easier and fool-proof.
Just being su doesn't override a read-only filesystem.
Sent from my NookColor using xda premium

Cannot install Music.apk

When i install Music.apk it always fails. I tried copying it to the /system/apps using Root Explorer but it doesnt shows up.
it may require flashing...i am not sure.
Did you try installing from the sdcard? Click on the apk file and the Root Explorer should ask if you want to install the file. I have had some installs work that way and some not work. I am a beginner also, sorry if this doesn't work.
First, mount /system as rw from root explorer (there's a button in top right corner). Then copy and paste the file to /system/app. Now, tap and hold on the pasted file and select permissions. Change the permissions to: User-read,write Group-read Others-read. Then mount /system as ro using the same button in top right corner and reboot the phone.
Sent from my LG-P500 using XDA App

Rooting my Atrix 4g

Hi to all!
This is my first android device, and i am new to Unix-like systems.
I have tried to unlock, root & install custom rom on my phone. Used this instruction:
http://forum.xda-developers.com/showthread.php?t=1302423
Everything go perfect until step:
DO NOT FORGET TO DO THIS PART: After the install of RomRacers recovery boot up your phone. Open up your favorite file browser (I used Astro file manager to do this ) and navigate to /system/etc/ and delete the file called 'install-recovery.sh'
I always get "read only" trouble. As I understand, the problem in root access. I haven’t got it.
I have tried:
http://forum.xda-developers.com/showthread.php?t=740748
Then
http://forum.xda-developers.com/showthread.php?t=1046626
But in any case i get "read only" truing to delete 'install-recovery.sh'
Will be grateful for tips how to successfully root my device.
..
a guide is in the "stickys" in general forum made by swiftks
Sent from my MB860 using Tapatalk
Use root tools. And there's a little button to change it from read only to read/write. Then delete the file.
Sent from my MB860 using xda premium
kycats said:
Steps for rooting:
http://forum.xda-developers.com/showthread.php?t=1255548
It works like a champ.
Click to expand...
Click to collapse
Tnx very much, it worked.
But i still can't delete the
install-recovery.sh
Trying via all possible file explorers, and also tried
http://forum.xda-developers.com/showthread.php?t=740748
one more time. still get
rm failed for /system/etc/install-recovery.sh, Read-only file system
You need to go into the options of the file manager and enable root, and also mount system as writable. I use ES file explorer from market...its free. If it still fails my guess is you are not rooted.
I have root access, have checked with root checker basic. Have enabled root in es file explorer, still same problem.
I have made some photos, in attached files.
Did you also check the option 'mount system directory as writable' in es file explorer options
maulich said:
Did you also check the option 'mount system directory as writable' in es file explorer options
Click to expand...
Click to collapse
It helped. Thank you very much!

[Q] How do you remove boot audio?

I recently installed Charmeleon Rom v5.0.0 and I want to get rid of the android_audio.mp3 (boot animation audio).
When I try to delete the file with Root Explorer it says Failed to delete. When I try to delete the file with Terminal Emulator it gives me a access denied error.
I've been trying to find the answer through google for over an hour. It sounds like some Root Explorers you need to Mount R/W to have access to delete/rename files. This sounds like what I need but so far I can't find any Root Explorer apps that mention R/W.
Any ideas?
xenoc1de said:
I recently installed Charmeleon Rom v5.0.0 and I want to get rid of the android_audio.mp3 (boot animation audio).
When I try to delete the file with Root Explorer it says Failed to delete. When I try to delete the file with Terminal Emulator it gives me a access denied error.
I've been trying to find the answer through google for over an hour. It sounds like some Root Explorers you need to Mount R/W to have access to delete/rename files. This sounds like what I need but so far I can't find any Root Explorer apps that mention R/W.
Any ideas?
Click to expand...
Click to collapse
Did you remount the filesystem to r/w in root explorer before deleting the file?
Sent from my EVO using Tapatalk 2
Thats my issue. I dont know how to mount the /system to be rw.
I guess I'm on the right track but mount /system rw didn't seem to be the correct syntax.
check in tweaks
I used free ver of Rom tool box .there's a one called root browser in that ..
Sent from my HTC Incredible S using XDA
Lasantha said:
I used free ver of Rom tool box .there's a one called root browser in that ..
Sent from my HTC Incredible S using XDA
Click to expand...
Click to collapse
I was able to delete the file with Root Browser within Rom Toolbox Lite.
I think it's odd that the Root Browser included with Rom Toolbox Lite includes extra options that you don't have when you just download Root Browser by itself. Using the version included in Rom Toolbox Lite I updated the folder permissions to include write access then I was able to delete the file.
Thanks!

[Q] Unable to change file permission on rooted Samsung Galaxy S III

Hi,
I tried changing file permission on one of the folders where I saved my photos to read-only using "Root Browser Lite".
The following error message came up: "Changing permission was not successful. Please note that some file systems do not allow permission changes".
I tried using ES file explorer but it also failed.
Could someone please tell me how I could change the file or folder permission. I wanted to prevent the photos from being accidentally deleted by my children when I let them browse their photos..
My phone I9300 was rooted using CF Auto Root.
Thanks
Get root explorer, it's much better.
Simply long press on a folder and the permissions option is there.
Sent from my GT-I9300 using xda premium
Don't forget to set to rw at the top of root explorer before attempting to change permissions
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
100% work
Try this.....
http://forum.xda-developers.com/showthread.php?t=2038243
this will help you 100%..
qwerty12 said:
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
Click to expand...
Click to collapse
=============
Thank you all for your advice. The file system explanation betw FAT and ext4 fs makes sense. I have BusyBox installed.
Via Terminal Emulator, when I did "chattr -i /data/media/DCIM/Camera", I got a "permission denied".
Is there something that prevented me from this?
I'm running ICS.
Thanks
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
zoot1 said:
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
Click to expand...
Click to collapse
Thanks Zoot1.
I did that.
Image Gallary is still showing /mnt/sdcard/DCIM/Camera as "writeable".
What is the difference between two folders /data/media/DCIM/Camera and /mnt/sdcard/DCIM/Camera?
Thanks,
Note that I used +i in my example invocation of chattr. - removes the attribute; + sets it, which is what you want
Sent from my GT-I9300 using Tapatalk 2
Thanks qwerty12, after 'chattr +i folder name' , I return to root browser lite to change permission on mnt/sdcard/DCIM/Camera, I still get permission denied. What did I do wrong?
Sent from my GT-I9300 using xda app-developers app
Mount System RW
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menú button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Vanyna said:
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menú button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Click to expand...
Click to collapse
finally its worked for me thx very much dude:laugh::good:

Categories

Resources