yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] naTTan:
Lucid i have with me JF 1.5 was wondering how do i delete the folders in the ext2 portion since after the wipe some apps are still left in there, and i rather strat afresh because it sorts of act funny if i don't.

Edit : It's ok i did some reading and found the command, i had to redo the lost+found folder though since i deleted that by mistake as well.

I guess i would do things the manual way by cp stuff to ext and symlinking it, thanks for all your previous help.
[G1 Android Development] KRIZDUEL:
I would just re partition or format

the ext2... works for me...
[G1 Android Development] DKYang:
I have updated the radio, using JF's recovery image, and flashed to the 1.5 that you posted. The apps to sd is working fine but when I try to do the data, it freezes for a little bit then reboots in a loop endlessly. Any ideas? Thanks.
[G1 Android Development] starbase64:
Hi,

Many thanks for your work, it works on my G1.

wfg

starbase64
[G1 Android Development] LucidREM:
the read-only response is something you would get when the EXT2 is not properly mounted .. there are a varying number of reasons why it would not be loaded right .. the SD card should not be read-only .. the /system folder is however and thereby trying to write to the /system/sd when the SD is not linked to that location is not permitted
[G1 Android Development] chrisrj28:
Hey Lucid thanks so much for putting this up. I have a question and I have read the last few pages a few times to try and understand but I seem to be missing the understanding of what Im looking for. Im not necessarily a newb I just like to have things clear. Now Im running JFRC33 with apps & dalvik to SD, 110 apps installed right now. From what I read I can install JF1.5 without a wipe and run your script and this will restore the link between sd/system & the phone right, therefore restoring all my installed apps as they are with JFRC33? Am I understanding correctly or am I way off? If this has been answered I apologize but I didnt find the answer or my understanding of the things I read isn't very good.
[G1 Android Development] LucidREM:
actually it's good you ask first before updating .. if you are on RC33 there is not 1.5 update at this time .. there is an ADP1.5 .. as for the script you shouldn't rerun the script if your apps are already on the SD .. if you

do not wipe

then just flash the phone and don't run the script .. if you wipe the phone then try my script

lucid applink

this will restore the link without first copying apps over your existing apps
[G1 Android Development] chrisrj28:
Ok thanks yeah I read about the whole adp thing and it will be usable until the RC version, I just wanted to make sure with this before I try it. So when I flash the update and dont wipe I wont run the scripts, thats cool that the SD recognition will still be there and that all I pretty much have to do is flash the 1.5 update and radio.

Thats simple enough, thanks for your quick reply on this.

Oh and will I have to re move Dalvik cache to my SD after running this or will that keep with the apps?
[G1 Android Development] G1Dennis:
Did i do it right?

Hey Lucid,

I think i did everything you said. But I'm not sure it worked.This is the response i got:

$ su

# lucid app

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

cp: cannot create '/system/sd/app': File exists

rm -r /data/app

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

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

cp: cannot create '/system/sd/app-private': File exists

rm -r /data/app-private

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

# lucid data

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

cp: cannot create '/system/sd/data': File exists

rm -r /data/data

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

# lucid dalvik

busybox cp -a /data/dalvik-cache /system/sd

rm -r /data/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

#

Phone storage went back to 71 MB so it seem to be all good.

Is it?

Thanks,
[G1 Android Development] Yager_mpls:
Thanks alot for all the hard work Lucid!! everything is working great.

I just had 1 small issue, i noticed one other person having the same problem but did not see a solution.

have 1.43 recovery image

downloaded the latest 1.5 adp

and installed the OTA baseband update

I had the phone working before with 1.43 apps on sim card (ext2/fat) all setup correctly.

I wiped my device did the update. Restarted everything works great.

I type "lucid app" in terminal

no problems/error messages

I type "lucid data" in terminal

no problems/error messages

Every program works but browser. I get a terminal error, with a cancel button and no wait button.

I try to "lucid undodata" Receive a bunch of browser missing file errors

Restart wipe and restart Do "lucid app" everything works fine.

Any help would really be much appreciated. and i thank your time.
[G1 Android Development] LucidREM:
looks like your apps and data were already moved over .. so it should work out .. the next step after copying the apps over is to delete the apps on the phone and create the link .. so those steps were done

alternatively the links can be made via:

lucid applink

lucid datalink

lucid dalviklink

this just deletes the stuff on the phone and reintroduces the links to the SD .. so don't use it if you haven't first copied the apps .. the normal "lucid app" etc does all three steps
[G1 Android Development] LucidREM:
first .. there really was no reason to do the wipe .. you could have just done the update.zip and been done .. no scripts etc .. as for the browser error .. i'm not really sure what's up with that .. i know JF changed some things .. i don't have the ADP and am awaiting an RC version .. one other person also had this same problem .. said that when he tried to do the script it couldn't copy or delete one of the files .. could be the culprit
[G1 Android Development] chrisrj28:
Ok Im gonna try it out later. From reading it looks like all I have to do is apply the JF1.5 update and good to go with my apps2sd. Does it make a difference that I have a RC33 theme installed?
[G1 Android Development] :
Ok someone please help! I had to wipe cause of a bad theme install, so I need to know with this theme how I can relink the apps on my SD card back to my phone, they are on my card still I need to get them back.
[G1 Android Development] mailman1387:
Hi im running JF v1.5 and without apps to sd and just using internal memory im in love with cupcake but i need apps to SD but im a newbie.Heres what i've done thus far.Please explain it as simple as possible by steps b/c im not familiar with computer command/language.

So far i've:

rooted my G1 and have the JF1.5

I've formated my 8GB SD for 2 partitions and by accident the Fat32 is 666MB and the Ext2 is 6GB (Is there a way to reverse?)

Now whats next?

In the mean time i will have to re purchase a new 8GB ASAP because i dont think i can reverse the Fat32 size with the Ext2
[G1 Android Development] bubblesnout:
I succesfully ran through all the steps needed to set up Apps2 SD using the 1.5 firmware attached, and had no errors whatsoever in the process. However, I just installed some new apps onto my Dream, and checked in the settings where it tells you how much internal storage is remaining, and it had dropped down from 52MB to 41MB. Is this supposed to happen? I wouldn't have thought so... What is it that I might need to do?

EDIT 1:Oh, and hello by the way, this is my first post, but as a new HTC Dream owner I expect to hang around these forums quite a bit :)

EDIT 2: Ok, so when I initially set it up, I couldn't run the copy.sh lines (so I guess I lied when I said I got no errors...), but read that I should run the steps under "Setup in 5.0.1 onwards" from this document: http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD, which is what I did. I now read somewhere here that copy.sh was renamed to 'lucid', and to run 'lucid app' and 'lucid data', so I did that in the terminal and it all went fine (except for creating the folders, because I already had them). Now upon looking at my internal memory, I have 52MB again. My question is this: Now when I install new apps, will they go straight to the ext2 partition on my sd card, or will they go straight to the internal memory, meaning I have to run these scripts again each time?
[G1 Android Development] G1Dennis:
They wil normaly go straight to the Ext2 partition of your SD card. Everything works great for me now. But after moving app's, data and dalvik i got the phone storage back up to 71 Mbit. Did you do all the commands? And did you flash the _mod of Lucid?
[G1 Android Development] G1Dennis:
Don't need to buy a new one.

Hello, I'm a newbie also. I did a lot of things wrong (almost everything you could do wrong) but now I have everything working great and managed to get App's2SD. All thanks to Lucid and help from Dantheman. Maybe i can help a little bit.

I don´t think you need to buy a new card. If your computer still reads your SD card nothing´s wrong with it. What programm did you use for partitioning? After messing up a lot, i found working with live CD from Ubuntu the best way to do this.

When you use Ubuntu, you can delete the partitions you created or rezise them in the way you want to. For this you use Gparted partition manager within ubuntu live CD. You do not need to install Ubuntu. just run it from CD.

After partitioning correctly u install the recovery img. (bacause you didn't have apps2sd before updating to 1.5) from Lucid.

After that u install lucid's _Mod version (http://files.lucidrem.us/_fd.php?fil...REM/update.zip)

After flashing the modfile you use/start the terminal programm on you phone and just type in the folowing commands:

For adp Dev 1.5:

su

lucid app

lucid data

lucid dalvik

reboot

Done

Hope this helpes a bit.

Greetings from Holland

Dennis,
[G1 Android Development] azn624:
I had apps to sd, but after wipe and update to jf's 1.5, the files are not going to sd card anymore and when I try to put it on sd it says can not find copy.sh not found...what do I do?
[G1 Android Development] G1Dennis:
Did you flash Lucid's _mod? If not you should.

Click this link: http://files.lucidrem.us/_fd.php?file=jf/1.50/ADP1.5/REM/update.zip and flash on your phone.

After that you start the phone emulator and type:

su

* lucid app

* lucid data

* lucid dalvik

Reboot -- and you're done.
[G1 Android Development] LucidREM:
you can delete the partitions and start over .. EXT2 should be smaller than 2G .. so reversing the sizes you had should be ok .. i would put 500M
[G1 Android Development] LucidREM:
i change the name of the script file:

lucid applink

lucid datalink

those should recreate the links for you .. no need to copy the apps if they already exist on the SD .. obviously don't use the second one if you didn't move the data over
[G1 Android Development] medissimo:
Hi there, I just recently purchased a Dream and moved apps to sd with the RC9 build. I have now got your 1.5 build and have gotten my apps on the sd, however, it is still installing the apps in /data/app at the same time. I just cannot seem to remove the directory. I have tried wiping the phone and trying jesusfrekes own build and using the app2sd app but still have them same problem. Tried redoing it multiple times but nothing, Memory is still decreasing with every app installation. Any help would be appreciated. First post of many....loving android.

Also if I go into emulator and remove an app from the /data/app directory it is also being removed from my sd.
[G1 Android Development] ChelseaO88:
So if a new update comes out, for example JF comes out with a 1.6 build, and I flash it to my phone, would the apps still go to my sd card or would I have to do something?
[G1 Android Development] LucidREM:
you have a link from /data/app -> /system/sd/app .. they are one in the same .. if you "cd /data/app" and start deleting you are deleting from /system/sd/app .. once you run the script to move to the SD the link created makes it the same location .. the phone doesn't know the difference .. the apps are only installed to one location
[G1 Android Development] medissimo:
Right, makes sense. thank you very much. Any reason why my memory keeps decreasing then....didn't happen before. I don't think it has anything to do with cache.
[G1 Android Development] kid2escobar:
still having trouble

:mad: ive been tryin to get this apps to sd to work but no success..... im stuck on terminal it says ext2 not mounted plz help

on parogon i parted a 2gig in half
[G1 Android Development] dqjianghao:
THanks so much,

I will try now.
[G1 Android Development] Androidandy:
Just upgraded to class 6 sd card and re installed lucid rem's modified JF1.5. All apps, data and dalvik now on card, 73mb free and working fine now.

Excellent job JF and Lucid

Andy
[G1 Android Development] Yager_mpls:
I do not get a error when i do "lucid data" after restarting from wipe. Yes, i made a mistake and wiped the first time. If i do "lucid app" only everything works great.

I guess i will just hold off on "lucid data" till RC comes out and maybe more information will come up.

Thanks again for the help!
[G1 Android Development] azn624:
Should I do this because I'm on JF's 1.5 and lucid app and lucid applink commands are not working because lucid is not found. Also what is the difference between JF's and lucid's update?
[G1 Android Development] mailman1387:
I noticed my SD space is being used (Fat32 = 6GB & Ext = 1.5MB) for the chompsms cause it was already there but when i go into market an try an DL hello IM to test it i get "Not enough Space" and my internal memory now says 72 MB but

Whats wrong b/c im not allowed to DL the app?
[G1 Android Development] mailman1387:
Thank you all for the help as i figure what i was doing wrong an i now have it all working and MY internal memory after 1 more flash says 73MB YAYYY..im complete
[G1 Android Development] LucidREM:
i use JF's Build Environment .. it should be identical to his minus my inclusion of the script .. attached to the first post you will see a lucid.txt file that contains the scripting .. you can download that .. place it in the proper location and run the scripts
[G1 Android Development] jimmytango:
When I try lucid dalvik i get an error. Stale NFS handle

dalvik-cache/system@app@Music.apk@classes.dex. I don't have a music icon or widget. I started a thread about this before trying your appstosd version.
[G1 Android Development] mailman1387:
Im a newbie and i almost brick my phone an SD trying apps2SD but i finally got it and posted a newbie guide of 3 steps so if you want you can follow it.Good luck. http://xdaforums.com/showthread.php?t=512762
[G1 Android Development] bubblesnout:
Yeah I'm certain it's all good now, I have 73MB left of internal storage. I did all the 'lucid' commands, and they ran successfully. Thanks for your help, and a big thanks to LucidRem for setting all of this up!
[G1 Android Development] Stryder5:
Err, how do we move apps to SD if we're on ADP1.5? I just repartitioned my SD ext2 partition so all the files and stuff are gone and will need to create the proper links.
[G1 Android Development] chrisrj28:
Well check a few comments up and there is a post to a very simple walkthrough. That should take care of you.
[G1 Android Development] azn624:
I've been looking for directions to do adb...can anyone post a link to it?
[G1 Android Development] kid2escobar:
do:confused:

Originally Posted by G1Dennis View Post

Did you flash Lucid's _mod? If not you should.

Click this link: http://files.lucidrem.us/_fd.php?fil...REM/update.zip and flash on your phone.

After that you start the phone emulator and type:

su

* lucid app

* lucid data

* lucid dalvik

Reboot -- and you're done.

when i type in "lucid app" in terminal it says ext2 not mounted what should i do:confused:
[G1 Android Development] Stryder5:
Did you create the EXT2 partition on your SD card yet?
[G1 Android Development] LucidREM:
a couple pages of posts ago in this thread it was addressed .. the script i wrote looks for "lost+found" on the SD .. if you can:

mkdir /system/sd/lost+found

then you can run the script .. otherwise it may tell you it is read-only and that usually means the EXT2 partition is not mounted properly .. when the EXT2 partition gets created there should be a "lost+found" folder created as well .. if not .. just create it yourself
[G1 Android Development] n1ghtl1fe:
anychance of this working with adp1.5hr3 haykuro?
[G1 Android Development] nxhefner:
wifi broken

I am running JFv1.50_ADP1.5 with apps, data, and dalvik on SD. Everything is running amazingly! (thank you Lucid!!). The only issue I am having is my Wifi isnt connecting to any networks anymore (tried WPA, WPA2, and WEP). I click the network SSID and underneath "Wi-Fi" it reads "Disconnected".

If anyone happens to have any clue as to where I should begin looking, I would really appreciate it. If there is anything that you guys would like me to provide let me know and I would gratefully give you my details.

Seriously though, (not in a a$$ ki$$ way) thanks everyone for all of the info on this thread - i had a million problems and i was able to fix absolutely everything on my own and I am not even remotely knowledgeable in Linux (but am getting much better).
[G1 Android Development] smojo:
So I am running the 1.5 Lucid mod. I am having problems when downloading apps. If I try to get more than 1 app at a time I am getting the force close screen a lot. Tried this while on edge, 3g and wifi. Getting the same error. Anyone else experiencing anything like this? My card is a class 4 if that makes any difference.
[G1 Android Development] n1ghtl1fe:
when i type copy.sh app in terminal i get copy.sh not found? i updated too your modified version of 1.5 from regular jf 1.5. i alt - w as well
[G1 Android Development] Androidandy:
You don't use COPY. Instead use the scripts below for 1.5 lucid rom.

Lucid app

Lucid data

Lucid dalvik
[G1 Android Development] LucidREM:
i do apologize for the confusion .. i updated the first post so you can see the list of commands for the new 1.5 release .. i will fully revise the post once the RC versions pop up
[G1 Android Development] n1ghtl1fe:
thanks dandy and thanks a bunch lucid =D
[G1 Android Development] custom374:
Need help plz

I had my 2GB Sd card loaded with apps to sd running perfectly then I decided to get an 8GB card and redo it all to that. I did the wipe and ran the script just like the first time now it runs slow as all get. And I get an error "process System" not running. Force close or wait. Help plz
[G1 Android Development] brandenk:
I was having big problems with this until I read: http://xdaforums.com/showthread.php?t=512762

It still seems that after I do this all the apps I install end up on the phone, I was down to 44MB this am so I am reflashing everything and going to try again.

Update: damn, boot loop at the second splash screen. :(
[G1 Android Development] songoku119:
You shouldn't have a problem if a new update comes out. If you already have apps to SD, the new JF stock firmware already came with the modded files I believe, its just our good buddy LucidREM included his scripts so you don't have to go through any manual commands through busybox and all that (like you had to do with haryko's build). The only problem that

MIGHT

come up is when the RC firmware officially releases and you wish to go from a developer build to a modded OTA update. I still doubt it though as the file structure probably won't change.
[G1 Android Development] custom374:
Whats the difference between a class 4 and a class 6? Could this be my problem?
[G1 Android Development] LucidREM:
very possible .. what sizes did you give to each partition?
[G1 Android Development] custom374:
I gave the 2 GB 1200M Fat

8GB 6000M Fat

Now I've tryed redoing with a wipe the 8GB one and it goes perfectly then I do the lucic apps,data,dalvik and reboot and it gets stuck in the android splash screen.

Is there a way to wipe the information from the Ext2?
[G1 Android Development] LucidREM:
rm -r /system/sd/app

rm -r /system/sd/app-private

rm -r /system/sd/data

rm -r /system/sd/dalvik-cache

this will eliminate the files from the SD
[G1 Android Development] Daf.:
Same problem as custom and when i try to do these commands for some reason it gives me these errors;

rm: cannot start then at the end stale NFS file handle

rm: cannot remove then system not empty

I don't know where i went wrong as i updated to JFs 1.5 from RC9 then to your MOD then whilst trying apps to sd it gives me android splash. Ive alt-w and alt-s many times and still no luck, thanks for any help.
[G1 Android Development] LucidREM:
don't know what to tell you .. if you have root and type su to get the "#" you should be able to delete the files .. stale NFS is out of my jurisdiction .. that's related to the file system and should really be dealt with on a linux computer
[G1 Android Development] Strapt:
ok so I have the partition sdcard class 6

I did run ALL the scripts found on marcusmiximus appstosd forum and that didnt work .. the memory was still going down even with the cache and the dalvik-cache moved.

When I run the busybox df -h I do see the system/sd

So anyhow I wiped my phone and put your updateed JF MOD on the phone and now I ran the code .. but couple of things ..

now when I install apps, the memory still goes down and some of the apps in the market say installed BUT will not open them and they are not showing up in my app list .. which I think has something to do with going from one how to to the other .. just not sure what though.

and looks like steal browser force closes on me now .. which I did have on the phone before I went to your mod

Any ideas? any test codes I need to run to see if it is setup right? any help would be great!! thanks!!

oh and I have an 8gig with a 850M ext2 and the rest is FAT32
[G1 Android Development] Chahk:
Worked for me after several tries. Reformatted the SD card with Paragon Partition Manager this time around, re-flashed, wiped, ran the commands and all is well.

Thanks for your work, Lucid (and JF of course) and your patience dealing with all these questions from everybody.
[G1 Android Development] Strapt:
o00k soo i finally think I got the apps and cache to work and it wasnt by just one method

first I used the partition deal using the code only and no comp which worked great!

then I tried running all the code under marcusmaximus appstosd manual way thread and even bought the appstosd app ,, neither worked

so then I download the updated JF1,42 RC33 MOD did a wipe and installed that is found here on this thread on page 1 and I ran the codes also found on page 1 here and still no luck ,, memory kept draining, when I did internet or added apps

so then I ran that appstosd app and NOW I have 71mb free and all my previous apps came back on the phone after reboot and the memory has not gone down, So it looks like the partition, the JF mod here, with the code here and then the appstosd and voila free memory

ONLY there is ONE issue when I boot up the phone I get an error message and it says: Sorry! The application Digital Clock (processcom,socialnmobile,clock,digital) has stopped unexpectedly please try again (the commas are periods I have no period key on this comp :( )

I havent noticed any issues with the phone running though AND I DID get that message before i tried that marcusmaximus (I did try this one first) any ideas on what that is or for and any way to get that to stop?

AND nevermind I am retarded it was the application that I had that is called digital clock, gee I wonder i missed that one from the error message, but an uninstall and now no more error message

so now the REAL QUESTION is why did one method not work? why did I have to merge these two methods to get this to work right? also think there is any downfall to doing it this way say like cross codes or anything? Thanks again for the help man!
[G1 Android Development] DreamcastDC:
Cool, thanks, been waiting for this.
[G1 Android Development] kamikaze2311:
Lucid, Thanks for the tutorial in first post...it really works for me, instead i just using stock sdcard for apps2sd of yours..thanks you very much broder now i have 73MB free memory...apps2sd are ROCKS :D