yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] caleb12:
I'll let you know in about 30 minutes... lol... But, in theory - yes it should work fine. The best procedure would be to re-create the sym links before actually booting fully into the new RC33, so after install (this is my plan - again, theory) hold down home and power - drop to a shell, recreate the sym links and then reboot again... Should be fine... Like I said - gimme 30 minutes... :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~

So, I'm actually switching from the ADP back to the T-mo's version of RC33... So, you're mileage is going to vary on this. Right now I'm not getting good mileage... So, I get to do a complete wipe and start over from scratch... oh well.

As far as what I said above, you will have to boot into the phone at least once then follow the instructions on the first page... The bottomline here is that your data and apps does not get erased, it's still on that partition you setup initially.
[G1 Android Development] LucidREM:
i have an update.zip that allows you to maintain the link for apps on the MicroSD .. check the main 1.41_RC33 forum or download directly from my signature at the bottom here
[G1 Android Development] jumpertk:
Thanks LucidREM I applied the the unmodified update before coming here and had to use one of my backups and then applied your update.. worked fine thank you.
[G1 Android Development] LucidREM:
sweet .. for anyone who doesn't know .. the update.zip provided by JF is a baseline .. does not account for the apps installed on SD modifications .. the update.zip i created is identical to JFs .. i've just done the init.rc, mountd.conf, and /system/sd changes automatically .. nice huh? just in case anyone had questions .. if you use the baseline and your apps are on the SD you will be on the flashing android for an eternity and a day .. reflash my update.zip and you should be good as gold .. right as rain .. happy as a clam .. etc
[G1 Android Development] jumpertk:
LucidREM... I'm not sure if i'm not seeing something right... but when I run maps I am not seeing the latitude feature
[G1 Android Development] LucidREM:
someone else mentioned that .. not sure what to say .. i have it and most people i've heard from have it too
[G1 Android Development] knight4linux:
Thanks Lucid, works great!
[G1 Android Development] MontAlbert:
any chance in the future of doing this for ADP version when there is another update for that?
[G1 Android Development] typowell:
i have a question. if anyone can help me with these step in this thread....

"3. Backup your original mountd.conf and initrc.rc files from your g1 by running the following commands on your desktop from the cmd shell:

adb pull /system/etc/mountd.conf <dir on your desktop>

adb pull /system/init.rc <dir on your desktop>"

how do i run these commands in my computers cmd. shell. when i type adb in the command it is not recognized. i download it and installed it. why cant i run those commands?
[G1 Android Development] typowell:
Anyone know why i cant run this command on my desktop cmd?

adb pull /system/etc/mountd.conf <dir on your desktop>
[G1 Android Development] h4ng0ver:
Hi LucidREM

I have loaded your modded RC33 JF1.41 file, eveything seems fine except my browser icon is corrupted, and the browser icon is not in the app list anymore (the pull tab). How do I restore it?

Thanks
[G1 Android Development] Zionator:
Some one please just kill me.

This is why i hate linux. In windows i can just plug 'n' play but in ubuntu i can't.

I got a T-mobile Web'n'walk USB Stick and it just wont connect to the net in ubuntu so i can't dl any apps for ubuntu.

And when in ubuntu i can see my sdcard has both fat32 and ext2 and i can use both of them so now the qustion is why the hell can't my phone see the dame ext2 partition???

Is there any one whom lives in Birmingham / UK that could link up for some help i am poor but are willing to pay a little cash for the help.

And who knows one day that some one will need some help with what ever and then i could return the favor.
[G1 Android Development] LucidREM:
that i wouldn't know .. i only made the three modifications to maintain apps on the SD .. prevent people from wiping the phone or going thru the console to fix it before reboot .. sounds like something besides the update .. did you try flashing the update.zip again? re-download?
[G1 Android Development] LucidREM:
if the partition is there and correct then check the phone .. you must have the init.rc & mountd.conf modified .. you must have /system/sd (which you've said you do) .. from terminal when you boot you should do:

#busybox df -h

and then see that line about mounting /sdcard and also /system/sd

if there's a problem with that then the SD drive itself might be bad on the phone and need to be fixed and/or replaced
[G1 Android Development] LucidREM:
there's definitely a chance .. special order tho .. heheh .. i use RC .. so that's been my whole focus
[G1 Android Development] h4ng0ver:
I dont know what happened there, but I downloaded the standalone multitouch browser and installed it, seems to work fine now. Also I have all my cache moved to SDcard, and the Android market kept crashing after the update, recreated symlinks and it works

Thanks again
[G1 Android Development] Zionator:
Has any one with RC8/UK version tryed the "Attached Files modified : mountd & init.zip" at the beginning of this threads and make this work???

cause i am beginning to think that my problem is with mountd.conf and init.rc is not working on my phone.
[G1 Android Development] Rafase282:
How can I remove the data directory on the /system/sd ?
[G1 Android Development] stogchris81:
i have not been able to successfully install the sdk and drivers on my vista pc. but it doesnt matter anymore because these instructions were spot on. no problems or surprises at all. Lucid, if(big IF) you are not a big thing yet, you are the NEXT BIG THING.
[G1 Android Development] LucidREM:
LOL .. just here to help .. i had a couple troubles trying to use adb so i just figured i'd go without it .. glad to know it works for you too
[G1 Android Development] apfroggy0408:
It seems that I followed your instructions LucidREM and everything seemed to be working fine except I wasn't sure if when /dev/mmcblk0p2 1.2G 9.1M 1.1G 1% /system/sd is supposed to show up is it supposed to show up with 6 or so other lines? I got it amongst other lines. Then at the very last line #ln -s /system/sd/app-private /data/app-private I got a fail message but that the file had existed. Now when I try to download applications it says not enough room. I made the partition 1 gb in a 8 gb card.
[G1 Android Development] MontAlbert:
what linux command do i typeinto terminal emulator to get the memory usage of the EXT2 partition. I know how to list them:

ls /system/sd

but just so i can keep an eye on how much space is left in the partition....

****edit***** found it in my linux for dummies book (pdf i downloaded)

df /system/sd

i have only used 4% of the space and have about 40 apps installed, plus cache in there as well.
[G1 Android Development] beagz:
Hi, I am sort of new to all this but I have been able to successfully root my phone and install jf1.41 r33. I have been able to use the sdcard for cache but I seem to have a problem installing the applications to the sd card. I have tried 2 different cards using a live linux cd to run gparted and partition the card with fat32 and ext2. But I just cannot seem to get the partition to mount in my phone.

results of busybox df -h end with line

/dev/block/mmcblk0p1 3.3g 1.3g 2.0g 41% /sdcard

I have followed the instructions up to the remount point several times and do not have the desired result listed.

Thanks in advance.
[G1 Android Development] dwang:
Just updated the original post and added instructions by lucidrem for applying this hack from only the g1.
[G1 Android Development] Preech2003:
LucidREM Genius

Is this the same procedure that was posted in this fourm so you wouldnt have to move each indivisual cache individually???

cause that procedur had some performance issues

or is this a method with no performance issues????
[G1 Android Development] Preech2003:
Update 1/27/2009:

Added procedure for moving data directory to the sdcard, without performance issues.

Is this procedure still has performance issues??

Cuz if it does, can u show cmds to to move indivisual caches to the SD card??

What are the Terminal cmds or isit different for every app??????
[G1 Android Development] speoples20:
I'm gonna do this shortly but two quick questions. First I'm thinking of getting a 16GB card. Now if I do is there an easy way to transfer everything to the new card or do I have to redo everything? Secondly the 16GB card I'm gonna get is on Class2 (I'm getting it really cheap and the class 4s are too much) would I notice any performance issues?
[G1 Android Development] andonnguyen:
I have the stock 1GB SD card which is class 2, and I experience no performance issues.
[G1 Android Development] beartard:
The procedure for moving /data/data to the sd-card worked fine for me until I tried to do it after upgrading to RC33. It's the one thing I've NOT been able to do with RC33 that I've done with everything previous.
[G1 Android Development] ripsphone:
I need help!

Ok, I am fairly new at this, and I screwed something up.

I have the latest JF RC33 installed.

I was installing the Modified Blue Star theme.

From here: http://xdaforums.com/showthread.php?t=480040

It wasn't working, so I installed the version labeled Framework Only. I then went in and installed the version labeled Modified bluestar.

It kept hanging on the Android Boot screen. So I went and tried to install the original theme from here: http://xdaforums.com/showthread.php?t=468436

Now I can't get past the Android boot screen at all!

I tried to go back and install the JF RC33 update. No matter what I do now, I can't get past the Android loop.

I read the instructions on how to do the NAND back up, b ut am not sure I know what I'm doing.

Can anyone help me? Please?

Edit:i just tried booting with home and back. Did the ALT+b and am still getting the android loop
[G1 Android Development] Smokuevo:
im on rc 33 with data data and apks on ext2.. had that since rc 30... about 100 apps or few over and 56 mb free
[G1 Android Development] Mikey:
Do a wipe of your phone in recovery.

install RC33 back on your SD Card as update and install it.

Do not install themes that are not YET compatible with the ROM you are updating to.
[G1 Android Development] Mikey:
This should be true till you wipe your phone.

Since JF mostly doesn't apply changes to the folders concerning apps to sd card.
[G1 Android Development] juangil:
are u using Mac? I think you EXT2 partition hasn't being formatted succefully
[G1 Android Development] beagz:
I discovered my problem was that when unzipping the updated mountd and init files that Windows was changing the time/date stamp. I unpacked them this time making sure the time/date stamp didn't change and everything worked perfectly.

Thanks for all the help and info here. You guys are great!
[G1 Android Development] apfroggy0408:
I've fixed my problems by just running the last set of commands over. But now I've encountered a new problem in trying to transfer cache's. Can I use http://modmygphone.com/wiki/index.php/Caches_To_SD_Card with the terminal within the g1?
[G1 Android Development] Smokuevo:
yes you can do that
[G1 Android Development] rjlan82:
stuck

I have jf1.41 rc33 installed, and i've followed the directions. after copying the 2 files over, the phone hangs at the tmobile g1 splash screen. doesn't get to the android boot screen. i've tried pushing with adb, copying off sdcard with busybox, and using vi to manually enter the text info, all with the same result :(

any suggestions?
[G1 Android Development] apfroggy0408:
Forgot to add that when I do the first steps trying to make the cache file I get an error saying that it's a read only.
[G1 Android Development] juangil:
your ph must be disconnecte from pc
[G1 Android Development] apfroggy0408:
Ya it is I wonder what could be causing it.
[G1 Android Development] jdc4429:
I created the batch files and have run them from scratch along with a few others and they have reported success as well. I am using an 8GB AData class 6 micro sd card. First partition is fat32 (Not fat), second partion using Paragon Hard Disk manager (Linux Ext2)

I am running the G1 release versions... I ran under RC30 1.31 and now am running under RC33 1.41 with no problems. I have everything going from /Data/Data except the dalvik directory to the EXT2 partition.

Maybe comparing my info you can find some difference that explains your problem...

jdc4429
[G1 Android Development] samysam05:
edit-- Can anyone please help? i know i did something wrong during the steps where i partition the sdcard. now i cant even access it. it says that it isnt mounted

restored back up and now works. Can any1 help with th partition part?
[G1 Android Development] speoples20:
Ok moved everything over to my sdcard was simple enough. Now quick question do the apps stay installed through a wipe or do I need to redo the whole process over again?
[G1 Android Development] ashshlay:
apps will stay installed on sd card and after new update image you'll have to push over the modified mountd and init files again and once you reboot you'll see the apps again off the sd card. So you have to redo part of the process but don't have to move the apps data over to get them working again.
[G1 Android Development] apfroggy0408:
Seems simply rebooting the phone has fixed my problems once again.
[G1 Android Development] mmafighter077:
I think I just did it.. what directory can I go in (in astro) to show where my apps have been moved. When I go to check my available memory it shows that I have 56mb which is more than I had before. but my EXT2 IS 400MB. Will my sdcard availble memory reflect in my systems availble memory? Or is it something that can be shown?
[G1 Android Development] samysam05:
got it to work finally! so i checked the market and it shows tht none of the apps

have been installed but they on the phone does tht mean that if i install a new app it will be store on the phone storage?
[G1 Android Development] apfroggy0408:
If you followed those steps as long as they install you're good as gold. If you're worried about updating you can use atrackdog.
[G1 Android Development] speoples20:
So just this part and should be good to go right?

#busybox cp -a /sdcard/mountd.conf /system/etc/mountd.conf

#busybox cp -a /sdcard/init.rc /system/init.rc
[G1 Android Development] phuthanvinh:
This is so complicated, I have read it over and over again but still not getting it. I do not know where should I run these commands, either from the cmd shell on my computer or from the terminal and telnet on my phone? I have partitioned my micro SD card, and downloaded the required files. All I need now is where should I put these commands in, is the "adb" from the android sdk important that i need to install? The tutorial is frequently updated, it's hard for me follow step by step. I wish someone could revise it in a simpler form and easy to understand. I apologize, i'm not really good at these things, I believe there are a lot of people who confuse than just me and they hope to get help on this too. I hope you don't mind these silly questions and thanks for your help. :)
[G1 Android Development] jaynoonan:
Ok, I am nervous to do the Apps to SD thing but I need it so bad

Can I just follow this?

this is a form of the instructions from this thread .. but modified slightly to be used directly from the "Terminal" .. i did not use my USB on my phone to root or run apps .. everything i did was on the G1

$su

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

#mkdir /system/sd

6. Download the attached modified mountd.conf and init.rc files to your SD.

#busybox cp -a /sdcard/mountd.conf /system/etc/mountd.conf

#busybox cp -a /sdcard/init.rc /system/init.rc

9. Reboot your g1

$su

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

#busybox df -h

You should see a line that looks similar to this:

/dev/mmcblk0p2 1.2G 9.1M 1.1G 1% /system/sd

If you don't see this line, you didn't partition your sdcard correctly. STOP! Go back and do that.

12. From the G1 shell run the following cmds to copy your app and app-private directories from the internal g1 storage to the sdcard.

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

#rm -r /data/app

#ln -s /system/sd/app /data/app

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

#rm -r /data/app-private

#ln -s /system/sd/app-private /data/app-private

Reboot your g1
[G1 Android Development] andonnguyen:
Yes, this method won't require you to use adb, and you'll just use the terminal emulator on your G1.
[G1 Android Development] jaynoonan:
Do I have to do steps 1-5? I am so confused with the cmd shell stuff?

I need help!
[G1 Android Development] KyleK29:
I just did the terminal version, seems to be work fine. Thanks for that.

As a suggestion, may want to add this (for the terminal one) for copying/backing-up the original mountd.conf and init.rc. I did this just to be sure.

cp /system/etc/mountd.conf /sdcard/mountd.bak

cp /system/init.rc /sdcard/init.bak

I then verified (before proceeding) with:

ls /sdcard
[G1 Android Development] phuthanvinh:
I double that, I'm so confusing with that cmd and abd stuffs
[G1 Android Development] x2y:
I complete messed up somewhere in this process couldn't get the G1 to reboot unless I removed the sd card. I'm going to marinate on this before I try it again.
[G1 Android Development] rickymello:
i am a complete noob at this and scared to death to mess up my phone. i was also extremely confused about doing this until i found this.....http://xdaforums.com/showthread.php?t=478875 i hope this helps at least a little!
[G1 Android Development] phuthanvinh:
rickymello thanks for an awesome link ;)
[G1 Android Development] Binary100100:
Not working for me.

So it took quite a task for me to partition my sd card but i'm pretty sure that's not the problem.

Everything seems to go through just fine in all the different ways to mod this.

The results are my apps are still being ran from the phone.

on busybox df -h I get this...

/dev/block/mmcblk01p1 7.1G 6.7G 472.8M 94% /sdcard

Any ideas on what went wrong?

Thanks guys!
[G1 Android Development] Binary100100:
MyBackup app to restore apps

Well... I am going to try the Modified RC33 to see if that works. I already wiped my phone. :(

Question though. Instead of my going to My Downloads in the Market can I just use the restore from the MyBackup app and have the apps go to my sdcard? That would simplify things a bit. Thanks.
[G1 Android Development] Binary100100:
Grrrr!!! Not working!!!

Not even the RC33 specifically modified for apps to SD is working!

Someone help please this is getting very aggrivating. I must have reflashed, reinstalled apps and wiped my phone over a dozen times... (not necessarily in that order).

I don't know what I'm doing wrong. I used Paragon Partition Manager to format my class 4 sdcard to ext2 as my second partition.

It has to do with mmcblk0p1 coming up after i enter busybox df -h.

I'm giving up for now. I've wasted over 6 hours with this. :mad:
[G1 Android Development] APrinceAmongMen:
The problem is you didn't format the card the right way or you have put the mountd.conf and the init.rc files on.

Reason being is that the card isn't showing up in busybox df -h

Sure you have mmcblk0p1, but that isn't it.

It should be:

/dev/mmcblk0p2

So I suggest redownloading the modified mountd.conf and init.rc and putting them on your phone.
[G1 Android Development] Binary100100:
Here's a screenshot of my dos.
[G1 Android Development] Binary100100:
Yeah but the modified RC33 should have worked... right?

I followed the instructions per the letter.

I have no clue what I'm doing wrong here.
[G1 Android Development] dwang:
Looks fine whats wrong with it?

what does

ls -l /data

look like?

Your fat partition (/sdcard) is pretty full, but thats not where the apps are running from. Its being run from /system/sd which has plenty of space.

dave
[G1 Android Development] Binary100100:
here's another screenshot of ls -l /data
[G1 Android Development] APrinceAmongMen:
Try,

cd /system

ls

Gimme that screenshot.
[G1 Android Development] dwang:
hmm that doesn't look right. Its seems like after you reboot, your symlink settings aren't being saved.

what does

ls -l /system/sd

show?
[G1 Android Development] APrinceAmongMen:
Everything should be working just fine sweety.

What happens when you do this part?

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

rm -r /data/app

ln -s /system/sd/app /data/app

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

rm -r /data/app-private

ln -s /system/sd/app-private /data/app-private
[G1 Android Development] Binary100100:
app

app-private

lost+found
[G1 Android Development] APrinceAmongMen:
Lol...

Bro. You're apps have been save to the sd card this entire time... :X

You're done.

Stop complaining. :P
[G1 Android Development] Binary100100:
I'll give it another go.

I'm reinstalling my apps now with MyBackup.

If that doesn't work then I have to give up for the night because I have to leave for work.

I hate working nights. Ugh!

Thanks for all of your help.
[G1 Android Development] .PaNiNi.:
this might be a dumb question but does anything happen to let you know the apps are on the sdcard? also do you have to redo the steps everytime you install new apps to make them go to the sdcard or do they automatically go to the sdcard?
[G1 Android Development] apfroggy0408:
Well I'm pretty sure that after you follow those steps and you download an app and it installs correctly then you did everything correctly. If you're not sure look at your phones internal memory and then download a couple of apps and recheck your internal memory and it should be the same.
[G1 Android Development] Karolis:
So I did this on my phone with JFv1.41 RC8 and it seemed to work fine at first, but then in about a week, I could not install or upgrade any apps from the Market any more. And it's definitely not the space issue as I have allocated 800 MB for my ext2 partition.

Then I've noticed that the first page was changed. It particular, this line: "Rooted g1 with jesus freak version 1.30 or 1.31, 1.41 (rc30, rc33)" -- does that mean the procedure should not be performed on RC8 just like another version of instructions on running apps from SD?

I think this should be made clear somewhere.
[G1 Android Development] Binary100100:
Well I reinstalled all 120 apps and I have about 47 mb left so it seems to be working now. Thanks! The first time I tried I was down to 15 with all my apps so there is a definite difference. Thanks for your help.
[G1 Android Development] Binary100100:
so i sucessfully managed to store apps and get them to run off my sd card but just to verify i checked my free space which was 47 mb. i installed 10 random apps from the market and checked the storage again and it is now at 35mb. any takers?
[G1 Android Development] LucidREM:
the apps you install still hold stuff in /data/data as well as other locations .. that's why some people have opted to move /data/data to /system/sd/data as well .. however .. this has varying results and could potentially be unstable

losing a little space is normal .. even with /data/app moved to /system/sd/app
[G1 Android Development] danguyf:
In this screenshot, /data/app and /data/app-private are not dynamically linked to /system/sd/app and /system/sd/app-private. If they were, you would see something like "/app --> /system/sd/app" in the listing.

It looked like someone directed you to run the rm/ln bits again, so hopefully they took this time. I'd do an ls -l again just to make sure.
[G1 Android Development] jrherras:
I have a question, are you guys experiencing problems after u did this? like an app is not working well? because I'm having problem running snap photo I even tried uninstalling and reinstalling but it keeps force closing but every apps are ok just the snap photo and the mario simulator
[G1 Android Development] Smokuevo:
no problems for me.. 105 apps 56mb free..

data/data moved to ext2

apks moved to ext2