yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] DVS_Sokar:
You should have posted these in one of the 5 other Apps2SD threads.. Not create a new Thread...

Mod will most likely close this because it's not a development thread but a tech support thread.
[G1 Android Development] sjbayer3:
I disagree, if apps to sd doesn't work for certain applications then its a development issue.

Furthermore, If I post in an apps2sd thread of 20 pages it will be near impossible for someone to search for this question (and answer), and someone else will have to post this question. Not to mentiom the thread hijacking that would occure

Had apps2sd not worked for all my applications then I would have gone to tech support, but since its only a few, it is more likely an issue with the app, though I admit it could be either.
[G1 Android Development] legaleye2005:
I already knew all of that... :) But... I can't find the package installer... I downloaded it from the 1st post on this thread as a zip. I unzipped and its a folder. I copied the whole folder to my sdcard and Astro doesn't recognize any of the files as a package installer... So what's wrong? Thanks
[G1 Android Development] Lamar720:
Thanks for all the help but, can only make a new Tutorial Should I format my card to EXT3 or Ext 2 .......................

And make it easier for noobs.

Thanks Marcus and other tho
[G1 Android Development] legaleye2005:
Lamar- Get a full version of Paragon Partitioner 9. When you open it, you'll be able to partition your card with either ext2 or ext3. It does it for you, you just choose which one you want :)
[G1 Android Development] Lamar720:
Thanks lol I asked because I just used that program your a mind reader! ha

I went with ext2, now I will not need app2sd2 will I?

I did a wipe before this, so all I need is to type in some command lines from pages one right?

Which ones do I need?
[G1 Android Development] legaleye2005:
Well, if you want it so that your apps get installed to your sdcard instead of the phone, then yea, you want to have apps2sd. Go to the first page of this thread and just follow the instructions and you should be golden (after you properly format: 2 partitions; 1 FAT32, and the other either ext2 or ext3). I went with ext3 just because everyone else has been recommending it, that's all..
[G1 Android Development] legaleye2005:
Can someone repost the apps2sd2 app? The file/link on the first page doesn't work anymore. I just get a .zip file and there is no package installer in there that Astro picks up.

Thanks
[G1 Android Development] Lamar720:
These are the files from the day he posted them. Try using Linda's and not Astro.
[G1 Android Development] Lamar720:
1: init.rc in .zip attached to this thread

2: a2sd.sh in .zip attached to this thread

All the above listed files should be put on your sd card(my tutorial will assume they are in the

root directory of the sdcard(the topmost folder)

What is the name of this folder?
[G1 Android Development] parmenti:
hello.. apps are installed on my phone but not showing up in MY DOWNLOADS in market app. I tried redoing everything but when I try to intsall AppsToSD2 it says...

Application not installed

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

AppsToSD could not be installed on this phone

Any ideas as to why I'm having trouble? I tried everything, including transferring the file via PC card reader instead of phone. Anyone? Thanks.
[G1 Android Development] Lamar720:
Does it refer you to this site also?
[G1 Android Development] Lamar720:
Is your sd card already Partitioned
[G1 Android Development] parmenti:
Yes, it's partitioned.. and was working just fine until I flashed Dudes 1.2 Rom I think
[G1 Android Development] parmenti:
I actually just realized that I can't seem to install anything at all. hmm..
[G1 Android Development] kockroach:
It would seem like there are a few people having problems with installing apps. I switched to TheDude's 1.2b and can't install from the market. At first, I couldn't even install to internal memory.

EDIT: Update to my problem. I reformatted my SD card, and then reapplied TheDude's 1.2b update. I then logged into my gmail account, and the market started to download, and install apps I had previously. I installed all of my apps through the backup script mentioned in TheDude's ROM thread. I was also able to update apps and install new apps, both from the market. However, this was all before the apps were moved to the SD card. After moving them over, I can't install from the market.

EDIT: Hey Marcus, are you sure you updated your script files in the first thread? The files in the zip are dated 5/09 and 5/21, even though you updated them on 5/28. Just wondering.
[G1 Android Development] rgl12miami:
Try to move only apps, private apps and dalvik-cache to the sd and keep

data in the internal memory. This helped me to solve a problem with snap photo pro.
[G1 Android Development] JoshHart:
what rom are you running sj? nesoid worked fine for my on my previous rom but on Hero beta3 it won't install along with a few others.
[G1 Android Development] jrherras:
having problems

I followed this instructions

I started from a fresh wipe and flash of jf1.51 adp.

A newly formatted fat32, non partitioned sd.

Put the init.rc and app2sd.sh on the sd (the files NOT the zip)

Then go to the terminal emulator and typed:

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

Then reboot

Next I ran the apps2sd 2 app. It will ask you how much to you want to partition. I did 3000mb the first successful time and the dreaded low mem notice would not leave the status bar. I have read not to make it more then 1500mb. Have a good connection, dont force close it. It will reboot. <-I'm stuck here tried to wait for 15 mins i left my phone and still frozen

Next, after the reboot, I ran the apps2sd 2 app again and pressed "copy apps to sd" (let it do its thing)

Reboot.

Next I went back to the emulator and typed:

su

mkdir /system/sd/app-private

mkdir /system/sd/dalvik-cache

Reboot.

Go back to the apps2sd 2 app and hit move dalvik-cache.

Reboot for good measure and your done.

I came from a fresh wipe fresh installed JF 1.51us even tried ADP I followed exactly the instructions but no luck. I was using 3G and switched to wifi but still same result
[G1 Android Development] sjbayer3:
I dont understand how to run appstosd2.zip its a zip not an apk!

I searched, but theres so many pages its hard to find info.
[G1 Android Development] sjbayer3:
Those files dont unzip an apk, its got a few files and folders and thats it.
[G1 Android Development] sjbayer3:
I am using JF,

I thought when I originally did the app2sd manually I only moved what you suggested and left data on the internal memory.

Well I think im gonna try to remake the app2sd from a fresh wipe of jf 1.51.

I am gonna follow the "New and Imporved app2sd" if only I could figure out how to use the apptosd2.zip as an apk.
[G1 Android Development] sjbayer3:
seriously it cant be this hard to figure out how the hell this appstosd2.zip can be run on the phone.

No one else asked except right on this page... someone HAS to know what to do.
[G1 Android Development] walkerx:
It hung on me the first time as I opened the keypad - so I waited till it asked to force close so did that and retried and it worked - on that section it takes about a 30 seconds or so to do.

extract the the contents to root of sdcard, next in terminal emulator when copying the init.rc before the rebooting enter this

cp /sdcard/appstosd2.apk /data/app/

when reboot phone it will show up in list of applications
[G1 Android Development] largo79:
Ok, so i used some of Lucids method and apps2sd method and have no idea what i actually did. I have the SD and internal memory widgets and on the internal it says Using 138 mb of 1564mb! for SD it says 5764 out of 6184 mb available. Is this correct? Shouldn't it say Using 0 of 74mb or whatever for phone intyernal memory? thanks a lot.
[G1 Android Development] short/y:
For the Linux newbs, I'd suggest that, instead of doing

su
cp /system/sd/app/[the app you want to move] /system/intmem/app/
rm /system/sd/app/[the app you want to move]

you do

su
mv /system/sd/app/[the app you want to move] /system/intmem/app/

Mv is essentially a cp followed by a rm if the copy works. If the copy fails for some reason, the rm doesn't happen. There's no ambiguity -- it either works or it doesn't and there's no question about whether you should excute the rm or not. And it's fewer keystrokes which means less chance for typos.

Just my $.02 (or less, depending on how you see things).
[G1 Android Development] MarcusMaximus04@gmail.com:
One small problem with that idea: It doesn't work. I tried that originally and it gives an error because of a "cross device link". Basically it seems to not like moving an app from one side of a unionfs to the other. It won't mess anything up, it just fails and won't do anything. If the cp gives any kind of error at all, it's best not to do the rm and just post what it said here.
[G1 Android Development] TheDudeOfLife:
Oh this is so sweet.

My .95 is working like a charm.

I've tested from a wipe, now to test from a phone that has symlinks already.
[G1 Android Development] overground:
I'm waiting patiently, Dude. Thank you
[G1 Android Development] memorylasts:
Just noticed this, not sure if it is just me or not, however, when applying a new background image, in order for it to fully refresh it seems as though you have to do a reboot, the lock screen will take the image, and it will "apply" it, but you have to reboot to see it... This is on JF1.5 APPS TO SD 2, which btw is awesome! It seems as though it actually "expands" the phones system memory! Good work! Thank you!
[G1 Android Development] Beast84:
So if I already have the symlinks on my phone & I just put these files in my JF1.5 update.zip & reflash without a wipe will it remove the symlinks & use this new method by default?
[G1 Android Development] rickymello:
ok, so i followed the directions perfectly and all seemed fine..... untill i realized am missing apps and others force close. and it says i have 653mb of internal memory free. i am using jf1.5 and had done the other apps to sd. i did follow the steps to undo it.

EDIT

Phone restarts everytime i try to install a new app
[G1 Android Development] mfrey0118:
My phone reboots after I open Apps2sd2 and click Copy Apps to SD...is that supposed to happen? It doesn't do it when I click the Copy dalvik-cache to SD button.

Also, I did a wipe before I started, but I didn't re-format my ext2 partition, and once I went through the steps, the phone started reading the apps that were still on the ext2 partition from when I was using the old method. So when I went to use MyBackUp Pro (which comes in handy when you wipe as much as I do) all the apps started popping up on my tray until it was fully populated. Are the apps good?

Should I do a wipe, re-format the ext2 partition and make the /system/sd + apps/app-private/data/dalvik-cache folders over again and run Apps2sd2 again? It shows 896mb storage but how do i know if my phone storage is going down? Do I just have to follow it using the "busybox df -h" command?
[G1 Android Development] mfrey0118:
While I have your attention, what's the consensus on the best way to store the data caches to sd? I have followed a couple of threads. If I can store the browser, market, and maps caches that will be more than enough...
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes, I made it my on purpose to refresh all the apps after moving them to the sd card. May or may not be strictly necessary but I'd like to be safe.

For all the rest, yes apps previously moved using the symlink(old) method will still show up using this one. There shouldn't be any need to wipe.

@ rickymello: you have a /system/app directory? I'm not sure why this is happening so I need more info. Also if you could do this in adb and post what you'd get it might help:

busybox df -h
[G1 Android Development] Beast84:
Just one more question, does the apk put these files on the phone or do you still have to push the init.rc & sh first?
[G1 Android Development] malaeus:
read only error while creating system/sd/app

Warning, Possibly N00B question.

for some reason, i keep getting a read-only error when i try to create the system/sd/app directory

i have 1.5Gb FAT32 and 2.2Gb ext2 (formatted on mac using macfuse, i hope thats not the issue)

the ext2 partition doesnt visibly mount anywhere (but i dont know if thats supposed to happen)

i am really anxious to get this to work, does anyone know how to get around this?

thanks.
[G1 Android Development] Smokuevo:
adb remount
[G1 Android Development] malaeus:
i just type that into terminal emulator ?
[G1 Android Development] miro.san:
I had the same problem, I ended up doing a wipe and repeating the original instructions and it was fine the second go around.

HUGE thanks to Maximus for this - I was never able to get this going using the other methods prior to this one - very cool!

I did notice the wallpaper issue - changing it doesn't show up until after you restart. It sounds like I'm not the only one... ?
[G1 Android Development] ginopr82:
Please Help!! What is dalvik-cache?

I am fairly new to all this and have hadd success so far in modding my phone. Thank you guys! I have done the appstosd2. I haven't transfered my dalvik-cache to the sd card yet. What is dalvik-cache? How does this benefit me? Will this cause me problems in the long run if I want to go back and unroot it and put it back to factory out of box original state with Original firmware? Sorry if I used the wrong terminoligy.
[G1 Android Development] malaeus:
i type that in and i get nothing. is there some special command?

i keep getting a read only error, when trying to create the system/sd/app

also, what exactly do i do with the appstosd2? sorry, i am a horrible n00b when it comes to command line stuff.

i have a 4Gb class 6 microSD, and as stated before i used OSX 10.5.6 disk utility to format the SD card with fat32 and ext2 using google code MacFuse.

i attempted to format it using SLAX booted off of my HP laptop, (other OS on hp laptop is screwed, have been attempting OSx86...failed, damn you HP)

but that GParted program wont recognize it.
[G1 Android Development] LucidREM:
How's This Working For Everyone?

i'm looking thru this stuff and will be testing this out when the RC comes out in 1.5 version .. would anyone like to test my script??

http://files.lucidrem.us/_fd.php?file=jf/1.50/lucid.txt

so download the text file .. place it in /system/bin without the ".txt" .. and test the commands .. i think it can also be placed in /data/local/bin if that works out better .. chmod 755 as well i think

lucid app2sd

lucid app2int

this should move ALL the apps from one location to the other .. i am trying to make sure the script will be a viable solution to allow people to also move individual apps as well .. from what i'm reading .. the apps should keep working no matter where they are located .. yes?
[G1 Android Development] bountyhunter:
Your scripts work flawlessly, more stable than the symlink version that has dominated from the very beginning.

But I found a problem here. After using your script, I cannot change my wallpaper. When I change wallpaper, nothing happens until I reboot the whole phone. Does anyone have the same problem with me?
[G1 Android Development] AustinKnight45:
Ok I got it working:D I wiped and tried it again I didn't use "Recovery Terminal" instead I did "Terminal Emulator":o to type

mount data

rm /data/app

mkdir /data/app

Then I went to Emulator an typed

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/init.rc /data/

cp /runme.sh /data/

cp /sdcard/a2sd.sh /data/

an it worked so no more reboots when I install a app and Available space is at 438mb it goes down too when I dl new apps thx again !!!:D

EDIT

I have to turn my phone off to apply my picture wallpaper an it reboots when I use Apps2SD 2 to copy Apps to sd but not the cache, other then that its all good
[G1 Android Development] jrherras:
I did not pressed force close or wait when popped out i just wait for 15 mins lol and when i decided to take out the battery it deleted my fat32 partition and created another partition but still no ext2
[G1 Android Development] Binary100100:
So I gave this a shot. I have over 250 apps stored to my sd (1gb on ext2) and I have about 600mb free. So I can't move my apps back to my phones internal memory (obviously). I performed the steps above and I noticed a Retro Clock/Date Widgets were missing, GV (Google Voice) and a couple others. I went back to Market to reinstall and my phone rebooted itself when the app (GV) started to install. I tried installing the apps2sd 2 app with an app installer and it rebooted again. What did I do wrong?
[G1 Android Development] cyanogen:
I added UnionFS to my ROM by default. I modified the script somewhat so that /data isn't mounted twice, and trigger the service later in the init.

Thanks!
[G1 Android Development] sjbayer3:
okay, I copied both the AppstoSD2.zip AND the extracted files to my SD card and it says AppstoSD2.apk No such file or directory.

furthermore, when I unzip it its not an apk but a few files and a few folders:

AndroidManifest.xml

classes.dex

META-INF (folder)

res (folder)

resources.arsc

Please help
[G1 Android Development] sjbayer3:
This whole process re-iterates why I hate everything that apple is.

For some reason their unzipper doesnt unzip it the way every other operating system does. After I downloaded a google code unzipper it unzipped as an apk.

Basically, **** mac I want my Ubuntu pc back :(
[G1 Android Development] Stigy:
I have one important question that I am really looking to get answered...

I did this Apps2SD on the SD card that came with the G1 and obviously its a bit slow since its a class 2. I decided to purchase an 8GB Class 6 card from Newegg and I am just curious how to go about using the new 8GB card.

Can I just boot into Linux, create an ext2 partition on the new card and copy the contents over from the new card to the old card? Could it really be that simple?

Thanks in advance for your response!!
[G1 Android Development] overground:
Definitely worth a try, but I don't think it's going to be that simple. I would back up what you can from the FAT32 portion of your old card (also backing up your installed apps using appmanager or mybackuppro). Copy the entire contents of your FAT32 partition to your computer. Then insert your new card and mount it in settings. Use Apps to SD 2 (or partition manager of your choice) to partition your new card to the sizes you prefer. Then use Apps to SD 2 to set up apps and/or dalvik-cache to sd. When that's done, restore your copied files from your computer to the new FAT32 portion of your card. Finally restore your backed up apps. Make sure you follow any rom specific instructions for the build you're using.
[G1 Android Development] Lamar720:
Your right I'm sorry you don't install them you just unpack them and put them on the root of the sd card.

Any one having trouble with the partition of the sd card may want to try this it works great.

http://androidcommunity.com/forums/...-partition-manager-9-0-windows-version-17250/
[G1 Android Development] Binary100100:
Can't install

So I gave this a shot. I have over 250 apps stored to my sd (1gb on ext2) and I have about 600mb free. So I can't move my apps back to my phones internal memory (obviously). I performed the steps above and I noticed a Retro Clock/Date Widgets were missing, GV (Google Voice) and a couple others. I went back to Market to reinstall and my phone rebooted itself when the app (GV) started to install. I tried installing the apps2sd 2 app with an app installer and it rebooted again. What did I do wrong?
[G1 Android Development] cronin4392:
ok just tried your new method and i ran into some problems. im on the dudes build 1.2b and i didnt have any apps on the sd. so i followed these steps in the first post:

"Next, after the reboot, I ran the apps2sd 2 app again and pressed "copy apps to sd" (let it do its thing)

Reboot.

Next I went back to the emulator and typed:

su

mkdir /system/sd/app-private

mkdir /system/sd/dalvik-cache

Reboot.

Go back to the apps2sd 2 app and hit move dalvik-cache.

Reboot for good measure and your done.

I did this in about 10 mins. Worked flawlessly."

after typing this:

su

mkdir /system/sd/app-private

mkdir /system/sd/dalvik-cache

i rebooted, but once the phone booted alot of my apps werent there are some were named com.___.___. one of the apps not there was appstosd. so what went wrong? should i not have rebooted?
[G1 Android Development] borodin1:
Don't unzip it... just rename it toAppstoSD2.apk
[G1 Android Development] driguez:
God, i been dying to A2SD but i read nothing but small issues which i dont want to deal with... Hopefully this will become even better and more stable. Till then ill stick with my 20mb free.
[G1 Android Development] pentace:
these are the best folders to move for optimal space and speed

This is the old school way but the exact order to do it in maybe scripts can be modded.

cp -a /system/app system/sd/app

mv /system/sd/app /system/sd/appsys

<<<hero only>>> cp -a /system/app_s /system/sd

cp -a /data/app /system/sd

cp -a /data/app-private /system/sd

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

reboot in recovery

mount system

rm -rf /system/app

<<hero>> rm -rf /system/app_s

ln -s /system/sd/appsys /system/app

ln -s /system/sd/app_s /system/app_s

mount data

rm -rf /data/app

rm -rf /data/app-private

rm -rf /data/dalvik-cache

ln -s /system/sd/app /data/app

ln -s /system/sd/app-private /data/app-private

ln -s /system/sd/dalvik-cache /data/dalvik-cache
[G1 Android Development] mrmonto:
Any known issues with moving dalvik cache to sd? I have app and app-private on sd now. Thanks!
[G1 Android Development] cronin4392:
seems like i bricked my phone with this, better explanation here:

http://xdaforums.com/showthread.php?p=3869528#post3869528

any help would be appreciated.
[G1 Android Development] ghettoyungin718:
after a wipe to the dudes build.. i install mybackup pro so i can upload apps2sd app onto my phone

when i move apps2sd all of my apps from the market including mybackup pro are erased off my phone and if i restart my phone it'll stay in a loop

is this an issue with my sd card ? thanks in advance
[G1 Android Development] dwang:
There's definitely seems to be some performance issues with unionfs.

I can get my g1 to lock up if I'm running unionfs with apps/app-private/dalvik-cache on the sd card by doing the following:

1. Play IMEEM in the background

2. Go to this website

http://blogs.suntimes.com/ebert/2009/05/up_up_and_away_in_my_beautiful.html

If I do the same thing with everything in internal flash or using symlink a2sd method, I don't get the same lockup.

I'm sticking with symlinks for now.

I also see more menu lagging with unionfs. Meaning if I press "menu", it takes a split second to come up, while using symlinks its faster.
[G1 Android Development] beagz:
I always thought the stuttering was just something I was doing.

AUFS seems to be reported as better. Any chance of switching to that other than using cyanogen's build?
[G1 Android Development] dwang:
tried the aufs boot img from cynaogen and get the same problems.
[G1 Android Development] DMaverick50:
i ran the appstosd2 app and partitioned my card and my internal memory says like 775mb. The first page is a bit confusing though im not sure which step to pick up the process on after running the app. anybody want to throw me a bone? thanks