Apps2sd - Desire Q&A, Help & Troubleshooting

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App

Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App

I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?

They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App

OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.

goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.

Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.

Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?

I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App

I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.

itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.

Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!

Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.

That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App

Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.

Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.

Ah maybe yes. Good work
Sent from my HTC Desire using XDA App

Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks

Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App

MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

Related

[Q] How to get widgets to run from SD card

i got my last question solved but I read somewhere that usin darktremors script would allow me to run widgets from sd card because the system thinks they are still in the correct place.
running GV1.5 partitions fat32/ext3/linux-swap.
I installed the script after mounting /data and /system from the recovery. After that I rebooted and ran the script commands. Moved a widget to sd card and it vanished from screen just like froyo.
what am I doing wrong?
I know you need to move the dalvik-cache for this to work. but recovery can't find sd-ext.
Huh? From what i know widgets will not work if u put them in the micro sd.
Sent from my HTC Vision using XDA App
lainvalenajr said:
Huh? From what i know widgets will not work if u put them in the micro sd.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Using stock froyo a2sd (apps2fat) will not allow you to run widgets. If you partition your sdcard (ext partition) and use the old style a2sd (apps2ext) using darktremors a2sd package you can run widgets from the sdcard. Along with putting the entire app, not just 1/2 or 1/4 of it, on the sdcard plus all of it's data (optional).
If it's easy for you to understand it as the phone thinking the ext partition is part of the internal memory, that's good enough since it's basically what's going on.
Spastic909 said:
I installed the script after mounting /data and /system from the recovery. After that I rebooted and ran the script commands. Moved a widget to sd card and it vanished from screen just like froyo.
Click to expand...
Click to collapse
What you did wrong is moving the app to the sdcard. The commands you run in terminal move the apps to the sd ext partition. Specifically this one:
Code:
#su
#cd /system/bin
#a2sd cachesd
It will still show it as installed to the internal memory because it thinks it is. Even in a file explorer under data/app it shows the apps but that's part of the *trick*.
If you go into applications and move it to the sdcard it puts it on the fat32 partition which is where the froyo version puts them - don't do that. That's what you did wrong.
KCRic... huh i didnt know that. Ill try that. Spastic u should try that lol
Sent from my HTC Vision using XDA App
i installed the busybox 1.18.0.git
wiped everything in recovery and from recovery ran the script. After I rebooted I ran the commands in terminal.
then my phone rebooted...does that mean it worked?
Spastic909 said:
i installed the busybox 1.18.0.git
wiped everything in recovery and from recovery ran the script. After I rebooted I ran the commands in terminal.
then my phone rebooted...does that mean it worked?
Click to expand...
Click to collapse
Yeah. You can use titanium backup to make sure. Just open it and you should see a bar at the bottom showing sdext available/free. Also you can use a file explorer - got to /sdext and you should see an app, app-private, dalvikcache, data, and one or two other folders listed. If you do then it worked.
You can also use terminal to have a2sd check and make sure it's working but I don't want to load the thread with commands I'll post them if you want to learn a bit though
Sorry to resurrect this thread, I thought it better than making my own.
I'm running CM 6.1.3 and have an 8GB SD card inside.
1) How do I check how the SD card is formatted? And if it doesn't have an EXT3 partition, how do I partition it property?
and 2) Is there an easy, non-terminal way to send apps to the EXT3 partition, akin to hitting "move to SD card" in android settings. And since, as you said, it moves all the data to the EXT3 partition, not just some, is it best to keep most of my apps there, to free up internal memory as best as possible?
And PS, when I'm partitioning my SD card, will I need to create a SWAP partition? 1GB for an 8GB stick?
Thanks so much.
EDIT: I'm on an X10 if that helps..

[Q] Question about Sense Roms

I was hoping for some help..or even a point to the correct thread to find the answer:
How can one install any of the newer sense 3.0+ roms and still keep all apps without the phone crashing? The roms are easily between ~250 - 350 mb in size and there is no room left over for apps that I have saved in back up. I know I can move them to the sd card but I never get the chance to once i restore them due to the phone crashing. I have read about formatting the sd card but I really don't know how.
Is there someplace I can find this?
Thanks in advance
http://forum.xda-developers.com/showthread.php?t=1121538
So I followed the guide and it worked perfectly. The roms finally work and don't crash. However, now I only have about 20 - 40 mb free. I try to move my apps to the sd card using the function that comes with the rom, but it says my sd card is full. I have about 6 gb free on my card. Any idea why that's happening or how I can get around that?
Thanks again
Unfortunately this is just an inherent flaw of the Evo; the internal space is so small that you can't really enjoy a big Sense rom that uses 3.0 features and have a lot of apps. Only way to get all the room back is to flash a smaller rom.
Format your SD card with an ext3 partition. Make it 1gb or whatever size you desire. Most Sense ROMs support a2sd where it tricks the phone into thinking the ext3 partition is part of the phone internal storage. You can install as many apps as you want with the apps stored on the SD.
Thanks for the replies. I've formatted the sd card in ext3 and made it 2 gb. I wish it had more internal space. Any idea why its saying my sd card is full when I have over 6gb left of free space?
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
sharkboy0901 said:
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
Click to expand...
Click to collapse
I wouldn't do all of this unless you have at least a class 6 or higher sdcard.
Definitely use dark tremors a2sd. Search for dta2sd.
If you partitioned your card to ext3, It should work automatically, but use the a2sd install command, just in case.
You can use the other commands, but you shouldn't need to. They move the cache partition including the dalvik cash to the ext3 partition, and if your card isn't fast enough, it will create lags, and other issues.
Make sure to wipe cache and dalvik before/after you flash dta2sd.
Sent from my PC36100 using Tapatalk

[Q] MIUI 1.10.14 and A2SD+

Hi,
Having a lot of problems gettting A2SD+ to work on MIUI 1.10.14.
I have an 8gb SD card with a 1gb EXT4 partition.
When I install, apps don't seem to be going there, they go to the internal memory.
I looked through various forum postings and found a number of terminal commands to type in (e.g. check, reinstall, zipalign and cachesd) and have done all those.
Dalvik seems to have moved, internal memory went from 90mb post rom install, to about 134mb. However, next app I installed was a 20mb app and having installed it my internal memory has gone down by about 20mb.
is the problem the EXT4 partition? when it did the check it seemed to indicate ext4 support, but does it work?
What else can I try?
Had cyanogen 7 before this and the S2E system that uses worked exceptionally well, but I prefer MIUI as the rom.
Many thanks in advance
Matt.
hav u tried the command a2sd reinstall in terminal, that moves the apps to sd ext, also if u type à2sd help, it will tell you all the commands u can use with terminal.
Sent from my HTC Desire using XDA App
Thanks for that.
Yes I had tried the a2sd commands recommended in a number of posts including the reinstall one.
However, doing an a2sd check and reviewing it carefully did make me see that the data was still in internal memory, and then an a2sd help revealed it was possible to move that too - so an a2sd datasd later and now i'm back to 143 out of 147 on the internal memory, and new app installs are NOT affecting internal memory usage.
Brilliant.
Cheers!
Matt.
Next time read MIUI Thread.
SwiftKeyed from CyanogenMod with Transparent XDA App
I guess you should create an ext3 partition and try. I have MIUI with A2SD+ working perfectly with a 512 MB Ext3 partition.

App2sd not working properly?

Ok, here's my situation:
Wildfire s A510e
S-ON
Android 2.3.3
This thing enabled
According to app2sd, i've got no more moveable apps, on my internal memory there are just 7 apps installed (Google Maps, Facebook, Vocal Search, Youtube, Gmail, Clock Widget, 3g Watchdog), but i've got just 6mb free (out of 150mb).
The thing is, browsing my internal memory (using for example Disk Usage, which i think is very user friendly), i found out that all the apps i've installed on the sd have a lot of data on the internal storage anyway.
For example, i've got Barcode Scanner installed on my SD, But it uses 545kb on my internal memory 600kb on the SD.
And another thing: when i browse to settings- applications - manage apps, i can see Barcode Scanner installed on the SD, but it says it uses 545kb (which is the amount of data in the internal memory).
So, is all this normal? 'cause otherwise i don't see the point in installing apps on the sd if they fill up the internal memory anyways.
Any idea? Any suggestion?
Thanks in advance!
I have soff, a rooted rom. Many apps installed ans 120mb or so free memory. I think ans soff device is more flexible to tweak.
Sent from my HTC Wildfire S using xda premium
Ok, found out that the data not bein moved is mainly davlik cache and .apk files.
Now, although I already know the answer... Is it impossible to move those files, without root privileges, right?
Damn, I want S-OFF.
That's right, you need root access in order to move any system file on the device to another location, such as a different partition or external card.
Sent from my HTC Wildfire S A510e using XDA App
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
I did a 1024mb partition and used data2sd, I don't have to move app myself, the internal memory show my 1,150 GB...
Maybe you should use data2sd :/
Sent from my HTC Wildfire S using XDA App
update to rom 2.3.5 will actually free up more memory even you don't have the unlock your phone. For stock app e.g. facebook, gmail; if you happened to update it, they are unable to be moved to the SD card and occupy much of the internal memory. You can always use app2sd to move the other application to the SD card to free your internal memory once you've updated from 2.3.3 to 2.3.5, I think the HTC people have made some improvement in their latest update with regards to the internal memory issue.
After the updating, I haven't yet unlock my phone (as there was no suitable RUU for my carrier), yet I have free memory of 40 Mb on a 2.3.5 rom Vs that of 15Mb on a 2.3.3 rom.
SavageButcher said:
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
Click to expand...
Click to collapse
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
If you're rooted and have a recovery, just install DT a2sd. Once your find the file, flash it, go to terminal emulator in the phone and type
Code:
su
A2sd reinstall
your phone will do a hot reboot. Then go back in and type
Code:
su
a2sd cachesd
There will bet another hot reboot and you're done. You'll still lose some internal memory as time goes by, but that's because the phone will store the apps cache on you're internal memory still.
Sent from my HTC_A510c using Tapatalk
d33ps1x said:
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
Click to expand...
Click to collapse
Thanks deepsix! That actually worked. (btw i realized that by myself just 30 secs after i wrote my previous post, i feel so noob for writing that, lol.)

[Q] a2sd problems on ICS

Hey,
I've been using ICS (beta 0.4.2.1 now, beta 0.3.9 previously) and none of the a2sd scripts seem to be working. I tried to use the one you have to activate through adb, and today when I updated to 0.4.2.1 I chose another one from the installer. My phone still reports 148 MB of internal storage...
I've had a thorough search of similar threads, but you know how difficult it is to find any meaningful information on this forum; can someone please point me in the right direction? Thank you!
I flashed ICS and installed the bundled a2sd script and it worked like the script on Insertcoin. That is the system still displayed the data partition size of my hboot but the SD ext4 partition was utilised for apps. If you have titanium backup you can see the data usage on the home screen.
I also flashed amarullz script. This script did change the reported internal memory to my SD card partition size. I did not use it long so I can't comment on how it runs on s class 4 SD card.
Sent from my HTC Desire using XDA
You did not understand how A2SD works. It moves all apps (with A2SD+ also dalvik-cache) you install automatically to an EXT-partition (some of their data still remain in internal memory). But it does not increase / decrease the size of internal memory.
If you want to change the size of internal memory, you have to use a script which moves the whole /data-partition to an EXT-partition. The size of this partition is then the size of your internal memory. The name of this scripts is DATA2SD / DATA2EXT.
Sent from my HTC Desire using Tapatalk
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Did you ever get a fix for your problem?
I have something similar. Was running 0.3.9. and decided for a couple days ago to upgrade to a newer edition. Wiped data/factory reset, wiped cached and dalvik-cache, and installed the new version.
Used stock everything, activated a2sd and tried to start and install some apps from google play. Got a message that it was not sufficient space.
Did get titanium installed, and that reports the different "drives" correctly, but I still don't get it to work as it should. If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Anyone got any ideas?
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
arsvendg said:
If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Click to expand...
Click to collapse
Same problem here. I tried to wipe caches and even recreated the partitions but still no luck with the stock a2sd.
robla1000 said:
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
Click to expand...
Click to collapse
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
arsvendg said:
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
Click to expand...
Click to collapse
App and appdata are different things:
The App it's the "core" and are loaded in the RAM when you start them, so if you move them to sdcard you get a slowdown only on the boot of the app itself
The Appdata it's the data created and used by the program to run, likes databases and so; if you move it to the sdcard you get a slowdown 'cause the program continuosly try to access it.
someone correct me if I'm wrong, i'm still learning the stuff
Long story short: normal A2SD+ methods (like DarkTremor or m2sd) only move a part of /data, linking the files; you will NOT see the increased space but your Apps will occupy less memory.
Data2sd method like data2sd or Amarullz A2SDX will "swap" the ext space with the internal data memory, giving you a visible increase in your internal space.
TL;DR if you have a fast SD card you can go for the latter, else stick to m2sd wich is a new and good method to move application!
For partitioning, I suggest you to use 4ext touch recovery, you can install it on your phone from 4ext.net and flash your new recovery directly from your phone (you need to have S-OFF!); after you have your new recovery flashed:
make a backup of your SD card data (you have to format it)
Reboot in recovery
Go to "Tools"
"partition sd card ->"
"Remove all partitions and start from scratch"
Now you have to set, in order, you primary ext dimension, your secondary ext dimension and the swap dimension
I usually go for - 1st ext: 1024 -2nd ext: 0 - swap: 0
Select ext4 for your first ext partition
Now you are ready to use wathever a2sd method you want.
Hope this will help you!
Regards,
Ryther
Ahh I'm just going to leave this here.
All the ICS Devs have done a great job - Kudos to them.
But if you want a bugfree ROM which works well, for now - GIVE UP on ICS.
Go back to CM7 - it'll do you good.
Don't give up on ICS because SOME people have issues. I've ran an ICS build with a2sd working just fine no bugs whatsoever. I have not tried a data2ext script on an ICS build though so I don't know about that.

Categories

Resources