yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] MarcusMaximus04@gmail.com:
Interesting... my app should catch that but I suppose if you had already moved the apps to the sd card before(which creates the /system/sd folder) and then repartition the card incorrectly then the /system/sd folder could still be there making my app think everything is fine and try to go ahead and try to set everything up anyway... I think I'll have to have it read from a df -h command to make sure /system/sd shows up there...

EDIT: @g2crx: that is correct, or just press the button to move dalvik-cache to sd in my app, it does those same commands
[G1 Android Development] prscott1:
Man, I think I screwed up my partition tonight - am hoping someone here can help. I'm running Haykuro's latest H1.5 release A2SD. All has been very smooth running apps from SD - but I screwed a few things up when trying to move dalvik-cache tonight.

I can't even remember everything that I did to screw it up. LOL! Wound up getting some NFS file errors, so I backed all my apps up and reformatted my sd. Did a wipe and reinstalled the A2SD rom.

Well, my /system/sd no longer shows up as a file system but is there.

# busybox df -h

busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 48.2M 0 48.2M 0% /dev

tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 67.5M 64.3M 3.2M 95% /system

/dev/block/mtdblock5 74.8M 33.3M 41.4M 45% /data

/dev/block/mtdblock4 67.5M 1.3M 66.2M 2% /cache

/dev/block//vold/179:1

3.3G 536.3M 2.8G 16% /sdcard

**********

cd /system

ls -l

a "sd" folder shows up:

drwxr-xr-x root root 2008-08-01 07:00 media

drwxr-xr-x root root 2008-08-01 07:00 lib

drwxr-xr-x root root 2008-08-01 07:00 framework

drwxr-xr-x root root 2008-08-01 07:00 fonts

drwxr-xr-x root root 2008-08-01 07:00 usr

drwxr-xr-x root root 2008-08-01 07:00 etc

-rw-r--r-- root root 2166 2008-08-01 07:00 build.prop

drwxr-xr-x root shell 2008-08-01 07:00 xbin

drwxr-xr-x root shell 2008-08-01 07:00 bin

drwxr-xr-x root root 2008-08-01 07:00 app

drwxr-xr-x root root 2009-04-29 20:09 lost+found

d--------- system system 2009-04-29 20:23 sd

any ideas on what I should do to get it back? I can delete the sd in recovery console, but it keeps coming back.

Edit:

I fixed my own problem. for anyone else with this problem: turn off phone. remove sdcard. using a partitioning software of your choice: delete the Ext2 partition and then recreate the partition (reformat it). Insert sdcard back in phone. Start phone in recovery mode. Check to see if system/sd shows up doing busybox df -h. If so, you are good to go. Proceed normally.
[G1 Android Development] Mi|enko:
Got the app from the market it. Saw it here, but figured it was worth the buck for the added convenience of it always being at the ready. :-)

One quick question:

What is the dalvik-cache exactly? I'm assuming it's probably not the same as the regular cashes (browser, maps, etc.)
[G1 Android Development] clefky10:
This question hasn't been asked yet in this thread so it is probably obvious but I don't understand step 3: "3: Have busybox already installed to /system/xbin".

Could someone explain that? Thanks.
[G1 Android Development] timal:
Didn't seem to move all the apps only left me 26mb available. Any suggestions anyone ?
[G1 Android Development] robpet2:
got this error message when trying the app using adp 1.5h3

C:\android\androidsdk>adb install AppsToSD_signed.apk

file 'AppsToSD_signed.apk' does not contain AndroidManifest.xml

edit:

redownloaded the app and it worked.. lol
[G1 Android Development] MarcusMaximus04@gmail.com:
Heh, ya I was gonna say something was wrong with that file.

oh and @ Timal: a couple questions.

1: go to terminal emulator and type this:

su

cd /data

ls -l

tell me whether it just says "app" or whether it says "app -> /system/sd"(might carry over to the next line). If is says the latter then everthing is set up, but you probably just moved the apps and the cache is still using a lot. Try moving dalvik-cache too if you really need the space.

2: Speaking of which did you press to move dalvik-cache too?

@Milenko: I'm not totally clear on what dalvik-cache is but it seems to be what the operating system uses to keep track of the apps on the phone and all their data.(someone correct me if I'm wrong)
[G1 Android Development] robpet2:
Marcus : the apk i had on my pc was bad or something, just downloaded it about a week ago.. but it works now..

adb makes things so simple with the G1, dont know what the hell took me so long to start using it to move files and install stuff to the g1..
[G1 Android Development] MarcusMaximus04@gmail.com:
Heh, I just do everything from the browser and install stuff using that and sometimes that unzip program/linda if I need to(most of the time I'm doing this stuff I'm at work or out and about so can't hook up to my pc)

EDIT: In fact I dl'd both Haykuro 1.5r1 and 1.5r3 over an edge connection :cool:
[G1 Android Development] timal:
No I didn't try to move the cache ?
[G1 Android Development] naars90:
umm..is there any way to check via the terminal app whether my sd card's been partitioned and whether my apps have moved?
[G1 Android Development] MrADeveci:
I have a question, I can't find the answer too and I'm sure others are having this issue?

The app works fine and it's great, even after I reflash a new rom.

However, I noticed that after a while, my internal memory starts to go down?

Any ideas?
[G1 Android Development] Shrivel:
The internal memory will still go down, since parts of many apps will still go to internal memory. It just will not go down as quickly.
[G1 Android Development] jaaronmoody:
i'm trying to do this on a mac and don't have a ext2 option when formatting. what do i need?
[G1 Android Development] Slimgym20:
Real quick, is this going to work on the new jf1.5adp? Also, I am a little confused as to where I put busy box exactly. I have it downloaded, do I just put it on my sd card? Also, is a class 4 ok? I read somewhere it should be a class 6 sd card.
[G1 Android Development] meww:
works great, Just updated to Jk 1.50 build used this apps to move my apps & cache to sd, I got 70 apps installed with 69mb free ( 15mb left before I did this mod). Thanks you :)
[G1 Android Development] m00b3rt:
how come i only get 53mb free.

i have jf adp 1.5

gah.

help?

thanks.
[G1 Android Development] question.com:
read a few posts above yours. when i first wiped the dude build off my phone and flashed to the JS one, i had 70MB free. after installing a few apps, it went down to like 60 something mb. then the browser and market caches write to the system memory. you will never stay at 70MB. unless you move all caches, which isn't really recommended.
[G1 Android Development] m00b3rt:
no, i use the app and to sd,

when i have no apps. i unistall everything.

and i only have 53mb free.
[G1 Android Development] question.com:
if you want, you can do a fresh install of 1.5 (wipe) then run the app
[G1 Android Development] m00b3rt:
i have a different problem.

when i go into recovery.

i see that the Build : Jfv1.42

shouldn't it be Jfv1.50?
[G1 Android Development] 5spot:
First off, thanks for a great app to simply the process!

Is it necessary to reboot after selecting move apps before I select moving the dalvik-cache? Or can I select/run both and then reboot?

Thanks! :)
[G1 Android Development] question.com:
dont worry about that. JS hasnt made a new recovery
[G1 Android Development] cboy007:
QUESTION:

I ran Apps2sd with is checked and I think it worked...however if I adb and do

ls/system/sd/app all my apps are there. that's where they should be?

but when i go into settings and sd options every time i install an app the space on internal memory goes down (now at 46). basically i backed up all apps using astro and now i'm installing them all and every few i install it drops a mb for INTERNAL memory even though i'm pretty sure they're installing to the SD card. is this right?!
[G1 Android Development] crazythunder:
ithought they were in data/app? try adb remount

adb shell

su

cd data/app

ls
[G1 Android Development] cboy007:
if i do:

cd /data

ls -l

i get the app -> /system/sd/app so i think it's working. same with app-private.

my question is "WHY IS MY INTERNAL MEMORY GOING DOWN SO FAST AFTER INSTALLING APPS"

thanks.
[G1 Android Development] juangil:
b/c you also need to move dalvik-cache if you dont want to see your mem go down
[G1 Android Development] AtzHash:
transfer Ext2

Hi, I installed Apps to SD card app on a 2gb SD and it works fine. However now I bought a 4GB card and wondering how I can transfer everything from old Ex2 partition to the new card?

Any advice or suggestions will highly appreciated
[G1 Android Development] psychoace:
You could use Norton Ghost or a Partion Program that allows backups otherwise just backup your disk yourself by getting a ext2 file viewer for you pc and copy all the files to your hard drive along with the stuff in your fat partition. Then just format your new card and paste it all in there. Your flash card is not running windows so it can handle being transferred without an MBR needing to be updated.
[G1 Android Development] AtzHash:
No luck

I’ve tried using “Linux Reader” and “Paragon Partition Manager 9.0 Professional” but both can’t find Ext2 partition, however I can view it on “Windows Disk Management”. Then again only option I have is “Delete Volume..”

Please help... :confused:
[G1 Android Development] wo2kid:
I don't know why but I can't get apps 2 sd working. Wiped my handheld clean. Installed JF 1.5. Setup the partition on my 2GB memory card. 201MB for ex2 and the rest Fat32.

When I disconnect my G1 it says that the SD card is blank or unsupported file system and needs to be formated.

What am I doing wrong??????

:confused:
[G1 Android Development] stogchris81:
the 1st partition needs to be fat32. and "the rest" needs to be ext2. you got the partitions backwards. it does matter.
[G1 Android Development] wo2kid:
I did that...tried it both ways...I guess I will give it a shot again right now.
[G1 Android Development] stogchris81:
linux is the best way to mount the ext2 partition. windows CANNOT read it, doesnt even know it is there. i installed linux ubuntu 8.10with a program called wubi. if you want you can just download wubi and it does all the work for you. just reboot your comp when its done, and choose ubuntu in the new boot menu. then google "how to install gparted". gparted is the linux partition editor. this is all real easy. it has to be if i did it. need any help pm me.

with wubi, you can just install/uninstall linux like any other windows software.
[G1 Android Development] wo2kid:
So after a do that my phone should read my SD card fine right?
[G1 Android Development] stogchris81:
your phone has no prob reading the sd card. you need your computer to read it, right?
[G1 Android Development] wo2kid:
Yeah my computer sees the SD card fine. My phone thinks its not supported or blank.
[G1 Android Development] stogchris81:
ok, and you are sure that the fat32 is 1st and ext2 is 2nd? and what are you doing when you get the unsupported file system error?
[G1 Android Development] wo2kid:
Nothing...i just eject the G1 from my computer after the partition. I am downloading ubuntu right now. I am going to run it again and try to partition it...
[G1 Android Development] stogchris81:
ok, any ?s about ubuntu just ask in a pm.
[G1 Android Development] chabsie:
How to check if it's partitioned correctly?

I used paragon to partition my sd card the way its supposed to be. i used the app with the "move apps" checkbox checked and it put me in a bootloop, so i wiped and reflashed. i have no idea what caused the problem... is there a way to find out whether the card is partitioned right? it shows up when i look at it with paragon and windows disk manager.
[G1 Android Development] chabsie:
additional note

btw im running Haykuro 5.0.2Hr5-A2SD
[G1 Android Development] JaboJG:
This app failed for me big time mate.

I'm running Haykuro's 1.5Hr3 Apps2SD rom.

I ran the SDSplit script then ran this.

Clicked on "move apps to SD" and left the checkbox ticked. It done something then closed. I had a look at my menu and there was no icons there. So I assumed I had to do a reboot. Rebooted and went into a boot loop.

We had to go:

[00:53] <DarkriftX> do mkdir /system/sd/app-private

[00:53] <DarkriftX> rm -f /data/app-private

[00:53] <DarkriftX> ln -s /system/sd/app-private /data/app-private

Then mkdir /system/sd/app

FAIL!
[G1 Android Development] vr24:
Not a great app, but it "kind of" worked for me.

Did SDSplit, then purchased and ran this app.

It didn't move my apps to the SD! However, it did the necessary changes, so after re-downloading all my apps, everything is working fine.
[G1 Android Development] MartinFick:
sdsplit was never tested with a Haykuro build, if you didn't use the -nc switch, it might be causing problems for you. But, I really have no idea if it would even work with the -nc switch since I am not familiar with his builds. Sorry.
[G1 Android Development] stonefurry:
Questions

I have JF's 1.5 rom and I tryed setting up busybox by doing below.

# download busybox and place this file in your /sdcard. (DO NOT TRY TO FLASH BUSYBOX--IT IS NOT A ROM)

# run "adb remount" (on your desktop), then "adb shell" and then the following commands (to setup busybox):

1.

dd if=/sdcard/busybox of=/system/xbin/busybox

2.

chmod 4755 /system/xbin/busybox

and i got can not open system file.

Or does JF's 1.5 have busybox installed already so then i just install this apps and run it?

also when i run

su

busybox df -h

I do get /system/sd on the last line with the amount of space i got on sd card which i put 1.5 gigs... Am i good to try this app?

thanks
[G1 Android Development] MartinFick:
JF1.5 (all do I think) has busbox already.
[G1 Android Development] Unicornasaurus:
I copied my apps to my SD card, but now, after doing so..ALL of my apps start up when I reboot. I go into Advanced Task Manager and just about every application is running in the background..any reason why?
[G1 Android Development] JazzMac251:
ha the exact same thing happened to me. all apps running in the background. what's the deal?
[G1 Android Development] chabsie:
Is my SD card partitioned right? Having big problems.

I used paragon to partition my sd card the way its supposed to be. i used the app with the "move apps" checkbox checked and it put me in a bootloop, so i wiped and reflashed. i have no idea what caused the problem... is there a way to find out whether the card is partitioned right? it shows up when i look at it with paragon and windows disk manager.I'm running Haykuro 5.0.2Hr5-A2SD.

If its not the SD card partition, what else could it be??

Please help, thanks alot.
[G1 Android Development] MarcusMaximus04@gmail.com:
I know paragon has been iffy for other people(I used gparted in ubuntu, seems to always work perfectly). If you want to check if it worked correctly you can type this in the terminal emulator:

su

busybox df -h

and see if /system/sd shows up. If not something isn't right with your partitioning(probably the fault of paragon). If it does appear type this in terminal emulator(immediately after the commands above):

cd /system/sd

ls -l

and let me know what it says.

EDIT:@unicornasaurus:

That's an interesting problem. What build are you running? I can't say I see any reason your phone would do that since apps should only be able to start at boot if they are made to receive the boot event. You're sure this didn't happen before apps to sd?
[G1 Android Development] JazzMac251:
Marcus,

i can field that question. It's happening to me as well and i'm running JF's ADF1.5. reasonably sure that didn't happen before the apps2sd move.

also, thanks for still answering questions after 160-some-odd posts. you're the man!

Also, i've tried the

cd \system\sd

is -|

and

cd /data

is -|

to verify apps2sd success and all i get is a changed cursor from # (or $) to > . However, it seems to have worked because when typing in your busybox command, the system/sd is present - the last item in the list
[G1 Android Development] MarcusMaximus04@gmail.com:
Interesting, unfortunately I moved back to Haykuro's after trying out JF1.5(IMO Haykuro's is faster/more stable but that's a whole other discussion) and never checked the task manager with that ROM so I'm not sure if this is specific to both of you or is true of all people running JF1.5 with apps to sd.

I'm of the opinion that there's no possible way my app, specifically, could cause that to happen. Sounds like it'd have to be a general problem with apps to sd on JF1.5 since my app literally just does the normal commands to move apps to the sd card, it doesn't mess with any settings or anything that would cause this.

Sorry if I seem like I'm rambling, I'm truly baffled by this problem. I hesitate to suggest this(although all your apps are backed up so it should be pretty safe) but could you try wiping and trying again(with the checkbox unchecked this time)? I'm interested in seeing if this is consistent.
[G1 Android Development] oreoOozZz:
I was on JF Version 1.42 RC33 W/ Apps2SD with 55MB Free. As the JF Cupcake ROM came out yesterday i naturally did a wipe then flashed JF ADP V 1.50 Cupcake then downloaded this app and ran it on my phone. I now only have 29mb free, what did i do wrong? The app worked because i checked what you said to check in terminal emulator and i see what im supposed to see but how did i just loose 25 mb of internal memory with only flashing the ROM basically? All my apps appeared just as they were after i installed the ROM.
[G1 Android Development] oreoOozZz:
Update: Cleared my Browser data and Youtube data and brought myself up to 35MB of free space but thats still 20mb short of what i had before i flashed to JF's new ROM.

Im boggled.
[G1 Android Development] MarcusMaximus04@gmail.com:
@oreo: Hmm, did you have dalvik-cache moved before? And if so did you move it this time? The size difference sounds about right for if you missed that. Or it could just be a difference in how much space the ROM takes up compared to RC33.
[G1 Android Development] chabsie:
i typed :

"su

busybox df -h" ...and i did get a whole bunch of text including '/system/sd' at the end. next i typed:

"cd /system/sd

ls -l" ... and here is what i got:

"drwxr-xr-x root ......... root .................... 2009-05-01 20:59 lost+found

drwxrwx--x system ........ system ................... 2009-05-04 01:18 app

drwxrwx--x system ........ system ................... 2009-05-04 01:18 app-private"

please let me know what it means, thanks for your help
[G1 Android Development] MarcusMaximus04@gmail.com:
Oh the ls -l output actually makes sense since you wiped. Let's see.. what % usage did the df -h give next to the /system/sd(sorry probably should have asked this before)? Also, from the terminal emulator try doing this:

su

cd /system/sd

ls

and see if anything shows up. If so, I'd just try it again. I'm not really sure what happened but it sounds like something weird wen't wrong and if everything is showing up as it should then it'll probably be an inconsistent problem and retrying it might just work.
[G1 Android Development] Unicornasaurus:
@Marcus

I'm running JFv1.5, but it also did it on my previous Dudes 1.5 build too. I'm almost 100% positive it didn't do this before the AppsToSD. It might not be a problem with the application necessarily though. It could just be the way the system reacts to Symlinks or something
[G1 Android Development] Thaxone:
After i put my apps to my sd and moved my dalvik cache, my gmail and nba game time just force closes now.

*edit* im using haykuros 1.5r3 btw
[G1 Android Development] chabsie:
it said 1% used next to /system/sd.

i typed in

"su

cd /system/sd

ls" ....and i got:

"lost+found

app

app-private"
[G1 Android Development] JazzMac251:
Marcus,

1) Are you suggesting I wipe, re-flash JF's ROM, and try moving apps to SD again?

2) With what unchecked? Does having all the check boxes in your program unchecked just tell the phone where to look to the apps folder without doing any actual copying (sry, i'm a n00b)?

3) If i do a system wipe and reflash a ROM, does it wipe all the info on the SD too including app data (i'm getting really tired of re-inputting all the sh*t i need to do back into astrid, ha)

4) would you mind telling us a little more about why you chose the Haykuro's build over JF's? Every time someone tries to talk about this in another thread, a mod shuts it down which really makes me mad. It's not a sign of disrespect to the programmers to compare and contrast their work. I have the utmost respect for JF, The Dude, Haykuro and any other modders out there. As far as i'm concerned, they're the heroes of the g1 community. However, i just simply lack the expertise to know what to look for when it comes to performance. i originally had the H build and moved over to the JF build and i was actually of the opinion that JF's was faster. That could be the apps2sd thing working its magic though (i didn't have that on the H build) but i just don't know enough to have a educated opinion about it. I'd love to hear your (and others') thoughts on this.

thanks
[G1 Android Development] Serpico1979:
Hi,

i have Dude's Cupcake app2sd installed (0.93).

My SD is a SunDisk 2 GB.

i have partitioned SD in :

- fat32 (1.5 gb)

-ext 2 (500mb)

I have downloaded app2sd (automatic procedure)

Before the ROM was 23 Mb free

Now is 54 mb free

--------------------------------SOLVED
[G1 Android Development] free-sidux:
thx @ marcus

one thing I would like to mention:

the su dialog didn't pop up first and the application wanted to force-close.

I was wondering why it took sooo long...

after having set the rights, it worked very well.

maybe a bit slower than apps on memory, but I'm not sure about this.
[G1 Android Development] iflyabeech:
I typed the following into the terminal emulator:

su
cd /system/sd
ls -1

the phone returned the following:

Can you tell me if its working or not? :)

I am using the jfadp1.5 with a 4 mb sd card....400mb ext2 created using acronis disk director...
[G1 Android Development] MarcusMaximus04@gmail.com:
1: Yes, but they are already there so you won't lose anything.

2: My app has a single checkbox on top for copying existing apps. This is for people who haven't already moved their apps to the sd card, so that when it does the switch they don't lose all of them(I'm taking the checkbox out next version though since leaving it checked works perfectly for both cases for reasons I won't go into)

3: No, all a wipe does is remove the data directory and replace it with one that has empty directories for apps/caches/etc. It won't follow the links that apps to sd sets up so it won't delete anything from the sd card(it actually can't because when it does this the sd card isn't mounted so as far as it knows it doesn't exist)

4: Heh, hopefully mine won't get shut down :eek: On a serious note, when I made the switch I immediately noticed a drastic drop in performance compared to 1.5Hr3(notice the version #, the previous 5.x.x versions were much slower). I decided to push on through it though and give the ROM a chance, but then numerous apps that worked perfectly under Haykuro started crashing. Like a good boy, I went back and did a wipe and tried again(after setting up apps to sd again to get all my apps back) and those same ones still crashed, and even did so after being reinstalled through the market. I gave up and went back to Haykuro's 1.5Hr3 and immediately the speed was back up and all the apps worked again.
[G1 Android Development] JazzMac251:
hmm that's very interesting. I'll flash haykuro's and let you know how it works out. Thanks again for all your hard work.
[G1 Android Development] MarcusMaximus04@gmail.com:
I'd actually need more than that to tell you. If it says "app -> /system/app"(might carry to the next line) then it worked.
[G1 Android Development] iflyabeech:
Thanks! It must be working..I just installed about 30 apps and appmanager still says i have 52/74 Memory!

It only said what I typed though, as I typed it....Hopefully my post will help someone else then!

Thanks so much for making this app! I'll buy it from the market soon! Good job!! I messed arounbd for 3 hours trying to do it manually before I found this thread!