yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] d2dthetide:
LucidREM...thanks for your quick reply. Installed new mod and everything went smooth...I think. Did a copy.sh.app...what does sh mean?....and it moved /data/app and /data/app-private...got a done after each but got a popup message.....Sorry! Application Market (in process com.android.vending) is not responding) Force Close Wait...I clicked wait and it went away. All applications I downloaded from market are gone. I didn't check this before I did the copy. I was hoping with this mod I wouldn't have to download again...but maybe because apps weren't on my sd already and copy came after update I'm suppose to download again? I did download the weather program to see if my market was working and it did download and install. Will the programs now download to my SD card now....in EXT2? Seems to me I read something somewhere about two parts to an app.......app/app and data/app. Sorry for the dumb questions but I have done a lot of reading and it does start to get confusing....so many people doing the same thing so many different ways.
[G1 Android Development] nEx.Software:
I did this yesterday and it worked great. Switched SD cards today, wiped the slate, and did it again... Now I get a "no space available" message in the Market and cannot download anything. I did redownload the mod today. I get a message when I run the script: argument expected. Am I doing something wrong all of a sudden. I am following the same processs as I did yesterday...
[G1 Android Development] nEx.Software:
If I don't do the data piece... I do not get the space error.
[G1 Android Development] xShadoWxDrifTx:
I dedicated 540 MB, is that good enough space wise?
[G1 Android Development] G'uno:
I also did the data script, and now when I go to re DL my apps...

It's lags and never installs, I'm going to undo the data
[G1 Android Development] LucidREM:
isn't it great to have "copy.sh undodata"
[G1 Android Development] LucidREM:
yea .. there's something about switching from yaffs2 on android to ext2 on the sd card that makes the apps not register in the market .. but they're still there just the same .. all newly installed apps go to the sd card if you ran the script .. it inserts the "ln -s" command to link the ext2 partition
[G1 Android Development] MacFloid:
ADP1.1

I did the ADP update from JF1.42 to JF1.43 (holiday)(lucidrem mod).

(only updated, had already app & app-private on sd card)

The first time I opened the market there weren't any apps. It was stuck at "Loading".

I also realized, that my phone was doing anything in the background. I waited about 5 minutes and tried again to get to the market. It worked then.

I did some application-updates and every update was stuck at "Download complete" on my phone. It only downloaded and did not install.

After I have rebooted my phone, I canceled the completed downloads and started again to update some apps and then the installation worked.

It's the first time I have the ADP1.1h version running. It could be that the problem is not Lucidrem's Mod-related. Then you should take it as an 'info'. ;)
[G1 Android Development] LucidREM:
all i really did was insert the modified files to mount the EXT2 partition into JFs Build .. so it shouldn't be the MOD unless the update.zip was somehow corrupted .. which i believe happened to someone .. i've also noticed a few times trying to download these ZIP files that it says "download complete" and it's only 29M instead of 40M
[G1 Android Development] robpet2:
let me ask this also, after every update can we just install jf version or do we have to wait for your modified verision in order not to have to do the adb hack to move the apps ?
[G1 Android Development] MacFloid:
Oh, my text was a bit inaccurate. I meant doing some application-updates in the market caused the stuck at "Download complete" problem and not downloading the update.zip.

I corrected my text a bit above your answer.

It's working great now and only wanted to mention my problems.
[G1 Android Development] LucidREM:
JFs update.zip will write over the modified files .. your phone won't boot if you have apps and/or data on the SD .. because .. well, it's not there .. but each update JF brings i'm going to be as quick as i can to throw out the MOD so when you flash the update.zip you won't get stuck on the flashing android or have to redo steps

NOTE: you do NOT have to run the scripts every update .. the "ln -s" links remain intact so /data/app still points to /system/sd/app
[G1 Android Development] Rafase282:
Thanks for your help, i already built my own mod and got my fav theme by default, I coudlnt delete some apps and audio files so I had to use my script for that. Other than that it works fine now I dont have to run the update plus the theme update. Only one file =]
[G1 Android Development] LucidREM:
awesome! JF is the best .. gives us the Build Environ to customize
[G1 Android Development] robpet2:
thanks for the info on that... about to flash the orig rc33 theme ( cause i have the hybrid running on it ) and then do your modified jf rc33...

just finished backing up all the stuff on my sdcard, and partitioning whch was a lil confusing but i got it done with paragon...
[G1 Android Development] xShadoWxDrifTx:
Lucrid thanks for this awesome script

Got it running and working flawlessly

Unlimited Internal Phone space now :)

I'm just wondering how much space did you guys partition to the EXT2 format?
[G1 Android Development] d2dthetide:
LucidREM said ......

yea .. there's something about switching from yaffs2 on android to ext2 on the sd card that makes the apps not register in the market .. but they're still there just the same .. all newly installed apps go to the sd card if you ran the script .. it inserts the "ln -s" command to link the ext2 partition

Not sure I understand this. How can they still be there .....didn't your mod installed JF's RC33 which would wipe all apps off internal phone? Strange thing though...I had moved some shortcut icons ... toggle settings. weather and sd card... to the top screen and they were still there...just didn't work because the apps were gone. When I downloaded the apps the icons worked again. Would have thought the shortcut icons would have been removed with the new RC33 install.

Since all my apps were still on the internal when I ran your mod I did have to download the apps again...yes?

After doing your copy.sh.app I had 47 MB internal free. I downloaded about 90 apps...just cause I'm afraid I'm going to have to pay for them soon....and I have 38 MB free. Does this sound right? Before I had 11MB free with 76 programs downloaded so I figure the apps must be going to the SD card.

I am having no problems with your mod. The apps are listing in the market as installed...once downloaded. I'm glad they made this thread a sticky...your work has made it so simple and easy to do. GREAT WORK!!!!!!! THANKS
[G1 Android Development] G'uno:
Question!!

I typed this in the SHELL...

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

13. Reboot, enjoy all the extra storage!

Now I'm stuck at the second boot screen (flashing)

I wiped twice for the same reason, could it be my card isn't formatted correctly ?
[G1 Android Development] LucidREM:
that's all there when you type "ls -l /system/sd" ?!? that's not right
[G1 Android Development] Jefpier:
In colums the info is:

drwrwx--- 1 1000 2001 2048 May 25 09:47 cache

drwrwx--x 1 1000 1000 2048 May 25 09:48 data

-rw-r--r-- 1 0 0 118 Jan 1 1970 default.prop

And keeps going... with the already mentioned list.
[G1 Android Development] iso67:
I must do something wrong!

my sd should have a clean ext2 partition (I never used it) made by gparted. I started from scratches, really from the beginning and I installed the new SPL (Haykuro one) adn "your" JF 1.51 CRB43 EU. I run the commands:

$su

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

#mkdir /sdcard/tmp

#cd /sdcard/tmp

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

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

#chmod 755 /system/bin/lucid

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

#lucid

and everything went fine! but now what I should do for installing the application and the other stuff on the SD? if I run

lucid app

it says

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

mkdir /system/sd/lost+found

mkdir failed for /system/sd/lost+found, read-only file system

EXT2 not mounted

I have a 8gb class 6 sd with a 494mb ext2 partition

similar message with lucid data...

so, were I'm wrong?

could you please write i down all the command we can run. qhen I run lucid, the scrren is noth enough to show everything!

thanks
[G1 Android Development] Jefpier:
dude you miss to type sd, must type.

lucid app sd

lucid data sd

and etc, if you dont type sd you will still get that error.
[G1 Android Development] iso67:
thanks! i got it!

actually before I haven't rebooted!
[G1 Android Development] Jefpier:
Lucid Rem you still there? :(
[G1 Android Development] LucidREM:
looks like somehow you copied your whole phone to the EXT2 partition .. that stuff should be taken off there .. i would "rm -r" each one-by-one til all that's left is the stuff you want on your SD .. namely:

/system/sd/app

/system/sd/app-private

/system/sd/data

/system/sd/dalvik-cache
[G1 Android Development] Jefpier:
to see if im right the cmd should be:

rm -r ,system,default.prop

rm -r ,system/dev

im right?
[G1 Android Development] LucidREM:
if you did "ls -l /system/sd" then put that in front

rm -r /system/sd/system
[G1 Android Development] Jefpier:
It gave me cannot remove, directory not empty

and also read only file system
[G1 Android Development] LucidREM:
then you are not reading your EXT2 partition .. it's not mounted and you're trying to do thing directly to the /dev/block/mtdblock3 instead of the SD
[G1 Android Development] Jefpier:
i have to type mount ??? Maybe formatting is easier...
[G1 Android Development] LucidREM:
the problem is that your EXT2 is not mounted properly .. i've added safeguards in my script for just such an occurrence .. it won't allow you to move files when the partition is not mounted
[G1 Android Development] Unitas:
Here's been my experiences so far with the jf1.5US:

I was running the 1.42 with Lucid's apps to sd just fine. Upgraded to 1.5ADP without hassle. Upgraded from there to the jf1.5US. had to wipe a couple times but got it be stable. Then the FC's started happening on almost every app and every few seconds just sitting idle. (At bootup, got a dialog box saying something about UID's, with a button saying "I'm Feeling Lucky"

I'd re-wipe in recovery and re-flash. For some reason the terminal emulator would be in with the stock apps, even after a wipe (stale NFS handle or somesuch, couldn't uninstall with adb). I'd reestablish the symlinks with lucid's script and reboot. The phone was about unuseable.,Again, FC's every few seconds on just about any app or process.

To fix this I had to delete the EXT2 partition on the sd card (left it unallocated for future use), wipe, re-flash, recreate the EXT2 partition, then run the script to copy apps data and dalvik over. That seemed to get it working again.

Then connectbot and droidftp FC'ed every time I'd launch it, even though they worked before. Tried uninstalling and reinstalling and didn't work. Tried reestablishing the symlinks, didn't work. Wiped and Re-flashed the ROM and started getting the near-constant FC's again.

Again, I had to delete the EXT2 partition, wipe, reflash, recreate EXT2 partition, and run the lucid script to get it back in working order.

I've done this three times now. if this keeps up I'm thinking I'll just go back to the ADP. Of course, I could just be a big noob and I'm screwing things up somehow, but just thought I'd share my experiences.
[G1 Android Development] Jefpier:
The phone by itself reboted and stayed hanging on the android logo, i did a wipe and im almost again in "0".
[G1 Android Development] LucidREM:
those are strange phenomenons .. seems a little weird .. but the new script should prevent all of that .. and for stale NFS .. i had that too .. just moved the app folder to my linux desktop (as the trouble seems to be centered in the data section) and put the linux partition thru format again .. put the app folder back and done
[G1 Android Development] BotSlayman:
Just to give you a head's up.

Please hinder ppl from using the link command before the SD command.

Noob that I am I did that (i thought it was linking my SD additionally to the already installed apps)

and that f*ed up my phone pretty bad.

In addition it deleted my ringtones, which made my phone very very silent.

And it got stuck while booting. Needed to boot recovery and wipe everything.
[G1 Android Development] wesbalmer:
Hey, can I use Haykuros SPL on JF 1.51? Also, what would the benefits be other than the extra space for apps
[G1 Android Development] iso67:
So, hopefully I got it... or at least I'd really would like to! :)

I think I have on sd apps, apps-private, data and dalvik cache. what els I could move on there?

How to check that everything is fine and that the ext2 is as it shoud be?

I now have 88mb on phone, with haykuro SPL and JF 1.51 EU, it was just less than 60 with haykuro 6.01r (that is really cute, but I still have to decide between the 2)), but still none application insalled. I'm going to install some application now and check!

PS: where I could read all the commands in lucid? I can't do it from the phone, since the output of command lucid goes too fast!

many thanks!
[G1 Android Development] eagle001:
You could open the file lucid (or lucid.txt as you downloaded it separately) with notepad/wordpad and see the options and the commands the script does.
[G1 Android Development] jayschutz:
problems already help pleas guys

i love the new set up and everything but i have run in to two problems since i just got the new update and its not cool i used to be able to go on the internet and check my online banking im not able to any more that was not a big deal but i just tried to use my headphone adapter and its not working at all im kinda pissed because i payed good money for the thing but i know it worked yesturday and since i got this new update from JFupdater on the phone its doin all this wack stuff can anyone help me out and let me know if they are having any problems like me and if you were able to resolve it:confused:
[G1 Android Development] LucidREM:
did you try a wipe? ALT+W usually works pretty good for most problems after an update .. especially one of this magnitude
[G1 Android Development] LucidREM:
you do know there's a scroll bar in Terminal right?? just scroll the screen up a little bit .. there's really not that many commands .. you should also be able to "lucid status" and see what's moved .. i'm going to be modifying that soon
[G1 Android Development] Jefpier:
After the new wipe i can install apps from the market and from the sd succesfully.

Should i try again putting apps to sd via link? or go simple with apps to sd, and install my apps manually?
[G1 Android Development] LucidREM:
i'm not sure i'm understanding the question .. apps to sd is the same as linking .. just be sure that your EXT2 is mounted .. which if you use my script from the first post it won't let you proceed without mounting the SD
[G1 Android Development] Jefpier:
Thanks Lucid i will keep you updated...
[G1 Android Development] Jefpier:
Damn! Now i dont know why after i typed:

# lucid

Says:

html: not found

lucid: 2: Syntax error: newline unexpected

Anything wrong?
[G1 Android Development] LucidREM:
shouldn't be .. i just double checked it
[G1 Android Development] Jefpier:
I did it twice and now a third time with the same error.
[G1 Android Development] LucidREM:
if there's some error with the script you'll have to try downloading it again
[G1 Android Development] Jefpier:
Im doing the script since the beginning and every time says file already downloaded... maybe deleting and starting all over again should fix? but i dont know how to delete your txt file....
[G1 Android Development] Jefpier:
If i wipe the txt, doesnt get deleted.
[G1 Android Development] obe1:
moving apps to sd

Ok I have a question so if I formatted my ext2 partion and wiped my phone before upgrading to jf1.51 us. Crb43 how do I move my apps back to sd by running the commands in the first page or us this commands from rc33 copy.sh app and copy.sh data or is their something else cause now I'm baffled by all this commands .
[G1 Android Development] Jefpier:
After you run the first script, the one that ends at:

# lucid

Then you can move apps,data,dalvik,media to sd etc...

And is compatible with the one you ask.

After you type:

# lucid

A menu should prompt indicated the commands... if your succesfull come here to thank me.
[G1 Android Development] LucidREM:
follow the first post .. download the text file .. copy to /system/bin/lucid .. it will write over what's there
[G1 Android Development] Denkai:
Works perfect for me. 0 problems what so ever.
[G1 Android Development] LucidREM:
sweet .. always good to hear .. i'm working on a way to incorporate this into the market for future updates .. that way no one has to fight with messy codes in Terminal .. but for now .. this is how it is
[G1 Android Development] deadite66:
same for me, from initial rooting and various upgrades to JF1.51 not a single problem.
[G1 Android Development] Minker17:
I'm sure it's been talked about already, but it should be a simple question. I'm on JF ADP 1.5 w/A2SD. Can I flash the US 1.5 without wiping? And if so, what do I need to do with my apps?
[G1 Android Development] blueheeler:
This turned out to be the quickest, easiest and most trouble-free install ... ever.

With all the stories of freezes & bricking, I decided to start completely from scratch (RC29) and work my way up very methodically. Thanks to this script, MyBackup Pro and 2 SD Cards, this required nothing more than a little bit of time. Had I been more sure of myself, this would have taken probably no more than 1 hour, start to finish (applying settings, downloading/installing/customizing the 18 apps I wanted), etc.

Even with all the added options, this is braindead simple if you just follow the instructions. It doesn't get any easier than this. This script is packed with options yet incredible simple to use. If you can't get it done (right) using this method, there is no hope.

THANKS !
[G1 Android Development] .PaNiNi.:
worked for me... the only problem i ran into was when i did #chmod 755 /system/bin/lucid it was saying no such file but i went back and redid #busybox cp lucid.txt /system/bin/lucid

and then it worked perfectly :-)

i <3 lucid! lol
[G1 Android Development] LucidREM:
first: make a list of what's on your SD (ie: app, data, dalvik-cache)

second: update your phone .. ALT+W wipe if needed

third: grab my script and type "lucid app link" etc as necessary

fourth: if you have any trouble (like i did) you may need to "wipe" your EXT2 partition (delete data)

$su
#rm -r /system/sd/data/*

that should do the trick if there are nasty bugs in your phone .. for me .. i had to transfer my apps to my linux desktop and format again .. stinkin' stale NFS thing
[G1 Android Development] iso67:
too bad! I just update to the jf1.51 EU with the fixing for multitouch. I downloaded the entire fw (not just the update) from JF blogs. before I had the jf 1.51 of lucid rem. Since I did not wiped I was expected to still find the lucid stuff in there, but when in terminal I run lucid it says lucid not found!

should I rerun everything again? or should I reload the lucid mod fw (the one on first page) and just update it with the fixing thing find in jf blog?
[G1 Android Development] Minker17:
How to I view what data is on my SD card? What file manager will let me browse it? Or do I need to have a card reader?
[G1 Android Development] raydekok:
question:

the only thing i have to do is this in a terminal and everything is set?

if not what do i have to do more?
[G1 Android Development] LucidREM:
that code in Terminal gets you my script to run as you please .. type "lucid" and it will post the available options (ie: "lucid app sd")
[G1 Android Development] .PaNiNi.:
ok i totally lied and it didnt work LOL sorry

everything went well but when i check i have less memory then i had before lol idk what happened :'( help any1?

i know its not alot of info to help you guys help me but i did everything as directed :-/

EDIT: i think i got it lol i shall return

EDIT AGAIN: Got it LOL :-)
[G1 Android Development] LucidREM:
i don't have a MOD'd firmware .. those links are the same update.zip files straight from JF as he now supports the EXT2 partition .. just grab my script file from the first post and have at it
[G1 Android Development] LucidREM:
#ls -l /system/sd

that will show what's there
[G1 Android Development] Minker17:
Cool, so this is what I get:

drwxrwx--x 2 1000 1000 3072 May 26 13:26 app
drwxrwx--x 2 1000 1000 1024 May 26 13:26 app-private
drwxrwx--x 123 1000 1000 5120 May 26 13:26 data
drwz------ 2 0 0 12888 May 1 19:25 lost+found

So now I update, then "lucid app link"

1. link /data/app -> /system/sd/app (also app-private)

2. link /data/data -> /system/sd/data

What about lost+found?
[G1 Android Development] LucidREM:
so also if you want to "lucid data link" as well

the "lost+found" folder stays there .. that is a linux thing .. kinda like windows recycle bin only different - LOL
[G1 Android Development] Minker17:
Thank you very much! Will report back after I do a nandroid and try it.
[G1 Android Development] iso67:
for some reason something didn't work in this way! I reloaded your fw and rerun the script and everything was fine. the error I has was something: cannot download lucid.txt don't have permission or something like it. with your the txt files was there without downloading and the rest of the script just went smootly!
[G1 Android Development] chrisrj28:
Hello all, I was wondering if someone could help me. I installed JF us ran all the script commands and got everything going good. I tried the hayjuro SPL and got stuck at boot screen so I just wiped and redid everything. Now when I am trying to run the commands "#lucid app sd" i get mkdir failed for /system/sd/lost+found, read-only file system EXT2 Not Mounted

I didnt do anything different so how can I get this to read? Thanks for any help anyone can provide
[G1 Android Development] Minker17:
Well, I guess it all worked. Got the script and everything.

Typed in:

lucid app link

lucid data link

Anything else I need to do or any way to confirm everything went OK?
[G1 Android Development] LucidREM:
i set that safeguard in there so people didn't try moving files to /system instead of the EXT2 partition .. so somewhere along the lines it seems the EXT2 is not mounted .. what's the result of "busybox df"?
[G1 Android Development] chrisrj28:
ok I did that and got a list of my available space. What should I be looking for b/c nothing shows mounted to sd card?
[G1 Android Development] twosixths:
Lucid,

When you say you had 'bugs', did you get the "I'm Feeling Lucky" error?

I'm having wicked errors... I could see what files are in the system/sd/data and system/sd/apps folders... I re-ran your script and performed a # lucid status. It showed the symlink was not active, so I ran the commands to re-establish link for data and apps. Then when I rebooted I started getting the "I'm feeling lucky" error.

I'm a lame-o and don't have a linux machine... I can't move my apps, but I'm not completely opposed to re-installing them (I made a backup with Backup Pro before I started messing with my phone).

Should I run the

$su
#rm -r /system/sd/data/*

to delete the data? Once I do that, will running your script work again?