I can't delete any files on my nexus 7? - Nexus 7 Q&A, Help & Troubleshooting

My nexus 7 had slowed down recently. So I was advised by someone here to reinstall the stock rom. So I backed everything up that was on it and installed the latest version of android (4.2.2). It worked. It's not slow anymore. But there's one problem. I can't delete any files on it using es file manager. I get a message saying "cannot delete some files. Please make sure that your storage is not mounted as read-only". I don't know what that means. Can someone help me?
Sent from my Nexus 7 using xda app-developers app

You can delete unwanted files straight from TWRP Recovery. TWRP > Advanced > File Manager >SD Card > Select Items > Delete.

Well that worked. But it's too much trouble to have to go into TWRP just to delete a file. Why can't I delete it with ES file explorer like I could before I reinstalled the stock rom?
Sent from my Nexus 7 using xda app-developers app

You don't state if you're rooted....

Yes it's been rooted.
Sent from my Nexus 7 using xda app-developers app

And SU or SuperSU (whichever) is active, with root permissions being granted as needed?

Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.

danvee said:
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Click to expand...
Click to collapse
Yes. I have SuperSU. It's active with root permissions granted.
TheAltruistic said:
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
Click to expand...
Click to collapse
Hmm I'm not sure I understand. I already put it in rw mode in the es file explorer app under tools/root explorer. But it still won't let me delete things.
Sent from my Nexus 7 using xda app-developers app

Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app

Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Have you looked into TWRP > Advanced > Fix Permissions?

Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hm weird. Under the assumption that you are doing everything correctly, it should work as superuser permissions supersedes all and any limitation unless the file is open preventing it from being written to. If that's the case you will have to go through recovery as Username invalid suggested to edit the file.

Username invalid said:
Have you looked into TWRP > Advanced > Fix Permissions?
Click to expand...
Click to collapse
I just tried that. Unfortunately it didn't work. And it gets worse. It seems like I can't do anything to the file system at all. Meaning I can't create a new file or folder. And I can't edit or delete what's already there. I haven't tried to download anything yet. But that probably won't work either. This is terrible.
Sent from my Nexus 7 using xda app-developers app

Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app

Bryon15 said:
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied

Username invalid said:
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Click to expand...
Click to collapse
I read it. It says to fix it I have to remove and recreate the virtual device and change the size. But I have no idea what that means or how to do it. Why is everything so hard?
Sent from my Nexus 7 using xda app-developers app

If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium

ezas said:
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app

Bryon15 said:
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en

Username invalid said:
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Click to expand...
Click to collapse
Thank you. I'm going to attempt to fix it now. Wish me luck.
Sent from my Nexus 7 using xda app-developers app

Do I have to download ADB tool for my PC to use with this?
Sent from my Nexus 7 using xda app-developers app

Related

Installed Modules copied over at 0k??

So i have upgraded to the new r11 zimage and tried to install the latest modules but only some have copied over as others have copied but at 0k??
there are nine that will not copy over
Any ideas?
Enough free space?
Did you copy it using Android's USB mode? That tends to corrupt files, for installing modules I use Android Commander.
Yea plenty of free space others have copied fine. It's copying the file over but its empty 0k I'm using a root explorer to copy over as there are a few files to copy with this update
Sent From My HD2 using xda Android app
I shall take a look at that
shadiku said:
Did you copy it using Android's USB mode? That tends to corrupt files, for installing modules I use Android Commander.
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
So I have installed android commander and got that working and when i push the files that are missing it says no space left on drive so I'm gonna search that now any help here is appreciative
Sent From My HD2 using xda Android app
nope
still no joy, the only thing i can think of is the android file system has become corrupt?
android is working still so ill just wait for a build with the latest kernal
your trying to copy the files without root privileges.
in the term the first thing you need to do is type su
that will change the $ to a #
then copy the files.
cp /sdcard/*.ko /system/lib/modules
I shall try that but I wonder why some went over then but others did not
Thank you
aarons6 said:
your trying to copy the files without root privileges.
in the term the first thing you need to do is type su
that will change the $ to a #
then copy the files.
cp /sdcard/*.ko /system/lib/modules
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
No that didn't work still says no space left on device
DJGurth said:
I shall try that but I wonder why some went over then but others did not
Thank you
Sent From My HD2 using xda Android app
Click to expand...
Click to collapse
Sent From My HD2 using xda Android app
you have too less space in your system.ext2 data file.
see here: http://forum.xda-developers.com/showpost.php?p=8103070&postcount=813 and the following posts for solutions!
Brilliant that was it, wonder why that post didn't show up in my search ? Thanks for your help
Sent From My HD2 using xda Android app

Question. Deleting system files

I can't delete my gmail.API out of the system files it just respawns. And ideas?
apk?
Make sure the system is rw. Otherwise it just "pretends" to delete.
Yeah apk sorry. Switched keyboarding. root explorer says r/w at the top
Sent from my SCH-I500 using XDA App
Don't trust root explorer. It doesnt always correctly mount as rw.
How do I fix that sir?
Sent from my SCH-I500 using XDA App
You can use terminal commands, but for a fairly simple way to do it, I use "Remount /system (ro/rw)". It's a free app on the market, easily remounts system as rw at the touch of a button.
Well my idea didn't work but thanks guys
zachsx said:
How do I fix that sir?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Sir??? Really???
Sent from my stock 2.1
unrooted, fully bloated (for now) Fascinate

Can't Delete nandroid backup

Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
timekillerj said:
Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
Click to expand...
Click to collapse
Same here. No clue how to get rid of it.
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Its a common issue with some versions of CWM, but Koush has released a (radically) new version
fix is as Wiithepeng said
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
"I can't delete or change permissions with either root explorer or from the shell as root!"
If I delete with root explorer I get "delete failed". If I adb shell in and `busybox rm -fR` I get "Operation not permitted"
With those steps?
Sent from my i777 using xda app-developers app
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Phonic posted a script in the "[RECOVERY] r3 (6.0.0.4) - Interim ClockworkMod recovery for Nexus 7" thread in the Android Dev forum,
when executed thru CWM will delete undeleteable backups
didnt use it myself, I used Solid Explorer to delete /data/media/clockworkmod/backup/......
Ok, I rebooted into recovery and was able to delete the files with adb shell.
wiithepeng: Sorry, didn't see the /data/media path at first glance, I was going straight to /sdcard - so it might have worked your way.
Thanks for the help.
No problem. Glad you delete those backups
Sent from my i777 using xda app-developers app
Try THIS. Common problem and fixed in the newest version of the Recovery from that thread AND apparently the newest CWM directly from Koush.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thank Bro, this was bugging the crap out of me. I had no idea to navigate through data/media etc. Good fix!
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks! I was about to tear my hair out! I used ES File Explorer though.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks bro... Root Explorer is premium so even ES File Explorer works as long as you are rooted and grant it SU access, which would be anyway as you have CWM.
Sent from my Nexus 7 using Tapatalk 2
wiithepeng said:
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
This worked for me :good:
Wahay, Fix ed
I was going to make a zip and flash as i thought all was lost but then I just fixed this via adb using the following commands, I didn't get any errors and it was successful, here is what I did,
# cd /data/media/clockworkmod/
# chmod 777 backup
# cd backup
# rm -rf <backupfilename>
Hope this helps others,

How to push an app to system?

I've seen apps that you have to "push" them to install them. What exactly does that mean and how do I do it?
Sent from my Nexus 4 using xda app-developers app
rmhumtex97 said:
I've seen apps that you have to "push" them to install them. What exactly does that mean and how do I do it?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You need to use adb on a computer the command would be
adb push nameofapp.apk /system/app/
Or
You can use a file manager with root access and copy the app to /system/app and fix permission to rw-r--r-- and reboot
Sent from my Nexus 4
Or, alternatively you can use Titanium Backup to do the job.
ottoemezzo said:
Or, alternatively you can use Titanium Backup to do the job.
Click to expand...
Click to collapse
How do you get it to do it?
Sent from my Nexus 4 using xda app-developers app
Open TB
go to the backup/restore tab
find the app you want
Long press the app till a menu pops up
Find option to convert the app in the menu and follow directions
Sent from my Nexus 4 using Tapatalk 2
Well, I meant exactly like bobdarkside has just described. I think we might misunderstood you, because with TB you can only convert previously installed apks into system ones. So if you need to do it without installation go for adb or file manager method.
spaceman860 said:
You need to use adb on a computer the command would be
adb push nameofapp.apk /system/app/
Or
You can use a file manager with root access and copy the app to /system/app and fix permission to rw-r--r-- and reboot
Sent from my Nexus 4
Click to expand...
Click to collapse
Ok I copied the app to system/app now I just need to fix permission to rw-r--r-- but I don't know what that is and how I do it
Sent from my Nexus 4 using xda app-developers app
Never mind I figured it out
Sent from my Nexus 4 using xda app-developers app

[Q] Problem updating to 4.3

Hi guys
I have a bit of a problem here!
I got the ota update, wanted to install it, but failed.
So i downloaded the ota zip file from our site. ([REF] Nexus 7 Stock OTA URLs)
Went to recovery and tried to install it, and bam. Failed!
It says Something about xt9ime.apk not being in system/app or sth like that.
Can anyone help me?
Edit: i have the recovery log file if it helps! :S
If you've changed or deleted any system files, that would do it.
It's even telling you what the problem is.
That file is changed or missing.
danvee said:
If you've changed or deleted any system files, that would do it.
It's even telling you what the problem is.
That file is changed or missing.
Click to expand...
Click to collapse
I replaced the file, but it isnt working.
Sent from my Nexus 7 using XDA Premium HD app
You should have had a look at your log file or have been done the update while running logcat, in that case you would see the exact error message / the file the updater is complaining about.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
You should have had a look at your log file or have been done the update while running logcat, in that case you would see the exact error message / the file the updater is complaining about.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I said before, i have the log file. Do you want me to upload it for u? Or copy past it?
This is a part of the log file, a part that i think relates:
Installing '/sdcard/Download/ab67ca07c4b2e03eca795ada10ff041b77fbb7bf.signed-nakasi-JWR66V-from-JDQ39.ab67ca07.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/ab67ca07c4b2e03eca795ada10ff041b77fbb7bf.signed-nakasi-JWR66V-from-JDQ39.ab67ca07.zip.md5
Skipping MD5 check: no MD5 file found.
Warning: No file_contexts
Warning: No file_contextsVerifying current system...
failed to stat "/system/app/XT9IME.apk": No such file or directory
file "/system/app/XT9IME.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/XT9IME.apk", "4e36a5ed22057e493b47c0c71d36d9e2762d41dc", "8aba56a4406128e78f5729753252c3d93bc21cb4")
assert failed: apply_patch_check("/system/app/XT9IME.apk", "4e36a5ed22057e493b47c0c71d36d9e2762d41dc", "8aba56a4406128e78f5729753252c3d93bc21cb4")
E:Error executing updater binary in zip '/sdcard/Download/ab67ca07c4b2e03eca795ada10ff041b77fbb7bf.signed-nakasi-JWR66V-from-JDQ39.ab67ca07.zip'
Error flashing zip '/sdcard/Download/ab67ca07c4b2e03eca795ada10ff041b77fbb7bf.signed-nakasi-JWR66V-from-JDQ39.ab67ca07.zip'
Click to expand...
Click to collapse
Sent from my Nexus 7 using XDA Premium HD app
The updater doesn't find XT9IME.apk on your /system partition. Due to that it's failing. If you have a copy of the file, try to install it in recovery mode to /system/app and try to apply the update again.
Sent from my GT-I9100 using xda app-developers app
AndDiSa said:
The updater doesn't find XT9IME.apk on your /system partition. Due to that it's failing. If you have a copy of the file, try to install it in recovery mode to /system/app and try to apply the update again.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I know that. I got the copy of the file. I copied it using es file explorer, no success.
pushed it in fastboot, no success.
installed it and then made it a system app using titanium back up, again nothing.
i don't know what to do any more.
Need more help here!
Sent from my Nexus 7 using XDA Premium HD app
danvee said:
If you've changed or deleted any system files, that would do it.
It's even telling you what the problem is.
That file is changed or missing.
Click to expand...
Click to collapse
Do you have any idea how to fix this...
Any thing is appreciated...
Sent from my Nexus 7 using XDA Premium HD app
Did you make sure that the permissions matched the original?
Otherwise Best is to reflash the entire ROM...
danvee said:
Did you make sure that the permissions matched the original?
Otherwise Best is to reflash the entire ROM...
Click to expand...
Click to collapse
How can i make sure that the permissions match?
So, u r suggesting that i flesh 4.2.2 again, then flash ota to 4.3?
I'll lose all my data.
If i'm about to lose my data, i'd rather flash 4.3 rom. Huh?
Im confused!
Sent from my Nexus 7 using XDA Premium HD app
danvee said:
Did you make sure that the permissions matched the original?
Otherwise Best is to reflash the entire ROM...
Click to expand...
Click to collapse
I dont want to lose my filesm can u help me?
Sent from my Nexus 7 using XDA Premium HD app
Anyone please help.
I update it,it auto flash the zip in TWRP,now it stuck on "X" boot animation,don't start up.Any solution?

Resources