How do you delete a stale NFS file - G1 General

Wallpaper set and save, I tried the rm command it wont work for a stale file is there any way to do this.

unless you really mounted a network drive, there's no way you can get a "stale NFS file", so the file system is corrupted.

billc.cn said:
unless you really mounted a network drive, there's no way you can get a "stale NFS file", so the file system is corrupted.
Click to expand...
Click to collapse
So I have wallpaper set and save as being stale, does that mean more files will become like this, and that my ext2 partition is bound to fail, cause I can live without that wallpaper program, as long as the rest of my stuff is stable. Does this mean more files will eventually become corrupt.

Joeriginal said:
So I have wallpaper set and save as being stale, does that mean more files will become like this, and that my ext2 partition is bound to fail, cause I can live without that wallpaper program, as long as the rest of my stuff is stable. Does this mean more files will eventually become corrupt.
Click to expand...
Click to collapse
Not necessarily. nfs stale file handle just means that nfs cannot resolve the nfs file handle that ext2 encoded for it. there could be many reason for it. lots of time, remount would fix the problem.

knaries2000 said:
Not necessarily. nfs stale file handle just means that nfs cannot resolve the nfs file handle that ext2 encoded for it. there could be many reason for it. lots of time, remount would fix the problem.
Click to expand...
Click to collapse
How would I do this remount process exactly? And would I be risking anything?

What exactly are you doing. Where are you getting this error?

knaries2000 said:
What exactly are you doing. Where are you getting this error?
Click to expand...
Click to collapse
I'm trying to install the program wallpaper set and save but the phone won't let me cause its a stale nfs file on my memory card ext2 partition, and I wanted to know if there is any way to fix that

Rebooting the phone does not solve it? If not then u might have an issue with your sdcard.

No reboot didn't help, this is the only app that does this so I don't think its the sdcard. I think it was a bad installation, and now its stuck somehow, oh well hopefully someone might find a resolution for this.

I was wondering would it be possible to move my apps back to the phone, and then delete the wallpaper set and save from a program like linda file manager then put them back on the sd card.

Joeriginal said:
I was wondering would it be possible to move my apps back to the phone, and then delete the wallpaper set and save from a program like linda file manager then put them back on the sd card.
Click to expand...
Click to collapse
do you have adb setup?
just do "adb shell ls /data/app/" and see if that wallpaper app is there... if it is try to remove it "adb shell rm /data/app/<name.apk>

knaries2000 said:
do you have adb setup?
just do "adb shell ls /data/app/" and see if that wallpaper app is there... if it is try to remove it "adb shell rm /data/app/<name.apk>
Click to expand...
Click to collapse
nope that didnt work, will it be possible to move them back to the phone, I used recovery mode to put them on my sdcard, and Im on RC33mod, can I do the undo copy.sh app or do I have to use recovery again.

I dont know about the copy.sh script, but u can do it by removing the symlink in /data/app
And then copy the app dir from sd back to /data

knaries2000 said:
I dont know about the copy.sh script, but u can do it by removing the symlink in /data/app
And then copy the app dir from sd back to /data
Click to expand...
Click to collapse
Sorry Im not to savy with all this, How would I go about doing that.

so there is no other way of me getting rid of wallpaper set save stale nfs, and reinstalling it, cause I cant get it on my phone. thats the only program and I like using to set my wallpapers is there another way.

you could always mount it in linux and run fdisk. delete that partition and remake it. that is what I had to do to clean up my /system/sd directory from stale NFS handles. If you need more help with this let me know.

Related

Location of apps after app2sd?

With root explorer, i see that my apps are saved to something like '/system/sd/app,' but when I mount my G1, I can't find that folder. I can't even find the "system" folder. Anyone have any ideas?
Also, I pressed the "R/W" button on that folder in Root Explorer, but now I can't switch it back to R/O. It gives me an error saying, "Remount Failed: Device or resource busy."
what is it you want to do with the apps?
My gmail app is force closing, and I haven't found a way to reinstall it through market. I was going to try to replace the .apk.
I don't believe the gmail app is on the SD, it should be under /system/app/Gmail.apk
For the most part, the system apps install on the phone, the rest are on SD.
That still leads me to my first question, lol. I can't find the "system" folder after mounting my G1.
??
I don't know. I use the rooted file browser SUFBS and have never had a problem seeing the system folder.
Might have been associated with other changes you made to the system.
For me, if all else fails, I re-partition, wipe & re-flash.
Hopefully someone else can offer some better info.
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
You must be on a windows machine. You can not nativly see an ext partition under windows.
Look at the guides that tell you how to set up adb and adb push the application to the folder you want.
adobrakic said:
I find it fine on my G1 via Root Explorer. It's just that I can't seem to locate it on my computer (i.e something like h:\system\app), after plugging my G1 in.
Sorry for any confusion.
Click to expand...
Click to collapse
You can do these things right from recovery console, and probably terminal, I like recovery better though. place the file you want to use on the root of the SDcard. Since it is the Gmail.apk you want to replace you would go about it like this:
mount system
mount sdcard
cp /sdcard/Gmail.apk /system/app/Gmail.apk
reboot
thats pretty much it.

Deleting Bloatware ERROR!!

Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
AnthonyJFranks said:
Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
Click to expand...
Click to collapse
When using Root Explorer, on the top part of the screen, press [Mount R/O] and try again. I think that might solve the issue. Post up the results!
Why didn't you just uninstall the files via titanium backup?
Master™ said:
Why didn't you just uninstall the files via titanium backup?
Click to expand...
Click to collapse
Forget what I said, use Mater's method. lol
I do see the Mount R/O in the top right hand section of the screen and I pressed it but it seems like it didnt do anything. It just shows my memory used / free and r/w [ Mount R/O]
I tried deleting a file still was there when I came back into the directory
How do I access the file directory in Titanium Backup
AnthonyJFranks said:
How do I access the file directory in Titanium Backup
Click to expand...
Click to collapse
You don't access the file directory. Titanium Backup will show you a list of ALL apps installed. You simply click and press uninstall. Simple, no fuss. You can even make a backup before you uninstall it in case you need it later. Done.
Use Titanium Backup like everyone said, I also had the same problem with other Root Explorers. Also be sure to delete the .zip file because it might cause problems later. Also do you know what trolling means? I think you meant lurking, because trolling implies you've been trying to get people angry.
I didn't even notice he said he had been trolling LOL. Get back troll! My brain automatically assumed lurking.
AnthonyJFranks said:
Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
Click to expand...
Click to collapse
Your system is set to read only.
Follow the instructions found in this post (forgive me i'm too new to post links, and i want to give credit to the solution):
hxxp://forum.xda-developers.com/showpost.php?p=8643744&postcount=6
Code:
$ mount -o rw,remount -t rfs /dev/block/stl9 /system
Run the command from terminal, and you should then be able to delete the files that you want.
Here do this I had this happen awhile back this worked
AustinKnight45 said:
Download busybox from market then run it and update it then after it updates and you have the latest busybox go back to root explorer and delete the bloat ware dont know why this works but it does.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
AustinKnight45 said:
Here do this I had this happen awhile back this worked
Click to expand...
Click to collapse
sentences without periods are hard to read.... ha
This didnt work
Sent from my SGH-T959 using XDA App
eatspaper said:
Your system is set to read only.
Follow the instructions found in this post (forgive me i'm too new to post links, and i want to give credit to the solution):
hxxp://forum.xda-developers.com/showpost.php?p=8643744&postcount=6
Code:
$ mount -o rw,remount -t rfs /dev/block/stl9 /system
Run the command from terminal, and you should then be able to delete the files that you want.
Click to expand...
Click to collapse
I tried this and it didn't work as well I got a error message that said operation not permitted
Sent from my SGH-T959 using XDA App
Any suggestion on whats going on, I know its rooted the super user always pops up when ever a couple apps or on
Sent from my SGH-T959 using XDA App
AnthonyJFranks said:
I tried this and it didn't work as well I got a error message that said operation not permitted
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Did you SU in the terminal first before you ran the command?

Angry birds restore from AOSP to Sense

Or visa-versa.
I can never seem to get this to work. I back up angry birds with TB, but if I make the backup while running a AOSP rom and then try to restore it after switching to a sense rom, then angry birds FC's or refuses to run or other such nonsense. The reverse is also true, backups from sense rom's don't work on AOSP rom's.
Anyone else experience this? Is there a work around?
Never had that problem. Always works fine for me. Perhaps go into the preferences for TB and verify that the setting for migrating apps across different roms is checked.
Will check that out. Didn't gnow that setting existed.
Sent from my ADR6300 using Tapatalk
Ok, where is this setting? I can't find it!
Sent from my ADR6300 using Tapatalk
It's under Privacy in the Settings menu.
Sent from my ADR6300 using XDA App
Ok this is embarrassing. I still can't find it. Went through every setting I could find in TB and I don't see it. Can someone give me specific instructions please? Thanks.
Sent from my ADR6300 using Tapatalk
teookie said:
Or visa-versa.
I can never seem to get this to work. I back up angry birds with TB, but if I make the backup while running a AOSP rom and then try to restore it after switching to a sense rom, then angry birds FC's or refuses to run or other such nonsense. The reverse is also true, backups from sense rom's don't work on AOSP rom's.
Anyone else experience this? Is there a work around?
Click to expand...
Click to collapse
Yeah that happened to me trying to go from CM7 to SkyRaider 4.0. I haven't looked for a solution yet...
Preferences>Migrate System Data
DINC|CM7|INCREDIKERNEL
I went from Virtuous to CM6 before and used TB to restore and had no problems.
wildstang83 said:
Preferences>Migrate System Data
DINC|CM7|INCREDIKERNEL
Click to expand...
Click to collapse
Ok, that check box is greyed out for me. Is that because I have the free version?
Sent from my ADR6300 using Tapatalk
I found making a backup myself was best. If you copy and paste to your SD Card the following directories...
/data/data/com.rovio.angrybirds/
/data/data/com.rovio.angrybirdsrio/
/data/data/com.rovio.angrybirdsseasons/
You can paste them back later and get all your scores back.
NOTE: I strongly suggest making a new backup of these directories AFTER doing any upgrades to Angry Birds versions because I am sure the data has changed after the upgrade.
You must be rooted to make changes to those directories so if your not, I think there just might be some instructions here somewhere on how to root your device..
Last note: After pasting the directories back (Performing a RESTORE), you must modify the file permissions so Angry Birds can write do that DB file. Otherwise, as I learned the hard way, none of your new scores will get saved..
I am running Virtuous 3.2.0 but I do not think this effects where these folders are being stored.. (I think....)
Grrr. I'm having trouble with this too. I tried to do an adb pull on the data/data/com.rovio.angrybirds directory but it only pulled two files, and didn't preserve the folder structure.
I tried adb shell, and then
copy -r /data/data/com.rovio.angrybirds/* /sdcard/
but it says "can't create symlink..." ??? I don't know what this means
Any help copying these files/folders to my HDD or to the SD would be appreciated.
Yeah I'm rooted, and I did adb remount before trying the stuff above....
I used Root Explorer to copy the folders from /data/data to my SDCard/Angry Birds Backup. (I manually created that folder on my SDCard)
Beware that for some reason, Root Explorer kept building an extra sub folder when copying the files back (overwrite) to data/data/com.rovio.angrybirds... I ended up just copying the single file data/data/com.rovio.angrybirds/files/highscores.lua (for instance) over and that worked for me...
As to the symlink issue, I believe that is a permissions issue. Possibly that you do not either have permission to copy FROM the com.rovio.angrybirds directory or to your SDCard... (make sure you mounted your SDCard correctly) Not intended as a flame or derogatory remark about your skills..
(from searching xda-developers.com)
I KNOW you stated you did the adb remount but was it similar to this:??
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /data
when done, do
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /data
I am close to the limit of my "experstease" here so I dont want to send you down the wrong path or make something worse happen.
I hope this helps.
THANK YOU!
Finally got it working. Ended up buying root explorer and copying over just the highscores file and it works! This has removed my one major frustration with rooting and flashing rom's.
Thanks again for the help!
Sent from my ADR6300 using Tapatalk
False alarm, didn't work. I have all my previouse scores and can play the game, but completing a level with a new high score causes it to crash. :-( almost like it can't write to the highscores file properly or something.
-sigh- back to square one.
Sent from my ADR6300 using Tapatalk
teookie said:
False alarm, didn't work. I have all my previouse scores and can play the game, but completing a level with a new high score causes it to crash. :-( almost like it can't write to the highscores file properly or something.
-sigh- back to square one.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
When you did the copy did you check permissions... sounds like you may not be allowed to write to file.
Just a suggestion.
SoBBie

[Q] Export / Import Apps-Data from / to data.img

Hello,
I would like to get some help with my SD-Build Android MccM MIUI.
First it started random crashes of the lockscreen. I could power on the display but it kept being black. I only could reset my HD2 and reboot my Android.
Now my Android doesn't boot anylonger. It opens the HTC-Boot-Animation und nothing happens. I waited about an hour.
I replaced the Android-folder on my SD-Card and Android booted again. But my contacts and the apps (their stored data) which I installed after the backup aren't available. With the old version, Android don't boot. If I only replace data.img with my backup, Android boots but without the apps.
My question ist, how do I get the apps-data (e.g savegames) exported from data.img and imported in my backup version?
Could please someone help me?
Greetings Marco
PS: Sorry, my English is a little bit rusty.
Kaschparl79 said:
I replaced the Android-folder on my SD-Card and Android booted again. But my contacts and the apps (their stored data) which I installed after the backup aren't available. With the old version, Android don't boot. If I only replace data.img with my backup, Android boots but without the apps.
My question ist, how do I get the apps-data (e.g savegames) exported from data.img and imported in my backup version?
Click to expand...
Click to collapse
I am a little confused. Did you overwrite your data.img file or do you still have the original one? If you still have it your apps and data should be contained in there.
You should be able to read/view the file in Linux if you have a bootable Linux CD.
If you only have Windows copy the original data.img file to your PC and download/install this old program and unzip it. It should allow you to view the content of your data.img and extract things from it.
NYLimited said:
I am a little confused. Did you overwrite your data.img file or do you still have the original one? If you still have it your apps and data should be contained in there.
You should be able to read/view the file in Linux if you have a bootable Linux CD.
If you only have Windows copy the original data.img file to your PC and download/install this old program and unzip it. It should allow you to view the content of your data.img and extract things from it.
Click to expand...
Click to collapse
I'm sorry about your confusion.
I backuped the data.img file before overwriting it with an older backup to get Andoid working again. So I still have the file which seem a little bit corrupt.
These were my thoughts that the apps should be stored in there. I think I'll try both suggestions. Thanks.
Edit: Thanks for your help. I already had ext2explorer on my PC. And I could open data.img. Now I have to find the place where the apps stored (savegames ) their data and my phonebook. Any suggestions where to look for the phonebook and maybe the game tribez?
Greetings from Germany
Kaschparl79 said:
I'm sorry about your confusion.
I backuped the data.img file before overwriting it with an older backup to get Andoid working again. So I still have the file which seem a little bit corrupt.
These were my thoughts that the apps should be stored in there. I think I'll try both suggestions. Thanks.
Edit: Thanks for your help. I already had ext2explorer on my PC. And I could open data.img. Now I have to find the place where the apps stored (savegames ) their data and my phonebook. Any suggestions where to look for the phonebook and maybe the game tribez?
Click to expand...
Click to collapse
That gets a little more complicated.. Generally, the contacts are stored in a SQLite database. The location can vary depending on the ROM that is installed.
The simplest attempt, without getting too technical and installing a SQLite CLI is to look for the contacts database. Try something like this in the terminal window:
Code:
su
find /system -iname '*.db' |grep ontact
Hopefully, you will see something like this as a result:
Code:
/dbdata/databases/com.android.providers.contacts/contacts.db
/data/data/com.android.providers.contacts/databases/contacts2.db
You can try copying the files and see if they help.
Good luck!
NYLimited said:
That gets a little more complicated.. Generally, the contacts are stored in a SQLite database. The location can vary depending on the ROM that is installed.
The simplest attempt, without getting too technical and installing a SQLite CLI is to look for the contacts database. Try something like this in the terminal window:
Code:
su
find /system -iname '*.db' |grep ontact
Hopefully, you will see something like this as a result:
Code:
/dbdata/databases/com.android.providers.contacts/contacts.db
/data/data/com.android.providers.contacts/databases/contacts2.db
You can try copying the files and see if they help.
Good luck!
Click to expand...
Click to collapse
Thanks again.
Found the contacts in data/... but copying it into the other data.img caused some shutdown of ...acore process/program. The same problem with the savegame. Process tribez is unsepected stopped...
Maybe I'm doing something wrong mounting the data.img. Do know the exact command for mounting the file correctly for writing data?
Kaschparl79 said:
Thanks again.
Found the contacts in data/... but copying it into the other data.img caused some shutdown of ...acore process/program. The same problem with the savegame. Process tribez is unsepected stopped...
Maybe I'm doing something wrong mounting the data.img. Do know the exact command for mounting the file correctly for writing data?
Click to expand...
Click to collapse
You are asking good questions but not easy ones to answer. The mount command is specific to your device and rom. I do not have any sd roms to look at.
Let's try a few things.
First, try to clear cache for the contact apps. You can use ROM Toolbox or the system's app manager. This may help.
Second, you can try to look in the ROM's system folder and see if you have something like init.rc (probably in root, if there) If you find it look at it with a text viewer and search for Mount. You may find the proper command line.
Last, and this one needs to be modified, you can try something like these in the terminal window. Keep in mind that your device names and file systems are most likely different!
Code:
mount yaffs2 [email protected] /mnt/cache nosuid nodev
mount ext4 /dev/block/mmcblk0p2 /NativeSD wait noatime nodiratime barrier=0
---
Duct tape is like the force. It has a light side and a dark side and it holds the universe together. (via Tapatalk)
Thanks, solved
NYLimited said:
You are asking good questions but not easy ones to answer. The mount command is specific to your device and rom. I do not have any sd roms to look at.
Let's try a few things.
First, try to clear cache for the contact apps. You can use ROM Toolbox or the system's app manager. This may help.
Second, you can try to look in the ROM's system folder and see if you have something like init.rc (probably in root, if there) If you find it look at it with a text viewer and search for Mount. You may find the proper command line.
Last, and this one needs to be modified, you can try something like these in the terminal window. Keep in mind that your device names and file systems are most likely different!
Code:
mount yaffs2 [email protected] /mnt/cache nosuid nodev
mount ext4 /dev/block/mmcblk0p2 /NativeSD wait noatime nodiratime barrier=0
Click to expand...
Click to collapse
Thanks for your help. I made it work.
As I use an older SD-Version of Android your last code I couldn't use.
For those who will have a similar problem:
With the programm file I checked the data.img and it is an ext4 image which I mounted in linux. I mounted the workung data.img file, too.
Next I deleted the folders which contained the contacts and of cause the savegame from the good data.img. Then I copied these folders from the faulty data.img into the good data.img. But I had to use the terminal and cp with option -a to preserve the ownerships of the files and folders.
After that I used fsck on the unmounted data.img and copied the file back on my sd card. Everything worked fine.
Thanks again and greetings from Germany

[Q] Whatsapp media

Hey, is there a way to make whatsapp save media to sdcard instead of internal storage?
Whatsapp does not support external SD card for storage.
stluiz said:
Hey, is there a way to make whatsapp save media to sdcard instead of internal storage?
Click to expand...
Click to collapse
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
WarDrake said:
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
Click to expand...
Click to collapse
I'm not that good with android and entering codes, how can I run the command using the phone?
I tried using folder mount but all it did was move the files and after that I couldn't open new media that came to me.
thanks a lot
stluiz said:
I'm not that good with android and entering codes, how can I run the command using the phone?
I tried using folder mount but all it did was move the files and after that I couldn't open new media that came to me.
thanks a lot
Click to expand...
Click to collapse
If you want to enter the command in the phone directly you'll need to download a terminal emulator from the play store and enter the same commands on the phone, while on the fodler where the original whatsapp folder was located at.
WarDrake said:
If your phone is rooted, you can make a link from the normal whatsapp folder to the sdcard
make a whatsapp folder on your sdcard, move all of your content and delete the old one and then in console or adb as root type :
ln -s /storage/ExtSdCard/whatsapp /storage/sdcard0/whatsapp
reboot your phone and that should do it.
Click to expand...
Click to collapse
Are you sure this will work? Linux doesn't normally allow cross-device symlinks. Does android behave differently in this regard?
BLuFeNiX said:
Are you sure this will work? Linux doesn't normally allow cross-device symlinks. Does android behave differently in this regard?
Click to expand...
Click to collapse
soft links work on linux, it's hard links that are restricted, and even then, since the whole storage procedure is now emulated in android, it shouldn't be a problem
however, you just made me think of something, he'll need to re enable 3rd party write access to the sd card or he'll just keep getting I/O errors, that's disabled on KK by default, i used "NextApp SDFix" from the play store to do it on mine.
WarDrake said:
soft links work on linux, it's hard links that are restricted, and even then, since the whole storage procedure is now emulated in android, it shouldn't be a problem
however, you just made me think of something, he'll need to re enable 3rd party write access to the sd card or he'll just keep getting I/O errors, that's disabled on KK by default, i used "NextApp SDFix" from the play store to do it on mine.
Click to expand...
Click to collapse
Ah, you're right. I should have known that, otherwise how else would mount points work in general?

Categories

Resources