I was going to install GTA 3 on my nexus and left him downloading the game data... when i return to my phone after a while the download stopped and when i open the app it crashes...
I re install the app without success, because now GTA3 crash on accepting EULA!!!
When i remove the app wiping data and cache i have verified that in /sdcard/Android/data/ a folder called "com.rockstar.gta3" remains, and when i tried to delete it says that i have no permissions.
i tried to change permissions on Root Explorer and with adb from my PC with no luck, it keeps saying that i can´t change permissions on that folder.
Code:
[email protected]:/storage/sdcard0/Android/data # ls -l
drwx------ system sdcard_rw 1970-01-01 00:00 com.rockstar.gta3
[email protected]:/storage/sdcard0/Android/data #
Try to change permissions:
Code:
[email protected]:/storage/sdcard0/Android/data # chmod -F 777 com.rockstar.gta3/
Bad mode
10|[email protected]:/storage/sdcard0/Android/data #
even if i try to change the owner of the file it wont let me...
Code:
10|[email protected]:/storage/sdcard0/Android/data # chown root com.rockstar.gta3/
Unable to chown com.rockstar.gta3/: Operation not permitted
10|[email protected]:/storage/sdcard0/Android/data #
By the way i'm on Jelly Bean and dont want to setup all over again...
Does anyone have a clue how can i solve this?
Have the same problem. Cant get rid of that folder
GTA 3 has a downloader that easily corrupts the files it downloads. You need a stable internet connection to download and install the game.
Your screen also must stay on for it to download properly.
Sent from my Galaxy Nexus using xda app-developers app
The installer really messes up the filesystem of a JellyBean GNex. Apps like "Diskusage" sees the "com.rockstar.gta3"-folder as a partition
The only solution i found to fix this is to make a nandroid backup + manual backup of the "sdcard" and then relocking and unlocking the bootloader of the phone. (Only method i know to completely wipe the phone and "sdcard").
Then restore nandroid and copying the sdcard files back.
maybe this help. Just flash it. http://forum.xda-developers.com/showpost.php?p=27515966&postcount=20011
Same with me
me too
i can't play gta 3 too it crashes
Same problem on my galaxy nexus and on my galaxy s plus cm10 ROM
You should be able to delete from /data/media
If you want to chown, you would have to do that from /data/media also.
The sdcard is a symlink...
Related
I just rooted my phone and i am trying to delete some of the apps that come with the phone.
I have found these steps in the forms but the problem is that, if I open a CMD and type this, it is not accepted.
I am guessing there is a step missing
1. type in the command line on your PC
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
hamd3000 said:
I just rooted my phone and i am trying to delete some of the apps that come with the phone.
I have found these steps in the forms but the problem is that, if I open a CMD and type this, it is not accepted.
I am guessing there is a step missing
1. type in the command line on your PC
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
Click to expand...
Click to collapse
You can use root explorer, an apk that uses superuser permissions, or, maybe you didn't reboot the cellphone, when you root your, always reboot, in order to take the "effect"
try freezing app. Easier and safer. If you want to delete. Root explorer or try super manager.
Sent from my MB525 using XDA App
I do have super user permission , but i still dont know what to do
hamd3000 said:
I do have super user permission , but i still dont know what to do
Click to expand...
Click to collapse
Did you try with Titanium Backup ?, I think you can freeze, clear data and unninstall it !, let me know if I'm wrong
Download supermanager app from market. Enable root function. Get to phone dir. System then app
Sent from my MB525 using XDA App
tava2003 said:
Did you try with Titanium Backup ?, I think you can freeze, clear data and unninstall it !, let me know if I'm wrong
Click to expand...
Click to collapse
worked like a charm
I'm not sure what broke this, but I have been getting weird errors with some of my apps that write to hidden folders (with . prefixes) on the sdcard. Might have been the OTA update to 4.2 from 4.1.
I've a rooted Galaxy Nexus mostly stock.
Logcat kept showing that permission was denied, MTP would freeze when I tried to create a file or folder, and rooted adb would show permission denied.
Turns out that the permissions to the folders was set such that it was owned by root:root instead of media_rw:media_rw like everything else.
I fixed this by running 'chown -R media_rw:media_rw * .*' from /sdcard/0/ in my rooted recovery.
Hi guys, today i am here to tell you a method only tested on a galaxy y, but i hope it will work for all. this is a method to change the download location for play store.
WARNING!!!
1. WARRANTY IS NOW VOID.
2. NOT MY PROBLEM IF SOME APP FAIL.
3. PLEASE, PLEASE, PLEASE DO A NANDROID BACKUP BEFORE THIS.
This is a simple code but it needs root for sure. now the necessities are as follows:
1. A complete nandroid backup
2. Root Permissions
3. Any terminal emulator. e.g https://play.google.com/store/apps/details?id=hecticman.jsterm
4. You need to know the default download location and the mount point of sd card( if that is where you want the new download location )
Now let's start.
Just know this that mnt/sdcard will have to be replaced by your sdcard mount point and data/app will have to be replaced by the default download location. i underlined them for easy understanding.
NOT MY PROBLEM IF THIS FAILS AND YOUR PLAY STORE CRASHES. JUST DO A NANDROID RESTORE.
THERE WILL ALREADY BE A $ AT START SO U DON'T HAVE TO PUT IT.
$ su
# mkdir /mnt/sdcard/playstore
# cp -r /data/app/* /mnt/sdcard/playstore
# rm -rf /data/app
# ln -s /mnt/sdcard/playstore /data/app
Click to expand...
Click to collapse
what the code does:
1. Grant super user permissions
2. Make a directory in sdcard named playstore.
3. Copy all items (recursively) from data/app to sdcard/playstore
4.Symlink the new location to fake the original.
Hitting Thanks can help.
and once again PLEASE BACKUP BEFORE THIS AND RESTORE IF NOT SUCCESSFUL.
This is based on the code used by link2sd.
Could you please double check your code fragments?
For me it looks, like you create a directory "playstore", but then copy to a directory "playstore-temp", which will most like not exist at that moment.
The ln you're using can't realy work as long as the /data/app directory is still in place... so you would first need to delete /rename it.
Just my 2¢
thanks dude
DThought said:
Could you please double check your code fragments?
For me it looks, like you create a directory "playstore", but then copy to a directory "playstore-temp", which will most like not exist at that moment.
The ln you're using can't realy work as long as the /data/app directory is still in place... so you would first need to delete /rename it.
Just my 2¢
Click to expand...
Click to collapse
looks like i was drunk making so much mistakes . corrected it.
It's not so simple if you use Link2SD. If you link some apps to sdext partition, some files in /data/app are symlinks which cannont be copied to /mnt/sdcard/playstore as it's FAT32. You have to try to symlink /app/data to folder on sdext partition. Create a folder /data/sdext2/playstore, copy /data/app/* there, delete /data/app and symlink /data/sdext2/playstore as /data/app. Sdext partition uses linux filesystem and all symlinks should work properly. I haven't tested it yet, but will do in a minute.
EDIT:
It doesn't work with Link2SD. Phone hangs on boot. It's probably cause Link2SD app must be directly in internal memory (so in real /data/app, not symlinked). I'll try to symlink /data/data or /data/dalvik-cache to save some internal memory but I doubt it'll work.
Hi guys, today i am here to tell you a method only tested on a galaxy y, but i hope it will work for all. this is a method to change the download location for play store.
WARNING!!!
1. WARRANTY IS NOW VOID.
2. NOT MY PROBLEM IF SOME APP FAIL.
3. PLEASE, PLEASE, PLEASE DO A NANDROID BACKUP BEFORE THIS.
This is a simple code but it needs root for sure. now the necessities are as follows:
1. A complete nandroid backup
2. Root Permissions
3. Any terminal emulator. e.g https://play.google.com/store/apps/details?id=hecticman.jsterm
4. You need to know the default download location and the mount point of sd card( if that is where you want the new download location )
Now let's start.
Just know this that mnt/sdcard will have to be replaced by your sdcard mount point and data/app will have to be replaced by the default download location. i underlined them for easy understanding.
NOT MY PROBLEM IF THIS FAILS AND YOUR PLAY STORE CRASHES. JUST DO A NANDROID RESTORE.
THERE WILL ALREADY BE A $ AT START SO U DON'T HAVE TO PUT IT.
$ su
# mkdir /mnt/sdcard/playstore
# cp -r /data/app/* /mnt/sdcard/playstore
# rm -rf /data/app
# ln -s /mnt/sdcard/playstore /data/app
Click to expand...
Click to collapse
what the code does:
1. Grant super user permissions
2. Make a directory in sdcard named playstore.
3. Copy all items (recursively) from data/app to sdcard/playstore
4. Delete data/app
5. Symlink the new location to fake the original.
Hitting Thanks can help.
and once again PLEASE BACKUP BEFORE THIS AND RESTORE IF NOT SUCCESSFUL.
This is based on the code used by link2sd.
good work *_*
Comparing to link2sd
Is it the same, what link2sd does?
(When set default at External location app installation)
gamervishal said:
Is it the same, what link2sd does?
(When set default at External location app installation)
Click to expand...
Click to collapse
Yes.
Sent from my Xperia E1 dual using Tapatalk
1. Love doesn't need any reason.
2. Wanna speed up 3G (not 4G LTE)?
Here it is:
http://forum.xda-developers.com/showthread.php?t=2586876
3. My blog
4. Press the thanks button if I really helped/assisted you.
Hello,
I tried to copy all data from an old phone to a new phone by using TWRP -> backup "/system" and "/data" partitions, then restore them in TWRP on a new phone, and then I found out that only applications were copied, but not my personal files (contents from folders "DCIM", "Documents", "Downloads", etc).
So then I did a "adb pull /sdcard/" from an old phone and uploaded it "adb push /sdcard/" to a new phone. But now most applications do not have write permissions over these folders, e.g. document viewer ("org.sufficientlysecure.viewer") and file manager ("org.joa.zipperplus7") could not delete files and folders, and even system application (LineageOS Updater) could not export update file. They have only read permissions (can open documents, etc). However some applications have write permissions - e.g. "Gallery" could delete old photos from "DCIM" directory.
I have checked simple Linux permissions and for /sdcard/* on both phones and they are same: 771 (drwxrwx--x) root:sdcard_rw for directories and 660 (-rw-rw----) root:sdcard for files. lsattr shows same attributes too. But apps on old phone have write permissions to /sdcard and apps on new phone have no permissions. Am I missing something?
Any ideas on how to fix this?
help
I checked 'ps' and saw that F-Droid app is running under user "u0_a75". I have verified the chmod of the path to cache, and all dirs from /sdcard/Android/data/org.fdroid.fdroid to /sdcard/Android/data/org.fdroid.fdroid/cache/apks/f-droid.org--1/ belong to "u0_a75" and have chmod drwxrwx--x u0_a75:sdcard_rw. But F-Droid could not download any app into that directory - it reports "permission denied". I have tried to chmod 777 for the whole path above but it did not help.
Then I thought it may be a SELinux problem, so I disabled it with "setenforce 0". Still no luck - most apps could not write to their storage.
What's going on?
P.S. I found out that Camera app writes files as a root user!
well, I gave up and reinstalled everything from scratch, wiping all partitions in advance.