yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] argylesocks:
i apologize if this has been answered, I have been following this since the start, but still a little confused. There is a lot of talk of the old method and the new method. so....

with the Dude's 1.2, is there anything that i need to do other than simply install appstosd2 (the new one) and run it?

thanks.
[G1 Android Development] TheMessiah:
Yup thats what I used to partition my 16gb sd card. This is one of the easiest ways to do it and well worth the .99 pennies! BTW, for the folks that messed up the partition of ext2 and need to delete the ext2 partition. You can actually use your phone to delete the partition because you can not delete non windows partion on your computer. What you need to do is go to menu, settings, SD Card and Storage, Unmount SD CARD first, then Format SD CARD. This will then delete the partitions and everything else on that card, then you can go to your computer and re-formart to the fat32 and then use the appstosd2 to create your ext2 partition. Just a helpful tip.
[G1 Android Development] Denkai:
tried that and all it did was format the FAT32 partition, leaving the EXT2 partition in place.
[G1 Android Development] MarcusMaximus04@gmail.com:
Nope, that should do it. If you haven't partitioned your card it'll bring up a partitioner for you to choose how big to make your ext2 partition for the apps.

If you have partitioned the card already when you run it it should bring up a screen with 4 buttons(copy apps to sd, copy dalvik to sd, Manage Apps, and Quit) and a checkbox that defaults to checked. Just press "Copy Apps to SD" and it'll take a little bit and then reboot and when it comes back up your apps will be on the sd card :).
[G1 Android Development] argylesocks:
awesome! thanks marcus. your work & prompt responses are always appreciated!
[G1 Android Development] Denkai:
is there anyway to check to make sure the apps-private and dalvik to sd's are working correctly?
[G1 Android Development] innerlight:
force close on apps2sd

I had to reformat my sdcard and used the apps2sd application to make an ext2 partition, but when I rub it I get a force close message and had a message that my sdcard is damaged, but I know its not. Is apps2sd not working?

edit: Its working. For some reason when I ran it I was getting a force close error but it went through ok now.

edit: I was wrong, apps2sd is not working...
[G1 Android Development] Thats BS:
New to apps2sd

I am still learning a lot everyday from this forum. So for people new to this process let me noobify it, if I can, as I am one too.

Start by reading the first page!! Get all the stuff you need from page 1. (apps2sd2.zip and a2sd.zip )

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.

I did this in about 10 mins. Worked flawlessly.

The first couple of times Marcus helped the crap out of me. Again, thanks man. I hope this helps someone (although it seems different from person to person).:)

REMEMBER!!!! READ THE FIRST PAGE!!!
[G1 Android Development] tato22:
yes i learn this last night i was able to fix it and am not a newb relax
[G1 Android Development] rzm61:
I read the first page, thought I did everything correctly and now my G1 is stuck on the Android boot loop. Looks like it's time to wipe it again. :(
[G1 Android Development] l_____l:
WoW! After starting from page ONE, and now on page 90, you have pretty much defined the tutorial in one post! Yet, for anyone reading this on page 90, GO 2 Page ONE :eek:

OK, here is my "issue". G1 now ADP jf: v1.51 8G class 6, appstosd2 (purchased from the market) and my "device" is slower than a Tandy 1000 stuck in MUD! After reading: http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/dexopt.html;hb=HEAD I guess the reason is that the apps are to SD, but the dalvik cache is still on internal phone memory, which, is like having an app search 2 different hard drives for the information it needs to launch. Now, my ext2 on the SD is only 830M <----remember how to type M (not m) and such? I guess mB or MB would make a G1 explode! :eek: ...anyhow, I was doing it "blind" with the terminal command wget http:// (forgot the IP) and the script did great! However, I'd still like to resize the ext2 partiton with Linux Live CD rather than running that script again, even though the script was flawless! I just like to "witness" the action, (Norton Ghost, Parted magic... etc.) Anyhow, I will move the dalvik to the card....but some one please ask Marcus to REMOVE the dark blue skin/background in the manage apps of appstosd2 so black text can be more "readable"! :) I have to add 2.5 dipoler on top of 1.5 dipolar to even make out the text of the app name. :mad:

BTW, signed_andTether_0_97_1.apk works great with jf v1.51. 2 machines connected non stop for 5 hours.

I'm wondering what the "signed_andTether_1_5-pre1.apk" will do (better) ?

Long Live the "Code Warriors!" :D
[G1 Android Development] jdwash11:
me too...looping android screen :rolleyes: I cant remember for the life of me how to get rid of that without performing a wipe. what are the files that need to be deleted? I'm sure someone here knows...

just got done installing modified JF 1.51 build and gloss theme too :(
[G1 Android Development] erasedgod:
I did all of this, except I'm using JF 1.51 US and only made a 500mb ext2. When apps2sd2 rebooted the phone, it went to the G1 screen and sat. I let it sit until the battery died (about 4 hours), then plugged it in, did a wipe and tried again. It still stuck on the G1 screen. After a few tries, I pulled the SD and put it in my computer. It is completely blank and showing up as 4kb. It's a 1gb card.

Any ideas on this would be appreciated.

**Edit** I grabbed another SD, put JF 1.51 on it, and updated via recovery. I seem to be back in business. I'll give this another go some other time.
[G1 Android Development] aiziks251:
Me and you are in the same boat. Just updated to JF CRB43 US and decided that I'd like to get in on this whole "Apps2SD" thing. I read all the tutorials, grabbed the files and went running. Moving the files went ok, formatting the SD went alright, but upon rebooting it hung at the G1 screen.

I'll admit, I freaked out a little. But I calmed down and went into damage control mode. I tried wiping, that didn't work. I tried formating the SD on my computer, that didn't work. Finally I re-downloaded the JF CRB43 US update and re-flashed it. Finally I was back in business.

Thinking it was just a one off fluke due to my attempts to bend android to my will without wiping it, I tried again.

Move Files, no errors

reboot, no errors

format sd card, no errors

reboot, Hangs indefinitely at the G1 screen.

Rinse... repeat.

I tried 2 more times slightly altering the process (pre-formatting the SD, attempting to pull it off with minimal reboots, etc) but alas, I give up. I suspect, but have no way to confirm, it's somehow related to the fact that I'm not using an ADP release.

***EDIT***

I re-flashed everything, my radio, SPL, Firmware to the latest version, pre-split my SD card on my computer and tried it again and it worked. I don't know what was wrong, but it seems to be fixed now.
[G1 Android Development] jdwash11:
okay I'm good now...I guess it didn't like whatever I had in my /system/sd/ folders from previous apps 2 sd attempts.

I just did rm -rf /system/sd/* and then went through the instructions again and I'm good. :D (after a stupid wipe of course lol)
[G1 Android Development] dwelw:
AppstoSD2.apk

sorry for the noob question, how do you run the AppstoSD2.apk and when should I run it?
[G1 Android Development] kusotare:
I had this exact same problem on The Dude's 1.1a. 8gb card, went through the process exactly, wound up with a stuck G1 screen and a 4kb FAT32 partition. posted the same problem several pages back. nobody said anything about it, so I'm just kinda assuming nobody knows.
[G1 Android Development] dixxa:
then if apps2sd don't work why not try this
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm something probably went wrong when running the SDSPLIT script(my app downloads it and tries to run it). I think it has to do with the downloading bit, so I'll continue to try to get it to have the file built in to the .apk but it's being rather difficult. At any rate, rest assured I'm trying to get to the bottom of the problem(for my sake more than anyone elses... soooo many emails...)
[G1 Android Development] Mr.Jigolo:
Marcus,

are you planning on updating the app thats on the market?
[G1 Android Development] overground:
You know what? Thinking back, I tried Fick's script about 4-5 months ago (before it supported >2 gb and before it was ever included in your .apk) and the same thing happened to me. Card said 4kb or something. I don't exactly remember what I did to get it back, but I think I just reformatted the whole card in Windows to a blank FAT32 partition. I then used 7tools Partition Manager (full functioning demo @ download.com) to partition my FAT32 first then my ext2 (make both primary). And then did my symlinks (when that's what we were doing). So if anyone's having troubles, maybe make the partitions this way and then use Marcus' Apps to SD 2 to do the rest (not forgetting build specific instructions i.e. init.rc and a2sd.sh on JF).

+1 with l_____l on the background and or text color of the "manage apps" portion of Apps to SD 2.
[G1 Android Development] nolageek:
What are the steps if we reflash a rom without wiping? I just did that I had been using this a2sd method before, now some programs work, some down.. twidroid runs but is not able to show user avatars. dxTOP sometimes works, sometimes doesn't.

ChompSMS doesn't work at all, SlidePhoto works fine... I'm constatnt getting "The process android.process.acore has stopped unexpectedly. Please try again."

This is driving me nuts.

I dont see in your instructions what to do if we already have apps in our /system/sd/app folders
[G1 Android Development] Gemineye:
ok so I open up the terminal and do the mkdir /system/sd/app

and it tells me that it cannot because its a read-only file system

any clue as to why this is?
[G1 Android Development] LatinSilEighty:
I dont know what i did but in an attempt to upgrade to a different spl i had to wipe and when i did all my apps were gone (as usual)but now i cant do Apps to sd anymore and i dont know what i did wrong but its driving me crazy and im kinda getting mad now any input?
[G1 Android Development] nolageek:
Same here Latin... Annoying thing is that some apps work, some dont.. I'm getting force closes constantly, really annoying. I went from JF1.51 to JF1.51 (to fix a theme issue)

Looking through the thread to see if there was anyone else that already had their apps2sd before doing this.. so far everyone says they were starting with a fresh sd card. *ugh*

If I have to wipe again, I'm going to punch a baby.
[G1 Android Development] LucidREM:
yep .. no EXT2 is mounted
[G1 Android Development] LatinSilEighty:
LOL yeah i feel like punching a baby for sure. If it wouldnt have taken me so long to do the Apps@sd cool but ive been messing with it for so long and i finally got it and now it wont work? wow am i pissed.

i really hope i dont have to go get a new sd card.

(general q? for anyone that may know)is there any way to format the ext2 part of the sd card? to see if maybe i can do a fresh start without getting a new sd.
[G1 Android Development] nolageek:
Also, some of my widgets are working, some aren't. I'm starting to wonder if something got crossed somehow.
[G1 Android Development] wp_815:
I am having a problem with this. When I enter in cp /sdcard/init.rc /data/

terminal emulator says cp: cannot stat 'sdcard/init.rc': no such file or directory. What do I do? I reflashed to JF 1.5 ADP and did a factory wipe, and began in the same order as you did. What do I do about this?
[G1 Android Development] xnycen:
HELP, after i opened app to sd, my sd card shows up DAMGED, and i can't even format it , anyway i can format it? it doesn't show up on the computer either, it says format it on the phone but it doesn't do it!!
[G1 Android Development] overground:
You need to put init.rc and a2sd.sh at the root of your sd card before you do that. (they're in the a2sd.zip in the first post)
[G1 Android Development] overground:
You probably need to put it into another card reader and reformat it in your computer.
[G1 Android Development] Stigy:
Worked perfectly for me -- no hiccups. Thanks again for your awesome work in the community!
[G1 Android Development] wp_815:
I am having a HUGE problem now. I can download any and all programs, but the installations are all unsuccessful. Someone help please. Will I have to go back to JF 1.5 US? I kinda want to go back to it, so can I even if I don't? Will I have to factory wipe? If I go back to JF 1.5 US, will I have to re-do everything in regards to my apps2sd? Please help.
[G1 Android Development] ear0wax:
Worked great on hykr 6.0r1 and dudes cupcake.
[G1 Android Development] wp_815:
!!!

Okay after this step,

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.

my phone hangs at the "T-Mobile G1" screen. I can't get passed it. Help please!!!

Can someone respond? Should I factory wipe or reflash JF 1.51 US?
[G1 Android Development] cnote162008:
total noob questions. please help

this is a two part question. okay, first i need to know if i have to type in all those commands before i install and use appstosd2. then, if i have already installed and used appstosd2 before using the commands, what do i need to do now? oh one more thing, i dont know what davlik-cache is. do i send that to sd also?
[G1 Android Development] XnoteX:
did you unmount your sd?? that happen to me and all i did was unplug it, anyways im stuck at the mkdir part. it says that "mkdir failed for /system/ssd/app-private, read only file system" any help would be helpfull
[G1 Android Development] Thats BS:
Did you run the apps2sd 2 app already (move the apps to sd part)? Should work after that.
[G1 Android Development] Thats BS:
Both, before and after you use the apps2sd 2 app. If you installed it and try to open it without the init.rc and the a2sd.sh files on your sd card and doing this:

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

reboot

it will direct you to the 1st page of this thread. The second question is really up to you. I would say yes.:)
[G1 Android Development] nolageek:
Can someone help us out that already have apps2sd and want to switch to another ROM (or need to re-flash our existing ROM)? The intructions assume that we don't have apps2sd already - what if we do? I've followed the instructions here twice and it seems like it works, but I get constant force closures from random programs and services. For example:

I'm currently running JF15.5 - everything is fine. I followed these instructions and it seems to be perfect.

I tried flashing cyan.'s new JF build (without wiping) and I get constant force closures from dxTOP and anything that is set to run at boot (twidroid, chompSMS, etc...)

So I go to terminal and copied init.rc and a2sd to /data/ and reboot again. This time, my apps are all in the drawer but I get constant force closures for dxTOP, chompSMS and twidroid's services.

Twidroid the program runs fine, but it's not showing the avatars (off of the cache, I guess?).

I'm able to open Better Keyboard but when hit a key, it force closes.

dxTOP doesn't open, so I have to keep using the standard home app.

Apps2SD the program opens fine. I press "copy apps to SD" and when the phone reboots, it's still all randomly screwed up.

When I opened a terminal, all of the standard apps were in /system/app - all of my installed apps were in /system/sd/app

I tried opying init.rc and a2sd.sh to /system/intmem and that didn't help anything either.

Again, is there anything different that needs to be done if we've done this already, but flash a new firmware?
[G1 Android Development] Thats BS:
.

I know for a fact that better keyboard is not compatible with cyanogens or haykuro's builds. I'm pretty sure openhome isn't compatible either, though I did'nt try it while testing them. Thats why I stayed with JF. Love better keyboard.
[G1 Android Development] Lamar720:
new apps to sd

I'm following this thread

http://xdaforums.com/showthread.php?t=512743

"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."

Ok, I added about 1468mb to the ext2 and I didn't force it close, but, I get an error after I hit apply that said Format SD card All data on your card will be lost. Should I format it?

It says SD card is damaged!

I read not to format just reboot and so I did, but,

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

Reboot."

But when I open the app it says oops! looks like you need to go through the tutorial to set up apps to sd. and gives me this site. .......... Any Ideals !
[G1 Android Development] tubaking182:
you stated the thread you are following please post in that thread
[G1 Android Development] Lamar720:
I'm following this thread

http://xdaforums.com/showthread.php?t=512743

"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."

Ok, I added about 1468mb to the ext2 and I didn't force it close, but, I get an error after I hit apply that said Format SD card All data on your card will be lost. Should I format it?

It says SD card is damaged!

I read not to format just reboot and so I did, but,

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

Reboot."

But when I open the app it says oops! looks like you need to go through the tutorial to set up apps to sd. and gives me this site. .......... Any Ideals !
[G1 Android Development] Lamar720:
OH Thanks and Sorry tubaking182 just thought I would start a new post since the other thread is off topic and 95 pages long. But, I posted it there anyway.
[G1 Android Development] andonnguyen:
Hm, I have a 3500MB ext3 partition, and I'm getting low space errors too. Anyone want to elaborate on this issue? Btw, worked fine when my partitions were less than 2000MB
[G1 Android Development] dixxa:
Why do you need so much space ?????

I've read everywhere that 2G was faaar enought and above that you will encounter a lot of problem ...
[G1 Android Development] Lamar720:
I used app2sd2, I have a 8gb card. I put about 1468 on the EXT2. Then hit apply ..... I get a force close error popup. Then I get an damaged sd card error. To format, I hit cancel then reboot.

Now the Internal memory is only 48 mb and the sd card is like 6352 or something.

But, when I download apps they take away internal memory.

Any ideals on what I need to do?
[G1 Android Development] Thats BS:
Don't force close it! Don't cancel, let it do it's thing, it will reboot and be fine.
[G1 Android Development] Lamar720:
Sorry I did hit cancel to the pop up that said do I want to reformat. Because when I hit apply it said oops you have did something wrong then referred me to this site.

in the Appstosd2, thats all it does now is say check this site for help. It never rebooted on its own nor give me the option to move apps to sd card.
[G1 Android Development] g1freak2009:
Using new and improved apps to sd - apps not showing in market

Hello,

Can someone help me figure out why my apps on sd aren't appearing in the Market? How will I know if a new app is available?

I'm running JF 1.51 and have 834MB showing for internal memory. I followed the instructions for the new and improved Apps to SD and all my installed apps are showing an working fine but aren't visible in the Market.

Thanks a million!
[G1 Android Development] andonnguyen:
Im not using the ext2fs though. Im using Ext3, which supports up to 2000GB. You can never have enough space. lol
[G1 Android Development] XnoteX:
ok, i have a 8 gig class 6 sdcard i set the partition to FAT32 size(MB):6557.

and ext2 size(MB)1439. then apply! It force Closes, I wait... it said reboot so

i pressed it, after my phone rebooted, I went back into appstosd 2 and it give

the same start up message "It looks like Your SD Card Isn't Partitioned correctly,

lets fix that! blah blah blah...

Am I doing something wrong? what should i do? it just keeps going into a force close loop. thanks for any help

Edit: Sry for im a noob at this but when you say reboot, do i just turn my phone off and on?
[G1 Android Development] parmenti:
@ MarcusMaximus04@gmail.com

Is there anyway to get this to work on the Ion build that Haykuro released? Or can you talk to him about it? I flashed Ion and it is wicked fast. Would be a great build for us people that are using this method and loading up the apps :)
[G1 Android Development] Ianscape:
***Double post***
[G1 Android Development] legaleye2005:
QUESTION: Whenever you wipe, you have to redo the instrutions in the first post (except for recopying the 2 files to the sdcard).. RIGHT? Thanks
[G1 Android Development] overground:
That is correct.
[G1 Android Development] legaleye2005:
Thanks- Last question regarding this... I did the apps2sd as listed in the first post. I want to do move the dalvik-cache by running the apps2sd app, but... How do you run the app..? Thanks
[G1 Android Development] overground:
Put it on your fat32 partition of your sd card. Make sure "install from unknown sources" is checked in Settings>app management. Use Linda or astro to locate file on sd card and open it. Select "Package Installer" to open it with. It should now show up in your app tray. Just run it like you would any other app. Grant "always allow" permisions when superuser asks.

EDIT: Or, you could just download Apps to SD 2 from the market and it installs automatically. That way you help support Marcus' work.
[G1 Android Development] sjbayer3:
Post Apps2SD cannot install/run certain applications

I followed the tutorial on apps2sd and now certain applications will not run(though 95% do run fine):

nesoid

robodefense

anyone have a similar issue with any application, or the above listed ones?

I made sure to wipe my phone, and install my applications AFTER the apps2sd was completed.

Thanks