[Completed] GSII: Internal storage became read-only - XDA Assist

Hello,
I have Samsung Galaxi S II GT-I9100
Android version 4.1.2
I got root access, CWM and SSH server installed.
Recently I tried to download an audio file over 3G. The download couldn't be completed and after then I wouldn't be able to download any file. I discovered I could also not delete any file from my internal storage which is sdcard0.
When I tried to change permissions on sdcard0 using SSH I typed:
Code:
chmod -R 777 sdcard0
and got this:
Code:
chmod: sdcard0: Read-only file system
Please help would be much appreciated.
Thanks in advance!

oferst said:
Hello,
I have Samsung Galaxi S II GT-I9100
Android version 4.1.2
I got root access, CWM and SSH server installed.
Recently I tried to download an audio file over 3G. The download couldn't be completed and after then I wouldn't be able to download any file. I discovered I could also not delete any file from my internal storage which is sdcard0.
When I tried to change permissions on sdcard0 using SSH I typed:
Code:
chmod -R 777 sdcard0
and got this:
Code:
chmod: sdcard0: Read-only file system
Please help would be much appreciated.
Thanks in advance!
Click to expand...
Click to collapse
Have you tried to run check disk?
You can try asking here http://forum.xda-developers.com/galaxy-s2/help where someone might help you overcome your issue.
Good luck

Related

Stock 2.1 rom rooted ROM Manager won't FIX Permissions

I searched and got on IRC and can't get a fix for this. WHen i try to use the Fix permissions option in ROM Manager Premium i get the following error.
"error occurred while attempting to run privelaged commands"
I checked superuser and ROM Manager is in there so i selected "forget" then rebooted and tried "fix permissions" again. I got the promp to allow SU and then the error.
Any idea how i can fix this? Is this a bug or a isolated problem?
Not sure if it is related or not but I had to same problem until I bought the full version off of the market.
Maybe it's part of the extended functionality?
As I noted I have "Rom Manager Premium" I don't think it's related anyway.
Just found the answer to this (as I too was having this problem). See the link below:
http://androidforums.com/899973-post26.html
It has to do with busybox not installed in the correct place.
One more thing: Make sure that busbox is set to "755" so that it can execute.
Thanks
sw99 said:
Just found the answer to this (as I too was having this problem). See the link below:
http://androidforums.com/899973-post26.html
It has to do with busybox not installed in the correct place.
One more thing: Make sure that busbox is set to "755" so that it can execute.
Click to expand...
Click to collapse
Thanks for the link to the fix!
I am unable to get the busybox file to copy from the /data.... directory into the /system/bin/ directory. Any ideas?
jtoole1 said:
I am unable to get the busybox file to copy from the /data.... directory into the /system/bin/ directory. Any ideas?
Click to expand...
Click to collapse
did you mount the system partition prior to trying this?
I'm also having an issue moving the file using root explorer. Any other ideas?
the_grobe said:
I'm also having an issue moving the file using root explorer. Any other ideas?
Click to expand...
Click to collapse
Yeah, same here. My problem is that I've never used Root Explorer before. At the top it says mounted as r/w (in the /system/bin directory) , but it won't copy the file using the Root Explorer program. When I click [Paste] it doesn't give me an error, but when I go and check the directory, the file is not there. I even tried refresh. Any ideas?
UPDATE: I have not solved the problem yet, but I did notice that the /system/bin directory that I am trying to copy to says "0K bytes available," which is probably why it won't copy. So I guess my (no copy) problem is due to my lack of understanding of the file structure of the DI.
UPDATE: I finally got it working. Here is what I did.
1. Boot phone into recovery
2. Push busybox from /sdk/tools folder to sdcard
Code:
adb push busybox /sdcard/busybox
adb shell
3. Installed busybox to /system/xbin
Code:
$ su
#export PATH=$PATH:/system/bin
#cd /system/xbin
# cat /sdcard/busybox > busybox
# chmod 06755 busybox
# busybox --install -s /system/xbin
# rm /sdcard/busybox
# exit
$ exit
4. Booted up phone, and ROM manager fixed permissions as per request.
Hope that helps.
Thanks. I appreciate your feedback. But it looks like I wasted my money again on a useless program like "Root Explorer." I was hoping that I wouldn't have to do all of that command line crap anymore after having rooted.
Does anyone know if there is a file manager out there that will push/pull files via cut/paste rather than using a seperate computer with a command line interface?
I don't think that there is going to be a program like that until we've got full NAND unlock.
the_grobe said:
I don't think that there is going to be a program like that until we've got full NAND unlock.
Click to expand...
Click to collapse
Is someone working on that? I believe the facts are, that the Unrevoked team knows how to do it...but they won't give us the means to do it. Probably because they think we'll shoot ourselves in the foot...and blame them...and they're probably right!
I can not do the cat command it tels me Cant create busybox, read only file system.
Any ideas????????????????
when i was modding widget locker i was using linda file manager free to cut and paste out of the system folder im gonna try it right now to fix this problem ill let u know if it works

[Q] Please help translate some adb instructions into terminal emulator commands

Hi
I have Huawei u8150, Android 2.2, Rooted with z4root.
I want to give widgetsoid access to toggle data using the android apn toggle.
The instructions are:
____
Just put the Widgetsoid apk on /system/app folder
Work only with ADB connected to the phone (doesn't work if you use root explorer or other apps like this) :
* Remount /system as read/write
* adb push Widgetsoid.apk /system/app/Widgetsoid.apk
* Remount /system as read-only
_____
Can someone tell me what I can type in terminal emulator window to achieve this. I can't use adb as it won't recognise my u8150 (It worked fine with my i9000)
Thanks
Kiwi
Widgetsoid website - http://jaumard.android.free.fr/widgetsoid/help_widgetsoid.php?lang=en_EN
PS: Apologies if the wrong forum, but there were only 4 specific android forums, so i thought the general forum would be the best to post this type of question in.
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
http://www.reallylinux.com/docs/files.shtml
Thanks
I had tried
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# CHMOD 777 /SYSTEM
the above works but if i try to push i get
# push
push: not found
I also tried the above then switched over to es-file explorer and was able to copy + pasted the widgetsoid.apk file from my sdcard into the /system/app directory. It correctly pasted the file, but when I clicked on widgetsoid.apk to install the apk i got an error.
"Parse Error: There is a problem parsing the package."
I wouldn't chmod /system ... just leave the permissions the same.
cp /sdcard/downloads/widgetsoid.apk /system/app/
Chmod 644 /system/app/widgetsoid.apk
No need to click install or anything like that... just reboot after copying it to /system/app.
Sent from my Droid using Tapatalk
push is an adb command. You'll want to put the apk on the sdcard then use:
cp /sdcard/Widgetsoid.apk /system/app/
That will copy it to the directory.
Nevermind, do what jeffv2 said.
THANKS! it's working now.
I had placed it in /system/app and did a reboot and it still hadn't installed
then i renamed the file from Widgetsoid2.x.apk to Widgetsoid.apk and also did chmod 644, after a reboot it has successfully installed.
I think it was the chmod 644 to the apk file that allowed it to be installed
Many thanks!

Android/Linux question for rooted Galaxy Tab

Hi there
My knowledge of Android is very limited, I know a little about Linux from Ubuntu at command promt level, but not enough to fix this issue I'm having. Any help would be much appreciated.
I wish to modify a file which Android is telling me is locked. It's \system\etc\bluetooth\audio.config
I have found a modification to this file which may help me in connecting the Tab to a bluetooth peripheral I have.
I have rooted the Tab
I have installed a root file manager
I have installed a terminal app
I have tried to chmod this file when logged in as su, but this refused so still I cannot edit the file.
I read somewhere about mounting the system folder as rw, but this is a bit beyond my knowledge. So if this is necessary I need walking through this step-by-step.
Could someone please help me by posting some instructions to get me to the point where I can edit the file audio.config?
Many thanks
Gary
su
mount -o remount,rw /dev/mtdblock3 /system
You may still not be able to modify a file so copy it to /mnt/sdcard/file and edit it there and rename the source file when ready to mv it back in.
mount -o remount,ro /dev/mtdblock3 /system
when done.
This worked for me on my new Galaxy Tab Wifi after using A4 to root it.

[Recovery Unofficial Clockword Mod] for SPH-D600 (Conquer 4g)

A working recovery for Samsung Conquer 4g!!!
Needs Root!
V. 5.0.2.7
1.Download the files below
2.Move flash_image (in the zip folder) and CWMR.img to your sd card
3.On your phone download root explorer
4.Move flash_image to /data/local using root explorer
5.Download a terminal Emulator on your phone
6.Open the terminal and put in:
Code:
$ su
# /data/local/flash_image recovery /sdcard/CWMR.img
7.Than to make sure it doesn't revert to stock recovery put in:
Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock9 /system
to make sure its in rw mode put:
Code:
# mount | grep system
than:
Code:
# chmod 444 /system/etc/install-recovery.sh
(dont worry if you get an error not found some phones dont have this)
Credit goes to utankos over at rootwiki for creating the recovery.
Need some clarification
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
yanxizao said:
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
Click to expand...
Click to collapse
I have never ran into a problem like this but do so in the /data folder on your phone and sorry this has taken so long I haven't been on XDA for a while. Tell me if it works.
/data/local dir in root browser
Hi, in order to properly see the /data/local folder which is a hidden folder you need to access it as root. If you installed root browser before the phone wa rooted it already checked for root access and was denied. From then on it will run without root permissions. you need to gran it root access before you can access hidden folders the easiest way would be to erase the data of root browser in options|applications.
hope this helps.
Thanks for this, works great!
jhorton014 said:
Thanks for this, works great!
Click to expand...
Click to collapse
Actually I'm having difficulties getting the CWM recovery to be permanent. When I reboot it reverts back to stock recovery. I followed all of the instructions on the tutorial that you provided.
nvm

[Completed] Permissions on /system/etc reference

I was trying to enable writing titanium backups to the SDCard by editing the file:
/system/etc/permissions/platform.xml
However I was not paying attention and now everytime I boot up I get spammed with error messages "Unfortunatley, the process com.google.process.gapps has stopped". All apps also produce a force close saying about the same thing. Continuously. I can recieve calls and open up a couple of apps but only by the small window between closing error messages. Here are the steps I took when editing the platform.xml
First I edited the file as suggested:
Original:
Add the media_rw group:
Then I copied the file back to the SDCard. After that I overwrote it in /system/etc/permissions. Not realizing the permissions were incorrect. I restarted the device and started getting errors. I assumed it was the file permissions so I started up ADB and entered the following lines:
mount | grep system
mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system /system
chmod 326 /system/etc
chmod 644 /system/etc/permissions/platform.xml
chmod 644 /system/etc
mount -o ro,remount /dev/block/platform/msm_sdcc.1/by-name/system /system
That changed the file permissions so I rebooted by my device and got stuck in a boot loop.
So I rebooted into Clockworkmod recovery and tried to restore a working backup of my stock ROM. Got past the boot loop but still spammed by errors, so I tried to restore just the /system partition from the recovery using Clockwork's advanced tab. Seems like the errors are even worse. I wanted to know if by my description someone could give me a push in the right direction. Does anyone know what permissions the /system/etc folder is supposed to have? I suspect the reason this is happening is because I changed the /system/etc permissions instead of just changing /system/etc/permissions. Please offer any knowledge you have. I've pretty much exhausted the first few pages of Google and I don't want to give up and factory reset just yet.
Thank you
Hi,
I need to know your device and exact model to point you in the right direction for help.
I have a Samsung S4 with Tmobile. SGH-M919 version 4.4.4.4, I'm running stock ROM with Clockworkmod recovery. Just an update I can use ADB reliably in Clockwork's recovery mode. Though I'm not familiar with the file structure now that /system isn't mounted and everything seems to be in a different place. After the previous post I tried to mount /dev/block/platform/msm_sdcc.1/by-name/system by using:
mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system
but the ADB session was disconnected in the middle and on reboot I'm now with no touch ability to close the error messages. I tried wiping the Dalvik Cache and the other Cache. Now I'm just browsing in Recovery through ADB looking for answers.
Then here is the best place to ask for help,
> T-Mobile Samsung Galaxy S 4 > T-Mobile Samsung Galaxy S 4 Q&A, Help & Troubleshooting > [HELP THREAD] Samsung Galaxy S4 T Mobile Version | Ask ANY Question | Noob Friendly
Good luck!
Thank you. Thread closed.

Categories

Resources