Hello,
After flashing the most recent TuchMi ROM on my galaxy s3, trying it out and restoring to my nandroid backup of kyanrom I have a TuchMi folder I cannot delete. I have tried ES Fileexplorer and Root Explorer both. There are three zip files in the TuchMi folder that cannot be deleted, tells me file permissions cannot be changed.
That said, the timestamp on the /TuchMi folder is 8 March 1970. I am wondering if this is causing something to fail in deleting or being able to change permissions. I don't know if this is right place to ask this question but I can't ask in the TuchMi thread because I am too new. Anyone have an idea on what I can do to fix this?
Thanks
JMD
rezin44 said:
Hello,
After flashing the most recent TuchMi ROM on my galaxy s3, trying it out and restoring to my nandroid backup of kyanrom I have a TuchMi folder I cannot delete. I have tried ES Fileexplorer and Root Explorer both. There are three zip files in the TuchMi folder that cannot be deleted, tells me file permissions cannot be changed.
That said, the timestamp on the /TuchMi folder is 8 March 1970. I am wondering if this is causing something to fail in deleting or being able to change permissions. I don't know if this is right place to ask this question but I can't ask in the TuchMi thread because I am too new. Anyone have an idea on what I can do to fix this?
Thanks
JMD
Click to expand...
Click to collapse
Run "fix permissions" from recovery, and then try again.
(One of the most common reasons you can't delete something, even as root, is that its file attributes are set to "immutable" (which under linux often means you've been hacked, but no worries here))
Thanks for the quick reply but that didn't seem to fix it. I am at a loss, the folder is only 32meg so I am not too concerned but it is a little annoying. If there's another thing you can think of I'd appreciate it.
Sent from my SGH-I747M using Tapatalk 2
rezin44 said:
Thanks for the quick reply but that didn't seem to fix it. I am at a loss, the folder is only 32meg so I am not too concerned but it is a little annoying. If there's another thing you can think of I'd appreciate it.
Sent from my SGH-I747M using Tapatalk 2
Click to expand...
Click to collapse
Nuke it (rm -rf somedir) from an adb shell, so you can see the actual error.
zmore said:
Nuke it (rm -rf somedir) from an adb shell, so you can see the actual error.
Click to expand...
Click to collapse
Here's what it says.
Code:
[email protected]:/ $ cd sdcard
cd sdcard
[email protected]:/sdcard $ ls
ls
Alarms
Albums
Android
Application
DCIM
Download
EVA
Evernote
GOLauncherEX
GoStore
Library
Movies
Music
Notifications
Pictures
PlayerPro
Podcasts
Ringtones
SpeedSoftware
TuchMi
ba-superkeyboard
backups
data
ivona
mdm
media
rootz
svox
temp
[email protected]:/sdcard $ rm -rf TuchMi
rm -rf TuchMi
rm failed for -rf, No such file or directory
255|[email protected]:/sdcard $ rm TuchMi
rm TuchMi
rm failed for TuchMi, Is a directory
255|[email protected]:/sdcard $ cd TuchMi
cd TuchMi
[email protected]:/sdcard/TuchMi $ ls
ls
Stock_SystemUI.zip
Voice_Reinstall.zip
XXBLG1_AndroidGX-MOD_NexusBattery.zip
[email protected]:/sdcard/TuchMi $ rm Stock_SystemUI.zip
rm Stock_SystemUI.zip
rm failed for Stock_SystemUI.zip, Permission denied
255|[email protected]:/sdcard/TuchMi $ ls -l
ls -l
-rw-rw-r-- root sdcard_rw 1280043 2008-08-01 07:00 Stock_SystemUI.zip
-rw-rw-r-- root sdcard_rw 29694315 2008-08-01 07:00 Voice_Reinstall.zip
-rw-rw-r-- root sdcard_rw 2582686 2008-08-01 07:00 XXBLG1_AndroidGX-MOD_Nex
usBattery.zip
[email protected]:/sdcard/TuchMi $
and these are the permissions of the subject directory.
drwxrwxr-x root sdcard_rw 1970-03-08 01:48 TuchMi
Thank you for taking the time to respond to this.
JMD
I had to delete it while plugged into my pc. Was just driving me crazy that I couldn't get rid of it.
Well, I've resigned myself to failure deleting these three files and the folder they're in. I've tried 8 or 9 different file managers. I downloaded and installed adb, learned enough to really screw up my phone, but that didn't work either. I tried deleting them through windows and debian too.
That said, I'm just going to live with things as they are now. In the future when a more mature JB rom comes out I'll try that but my question is this, can I just format (wipe) my sdcard partition and restore the stock at&t/Samsung rom using Odin?
Sent from my SGH-I747M using Tapatalk 2
rezin44 said:
Well, I've resigned myself to failure deleting these three files and the folder they're in. I've tried 8 or 9 different file managers. I downloaded and installed adb, learned enough to really screw up my phone, but that didn't work either. I tried deleting them through windows and debian too.
That said, I'm just going to live with things as they are now. In the future when a more mature JB rom comes out I'll try that but my question is this, can I just format (wipe) my sdcard partition and restore the stock at&t/Samsung rom using Odin?
Sent from my SGH-I747M using Tapatalk 2
Click to expand...
Click to collapse
I noticed in your terminal output, that you weren't root (# vs $). "su" to root, and try again.
zmore said:
I noticed in your terminal output, that you weren't root (# vs $). "su" to root, and try again.
Click to expand...
Click to collapse
Yeah, I caught that before you mentioned it yesterday but I thought I'd try it again as this is very new to me and I am using cheat sheets with adb common commands to navigate through this. Here is the output though. Still no bueno..
Code:
drwxrwxr-x root sdcard_rw 1970-03-08 01:48 TuchMi
drwxrwxr-x root sdcard_rw 2012-09-04 08:05 ba-superkeyboard
drwxrwxr-x root sdcard_rw 2012-09-04 09:45 backups
drwxrwxr-x root sdcard_rw 2012-09-05 02:05 clockworkmod
drwxrwxr-x root sdcard_rw 2012-09-03 20:09 data
drwxrwxr-x root sdcard_rw 2012-09-04 14:24 ivona
drwxrwxr-x root sdcard_rw 2012-08-31 09:00 mdm
drwxrwxr-x root sdcard_rw 2012-08-14 17:39 media
drwxrwxr-x root sdcard_rw 2012-09-03 21:31 rootz
drwxrwxr-x root sdcard_rw 2012-09-04 23:14 temp
[email protected]:/sdcard # rm -rf TuchMi
rm -rf TuchMi
rm failed for -rf, No such file or directory
255|[email protected]:/sdcard # cd TuchMi
cd TuchMi
[email protected]:/sdcard/TuchMi # ls -l
ls -l
-rw-rw-r-- root sdcard_rw 1280043 2008-08-01 07:00 Stock_SystemUI.zip
-rw-rw-r-- root sdcard_rw 29694315 2008-08-01 07:00 Voice_Reinstall.zip
-rw-rw-r-- root sdcard_rw 2582686 2008-08-01 07:00 XXBLG1_AndroidGX-MOD_Nex
usBattery.zip
[email protected]:/sdcard/TuchMi # rm Stock_SystemUI.zip
rm Stock_SystemUI.zip
rm failed for Stock_SystemUI.zip, Permission denied
255|[email protected]:/sdcard/TuchMi # rm Stock_SystemUI.zip
rezin44 said:
Yeah, I caught that before you mentioned it yesterday but I thought I'd try it again as this is very new to me and I am using cheat sheets with adb common commands to navigate through this. Here is the output though. Still no bueno..
Code:
...snip...
[email protected]:/sdcard/TuchMi # ls -l
ls -l
-rw-rw-r-- root sdcard_rw 1280043 2008-08-01 07:00 Stock_SystemUI.zip
-rw-rw-r-- root sdcard_rw 29694315 2008-08-01 07:00 Voice_Reinstall.zip
-rw-rw-r-- root sdcard_rw 2582686 2008-08-01 07:00 XXBLG1_AndroidGX-MOD_Nex
usBattery.zip
[email protected]:/sdcard/TuchMi # rm Stock_SystemUI.zip
rm Stock_SystemUI.zip
rm failed for Stock_SystemUI.zip, Permission denied
255|[email protected]:/sdcard/TuchMi # rm Stock_SystemUI.zip
Click to expand...
Click to collapse
Weird. As root, you normally only see that for immutable files, so, try:
lsattr foo.zip
and if you see an "i" flag for immutable, do a:
chattr -i file.zip
zmore said:
Weird. As root, you normally only see that for immutable files, so, try:
lsattr foo.zip
and if you see an "i" flag for immutable, do a:
chattr -i file.zip
Click to expand...
Click to collapse
Code:
D:\android-sdk\platform-tools>adb devices
List of devices attached
b41c0497 device
D:\android-sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # cd sdcard/TuchMi
cd sdcard/TuchMi
[email protected]:/sdcard/TuchMi # ls -l
ls -l
-rw-rw-r-- root sdcard_rw 1280043 2008-08-01 07:00 Stock_SystemUI.zip
-rw-rw-r-- root sdcard_rw 29694315 2008-08-01 07:00 Voice_Reinstall.zip
-rw-rw-r-- root sdcard_rw 2582686 2008-08-01 07:00 XXBLG1_AndroidGX-MOD_Ne
usBattery.zip
[email protected]d:/sdcard/TuchMi # lsattr Stock_SystemUI.zip
lsattr Stock_SystemUI.zip
lsattr: reading Stock_SystemUI.zip: Function not implemented
[email protected]:/sdcard/TuchMi # lsattr Voice_Reinstall.zip
lsattr Voice_Reinstall.zip
lsattr: reading Voice_Reinstall.zip: Function not implemented
[email protected]:/sdcard/TuchMi #
It kicked out those "Function not implemented" errors, I did some searching and some of the sites that popped up were fedora and ubuntu and they hinted at maybe I have the wrong file system for lsattr to work? In windows it shows the file system on both sdcards, int and ext, as 'generic hierarchical'.
I have had this issue with a couple of folder where I could NOT delete them on my i777 no matter what/how I tried. The files/folders I had were some that I extracted. Then when I was done with it I couldn't delete it. After I had two folders I couldn't delete as it too was bugging me was I connected up my phone via ums to my PC and transfered everything I wanted/needed from my sdcard (internal unremovable). Then when I had it all backed up I went into recovery and formatted my internal sdcard (I removed my external sdcard first to be safe). Then I booted up phone and saw it was all clean. Then I reconnected to PC and transferred all my needed files/folders back onto phone.
I THINK what happened was somehow it was a corrupted file and caused my issues. Completely wiping my sdcard fixed it though. Good luck to you.
Sent from My SGH-I777 Running Red Reaper Rom
RockRatt said:
I have had this issue with a couple of folder where I could NOT delete them on my i777 no matter what/how I tried. The files/folders I had were some that I extracted. Then when I was done with it I couldn't delete it. After I had two folders I couldn't delete as it too was bugging me was I connected up my phone via ums to my PC and transfered everything I wanted/needed from my sdcard (internal unremovable). Then when I had it all backed up I went into recovery and formatted my internal sdcard (I removed my external sdcard first to be safe). Then I booted up phone and saw it was all clean. Then I reconnected to PC and transferred all my needed files/folders back onto phone.
I THINK what happened was somehow it was a corrupted file and caused my issues. Completely wiping my sdcard fixed it though. Good luck to you.
Sent from My SGH-I777 Running Red Reaper Rom
Click to expand...
Click to collapse
Thanks, Im gonna give this a try
Well, it's beat me. After trying all the above things I still cannot delete the TuchMi folder. I tried formatting the sdcard partition from windows, CWM, and fedora. All three did format and manage to wipe everything from that partition except the TuchMi folder.
All I can say is be wary of that ROM.
Sent from my SGH-I747M using Tapatalk 2
After the Android 4.3 update to build JWR66Y neither the Root Explorer function of ES File Explorer nor the mount command shown below work any more:
>adb shell
[email protected]:/ $ su
su
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
mount: Operation not permitted
255|[email protected]:/ #
What happened? How can I make any changes to /system now, short of going through the recovery?
Google search "changelog JWR66V JWR66Y"
a manta sent this.
How can I change files in the /system partition on a rooted HTC One? I...
1. Mount /system as read-write
2. Rename a file and confirm that it has changed
3. Remount /system as read only
The changes I made in step 2 have been forgotten. How can I get around this?
C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>adb shell
[email protected]:/ $ su
su
[email protected]:/ # cd system/app
cd system/app
1|[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
255|[email protected]:/system/app # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old
mv GMS_Maps.apk GMS_Maps.apk.old
[email protected]:/system/app # ls -l GM*
ls -l GM*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk.old
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app # mount -o ro,remount /system
mount -o ro,remount /system
[email protected]:/system/app # ls -l GMS*
ls -l GMS*
-rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk
-rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex
[email protected]:/system/app #
Solved... the stock kernel is write protected. You have to install a non-protected kernel, such as BulletProof. Make sure you choose the one that matches your Android and Sense versions. Copy the ZIP to your HTC One, boot into recovery, install zip and reboot... then use Root Explorer or ES File Explorer to delete /system/app/GMS_Maps.apk and /system/app/GMS_Maps.odex. No more Maps 7.x! Thanks nkk71 for the tip.
Hello there,
I got a problem with my internal sdcard... I dont have access to certain directorys...
I am trying to delete a file from a folder (Downloads) and it works.
I am trying to delete a file from a folder (one which a app created on a other rom (ressurection)) and it doesent work, even as root i get permission denied.
Some Infos:
Old ROM: Ressurection Remix
ROM: Bumped Lollipop, Stock
Model: D-855
Carrier: None
All Commands as root:
Output of "#ls -la /sdcard/":
Code:
Downloads: drwxrwx--- root sdcard_r some-date some-time Downloads
Other Folder: drwxrwx--- root sdcard_r some-date some-time Folder
Output of "#ls -la /sdcard/Folder/":
Code:
-rw-rw---- root sdcard_r some-size some-date some-time File-to-delete
Output of "#rm -f /sdcard/Folder/File-to-delete":
Code:
rm: File-to-delete: Permission denied
Any Ideas?
EDIT:
Could someone send me the output of "ls -la /sdcard/" and "ls -la /storage/external_SD" of his G3, I wanna try to set Owner and Group and permissions of the folders