yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] MasDroid:
According to eVil D's changelog notes for his own custom ROMs, he has the dalvik cache stored in data/dalvik-cache, try ths command instead: ls /data/dalvik-cache

Both of eViL D's v1.0 custom ROMs do come with Apps2SD (A2SD) baked/cooked into the ROM. Therefore, all you needed to do is partition the SD card while in Recovery mode:

While in Recovery, using the optical trackpad, select "Partition sdcard" -> "Partition SD" and issue a SWAP=0, EXT2=512, FAT32=<remaining> partition command (read carefully the instructions provided on-screen by the procedure, you'll have to use the volume keys too, here).

Find and issue the "SD:ext2 to ext3" command.

Go back to the Recovery Console main menu and select "Reboot system now". While rebooting, unplug the Desire from the USB port.

*Note that this will format your whole SD card. Make a backup before doing this if you need.
[Desire Q&A, Help & Troubleshooting] MasDroid:
Hmm... what ROM are you currently using?

After applying the update, did you reboot your phone and then check to see if Wi-Fi works?
[Desire Q&A, Help & Troubleshooting] totorip:
modaco R2 backed
[Desire Q&A, Help & Troubleshooting] MasDroid:
Ah i see, maybe the update zip file is causing a conflict with the R2 ROM as it already has Apps2SD script cooked into it? I would try from the start again.

Backup your data to PC.

Format SD card using FAT32 (just to be sure).

Place the R2 ROM zip file onto the SD Card.

Boot into recovery mode and select 'Wipe -> Wipe data /factory reset', wipe cache, wipe dalvik. Then flash the R2 ROM zip from the SD card. Once that finishes, go back into recovery and partition your card

twice

, as follows:

swap = 0MB, ext2= 0MB, remainder to FAT32.

swap = 0MB, ext2 = 512MB - 1024MB (max), remainder to FAT32.

Then convert ext2 to ext3.

After that, reboot phone and restore your data to the SD card and reinstall some apps. Run the following command from Terminal Editor via your phone and check if the apps are stored to the correct location on the SD card.

su

ls -l /data

Look for three lines similar to the following output:

dalvik-cache -> /system/sd/dalvik-cache or maybe /system/data/dalvik-cache

app-private -> /system/sd/app-private

app -> /system/sd/app

Execute these commands to discover what apps are on the SD Card:

ls /system/sd/app (this will list all the apps which you have installed to the SD card).

ls /data/dalvik-cache (check to see what is stored in the dalvik cache).

Note: Don't apply any Apps2SD update zip's, i'm sure Paul (@ MoDaCo) has already installed the necessary up-to-date Apps2SD zip into the ROM.
[Desire Q&A, Help & Troubleshooting] totorip:
i do confirm, that applying the update.zip = wifi aint working anymore

im gonna restore like i had yesterday, i had all the apps i wanted anywya and still 60mb free

ill try though not to install copilot & googleearth, to see how much i have because they seems to take space on flash mem anyway, app2sd or not

maybe coz Gearth is 22, copilot is 20..;and i have a bigass "contact list" file which is 30mb (linked to 1500facebook account)

all that together is around 70.....on the flash?
[Desire Q&A, Help & Troubleshooting] Nollie2:
Re: How to setup App2SD?

I tried a number of tutorials and found one to be particularly detailed and helpful.

As I can't post links as a new user, Google 'Nimbu Apps2SD setup' and you should be able to find it.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] totorip:
just tried

i restored with titanium, deleted gearth, copilot and contact list and went from 60 to 113mb...

these 3 things dont like app2sd
[Desire Q&A, Help & Troubleshooting] EddyOS:
This the one?

http://nimbu.amorvi.com/2010/05/how-to-root-your-htc-desire/

I've had real issues using W7 x64 so have been using the TinyCore Linux build from MoDaCo - Do I have to do anything differently, or run the windows files as admin?

I also want to set 1GB for apps (got 16GB card so may as well use the space) - I assume I just change the 512 to 1024 and I'm good to go?
[Desire Q&A, Help & Troubleshooting] MasDroid:
Re: Question about APP2SD.....if anyone can answer

Google Earth also takes alot of space up when i have it installed. I have around 30 apps installed... without Google Earth, i have around 135 MB internal memory remaining, with Google Earth, internal memory shows 119MB, so yeah, it takes up loads of memory for some reason.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] stuliv12:
thansk for the help i checked data/dalvik-cache, and yes its jam packed, given the fact the recommended update file stops wifi working, and with me it gave boot loop (although i didny clear dalvic-cache) is there a manual way i can copy the existing cache and repoint future installs and current installs to the new location ?

Thansk

Stu
[Desire Q&A, Help & Troubleshooting] krohme:
@ Mastoid

bro is it normal (if apps2sd is set up correct - checked through adb codes u gave and it seemed so) to have around 23MB left on internal memory with 83 applications installed?

I think its set properly but just wandering if my internal memory is low due to the large number of applications installed or if I have not set up properly..

thanks mate ;)
[Desire Q&A, Help & Troubleshooting] oursoul:
Use The Internet
[Desire Q&A, Help & Troubleshooting] MasDroid:
Moving the cache is highly unstable and works for some people but not for most. I don't recommend trying unless you have a good idea of how to get your phone back to a usable state if it starts boot looping.

The commands to execute via a Terminal Emulator from your phone will be something similar to this, but try this at your own risk!:

busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache

rm -r /data/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

reboot
[Desire Q&A, Help & Troubleshooting] stuliv12:
Re: Question about APP2SD.....if anyone can answer

I will make a nandroid back up first, will that be enough?

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] The Professor:
No, you can't restore nandroids yet.
[Desire Q&A, Help & Troubleshooting] stuliv12:
Re: Question about APP2SD.....if anyone can answer

Really? I have made back ups and restored them. . . ?

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] MasDroid:
Backup your data first.

The Windows pushfiles (batch file) won't run on Linux as the shells used by Linux and Windows are very different.

Instead, run the Linux pushfiles to boot into recovery and partition the SD Card (twice) as follows:

Select SWAP=0MB, EXT2=0MB and allow the rest to be FAT32.

Again, partition SD Card and set SWAP=0MB, EXT2=1024MB and allow the rest to be FAT32.

Select the SD: ext2 to ext3 option in this menu.

Reboot.
[Desire Q&A, Help & Troubleshooting] stuliv12:
thanks for the code mastoid, i completed it, and rebooted, phone came up fine did an ls on the system/sd/dalvik-cache and the contents was there, i checked system/dalvik-cache and it the data was also there. I installed a new app and the memory decreased, it seems the dalvik cache was copied to the sd card but repointing the system to the sd card hasnt taken.

I did a ls -l /data and dalvik-cache still just reports exactly that, nothing resembling system/sd/dalvik-cache.

Thanks Though!
[Desire Q&A, Help & Troubleshooting] MasDroid:
Re: Question about APP2SD.....if anyone can answer

No problem mate, glad to help.

May i suggest that it might also be worthwhile for you to contact (by a pm) the developer of the custom ROM you currently have installed, as they may give you further advice having baked Apps2SD into their ROM.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] EddyOS:
Right, installed ConnectBot but can't do anything past that as it needs to log on first. What's the command?

I flashed an MCRr2 ROM with A2SD+ on it and then formatted the card (only once mind) and it all seems fine as I've got about 125MB mem on my phone with a few apps installed. I wanna check it's working (did everything using the r3 TinyCore method)
[Desire Q&A, Help & Troubleshooting] quickfoxz:
To check if A2SD is working you just install "Quick system info" from market.

Start this app and it will show your A2SD storage.
[Desire Q&A, Help & Troubleshooting] EddyOS:
nice one, will give it a try :D
[Desire Q&A, Help & Troubleshooting] EddyOS:
Installed that and it does indeed show App2SD mem so it's all go!! :D
[Desire Q&A, Help & Troubleshooting] MasDroid:
The command to access the terminal with ConnectBot would be "su" as it requires superuser access.

After that, you can type the following commands to check for the installation of Apps2SD to the SD card:

ls /system/sd/app (shows apps currently stored to SD card)

ls /data/dalvik-cache (shows what app data is stored to the dalvik cache)

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] stuliv12:
i partition my sd card first at 0,0,remaining then 0,512,remaining

i have trouble clearing dalvik cache on linux, some reason gets stuck on unyaffs before i get to recovery.

therefore can i wipe dalvik cache maually from connectbot before i flash ?

tia

stu
[Desire Q&A, Help & Troubleshooting] MasDroid:
Via the terminal emulator, try:

su

rm /data/dalvik-cache/* or rm /system/sd/dalvik-cache/* (wherever your cache is stored)

reboot (may take a little time)
[Desire Q&A, Help & Troubleshooting] totorip:
i have only 55mb left and both the terminal is saying SD and system info too

A2SD storage : 0.89g / free : 678mo

Internal storage : 148mo / free 54.30

why do i have such a low internal storage?

except my contact list file which seems doesnt wanna go on the SD (its 30mb for me) i should have around 80/85....

is that ok for 100apps installed (including google earth)?
[Desire Q&A, Help & Troubleshooting] ady_uaic:
hi, i've followed your tutorial about installing app2sd, everything went fine, but doesn't work :(. i mean, that when i open connectbot, set it as local and opened with su, typing "ls -l /data" or the other command "ls /system/sd/app" i get an error: opendir failed, permission denied. why?

in the quick system info appears app2sd 457 memory with 421 free...but it shouldn't be my entire SD? or how this works? all apps will be installed on SD for 8GB? and, to know exactly which apps are installed, or if are installed, where should be located exactly, i mean in which folder?
[Desire Q&A, Help & Troubleshooting] myth1001:
Is it working?

So I've done installing app2sd after hours of trial..

I tried testing it using Gscript to run the script provided by Paul.

and it says that app2sd saves me 483MB ?!!?!

I've merely less than 20apps installed on my device. Does this figure make sense? :confused:

Using Quick system info,

it shows that my App2sd memory has 331MB left. and my phone internal memory is HALF gone! :eek:

By simple maths, the numbers doesn't tally. It doesn't make any sense to me.

So my question is, is App2sd working on my device? :rolleyes:
[Desire Q&A, Help & Troubleshooting] ady_uaic:
same thing for me as in the picture...i suppose that is working now...
[Desire Q&A, Help & Troubleshooting] myth1001:
Is it true that App2sd and app2sd+ that we are using DO NOT move ALL the application data to SD card?

I installed/uninstalled Google Earth and use adb to check the storage.

It seems that 17MB of data went to phone's internal memory (/data/data) and only the remaining 5MB+ went to SD Card (/system/sd/app).

I'm always wondering, there are people reporting that they have 100+ apps installed but their phone internal memory is still above 100MB ?!?!?!

How is that possible?

From what I've achieved, App2sd and app2sd+ , which appeared to be working (tested using all scripts or commands in the forum) results in 20MB+ internal memory left after installing about 50 or less apps.

Is this how app2sd is suppose to work? Or am I missing something?
[Desire Q&A, Help & Troubleshooting] myth1001:
Anyone? :o
[Desire Q&A, Help & Troubleshooting] Qliratu:
Use this on sbd shell to test if it is installed corectly

www mini.glx nl/app2sd.txt

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] myth1001:
I've used a same/similar script to test if it's working. Screenshot can be seen here.

Apparently test shows that it's working, but my main concern is why internal memory is still going down?

Why when I install Google Earth, 17MB of the data went to internal memory and only 5MB goes to the sd card?

Thanks for the input though. :)
[Desire Q&A, Help & Troubleshooting] The Professor:
Because nothing moves /data/data to SD card, because that results in instability and generally poor performance. It can move the app and dalvik-cache to SD with less trouble, but /data/data is buggy, so that stays on the phone. If something installs most of its stuff there, then there's nothing we can do about it. Wait for FroYo.
[Desire Q&A, Help & Troubleshooting] Qliratu:
I think.. and tryed checking it but got only my own desire.. that the value it shows in SD information is the size of /data

the apps are in /data/data/app.. witch is simbolic link to your sd card.

Try installing a big race game (demo) from the market and see where it is installed using root explorer and how mutch space is left in SD information
[Desire Q&A, Help & Troubleshooting] scotch whisky:
Easy way to see if A2SD is installed correctly.

Download "Quick System Info" from the market.

Run it. A screen grap is shown below:-
[Desire Q&A, Help & Troubleshooting] hlpdt10:
help

Hi Guys

i have done like this

connect Desire to my Lap and go to recovery

1/ wipe: Wipe data/Factory reset + Wipe cache.

2/ move to "Parttion sdcard"

- Parttion SD: choose 64Mb then 1024 MB

- SD: ext2 to ext3

3/ using "USB-MS toogle":

copy file r1-a2sd-desire-dalvik-upgrade-signed.zip to sdcard

6/ using "Flash zip from sdcard" flash that zip file above in my sdcard

7/ and "Reboot System now"

but when i check my desire i recieved the result like this:

Can any one tell me that i did right? did i install app2sd successfully ?

please help me...thanks
[Desire Q&A, Help & Troubleshooting] hlpdt10:
any body please help me ???
[Desire Q&A, Help & Troubleshooting] MasDroid:
Hi mate,

I would recommend that you follow the guide in my sig (second link).

To install Apps2SD, do the following:

First, download the correct zip file, I think you are using the wrong one. You are only meant to flash the update dalvik cache zip file if you have previously installed Apps2SD.

Instead, the file you need to download and place to the root of the SD card is Copy the r1-a2sd-desire-dalvik-fresh-signed.zip (available for download via link in sig).

Next, enter recovery and # Wipe > Wipe data/factory reset, Wipe > Wipe cache, Wipe > Wipe Dalvik-cache.

Next, select Flash zip from sdcard and select r1-a2sd-desire-dalvik-fresh-signed.zip.

Once flashing is over, select the "Power off" command. Reboot phone.

Enter recovery mode again and then partition your sd card > Partition SD.

I would advise you set 0MB SWAP, EXT2=512 (as this is more than enough space for apps), and allow the rest to be FAT32.

Then select the SD:ext2 to ext3 option in this menu.

Go back to the Recovery Console main menu and select Reboot system now. While rebooting, unplug the Desire from the USB port.

To make sure it has been installed correctly, install and open a terminal editor like ConnectBot.

When you have the client open, type "su" to gain supervisor access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:

dalvik-cache -> /system/sd/dalvik-cache

app-private -> /system/sd/app-private

app -> /system/sd/app

If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.

You can perform more extensive checks by executing the following command:

ls /system/sd/app (this will list all the apps which you have installed to the SD card)

Hope that helps you out.
[Desire Q&A, Help & Troubleshooting] hlpdt10:
Yes....i find the problem....i 've updated wrong file...

the correct file is r1-a2sd-desire-dalvik-fresh-signed.zip

i used wrong file r1-a2sd-desire-dalvik-upgrade-signed.zip

Now.. It's ok..

Thank's a lot.. :)
[Desire Q&A, Help & Troubleshooting] MasDroid:
No problem buddy ;)
[Desire Q&A, Help & Troubleshooting] riz157:
Must you root before you can install aaps2sd?

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] MasDroid:
Yes, you need root access in order to install Apps2SD.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] riz157:
Great not going to happen for me then, unable to root t-mobile desire.

-------------------------------------

Sent via the XDA Tapatalk App
[Desire Q&A, Help & Troubleshooting] rolfd:
Why can't you root?
[Desire Q&A, Help & Troubleshooting] goksar:
dalvik-cache -> /system/sd/dalvik-cache

app-private -> /system/sd/app-private

app -> /system/sd/app

dalvik-cache and app folder have files,but the app-private folder is empty...half working A2SD...?:confused:
[Desire Q&A, Help & Troubleshooting] ronaldo9_r9:
guys i have app2sd installed on my phone but my phone internal memory was going down as well as sdcard. I went to this website where i wanted to download cps2hd to work on my desie when i was following instruction to install that it said delete temp folder in delete data\local\temp folder i used root explorer to access that folder and deleted the temp folder.

My internal phone memory was 70+mb when i deleted that folder intrnal phone memory went to 121mb nice. I want you guys to have a go let me know if it works for you too.
[Desire Q&A, Help & Troubleshooting] lukeaddison:
Thanks for that - perfect instructions :)
[Desire Q&A, Help & Troubleshooting] MasDroid:
No worries :)
[Desire Q&A, Help & Troubleshooting] Ghisy:
@MasDroid, hi man, I need your help!

I might root my Desire soon and I need some info about the SD card partioning.

I understand I have to root first then install a ROM that supports Apps2SD (I'm thinking of using Modaco r3.1 ROM, is that a good choice for a rooted stock ROM with Apps2SD btw? Because I want a ROM that is as much as possible close to the stock one and I can't find a changelog for this ROM)

What I'm wondering is: I always see in tutorials to set ext2 partition for apps to 512 MB. But I would like to set it to 2 GB (so 2048 MB) because I have an 8 GB class 6 microSD. How do I do that?

Thanks!
[Desire Q&A, Help & Troubleshooting] MasDroid:
Hi Ghisy,

yes, that is a good choice of ROM if you are planning on flashing a rom close to stock with Eclair 2.1, and not a Froyo rom. You can install A2SD+ (Apps2SD) with the MCR r3.1 rom and check the Changelog notes via this link:

http://android.modaco.com/content/h...ustom-rom-for-htc-desire-with-online-kitchen/

In the Downloads section, choose the r3.1 ROM with default MoDaCo additions and A2SD+ option, as this already incorporates Apps2SD into the rom, meaning that you will not be required to install it separately.

For apps, I would advise you not to create an ext2 partition any larger that 1024MB, as this is far more than enough space for apps. Since When partitioning your SD card, there are three options (SWAP, ext2, and FAT32), each of which you must set with a value. You don't need to allocate any space to the SWAP, i would suggest 512MB to 1024MB (max) for the ext2 partition, and the remainder for FAT32 file system.

In order to partition the SD card, you must enter Recovery Mode with your phone connected to your PC via USB, or use the Fake-Flash recovery launcher method, which provides a safer method to enter recovery mode and flash roms, without the need for the USB cable connection to your PC.

Once you are rooted, and before you flash your custom rom, you will need to do a full wipe in Recovery Mode - once you run it you will notice, the screen of your device change to a green recovery image menu. In the recovery image, Select Wipe > Wipe Data/Factory Reset using the optical trackpad, then Wipe > Wipe data/factory reset, after this has completed do Wipe > Wipe cache, and again, once this has completed do Wipe > Wipe Dalvik-cache. Now, from the same menu, select Flash ZIP from SDCard and choose the rooted update. Confirm with the optical trackball. This process may take a while so be patient.

Once you have completed the process of performing a full wipe and flashing your rom, you must then partition the SD card while you are still in Recovery Mode (do not reboot phone). From the Recovery Mode console main menu, using the optical trackpad, select Partition sdcard > Partition SD.

Select SWAP=0, EXT2=512 (or 1024MB if you prefer) and allow the rest to be FAT32.

Select the SD:ext2 to ext3 option in this menu.

Go back to the Recovery Console main menu and select Reboot system now. While rebooting, unplug the Desire from the USB port and you should be done.

If you are confused by any of this, then i suggest you read the tutorials mentioned below in my sig for further extensive details.
[Desire Q&A, Help & Troubleshooting] Ghisy:
Wow, that's what I call a detailed explanation! Thanks a lot, very useful. Yeah, I'll stick to Eclair because I like Sense UI and don't wanna lose it if I switch to a vanilla Froyo release.

I think I might root this weekend, I'll get back to you if I have any question. Thanks again.
[Desire Q&A, Help & Troubleshooting] Ghisy:
Sorry for the double post but I have one extra question: I understand the whole process will format my microSD card, right? But can I just back up the original card data (and folder structure) and put it back when everything is done? Thanks again!
[Desire Q&A, Help & Troubleshooting] MasDroid:
Yes, by partitioning your SD card, this will automatically wipe everything from it, just like formatting.

Before you flash a new rom, i would suggest you first perform a Nandroid Backup, which can be done in Recovery Mode once you are rooted. A Nandroid backup will create an exact clone of your current rom image and store it to a folder called 'nandroid' in the root of your sd card. It's best to do this beforehand as sometimes things can go wrong during a flash, for example. If something were to go wrong, you simply access Recovery Mode again and select the Nandroid Restore option to restore your phone to it's previous working state. You should also transfer all your SD card contents from your SD card to your PC (while the phone is connected to your PC in disk drive mode), especially before you partition your SD card, which you can later restore by transfering back to your SD card - by doing so, your original folder/directory structure will be maintained.

I would also suggest you backup your apps and data (once rooted) using third-party apps like Titanium backup or MyBackup Pro, both available from the marketplace.
[Desire Q&A, Help & Troubleshooting] Ghisy:
I'm planning on backing everything up using My Backup Pro but you got me confused there: if I root, I won't have all my apps and settings anymore because rooting using Modaco's method implies I need to do a wipe beforehand or did you mean doing a backup once everything has been restored (using a previous backup)?

By the way, how good a non-rooted My Backup Pro backup is?