what about app2sd for the tattoo? - Click General

does anyone know how to install the apps into the micro sd using app2sd or others? thx

alberto88a said:
does anyone know how to install the apps into the micro sd using app2sd or others? thx
Click to expand...
Click to collapse
5faif ROM has implemented something similar to app2sd.

yes I now but I'm really scared of flashing...I'd like to know how to do the same of the cooked rom just for my official firmware

]If you guys want to do Apps2SD, you'll need an ext2 partition on your SD for it. Native Android devices have had some trouble with Apps2SD, so it's just been rewritten by Chris Soyars and Cyanogen -- instead of the WesGarner method that had been used previously. I suggest using their code as it's battle-tested.
Here's the relevant code at github, as you can see it's been recently updated:
http://github.com/cyanogen/android_vendor_cyanogen/tree/eclair/prebuilt/common/etc/init.d/
Cyanogenmod/OpenEclair run init.d scripts as a service from init.rc, you could alter your stock init.rc to run an apps2sd script.
HTH

I saw that code:
#!/system/bin/sh
# Make sure the Apps2SD structure exists.
if [ "$SD_EXT_DIRECTORY" = "" ];
then
SD_EXT_DIRECTORY=/sd-ext;
fi;
if ! awk -vDIR="$SD_EXT_DIRECTORY" '$2 == DIR { exit 1; }' /proc/mounts ;
then
# create directories if necessary.
for i in app app-private dalvik-cache;
do
if [ ! -d $SD_EXT_DIRECTORY/$i ];
then
mkdir $SD_EXT_DIRECTORY/$i;
busybox chown 1000:1000 $SD_EXT_DIRECTORY/$i;
busybox chmod 771 $SD_EXT_DIRECTORY/$i;
echo "+++ $SD_EXT_DIRECTORY/$i created."
fi;
done
setprop cm.a2sd.active 1
echo "+++ apps2sd successfully activated";
fi;
Click to expand...
Click to collapse
but I don't know how to use it

alberto88a said:
I saw that code:
but I don't know how to use it
Click to expand...
Click to collapse
Oh come on just flash fydor's ROM
Use MyBackup trial to backup SMS contacts call log apps and everything else... The only thing you lose is the T9 dictionary

_david_94 said:
Oh come on just flash fydor's ROM
Use MyBackup trial to backup SMS contacts call log apps and everything else... The only thing you lose is the T9 dictionary
Click to expand...
Click to collapse
yes but the wipe is not a problem in my case...i don't mind about losing my sms and for the contacts i may sinchronize them with the laptop...
the only problem is that fyodor rom moves only the cache on the sd and not the entire apps

alberto88a said:
yes but the wipe is not a problem in my case...i don't mind about losing my sms and for the contacts i may sinchronize them with the laptop...
the only problem is that fyodor rom moves only the cache on the sd and not the entire apps
Click to expand...
Click to collapse
I have hundreds of apps, and I'm ok for space.
Otherwise try http://forum.xda-developers.com/showthread.php?t=643368... It didn't work for me though...

_david_94 said:
I have hundreds of apps, and I'm ok for space.
Otherwise try http://forum.xda-developers.com/showthread.php?t=643368... It didn't work for me though...
Click to expand...
Click to collapse
if you do a wipe and control the free space you notice there are just 28 MB of free memory...if you installs apps of 300KB it's an other thing

Any News here?
My girlfriends Tattoo is always out of memory...
My HTC Desire has a SD card with Fat32 + EXT 3 partition...
And everything (apps + dalvik cache) moves on the SD card...
Is it possible to do the same on the Tattoo??
I hope you can help me... not up to date @ the HTC Tattoo front

Solution to your problems
Go out and flash CyanogenMod 7 or nFinityGB for the Tattoo. It comes with the option to move your apps and data to SD. You need not partition your SD card for that, it saves data to the default FAT partition.
If you still want the classic Apps2Ext, you could try DarkTremor (available in XDA) or else Simple2Ext (available in the market), and the latter is easier to use.

a2sd sends more than the normal OS can do, dalvik cache, data, apps... to ext3 partition. Use it only if you install a lot of apps and you need it. Otherwise don't use it, since is agressive with the SD card.
General OS ( Froyo and Ginger ) send part to the SD but is not agressive with the SD, so system can't reduce SD life but with those apps to send to ext3, the use of your SD is higher, so the SD life will be reduced

KalimochoAz said:
a2sd sends more than the normal OS can do, dalvik cache, data, apps... to ext3 partition. Use it only if you install a lot of apps and you need it. Otherwise don't use it, since is agressive with the SD card.
General OS ( Froyo and Ginger ) send part to the SD but is not agressive with the SD, so system can't reduce SD life but with those apps to send to ext3, the use of your SD is higher, so the SD life will be reduced
Click to expand...
Click to collapse
The Tattoo of my girlfriend is pretty agressive with the SD
Can´t insert an other than the one that come with...
It destroys all SD Cards that are bigger than 2GB.
Tested it with 4GB (SDHC), 8GB and two 16GB cards....
It killed all (PC can´t read it anymore, too)
The same problem have two friends of me, too
But I will try the CM7 Rom (even though she will miss Sense)

Get a sense theme or sometin

Related

APPS2SD Confusion.

From the recovery image to get APPS2SD by simply running the format the SD using Ext2+Swap+fat32 right?
I have a class 6 card. How do I know if this actually works? I formatted and my internals space did not change?
Are there major benefits of doing APPS2SD?
Yes, first format the SD card.
To see if its working,
Check your Settings -> SD card & phone storage -> Internal phone storage. Make note of what it is at. Install some apps, maybe even try reinstalling some of the apps on your phone. Then, check the internal storage again and see if you have some more space.
As for the benefits, it just frees up your internal memory on your phone. I don't think it makes your phone faster or anything.
The question I have about APPS2SD is this. How come when I use it my internal memory drops after I install apps. I have not used it since I had to go back to the original Sprint ROM to do the update and installing the same apps I had before, my internal memory was about the same as it was when I used APPS2SD. I used the recovery screen to format to Fat32-Ext2-Swap and files were on the sd card when I checked, but my internal memory still drops everytime I install something. What is the real benifit of this if the internal memory drops anyway. I am real confused about this and have not decided if it is worth using since I have read it can damage your memory card. Can someone with knowledge of how this works please explain it.
Thx for all the great Info found here.
AppsToSD only puts the apps themselves on the SD. The internal memory is still used by the boot-cache, dalvik-cache, and actual app data like settings, saved games, cache, etc.
Must it be ext3?
What if i have ext2?
rvenes said:
Must it be ext3?
What if i have ext2?
Click to expand...
Click to collapse
If youre using one of the newer recovery images there should be an option to upgrade ext2 to ext3
as for the difference...im not to sure exactly
Tipharet said:
How do I know if this actually works? I formatted and my internals space did not change
Click to expand...
Click to collapse
Answer: . . . . .
nelson8403 said:
Just because the apps are installed to the SD card doesn't mean they don't store things on the phone.. cache is stored on the phones, theres a /data/data folder on the phone that the apps populate as well, it just doesn't take AS MUCH space on your phone as a non appstosd
also to make sure your apps are working go into your adb shell, type in
Code:
cd /data/app
pwd
cd /data/app-private
pwd
What this will do is go to your /data/app folder and because with appstosd that is a symbolic link to /system/sd/app the PWD (present working directory) will display /system/sd/app, if PWD shows /data/app you are not running appstosd
Click to expand...
Click to collapse
rvenes said:
Must it be ext3?
What if i have ext2?
Click to expand...
Click to collapse
As far as I know it works just fine on ext2.
As far as the difference, the nutshell version is that ext3 is pretty much just ext2 with journaling hacked in. If you don't know that that means, do a google search on "journaling file system".
There should be no downside whatsoever to switching to ext3. It can still be read from and written to by anything that can use ext2, and it adds more robust error recovery.
Caveats: I'm not sure how well, or if, that error recovery works on flash memory devices. My expertise is working with large servers that use hard disks. I also don't know if there are tools in our android builds that take advantage of the benefits that ext3 provides.
Having said that, I'm still confident that choosing to upgrade to ext3 offers NO downside, and while there might also be no upside, there is also the potential for a huge upside.
My advice: Do it.

Apps2SD for 2.1 Rom?

does anyone have any instructions for apps2Sd for the 2.1 rom? I have no idea what I'm doing with this, and Im tired of not having any space on my phone to dl apps! thanks for any help in advance.
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
troyboytn said:
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
Click to expand...
Click to collapse
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Coldheat1906 said:
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Click to expand...
Click to collapse
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Coldheat1906 said:
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Click to expand...
Click to collapse
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
dec3ption said:
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
Click to expand...
Click to collapse
ok,....now I really feel like a noob.....
When I try to do a adb remount it says "device not found"
I also do have "USB Debug" selected.
Edit: Ok.... had to re-install the SDK..... I think it's working now.
Thanks
Im flashing my rom right now so I will see how this works out
I have a problem
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
troyboytn said:
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Click to expand...
Click to collapse
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
amallama said:
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
Click to expand...
Click to collapse
Validate by doing this:
1. At your computer (in the Android SDK Tools directory), type adb shell
2. Once you are in an adb shell, type ls -l /data
3. Look for the entries app and app-private. The two entries should look like the following:
app -> /system/sd/app
app-private -> /system/sd/app-private
If they don't, you'll need to validate you have an ext3 partition on your sd card.
If you do, download A2SD version 2.5 from http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip and put it on your SD card (in the same place you put custom roms). Go into recovery and flash this file (it won't erase anything...it's just going to install a2sd version 2.5). Reboot phone and perform the same steps above.
If it still isn't working, PM me and I'll continue to help you.
tkirton said:
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
Click to expand...
Click to collapse
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
troyboytn said:
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
Click to expand...
Click to collapse
No problem...the previous version (2.0) didn't turn on swap...that was actually handled by another routine from my Darktremor kernel (never released...that's why you never seen it).
If you don't want to activate swap, you can go into the phone and type /system/bin/a2sd noswap. It will put a flag file on the system that, if present, will tell a2sd not to use swap file although one is present.
Swap is not required. If a2sd doesn't see the swap partition, it simply won't activate swap...all other functions will activate as normal.
It will activate swap on any rom provided that the swap partition is using /dev/block/mmcblk0p3 (third partition on the SD card). The sd partition feature on the RA Recovery does this automatically.
hi i have a the wildfire got it rooted but not sure how to install apps2sd,apk im on software 2.1
i did have a custom rom cyanogenmod 6.1 and that had apps2sd but the wildfire 2.1 dosent and would like some advice on how to do it please any help wud b nice thanks

Apps2Sd or App2Ext?

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?

[Q] Adb DATA2SD

So guys I've just switched ROM to this and I'm loving it but only one problem. I don't there is DATA2SD which I rely on. I'm using MyBackup to restore my apps to my phone but its annoying that I can't reinstall them all because of the internal memory capacity (22mb).
It says in the thread
Howto apps2sd
By default app, app-private and dalvik-cache are on the SD card, if you need any other option, then follow the below instructions on what you want
data2sd
Code:
adb shell a2sd datasd
Click to expand...
Click to collapse
How do I do that? I know you type that in cmd but nothing after that. Do I need any programs on my phone/PC?
Oh yeah, I have my SD card partitioned with a FAT32 and a Ext3 partition.

[Q] App2SD in 2.1 questions

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

Categories

Resources