yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Jefpier:
Lucid i haved no idea that the txt file get savet in the Fat 32 part of my SD, y deleted via astro, then runned the script again and BINGO! Typing:

# lucid

Works again!

Since i deleted runnerd the update and audio v2 again, then:

# lucid app

# lucid data

# lucid dalvik

# reboot

And now i have 73 MB free.

In a side note, after reboot, some errors appear, but just appear the first time, so i believe that DATA on SD is working OK right now. Thanks for Everything Lucid.
[G1 Android Development] ajjus:
help!

Hi Lucid,

I kept getting 404: page not found error on #wget http://files.lucidrem.us/jf/system/bin/lucid.txt.. but I was able to connect from the browser on my laptop. So I copied the script and created a lucid.txt and copied it to the sdcard/tmp folder.

Now after I typing the rest of the cmd and when I hit enter (after # lucid)... I get the following error:

: not found

lucid: 201 : syntax error: "elif" unexpected (expecting "then")

Thanks!

I'm attaching the lucid.txt that I copied to the tmp folder.
[G1 Android Development] rogro82:
Lucid, special delivery send via pm :)
[G1 Android Development] LucidREM:
did you use the apps2SD app from Marcus? other people have reported that bug and i have no idea from where it comes .. also symlinks gets negated by the unionfs method when you reboot
[G1 Android Development] LucidREM:
i'll take a look when i get home .. i think i see the error .. but it didn't show on my phone or desktop for some reason
[G1 Android Development] twosixths:
No... I used your script from Mailman's post.

I'm thinking (and I could be way off) that it might be the stock Amazon MP3 program... The original JF 1.50 build didn't have the stock app, and I had re-loaded the apk.

I noticed it in my /system/sd/data file, so I removed it, re-ran your script, and will reboot to see if I get the cycling 'android' logo again...

EDIT: Nope... Still got the cycling android logo.
[G1 Android Development] LucidREM:
try again?!? i just swapped a couple lines
[G1 Android Development] Unitas:
Another update: Everything's working properly so far! Except every so often I'm getting FC's on android.google.media. At least something like that. The media is still on the internal memory, I did not move it to the sd. Everything else works fine though.
[G1 Android Development] Jefpier:
With Data to SD, i cant download apps from the market, get stuck on starting donwload, guess i will do everything againg and stay only with apps and dalvik on sd again.
[G1 Android Development] Unitas:
I'm getting the same. I guess not everything is going as well as I had thought.

I'll try restoring data to internal memory with the lucid script to see if that fixes it.

EDIT: OK, tried "lucid data int" and got a list of folders on the sd partition that couldn't be removed because there were files in them.

did lucid data link and was told to remove /data/data because it was a folder, removed it

did lucid data link to try to reestablish the link

Now no app on my phone will work, su is gone too, I get "Permission denied here1here2here3$"

This is becoming frustrating.
[G1 Android Development] ajjus:
Thanks for the quick response. No luck.. Still get the same error.
[G1 Android Development] LucidREM:
the files that won't move are usually stale NFS and you need to format the EXT2 partition .. you should still be able to salvage the apps

$su
#du -s -c -h /system/sd/app /system/sd/data /system/sd/dalvik-cache

this is a neat little code that will tell you the size of each folder .. meaning you might be able to "lucid app int" and then "rm /data/data" and then format the EXT2 before putting stuff back on

i had a problem with the data portion when i first updated to 1.51 and went thru these exact steps
[G1 Android Development] twosixths:
That was my problem as well... Now I have the apps back on my SD, but the /system/sd/data file is corrupt or something. The second I try to re-link to the data on my SD, my phone gets perpetually locked up in flashing android.

Lucid,

Did you have to delete your system/sd/data file? You said something on an earlier post about moving the file to a linux machine... If that's correct did you later move it back? If so, once you did that did you have the same problem?
[G1 Android Development] Unitas:
/sigh another update:

I wiped twice, re-flashed, installed the lucid script, and ran lucid app link, lucid data link, and lucid dalvik link. I left the files on the EXT2 partition on the sd card intact from the previous install, that's why I just reestablished the links.

I rebooted and got an error that says: System UIds Incinsistent: UIDs on the system are inconsistent. You need to wipe your data partition or your device will be unstable. [I'm Feeling Lucky] I clicked the button and now it just loops between the error box and the android loading screen.

Gonna delete the data on the partition (if I can), wipe, reflash and try the script again to see if that fixes it.
[G1 Android Development] twosixths:
How married are you to keeping your data on the SD card? I had a similar problem, wiped, ran Lucid's script and ONLY re-linked the apps. After relinking the apps (still in terminal emulator) did # reboot and let it restart.... Now at least the apps that were on my SD card are still there and I'm preserving most of my internal memory.

I dunno if I care enough to re-link my data...
[G1 Android Development] Jefpier:
Do the following things:

1: Delete the txt file from your SD (is opcional but is better).

2: Wipe your phone, so you start again.

3: Run the first script to download lucid.txt

4: Move ONLY Apps & Dalvik Cache.

And you will be able to donwload from the market and install your apps.

Thats the way that worked for me.

The NFS thing is what made the total headache, but we can still lived with the data on the internal memory, you will still have 70 MB free... but you have to clear the cache of the Browser & Market.

Hope this helps...
[G1 Android Development] LucidREM:
you can now also (thanks to the most awesome precision and speed of 'rogro82@xda' - yea!!) go to the Market and type "lucid" in the search bar .. this will allow you to download the lucid script file anytime .. anywhere .. and grab the latest and greatest .. well .. halfway great anyhow
[G1 Android Development] androidmonkey:
Can someone post instructions on how to upgrade?

I am currently running the JF RC33 mod with apps on SD (ext). Is there a way to upgrade to 1.51 US and not loose apps/data?
[G1 Android Development] LucidREM:
yea .. just delete data instead of wiping .. after the update if there's a problem then "rm -r /data/data"
[G1 Android Development] twosixths:
Is there any way I can clear the /system/sd/data folder and re-run your script to move data over? When I try the # rm -r /system/sd/data/* it gives me NFS errors (of course).

Can I clear the /system/sd/data without reformmating my sd card?
[G1 Android Development] androidmonkey:
So only delete the date (rm -r /data/data) if I have issues? Note: I only have apps on SD, not data.

Also, do I still need to run this stuff?

$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
[G1 Android Development] twosixths:
Just don't wipe, dude. DO NOT WIPE!!! ;-)
[G1 Android Development] LucidREM:
correct .. only delete data if you have issues .. with only apps on SD your issues should be minimal or non-existent in my opinion .. but even if you had to wipe you can re-link with "lucid app link" and be done

as for the code .. after you update .. you can go to the Market and search "lucid" if you don't want to type all that text .. it's gotta be one of the most simple apps on there .. it only does one thing .. downloads my script file - LOL - can't get much simpler than that .. but i STILL had trouble figuring out the GUI stuff and had to ask for help
[G1 Android Development] androidmonkey:
Thanks Lucid.

Another quick question :)

Its been awhile since I rooted my phone and moved apps to SD. When running Lucid script, does it do everything or give you the option to only move apps to SD?

UPDATE:

I just ran the CRB43 update, everything seems to be working fine. All of my apps show up and work just fine. I was under the impression I would have to run Lucid script to relink the apps to SD. Does this sound right?
[G1 Android Development] temporizer:
Thank you so much Lucid for all your help. It worked seamlessly for me. No problems so far.

1 question tho. I have 72 mb free and i hear others having up to 88. Am i sitting pretty or do i need to do something else?

p.s. i have no problems having "only" 72 mb free, just curious if i could have more...
[G1 Android Development] tato22:
lucid how do i make a ext 2 in my sd
[G1 Android Development] tato22:
i have a 8 gig and a 16 gig class 2 why cant we use these
[G1 Android Development] AbsoluteDesignz:
As someone recently asked (and I searched this) is there away to delete the system/sd/data folder completely from the ext2 partition so I can re-link it?
[G1 Android Development] legend0fthefall:
I am also having this problem...

I've read through the rest of this thread and there doesn't seem to be a solution yet???

Am I incorrect?

I have tried this:

# rm -r /system/sd/*

# rm -r /data/data

And I also receive the "cannot remove because directory is not empty" and "Stale NFS" stuff.

I have only used JF's updates and your Apps2SD stuff. Bout the only 2 I trust so props to both of you golden gods.

I guess I am just asking if there is an actual solution to this issue.

Thx
[G1 Android Development] Shindokie:
Is the Hardspl... the new one that Haykuro provided?
[G1 Android Development] kayiman2005:
buy it to support lucid

you are great, i only bought it just to support your work, thank you
[G1 Android Development] androidmonkey:
Bought what?

See the first post, it has a link to creating a ext 2 partition

because class 2 is to slow. Nobody said you cant use it, but the performance will be very poor.
[G1 Android Development] obe1:
i was still confused by your instructions but dont worry i was able to figured it out once i downloaded the lucid app from the market and it was very easy childs play anyways after reading and my self having issues while moving data to sd i decided to leave it on phone just moved dalvik and apps i dont know if i should try to move media also but ima try see what happens hopefully my phone wont go banana's
[G1 Android Development] MontAlbert:
his app on the market. did the same thing. dont use his scripts anymore but he helped me personally a while ago so i thought a donation was in order....
[G1 Android Development] MontAlbert:
for some reason app aint working 4 me. think it didnt install properly as in app dock there is no icon just default black one (manup theme).... i typed lucid into terminal but says permission denied- no biggie... was just for a donation anyway... will try and reinstall after 24hrs...
[G1 Android Development] LucidREM:
did you "su" beforehand? just curious .. not sure why the icon's not there
[G1 Android Development] LucidREM:
if you didn't have to wipe then no script .. the script is there to assist in the linking or re-linking whenever the connection gets lost because of ALT+W

all the options are listed if you type "lucid" into Terminal
[G1 Android Development] LucidREM:
that's because you're not using Haykuro's SPL (the one that bricked my phone) .. it gives extra space on /data and /system and steals from /cache
[G1 Android Development] LucidREM:
those would be the commands .. first one deletes from the SD .. second one from the phone .. if there's a stale NFS the only way i know to eliminate this is to format the EXT2 again
[G1 Android Development] LucidREM:
nope .. http://xdaforums.com/showthread.php?t=455860

you should check with Haykuro if you want his .. i would actually only recommend using it if you want to also use his builds and not JFs
[G1 Android Development] Denkai:
Okay I have been having apps crashing, unrelated to lucid. But if I have lucid enable devlik to my sd, will that help with ram/virtual memory like in windows?

I used appstosd2 to setup my sd, however lucid recognizes it.

Also I have a question on spl's. I used the hardspl to load my phone with jf that came with the instructions on the forums. Are there newer spl's that I can use, or is there no point in updating it now thati have my firmware already?
[G1 Android Development] iso67:
I just installed appsInstaller but it doesn't work. it says

no apps found

if the phone is connected to computer, disconnet it and try again

why it has something to do with Lucid script and with apps2sd? How I could install application now?
[G1 Android Development] djlucklu:
LucidREm app

i downloaded your app off the market and did the following command lucid app link. but now all my apps disappeared from my g1. b4 my app2sd was just fine and lucid shows them still linked. what do i do? also it says i cant cd into system/app or system/sd/app or app-privates. whats going on? i cant even pass the android boot without having to remove my sdcard
[G1 Android Development] LucidREM:
what were you using? gotta have a little more info to go on .. were you using the unionfs method previously? what build, etc?

to ask "whats going on?" the only answer i can give is .. taxes are up .. the government is corrupt .. and God is still God even if you turn your back on Him
[G1 Android Development] LucidREM:
sounds like you have an issue there .. not related to me and my script

by reading that message you typed i can only assume the phone needs to be disconnected from the computer or else the SD is not seated right
[G1 Android Development] djlucklu:
i meant cant cd into /data/app not system/app

and when trying to pull my apps frm sd i get the /system/sd/app is not a file or directory

but im using everything my sig says. i used marcus app
[G1 Android Development] djkdawg:
how do i make it show that i have like 1 gig of space when i look at my storage, because it shows 88mb
[G1 Android Development] djlucklu:
says file already exist with the mkdir app command...do you want me to PM you or stay here cuz im keep having to switch
[G1 Android Development] LucidREM:
wrong thread .. check the unionfs information .. it's kinda neat to show the EXT2 space available but it's really not necessary .. you have Haykuro's SPL if you have 88M free
[G1 Android Development] iso67:
actually I disconneted it, power off and on the phone but still had same message. other than this everything is working fine! so? could I try to unistall and istall it again
[G1 Android Development] LucidREM:
well i don't know what appsInstaller is/does
[G1 Android Development] custom374:
Love the new build. Having one problem. Everytime I link (Lucid Data link) and reboot my phone it hangs in the Android splash screen. Is this a known problem or a fluke. All the rest worked great have 2megs of 89 used on system.

just thinking at random but do you think its because i have the new spl? in know it robs from cache and system. just a thought.
[G1 Android Development] mfrey0118:
Sigh...yes our government is really bad now...poop's gonna hit the fan soon I think...www.infowars.com

Hey LucidREM, I have just set up the unionfs method of apps to sd and it seems to be working...any reason why I should go with lucid instead?

Also, it seems I am unable now to install the Launcher.apk that has the five screens...any ideas?

Also, have you heard of anyone having problems with duplicate text messages? It only happens when I open messaging, and type in the first few letters of a contact, then I select it from the list that pops up, and across the top bar, it has their name and number, comma, then name and number again and whatever I type gets sent twice...this keeps happening even after wipe/update.
[G1 Android Development] LucidREM:
possible .. but before doing "data link" (i'm going to have to add another safeguard) make sure your data is on the SD already .. otherwise you need to do "data sd" to actually transfer everything first and then link .. if you:

#ls -l /system/sd

is there a data folder?
[G1 Android Development] LucidREM:
well my script automates the symlink method .. so it's a matter of which method you prefer i think .. my script does other stuff tho .. like the audio patch that makes the ringer etc extra loud .. i'm always looking for new things to add to the script .. like "lucid sdsplit" will automatically download MartinFicks format script

i know the unionfs method has some quirks .. like for one you can't have data stored to the SD unless you want to forfeit being able to change the background etc .. Maximus might know more about the Launcher.apk problem
[G1 Android Development] mfrey0118:
Cool man, thanks for the response, as always. Hey I know this isn't the thread for this but did you see my question I added about the duplicate texts? It really is driving me up the wall...any ideas? D
[G1 Android Development] LucidREM:
i haven't seen any problems like this unless you have some app installed that would be doing it .. my boss actually had this problem with another guy in the office .. his verizon windows mobile was double sending messages but only to one person (the other guy in the office) .. i think he fixed it by deleting all records and contact information for the person .. but it seemed spooky that it didn't happen texting anyone but the one person

have you checked any messaging apps/notification programs? your contact list isn't doubled up?
[G1 Android Development] custom374:
there is a:

app

app-private

delvik-cache

data

lost&found

Media

its just when i link it to the data is when it hangs. so i've just linked all but data.
[G1 Android Development] LucidREM:
i'm guessing that if you try "rm -r /system/sd/data" you might find a stale NFS on the partition and it won't delete
[G1 Android Development] custom374:
yep. what do you suggest?
[G1 Android Development] mfrey0118:
If you mean when I navigate my contacts does it have two of every name then the answer is no. I can't find any evidence of my list doubling up.

Yeah and here's the really odd part...it only happens if I open messaging to start a new message thread and start to type out a name that my contacts list recognizes, then once I select the name at the bar at the top it has the contact name with <number> then a comma, then the name and number again.

ex. I type "Mr. Smi" and it finds Mr. Smith. I select Mr. Smith and the bar at the top now reads: "Smith, Mr. <1-555-555-5555>, Smith, Mr. <1-555-555-5555>"

However, if I just manually enter the number I want to text, it is fine and does not double up. This happens to multiple contacts.

Maybe I should just export the contacts and wipe them from Google sync and start over...
[G1 Android Development] LucidREM:
ah .. i see said the blind man to the deaf man

that sounds like a messaging problem .. google sync would have nothing to do with it .. it's like the phone is double clicking the name you select and adding it twice .. at first i thought your messages were sending twice

my best guess would be something to do with the touch response on your phone or else the actually messaging app has something in it
[G1 Android Development] LucidREM:
only way i know to get rid of it at this point is to format the EXT2 again
[G1 Android Development] mfrey0118:
And no ideas what to do about it? It just started happening not too long ago and won't stop and even when I do a wipe and install a new OS update it still happens.
[G1 Android Development] androidmonkey:
Thanks Lucid for the help. Its nice to see someone taking the time to help others with their android hacks.

I havent purchased any apps from the Market yet, but I just bought yours simply for a donation. Thanks :)
[G1 Android Development] djkdawg:
yea i bricked one phone trying to get haykuro's spl lol, said F$%^ bought another one and tried it again and it worked fine, stupid radio had got me, but i did that before everyone figured out that will brick your phone, but cool app, i could have typed it all in but im lazy so i bought your app from the market, i think its worth 3 bucks !!
[G1 Android Development] androidmonkey:
So whats the benefit of haykuro's spl ? I havent flashed my SPL since I first rooted my phone back in January, still using Hard SPL (not sure what version).
[G1 Android Development] Shindokie:
I hear it adds an extra 10 or so mb's and makes your phone faster overall :)
[G1 Android Development] Shindokie:
Ah, well i decided to risk it and it worked out perfectly. I hear it works with all builds but i'll be staying with JF. I just hear it's harder to make themes because of cramfs or something like that :(
[G1 Android Development] innerlight:
Can you port your script to this build?

Lucid, is there any way you can port your script to Cyanogen's build? I am having problems with Marcus apps2sd.
[G1 Android Development] twosixths:
I dunno if anyone else responded to this... I tried EVERYTHING to get rid of just the data file. I kept getting NFS errors. After awhile I decided to live with just the apps (and not the data) on my SD until I got a 'damaged sd' error on the home screen. I gave up, re-formatted both the FAT32 and EXT2 portions of my SD card using partition manager and re-ran Lucid's scripts to move apps & data to the SD. Now everything is working FAST and both data and apps are on the SD.

When in doubt, re-format.
[G1 Android Development] twosixths:
I had that problem and found re-formatting both the FAT32 and EXT2 portions to be the only way around it. (Which means I lost my donkey points in Robo Defense! :mad:)

One thing though... Before I reformatted I ran Lucid's script to move apps back to the internal memory and ran My Backup Pro... I save the My Backup Pro file to my computer so I could reload it after.

I was hesitant to reformat without having set my phone back to its 'default' setting (apps on internal memory). I dunno if it saved me a problem, but better safe than sorry.

I wiped, re-loaded JF 1.51, and then ran Lucid's scripts for apps & data and it now works GREAT.
[G1 Android Development] androidmonkey:
So is the general consensus that its best to do a wipe/reformat before upgrading to 1.51 ? I know its best to wipe/install when upgrading to a new version of Windows on a PC, is it the same for Android? I upgraded to 1.51 last night and everything is working fine (minus the apps that dont work with cupcake) but it does seem a little sluggish at times, not sure if its software or hardware related.
[G1 Android Development] twosixths:
Lucid... Sounds like a lot of people are having this issue that were using your old scripts... Do you think it could have to do with wiping before going from JF 1.50 to JF 1.51?

Maybe you should add a note to the first part of the thread telling people that if they don't mind losing apps/data and starting over, the best option is to reformat the partitions before running the new scripts. Just a thought.
[G1 Android Development] Minker17:
My e-mail app force closed, then the phone froze, rebooted, and is now stuck at the android screen.

What the hell?

**EDIT** reapplied the update again just for kicks and same thing.
[G1 Android Development] Minker17:
I had a nandroid backup from yesterday and I tried to flash back, but I still got stuck at the android screen. I had to wipe and then re-apply the update.

Lucid, how to I remmedy my apps issues now? Since I have a clean build with all my apps stored on my SD. Anyway to re-connect them from my SD and show that I have them installed in the market? Also, what about any apps not in the market that I installed with apk installer?
[G1 Android Development] LucidREM:
well you can put "lucid" into the Market search .. then you might need to delete some files so Marcus' stuff doesn't interfere .. i believe there's an a2sd.sh file and init.rc within /data that need to be removed