[Q] No R/W on SDCARD - Galaxy S III Q&A, Help & Troubleshooting

Hey guys,
I had Dark Paranoid 2.3 with MemSwapMod on my SGS3, everything was fine. Today there was an update and i decided to do a full wipe.
So I deleted the mod, copied my files, wiped, flashed Dark Paranoid 2.5, installed the MemSwapMod and wanted to copy my files (from windows to phone). But i cant copy, evertime I got errors. then I checked permissions on sdcard0 (cause now my external SD is my internale and vice versa) and seen that they are d---rwxr-x instead of drwxrwxrwx and belongs to system:sdcard_rw. changing ownership in Terminal gives me a "operation not permitted" (IM ROOT?!?!?!?!) and changing permissions with chmod gives my no errors, but even no changes of the permissions.
any help, gues or whatever????
cheers
Nik

z0mg.jer1Cho said:
But i cant copy, evertime I got errors. then I checked permissions on sdcard0 (cause now my external SD is my internale and vice versa) and seen that they are d---rwxr-x instead of drwxrwxrwx and belongs to system:sdcard_rw. changing ownership in Terminal gives me a "operation not permitted" (IM ROOT?!?!?!?!) and changing permissions with chmod gives my no errors, but even no changes of the permissions.
any help, gues or whatever????
cheers
Nik
Click to expand...
Click to collapse
Try change it with adb shell and use adb remount to have writable phone access (need one insecure kernel or adbd insecure (by Chainfire)).
If it doesn't work, flash a stock rom and look what happened. If you can write data, your filesystem (ext4) may be broken.

Tried mount -o remount /storage/sdcard1 (flashed ROM without Mod), no succes.
Now My External is my External again, I can copy files via windows, but not on the phone itself.
Copy Files via FTP to SDCard (SolidExplorer) is working fine, too.

Related

[Q] edited prop.build now phone won't boot - help?

I have TeamWinRecoveryProject installed, running Perfection RC2. I was unable to mount my SDcard when I ran CWM also. When I click on mount in TWRP nothing happens. I did back up my prop.build to my sd card just in case I messed something up, but until I figure out how to mount my sdcards so I can move the file from the external back to /system I'm toast \
I'm wondering if I can extract the prop.build from the Prefection release and flash it to my phone using Odin, but I don't know if it's possible or even how to go about doing it.
*edit* n/m I figured out how to access the system directory in ADB and did a mv for the backup and my phone's working again.
You may already know this or have discovered it but for future reference when you edit the build.prop file and save it you will need to change the properties to rw--r--r

Undeletable files

In the process of restoring some backups I ended up with a couple clockwork mod backup folders in the top of the /mnt/sdcard or /sdcard folder. These files store on the internal sdcard (not the removable micro sdcard) are effectively Undeletable. I have checked permissions and tried to remove them via astro and root explorer and when mounted on desktop and via adb shell commands (rm ...). Other files in the folder are removable but these backups refuse to budge.
Have restored to stock. Have restored via cwm. Absolutely refuse to shift and they are not small.
Any advice on ridding my s3 of these files would be welcome.
You checked files's permissions, but what was exactly the chmod applied ? Do you hack checked the owner ?
If these are folders, did you use the correct option of rm ( rm -f ) ?
As they're CWM backup files, you could use ROM Manger to get rid of them as well.
Use "rom janitor" from market to delete cwm backup files

[Q] How to mount ext sdcard as read-only in 4.1.2

Hi,
I have a Samsung Galaxy S3 verizon model. Its rooted and running CleanROM 6.0R2 ROM android 4.1.2.
I am trying to accomplish below
1. Mount external sdcard in read-only mode. This is to avoid files on the extsdcard being accidentally deleted.
I have music and some old photos in there. Sometimes my son plays with the phone. I don't want him
to delete all the photos/music on the external sdcard.
I have tried following, but none of then resolved the issue
1. Partition external sd card as ext3 and set all files/dir to read-only permission from ubuntu box.
This didn't work because, phone doesn't recognize the sdcard and partitions on it.
2. Partition extsdcard as vfat and set permission for the files/dir to read-only using root-explorer.
I cannot set permissions for vfat partition.
3. Partition extsdcard as vfat and Mount extsdcard as read-only using "root-explorer".
Doesn't work. Files can be deleted from other apps like Gallery.
4. Partition extsdcard as vfat and mount extsdcard as read-only using terminal and busybox.
This works. But files are owned by root. For group and other, permission is None. Hence
other apps are not able to view the files. I also cannot chmod and change permissions of the files.
It gives "File system is read-only" error.
From reading many posts, I conclude, partition has to be vfat for apps like Gallery/video player etc to view it.
Only option to achieve read-only on a vfat partition is to mount it read-only. Based on this, any idea how I can achieve my objective?
Also, once set, what happens is the phone is rebooted? Anyway to repeat the sets at boot time?
Thanks

[Q] invisible/hidden sd cards after "platform.xml" file mod

Hi all, I've got brand new Samsung Galaxy S5 mini (SM-G800F), which I rooted already. Also used an app to fix permissions to ext SD card (I've got Android Kitkat). Everything was fine but I didn't have full access to ext SD card. Found online that I need to make one more change in "platform.xml" file. Using ADB I pulled file and after modification changed permissions, had read-only message, to push file back on place (used command below to get permission).
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/app
What happened after these operations:
1) I lost access to all cards (internal and external) through mobile phone. SD cards are "invisible", pictures in gallery disappeared and when I use camera to take a new one it shows file is saved and then pic disappears. Used ADB to find out what's on card and directory /sdcard/dcim/camera has all pics I had before but newly taken are not saved.
2) I've got pop up messages saying "Unfortunately, (name of app) has stopped." Once I press OK, after few seconds new message pops up for another app. Many apps don't work but not all of them.
3) Kies can't connect with my phone. Can't find the device.
4) When phone is connected to PC I can access it but there is no files (empty folder). Files can be accessed with ADB only.
What I've done trying to solve the problem:
1) Restored original copy of "platform.xml". Didn't help so I...
2) Downloaded copy of my sys (G800FXXU1ANL1) from samsung-update website.
3) Unrooted, but all above didn't help so I...
4) Rooted again, installed TWRP recovery and installed sys again. It didn't help so...
I'm here to ask for your help How to restore sys or what should I do to get it back to normal?
Gemini

Unable to mount internal sdcard issue after flashing ROM.

Device: LeEco Le 2
I was using TWRP 3.0.0 and AOSP Android 7.1 uptil last week.
Last week, I flashed TWRP twrp-3.2.1-0-s2.img and ROM: AOSP Extended : https://forum.xda-developers.com/le-...-v6-0-t3841473
Guide Followed While Flashing TWRP and Magisk: https://www.guidingtech.com/59895/le...-installation/
Problem: Everything was fine until I tried Downloading an apk using chrome and it couldn't find storage/emulated/0 and none of the apps were able to access storage..
So I fired up ADB and $ adb shell gave me a list of folders with no storage folder.
~ # ls boot init.recovery.service.rc selinux_version cache init.recovery.usb.rc sepolicy charger license service_contexts data oem sideload default.prop persist supersu dev proc sys dsp property_contexts system etc recovery tmp file_contexts res twres firmware root ueventd.rc init sbin usbstorage init.rc sdcard init.recovery.hlthchrg.rc seapp_contexts
I realised I had no /storage/emulated/0 folder.
I tried reflashing the rom, it didn't make a difference. I tried flashing a different ROM, no result.
I tried to open the folder sdcard, it says 'sdcard' is not mounted.
I tried mounting it using adb but it didn't work. I tried symlinking storage/emulated/0 to sdcard, no results.
How to I get my sdcard back/mount it?
I tried format data from TWRP. I tried flashing this kernel too: https://forum.xda-developers.com/le-...-v1-0-t3677897
I tried other roms and twrp versions..
The internal sdcard just won't mount.
Any ideas on how to mount it manually using adb or something?

Categories

Resources