I can't Delete file in root directory - Android Q&A, Help & Troubleshooting

First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5

Mount /system as writable using ES explorer. Use Terminal. Use cd command to navigate to the directory, type su to enter su mode, type rm -f file.name to remove the file.
Sent from my Nexus 7

markdoom said:
First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Click to expand...
Click to collapse
I think you haven't rooted correctly, download this app and root check:
Here
If you aren't rooted then try to root again with this guide:
Here
Hit the Thanks button if helped.

Thank you for all comment. and sorry for my delay.
I still can't delete it. but. Yesterday I Flashed new stock rom.
So. logo.jpg file has been deleted

Does the device work after reboot
You have deleted the Bootscreen. Does your device boot anymore?
Does it show your new pcture on power on?

Related

Root: Replacing system sound files

Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
have you tried with and without file extention?
Yes. Root explorer just won't let me move any files around in the phone memory. Do I have to do it using adb?
I have a feeling its Root Explorer not working properly in Hero.
I could do this easily on my magic, but I get the same thing - looks like its copied the file, but when I paste, nothing happens at all.
I did manage to delete the Stocks app. from the device (don't use it or need it) using root explorer but other attempts to copy and pasdte have failed.
I have however managed to successfully use Astro File Manager to copy a wallpaper file from the device memory and paste to the SDcard. Will explore Astro a little further and see if it can do more on the device.
Dayz
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
I think anything in app-private is a no go anyway as it contains copy protected apps. With regard to astro - it can copy from device in certain locations, and paste to sd to back up, but it can't delete from the device, and it can't copy or move files to the device.
Daisy xx
Dayzee said:
I think anything in app-private is a no go anyway as it contains copy protected apps.
Click to expand...
Click to collapse
Hmm, thanks Daisy. Will get on to the app's developer, as it was his advice to gain the ability to change location settings that I tried to follow.
Al
Shluggity said:
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
Click to expand...
Click to collapse
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
Unless you made other changes than rooting, the /system partition is mounted read-only by default. As far as I know, you'll have to follow one of the root guides to mount it read-write (like you probably did to get /system/bin/su in place) and then do whatever changes you'd like.
Personally, I got tired of the boot audio real fast, so I changed useAudio in /system/media/boot_animation.xml from "1" to "0". Ahh, blessed boot silence...
nrkabul said:
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Click to expand...
Click to collapse
And work it did for me also! Many thanks for your help - I really appreciate it.

[Q] Problem with GPS and gps.conf file

Hi everybody
My problem is with my GPS signal. I searched in the forum and I found a topic ( http://forum.xda-developers.com/showthread.php?t=1060963 ) with a correct gps configuration. I followed the steps but when I edit gps.conf file I can't do becouse I haven't permissions. In other topic talk about how I can do to give file permissions with:
- adb shell
- su
- mount -o remount,rw /dev/block/mtdblock3 /system
I following this steps but when I edit the gps.conf file (with root explorer) and I put the new configuration and reboot the terminal, the file don't change and has the old configuration.
What's the problem? I don't know
Sorry for my bad english
Thanks !!
Your problem is that the phone is s-on. You can't edit /system when your phone is on. Boot into Clockwork Recovery, mount usb + system, and debug with abd or a program like Android Commander. Then reboot your phone.
pepijn499 said:
Your problem is that the phone is s-on. You can't edit /system when your phone is on. Boot into Clockwork Recovery, mount usb + system, and debug with abd or a program like Android Commander. Then reboot your phone.
Click to expand...
Click to collapse
Thanks you man !! I could edit the file and the gps works perfectly.
I hope this post will serve to other people's
Thanks for all !!
I've been away from a computer for a couple of weeks now, but I needed to edit my gps.conf yesterday, so here's what I did. It was actually pretty enjoyable.
I used Root Explorer throughout.
I created a new folder where I would carry out all of my operations on my SD card. I then copied the existing gps.conf to that folder.
Then I edited the file with Root Explorer's built in text editor and created a folder named "system" and a subfolder inside that folder named "etc". Then I moved gps.conf into "etc".
Next, I longpressed the "system" folder and zipped it. From there, I flashed it with CWM and the GPS has been working flawlessly since.
Sent from my HTC Legend using XDA App
Asovse1 said:
I've been away from a computer for a couple of weeks now, but I needed to edit my gps.conf yesterday, so here's what I did. It was actually pretty enjoyable.
I used Root Explorer throughout.
I created a new folder where I would carry out all of my operations on my SD card. I then copied the existing gps.conf to that folder.
Then I edited the file with Root Explorer's built in text editor and created a folder named "system" and a subfolder inside that folder named "etc". Then I moved gps.conf into "etc".
Next, I longpressed the "system" folder and zipped it. From there, I flashed it with CWM and the GPS has been working flawlessly since.
Sent from my HTC Legend using XDA App
Click to expand...
Click to collapse
I don't knew this interesting way.
Thanks for share it.

[Q] Linux/CWM/file manager/ PERMISSIONS

OK ...
Samsung Fascinate SCH-i500
Rooted via SuperOneClick
Current ROM I am test driving on my phone is PWGB beta version (latest v 10/2011)
red versionCWM and verified I have busybox install.
installed Astro File Manager & Dual File Manager XT & Terminal Emulator.
MY NEED FOR ANSWERS:
I have a new bootanimation.zip stored on my SD card Id like to try out.
current ROM uses bootanimation file that is located in [/system/media/bootanimation.zip]....
the [/system] folder did not have the permissions that would allow me to move the current bootanimation zip and insert my new bootanimation zip.
Looks like the /system folder permissions were set at 0755 showing via "terminal emulator"
looks like I was successfull at changing the folder permissions to 0777 via
su[ENTER]mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system[ENTER]
chmod 0777 /system[ENTER]
but in order to get my new bootanin.. zip to transfer over to new location from my sdcard, went to move it with the [-i] option and TE displays [failled -Cross -linked Device] error message....
I am at a loss at this point to get the project done...
YES I AM A NOOB... I HAVE LEARNED ALOT FROM YOU GUYS... THANKS IN ADVANCE for your answers...,
This is what i do when i want to change my boot animation.
First of all, go to the market and install "Root Explorer".
Now put the new bootanimation.zip on your SD card. (I personally use DropBox to download it and store it on my SD card).
Go into Root Explorer, and into the /system/media/ folder and click the little "Mount R/W" button at the top of the app (this changes the permissions, allowing you to copy/move and add files to the system partition), and change the current bootanimation.zip to bootanimationold.zip (simple way of backing it up, in case anything goes wrong, or you simply wanna switch back).
Now go to your SD card (still in root explorer) and copy the new bootanimation.zip, go back into the /system/media/ folder and simply paste it.
Click on the new bootanimation.zip and change the permissions to
User: X X -
Group: X - -
Others: X - -
(Where "X" is permission granted, and "-" is no permission)
Press Ok, and click the "Mount R/O" button in the top of the app, and exit Root Explorer. All done.
Now reboot your device and see the glorious new bootanimation
PS: If there is anything wrong with the bootanimation.zip, it will simply show a black screen after the initial splash screen. So simply wait, and let your device boot like normal.
did not work...
I managed to rename the old boot animation zip and I managed to place the new bootanimation.zip into the same folder.... /system/media/bootani.....
I rebooted the phone but still the OLD boot anima remains and active. the NEW bootanimation file is indeed there but the phone does not act like it.
I went to recovery and cleared cache and dalvik and reboot....nada still no new boot animation.
I took on this small project of changing my boot animation because it looked to be so simple. I got the new boot animation file from a thread of a collection of boot animations and the instructions said to just place on SDcard and install via CWM....needless to say that did not work, so the journey went to where I am now....

Help editing "/sys/devices/virtual/switch/hdmi/state"

Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
naiponnoi said:
Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
Click to expand...
Click to collapse
Interested too. I m exactly at the same point, even with sys mounted RW
Hi. Any news oh this? Thanks

Please help

everytiem i rebot my android device it factory resets and also i have 0b internal storage i read other forums i need to copy busy box from system/xbin to system/bin , tablet has es file explorer preinstalled so i used it but everytime i try to copy paste it says this is read only folder , so i roted my tablet with kingo root and installed android terminam , can someone tell me how to copy busybox from system/xbin to system/bin with terminal comands and give me an example like "copy system/xbin/busybox to system/bin" thankyou and sorry for bad english

Categories

Resources