yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] djlucklu:
i installed Haykuros latest apps2sd rom and ran the recovery terminal but my phone is still showing 32mb free..can anyone help?
[G1 Android Development] djlucklu:
how big are dalvik caches?i ask bcuz when i did all the steps i had 73mb free but unstable...but when i do just the steps for the apps i get 38mb??? i dont understand
[G1 Android Development] Pascal257:
I asked myself the same question.

I also only copied the apps and got 40mb left. But after looking up the data and dalvik-cache folders I assume they're consuming some space. (there's pretty much everything - like mails, gallery thumbnails? etc)

greetings,

Pascal
[G1 Android Development] nolageek:
wrong forum, deleted. posting it in 'problems after apps2sd'
[G1 Android Development] MarcusMaximus04@gmail.com:
Correct. Dalvik-cache is usually about 30-40MB, it's HUGE(relative to the free space available) so moving it is a really big part of getting additional space.
[G1 Android Development] cduncan1:
cp: cannot remove '/system/sd/app-private': Is a directory

Maximus ,

All power to you for the help you are providing.

I have loaded 'The Dude's Cupcake v0.8 Apps2SD Edition NoWipe'.

I DID WIPE HOWEVER.... don't ask.

I have then installed busybox to '/system/xbin directory'

I had apps-to-sd working on 'JFv1.43 for UK RC9 firmware! '

I tried your appstosd card app first as it worked on JFv1.43. (again thanks for you work) but I still have only 21M free (and I have rebooted.)

and I have cleared the browsers cache.

so I wanted to try your manual method to see where things goes wrong:

here is the log...

$ su

# busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 48.3M 0 48.3M 0% /dev

tmpfs 4.0M 8.0k 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 67.5M 66.6M 900.0k 99% /system

/dev/block/mtdblock5 74.8M 60.0M 14.8M 80% /data

/dev/block/mtdblock4 67.5M 1.8M 65.8M 3% /cache

/dev/block/mmcblk0p2 1.0G 43.2M 962.5M 4% /system/sd

/dev/block//vold/179:1

6.4G 4.2G 2.2G 66% /sdcard

#

# busybox cp -a /data/app /system/sd

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

cp: cannot remove '/system/sd/app-private': Is a directory

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

cp: cannot remove '/system/sd/app-private': Is a directory

# cd /system/sd/

# pwd

/system/sd

# ls

lost+found

app

app-private

# cd app-private

# ls

org.android7.softkeyboard.apk

# pwd

/system/sd/app-private

#

I hope you can help.

I hope there is a simple solution ?

Thanks

cduncan1.
[G1 Android Development] stogchris81:
@cduncan. i dont think it has anything to do with your problem but it may be worth mentioning. im pretty sure busybox is already installed in the Dudes build. i have not installed it and i did the first 4 "busybox" commands without typing busybox and it worked for me. i think he put his tutorial up before dudes 1.5 supported apps2sd... <for what its worth

other than that, after checking your spelling...etc, i dont see why that would happen. good luck
[G1 Android Development] cduncan1:
Thanks for the tip, but missing out the keyword 'busybox' gave the same fault.

chris [cduncan0]
[G1 Android Development] aldread:
I too downloaded a number of Paragon Partition Managers (trials, etc.) great program, to expensive for one partition!! I finally found this link, not sure how long this trial works for, but it worked once for me!

http://forums.slickdeals.net/showthread.php?sduid=0&t=1233039

By the way, I created a 1 gig. partition on an 8 gig., class 4 card, and it works great. (Didn't move cache)
[G1 Android Development] cduncan1:
Bump....

Any ideas ?

I'm thinking about trying one of the other 1.5 Cupcake variants.

Chris
[G1 Android Development] cduncan1:
All,

How do I get into recovery mode in Dude's 1.5G build, as following the above instructions don't work

Thanks.

Chris
[G1 Android Development] g2crx:
Home+power

alt-x

that should put you in recovery
[G1 Android Development] Rickster08:
everytime i try to download more apps..it saids not enough space avaliable??? 73 available in the phone...avaliable space on sd card is 4059...what is wrong???..I have no apps yet on card....???...tried running the steps again but keep coming up with the same thing....even wiped installed the rom again apps to sd...

****never mind .installed the app instead thanks...******
[G1 Android Development] DreamcastDC:
I did this with haykuro 1.5hr3, and I keep getting force quit in Gmail, can anyone one tell me what is wrong?
[G1 Android Development] bigzae:
after inputing

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

i get

cp: cannot remove /system/sd/app : is a directory

so my question is, WHAT AM I DOIN WRONG?
[G1 Android Development] AsaSpades:
I moved everything except the data, would th@ explain y whenever I install an app my internal memory goes down?
[G1 Android Development] JLine05:
Im trying to get the apps 2 sd working from the adp 1.5h build and it doesnt seem to be working. When I type busybox df -h it gives me Filesystem information. I have the partitions set up right and I loaded the a2sd version of the rom. Hopefully someone can help me, Ive been at it for awhile and Im starting to get frustrated. Thanks.
[G1 Android Development] psychoace:
Alt-X doesn't work for me. I get no menu or options. I am running the dudes latest build but that has nothing to do with the recovery system
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes.

@bigzae: it sounds like the /system/sd/app directory already exists. Try doing cd /system/sd/app and seeing if it gives you an error. If not then the folder already exists.
[G1 Android Development] cigar3tte:
OK, I'm pretty sure I've gotten this to work, but just have some questions over the concept behind the commands for my own knowledge.

Now, the reason this directory is off the SD card instead of the internal memory, is determined by the ROM?

If the /data/app directory has been removed, how does making a link to it work? I guess this is not the same as how Windows shortcuts work.
[G1 Android Development] psychoace:
It's probably referencing that if a program ever tries to install a program in that directory to push it to the SD card. It's not linking just telling the os what to do when it gets something with that directory.

Oh and app2sd android app worked when alt+x didn't
[G1 Android Development] jj71787:
how do i format my sd card in 2 sections i have drive backup 8.51 i got it from this site http://coolpstutsite.com/Other_Tutorials.html
[G1 Android Development] chamelieon:
use the help files or how to help in that program. shouldnt be too hard.
[G1 Android Development] Strapt:
THE RUNDOWN:

I have the JF142 RC33 got right off his blog site its NOT the MOD one found on LucidREMs post

ok so I typed in the code at the top code and I got: ln [-s] <target <name (yes both has the end cap as well ,,, im just missing the period key) so that says nothing like what you said it was supposed to do,

I did the whole partition the sd card thru the code on the phone with no comp and it worked good, said that I had the FAT32 and the ext2

I ran some test code somewhere and It showed me the system/sd so I figured things were good to go,

I did install the appstosd and I moved the apps to sd and the dalvik cache too, thought things were fine but I had 67mb free and it started to go down, now I have 48mb free, so guess that didnt work :(

So then I ran ALL the code in the manual move you posted and still have no luck ,,, still at the 48mb free

QUESTIONS:

so my questions are:

any idea what went wrong AND also importantly ,,, what if I want to RESET everything that I did so I can start over ,, I know how to redo the card ,, i am talking about reseting whatever i did with all that code with the moving of the apps and the dalvik-cache,, do I do a wipe? re-install the ROM? or use some code? Because I would really like to start over and retry some other things and or options and dont really want to mess up the phone with a reset or something before i know what it will do since i have ran that code :)

any help on this would be great! thank you very much for the help!
[G1 Android Development] Mr.Jigolo:
bought apps2sd and it didn't work. now i'm at a point where any app i download it says "installation failed. insufficient storage".

i flashed JF 1.5 ADP cupcake version once again. i must have attempted the partition of the sd card using paragon more than 10 times: about 588 for the ext2 partition. still, when i try to run busybox df -h, i don't see the /system/sd path coming up.

i'm not sure if it's the card or something else. PLEASE HELP.

Note: i'm getting mixed info from searching the web for the right microsd card: i have an 8gb class 4. some say it's fine, some say it has to be a class 6. whats the deal here?

Thanx
[G1 Android Development] cigar3tte:
588MB? Make sure you didn't do KB or something. As for the class #, I'd think that only higher ones might have possible incompatibility issues, not lower ones.
[G1 Android Development] MarcusMaximus04@gmail.com:
If you only moved the apps to the sd and didn't do the same for the data cache and/or dalvik-cache then storage will still go down a bit. It should take quite a while to get down to zero but the phone is still storing some data from your apps on the phone itself. No worries, it sounds like you have everything right.

1: I've heard numerous reports of paragon screwing up the partitions which could be your problem(although I agree with cigar3tte that you should make sure it wan't a mistake in the size). also, in the output from doing this in terminal emulator:

su

busybox df -h

make sure it shows up /system/sd and that it doesn't show anything close to 100% space used.

2: I'm using a class 2 with my apps on the sd card so class 4 shouldn't be a problem :)
[G1 Android Development] chabsie:
No Recovery Terminal

I'm trying to follow the steps but apparently my phone has no recovery terminal?? When I get to the menu in recovery mode, my only options are toggle menu (alt+L), apply update (alt+S), and wipe (alt+W). i tried pressing alt+X anyway but nothing happens. i'm running haykuro 5.0.2Hr5-A2SD.

please help, thanks
[G1 Android Development] Mr.Jigolo:
it's definitely 488MB now. i formatted it as linux ext2 primary. strange enough, now, neither my vista nor my g1 recognize the card. as if it's not there!!!

running busybox df -h command earlier didn't show the /system/sd/ path
[G1 Android Development] cigar3tte:
Vista isn't going to see ext2. Did you leave out the FAT32? Not sure how you mean the G1 isn't seeing it. If you mean the sdcard path, that's FAT32.

Also, it took me a while to find /system/sd/ when I did "busybox df -h". A bunch of paths showed up and /system/sd/ was one of them.
[G1 Android Development] Mr.Jigolo:
what i meant is that vista was seeing the fat32 partition earlier. now it doesn't. if i remove the card and re-insert it, like nothing happend! when i insert the card in my g1, and i go to settings, sd card, it says unavailable.

when i run the busybox command, i saw several paths but /system/sd wasn't one of them. well, i can't test it now as the phone is not recognizing the card
[G1 Android Development] MarcusMaximus04@gmail.com:
I'm guessing you went straight from the stock G1 ROM or one of the earlier JF builds to Haykuro's? Haykuro's doesn't contain the modded recovery terminal so you might try flashing to JF's 1.43 or 1.5(I'm guessing 1.5 has the recovery terminal?) and flash back.
[G1 Android Development] Mr.Jigolo:
what i meant is that vista was seeing the fat32 partition earlier. now it doesn't. if i remove the card and re-insert it, like nothing happened! when i insert the card in my g1, and i go to settings, sd card, it says unavailable.

when i run the busybox command, i saw several paths but /system/sd wasn't one of them. well, i can't test it now as the phone is not recognizing the card
[G1 Android Development] Seeknay747:
If I do all of the above and don't copy the caches over, what is the procedure when I want to update to a newer ROM?

If I wipe, I will have Apps but no Caches, Could I back them up to the sd card, and then copy them back to the phone after an update?

Before Wipe:

cp -a /data/'2 cache folders' /system/sd/'2cache folders'

Then after wipe put them back:

cp -a /system/sd/'cache folder' /data/'cache folder'

Or is there a better way of doing this?
[G1 Android Development] MarcusMaximus04@gmail.com:
You don't have to copy the caches. The system will rebuild them at next bootup. But if you want to copy them, you could do exactly what you said with 1 minor alteration(and from the recovery terminal:

rm -r /data/'cache folder'

cp -a /system/sd/'cache folder' /data/'cache folder'

If you don't remove the cache folder first, the cp will fail.

EDIT: @Mr.Jigolo: Your partitions got screwed up. Try repartitioning the card. As I've said, paragon doesn't seem to work very well for a lot of people. Also, make sure you didn't just partition the whole thing as ext2, since that'll mess things up too.
[G1 Android Development] cigar3tte:
I'm pretty sure you're messing up at the formatting part. I did mine on the Macbook at work though. The trial version of Paragon didn't let me make a ext2 partition.
[G1 Android Development] Mr.Jigolo:
alright. a major step forward. NOW I SEE THE /SYSTEM/SD!!!!! (i repartitioned and reformated 2 -3 times using paragon. ) but, now i see it. i reinstalled apps2sd, which i had already bought. run the app (unchecked the box for moving existing apps) and hit the move apps button. something flashes then back to the desktop. the apps2sd app is gone. i don't know what happened. i rebooted the phone and now it's stuck on the "android" screen.

Any ideas?
[G1 Android Development] Strapt:
thanks for the reply ... I actually did move .. well tried to move the Apps and the cache as well.

now I checked that busybox df - h and it says that the:

(There are others but not at 100% usage)

/dev/block/mtblock3 is at 100% usage and is mounted on /system

/dev/block/loop0 is at 100% usage and is mounted on /system/modules

/dev/block/loop1 is at 100%usage and is mounted on /system/xbin

Which of these are which again? phone memory or the card memory:

/dev/block/mtdblock5 size is 74.8M with 51.2M avail mounted on /data

/dev/mmcblk0p2 size is 878.5M with avail 799.1M mounted on /system/sd

/dev/block/mmcblk0p1 size is 6.7G and avail is 4.1G mounted on /sd card

how do people have a permanent 72M free? I have not downloaded a lot of apps and yet it has allmost dropped in half ... something must not be working right cuz i did move both the apps and the cache... not sure if it was all cache or the dalvik .. I did whatever it said to do in the first page of this thread here in the manual way. THANKS again for the help man!
[G1 Android Development] Mr.Jigolo:
Man, the phone isn't getting past the android startup screen. i removed the battery and booted again, same thing! do i have to flash the rom again now?

thanx
[G1 Android Development] cigar3tte:
Probably should wipe too.
[G1 Android Development] MarcusMaximus04@gmail.com:
I'm fairly sure just a wipe will do it, there shouldn't be any reason to reflash the ROM.

EDIT: @Strapt: My normal recommendation is to not move the normal cache(/data/data). It can really screw things up a lot of the time and unless you really know what you're doing it can be hard to get it working again. Moving it is likely the one thing that you're missing to be at a constant 72-72MB but you should have a good amount available and I'd be surprised to hear of someone actually maxing out on internal storage with just the apps and dalvik-cache moved.
[G1 Android Development] Mr.Jigolo:
THANX GUYS!. now back to life. so, i guess, this question is for marcus. once i install your app, what should i do?

1) uncheck the move existing apps and leave it checked?

2) move the cache first of the apps first?

3) why do you think my previous attempt failed? ( i could see the /system/sd - finally - and installed ur app, then unchecked the move existing apps, then hit move apps)
[G1 Android Development] MarcusMaximus04@gmail.com:
FIRST: to make sure your phone doesn't start looping again do this in the terminal emulator:

su

busybox df -h

and make sure /system/sd shows up there. If this is what you meant before then ignore this but I just want to make sure that you didn't just see the /system/sd directory and try this. That directory can exist without having anything actually mounted there.

1(and 3): Hmm if you unchecked the box without already having apps on the sd card it could cause problems... I'm thinking I'll end up taking that checkbox out and just have it always try to copy them since it just fails to do so when they're already there anyway. I'd leave the checkbox checked this time around just in case.

2: It doesn't really matter but I usually do apps first(just seems weird having cache on the sd card but not the apps themselves, even for just a few seconds/minutes but it shouldn't hurt anything either way)
[G1 Android Development] Mr.Jigolo:
i left the checkbox checked as you said. tried again. your app disappeared again. if i run the busybox command, here's what i see: (some of it)

/system/sd used%: 0 available: 403.3 M

where's the app?
[G1 Android Development] Strapt:
Ya but I think thats what I did ... I ran ALL the code from your first post here .. so does that include that cache AND the dalvik cache??

here is what I ran:

usybox cp -a /data/app /system/sd/
busybox cp -a /data/app-private /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
exit
exit

Once the terminal emulator app closes, power off your phone. Then, turn it on in recovery mode. Then press Alt-x to go to recovery terminal. Press enter and a prompt should come up with a "#". Now type(If you only want your apps on your sd card and not the caches, skip steps 6-9) .. I did steps 6-9 too

Code:

mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/app-private
ln -s /system/sd/app-private /data/app-private
rm -rf /data/data
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot

soooo lets just say that I wanted to revert EVERYTHING that i did later on for something ... is there a way to do that?

and

earlier you mentioned something about having the permanent 72mb free only if I moved everything including the cache .. isnt that what I did? or did I mess it up? OH and what did you think about those 100% usages that I posted up? those look alright?

sorry to ask so many questions .. but all this stuff is really cool and I would love to be able to actually understand everything one day :)
[G1 Android Development] Mr.Jigolo:
Hey Marcus, do you know why it's still not working? why would your app disappear?
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes, you have to reboot the phone to make it show up. Hopefully your phone will start up. If not, you can wipe again and make sure /system/sd shows up when you do

su

busybox df -h

in the terminal emulator
[G1 Android Development] Mr.Jigolo:
it worked!!!!!!!! great!!!! this is really great!!!! thanx guys. and thumbs up for that up marcus!
[G1 Android Development] Mr.Jigolo:
*thumbs up for that app marcus
[G1 Android Development] MarcusMaximus04@gmail.com:
Interesting. Try doing this in terminal emulator:

su

cd /data

ls -l

and make sure it says "app -> /system/app", "app-private -> /system/private", "data -> /system/data" and "dalvik-cache -> dalvik-cache". Some or all of these might carry onto the next line. If any of them are missing let me know which ones, it means that you missed one of the "rm -rf" steps.
[G1 Android Development] Mr.Jigolo:
2 questions though:

1) is the wifitether app gone from the market?

2) if i backup the phone using nandroid, can i restore the backup on another g1?
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes and yes. Google removed the wifi tether app from the market because it violated the t-mobile TOS, and therefore that of the android market as well.
[G1 Android Development] chabsie:
yeah i flashed from stock g1 rc29 to haykuro... i will do that, thanks.
[G1 Android Development] menzo44:
help

i followed the directions on the first page and never got any errors when i rebooted it was like nothing happened my storage space didnt change! I tried to download an app and it changed the space available on the phone so it saved it to the phone/ what did i do wrong. i just think its wierd that it didnt give me any errors if i did something wrong/. I am running JF 1.5.. Did i partition my card wrong????

.......okay now im really confused i took my sd card out and none of the apps worked. so thats a good sign i assume. but then i downloaded some apps and my storage (in settings) went from 37mb to 35mb!

Ill try that thanks!
[G1 Android Development] MarcusMaximus04@gmail.com:
Heh, I walked a guy through this just like 1 or 2 pages back. At any rate, do this in the terminal:

su

cd /data

ls -l

if "app -> /system/app" shows up then your apps are actually moved. A likely reason why you wouldn't see (much of) a change is that the cache is still on the phone. Apps still take up space because of that and even just downloading an app uses space because of the market's cache.
[G1 Android Development] menzo44:
ok i tried that and it came back app -> /system /sd/app

same for app-private. so it worked? and its just changing cause of the cache? can i still go back and just do the same steps for just the cache this time? how unstable is the cache on sd?

...............okay i moved the dalvik cache over to the card and wow thats more like the number i was looking for! thanks so much for your help and your outstanding work on this YOU ARE THE MAN!!!
[G1 Android Development] foltz61:
Anyone able to get MyBackupPro to work after moving apps? I've also tried putting app-private back on the phone.
[G1 Android Development] Seeknay747:
Thanks for the tip, I wouldn't have seen that one.

I used the Ubuntu Live CD with Gparted (amazingly easy program) and formatted the 8GB SD Card. Its working great so far, I only moved the apps and app-private folders. Internal Memory went up from 22 to about 34.

I'm almost tempted to move the cache over or maybe just one of them to see what happens, but Ill let it sit with 34MB Free Internal for now.

If I were to pick one to move, I heard you say before that the dalvik folder is less threatening, correct?
[G1 Android Development] Seeknay747:
I am going to try this tomorrow night, I am curious to see if it works still. I was upset that it didn't backup Calendar Appointments. I didn't even bother to check what was being backed up when I selected "Everything" for Apps and Data. I am also surprised that Calendar data doesn't get Synced to Google Calendar.
[G1 Android Development] foltz61:
Just a hint. Make sure you re-install MyBackupPro from the market and do your data restore before moving the apps to sd. Atleast that way you get your bookmarks and homescreens back.
[G1 Android Development] Strapt:
Ok so I tried the code with the lower case L lol and got: for some reason this site wont allow me to put spaces in ,, sorry for the run together

Su
Cd /data
ls -l

Here is what I got:

drwxrwxrwx anr

1rwxrwxrwx app -> /system/sd/app

1rwxrwxrwx app-private -> /system/sd/app-private

1rwxrwxrwx dalvik-cache -> /system/sd/dalvik-cache

drwxrwx--x data

drwxrwx--x local

drwxrwx--- lost+found

drwxrwx--t misc

drwx------ property

-r-xr-xr-x sdsplit

-rw-rw-rw- sdsplit.log

drwxrwr-x system

drwxr-xr-x tombstones

So it looks like I am missing some of the things you mentioned... I think

Also when I run:

Su
Busybox df -h

I do see the /sdcard and the system/sd and lots of free space.

So what do you think about these? I know there is a lot here but at some point in this thread I have seen you reference these codes with other people or you asked me for them.

Thanks again for the help ... you have been great with everything. I know you have been asked a ton of questions by a lot of people so again I thank you. I did buy that app off the market to help out a lil.