Related
With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
bittermormon said:
With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
Click to expand...
Click to collapse
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Thanks for the tip. I'll give it a shot next time I flash. I assume if I had put all my data on the SD card I wouldn't have this problem, but that seemed to slow stuff down last time.
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
Yes, a wipe removes the link, but your apps are still on the SD card. Just use the AppstoSD app and it will rebuild the link (or do it manually)
smeyerhuky said:
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
Click to expand...
Click to collapse
If you partition your card and apps2sd is on the ext2 partition you can mount and unmount your sd card as much as you want to your pc and not affect the apps2sd at all
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
Click to expand...
Click to collapse
Putting /data/data on the sd slows down your phone, and gives the possibilty of getting the STALENFS error if the phone is syncing and you reboot. if you do that you'd want a class 6 microSD for sure. Thanks for the idea of pushing and pulling the data though, I have never thought about doing that. That would have saved me so many friggin headaches
bat file
Don't know if this will help anyone, but here is a BAT file I wrote that copies files from data/data to a folder on the sd card. You could edit it with the files you want to keep.
Im using the Fresh .04 ROM. I understand Apps2SD is installed and functional. I did format my SD card correctly before installing and I suspect it should be working.
My question is:
I have been pushing a few apps to my /system/app directory using adb.
Is that on the SD card now or am I just pushing to the system RAM area and not taking advantage of Apps2SD.
I noticed my available space is at 90MB and with the Modoco ROM I had 104 available with most of these apps.
I feel like Im doing this wrong.
Apps2sd is not functional in 0.4. It was a bug that was discovered after the fact. You aren't doing anything wrong.
0.5 is being tested by about 10 people right now and all are saying it's working fine. So be patient and 0.5 will be out later.
What apps are you pushing to /system/app?
No, /system/app is not on the SD card. But it's not on the data partition either. The internal memory is partitioned as follows as far as I can tell:
/system 174MB total, generally around 10-20MB free depending on ROM and so forth
/data 163MB total. This is what reports as "phone storage" in the OS. Starts at around 140MB free.
/cache 133MB
I'm not sure how the rest of it really works but that's the gist of it.
AppsToSD moves the /data/app and /data/app-private folders (and nothing else) to the SD card. These are the folders that contain your Market and downloaded .apk files. Other things in the /data directory that use "phone storage" are the boot cache, dalvik cache, and app data (browser cache, preferences, saved games, etc).
jonnythan said:
What apps are you pushing to /system/app?
No, /system/app is not on the SD card. But it's not on the data partition either. The internal memory is partitioned as follows as far as I can tell:
/system 174MB total, generally around 10-20MB free depending on ROM and so forth
/data 163MB total. This is what reports as "phone storage" in the OS. Starts at around 140MB free.
/cache 133MB
I'm not sure how the rest of it really works but that's the gist of it.
AppsToSD moves the /data/app and /data/app-private folders (and nothing else) to the SD card. These are the folders that contain your Market and downloaded .apk files. Other things in the /data directory that use "phone storage" are the boot cache, dalvik cache, and app data (browser cache, preferences, saved games, etc).
Click to expand...
Click to collapse
Ok, I was pushing a few of the Original Sprint Apps and some of my purchased apps. Unfortunately, I had to download a couple apps from a "not so legit source" for the short term due to the Market screw up. However, dont look down on me, I only got the apps I legitimately purchased and couldnt download again after I formatted my card and such going from Modoco to Fresh.
Anyway, I just adb push "app name" /system/app after a mount from
a command prompt.
Once the Apps2SD is fixed, should i be doing this process a different way to take advantage of the SD card space.
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
jonnythan said:
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
Click to expand...
Click to collapse
Easy enough. Thanks.
jonnythan said:
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
Click to expand...
Click to collapse
Ok, so I loaded the Modoco ROM and pushed to /data/app. It seemed to push fine, but I dont see the app.
What am I doing wrong.
Did you reboot after you pushed it there?
jonnythan said:
Did you reboot after you pushed it there?
Click to expand...
Click to collapse
Yes, a I get a loop at the Sprint logo. I have tried doing a Nandroid Backup 2x and then upgrading to the new Modoco and pushing. Everything works fine until I push an app to the /data/app directory, then I get a loop.
Im going to try pushing to the sdcard and move to data/app using SU file Manager.
What file are you trying to put there?
jonnythan said:
What file are you trying to put there?
Click to expand...
Click to collapse
The "test" app im pushing is the Droid Facebook app. Facebook.apk.
I tried pushing Sprint_TV.apk too, with no success.
Its odd. If I push anything to that directory, it loops the startup at the Sprint logo. I just ended up pushing to /system/app and decided to forget about it. Im a neophyte and was getting ready to throw the phone out the window.
Sprint_TV might need to be in /system/app, which is wher it normally is. The Droid Facebook app might simply not work on the Hero. So...
jonnythan said:
Sprint_TV might need to be in /system/app, which is wher it normally is. The Droid Facebook app might simply not work on the Hero. So...
Click to expand...
Click to collapse
After alot of trial and error, I finally got the apps in the right place and to work correctly.
I pushed to /data/sd/apps
That appears to be where Apps2SD is setup to throw the apps.
Thanks for hanging in there with me on this thread.
Both apps work great in that directory. In fact, I moved alot of the stock apps to that directory and they worked fine. None of them got moved automatically. It seems the only time Apps2SD moves the apps is upon installation, so pushing or for apps that were previously installed, they didnt get moved.
Hey, it works for me, hopefully someone else will find this useful.
Lappie2010 said:
After alot of trial and error, I finally got the apps in the right place and to work correctly.
I pushed to /data/sd/apps
That appears to be where Apps2SD is setup to throw the apps.
Thanks for hanging in there with me on this thread.
Both apps work great in that directory. In fact, I moved alot of the stock apps to that directory and they worked fine. None of them got moved automatically. It seems the only time Apps2SD moves the apps is upon installation, so pushing or for apps that were previously installed, they didnt get moved.
Hey, it works for me, hopefully someone else will find this useful.
Click to expand...
Click to collapse
Apps that are in /data/app (the default location without apps2sd) will get moved to /data/sd/app and then a sym link is created that points from /data/app to /data/sd/app. Anything that is in /system/app (all default system apps) will not get moved. Modaco's rom had moved a few of them there but people were receiving FC's and moving them back.
I want to know in which partition it would be better to have apps on? Ext or Fat? Should I move the apps which support Moving to SD card to the Fat partition or it doesnt matter in which partition the app is?
depends on your preference, for some people it might be easier to just use apps2sd since it require no setup while ext does.
i prefer apps2ext because it works for me and i just experience too many problems with apps2sd
behelit said:
depends on your preference, for some people it might be easier to just use apps2sd since it require no setup while ext does.
i prefer apps2ext because it works for me and i just experience too many problems with apps2sd
Click to expand...
Click to collapse
I have set up apps2ext on my phone.. But is there any advantage or disadvantage in keeping apps in either of the partition?
BTW what problems did you face in apps2sd?
This may help:
http://forum.xda-developers.com/showpost.php?p=8012686&postcount=4342
Thanks for this ..
Ive set up my apps2ext and most of my apps are in the ext partition but I have found that not all apps are in there...some are stored in sd and some in phone...why is that? I have still around 0.5gb left in the ext partition...
can anyone shed some light into this? thanks in advance
nazrin313 said:
Ive set up my apps2ext and most of my apps are in the ext partition but I have found that not all apps are in there...some are stored in sd and some in phone...why is that? I have still around 0.5gb left in the ext partition...
can anyone shed some light into this? thanks in advance
Click to expand...
Click to collapse
Android sees and reports apps on your sd-ext partition (apps2ext) as internal.
App developers can force apps to install on SD (sd-fat).
If you install an app that is forced to SD then it will install on "external" (sd-fat) and be reported as such.
You can prevent this behaviour, and I recommend doing this, by forcing apps to internal storage (despite what the developer builds into the app) - you may need a custom rom for this(?). They will always be installed on sd-ext then.
djmcnz said:
Android sees and reports apps on your sd-ext partition (apps2ext) as internal.
Click to expand...
Click to collapse
Thanks for the quick reply. And Yeap I know but I have also seen at some instance that the apps are stored in the phone memory
djmcnz said:
You can prevent this behaviour, and I recommend doing this, by forcing apps to internal storage (despite what the developer builds into the app) - you may need a custom rom for this(?). They will always be installed on sd-ext then.
Click to expand...
Click to collapse
Im using Enom's latest if thats any help
nazrin313 said:
Thanks for the quick reply. And Yeap I know but I have also seen at some instance that the apps are stored in the phone memory
Im using Enom's latest if thats any help
Click to expand...
Click to collapse
Perfect:
Code:
adb shell pm setInstallLocation 1
Will set future installs to "internal" (sd-ext).
You'll need to manually move the ones already on sd-fat back to "internal" using Manage Applications... then fixed...
EDIT: Oh! I see "phone memory" - sorry. They will not be in /data/app/ they will be in /data/app-private/ which is NOT moved to sd-ext...
djmcnz said:
Perfect:
Code:
adb shell pm setInstallLocation 1
Well set future installs to "internal" (sd-ext).
You'll need to manually move the ones already on sd-fat back to "internal" using Manage Applications... then fixed...
Click to expand...
Click to collapse
Thanks buddy, your a star.....
tried what you suggested and moved the apps from sd to internal..now Im running low on space as Im down to 19mb...any suggestions? Did I do something wrong?
EDIT...just saw your edit...what do you mean?
nazrin313 said:
tried what you suggested and moved the apps from sd to internal..now Im running low on space as Im down to 19mb...any suggestions? Did I do something wrong?
EDIT...just saw your edit...what do you mean?
Click to expand...
Click to collapse
19MB suggests apps2ext is not working... it should never really go below ~60MB with apps2ext (I have 203 apps and ~70MB free).
The edit means that some secure apps are installed to a location that apps2ext does NOT move... although there are very few of these, nothing to account for ~19MB.
What apps2ext does your rom use? DarkTremor? If so that has built in diagnostics... otherwise, if you do this:
Code:
Terminal:
ls -l /data/
Code:
ADB:
adb shell ls -l /data/
What do you get back?
djmcnz said:
19MB suggests apps2ext is not working... it should never really go below ~60MB with apps2ext (I have 203 apps and ~70MB free).
The edit means that some secure apps are installed to a location that apps2ext does NOT move... although there are very few of these, nothing to account for ~19MB.
Click to expand...
Click to collapse
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
djmcnz said:
Code:
Terminal:
ls -l /data/
Click to expand...
Click to collapse
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
nazrin313 said:
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
Click to expand...
Click to collapse
should say something like
Code:
/data/app -> /system/sd/app
To reflect the symlink.
djmcnz said:
should say something like
Code:
/data/app -> /system/sd/app
To reflect the symlink.
Click to expand...
Click to collapse
Hmmmm...interesting, I guess Enom's rom doesnt use darktremor's script...what do you suggest? I guess it would hurt putting the script over the ROM?
Edit: i ran the code again indeed it did say /data/app -> /system/sd/app
Ermmm... so what next?
nazrin313 said:
Hmmmm...interesting, I guess Enom's rom doesnt use darktremor's script...what do you suggest? I guess it would hurt putting the script over the ROM?
Edit: i ran the code again indeed it did say /data/app -> /system/sd/app
Ermmm... so what next?
Click to expand...
Click to collapse
Hunt and peck.
du will give you disk usage...
nazrin313 said:
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
Click to expand...
Click to collapse
170+ apps = LOTS OF DALVIK CACHE. My 120ish is 110m.. Of course it depends on the app, but I'd say you're seeing all dalvik cache. If you really need more internal storage, you'll have to uninstall some apps or move dalvik to SD. (NOT /cache)
Yeap, i can confirm dat its all dalvik cache...so, should i move the dalvik to sd? Why? N why not cache?
Update:
Ive tried putting dalvik into sd but i had a system process error...what up? Luckily i did a nandroid before i moved it
Another update
Tried dc to cache - everything loaded just fine but cannot install apps from market
Tried dc to sd - system error n fc's everything
Anyone?
Hey guys. I have went from Di18 to Dk28 a few weeks back with ODIN and got my GPS working. I went to install ADFREE and it couldn't replace my hosts file. I got root explorer and noticed my SYSTEM a 258mb partition is full.
Now I see why it I cant replace my host-file..
When I go into my SD and memory app in settings it still says I have space available.. So it must me looking at a different partition.
Is anyone else having these issues? Is there a fix besides re-formatting everything? Any ideas welcome.. I really do not have that many apps installed.
Odin back to stock sounds like your partitions are mapped wrong.
Sent from my SPH-D700 using XDA App
brian_hoffman said:
Hey guys. I have went from Di18 to Dk28 a few
Is anyone else having these issues? Is there a fix besides re-formatting everything? Any ideas welcome.. I really do not have that many apps installed.
Click to expand...
Click to collapse
Any apps you installed via the Market are stored in a different partition, so "reformatting" won't help.
The way to free up some space is to delete some junk from the /system/app folder, such as the Asphalt5_DEMO and FreeHDGameDemos APKs
I personally deleted any app which can be found on the Market, such as Amazon MP3, Facebook, Qik, etc.
It was repartitioned, just select the symlink option and it will work.
System/app is symlinked, deleting them and reinstalling from the market probably put them right back there...protected apps ftw.
Sent from my SPH-D700 using XDA App
Kcarpenter said:
System/app is symlinked, deleting them and reinstalling from the market probably put them right back there...protected apps ftw.
Click to expand...
Click to collapse
No, it is not symlinked. /system/ is on a separate partition from /data. Any app you download from the Market is stored in /data/app or on the SD card, not in /system/app. This is why I mentioned deleting any apps which can be found on the Market from /system as you won't end up having two copies of the app and it frees up space on the system partition.
Hello All,
First of all I would like to say a big thank you to everyone contributing in this forum as it is very helpful and makes your life with gadgets interesting
I have some questions concerning App2SD
I have rooted my X8 using the modded superoneclick that uses the newer exploit for android 2.1 and after that used the Xrecovery way to install app2sd.
So here come the questions:
After the installation most of the applications needed to be reinstalled, has anyone else experienced the same thing?
I also saw that the phone was working much faster and 90Mbytes of free memory where being shown right after the hack.
Now after installing loads of applications the free memory shown is ~60Mbytes, does that mean that many of the apps dont get installed to the sdcard?
If I rerun the app2sd zip from Xrecovery will that move those apps or it will mess up everything?
Thanks in advance
try install titanium backup.. if there is a2sd, so your app2sd is working.
i never get such problem
i use SOC 1.3.0 and script for app2sd2.1 mod (dalvik-cache to sd)
(not from xrecovery)
well, a2sd exists but the available internal memory keeps going down..
parisstc said:
well, a2sd exists but the available internal memory keeps going down..
Click to expand...
Click to collapse
mmm.. lets check again,
try install terminal / shell
than :
$ cd /data/app
$ pwd
if the result is /system/sd/app
than your app2sd.sh script is right,
if still on /data/app ,, you must reistall app2sd, but uninstall it first.
thanks for the reply
The result is /system/sd/app
so I wonder why the available internal memory keeps going down..
when i type
cd/adb
it always show "not regconized internal promp.....bla..bla..."
what wrong???
i already copy all app2sd in memory card, and also make partisions ext3 and fat32
parisstc said:
thanks for the reply
The result is /system/sd/app
so I wonder why the available internal memory keeps going down..
Click to expand...
Click to collapse
now I'm wondering too.
what apps did u install btw.
if the a2sd is working, maybe data app is too big, coz app2sd didn't mount that dir into sd.
evilteater said:
when i type
cd/adb
it always show "not regconized internal promp.....bla..bla..."
what wrong???
i already copy all app2sd in memory card, and also make partisions ext3 and fat32
Click to expand...
Click to collapse
did you 'cd' to 'adb tool' folder in your windows? using cmd right?
if you did, type : adb shell
if adb works., continue with your app2sd manual.
there's another tread deep about this btw