yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Nismo300zx:
i been at this for 2days ive tried evrythin ..hmm time to give up soon
[G1 Android Development] Dantehman:
Not really,,

According to the like 6th post or something its states this app wont work if you download it from here, but if you were to get it through the market....

Bob should now be your uncle :p

if you give him some time as clearly posted again, he will fix the app from the first post and replace it later on :cool:
[G1 Android Development] Nismo300zx:
ok if i typed the commands in manually and it wnt work ..and the app wnt work ..im tired of wipin the fone and formattin the sd card...=[ i give up
[G1 Android Development] MarcusMaximus04@gmail.com:
you had the "stale NFS handle" right? I'm not really sure what's going on but something in your phone's file system sounds like it went screwy. Maybe someone like JF or LucidREM could help? Your problem goes way over my head and I'm guessing the same is true of a lot of people on here unfortunately.
[G1 Android Development] Nismo300zx:
its cool imma jus stay with apps n caches to sd...n kep dalvik on the fone..i got passed the nfs error and get stuck at tmo g1 screen maybe ill try again l8ter
[G1 Android Development] jjjackson56:
jf rom

Ok question I know it says apps to sd rom is needed does this mean only haykuro roms? I have a jfrc33 1.42 and I could do apps to sd using this rom (planning on doing it tonight my 8gig class 6 card arrived) so my question is can I just use this app or do I need to do all the steps manually
[G1 Android Development] MarcusMaximus04@gmail.com:
It should work on any apps to sd ROM. This includes LucidREM's modified JF ROMs. If you're gonna be manually changing it into an apps to sd, then I would think it would work but can't promise it. I wasn't able to figure that out when I tried so I'm not 100% sure that they work the same but I would imagine they would. Again, though, the one posted here has that known bug which will be fixed after I get home from work.

Short answer(s):

Haykuro's ROM: definitely works

LucidREM ROM: Don't have it to test it but almost assuredly works

Self-modified: probably works?
[G1 Android Development] jjjackson56:
Sounds good I wasn't doing it till later tonight anyways (stuck at work also) also is it still a good idea to keep ext2 parititon less then 2gb like lucid reported on his tutorial
[G1 Android Development] MarcusMaximus04@gmail.com:
Probably, I haven't tried anything bigger... and seriously, you'd need a crazy amount of apps to fill up even 1GB...
[G1 Android Development] jjjackson56:
True. that sure would be a lot I dont even think all the apps in the market would fill 2gigs lol. Thanks for your work look forward to trying it later
[G1 Android Development] brandenk:
I ended up with 64MB free. Most apps I did not need to reinstall, many of them did not show up as installed in the market so I had to reinstall them to show up properly. A couple Icons disappeared off the desktop and I had to re-add them. Either way it was a very easy transition (relatively speaking for me anyways) and I wish I did it sooner.
[G1 Android Development] DKYang:
I have a quick question Marcus.

I'm using the 1.5Hr3-A2SD build right now and installed your app. Now, I also had Astro installed before moving the A2SD. Once I clicked on A2SD the Astro app disappeared. I cannot find it anywhere, but when I looked through the application manager the com.astro(don't know the exact name) is still there. This happen with that one option checked and unchecked. So are the apps previously installed suppose to disappear from the menu/drawer after making the move?

I installed games that required a lot of memory afterwards and the app still works.

Thanks.
[G1 Android Development] MarcusMaximus04@gmail.com:
Did you restart the phone?
[G1 Android Development] JESTERcl:
Hi there!

Well i have a question and i think is a stupid question but i have it, the file what is posted on first page do we have to rename de extension the .zip to .apk or the APPSINSTALLER install by him self the .zip

Ihope some answer like at insults to the answer what i need, thanks all you for help some people like me. (dummies some times)...sorry for my english im from chile.
[G1 Android Development] DKYang:
Oops, was in a hurry and forgot to mention about that.

Yes, I did try to restart it. It went into an endless loop. I waited about 5 minutes, or even longer, before taking out the battery. I also had my ext2 partition formatted before using the app, if that even matters. I think the restart problem was because I was trying to move the dalvik(?) cache, but not so sure.

EDIT: I just restarted the phone when only using A2SD. It restarted fine. I guess it's the dalvik cache or even the app caches that are causing the problem when moved. Would you happen to know why moving the dalvik cache, or even the app cache, would cause an endless restart loop?
[G1 Android Development] pychobj2001:
Totally lost

I have JF V1.5 and 600mb ext2 on a class 6 8gig card, i've had cupcake for a few days now..over 110 programs, then today all the sudden half of the programs are gone but not gone, i click on the and they say not installed, they have no icons and yet it says installed in the market but won't re-install, "insufficent storage space" i am so lost...i used this app to do the apps2sd, is this not working for cupcake?
[G1 Android Development] brandenk:
I reinstalled JF1.5 and reformatted the card and copied everything back and now I have 68MB free on the phone and I have all the apps in the menu, I just dont have them showing up in the market which is kind of a nuisance.
[G1 Android Development] MarcusMaximus04@gmail.com:
It does work in cupcake(used it for my phone). Sounds to me like you ran into the dreaded "stale NFS file" problem. I'm guessing uninstalling the apps fails? Also with over 110 apps, if, on average, they are 5.45MB(including dalvik-cache size if you moved that) then you will run out of space.

At any rate, with the stale NFS files, the best thing to do would likely be to reformat the sd-card since it indicated a problem with the file system. Kinda a pain with 110 apps trying to dl them again, but if you have linux(mac might work too) you could always back up the ones that are working, reformat, and then put them back on.

@JESTERcl: No, the .apk is inside the .zip. I put it in one since xda doesn't let you put up .apk's.

@DKYang: Not sure, but it could have been a result of moving both at once? My guess is that it moved the apps to the sd card and then halfway through moving the dalvik-cache the app shut down because it didn't exist anymore(as far as the phone could tell) so you ended up with a messed up dalvik-cache. In the future my app will reboot the phone after moving the apps to the sd card
[G1 Android Development] :
Sorry For The Noob Question But How Do You Move The Cache/Data Of The Browser To The Ex2 Partition? Thanks For The App Too.
[G1 Android Development] MarcusMaximus04@gmail.com:
I removed this from the app because it was tremendously unstable. If you really want to try it you can find the instructions in my tutorial thread, linked in my sig. If you want to just move the browser cache you can do this in terminal emulator:

su
cd /data/data
mv com.android.browser /system/sd/
busybox ln -s /system/sd/com.android.browser com.android.browser
reboot

But I have no idea how stable even that would be.
[G1 Android Development] negroblanco:
I extracted the zip file and couldn't find the ".apk" file either. I am using Mac OS X, and I just double-clicked on the .zip. OS X made a folder called: "AppsToSD_signed" with the files "AndroidManifest.xml", "classes.dex", etc, etc. I then used StuffIt Expander, and it properly extracted the actual "AppsToSD_signed.apk" file.

I hope this helps any other OS X users.
[G1 Android Development] JLine05:
I think it would be a cool idea to include options in the app to move caches to the regular fat32. Just would be nice to have it all in one app.
[G1 Android Development] MarcusMaximus04@gmail.com:
Not possible. You can't symlink to FAT32.
[G1 Android Development] Mr. Moe:
Fixed invisible apps problem.

rebooted, waited and had to reboot from a loop a second time and all is good now
[G1 Android Development] negroblanco:
So I am not really 100% straight on this....

So I am not really 100% straight on this.... The apps go to the ext2 partition? Can someone please explain how this actually works? I just want to know a bit more about it before I try anything. Thanks.
[G1 Android Development] MarcusMaximus04@gmail.com:
It uses what are called symbolic links to make the operating system think that the app directory in the ext2 partition is the normal one. So when it tries to install in /data/app(the normal app directory) it actually gets installed to /system/sd/app(the one on the sd card)
[G1 Android Development] walabe25:
my market keeps force closing after using this app. i dont know whats wrong but it started as soon as i moved apps and dalvik to sd.
[G1 Android Development] truthkilla:
I had the same problem, I did a wipe and re-flashed. but now I have that problem with the default, steel browsers and the gmail app.
[G1 Android Development] amirnew:
o.k. i'm running out of space and i tryied to move the apps to sd whith you app/ and my phone got stuck. i've wiped it and installed JF1.5V.

what to do now? i have two partitions.

what is it busybox ?

from where do i get it?

hove do i now if i have it installed?

alot of questions but it will help alot of people who just like my, don't understand some things...

thank you!

Amir Weissbrot
[G1 Android Development] snear:
worked great for me thanks!

I've got 52meg internal memory is this correct? or can I get more space?

Thanks again!
[G1 Android Development] MarcusMaximus04@gmail.com:
To be honest, I'd recommend moving over to the new method I posted on this forum(New and Improved Apps to SD, also the first link in my signature). I've gotten I think 2 reports of boot looping and that was in the very beginning when my scripts didn't work perfectly(with 375 people having downloaded my scripts and 6568 thread views!).

It still won't work if your setup isn't correct but it's a lot more stable and won't make your phone continuously restart.
[G1 Android Development] arjaythomas:
im stuck at tmobile g1 screen to
[G1 Android Development] MarcusMaximus04@gmail.com:
If stuck at t-mobile g1 screen try rebooting, at that point the phone doesn't even see anything this process changed so I wouldn't think it would cause any problems. Also note that some of the bootup process might take longer than usual.
[G1 Android Development] arjaythomas:
i tried rebooting a few times it has been on tmobile g1 screen for about 30 minutes
[G1 Android Development] MarcusMaximus04@gmail.com:
Ah. Hmm sounds like something wen't pretty bad. At that point I'd suggest re-flashing the ROM(try it without a wipe and see if that still happens; if so do a wipe and it'll at least get you back to a booting phone)
[G1 Android Development] arjaythomas:
as in the alt + s

i did that also then i did a wipe and did it

still stuck
[G1 Android Development] :
When I Try The Second Line It Says failed on 'com.android.browser' -Cross-device link :confused:

I Tried This:

su

cd /data/data/com.android.browser/cache

rm -R webviewCache

mkdir/system/sd/cache/webviewCache

ln -s /system/sd/cache/webviewCache webviewCache

But The Third Line Doesn't Work...I'm Confused.
[G1 Android Development] MarcusMaximus04@gmail.com:
Right, sorry, mv won't work there, instead of the mv 3rd line do this:

busybox cp -a com.android.browser /system/sd/

busybox rm -rf com.android.browser
[G1 Android Development] MarcusMaximus04@gmail.com:
hmm that's really strange a wipe undoes everything my app sets up. Have you tried doing a wipe first and then flashing? (sounds strange, I know, but it's possible the phone didn't have enough space and couldn't fully apply the update) So this: start up phone with home + power, once menu comes up press alt-w and wait for the wipe to finish and then press alt-s and wait for that to finish and then press home+back to restart. If that doesn't work, I'd try re-downloading the ROM on your computer, putting it on your sd card as "update.zip" and try flashing that. If it still doesn't work, well post a thread on this forum, cause something way beyond my expertise is going wrong.
[G1 Android Development] Fr0sTy333:
just got an 8gb class 6, moved the apps, dalvic, etc. dialer wont work, alarm clock wont work, gmail wont work. basically it's a device now, no longer a phone..... dunno what to do from here....
[G1 Android Development] jonbron:
I've been trying to do the partitioning, and none of the freeware works on vista x64 so I tried doing it on my mac with os x 10.4.1.1 disk utility but so far I'm having no luck. How do I partition my sd card?
[G1 Android Development] arjaythomas:
i didnt have the ext2 on my sd when i tried to flash lucid rem apps2sd 1.5 is what happened
[G1 Android Development] JazzMac251:
Hey marcus,

I completed your appstosd process successfully a week or so ago, moving apps and cache, and ended up having an amazing 70mb of free memory. I installed 1 or 2 more apps and when I recently checked, my phone's memory was back down to 58mb free. I thought maybe the new apps were stored back into phone mem. (Although that wouldn't account for all of the missing memory but whatevs). So i re-ran your appstosd program and did a few reboots all to no effect. Any ideas what the deal is?
[G1 Android Development] jj71787:
i have my sd card in fat 32 and ext2 and i downloaded appstosd2 from the market and when i open it its blank it just says delete apps from internal memory which i checked and theres nothing else there
[G1 Android Development] yomny:
Can we use the apps2sd on the fron of the thread? or do we get it from the market. What do i do after i have the apps2sd installed? Thank you
[G1 Android Development] MarcusMaximus04@gmail.com:
I now recommend using my other method, a tutorial to which is posted on this forum and in the first link in my signature. For which one to use, the market app is for donations, both are the same versions.
[G1 Android Development] ebade:
Slowed Performance

I'm experiencing really slow preformance when going back to the home screen. I completed the steps and show 871MB available.

Are the certain apps that I should keep in the internal memory so things run smoothly?

Sorry if this has already been answered I'm still working my way through the entire thread.
[G1 Android Development] MarcusMaximus04@gmail.com:
Is this with the new or old method of apps to sd? From the size available it sounds like the new one, in which case please direct this question over there(I monitor that post more closely than this one)
[G1 Android Development] cronin4392:
oops wrong thread, posted in your new one.
[G1 Android Development] KiinG JWD3:
It wont work with Hero ROM
[G1 Android Development] bigc07:
I installed app and hit apps to sd and then I restarted. it has been stuck on the andriod screen for like 20-30 min what should i do? Im running the Ion Rom.
[G1 Android Development] MarcusMaximus04@gmail.com:
The ion ROM is using unionfs, so this app should not be used with it. I'd suggest just reformatting the ext2 partition and performing a wipe, anything that was on it got deleted anyway. For the ion ROM please use appstosd2.
[G1 Android Development] bigc07:
ok thanks i will give it a shot.
[G1 Android Development] wootroot:
it works on hero from haykuro (with rosie)

im 83mb free on the phone and a half gig on the sd card, and its running a hell of alot faster now with all the apps moved over, (8gb class 6)
[G1 Android Development] ccyrowski:
Did you use appstosd 2 or appstosd?
[G1 Android Development] fairymaru:
Thanks a lot Mr. Marcus the apk works really great in Hero Rom and I got 84MB free of internal memory with no error after reboot....THANKSSSSSSSSSSSSSS
[G1 Android Development] wootroot:
oh apps2sd, i had it saved from a while back so im not sure if its even up to date, but it worked flawlessly
[G1 Android Development] amd85:
did you use the guide in the front or the new and improve guide in marcus's sig?

I also have rosie and would love to have app2sd coz i only have 10mb left on my phone lol. thanks
[G1 Android Development] mykoe817:
Hey everyone. I was wondering what's the terminal command to move apps to sd in recovery terminal
[G1 Android Development] Shei77:
did that and all my applications disapeared (not shortcuts) but my memory partition is ok :S (and no space used as it should... just like all applications got deleted)
[G1 Android Development] tazz9690:
reboot your phone
[G1 Android Development] aonavy:
have your tried this on cm 5.3?

my card is fat32 and when i go to run appto sd it says i have the wrong rom or incorrect sd format.
[G1 Android Development] xenogearz87:
hi.. im new here and using motorola milestone 2.1 which the internal is very small.. so i need to us appstoSD.. but im not familiar with the ROM.. which ROM should i use and where to get busybox..? can someone teach me the easiest way.. teach me the step with picture is the best.. tq.. :)
[G1 Android Development] wrsg:
search for the firerat patch
[G1 Android Development] wings9130:
where are the directions on how to use this app. I used it and it ruined my phone. All my apps stopped working. If it wasnt for nandroid this would have ruined my phone...very upset....evo
[G1 Android Development] f4phantomii:
I tried moving apps and data over to SD a few weeks ago. I'm using LucidREM's mod of the JF1.42 firmware.

I moved everything over to SD (both apps and data) and then immediately did a factory wipe.

As the mount.d and init.rc files were already modded, I didn't have to do anything....my ext2 partition was mounted and ready to go out of the box after the wipe. And since I'd previously moved everything onto the SD partition, all my apps and data were preserved. All I should need to do is remake the symlinks from /data/app & /data/data to the appropriate directories on the SD card partition, right?

Wrong.....totally broken. Nothing worked. Kept getting stuck at flashing android screen.

So I used the copy.sh undoapp and copy.sh undodata to move everything back to the correct places on the phone. That worked fine. The phone booted up normally and everything seemed fine. Apps ran as they were supposed to.

So then I tried copy.sh apps and copy.sh data to move everything back and recreate the symlinks from the script (maybe I'd made a typo?).

Same results. Not only that, I noticed that several of the items in the data directory were actually symlinks to themselves! How the hell can that happen? Most linux distos I've used won't let you do that.

So I moved everything back, and even had to restore/reinstall some apps from backup.

I tried this several more times.

One thing that I found was that if you had previously moved caches (which are located in /data/data) you end up with self-pointing symlinks!

So, I again did a factory reset so that I got all the caches back for maps, market, etc. Then I tried moving just the apps.

That worked!

Every single time I've tried to move /data/data I get all kinds of problems. Doesn't mattery if I do it manually, or use one of the scripts. Same results.

Very frustrating as there seem to be others who have moved both with absolutely no trouble. And I'm no unix newbie.....been running linux on my home PC since about 1992. In fact, I actually partitioned the sdcard under linux using fdisk (the old fashioned way!) because Paragon was so stinking irritating to use. Creating the filesystems was a snap. I've even installed the debian distro and have been running it with no problems.

Given the problems I've had, I don't know how others who are less adventerous and less experienced with command line and unix would be able to do this.
[G1 Android Development] MarcusMaximus04@gmail.com:
Umm alright... what does this have to do with my app?
[G1 Android Development] jjjackson56:
one final question

when using this do i need to wipe all my data so that all my apps are gone or does this just move my exsiting apps over at the end
[G1 Android Development] MarcusMaximus04@gmail.com:
No, this actually copies your apps over to the sd card first(if you leave the checkbox checked) and then removes the folder from the phone and sets up the symlink. So it'll remove your apps for you and move them to the sd card :)
[G1 Android Development] lbingham:
Hey, I'm a bit of a unix noob, but I managed to do all this manually using the post by Tempo10 back in December. http://xdaforums.com/showthread.php?t=462882 I post the thread link for reference, I totally don't recommend doing it. :p

I managed to get it to work a little. I have /system/sd show up when I run df and it looks like some apps are installing there. However, I noticed that the free space on my phone is still filling up slowly but surely. I started off with 25MB of free space, and now it's down to 17MB, meanwhile the /system/sd is filling up too. So, I was somewhat happy with the results and did the mod on my brother's phone. His shows /system/sd when running df, but nothing is installing there.

My question is, what will happen if we run this app now that we have the directories and symlink built? Will this cause further issues, or will we just get an error saying that the directories are already exist?

Thanks for the help and really sad that this app didn't come out last week. :p
[G1 Android Development] MarcusMaximus04@gmail.com:
First of all, check out the first post for a much improved version that actually works now :)

Now to answer your question, as long as you uncheck the checkbox it should work for you... In theory it'll just remove the symlinks and then make them again.
[G1 Android Development] themyth69:
Great app, I purchased it from the market and it worked like a charm. I didn't know you needed to reboot after moving the apps/cache/dalvick cache, but once I did all was good. Keep great apps like these coming.
[G1 Android Development] MrOuch:
worked like a charm and thats why im donating to you, please create more great programs!
[G1 Android Development] evnldr:
Is it working yet?
[G1 Android Development] jjjackson56:
Not working

Wish it worked for me but not so good i used market app and this download probably wors great on hayuro roms just not jfrc33 1.42
[G1 Android Development] SolemnWishing:
Wow. Great work! Works awesome!
[G1 Android Development] evnldr:
This one of the market one?
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes its the exact same as the market one(which is for people who want to donate) Also, for anyone if it force closes when you try to open the app, it means you don't have your sd card set up right or you don't have an apps to sd ROM. Was supposed to make a popup box but I must have done it wrong.
[G1 Android Development] LucidREM:
you definitely do NOT want to try moving /data/data if you have already gone thru the steps to move cache files to the SD
[G1 Android Development] f4phantomii:
And I think of all these threads about moving apps to SD, this is the first time I've seen anyone explicitly state that. Hopefully that will help others.

To the dev....it wasn't my intent to complain about your app...I'm highly pleased you took the initiative to try and help automate the process with a GUI for less experienced users.

I simply wanted to warn less experienced users that there are numerous pitfalls and that it may not work for everyone.