yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] demize!:
Well,I think i finally got it after some frustration that I think was caused by some code residing on the Ext2.After wiping the partition and resetting it,it seems to be working.I was using the symlink method but was getting alot of FC's and slow down so I thought Id try this.I like the fact that you can easily set either app,cache or both to Intmem.So Ill see how DXtop plays out.I am keeping my fingers crossed.
[G1 Android Development] j007w:
I've been reading the whole thread again hoping to find out why this method didn't work for me and I came upon this on page 6. The instruction here is different than that on page 1. Could this be the reason it didn't work for me? Should I, for example, add the line "cp /runme.sh /data/" that's not on page 1? Thanks!
[G1 Android Development] djgboy:
ok now i cant see my apps on my G1 i see them on my sdcard but not on my pone ?? how can i use my apps ??
[G1 Android Development] drpuckettg1:
anyone help me please

I work for android I heard that you can run apps from the sd so I did it and it work I had like 200+ apps when I found out I did something bad I flash my phone I take in away 7 gb from my sd card so what did I do I want it to get it back so I flash the phone thinking it is going to fix every thing and then when the phone turn back on I found out that I lost my 7,000 md that I put into my phone and I lost my 7,000md from my sd card so the 7 gb what happen to it so when I put the sd card in my pc to format it to see it go back and the phone take back the sd card form the my pc so from my 8 gd sd card now it put up on my pc it is a (1.36 gb free of 1.36) please write back anything please I live in miami and a 8 gb sd card cost me $120 I know a lot please anything can help me now (drpuckettg1@gmail.com)
[G1 Android Development] bigant262:
Quick question, I got everything to work, but it says 883 mb on internal memory, how do I get it to be like 60 or whatever its supposed to be at?
[G1 Android Development] gbaromman:
how does one find out if this works or not ??
[G1 Android Development] xnycen:
do you see the applications over the computer? because i don't know if my app2sd is working or not
[G1 Android Development] overground:
You can't see the actual numbers using the system info. To see actual numbers, open up Apps to SD 2.

In terminal type

su
busybox df -h

and see if /system/sd shows up. If so, then you should be good to go.

EDIT: Unless using ADB, you won't see them on your computer.
[G1 Android Development] masr1979:
I experienced similar issues, I tried wiping the phone and starting from scratch, but some files just wouldn't play nice (I was trying to transfer some library files to get the pdfviewer working). I deleted the folders on /system/sd and tried again, I uninstalled a few apps, as I said did a few wipes, but the only thing that took care of the issue for me was a fresh flash of the update.zip (not a wipe). Curiously the issues was only with certain files the an english-french dictionary, the aformentioned library files (libpdfreader.so I think). Andnav2 I had no problem installing though.

Anyways, if all else fails fresh flash, and try again. Maybe deleting and repartitioning your card might work too, but I think flashing is easier.
[G1 Android Development] maxon25:
Hi all,

i Just got my new htc magic the other day and i love it, i put alot of apps on the phone which is now slowing my phone down and i don't want to get rid of the apps i got. So i found out about having the apps intalled on the sd card ( why htc,google or who ever hasn't added this as an option in the first place i don't know, after all the internal space is very small).

I found the appstosd app on the market and thought cool their is an app for it but now find out (from this forum) that its not that simple, so i ask, why isn't their an app that can just set up the android phone to install apps to what ever location we choose????. Maybe their will be in the next android firmware update...haha when ever that is?. I would give it ago with doing it my self like many of people here have but don't fancy messing my phone up after i just got it. The misses would kill me haha....Oh well looks like i'll just have to back up my apps and use the ones i use most.

Common apps developers, make an app for installing apps to sd.... their should be one by now.

Thanks
[G1 Android Development] lazee_smurf:
It says...mkdir failed for /system/sd/dalvik-cache. File exists

What did I do wrong?
[G1 Android Development] masr1979:
It's pretty obvious that the directory is already there. Try

That should tell you what files and directories you have in /system/sd. If you want to start over with everything

I would however urge you to read the first post again, because usually if you are having this sort of problems you don't understand real well what you are doing... and that is never good when dealing with linux (learned that the hard way). Good luck.
[G1 Android Development] AngryCookieMonster:
i really like the apps to sd and have already 100+ apps installed. but as i am the type of person that likes to be prepared for things that can go wrong. i like to back up my apps to sdcard to install later in future. i just experienced that with a jf rom so i had to do a wipe and reinstall to get back everything to normal but the catch was i able to log in to google but moments later i lost the data service i guess i went out of range. but the main point is i do know how to copy installer apps to sd card that are protected (and no i dont distribute out "pirate" apps) and for the first time i got a wacked message from bluetooth fileshare "bluex" the said bluex has detected that you are pirating him. wich in reality im not i have just installed a backup copy that i purchased from the market. i see the devs have implemented a way to prevent piracy of there software wich in all i am for. but as in question for those who dont pirate apps whom keep backups just incase of emergency how is there another way to get the app to sd and be able to installit with out having to install from market becuase i hate having to due to that im dont even have edge where im at. but if not that is cool. i will then have to find a away that the software can be installed without a nasty message that pops up and requires me to install one app. and yes just about all apps ihave backed up are doing that now and i now have to spend days and a charger to reinstall all apps from market.
[G1 Android Development] rukus:
2-nd way is great and simple - i've installed it in 2 minutes - cool 400 mb for apps now - yeah ) Thanks guys!
[G1 Android Development] xeric0321:
man this seems really difficult

im running a JFv1.5....i downloaded tha Apps2sd apk n clicked on it, it said....it looks like your SD isnt partition correctly, lets fix that! use the slide below to choose how big to make the FAT32 and ext2 partitions..

FAT32 size(MB)____ ext2(MB)____

my question is if im using an 8g card....wat size in MB do i put in both so i can have 7g on my sdcard and 1g 4 apps...
[G1 Android Development] Thats BS:
Just put 1000mb on ext2. You won't even need that much space really.
[G1 Android Development] xeric0321:
if done correctly what should i be looking for to know if everything went as it should?

and another thing, if i do the Partition SDCard Fat32 / Ext2 thru the app2sd card apk, do i have to put anything into the terminial?
[G1 Android Development] Thats BS:
Go to settings> sd card phone storage> see how much is there.

Yes you will have to enter commands into the terminal. Go to the first page it tells you what.
[G1 Android Development] asn1:
mkdir system/sd/app gives me an error "mkdir failed for /system/sd/app, Read-only file system.

I have JF 1.51 ROM.

Any ideas how to proceed?
[G1 Android Development] tommydjay:
lurker here

ok marcus hope you read this....i have been reading for months

i have bought your apps2sd from the market and got it working...my phone says i i have used 120mb of 1034 internal memory...no probs. i bought the 8gig class six from birdman..never got it to work...so i downloaded ubuntu and redid it...works great...heres the question...ok so i just got a warranty replacement phone from tmobile due to an issue i have with the paint peeling off of it after 2 months....its a white one....so i have to send this one back....is there a way i can reload the original google firmware..i know i cant "unjailbreak" it... but i dont want them charging me the 100 bux they said they might if it appears to be an unwarrantied issue...i have jf1.51....thanks for any reply
[G1 Android Development] overground:
Not the right thread for this question. Since you retain your sd card in a warranty exchange, apps to sd shouldn't be an issue for you. What you are looking for, a little searching would have found this.
[G1 Android Development] Iceucold:
I doubt the firmware would cause the paint to peel. Of course, I'm no expert on the matter.

I've sent two G1s back to T-Mobile with JF builds intact, either they don't check, or they don't care.
[G1 Android Development] jfrankman:
I used the app on my 1GB sd card, but now need to upgrade to my 16GB card. I tried the undo method, but I my phone hangs on the G1 screen if I insert my new 16GB sd card (or if I boot with no card at all). It seems like my phone is still looking for the ext partition on my 1GB sd card. Is this possible? Is there something else besides the above commands I should do to undo my changes and move everything back to internal memory?
[G1 Android Development] overground:
I would just start fresh again on the new 16gig. Wipe (you will lose everything, of course). Boot the phone with the new card. Download Apps to sd 2 again. Choose your partition sizes. Move your apps and/or dalvik-cache.

Transfer your old FAT32 to your new card. Reinstall your apps. It's good to start fresh with a new card. There are other methods to try and copy your apps over such as "Backup for Root Users" in the market. Good luck.
[G1 Android Development] jfrankman:
That is what I finally did. However, it hung on the format of the sd card. It is now unreadable in windowas and linux. I cannot read, format, or partition the card. The card was an a-data 16gb turbo. It seems others have had problems with this card. Just ordered a transcend 16gb. Hopefully this card will work.
[G1 Android Development] ratcom:
Worked perfectly ! thanks from a android newbe ;)
[G1 Android Development] bloods212:
g1 freezes on boot screen at g1 logo.

NOTE FOR UPDATERS: If you had your data on the sdcard(/system/sd/data), it WILL GET DELETED with the new version. This is a necessity in order to get both wallpaper and protected apps working. I recommend moving it back to the phone.

EDIT: And here's another tutorial from ThatsBS(might be easier for the less tech savvy to follow?):

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.

after i rebooted g1 freezes on boot....

what do i do?

and i've set the memorycard size to about 732mb

and was running 1.51. but now nothing lol

plz help.

and thx
[G1 Android Development] MarcusMaximus04@gmail.com:
This happens sometimes, best thing to do is reflash the ROM(wipe shouldn't be necessary). Just put an update.zip on your sdcard(the FAT32 partition) and flash it and it should come back up.
[G1 Android Development] bloods212:
ty

ty hey i got another question i have a 8 gb sd card i made the exfat now it shows 372mb free any idea how to delete the exfat partion?
[G1 Android Development] overground:
I had a similar problem, but finally got the card to come back. I think the problem is sometimes sd-split gets hung up somehow. Try reformatting it in windows first (all to FAT32) using a separate card reader (not the phone) and see if you can restore it that way. If it comes back, pre-partition your card (I recommend 7tools partititon manager for Windows- functional demo @ download.com) and then use Apps to SD 2 only to move your apps. If you keep trying, I think you can get that card to come back to life.
[G1 Android Development] bloods212:
Re: Jf 1.51 Apps to SD?

by chrisrj28 on Wed May 27, 2009 12:10 pm

It's somewhat similar but there are a few things different. i spoke to Lucidrem and he said that all JF roms have the app2sd built in. Using Terminal Emulator type these commands:

$su

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

#mkdir /sdcard/tmp

#cd /sdcard/tmp

#wget http://files.lucidrem.us/jf/system/bin/lucid.txt

#busybox cp lucid.txt /system/bin/lucid

#chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

#lucid

i am having trouble here #wget i type that in and may of options come up but idk what to do and i am on JFv1.51 US
[G1 Android Development] mdavidf:
Apps Broken

I've been through the tutorial at least 3 times...literally...and I can't seem to get all of my programs to install/work properly.

Many of the programs do work properly, but it seems as if those that download as zip files (PicSay Pro, Clear Me, SentContact, ICE, and a few others) don't. I've tried unzipping them to see if there is an APK file inside, but there isn't.

I had no problems installing the Apps2SD2, first from Market then I tried the Apps2SD2 software located on the first page. I'm running JF 1.51. 8gb Class 4 SD card. 72 of 78MB free - I'm also showing over 1,200MB of free space.

What am I missing? I've tried searching this thread and can't find anything that helps.

I even tried:

su

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

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

from the tutorial, but it isn't working for me.

What am I doing wrong? What step(s) am I missing? :(

Any help would, obviously, be appreciated.
[G1 Android Development] MarcusMaximus04@gmail.com:
Try this in terminal emulator and then try installing a private app:

su

chown system.system /system/sd/app-private
[G1 Android Development] .ili.music.ili.:
Hi, I have Haykuro's google ion build,

kernel 2.6.29-daproy/haykurodan@sunnyvale),

build number CRB43,

firmware 1.5,

and I've been trying to get apps2sd to work, using this guide: http://theunlockr.com/2009/06/21/how...ard-on-the-g1/

by using the instructions on the bottom, I did correctly create my partitions using gpart in ubuntu, but the command "cp /sdcard/apps2sd /data/" did not work for me. So It didn't work... can someone provide me some assistance for getting apps2sd running on my haykuro build?

Also the apps2sd app says I don't have my partitions correctly created, and whenever I slide the bar and try to make one and reboot and re run the program, it says the same thing that the partition was incorrectly installed. Please help me because I don't want to install any application until I get this working since I just wiped my phone recently!
[G1 Android Development] mdavidf:
You're a friggin' genius, Marcus.

I've read most of the posts in this thread and you could charge for your services, amigo. I bought the original Apps2SD and Apps2SD2, but you deserver more than $1.99.

Problem is solved!

Thanks.
[G1 Android Development] bsegovia:
Copy Apps to SD causes auto-reboot?

Hi, I'm new to my newly rooted g1 and apps2sd is the primary reason I decided to do this. I followed the "dumbed down" instructions at the bottom of your post to a 'T' (sorta - see below) and now each time i run AppsToSD and select "copy apps to sd" my phone instantly reboots.

To retrace my steps I did the following:

extract init.rc and a2sd.sh to my SD card root (pre format)

open terminal and type:

su
cp /sdcard/init.rc /data/
cp /sdcard/a2sd.sh /data/

I didnt reboot here (although it appears i should have)

extract AppstoSD2.zip into SD card and install using Linda File manager

follow prompts to format sd card

REBOOT

Run AppstoSD > copy apps to sd > auto-reboots

So, after realizing that i missed a reboot, i uninstalled appstoSD. Then I re-ran the init.rc and a2sd.sh code, rebooted, installed appstosd and hoped for the best. Not so lucky. I'm sure the answer is obvious and I have pwnd noob written all over me.

Anyway, this is as far as i've gotten in the "dumbed down" instructions (havent even gotten to this part yet!).

su
mkdir /system/sd/app-private
mkdir /system/sd/dalvik-cache

Help?

Thanks!
[G1 Android Development] Thats BS:
I'm not sure where you are. Did you check you internal memory? It sounds like you went through the whole process. I would start at the beginning again if it didn't work. Maybe flash your ROM again (no wipe), then start over.
[G1 Android Development] uaedude:
16gb half partition !!!

I partition my new 16 gb by half,and now i keep getting the low internal memory icon. Can i return my 16gb to it's original state ?

please HELP !!!

Not to mention that my market and maps are force closing !
[G1 Android Development] Thats BS:
"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."

Should do it.
[G1 Android Development] MarcusMaximus04@gmail.com:
Just a quick note: pressing format on your phone formats it to FAT32, so there shouldn't be any reason to do it again through the computer. Formatting it, then running appstosd2 again should fix it.
[G1 Android Development] .ili.music.ili.:
Hi, can someone HELP?

I don't understand why everyone's problems get seemed to be answered so rapidly, and when I post nobody responds?
[G1 Android Development] MarcusMaximus04@gmail.com:
Ya, this tutorial isn't going to work 'cause you're using Huykuro's build(as stated in the first post here). Really, you can only use this tutorial for JF 1.5 or greater and can only use the app for JF 1.5 or greater, TheDude's 1.0(?) or greater, or Cyanogen's ROM(I think JAC Hero will work too...).
[G1 Android Development] .ili.music.ili.:
I just want to know how to get it working t.t

What is the best most stable optimized build that's fast? I thought it was haykuro's ion so I am using that. Can someone tell me how to get it to work on haykuro's ion build?
[G1 Android Development] MarcusMaximus04@gmail.com:
As far as I know(and have seen) Cyanogen's ROM is far and away the fastest/most stable, and that has appstosd automatically set up(though you still have to do the work of actually moving your apps over to the ext2/3 partition, which is where my app comes in). This method absolutely will not work on Haykuro's ion build(or any other Haykuro build) since he never added in unionfs or aufs.
[G1 Android Development] jcsflavours:
hi marcus

thanks for apps to sd its brilliant

now i've got a little problem, i was able to get this whole set up to work before, then i tried the hero rom so i lost the set up which wasnt a problem at the time, because i assumed things would work again... but i was wrong i think

i'm trying to figure out what i'm missing, but i've reformated my sd card with a fresh fat32 partition then created the ext2 partition, copied the init.rc / a2sd.sh from the sdcard to the /data/ directory rebooted... and ...nothing, the os loads correctly check my storage space and its the same as it was before no change...

its like it isn't able to read the ext2 partition

i'm runnin jf 1.5 adp with the hero theme 1.3.5 and htc_music / htc_ime

your help would be appreciated please
[G1 Android Development] tkgrrett:
umm when i run appstosd it says it formats but then when i push reboot now nothing happens.. also, when i type reboot at the terminal it tells me i dont have permission even tho im already running su
[G1 Android Development] Dladu:
What rom are you using? This sounds like a rom specific problem than a problem with apps2sd
[G1 Android Development] Tylerspilker:
I use JF 1.51 US build

Every time I try doing the method in post one from a freshly wiped phone with a blank fat32 partition I encounter problems.

After I run the apps2sd app, it partitions then asks to reboot. It hangs at the Tmobile G1 splash and never goes to the Android one, and therefore never finishes booting

Anyone have any idea what could be causing this?
[G1 Android Development] bsegovia:
Maybe the restart is intentional?

Hmm. ok, so i've decided perhaps the reboot thing is built-in to the program. I went ahead and reflashed the ROM (no wipe) and opened AppsToSD. It told me that my phone had not been setup yet and to follow this tutorial. I did the steps for init.rc and a2sd.sh. Re-ran AppsToSD and hit "copy apps to SD". The moment I hit it the phone restarted.

I suspect now that this may be intended behavior. Can someone confirm? I inspected the SD card and in the ext2 partition there are various folders that match my installed program list. I have to conclude that the program is working and the restart was an unexpected, however intended, function.

Is there a way to confirm that the programs are NOT being installed on my internal memory? I can only see so much with Linda.
[G1 Android Development] Thats BS:
Yeah the restart is part of the process.

Check your memory menu>settings>sd card> install some apps and check again. Shouldn't really change much if they r being install on sd.
[G1 Android Development] wp_815:
hey, I used your method, and it all worked well. However, I have decided that I want to use a Hero ROM now and so I know I must undo the apps2sd. How do I do this? How do I make it so that all apps will save to the phone's internal memory?
[G1 Android Development] diset16:
I need some help

I used apps2sd for about a week or two and I unmounted my card and put a new one in, it didint work so I put the old one back. My phone was working fine for a few hours then it just shut off. Now when I do apps2sd the apps go to my sd card but disappear from my phone. What can I do to fix this?
[G1 Android Development] Androidawg:
Holy Crap that scared the hell out of me. But it is frikkin AWESOME!!! I went to the market and downloaded the apps2sd program so you could get my buck's worth. Thanks.
[G1 Android Development] Glen L:
Im using Apps2SD (not sure what version)

Is there any changes if I use this version?

I have 700mb set to my ext2
[G1 Android Development] camelacml:
i have problem using above method,

i can su in terminal

but when i type " cp /sdcard/init.rc or a2sd.sh /data/

got err "cp: not found"

Y????

:confused::confused::confused::confused:
[G1 Android Development] MarcusMaximus04@gmail.com:
Woah... umm... try "busybox cp"? If that still doesn't work you're missing the cp binary(which is used to copy files). What ROM are you using?
[G1 Android Development] somedude:
same as posted above on previous page.

used your market application on a JF 1.51 US ROM

rebooted when told to, phone is hanging on G1 splash screen.

/sdcard & /data empty...

still can't get past G1 splash screen.

so... can't even use my update.zip it seems... no card reader for my computer either...

little help?
[G1 Android Development] pauldavid77:
Problem Setting up

I have the two files needed on my SDCARD and I am having issues setting this up.

Here is what happens:

su

mkdir /system/sd/app mkdirfailed file exists

mount data rm/data/app failed:no such file or directory

mkdir /data/app mkdir failed file exists

cp sdcard/init.rc /data/ cp:cannot stat /sdcard/init.rc No such file or directory

Can someone help me?