RESOLVED: Unable to change file permissions (Is this a SuperSU issue?) - Mate 8 Q&A, Help & Troubleshooting

I have Unlocked my device using this for reference. Where I Unlocked, Flashed TWRP, then flashed firmware NXT_C900B162 & SuperSU. Worked as expected, except for the theme issue. Next day, to change my ROM, I flashed TWRP, flashed C185B190 and SuperSU on my NXT-L29. All well so far, except the theme issue.
Now I am attempting to fix the missing theme issue faced by others here. As suggested in the same thread, I tried Root Explorer (Paid) and allowed Root access. I also went to root of System partition and changed permissions to RW. Now I need to change permissions for the folder which is inside Data folder in Internal Storage.
However when I try to change the permissions of a file or folder, I get the following error.
"Permissions change was not successful. Please note that some file systems do not allow permission changes."
What is the issue? How do I fix this?
Is this a case of my SuperSU not being the correct one when I flashed second time with stock ROM? I used SuperSU from over here which was for NXT_C900B162.
Update:
Trying to add more info for someone to help me out here.
In these steps I am using ES File Explorer. This is what I am trying.
1. Open ES -> Select Root Explorer -> Tap on it again -> Select Mount R/W -> Select All.
2. Select any file -> File Properties -> Has 3 properties -> Readable, Writeable, Hidden -> Next to them there is an option to edit (Available only for some folders).
I next checked for which folders these options are available. Here is what I observed.
1. With SD Card or Internal Storage, options to edit are NOT available . Checked multiple folders within them.
2. I immediately go to /storage, and check the folder emulated. These options are available.
3. Within /storage, I check the folder which contains my sd card items. These options are NOT available.
3. I then navigate int /storage, and check folder "0", these options are NOT available.

I resolved this myself. Was looking at the wrong Data folder at the wrong path!
Man, I wasted almost an entire day.

Go to / data/media/0/ folder
The best n easiest way to do it is...
If u want to change the permission of file in your internal storage then just open root explorer ( I assume it already rooted) navigate to /data/media/0/(yourfolder)/(yourfile)
N long press n change the permission..Voila good u did it!!
This is basically due to some of them have Fat32 Filesystem format while they r in storage/sdcard which are different than Linux/UNIX file system permissions!
So if u go through /data/media/0/ then it's in ext3/ext4 format which is why u can change the permissions!!😄😃

Related

Help changing permission

I am updating to Thiaiz rom, and he told me to change permission on the init.d file. but ising the root explorer I cant seem to change it, because it is a read only file. can anyone help me on this issue please..
-Navigate with a file explorer to /system/etc/init.d and change permission on both scripts to "777" it means mark the 9 permission options.
-Install Script manager from market.
-Open script manager, navigate till system/etc/init.d and run the 2 scripts at boot.
thats the instruction, but i cant seem to follow it.
stunny said:
I am updating to Thiaiz rom, and he told me to change permission on the init.d file. but ising the root explorer I cant seem to change it, because it is a read only file. can anyone help me on this issue please..
-Navigate with a file explorer to /system/etc/init.d and change permission on both scripts to "777" it means mark the 9 permission options.
-Install Script manager from market.
-Open script manager, navigate till system/etc/init.d and run the 2 scripts at boot.
thats the instruction, but i cant seem to follow it.
Click to expand...
Click to collapse
There's ES File Explorer installed. Update to latest version in market if needed.
Open up app
Press Settings
Scroll down to root settings...
Check Root Explorer and Mount File System. If you fail to check Root Explorer, update to latest version of ES File Explorer in market.
Now that you got root explorer mode...
Press back till you go back to the file explorer.
Press the Sdcard looking icon on the row of icons. Its the leftmost icon in that row of 6 icons.
After you've pressed it, click into system folder
Next, click into etc folder
Next, click into init.d folder
You will see two files in there.
Hold down on the file (whichever first doesn't matter), then press properties.
Click Change in the permissions section, and then check everything.
Press Okay and repeat for the 2nd file.
After you are done, restart the phone.
After phone is restarted, go check to see if the permissions are changed.
thank you very much for the detailed instruction. i love this forum i tried em and it works

Can't find anything in /data/

Hi guys, I'm trying to follow the guides to prevent my wallpaper from changing that need to navigate to /data/data/com.android.settings/files by ES File Explorer or Root Explorer.
However, I couldn't find anything from /data/
Mine is 6.2.1, Burritos rooted.
Please help, thanks
(repeat of posted reply to same question in the How to Apply Wallpaper thead)
I use ES File Explorer 1.6.1.0 from the Market (not Amazon because last I checked they were a version or two behind)
Then go into settings a scroll to bottom and select ROOT EXPLORER and when asked I think I selected the CM option (and for good measure select MOUNT FILE SYSTEM, although I don't think that is required unless you are working in the /system/ folder).
Now you should see the contents of the /data/ folder...
Hope this helps.
hdmunger said:
(repeat of posted reply to same question in the How to Apply Wallpaper thead)
I use ES File Explorer 1.6.1.0 from the Market (not Amazon because last I checked they were a version or two behind)
Then go into settings a scroll to bottom and select ROOT EXPLORER and when asked I think I selected the CM option (and for good measure select MOUNT FILE SYSTEM, although I don't think that is required unless you are working in the /system/ folder).
Now you should see the contents of the /data/ folder...
Hope this helps.
Click to expand...
Click to collapse
I can't select ROOT Explorer with ES File Explorer
Hmmmm........got nothin'....
Are you sure you are looking in /data and not /sdcard/data?
What are you using Root Explorer or ES File Explorer?
If you're not fully rooted, even if you temp root with burrito root and set system to r/w, /data will show as empty unless your file explorer had been granted su permissions (which you'll need full root and super user app for). Found that out the hard way today myself.
Damn you Swype!
I had the same problem when I rooted the first time. I was following SuperOneClick instructions until I read it wasn't working with the latest stock update. Mid-root process, I switched to Burrito Root and completed the process. When I went to make mods in /data/data/... and saw nothing, I did a complete system restore and re-rooted with Burrito Root from the beginning. Everything's been fine since, including /data/data/.
After reading the post above, I guess my issue was either a botched root or something awry with my su install.

[Q] How to connect/access g2x thru computer

I have hellfire phoenix v1.9 running on my g2x. I wanted to add a ringtone from my computer into the g2x.
I have installed the android platform driver and then when I connect, I see drives E and F, but cannot explore them.
I searched and found a suggestion to turn on usb storage--but I find no options on the hellfire phoenix v1.9 to do this.
Also, toggling the usb debugging mode does not change anything.
All I am trying to do is to find the native ringtone folder and add my ringtone which I made in a .ogg format.
Please help
The simplest way for you to do this is put the file on your SD card and using either root explorer or ES file manager. You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\
Note you don't have to make the .ogg files it will still work with MP3's except alarms for some reason. You will also need to reboot before it shows up in your list.
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
sksriniv said:
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
Click to expand...
Click to collapse
Normally it's read only, as in you can look but you can't touch. Writable means you write to it, you can alter or otherwise put information/files there.
And, yes it's as simple as copy and paste, unless you don't know what you're doing in the first place.
Using ES file explorer is the simplest method. Even if you use ADB you still would have to give it the command to mount the system as writable. If you Droid explorer you still need to have the system mounted as writable.
I don't know if it works on all roms, but Gingerbread based roms if you make a directory named ringtones in the Root of the SD card the phone should read it from there, or it does on mine.
Yes, I did everything--thought it was going to work, but it failed.
Steps I took--
Copied a sound.ogg file into the ext sdcard
Installed ES file explorer and under preferences set permissions to write (because I am rooted)
Copied the file from edt sd card
then switched to the systems\media\audio\ringtones folder, was able to see all the ringtones currently present.
Pasted my sound.ogg file---it said "multiple operations completed, but failed to paste sound.ogg Unclear why..
Should I have rebooted after setting permissions to write, before executing the copy and paste operation?
Thanks for the prior help--but need some more..
Use an app called software data cable......works like a charm.....remember u need to be on the same network......it uses FTP service.
Sent from my LG-P999 using xda premium
I use a really useful app called Airdroid which you can find on the Google market. It allows you to establish a Wifi connection through your computer's web browser to your phone. I then transfer whatever music, files, shows or anything I want through it.
Thanks everybody
Just followed my previous steps as outlined. Being a noob, I had to do things gingerly, not to screw up. As I guessed, I have to reboot, before the ability to write takes effect (on es file explorer). Then it is just a matter of copy and paste.
Thanks all

Will not Boot into CWM

Ive been trying to install Glorious overdose for three days now and no matter what I do, I cant get my SK4G to boot into CWM, im rooted, have rom manager and have the zip for GO 3.3 in my root folder but it just seems to boot to normal recovery no matter what I do, any help please? I read that rom manager doesnt work, is that still true?
Thanks
Have you overwritten the stock recovery file on your phone? You'll need a file manager that can use SU in addition to root access. Also, you'll need to mount your internal storage as rw in order to overwrite the stock recovery using the root file manager of your choice.
ged92781 said:
Have you overwritten the stock recovery file on your phone? You'll need a file manager that can use SU in addition to root access. Also, you'll need to mount your internal storage as rw in order to overwrite the stock recovery using the root file manager of your choice.
Click to expand...
Click to collapse
Alright, bear with me I am a mega noob, I pick up on thigns fast though.
I have ES File explorer, and downloaded total commander, I tried to overwrite the recovery file in the system/bin and it says SU error, only giving me the option to Skip "failed /mnt/sdcard/sdcard" cross device link
Im not really sure how to mount/ unmount
I would download Ghost Commander from Google Play. It supports SU mode and is free. Most options to do anything can be accessed through the menu key. You'll have to enable root/SU mode in Ghost Commander since it's not enabled by default. Plus, you'll need to copy the file in that app and mount the file system as rw- (read-write). I forget the folder off-hand where the recovery is located at. *Standard Disclaimer*: Do these things at your own risk.
ged92781 said:
I would download Ghost Commander from Google Play. It supports SU mode and is free. Most options to do anything can be accessed through the menu key. You'll have to enable root/SU mode in Ghost Commander since it's not enabled by default. Plus, you'll need to copy the file in that app and mount the file system as rw- (read-write). I forget the folder off-hand where the recovery is located at. *Standard Disclaimer*: Do these things at your own risk.
Click to expand...
Click to collapse
See, I still have no idea how to mount or unmount lol. And Ill try that, thanks
I moved file to bin with the ghost commander app, it had a #rw next to the bin folder name. Now how to check mounts?
Junkyardspecial said:
See, I still have no idea how to mount or unmount lol. And Ill try that, thanks
I moved file to bin with the ghost commander app, it had a #rw next to the bin folder name. Now how to check mounts?
Click to expand...
Click to collapse
I'm guessing you are referring to checking mounts during ROM installation? That is done in CWM itself. If it says # means you have root and if it says rw means you have read and write capabilities. Once you have that, move the recovery.bin you downloaded from krylon and move it to system. It should ask you if you want to replace existing recovery. Then once thats there and you have the update zip on the root (main part of your SD card, not a folder or anything), go into normal Samsung recovery and reinstall. Should take you to CWM if you moved recovery correctly! Thats when you need to check mounts.
I haven't used Ghost Commander, but I downloaded the free version of SuperManager 3.0 to move the recovery file.
If you use SuperManager, you just go to the file manager (slide to screen 4, top left), you will start out in MNT/SDCARD. First, click the menu button and choose "setup." You will see "ROOT" and click on it, check "Enable ROOT function" then you will be promoted by SuperUser [su] to allow access, hit yes. Back out of the menu so that you are back to the SDCard [note: sometimes you find that you are in the system file after enabling root, if so scroll to the top and click 'Back up level folder' then choose 'SDCard' If you get a popup which says "Switch system r/w" at the top, choose "R/W"].
Once back at MNT/SDCARD, scroll to the recovery file, click and hit 'copy'. Scroll back to the top and click 'Back up level folder' until you are back where the "system" file is located - top where it read "MNT/SDCARD" will read "/ (R/O)" or "/ (R/W)" and if it only shows "/" then you need to enable ROOT still. If it shows "(R/O)" at this level, that is okay. Scroll to "system" [if you have already been promoted to choose "R/W" you will likely notice that the top reads "/SYSTEM (R/W)"] and click to enter, click "bin" to enter, click "paste." If you have not already been promoted to do so, you will be promoted to change directory to R/W [read/wright, versus R/O read only]. If it asks about replacing the file, choose whichever option replaces the file, you do not want to save with a different file name.
If you are using a different file manager, you may find the process very similar. Good luck! Glorious Overdose is a good ROM [though I have not used v.3, I have used v.2 and really enjoy it].
You may find this thread very helpful.

System "semi" Writable?

I recently Wiped my Phone completely and decided to Re-Flash Viper 1.2.1.
I noticed a problem prior to re-installing but thought nothing of if since it wasn't crucial at the time.
In Root explorer, I am able to delete [i normally delete boot animations] system files but not add where I need to add. Example, I wanted to add a ringtone to my system/media/ringtones folder. I normally [for the last six years] could just copy and paste such files using a root file manager.
However, when I any these files to for example /system/customize/resource/ it doesnt add it. BUT IT DOES rename the file and save it under a dif folder.
Example. Tried copying-copy to-moving to "androidtwirp.mp3" from sdcard to /system/media/notifications and a message pops up saying"notificationsandroidtwirp.mp3 successfully copied-moved to" and it saves notificationsandroidtwirp.mp3 to /system/media/ and it stays there. retrying from that location only results in "notificationsnotificationsandroidtwirp.mp3".
So not only does it rename the file but it saves it in the wrong location. I am at a loss for word. I tried the basics to tryand fix this but i cant seem to hit it on the head.
Thanks!
Edit: Not updating Super SU app, file explorer seems to have worked. Will attempt to duplicate problem to see what actually caused.it.
FOUND IT!
Updating my ES File explorer broke my system writing ability. DO NOT UPDATE is because when you do...
Any file you move, copy/paste to the system will not work properly.
This first happened when I tried to copy and paste a boot animation after I updated ES root explorer. It would rename whatever file i was trying to paste/move/copy over and save it under a sub folder.
example.
copying a ringtone [i.e. androidtwirp.mp3] from SDCard to System folder, the path is /system/media/audio/ringtones/ and it would rename it "ringtonesandroidtwirp.mp3" and save it under /system/media/audio/.
So basically not only was it renamed [which i didnt want it to be] but it would save it to the folder before the actual folder i needed it to be in, plus it would corrupt the file deeming it useless.
moving "ringtonesandroidtwirp.mp3" into the correct folder would only result in "ringtonesringtonesandroidtwirp.mp3"
this happened across the board with all files being moved around
The ES File Explorer version 1.2.1 comes with works flawlessly so don't update it.
I uninstalled ES [also any folders in SDcard related to it] and downloaded JRummy's root explorer and everything is back to normal except i have to reboot the phone to see files [like ringtones and notifications] that i added to the system.
I think it has something to do with our devices having an unlocked bootloaader, but still S-ON. There's S-OFF in the Dev section now if you really need to write to the system folder a lot.
I came from the Vibrant so I know what you're going through
Yeah, im on a low hboot so s-off might not be in my plans since I can practically flash what I want but it was ES file explorer, when I updated the apk the root permissions broke when writting to the system. I emailed the dev and they said they'd have it fixed on the next update.
echo en Android

Categories

Resources