yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] jl1030:
i've done the first part, but when i run apps2sd 2 app, it tells me 'oops, looks like you need to go through the tutorial to set up apps to sd.'

is this because i already partitioned my sd card??

please help

Quote: (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.

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.) Quote
[G1 Android Development] Phawkes:
Phone wont mount =/

Ok I wanted to try apps to SD but didnt really care for it and wanted to convert back to normal. I got rid of my partioned part of my SD but I did nothing in the terminal to revert the actions taken to get apps2sd. When I download apps they go directly on the phone and not the SD card. At some point the apps2sd did work though but after wiping here and there i noticed the effects of it were going(apps going to phone and not sd). But to get to the point whenever I try to mount my phone it works for like a second and the phone says preparing sd card again. For some reason it wont connect to my computer and I'm sure you guys can imagine the trouble that bring me. I have a sd card adapter but I need to be able to mount my phone. Any ideas what went wrong or if its because I didnt revert the actions taken to get apps2sd back to normal? Please let me know anything. Thanks.
[G1 Android Development] cronin4392:
yeah i ran into the asme problem. after the reboot after these steps:

su

mkdir /system/sd/app-private

mkdir /system/sd/dalvik-cache

i get the same problem (apps missing, including appstosd) so i am not able to complete the last steps.

why is this happening and is there a work around?
[G1 Android Development] dakiddray:
Apps Gone

All the apps that i chose to move when using apps to sd 2 are gone and when I try to launch them from "my downloads" in the market it says "app could not be launched" WHAT IS GOING ON, help please and also it re boots whenever i download a app....
[G1 Android Development] Phawkes:
Any have any idea whats going on with my phone from my above post? I really need to be able to hook my phone up to my computer.
[G1 Android Development] MarcusMaximus04@gmail.com:
Is this on a JF build? If so you can do this in the terminal emulator to completely remove any semblance of appstosd:

su
rm /data/a2sd.sh
rm /data/init.rc
reboot
[G1 Android Development] Phawkes:
Thanks for the reply Marcus, it is indeed a JF rom. I did as told and it said the files didnt exist I believe. Does this mean all traces of apps2sd are gone? And is this why my apps went straight to phone? Also does the effects of apps2sd go away with a wipe and reflashing a rom?
[G1 Android Development] MarcusMaximus04@gmail.com:
Ya, that would mean that there's no traces of it left(those scripts are really the only things enabling it). The effects of it are gone as soon as those scripts are gone, but reflashing(without a wipe) doesn't clear them out.
[G1 Android Development] midnite23:
So has anybody got this method working on the new Hero rom?
[G1 Android Development] matthewngsm:
Can anybody please kindly tell me what I should do next? I have been stuck at this apps2sd phenomenon for over 5 days... I have successfully done this before with JF 1.5 ADP but ever since it got bricked, I have switched to many other builds to see if I can get through this process.

Now I'm at Dude's 1.1 which I believe it should be the easiest build to install the apps2sd (I just simply ran the apps2sd.apk provided in this thread) But then it went to android screen loop...

Later on I discovered that I could take out the sdcard until it got pass the android screen, then stick it back in again, it loads but I receives a lot of force closes.... long story short... I need help.

Now after I typed busybox df -h in terminal I get:

Filesystem

tmpfs 48.2M 0M 48.2M 0% /dev

tmpfs 4.0M 0M 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 90.0M 60.7M 29.3M 67% /system

/dev/block/loop0 492.K 492.K 0M 100% /system/modules

/dev/block/loop1 3.4M 3.4M 0M 100% /system/xbin

/dev/block/mtdblock5 89.8M 23.3M 66.4M 26% /data

/dev/block/mtdblock4 30.0M 1.1M 28.9M 4% /cache

/dev/block//vold/179:1 720.5M 38.8M 681.7M 5% /sdcard

/dev/block/mmcblk0p2 237.8M 26.6M 198.9M 12% /system/sd

/dev/block/mtdblock5 89.8M 23.3M 66.4M 26% /system/intmem

unionfs 237.8M 26.6M 198.9M 12% /data/data

Can anybody diagnose the above log for me? :( I spent more time trying to fix this than seeing my girlfriend for the past days... please help me...

Matty
[G1 Android Development] DMaverick50:
Am I to understand by the op that if i am running dude's recent builds i can just download appstosd2 and run it and my card will be partitioned?

Will it also set up apps to run from the sd? that sounds way too easy but the first post confused me a bit...thanks
[G1 Android Development] nightshiftc:
Never mind....
[G1 Android Development] mrmonto:
Wipe with Apps2SD2 on Dude 1.2b

If I do a wipe will it screw up the apps2sd2 method with Dude1.2b (have app and app-private on sd)? My phone is having performance issues, so I figured I should do a wipe. Also, I have 27MB of dalvik cache on intmem (only 10 mb free on internal mem). if I decide to move dalvik to sd what would be the risks or possible issues? Thanks!
[G1 Android Development] Lakers3408:
Did all of the above and it worked, well sort of :confused:

My browser force close every single time i try to open it, any ideas as to this problem? It worked fine before doing all the above. :(

P.S

I am using the NEW Hero Rom
[G1 Android Development] nightshiftc:
Lost all apps

I lost all my apps as well as root access after going through this process - any ideas?

I am using JF 1.5

I do have like 1,300MB more or less of disk space on the phone now and it is flying which would be a plus if the above hadn't happened.

Thanks in advance for help...
[G1 Android Development] MarcusMaximus04@gmail.com:
Woah, umm how do you know you lost root access? That shouldn't be possible since everything for it is built into the system directory which nothing of mine touches.
[G1 Android Development] MarcusMaximus04@gmail.com:
It will give you a gui with which to partition it, yes. Just remember it'll take a while and wont like what you're doing so if it asks to force close press "wait", ignore any notifications and make sure you're on a good connection. This does fail sometimes(and sometimes causes boot looping) but any problem should be easily fixed by reflashing the ROM and/or reformatting the sd card and starting over. It's kinda just the way it is for this big of a hack.
[G1 Android Development] tato22:
i got the ext to with apps2sd now if i wana take off all the apps from sd cuz i have some that i dont want on there what do i do to take them off my sd
[G1 Android Development] MarcusMaximus04@gmail.com:
If you download the appstosd2.zip file in the first post and unzip it you'll find appstosd2.apk inside. Put that on your sd card(FAT32 partition) and install it using one of the file managers or the package installer app. Run it and there'll be a button called "Manage Apps" press that and you'll get a nice list of all your apps and checkboxes that indicate whether each app(and it's dalvik-cache) is on the internal memory or not. Check the checkboxes of the apps you want to move to the phone and you're set :)
[G1 Android Development] tato22:
cool thanks now another ? i have a 16gig card how big should i make the ext2 on it what do u recomand
[G1 Android Development] DMaverick50:
wow man, amazing app. it took me all day to use one of the other tutorials ill definitely recommend this
[G1 Android Development] MarcusMaximus04@gmail.com:
That's totally up to you. I have about 1.5GB, which is way more than I'll ever use but it really is completely up to you. To give you an idea though, 1GB should fit about 500 apps.
[G1 Android Development] tato22:
yea ill make it a one gig am not gona get 500 apps lol thanks dude oe i save them to sd would i be able to get the apk for them on the card or no
[G1 Android Development] infinatenothing:
I seem to remember reading somewhere that having too big a partition would mess things up is this accurate?
[G1 Android Development] MarcusMaximus04@gmail.com:
I've heard mixed reports. Seems like I do get a few more reports of problems with really big ext2 partitions(like 3GB) but nothing conclusive. And I've definitely seen a lot of people with that size that had no problem at all. So, not conclusively but I guess you can steer away from a gigantic partition.
[G1 Android Development] imbonez9:
Having an issue. I had the appstoSD working just fine. Then i pressed move apps to sd and thats where it all went down hill from there. My phone then restarted its self and stood at the G1 logo for more then 20 min. Yes ended up looking at time to see how long its going. Well long story short i wiped system then tried it again and every time i started it and it would reboot it would always get stuck at the G1 screen. as you can see in my sig i have the correct class 6 card to do it. Please I would like this to work again. Any help would be great. Thank You. I now am unable to do the whole AppstoSD but would like to again.
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm this seems to be happening with JF1.51... might have to look into it. At any rate, I'd recommend trying it again but this time when it hangs at the G1 screen, restart it in recovery and reflash the ROM.

EDIT: Without a wipe.
[G1 Android Development] imbonez9:
I did that this morning and again last night after it happened. Last night the G1 for the longest time wouldn't even recognize any SD card that I had in it. Then when it did and was doing the whole process all over again it "corrupted" the card. Not what i think what the G1 said. So I just re-formated it on computer and its ok now. BTW with all this problems i still LOVE the program thank you :) haha
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm bad partition then maybe? I really need to try to work on getting my app to have the SDSPLIT script built in rather than downloading it... causing waaaay to many problems.
[G1 Android Development] imbonez9:
Great program though. I'll keep doing it my I'm only scared I'm gonna brick it and not be able to use fastboot to fix it as i still don't understand how to recover my phone. Another issue i know but love program! :) And the updated instructions are the best thanks!!!
[G1 Android Development] MarcusMaximus04@gmail.com:
Well I've never(not once) seen anyone brick their phone using my method without being able to just reflash the ROM to fix it. Ditto with all things related to my app.
[G1 Android Development] imbonez9:
So you think If i go back down to 1.5 I can do it all over again and shouldn't have the issues?
[G1 Android Development] MarcusMaximus04@gmail.com:
Not sure, but I have seen a lot of similar issues cropping up with 1.51... That said from what you've told me it sounds more like a bad partition than a problem with the ROM.
[G1 Android Development] imbonez9:
Oh ok, I'll try 1.5 and see how that goes. Thanks for the help!
[G1 Android Development] imbonez9:
So doing it over again i get to where I'm supposed to type in "mkdir /system/sd/app-private" and every time there is an error when that happens. The other one works food just that one, Mind you on back on 1.5 could that be another problem to??
[G1 Android Development] lamaravish:
how can i get Apps2SD on my Hero (Rosie) ROM, i already tried what it saids but didn't work..i already got my SD card partition
[G1 Android Development] cronin4392:
yeah i had the same problem, go into settings and then application settings and then clear the cache for the browser, worked for me.
[G1 Android Development] cronin4392:
ok, i tried this a few days ago and it screwed up my phone along with my sd card.

im running the dudes cupcake 1.2. could some one write the steps i need to do? i also have my card partition. the steps i had done were:

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.

once i did that reboot my phone rebooted, but some apps were gone, including apps2sd, and some were named com.___.___. when i tried reinstalling or installing any apps it said it couldnt.
[G1 Android Development] hazeline:
I did the first two steps, and setting the parition size i wanted. However after rebooting, i clicked the app2sd programme and it showed that i didnt parition my card at all. May i know how i solve it? :)
[G1 Android Development] tato22:
after i put the hero rom its telling me oops looks like u need to go through the tutorial to set up aps to sd
[G1 Android Development] imbonez9:
My question has is if any one has done this. Once they've did the whole appstosd after some time was bugged about how much lag there was, then put all the apps back onto G1 then reformated g1 and did the whole process all over again if they where having any issues with it? Thank You
[G1 Android Development] MarcusMaximus04@gmail.com:
Just so everyone knows, I haven't touched the Hero ROM at all and know very little about it(aside from that it exists and what features it seems to have). So please don't ask me questions about it since the only answer I can give as of now is "I have no idea"
[G1 Android Development] AndroidAutobot:
This method worked perfectly. That being said... I'm SO done w/ apps to sd. It might be my memory card (class 4 8gb, someone shed some light on this for me if this is indeed the problem) but yeah. I've partitioned my card via Gparted, and via the apps to sd app on different occasions. It seems no matter what method I try, I get apps to sd working and my phone continually (intermittently) gives me a "damaged memory card. format now" notification and I've had to RE load my 5 or so gigs of data back onto my memory card each time.

This time through all of that data is back at home on my laptop and I'm now stranded at work without any of the NES ROMS I usually utilize to pass time and none of the notifications I use for all of my ringtones.

I'm just straight tired of the inconsistency of my memory card when using apps to sd compared to how solid and reliable it was before I did apps to sd. Jus gonna go home and do a full reformat using fat32 from windows cuz its clear that something related to the gparted and apps to sd app format is causing my memory card to consistenty fail within Android (and yeah, las time I formatted it I did a full fat32 format via gparted). So done. Such a headache. I don't really need A2SD in the first place. Was forced to it to use the Hero ROM and after this headache ill gladly just use JF1.51 from here on out. Was nice to have the hero apps but it's not worth the headache anymore =L.
[G1 Android Development] ssedlmayr:
Everything worked fine and the directions were great until...Next I ran the apps2sd app. How, when you have copied it to the sdcard, do you run the app? How is the program installed. Know how to download and run it, but how do you run it when it was downloaded as a zip file and moved to the sdcard? And does it need to be unzipped, or should it remain zipped?

Thanks, everything else was followable.
[G1 Android Development] dkb218:
First time I did Apps2SD, I used a 8GB Class 4 card. Gotta say, I had nothing but problems. Major slow downs. Crashes. Error messages like mad. I got a class 6 yesterday and I have to say, it's like night and day. The phone seems to run faster than when I wasn't using Apps2SD. Get a class 6 card and used the method given in this thread.
[G1 Android Development] MarcusMaximus04@gmail.com:
It has to be unzipped. The .apk is inside, which can be installed through package installer/one of the file managers. I had to put it in a .zip since xda-developers won't let you attach an .apk
[G1 Android Development] MarcusMaximus04@gmail.com:
Ya, somehow it seems like the class 4's are even worse than class 2's for this. I'm not really sure why but it seems like most problems with major slowdowns and sd card errors are with class 4 cards. I used a class 2 16GB for a while and never had any problems, though the phone is much faster with my new class 6. Not really sure what's going on, but it looks like not using class 4 might be a good suggestion?
[G1 Android Development] dkb218:
Unzip it. Put the file on your sd card. Follow directions on first page.
[G1 Android Development] akuma148:
I'm not sure if I have data on sd or not (which I don't want). I looked in /system/sd/data and all the data was on there. I also checked on /data/data and all the data was in there too. I followed the directions to undo data by rm /data/data and mkdir data, then ran cp /sdcard/init.rc /data/ and cp /sdcard/a2sd.sh /data/, then rebooted, but data was still in /system/sd/data.

Then I tried rm /system/sd/data, which removed it, but when I rebooted, it came back again. Is this supposed to happen? I know it's supposed to meld the /data directory with the /system/sd directory, but why is there data in both locations?
[G1 Android Development] Thegovernor:
it wont let me make ths directory....it says read only file...wtf?

su

mkdir /system/sd/app
[G1 Android Development] ydizzle:
when i do # mount data

it says:

"mounting /dev/block/mtdblock5 on /data failed: Device or resource busy"

without the quotation marks..

any help?
[G1 Android Development] AndroidAutobot:
Cool. Good to know its just my card and not the method =) ill most certainly come back to A2SD once I finally score a 16GB card. Sounds like class 6 is def the way to go.
[G1 Android Development] rsweepe:
is there a way i can clear everything off my sd card..the ext2 partion?
[G1 Android Development] dandarandan:
Something is definitely wrong here...

Hi all,

I need help =D(

I followed the instructions from the first post and when I turned the phone on my Home Alternative (Sweeter Home) went into a constant force close loop. So I rebooted and the phone hung on the glowing android logo. so I removed the SD card and rebooted, this time the phone started but when I put the SD card in I got the constant 'low memory' warning in the status bar.

I figured this was probably due to the fact that I had originally used GParted to split my 8Gb Class 6 card in half; meaning the EXT2 partition was about 4000mb.

So I decided to follow the 'Newbie' instructions at the bottom of the first post (I am relatively new to this after all). I wiped the card, formatted it, reinstalled JF1.5.1 RC9 (UK), installed appstosd2, using the slide to set a 2004mb EXT2 partition, rebooted, went to terminal emulator, followed the steps to make private-app and dalvik-cache directories and then (for some unknown reaso0n - it was late) also typed in mkdir /system/sd/app as well...

I rebooted the phone in order to use appstosd2 to move the dalvik cache but the app had disappeared, as had JFupdater, which I'd downloaded from the market. But Filedroid, also from the market, was still there and it told me I had nothin on the SDcard (which is where the apps2sd2 and JFupdate.zip should have been.

When I checket the market it said the apps were installed but couldn't launch them and nor could I sucessfully install any other apps.

I searched this thread and the only other person with a similar problem is cronin4392. He has posted 3 or 4 times and simply been ignored, to the point where he started a new thread on the topic. The new thread has only recieved 2 replies but one of them says to do a wipe, do a new ROM install, format the card and then download apps2sd2 and everything should be fine.

Well I've wiped, reflashed Jf1.5 ADP and formatted the card. It has worked kind of; the card has over 7.5Gb free but the phone internal memory has only 66Mb free -and it should have 89Mb free because I'm using the new (sapphire) hard SPL.

So I don't want to proceed because something is clearly wrong.

Any thoughts?

Thanks.
[G1 Android Development] miss_machine:
stuck

so i followed the noob instruction and my phone got stuck on the tmobile g1 screen.

WHAT TO DO?WHAT TO DO?
[G1 Android Development] nightshiftc:
I am not exactly sure what happened, I went ahead and did the move back to phone instructions and it fixed the problem...

I have a few small bugs, not sure if it is just me or if others have run into it...

1. Sometimes after updating, the phone automatically reboots...

2. Some of the apps just uninstall when I try to update them and then the phone reboots

and I think there are other minor issues, but I cannot recall right now. When I run into them I will get on here and let you know...
[G1 Android Development] wizern23:
@marcusmaximus can you create a new tutorial to use with the hero build because i cant get this to work for me. i followed it step by step but it just wouldn't work for me. i have daproys newest kernal.
[G1 Android Development] dynamisoz:
have the same problem as miss machine....

followed noob instruction ...

and when i reboot after partitioning with apps2sd2

stuck on g1 screen.......

what do i do??????

Please help...
[G1 Android Development] davidst3r:
Apps to SD help?

Ok, i downloaded appstosd from this site, and backed up my files from my memory card to my computer. i then formatted my sd card and ran appstosd. it crashed and didnt recognize my sd card, so i rebooted. Its now stuck at the tmobile g1 first boot up screen and its frozen there.....any help??? plzz im a noob :(
[G1 Android Development] DaveShaw:
Please use the Apps To SD thread instead of creating a new one.

*Merging with main apps2sd thread*

Dave
[G1 Android Development] lexotic_sc300:
ok when i follow the steps and get to the part where it should partition my sd card -- it never ask me to partition it... i just get the screen that says WELCOME TO APPS TO SD!.. i put the 2 files on a freshly FAT32 formated sd and typed the needed codes in terminal emulator... reboot.. then open apps2sd and it never ask me to partition anything... HELP?
[G1 Android Development] Seeknay747:
I just updated my phone to JF 1.51 US form the JF1.5 ADP Version. I had Apps2SD using the Symbolic Link Method.

Before I updated ROM's I wiped.

Then I followed the first post in this thread by putting the files (a2sd, init.rc) in /data/.

booted, and it works great. I had to reinstall a couple apps that were missing or were force closing (a widget, and My Backup Pro), but after that they both worked. aTrackDog for Version Tracking.

Very easy method, and quite hard to mess up. Many Thanks!
[G1 Android Development] shobacker64:
stuck

i have attempted this several times now and seem to get the same issue. IM RUNNING JFV1.51 CRB43 US

i formated my sd to fat32 and ran the commands on the OS:

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

reboot

Next I ran the apps2sd 2 app. partitioned it through the app. it seem to do it cus it ran all the way through and asked to "reboot now"

then once it does this it gets stuck on the first boot with no loop. Then i have to re-flash everything once more in order to get everything working again.

what am i doing wrong.

Can i simply create the partition manually and run the apps2sd application on its own or will i need to do the commands once more. Thanks alot for any help.
[G1 Android Development] DroidHead:
I have Hero on my G1 (no Rosie) and after doing

$su

#mkdir /system/sd/app

it tells me...

mkdir failed for /system/sd/app, File exists

What am I doing wrong here??? :(