[Q] App2SD in 2.1 questions - XPERIA X8 General

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

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] sd card unmounted or not present on new CM7 Gingerbread rom?

hi, im using racht floyo 0.15 and eveything works pretty well, but when i load up a GB Rom i cant access the sd card, its not recognised?!
any suggestions?
i dont know if i had to create a partition or something?
thanks - G
what is GB Rom? make sure you have one FAT32 partition on your SD
I was having problems with my sdcard card its ext and win32 keeps saying unsupported so to fix this temporary download terminal emulator. open the problem
now type
su
mount /sdcard
then open up settings, storage and then press mount the sdcard and should work
i think it shouldnt be partitioned. so only one FAT32 partition one the sdcard
GB as in Gingerbread (any rom that is 2.3 basically)
its only those 2.3 ROMs that my sd card isnt recognised
I opened up terminal emulator on my phone but cant type anything? no keyboard appears
hmmm thanks for the replies but still stuck
apprentice01 said:
I was having problems with my sdcard card its ext and win32 keeps saying unsupported so to fix this temporary download terminal emulator. open the problem
now type
su
mount /sdcard
then open up settings, storage and then press mount the sdcard and should work
Click to expand...
Click to collapse
My sd card is win32, have no idea what ext means...
I already have terminal emulator, I open it but dont know how to type cuz my keyboard doesnt appear??
thanks
match_stick said:
My sd card is win32, have no idea what ext means...
I already have terminal emulator, I open it but dont know how to type cuz my keyboard doesnt appear??
thanks
Click to expand...
Click to collapse
I have removed ext2 partition and mount it and app2sd on fat32 works too so you can remove it and when you are in terminal emulator press menu button then touch toogle soft keyboard.
as-mario said:
I have removed ext2 partition and mount it and app2sd on fat32 works too so you can remove it and when you are in terminal emulator press menu button then touch toogle soft keyboard.
Click to expand...
Click to collapse
what is app2sd? I heard of it, ive never looked into it though, is it an app? in settings I select to save apps to sd card anyway so does that matter? its confusing as hell! all I want is my sd card to work on 2.3 Roms...ill get there soon, bare with me hahahah
thanks for all replies also!
try pressing on the screen where terminal is and keyboard should pop up
Sent from my E15i using XDA Premium App
right...i just loaded up my cm7rc4 Rom, opened up TERMINAL EM and have the keyboard...
I typed SU...approved the superuser blah blah...
then typed mount /sd...
now its says 'mount: can't find /sd in /etc/fstab
hmmm, mayb i should just stick with the working racht 0.15?...
you need to type mount /sdcard when type su try typing ls
it should give you directory and see if you have folder sdcard
Sent from my E15i using XDA Premium App
teminal emulator...
'mount/ sdcard'
'permission denied (are you root?)'
what now
errr
yes I am well get root and try it again
Sent from my E15i using XDA Premium App
well i typed 'su', then 'mount /sdcard' and there was abit of hope....
then it sed 'mounting' (and other stuff came up)....but failed at the end, 'no such directory'!
im guna give it a miss for today, but will return soon to see if anythin else works. thanks for all replies. much appreciated
hahah no, TERMINAL EMU says -
''PERMISSION DENIED (ARE YOU ROOT?)''
I am rooted...hence the baffled state I am currently in.
match_stick said:
right...i just loaded up my cm7rc4 Rom, opened up TERMINAL EM and have the keyboard...
I typed SU...approved the superuser blah blah...
then typed mount /sd...
now its says 'mount: can't find /sd in /etc/fstab
hmmm, mayb i should just stick with the working racht 0.15?...
Click to expand...
Click to collapse
did it shown "sdcard save to remove" on the notification bar?.you didn't partitioned the sdcard..did you?...gingerbread just need a singlefat32/fat sdcard format as i know
stil cant access sdcard on 2.3 roms, doin my head in! ive tryed thru terminal emulator ('mount /sdcard' fails everytime) any1 else have this problem??
plz help!
Updated 16-Apr-2011 :
Still hunting for rootapps reboot problem.
There's a thought that its caused by our second /init dying.
Indeed, this can be reproduced if u kill -HUP or just kill the secondary init process.
i.e.
# ps | grep init
1 0 348 S /init
1117 0 392 S /init
2854 0 840 S grep init
# kill -HUP 1117
causes phone to say "SD-card safe to remove" and than reboot.
Unfortunately we can't replace original init on process 1, the only way to do it is to boot custom kernel..
And out init (1117 in my example) is not system-protected, and can be killed.
Now, can someone tell me why running root apps causes second init to die ?
So thats the clue for solution, custom kernel = end of problems.
http://forum.xda-developers.com/showthread.php?t=914513
this will explained the problem.. We just hope the Racht will do some solutions about it.. Thanks to him
Thats realy stupid answer,he just need to remove ext patition.
Sent from my X8 using XDA Premium App
how do u remove ext partition? I havnt created a partition on my sdcard ?, and for some reason its only 2.3 Roms that dont seem to read my sdcard? any others r fine, im using Floyo0.15 at the mo.
could u tell me step by step how to resolve this problem plz? thanks

Categories

Resources