[Q] A few questions regarding Android - Android Q&A, Help & Troubleshooting

I have a phone Galaxy Ace plus. I rooted it and recently installed SSHDroid to it. I have little knowledge of Linux so after I ssh in, I did wander little bit and found this,
1)
- All personalized settings of user are kept in /data/data
- Each app is assigned a special userid/groupid and has rights on its particular directory only.
So,
If I purchase a new phone and lets say I install temple run in it, so I copy the com.imangi.templerun/* from the old phone to the new phone and copy the permissions from the parent folder (com.imangi.templerun) of the new phone so will I get my high score, achievements etc in the new phone ?
2)
At the root there is a soft link /sdcard which points to /mnt/sdcard. Is it possible I change this link to /mnt/sdcard/external_sd so when I move any application to 'sdcard' it goes to the external_sd and not in the USB storage ?
3)
There are apk's in the /data/app ? These I suppose are installers so what is their function in the phone ? Can I safely delete them to free some space ?
Apologies for being a noob, but I am new in Android.
Thanks.

Bump.

huzefa_from_kuwait said:
I have a phone Galaxy Ace plus. I rooted it and recently installed SSHDroid to it. I have little knowledge of Linux so after I ssh in, I did wander little bit and found this,
1)
- All personalized settings of user are kept in /data/data
- Each app is assigned a special userid/groupid and has rights on its particular directory only.
So,
If I purchase a new phone and lets say I install temple run in it, so I copy the com.imangi.templerun/* from the old phone to the new phone and copy the permissions from the parent folder (com.imangi.templerun) of the new phone so will I get my high score, achievements etc in the new phone ?
2)
At the root there is a soft link /sdcard which points to /mnt/sdcard. Is it possible I change this link to /mnt/sdcard/external_sd so when I move any application to 'sdcard' it goes to the external_sd and not in the USB storage ?
3)
There are apk's in the /data/app ? These I suppose are installers so what is their function in the phone ? Can I safely delete them to free some space ?
Apologies for being a noob, but I am new in Android.
Thanks.
Click to expand...
Click to collapse
To answer your first question the easiest way to transfer your Temple Run application data from one phone to another would be to use an application such as Titanium Backup to back up the Temple Run app data, then transfer the Temple Run app data to your computer, after that transfer the Temple Run app data from your computer to your new phones Titanium Backup folder and after installing Temple Run on your new phone (Make sure it's rooted so you can use Titanium Backup) use Titanium Backup to restore the Temple Run app data you transferred from your computer. For your second question yes it is possible to do this using the Linux "ln" command, a word of caution not all applications will function properly if they are on the external storage. Lastly, unlike .exe type installers that you would find on Windows .apk files function as both the package installer and the Android application package itself that contains all the code for the application to function. You can't delete these apk's to free up space because it will then remove the application from your phone. For example if you remove the Temple Run apk from your data/app folder you will remove Temple Run from your phone. Let me know if you still have questions .
Sent from my Nexus 10 using xda premium

shimp208 said:
To answer your first question the easiest way to transfer your Temple Run application data from one phone to another would be to use an application such as Titanium Backup to back up the Temple Run app data, then transfer the Temple Run app data to your computer, after that transfer the Temple Run app data from your computer to your new phones Titanium Backup folder and after installing Temple Run on your new phone (Make sure it's rooted so you can use Titanium Backup) use Titanium Backup to restore the Temple Run app data you transferred from your computer. For your second question yes it is possible to do this using the Linux "ln" command, a word of caution not all applications will function properly if they are on the external storage. Lastly, unlike .exe type installers that you would find on Windows .apk files function as both the package installer and the Android application package itself that contains all the code for the application to function. You can't delete these apk's to free up space because it will then remove the application from your phone. For example if you remove the Temple Run apk from your data/app folder you will remove Temple Run from your phone. Let me know if you still have questions .
Sent from my Nexus 10 using xda premium
Click to expand...
Click to collapse
Thank You a for your reply and making those points clear.
I have just moved from Ace Plus to S4.
Now I will put a stone on my heart and try to root my 3-hour old S4 :crying:

Related

Removing Installed Apps

Is there anyway to remove the installed apps that came with the phone i.e. Roller coaster, create touch, peggie, CA gold rush, and the roadsync apps?
david_vargas_85 said:
Is there anyway to remove the installed apps that came with the phone i.e. Roller coaster, create touch, peggie, CA gold rush, and the roadsync apps?
Click to expand...
Click to collapse
Hi David
It isn't possible at the moment.
We'll have to wait till the phone gets rooted.
Thanks for letting me know. I'm new to this whole Android OS. Using dumbphones all my life.
Since installed apps cannot be removed, it eats up my internal memory space, now how do i install new apps ? Could not find any method to install it on SD card Any suggestions on how to install on SD card.
settings/applications/manage applications/ select app you don't want/uninstall/
You wont be able to uninstall apps on the ROM of course, but anything installed after the update can be removed.
You'll have to download an app installer for new apps. Place the downloaded APK file in one of the folders contained on the SD card eg./downloads ( done via a USB cable plugged into your computer). Run app installer and it should list all APK files. Depending on the installer, you may have to open the sub directory (folder) you stored the app in.
As far as I know, the only way to install apps on sd card in android is through the root. In other words you need a rooted phone - rooting on the x10 mini/pro hasn't been achieved yet.
It's been rooted now.
How would you go about removing RoadSync and Wisepilot for example?
EDIT: Oops, just saw the other thread, my bad.
To delete preinstalled apps, open up cmd and navigate to 'c:/exploid-x10mini' (like you did when you rooted it.
Then enter the following commands:
adb shell
su
rm -r /system/app/[filename]
The RoadSync filename is simply roadsync.apk
To find what the filename for a specific app is, you can navigate to /system/app from a file explorer on your phone, but you can only delete a file through cmd.
Help Please!
Can anyone tell me the app name for Creatouch and CA Gold Rush?
Ex. roadsync.apk
????????.apk
Just list the app directory and you will see all of them
Code:
ls -l
Creatouch is creatouch-2.apk and CA Gold Rush is california-gold-rush.apk

[Q] Is there any way 2 get rid of the unused app folders apps leave behind?

I have a ton of folders on SD card and some places on my phone's internal storage that I want to know how to delete, bottom line is some of them are important folders that may be required by the system - some contain downloaded data from games and what not - such as The Sims Freeplay - that range in sizes from 400MB to 900MB.
I'm running on a stock phone, HAS NEVER BEEN ROOTED, DO NOT WANT TO ROOT THIS PHONE TO GET RID OF THESE - is there any ways to do this without rooting the phone?
Any help is appreciated
SDCard folder deletion
Hi,
As everyone gets to read/write on the sdcard you should be able to delete everything on the card.
Since you are unsure if the files are still needed, I'd suggest you back them up, delete them and put them back on the card if you run into problems.
Take a look at the files timestamps to identify old and probably unused files.
As for deleting stuff, I see several ways to accomplish that:
transfer files via USB mode
use a file manager from the market and just click your way through
use ADB from the android SDK, this will open a shell and you can use all the unix commands you want. You'll also have access to 'adb push' and 'adb pull' to transfer files.
Astro file manager .
Sent from my HTC PH39100 using xda premium
You can probably just delete the files using a file manager. It's tedious though.

Busybox scripting for games with only one user profile

I am using a tablet with multiple users- myself and two kids. The problem is that we have several games installed that only have one default profile. I am trying to write a script for each user that
1) Copies their game progress data from a backup folder on the external SD card to the game data folder,
2) launches the app, and
3) when the game closes, saves their progress to their backup folder. Each user's script would access a different backup folder location, so that each user has their own game progress.
The problem is that I can't find a tutorial that explains how to do this to someone that hasn't done command-line anything in a long time. I looked at an app launch example, and now I am even more confused. Busybox doesn't look anything like what I have used in the past (DOS, bash).
The game data is in /data/data/(Game folder)
The backup folders are located in /mnt/external_sd/(User folder)
So, how do I copy /mnt/external_sd/(User folder)/(Game folder) to /data/data/(Game folder)
launch app (App) (and what are intents, anyways?)
wait for (App) to close
copy /data/data/(Game folder) to /mnt/external_sd/(User folder)/(Game folder)
Device info: Rooted Acer Iconia Tab a500 with stock ROM (4.03), Busybox 1.19.?, scripting to be launched by ScriptManager widget.
Noob status: Does it get any worse?

[Q] How to access the whole file system?

Hi,
I wanted to see the whole file system of my phone. I have already rooted it.
This is what I want to do :
I have installed an app. by the name "Printershare". It is, as the name says, for printing. When I connect a printer to the phone, it downloads some driver pack from the internet. I want to check what it downloaded (All the files everything in the 'Driver Pack'). But when I connect my phone to my system, using samsung kies, I can only access the phone data and not the data internal to the apps.
Is there any way of accessing everything on the phone?
NOTE: Phone is already rooted.
Thanks
-Sahil
Download a file manager on your phone like ES File Explorer or something similar. Those usually allow you to browse to root directory after gaining superuser privileges.
Or if you want to just view them you can install terminal emulator and do a
Code:
cd /
Well via a pc I dont think there is a method to access system partitions...but if you use ES file explorer ..you will be able to access all your system files through your phone itself....but be careful not to delete any important files in the system good luck
hope this helped
use adb shell
sadeshmagic said:
Well via a pc I dont think there is a method to access system partitions...but if you use ES file explorer ..you will be able to access all your system files through your phone itself....but be careful not to delete any important files in the system good luck
hope this helped
Click to expand...
Click to collapse
Thanks for ur reply
That really helped..
One more question...Where would the application data be stored, I mean in which folder??
I explained the problem in more detail in my first post on this thread.
Thanx
sahilh14 said:
Thanks for ur reply
That really helped..
One more question...Where would the application data be stored, I mean in which folder??
I explained the problem in more detail in my first post on this thread.
Thanx
Click to expand...
Click to collapse
If the app you installed is a normal apk file....and I mean if you installed it like normal....some of the app data will be in the data folder of your root ....that means you need to go back up to the root folder...then you will see a folder called data....go into that folder and you will see many folders....there are two important folders....one again is named data...the other is named app....but please if you dont know what you are you better not go in...as there maybe risks to the system....
/data/app
/data/data
these are the two pathways of the folders
good luck...hope this helps
SIII data folder
SIII application data folders are here
/sdcard/Android/data
and
/sdcard/Android/obb
obb is common used by large HD games like those from gameloft.
tigerporc said:
SIII application data folders are here
/sdcard/Android/data
and
/sdcard/Android/obb
obb is common used by large HD games like those from gameloft.
Click to expand...
Click to collapse
no. that's external data. app data is in /data/data

The Bards Tale Save File

So I got this game from Humble Bundle and installed in on my DNA, I've been playing it for 13 hours and was forced to reinstall it. I copied my save file on to my computer to put back in the game once I reinstalled it, but I won't load the save file now. Anyone have any issues with this or any ideas as to how I can get it to work??
Thanks.
Many games store info in /data/data folder... Is that what you backed up? (ie com.gameloft.android.etc.etc) I use Titanium Backup because it will also backup the additional files like the example above.
Sent from my HTcDNAoNE
justjayhere said:
Many games store info in /data/data folder... Is that what you backed up? (ie com.gameloft.android.etc.etc) I use Titanium Backup because it will also backup the additional files like the example above.
I just grabbed the save file off the phone and copied it to my desktop computer, and then copied it back.
Click to expand...
Click to collapse
He is asking what "file" did you think you grabbed? Did the file explorer need root permissions to grab this save? Last I checked permissions for save games need root access and are stored in the /data partition, not your SD card or internal SD
Sent from my Rezound

Categories

Resources